Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
KMag
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
691.
▲
by
KMag
4y ago
Agreed. Raw threads are almost always the wrong application-level concurrency abstraction. Actors/Erlang-style concurrency and futures are both much better abstractions for application programmers. I'm also a big fan of threads
692.
▲
by
KMag
4y ago
I'm not following these things because I realize I really don't want to spare the time to dig deeply enough down the rabbit hole to find the truth. However, it doesn't seem difficult at present to find a workable pretence fo
693.
▲
by
KMag
4y ago
GP is talking about the Linux kernel's buffer cache. Unless you tell the kernel to operate directly on the disk, your reads come from and your writes go to pages within the kernel's buffer cache. Using a small bs probably result
694.
▲
by
KMag
4y ago
Err... sorry... bumping once in each of the directions is linear in the number of dimensions, not exponential. You don't bump all combinations, just one dimension at a time. In any case, the savings from automatic differentiation are
695.
▲
by
KMag
4y ago
Expanding a bit more, risk calculations are basically calculating the partial derivatives of the current value of your books with respect to inputs observable in the outside world ("observables", almost exclusively current market
696.
▲
by
KMag
4y ago
I wonder how much auto-correct is going to cause relatively rare words with a small edit distance from common words to slowly leave the English language.
697.
▲
by
KMag
4y ago
> I thought pls give me begin and end instead of this unpleasent slow hand movement Have you tried trigraphs? (/me ducks.)
698.
▲
by
KMag
4y ago
It's Sturgeon's law applied to arguments. 90 percent of arguments are inconsistent and short-sighted. But, there is room for a nuanced consistent position regarding common carriers and/or monopolies having fewer freedoms tha
699.
▲
by
KMag
4y ago
I think both major parties have pretty strong authoritarian streaks that they show in different ways. I'm a registered Democrat, and I agree that the authoritarian streak in the Republican party is stronger and more dangerous at the m
700.
▲
by
KMag
4y ago
I remember a decade or two there being some research on using the cadence of their typing to identify and authenticate computer users. I'm sure I'm not the first to make a joke that it was "Fecal recognition... identifying y
701.
▲
by
KMag
4y ago
Yes, "laziness" is unfair and imprecise, a laziness on my part. :( I think it was an issue of familiarity and comfort, not newness. The author joined Google before I did. If you're basically working with one other person, a
702.
▲
by
KMag
4y ago
The author was born and raised in Brooklyn and went to Cornell, if I remember correctly. As far as I know, English was his only language, and he was almost certainly using either US QWERTY or Dvorak keyboard layout.
703.
▲
by
KMag
4y ago
That's a fair criticism. Deep down, I usually have a pretty high opinion of my abilities. I think I'm pretty good at hiding it in person, but I'm less good at hiding it in my writing. I feel happiest and most excited to wr
704.
▲
by
KMag
4y ago
The "yelling" was coming to the team email list, asking for ETAs and progress updates for when real-time risk would be back up. Roughly 4 people at the time knew the bug could be traced to the new guy's commit, and none of t
705.
▲
by
KMag
4y ago
A lot of people have a particularly tough time understanding sarcasm in a language other than their mother tongue.
706.
▲
by
KMag
4y ago
> Also I’ve heard that Google automatically fails people who use regex in interviews, Hmm... I don't remember that, and I conducted over 100 interviews back when I was at Google. A blanket failure for using a regex sounds like it&#
707.
▲
by
KMag
4y ago
I grew up in the upper Midwest, went to school outside Boston, and spent most of my adult life in New York and Hong Kong. I haven't spent much time in California, so maybe I'm placing too many of the cultural problems I saw at Go
708.
▲
by
KMag
4y ago
This was in the Borg days, pre-Flume. As I remember, we had at least one Borg cluster to ourselves for indexing. Our quota was a cluster. We cared because indexing latency is important. Engineers get paged and woken up in the middle of t
709.
▲
by
KMag
4y ago
I think that maybe the author felt like finding the end of a loop stood out much better that way, instead of trying to distinguish the ends of conditional blocks from the ends of loops. If you're used to poorly formatted code in an ML
710.
▲
by
KMag
4y ago
Yea, nice guy and solid engineer. He was actually my TA for a systems engineering class back in school. He was actually very helpful in solving other people's problems, but a bit blunt in encouraging people to reach their full potent
711.
▲
by
KMag
4y ago
It helped me empathize with young engineers dealing with their first high responsibility bug. About 4 years ago, I was managing a guy right out of school who pushed a minor bug that broke real-time risk calculations for a major multinationa
712.
▲
by
KMag
4y ago
I was a couple years out of school, and felt a lot of responsibility. It wasn't really a big deal, but it didn't feel like it at the time.
713.
▲
by
KMag
4y ago
> maybe a little training on why customizing a programming language with macros is bad Both the author and the reviewer had passed C++ style certification. They knew why it was bad. They just got a little lazy and wanted to write their
714.
▲
by
KMag
4y ago
It wasn't the best way to criticize the code review. If I could go back in time 15 years, it's also not the first mistake I would fix. It stuck in my mind because I felt bad about it. I was frustrated that I had been hounded to
715.
▲
by
KMag
4y ago
I probably should have left [redacted]'s name out of it. He's a nice guy, but a bit cynical and rough on the edges, at least he was 15 years ago. He fit in well in New York, brutally honest, but actually generally nice. Edit: I
716.
▲
by
KMag
4y ago
There wasn't a post-mortem in my case. I had thought of the case for <title/> but basically out of laziness talked myself out of writing a separate test case for it, presuming the test cases for a zero-length title and an un
717.
▲
by
KMag
4y ago
There's a good deal of responsibility in writing code that is going to run over every single page (and PDF document, MS Word doc, the higher ranked Flash animations, etc.) in the visible web. For my part, I once made a bad assumption a
718.
▲
by
KMag
4y ago
Ironic, from the authors of RE2. They know the correct way to implement regexes. Though, when I worked on Google's indexing system, some researchers were having machine learning generate regexes to run on every page in the visible web
719.
▲
by
KMag
4y ago
To be clear, you're asserting that by donating $1.1 billion in cash, they're likely getting more than that sum multiplied by their marginal tax rate in tax reduction? I'm honestly curious what the loopholes would be.
720.
▲
by
KMag
4y ago
There are some loopholes with donations, mostly regarding difficult-to-value benefits and also around donating dificult-to-value things rather than cash, stocks, and/or bonds. But, if you donate $1.1 billion to an eligible charity (and
More ›