Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
evmar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
211.
▲
by
evmar
6y ago
Here’s a good post by a kernel hacker that suggests how a tool like this can aid in debugging subtle corruption: https://blog.valerieaurora.org/2008/02/17/howto-debug-silent...
212.
▲
by
evmar
6y ago
Looks neat! My wife is a dentist so I hear a lot about developments in this area. The first question I have is about the business model — people already sadly often cut the dentist when cutting costs, so it seems like it would be hard to ge
213.
▲
by
evmar
6y ago
If you’d like more, the Wikipedia community on Reddit regularly shares neat articles like this one.
214.
▲
by
evmar
6y ago
The definition of `new Map`: https://www.typescriptlang.org/play?#code/FDDGHsDsGcBcAJrwLz... (I still think this is actually due to bug in TypeScript, see https://github.com/microsoft/TypeScript&#x
215.
▲
by
evmar
6y ago
It's worth noting that this (good) example is unrelated to unsoundness, too -- it's related to built-in APIs using 'any'. Within Google we include a "strict" d.ts in every compilation that shadows this API (and
216.
▲
by
evmar
6y ago
(I worked on Chrome.) I remember struggling over how to word this page. At a technical level Chrome the program can only control what it itself does, which is also what the page promises. Unfortunately despite that the result is still co
217.
▲
by
evmar
6y ago
My favorite plain text protocol is HTML server sent events, within HTTP. It's really trivial to make a server produce these -- it's just some simple newline-delimited printfs() to the socket -- and they manifest client-side as si
218.
▲
A tangent about optimizing JavaScript
(github.com)
1 points
by
evmar
6y ago
|
0 comments
219.
▲
by
evmar
6y ago
The OP is talking about technical details like static linking and language ecosystems, but if you zoom one level out, this comment correctly pins where the underlying problem actually lies: that the distribution maintainers inject themselve
220.
▲
by
evmar
6y ago
Chrome is a pig for sure, but most attempts I see at measuring memory consumption are wrong. The two main ways they're typically wrong is either by misunderstanding how memory works (which is to be expected, it's subtle![1]) or b
221.
▲
by
evmar
6y ago
You are totally right, thanks for catching my mistake. My blog post linked above goes more into the consequences -- ideally you'd formally define what the allowable language subset is.
222.
▲
by
evmar
6y ago
I was confused by this comment as well. I think what it's saying is that google-closure-compiler-js (note -js) is no longer maintained, and that to explain why it's using the (still maintained) google-closure-compiler (note no -js
223.
▲
by
evmar
6y ago
This whole page is weirdly similar to a project I did, for the same purpose: https://evmar.github.io/js-min-bench/ What I discovered there is that the best minification is one where you just produce an empty file -- it
224.
▲
by
evmar
6y ago
I went through a similar thing with my son. The best part was when an acquaintance recommended the “easier on the stomach” variant of one of the popular formula brands. I checked the box, first ingredient: corn syrup! For what it’s worth,
225.
▲
by
evmar
6y ago
It’s ironic, seeing this sentiment from this person in particular. My short list of “people who are jerks to free software maintainers” has him at the top.
226.
▲
Scaling TypeScript Compilation (2020)
(neugierig.org)
24 points
by
evmar
6y ago
|
4 comments
227.
▲
by
evmar
6y ago
I grew up in a small town in the PNW that has a yearly salmon festival, and it wasn't until a post from HN[1] that I learned/realized that the whole system of "fish hatcheries" that my town celebrated is kind of a horrib
228.
▲
by
evmar
6y ago
I meant that the internal code name of the Google browser project was "chrome", under the assumption it would change when it was time to release.
229.
▲
by
evmar
6y ago
> (Ironically [the Firefox UI bits] were called “chrome” before Chrome even existed.) Not ironic, intentional. Chrome was made by former Firefox engineers, and the name was a joke about exactly this. I remember struggling to come up wi
230.
▲
by
evmar
6y ago
After 10 years as a vim user, I switched to emacs in part for the gdb integration. (It turns out you can run emacs with vim keybindings and get the best of both worlds -- vi keybindings but a real programming language for scripting...)
231.
▲
by
evmar
6y ago
The Google File System (GFS) paper from 2003 mentions erasure codes. Which isn't to say they did it then, but rather that the technique of using erasure coding was known back then. (And surely before GFS too, I just picked it as an
232.
▲
by
evmar
6y ago
Suppose project B uses lax tsconfig settings. Now suppose strict project A imports from B. If A uses B via d.ts it may be ignorant of most of B's choices. But if A uses B as source, A's strictness settings will now attempt to a
233.
▲
by
evmar
6y ago
Another consideration is that it only works if all the code agrees on tsconfig settings (e.g. strictness settings and path resolution). That can work in a monorepo but won't work if you mix libraries.
234.
▲
Scaling TypeScript Compilation (2020)
(neugierig.org)
2 points
by
evmar
6y ago
|
0 comments
235.
▲
by
evmar
6y ago
What you wrote is true, but it also seems to me unlikely that the OP is going to set up a sandboxed hermetic build to process a handful of pngs for her zine. I was instead explaining why Ninja doesn't attempt clever tricks to try to b
236.
▲
by
evmar
6y ago
Re a new version of inkscape: Ninja does not force fully-correct builds, so it's on the author of the build.ninja file to either model this or not. (This is part of Ninja's objective of not mandating policy.) To get this fully co
237.
▲
by
evmar
6y ago
Thanks so much for answering! I think what I'm trying to understand is why you'd want to target chemicals if other options like surgery also are targeted. Is the application then for tumors that are hard to remove surgically?
238.
▲
by
evmar
6y ago
I think all of the things you just wrote are true, but I don't see how they answer the question I asked... ?
239.
▲
by
evmar
6y ago
My layman's understanding of chemo is that it's meant to be systemic: surgeries and radiation are targeted at the tumor itself, while chemo is meant to hopefully wipe out cells that have reached other parts of the body. But the de
240.
▲
by
evmar
6y ago
It's such a common inside joke that people even make variant jokes in reference to it, like maybe: "Subject: An update on evmar / Body: No, I'm not quitting, I just got a new puppy!"
More ›