Category: Allgemein

Allgemein Loading...

How to Install Nginx on CentOS 7

Nginx pronounced ‘engine x’ is a free, open-source, high-performance HTTP and reverse proxy server responsible for handling the load of some of the largest sites on...

Weiterlesen
Allgemein Loading...

Install and Integrate Rspamd

In this tutorial we will go through the installation and configuration of the Rspamd spam filtering system and its integration into our mail server and creating...

Weiterlesen
Allgemein Loading...

The Building Blocks of Interpretability

Interpretability techniques are normally studied in isolation. We explore the powerful interfaces that arise when you combine them — and the rich structure of this combinatorial...

Weiterlesen
Allgemein Loading...

A (Long) Peek into Reinforcement Learning

[Updated on 2020-09-03: Updated the algorithm of SARSA and Q-learning so that the difference is more pronounced. [Updated on 2021-09-19: Thanks to 爱吃猫的鱼, we have this...

Weiterlesen
Allgemein Loading...

How to Install Nginx on Ubuntu 16.04

In this tutorial, we’ll discuss how to install and manage Nginx on Ubuntu 16.04 systems. Nginx pronounced engine x is a free, open-source, high-performance HTTP and...

Weiterlesen
Allgemein Loading...

To Serve Man, with Software

I didn’t choose to be a programmer. Somehow, it seemed, the computers chose me. For a long time, that was fine, that was enough; that was all...

Weiterlesen
Allgemein Loading...

Computer latency: 1977-2017

I’ve had this nagging feeling that the computers I use today feel slower than the computers I used as a kid. As a rule, I don’t...

Weiterlesen
Allgemein Loading...

Sequence Modeling with CTC

A visual guide to Connectionist Temporal Classification, an algorithm used to train deep neural networks in speech recognition, handwriting recognition and other sequence problems.

Weiterlesen
Allgemein Loading...

UI backwards compatibility

About once a month, an app that I regularly use will change its UI in a way that breaks muscle memory, basically tricking the user into...

Weiterlesen
Allgemein Loading...

Filesystem error handling

We’re going to reproduce some results from papers on filesystem robustness that were written up roughly a decade ago: Prabhakaran et al. SOSP 05 paper, which...

Weiterlesen
Allgemein Loading...

Keyboard latency

If you look at “gaming” keyboards, a lot of them sell for $100 or more on the promise that they’re fast. Ad copy that you’ll see...

Weiterlesen
Allgemein Loading...

Learning Word Embedding

Human vocabulary comes in free text. In order to make a machine learning model understand and process the natural language, we need to transform the free-text...

Weiterlesen
Allgemein Loading...

Branch prediction

This is a pseudo-transcript for a talk on branch prediction given at Two Sigma on 8/22/2017 to kick off “localhost”, a talk series organized by RC....

Weiterlesen
Allgemein Loading...

From GAN to WGAN

[Updated on 2018-09-30: thanks to Yoonju, we have this post translated in Korean!] [Updated on 2019-04-18: this post is also available on arXiv.] Generative adversarial network...

Weiterlesen
Allgemein Loading...

Sattolo’s algorithm

I recently had a problem where part of the solution was to do a series of pointer accesses that would walk around a chunk of memory...

Weiterlesen
Allgemein Loading...

Terminal latency

There’s a great MSR demo from 2012 that shows the effect of latency on the experience of using a tablet. If you don’t want to watch...

Weiterlesen
Allgemein Loading...

Startup options v. cash

I often talk to startups that claim that their compensation package has a higher expected value than the equivalent package at a place like Facebook, Google,...

Weiterlesen
Allgemein Loading...

Why Momentum Really Works

We often think of optimization with momentum as a ball rolling down a hill. This isn’t wrong, but there is much more to the story.

Weiterlesen
Allgemein Loading...

Research Debt

Science is a human activity. When we fail to distill and explain research, we accumulate a kind of debt…

Weiterlesen
Allgemein Loading...

Contact Linuxize

Need to contact Linuxize? This is the place. There are a bunch of ways to reach us, so pick the one that works best for you.

Weiterlesen
Allgemein Loading...

HN: the good parts

HN comments are terrible. On any topic I’m informed about, the vast majority of comments are pretty clearly wrong. Most of the time, there are zero...

Weiterlesen
Allgemein Loading...

Hiring and the market for lemons

Joel Spolsky has a classic blog post on “Finding Great Developers” where he popularized the meme that great developers are impossible to find, a corollary of...

Weiterlesen
Allgemein Loading...

I could do that in a weekend!

I can’t think of a single large software company that doesn’t regularly draw internet comments of the form “What do all the employees do? I could...

Weiterlesen
Allgemein Loading...

Is dev compensation bimodal?

Developer compensation has skyrocketed since the demise of the Google et al. wage-suppressing no-hire agreement, to the point where compensation rivals and maybe even exceeds compensation...

Weiterlesen
Allgemein Loading...

How I learned to program

Tavish Armstrong has a great document where he describes how and when he learned the programming skills he has. I like this idea because I’ve found...

Weiterlesen
Allgemein Loading...

A Survival Guide to a PhD

This guide is patterned after my “Doing well in your courses”, a post I wrote a long time ago on some of the tips/tricks I’ve developed...

Weiterlesen
Allgemein Loading...

Notes on concurrency bugs

Do concurrency bugs matter? From the literature, we know that most reported bugs in distributed systems have really simple causes and can be caught by trivial...

Weiterlesen
Allgemein Loading...

Google SRE book

The book starts with a story about a time Margaret Hamilton brought her young daughter with her to NASA, back in the days of the Apollo...

Weiterlesen
Allgemein Loading...

We only hire the trendiest

An acquaintance of mine, let’s call him Mike, is looking for work after getting laid off from a contract role at Microsoft, which has happened to...

Weiterlesen
Allgemein Loading...

su3su2u1 physics tumblr archive

These are archived from the now defunct su3su2u1 tumblr. A Roundabout Approach to Quantum Mechanics This will be the first post in what I hope will...

Weiterlesen
Allgemein Loading...

Sampling v. tracing

Perf is probably the most widely used general purpose performance debugging tool on Linux. There are multiple contenders for the #2 spot, and, like perf, they’re...

Weiterlesen
Allgemein Loading...

Normalization of deviance

Have you ever mentioned something that seems totally normal to you only to be greeted by surprise? Happens to me all the time when I describe...

Weiterlesen
Allgemein Loading...

Big companies v. startups

There’s a meme that’s been going around for a while now: you should join a startup because the money is better and the work is more...

Weiterlesen
Allgemein Loading...

Files are hard

I haven’t used a desktop email client in years. None of them could handle the volume of email I get without at least occasionally corrupting my...

Weiterlesen
Allgemein Loading...

Why use ECC?

Jeff Atwood, perhaps the most widely read programming blogger, has a post that makes a case against using ECC memory. My read is that his major...

Weiterlesen
Allgemein Loading...

Infinite disk

Hardware performance “obviously” affects software performance and affects how software is optimized. For example, the fact that caches are multiple orders of magnitude faster than RAM...

Weiterlesen
Allgemein Loading...

Why Intel added cache partitioning

Typical server utilization is between 10% and 50%. Google has demonstrated 90% utilization without impacting latency SLAs. Xkcd estimated that Google owns 2 million machines. If...

Weiterlesen
Allgemein Loading...

Slowlock

Every once in awhile, you hear a story like “there was a case of a 1-Gbps NIC card on a machine that suddenly was transmitting only...

Weiterlesen
Allgemein Loading...

Visual Information Theory

I love the feeling of having a new way to think about the world. I especially love when there’s some vague idea that gets formalized into...

Weiterlesen
Allgemein Loading...

Steve Yegge’s prediction record

I try to avoid making predictions1. It’s a no-win proposition: if you’re right, hindsight bias makes it look like you’re pointing out the obvious. And most...

Weiterlesen
Allgemein Loading...

Understanding LSTM Networks

Humans don’t start their thinking from scratch every second. As you read this essay, you understand each word based on your understanding of previous words. You...

Weiterlesen
Allgemein Loading...

Reading postmortems

I love reading postmortems. They’re educational, but unlike most educational docs, they tell an entertaining story. I’ve spent a decent chunk of time reading postmortems at...

Weiterlesen
Allgemein Loading...

Slashdot and Sourceforge

If you’ve followed any tech news aggregator in the past week (the week of the 24th of May, 2015), you’ve probably seen the story about how...

Weiterlesen
Allgemein Loading...

The googlebot monopoly

TIL that Bell Labs and a whole lot of other websites block archive.org, not to mention most search engines. Turns out I have a broken website...

Weiterlesen
Allgemein Loading...

A defense of boring languages

Boring languages are underrated. Many appear to be rated quite highly, at least if you look at market share. But even so, they’re underrated. Despite the...

Weiterlesen
Allgemein Loading...

Advantages of monorepos

Here’s a conversation I keep having: Someone: Did you hear that Facebook/Google uses a giant monorepo? WTF! Me: Yeah! It’s really convenient, don’t you think? Someone:...

Weiterlesen
Allgemein Loading...

CPU backdoors

It’s generally accepted that any piece of software could be compromised with a backdoor. Prominent examples include the Sony/BMG installer, which had a backdoor built-in to...

Weiterlesen
Allgemein Loading...

Blog monetization

Does it make sense for me to run ads on my blog? I’ve been thinking about this lately, since Carbon Ads contacted me about putting an...

Weiterlesen
Allgemein Loading...

A review of the Julia language

Here’s a language that gives near-C performance that feels like Python or Ruby with optional type annotations (that you can feed to one of two static...

Weiterlesen
Allgemein Loading...

Integer overflow checking cost

How much overhead should we expect from enabling integer overflow checks? Using a compiler flag or built-in intrinsics, we should be able to do the check...

Weiterlesen
Allgemein Loading...

Malloc tutorial

Let’s write a malloc and see how it works with existing programs! This is basically an expanded explanation of what I did after reading this tutorial...

Weiterlesen
Allgemein Loading...

TF-IDF linux commits

I was curious what different people worked on in Linux, so I tried grabbing data from the current git repository to see if I could pull...

Weiterlesen
Allgemein Loading...

One week of bugs

If I had to guess, I’d say I probably work around hundreds of bugs in an average week, and thousands in a bad week. It’s not...

Weiterlesen
Allgemein Loading...

Speeding up this site by 50x

I’ve seen all these studies that show how a 100ms improvement in page load time has a significant effect on page views, conversion rate, etc., but...

Weiterlesen
Allgemein Loading...

How often is the build broken?

I’ve noticed that builds are broken and tests fail a lot more often on open source projects than on “work” projects. I wasn’t sure how much...

Weiterlesen
Allgemein Loading...

CLWB and PCOMMIT

The latest version of the Intel manual has a couple of new instructions for non-volatile storage, like SSDs. What’s that about? Before we look at the...

Weiterlesen
Allgemein Loading...

Caches: LRU v. random

Once upon a time, my computer architecture professor mentioned that using a random eviction policy for caches really isn’t so bad. That random eviction isn’t bad...

Weiterlesen
Allgemein Loading...

Testing v. informal reasoning

This is an off-the-cuff comment for Hacker School’s Paper of the Week Read Along series for Out of the Tar Pit. I find the idea itself,...

Weiterlesen
Allgemein Loading...

Assembly v. intrinsics

Every once in a while, I hear how intrinsics have improved enough that it’s safe to use them for high performance code. That would be nice....

Weiterlesen
Allgemein Loading...

Data-driven bug finding

I can’t remember the last time I went a whole day without running into a software bug. For weeks, I couldn’t invite anyone to Facebook events...

Weiterlesen
Allgemein Loading...

Editing binaries

Editing binaries is a trick that comes in handy a few times a year. You don’t often need to, but when you do, there’s no alternative....

Weiterlesen
Allgemein Loading...

That bogus gender gap article

Last week, Quartz published an article titled “There is no gender gap in tech salaries”. That resulted in linkbait copycat posts all over the internet, from...

Weiterlesen
Allgemein Loading...

Why don’t schools teach debugging?

In the fall of 2000, I took my first engineering class: ECE 352, an entry-level digital design class for first-year computer engineers. It was standing room...

Weiterlesen
Allgemein Loading...

Do programmers need math?

Dear David, I’m afraid my off the cuff response the other day wasn’t too well thought out; when you talked about taking calc III and linear...

Weiterlesen
Allgemein Loading...

Data alignment and caches

Here’s the graph of a toy benchmark1 of page-aligned vs. mis-aligned accesses; it shows a ratio of performance between the two at different working set sizes....

Weiterlesen
Allgemein Loading...

PCA is not a panacea

Earlier this year, I interviewed with a well-known tech startup, one of the hundreds of companies that claims to have harder interviews, more challenging work, and...

Weiterlesen
Allgemein Loading...

Why hardware development is hard

In CPU design, most successful teams have a fairly long lineage and rely heavily on experienced engineers. When we look at CPU startups, teams that have...

Weiterlesen
Allgemein Loading...

Randomize HN

You ever notice that there’s this funny threshold for getting to the front page on sites like HN? The exact threshold varies depending on how much...

Weiterlesen
Allgemein Loading...

Writing safe Verilog

Troll? That’s how people write Verilog1. At my old company, we had a team of formal methods PhD’s who wrote a linter that typechecked our code,...

Weiterlesen
Allgemein Loading...

Verilog is weird

Verilog is the most commonly used language for hardware design in America (VHDL is more common in Europe). Too bad it’s so baroque. If you ever...

Weiterlesen
Allgemein Loading...

About danluu.com

About The Blog This started out as a way to jot down thoughts on areas that seem interesting but underappreciated. Since then, this site has grown...

Weiterlesen
Allgemein Loading...

Work-life balance at Bioware

This is an archive of some posts in a forum thread titled “Beware of Bioware” in a now defunct forum, with comments from that forum as...

Weiterlesen
Allgemein Loading...

History of Symbolics lisp machines

This is an archive of Dan Weinreb’s comments on Symbolics and Lisp machines. Rebuttal to Stallman’s Story About The Formation of Symbolics and LMI Richard Stallman...

Weiterlesen
Allgemein Loading...

Subspace / Continuum History

Archived from an unknown source. Possibly Gravitron? In regards for history: Chapter #1 (Around) December 1995 is when it all started. Rod Humble wished to create...

Weiterlesen
NOVA AI Chat
Hi, how can I help you?