Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
evmar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
391.
▲
by
evmar
9y ago
This is neat! If you're interested, Ninja ( https://ninja-build.org/ ) is designed exactly to provide the dependency-graph execution underneath a program like yours that has a project-local higher-level description of t
392.
▲
by
evmar
9y ago
The line I linked to, sure. But under what conceptual model would a framework need logic to strip comments (an aspect of source text) at runtime? Follow it to its conclusion.
393.
▲
by
evmar
9y ago
I am often frustrated in this ecosystem by how people build things without any clear conceptual model, and then they document them by saying "it is so fast, it just works like magic". It is impossible to compare two approaches be
394.
▲
by
evmar
9y ago
Can you elaborate on the difficulty on Windows? If you go to the home page there is a section "Getting Ninja" that links to a page with a zip file... ?
395.
▲
by
evmar
9y ago
We first started fiddling with Clang for Chrome in late 2010: http://neugierig.org/software/chromium/notes/2011/01/clang.h... The original work was just finding bugs in the codebase and compiler. I
396.
▲
by
evmar
9y ago
Can Nix build incrementally? One random collection of notes I just dug up says that it rebuilds packages from scratch on minor changes. It seems like Nix is addressing a different problem.
397.
▲
by
evmar
9y ago
Hey I worked with Jim! Fun story: a project we worked on together involved some Python and he suggested that he didn't really know Python. At some point I somehow noticed that he wrote the Python profiler (see the name at the top htt
398.
▲
by
evmar
9y ago
Relevant xkcd making this point: https://xkcd.com/1138/
399.
▲
by
evmar
9y ago
I wrote some similar bugs to this in the complex text handling in Chrome. In text layout you do a lot of indexing into various arrays -- like the array of code units of the input string, or an array of metadata collected per-code point, or
400.
▲
by
evmar
9y ago
(Disclaimer: haven't worked on Chrome in ~7 years.) This weird hashing scheme comes from safe browsing (which blacklists sites that install malware etc.). I guess (without specific knowledge of it) it was just reused for this ads thin
401.
▲
by
evmar
9y ago
My wife is a dentist so, using similar reasoning, I once asked her why people don't do this. She said the problem is that implants ultimately connect into bone and that connection fails over time -- your body is designed to renew the
402.
▲
by
evmar
9y ago
For Chrome we had to go through a lot of extra effort to make updates not break us. http://neugierig.org/software/chromium/notes/2011/08/zygote....
403.
▲
by
evmar
9y ago
Just to second this point, I am often courted by potential startup employers and I am usually pretty skeptical for exactly this reason.
404.
▲
by
evmar
9y ago
Also noteworthy: the Apache 2 license, which includes a patent grant (unlike the previous Facebook licenses that have caused concern in the past).
405.
▲
by
evmar
9y ago
"If we spend a second thinking about this, if 9 out of 10 startups fail, then we only need to roll the dice 10 times and the last startup will (by statistics) achieve success." That is not how statistics works. :< With a 90% fa
406.
▲
by
evmar
9y ago
I think type info in TS is 100% gone in runtime. Here's a blog post that explores why you can be confident of this: http://neugierig.org/software/blog/2016/04/typescript-types....
407.
▲
by
evmar
9y ago
The TypeScript compiler is the canonical corpus of code written by TypeScript experts, and I learned a lot of interesting style from the time I've spent with it. (Fun fact: they don't use 'class' in the compiler at all,
408.
▲
by
evmar
9y ago
They are following semver: http://semver.org/ So the major version changes whenever they make a backwards-incompatible change. However, I clicked in their upgrade calculator (linked from the post) and at a glance it appears
409.
▲
by
evmar
9y ago
I wish the HN community would collectively decide to downvote posts like these, which reward people who use clickbaity titles to get attention at the cost of hiding more careful analyses. The post can be summarized as a critique of a progra
410.
▲
by
evmar
9y ago
The comment "Welcome to the club. I did this years ago." in isolation contributes nothing to the conversation. If you had posted it I probably would've downvoted it for that reason, not for the smugness.
411.
▲
by
evmar
9y ago
In this thread: people will bring out the same tired arguments for or against static typing, without commenting on the actual content of the post, which was quite good! I have come to see type systems, like many pieces of computer science,
412.
▲
by
evmar
9y ago
Actually, I collect new terminals as a hobby and the list is pretty long: https://github.com/evmar/smash/wiki/Related-projects
413.
▲
by
evmar
9y ago
I think the web is the lone exception. Consider the other big software platforms from the last few decades: Android, iOS, Java, Windows. The trend is adequate-but-not-exceptional tech with rich companies pouring cash into their success. (
414.
▲
by
evmar
9y ago
Though I disagree with many of the points made here, I love that this person is taking a position and putting in the real work to to lay out his argument for it. I think the main point he's missing is that most platforms die due to lac
415.
▲
by
evmar
9y ago
I noticed that too, so I filed a bug in their repo: https://github.com/abseil/abseil.github.io/issues/46
416.
▲
by
evmar
9y ago
I bet there are a few security vulns lurking in games that involve user-provided data (e.g. maybe you can customize your clan by uploading a logo). The boundary between trusted and untrusted in games with mods is especially porous ( e.g.
417.
▲
by
evmar
9y ago
I suspect one factor for why Go is so popular within Google is that (due to complex path hacks as mentioned here as well as a network file system) Python startup is so slow. On an app I worked on the unit tests took >10 seconds to boot o
418.
▲
by
evmar
9y ago
I work on TypeScript at Google, so just one point about scaling. Ultimately the only way to make things scale to large codebases is to make separate compilation work. That's what we do: separately compile separate pieces of the codeb
419.
▲
by
evmar
9y ago
I think WASM is great, but it also is not a panacea. You can see this demonstrated in their demo where highlighting the text garbles it -- because they render without using browser technologies, they miss out on browser implementations of t
420.
▲
Chromium Windows builds now use Clang by default
(groups.google.com)
118 points
by
evmar
9y ago
|
58 comments
More ›