Recent submissions

Comment · 1 year ago
Comment · 6 years ago
> My problem with systemd isn't pid 1. It's all the rest of the shovelware that comes along for the ride. And it's the "you'll use what we tell you to use" attitude of the project.

This could not be further from the truth.

Comment · 6 years ago
The problem with this in practice is that you're often not the person implementing the 3rd instance. It's some other dev who comes and sees 2 copy/pasted implementations, either figures there's a good reason for it, or is lazy, or is risk adverse, or just wants to get the job done and move on, and copy/pastes it a 3rd time.
Comment · 7 years ago
Probably elwell is a Dvorak user. hu is pressed with both index fingers in their home positions in Dvorak.
Comment · 7 years ago
There are a lot of other differences between America and China that make this a terrible comparison.
Comment · 7 years ago
Comment · 7 years ago
I wrote the python compiler. It's very slow. With the optimizations it's probably something on the order of O(n^3) or O(n^4). One of the test cases took seconds to compile. I made no effort to optimize the compiler speed.
Comment · 7 years ago
There is a mandatory compilers-lite course at UW and he teaches the advanced version of it, where the project is to fill in pieces of a Scala-lite compiler written in Scala.
Comment · 7 years ago
Hi. I wrote the python implementation. I've had prior experience with compilers and I'm obviously biased but I would say it's quite readable. The main compiler part (without optional features or the LR(1) or lexer generator) is 2040 lines and contains very little magic. It would be easy to translate 1-1 to idiomatic C++ for instance - it would just be much more verbose. eval() is only used by the lexer generator. The metaprogramming could have been avoided by using dataclasses (but the marker used python 3.5).

(To be clear, the optional portions in which I implement SSA, various optimizations, a Hack-style allocator and some ad-hoc codegen is much less readable.)

Comment · 8 years ago
I'm guessing this is because most people who trade tether don't intend on holding it for long, so the "shennanigans" surrounding tether aren't as likely to affect them.
Comment · 8 years ago
I haven't looked for any lectures because I learn best from reading books. So, I don't know, sorry. I'm interested in a solution set too.
Comment · 8 years ago
Comment · 9 years ago
Comment · 9 years ago
Have you tried lite.qwant.com? It's pretty usable for me in w3m, although still not as nice as DDG.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton