Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eliben
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
571.
▲
by
eliben
13y ago
Well, there's a portable subset of LLVM IR there, for sure. Comments are welcome - we are very interested in feedback.
572.
▲
by
eliben
13y ago
A couple of notes: "Google has begun making public the details concerning their Portable Native Client (PNaCl) implementation." To be completely fair, PNaCl is part of Chromium, and hence an open source project from the start. The
573.
▲
by
eliben
13y ago
You poor soul.
574.
▲
by
eliben
13y ago
Yep. I wouldn't surprised to see this article come from some other outlet; I did not think it's already time to add Wired to the "yellow media" bucket (though last week's article about LLVM being the last thread hol
575.
▲
by
eliben
13y ago
I would argue that bad code is already shit. There's no doubt that good code can be turned to shit too if it's being modified all the time with bug fixes, etc, without paying the required technical debts. Not sure what your ex
576.
▲
by
eliben
13y ago
Totally. We should spend more time speculating about every move of Snowden and examining every new piece of fluff in the media about the NSA; linking to actually interesting programming-related content is so 2012.
577.
▲
by
eliben
13y ago
Honestly all of that doesn't sound remotely close to what I'd consider "innovation". Well, except the graph search perhaps, although I'm not sure how successful that came to be.
578.
▲
by
eliben
13y ago
I'm trying to recall what innovations Facebook has introduced since the IPO and can't think of anything except a failing skin for Androind. What am I missing?
579.
▲
by
eliben
13y ago
It's not difficult to restrict LLVM IR to a portable subset, though ;-)
580.
▲
by
eliben
13y ago
Yes, especially limiting in-app-purchases seems like a very useful feature for letting kids use your tablet without worrying too much.
581.
▲
by
eliben
13y ago
Such bullshit could only be written by someone who has never lived in the USSR and doesn't really understand what it was about. It's amazing what lengths of absurdity people & media will go to in order to get catchy titles. [
582.
▲
by
eliben
13y ago
Very large sizes are often described in terms of football fields. Or basketball fields, if they're smaller. There's something reassuring and familiar in such comparisons which rings better for many people than (400 by 100 meters).
583.
▲
by
eliben
13y ago
I wonder how long it takes for such jobs to be fully robot-staffed. I had the impression it's already the case for some types of warehouse tasks. With very high likeness, within our lifetime there will be no need for human pac-mans.
584.
▲
by
eliben
13y ago
If you don't want/have Perl installed or are just a Python aficionado - check out https://github.com/eliben/pss/ - the Python-based ack clone. It's also actively developed.
585.
▲
by
eliben
13y ago
Not sure what you mean by this. In the C standard, numeric tokens include signs, floating point dots, type specifiers (U, L, etc.), and much more. For the gory details see: https://github.com/eliben/pycparser/blob&
586.
▲
by
eliben
13y ago
Yep, compiling the regex into some sort of "VM" is not a new technique, but eventually the algorithm this bytecode implements is what matters most. The article you linked to suggests that even after the rewrite, V8's regexes
587.
▲
by
eliben
13y ago
While it seems strange to me that a highly repetitive computation that lasts ~0.2 seconds would not kick the JITs (who needs them, then ;-) ?), I tried a simple blow-up of the input (by abusing "cat") - same results. For a 16MB in
588.
▲
by
eliben
13y ago
Is that decision time-based? Because in terms of exercising the regexen and hand-written functions, they are surely run many thousands of times. I've concatenated a number of Tablegen files together (the benchmark is described better h
589.
▲
by
eliben
13y ago
> I'm not surprised the hand-written version is faster. You need to store an object for each regex. If these objects are DFAs, for example, then there is a considerable amount of overhead storing the graph to represent the DFA. I&#x
590.
▲
by
eliben
13y ago
In the case of C it's a bit special because that suffix is usually handled by the lexer - i.e. there are no production rules for it in the C grammar. This is also why a whitespace is not allowed - it's not a single token any longe
591.
▲
by
eliben
13y ago
This is normal for lexers in whitespace-insensitive languages. In spirit this is similar to allowing "foo+" (plus after "foo") or any other token concatenation. If this is an error in the language, the parser easily catc
592.
▲
by
eliben
13y ago
Finally, channeling 21st century software technology to something useful. One of the most important industries in the world - healthcare - is sadly broken and advances significantly slower than other technological domains. I wish more inves
593.
▲
by
eliben
13y ago
I really wish Instacart or something similar succeeds. The state of grocery delivery in the Silicon Valley is far from ideal. The key, though, would get the supermarkets involved. The only way to lower the delivery price and stay profitable
594.
▲
by
eliben
13y ago
Yes, the difference being the difference between an ipad an a laptop (full keyboard, larger screen, etc) and the price. Tablets are great but they can't replace laptops for all use cases IMHO.
595.
▲
by
eliben
13y ago
Feel free to build that cloud and provide web access to it - that's possible today from any phone, I guess.
596.
▲
by
eliben
13y ago
It's hard to over-estimate the convenience of a laptop you never fear losing, breaking or seeing die some horrible way. Just take another Chromebook, login, possibly wait a minute for all your apps to sync (if you use large apps) and v
597.
▲
by
eliben
13y ago
Even better: use pss ( https://github.com/eliben/pss ) It's not git-exclusive and has a ton of additional capabilities and features. Besides, being a pure Python program it's very easy to tweak if there's
598.
▲
by
eliben
13y ago
I was wondering the other way. If you just open Chrome in incognito mode and search Google without logging in, is it very much different from DDG? Except for the results quality, of course. Is the big difference being your IP tracked with t
599.
▲
by
eliben
13y ago
Interesting - how can the trend seen in those charts be explained? The clearly falling popularity of Apache the larger the website and clearly rising popularity of Nginx complement each other nicely.
600.
▲
by
eliben
13y ago
An interesting case study in modern journalism. This article has an interesting story to tell, but the author seems unaware of it, so he tries really hard to use every trick in the book to extract hyperbolic statements suitable for headline
More ›