Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
evmar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
541.
▲
by
evmar
11y ago
Not sure if it's an intentional effect, but the "full width" is a bit more than full for me: http://i.imgur.com/S3jrA7S.jpg
542.
▲
by
evmar
11y ago
I worked on the Linux version of a large program and after some years of it I mostly concluded that it's hard to know in advance which things work everywhere and which won't, unless you ensure your programmers are familiar with th
543.
▲
by
evmar
11y ago
I immediately noticed this as well. This API has flags for "asynchronous" requests, but Go style is to provide a blocking API, and let the caller decide to use a goroutine if they need concurrency.
544.
▲
by
evmar
11y ago
Coincidentally, I've been fiddling with a rather similar project, just as a hobbyist thing. It looks like this one is much farther along, kudos! Unfortunately from the contributions graph perhaps interest in it is dying off -- the la
545.
▲
by
evmar
11y ago
It looks like this document is a work in progress. Were you looking for feedback on the document? I have used build systems like this (and webpack) so I think I am the sort of person you're looking to win over. The heavy use of boldin
546.
▲
by
evmar
11y ago
Your post is much better than mine! I am glad that I commented if only to cause you to paste the link!
547.
▲
by
evmar
11y ago
I wrote a mini-survey of distributed bug tracking in 2008 here: http://evan-tech.livejournal.com/248736.html
548.
▲
by
evmar
11y ago
/usr/bin/google-chrome is written by Google and analyzed by the security team. /usr/bin/chromium is written by enthusiasts (the distro's package author).
549.
▲
by
evmar
11y ago
One FD_CLOEXEC-related bug that got us in Chrome: on Linux, while we were careful to close any open fds when spawning a subprocess, the GTK IME ("input method editor", modules to facilitate typing Japanese etc.) could itself spawn
550.
▲
by
evmar
11y ago
There was a GnuTLS vulnerability introduced in 2000 was discovered in 2014 due to an audit. To summarize there was a refactoring that had no accompanying test coverage that had the effect of inverting a check. Bugs happen to everyone, but
551.
▲
by
evmar
11y ago
Clearly you need to provide a working email address to receive the confirmation. Does anyone know the consequences of providing wrong information anywhere else?
552.
▲
by
evmar
11y ago
> installation via piping script that is being downloaded to shell is something that shouldn't be present at all The alternative is you download a binary and run it, at which point that binary can do whatever the shell script could
553.
▲
by
evmar
11y ago
You are right. I had meant they left out why the internal network is dangerous. They open with assuming it is dangerous and then discuss how to implement it.
554.
▲
by
evmar
11y ago
What's left implied but unstated in this post is that a corporate intranet is often in practice as vulnerable as the internet -- from unpatched Windows to old Android versions to people plugging in random USB dongles to a million varia
555.
▲
by
evmar
11y ago
Hover your mouse over the the wide blue part on the right of the top line in the trace. You'll see that the time is spent in "Waiting (TTFB)" phase. TTFB = time to first byte, so it spends most of the time waiting for the d
556.
▲
by
evmar
11y ago
I regret that this post is the top of the page. I failed to anticipate that people will take any opportunity to have yet another boring static typing debate. But to be clear, in my day job I work on an app with 350k lines of Python in it an
557.
▲
by
evmar
11y ago
My thought process upon seeing this: "Python, huh? Seems like typos in uncommon branches of the code would cause it to randomly fail at runtime, losing your work!" "Now evmar, don't be such a internet nay-sayer, plenty
558.
▲
by
evmar
12y ago
By asking here your answers are so biased that they're unlikely to be useful. If you're interested in getting a statistically significant sample of a larger group, there are products that will find that group for you for relative
559.
▲
by
evmar
12y ago
Here's the post you were thinking of, be sure to bookmark it this time! :) https://plus.google.com/+JeanBaptisteQueru/posts/dfydM2Cnepe
560.
▲
by
evmar
12y ago
With gcc/clang it's a set of flags starting with -M, and with MSVC it's /showIncludes. They're discussed a bit here: http://martine.github.io/ninja/manual.html#ref_headers
561.
▲
by
evmar
12y ago
Part of the reason Ninja doesn't support pattern rules is that it would require matching patterns while choosing what to compile. In projects like Chrome (with hundreds of thousands of source files) that can take a while.
562.
▲
by
evmar
12y ago
I think we are maybe talking in circles. :) When you write "could be made nearly as fast as Ninja", I thought you meant you would change the code of Make or write a new tool. If you don't write a new tool and just use a sub
563.
▲
by
evmar
12y ago
The automake manual has a description of how to get the dependencies right for multiple outputs: http://www.gnu.org/software/automake/manual/html_node/Multip... . (Disclaimer: I'm no expert, and th
564.
▲
by
evmar
12y ago
No, they should be equivalent. The Ninja manual goes so far as to encourage you to continue using Make if Make is fast enough for you. However, another way of writing your question is "if you removed the features of make that ninja do
565.
▲
by
evmar
12y ago
FWIW, my tool Ninja (was just on here again this week here: https://news.ycombinator.com/item?id=9282539 ) was designed to be more or less the same idea as make with some semantic fixes, and that includes supporting multipl
566.
▲
by
evmar
12y ago
If you measure by "number of users of the resulting binaries", Ninja is primarily used as a backend for Chrome's bespoke build system. But by number of projects, cmake is likely dominant. (And yes, part of the reason Ninja s
567.
▲
by
evmar
12y ago
The files serve as a cache of the output of the build file generator: each time the user executes a build (e.g. after each edit to a source file) you only run ninja, not the generator program.
568.
▲
by
evmar
12y ago
It's pretty funny how this post is on the front page adjacent to a post profiling one of the Go authors that opens with mentioning his masters/PhD from Harvard/MIT.
569.
▲
by
evmar
12y ago
This post is also a great demonstration as to why a programming language cannot be evaluated as a feature checklist. OCaml's object system is certainly awesome but in practice you'll find it is unevenly used -- some never use it,
570.
▲
by
evmar
12y ago
Without some difference between functions and blocks, patterns like foo.each do |x| return if x == 3 end Don't "return" out of the enclosing function.
More ›