Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcheng
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
301.
▲
by
jcheng
8y ago
It can be. See Ford in the mid-2000s under Alan Mulally--that was his play and it was spectacularly successful compared to the counterexamples at GM and Chrysler.
302.
▲
by
jcheng
8y ago
I don't know if this is what you mean, but Aspect Oriented Programming was a hot topic for a very short period in the early 2000's, especially in the enterprise Java community. Ultimately it didn't seem to find many use cases
303.
▲
by
jcheng
8y ago
You might find this helpful for providing a different perspective: http://www.globalrichlist.com/
304.
▲
by
jcheng
8y ago
IIUC, the order isn't used to figure out which React component is being rendered, but which of potentially several hook invocations within that single component is currently being invoked. If every unique hook could only be (directly o
305.
▲
by
jcheng
8y ago
No, but https://www.cnet.com/roadshow/news/tesla-elon-musk-open-supe... > One question posed during Wednesday's Tesla quarterly earnings call involved allowing other manufacturers to access Tesla's su
306.
▲
by
jcheng
8y ago
Location services are client side. You turn it off if you don't trust client side apps to have access to your location.
307.
▲
by
jcheng
8y ago
The Soviets tried and failed. https://en.wikipedia.org/wiki/Soviet_crewed_lunar_programs
308.
▲
by
jcheng
8y ago
Why wouldn't that work? The iterable returns a different iterator, backed by a different stream, each time.
309.
▲
by
jcheng
8y ago
In a larger organization, "knowing what's important and what's not" at all times can be practically a full time job in and of itself. A lot of engineering teams like to protect individual developers from meetings and con
310.
▲
by
jcheng
8y ago
WrtCdEvrydy alluded to it, but the original is: There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton https://martinfowler.com/bliki/TwoHardThings.html
311.
▲
by
jcheng
9y ago
There's another position that's similar but less gross, which is to have some humility about what you think is important vs. what work your manager/manager's manager think is important. Try to work on what they think is
312.
▲
by
jcheng
9y ago
Nit: it's "Malayalam". I noticed the same typo in your blog post.
313.
▲
by
jcheng
9y ago
I’m guessing that money was pulled out of mutual funds and put into ETFs.
314.
▲
by
jcheng
9y ago
FYI, the pipe operator for R (and other languages that have it built in) are for calling any functions with any parameter types. This is not just academic, in the tidyverse style it's both common and idiomatic to change object type
315.
▲
by
jcheng
9y ago
That's all well and good for operations that are built into data.table; pipes can be used with anything that's a function call (like ggpage).
316.
▲
by
jcheng
9y ago
They make them--besides the Golf, there are pure electric versions of the Ford Focus, Audi A3, Kia Soul, BMW 3-series, Fiat 500, and Smart, and some of those have been around for years. People seem to prefer electrics (and hybrids for that
317.
▲
by
jcheng
9y ago
BMW tried a dedicated electric, the i3, with a pretty daring design inside and out. Sales were not good, unfortunately. http://www.bmwblog.com/2017/04/07/heres-last-years-bmw-i3-sa...
318.
▲
by
jcheng
9y ago
Maybe this: https://en.wikipedia.org/wiki/Simulation_heuristic AFAIU, when something bad happens to us, we focus our regret on the smallest/nearest action that could have been undone to change the outcome. So in t
319.
▲
by
jcheng
9y ago
If you scroll down on this page, there's a comparison between the A9X (which is slower than the A10) and the Core M used in the MacBook: http://www.anandtech.com/show/9766/the-apple-ipad-pro-review...
320.
▲
by
jcheng
9y ago
It's not, it's referencing the book that the (apparently very different) movie is loosely inspired by. https://faq.soylent.com/hc/en-us/articles/201541809-Why-is-i...
321.
▲
by
jcheng
9y ago
That's really fun, thanks! Makes me want to write a solver...
322.
▲
by
jcheng
10y ago
Domains were Node's answer to that, and it seemed to work pretty well. I adopted the approach for my own web framework (not JS based) and it has been an extremely useful abstraction. They're soft-deprecated in Node now though, and
323.
▲
by
jcheng
10y ago
In case anyone is curious, like I was: $ grep -i tc /usr/share/dict/words | wc -l 1055 $ grep -i tk /usr/share/dict/words | wc -l 40
324.
▲
by
jcheng
10y ago
Agreed that yarn is faster and reproducibility is critical, but in case you aren't aware, you can have reproducibility with npm too by using the "npm shrinkwrap" command.
325.
▲
by
jcheng
10y ago
It's been years and years since I used C# but at the time, ref and out parameters were critical for pinvoke, since pointer arguments are how Win32 functions generally return results.
326.
▲
by
jcheng
10y ago
The RStudio crashing bug should be fixed in daily builds. https://dailies.rstudio.com
327.
▲
by
jcheng
10y ago
Both Q and bluebird promises optionally support long stack traces, albeit at a performance hit. And in practice even old style callbacks often (usually?) empty the stack.
328.
▲
by
jcheng
10y ago
5. Error handling and even successful termination is very, very easy to get wrong with nested callbacks (forgetting to call a callback, or forgetting to catch unexpected exceptions and pass them to the callback, means the function never ret
329.
▲
by
jcheng
10y ago
> at rest data shouldn't be modified If your data is kept in a SQLite database or any other type of compound storage scheme it's entirely possible to lose data that wasn't being modified, due to corruption of the metadata
330.
▲
by
jcheng
10y ago
I agree, especially for seldom-used Windows machines. The updates take so long, it's hard to imagine what they could be doing. That said, Windows actually has real file locks so it can't update libraries and executables that are i
More ›