Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thwd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
thwd
10y ago
C++ is a bad example because its' grammar is not actually context free. Writing a recursive descent parser is actually quite intuitive. It's the solution that you'd eventually arrive at if given the problem of parsing some sp
62.
▲
by
thwd
10y ago
I'm not sure I understand: do you mean that they are collected after the program counter hits the last instruction of a given scope or are you implying that scope-local variables outlive their scope somehow?
63.
▲
by
thwd
10y ago
Note: "finalize"-hints in Go are just curly braces, which begin and end blocks. Variables local to the scope are "finalized" (i.e. collectable, assuming they live on the heap) when the block ends.
64.
▲
by
thwd
10y ago
The speed at which a big data set is processed has nothing to do with the language or its' compiler. It's the way in which the data set is streamed through memory by a particular program. Go offers two standardized interfaces for
65.
▲
by
thwd
10y ago
In my opinion, you are probably right, to a big extent at least. I could well picture PayPal becoming the "Microsoft" of payment services: big and loaded but slow and basically living off past glories. People are already moving aw
66.
▲
by
thwd
10y ago
I understand your logic. But I think it's not that simple: Part of being a senior engineer (at least for me) is to educate my less senior peers. And in a sneaky, non-condescending way, that is. It's usually thursday or friday even
67.
▲
by
thwd
10y ago
Agreed; with both of you. Maybe it won't be crypto-currencies, but Paypal Has To Go®. Let them screw up two or three more times. They're antiquated and operate like a typical barely-legal, gray-area, fee-riddled credit institution
68.
▲
by
thwd
11y ago
It's obviously a best-effort from someone who's learning Spanish through Readlang.
69.
▲
by
thwd
11y ago
What about .sys files?
70.
▲
by
thwd
11y ago
On page 4 he does make a reference to the abelian group (Z, +). Though he just calls it "a structure" (which is not wrong), I agree that this paper is somewhat unusual. It even includes some typos ("yeild," page 4), yet
71.
▲
by
thwd
11y ago
Appreciate the effort. Just skimmed through the code, it seems to depend on perl. It was also a quick refresher on how god damn ugly bash's syntax is.
72.
▲
by
thwd
11y ago
You mentioned the URL-parsing macro twice. Congrats to the whole team!
73.
▲
by
thwd
11y ago
If the author is reading: > Covariant: Given two types A and B, A covariant B if B is a A. In other word, A covariant B if B is a prefix of A. Taken from here: https://github.com/google/badwolf/blob/master&
74.
▲
by
thwd
11y ago
http://trix-editor.org/ They don't use contenteditable in the traditional way: > Trix sidesteps these inconsistencies by treating contenteditable as an I/O device: when input makes its way to the editor, Trix c
75.
▲
by
thwd
11y ago
Your theory regarding PyPy's JIT is disproved rather easily. Python's grammar has been shown to not be context free. This implies that in the best case, the parser is supralinear in both time and space. Just the parser. Now add th
76.
▲
by
thwd
11y ago
Come visit, we're quite friendly! You know what really grinds our gears, though? People who don't read documentation. If you don't read documentation, you'll get a negative vibe. Because your question is literally sittin
77.
▲
by
thwd
11y ago
There's a (golang) gopher hidden in the promo video at second 42: https://www.youtube.com/watch?v=ysCaqh38JVQ&t=42s
78.
▲
by
thwd
11y ago
Yeah but they're nothing like this. An apprenticeship in CH lasts between 2 and 4 years, you get paid around 15k CHF and you go to school something like 2 days a week. Also, big-ish corporations have to take on apprentices by law.
79.
▲
by
thwd
11y ago
> Why is his daily mileage so high? He states he makes $1.10 per mile, drives 260 miles a day, but only makes $150 a day. He's not paid for the mileage spent on the way to pick up someone, only after they get in.
80.
▲
by
thwd
11y ago
The slash at the end of the URL made the difference in this case.
81.
▲
by
thwd
11y ago
Arguably, UploadToS3 should not be a method of *Payload. Suggestion: Make an S3-uploader package with _internal_ connection pooling, upload queueing and concurrency handling.
82.
▲
by
thwd
11y ago
I don't know about Europe in general. Here in Switzerland the majority of landlords are pension funds, which are constrained investment companies with a social obligation. As such, they normally own upwards of 1000 apartments/hous
83.
▲
by
thwd
11y ago
Small correction: 26 cantons, 8 million people. And the representatives of the cantons do not constitute the federal government.
84.
▲
by
thwd
11y ago
Even though you're right that most laws are passed by the chambers, the people still have the power to put them up for voting (or put a second law up for voting that invalidates the first) by just gathering a couple of thousand signatu
85.
▲
by
thwd
11y ago
Fair enough, the HTTP request path can be hidden through TLS. I'm not sure if privacy is a goal of HTTPS, though. On the internet layer, IP packets can still be traced from origin to client. I'm probably not involved enough to for
86.
▲
by
thwd
11y ago
I found the title a bit misleading. He's arguing that viewing public information over HTTPS is no more private than doing so without encryption. Sure, insofar as an entire response consists only of public information, this is a tautolo
87.
▲
by
thwd
11y ago
It's built around github.com/juju/ratelimit
88.
▲
by
thwd
11y ago
Simple counter-example: car fuel which converts to kinetic energy.
89.
▲
by
thwd
11y ago
Mildly interesting, if you search for: x * tanh(y) you get the graph for: x * (exp(y)-exp(‑y))/(exp(y)+exp(‑y)). [Edit: asterisks on HN are hard]