Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
renhanxue
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
renhanxue
1y ago
What a baffling comment. Feynman won a Nobel prize for his work on quantum electrodynamics, and yet he's not known for theory work? Also, Feynman never wrote any books. His "textbooks" are lecture notes, mostly compiled by ot
32.
▲
by
renhanxue
1y ago
Astrophysicist Angela Collier's video essay "the sham legacy of Richard Feynman" [0] is a good introduction. Her accounts of her own encounters with "Feynman bros" are heart-wrenching. [0] https://www.you
33.
▲
by
renhanxue
1y ago
The hypothesis that the manuscript is a palimpsest (that is, written on an old parchment that was scraped clean of a previous text; such recycling was common because parchment was expensive) has been thoroughly rejected. That sort of thing
34.
▲
by
renhanxue
1y ago
These days the manuscript is quite conclusively dated to the first half of the 15th century; the parchment it's written on is definitely from that period, since it's been carbon dated to 1404–1438 with 95% confidence. The general
35.
▲
by
renhanxue
1y ago
If you, for whatever obscure reason, need to preserve whitespace and key ordering, that is you want something that is effectively just a text column, then you should use JSON over JSONB. I can't think of any case at all, no matter how
36.
▲
by
renhanxue
1y ago
Marco Langbroek, who did the reentry forecast that the linked article is based on, convincingly argues[0] that the bus did separate and reenter separately (in 1981) and what remains in orbit is just the lander. There are several independe
37.
▲
by
renhanxue
2y ago
> In 1999, Intel introduced the Pentium III processor with SSE instructions. I kinda expected this paragraph to continue with > This has made a lot of people very angry and been widely regarded as a bad move.
38.
▲
by
renhanxue
2y ago
Both (for example) Russ Cox and Ian Lance Taylor have contributed some very notably bad ideas to the project, yes. Does rephrasing it to "Rob Pike and people who think like him" make you happier?
39.
▲
by
renhanxue
2y ago
I've coded golang for four years. Web services. I hated it at the start and I hate it even more now. The generics are miserable to use and are very limited in what they can do, the standard library is awful (database/sql in partic
40.
▲
by
renhanxue
2y ago
If you really care about performance though you'd want to be a lot more specific than this. I've seen image processing code that not only does things like avoid specific instructions on some CPU families (like for example it avoid
41.
▲
by
renhanxue
2y ago
Aerodynamic drag is proportional to cross sectional area. A train only has maybe 2-3x the drag of a car at the same speed, but it has on the order of 100 to 1000x the mass and momentum. It takes forever for drag to do anything to a train
42.
▲
by
renhanxue
2y ago
Try out the video game Derail Valley and you'll get a decently realistic idea of just how much trains tend to just coast along without any power input. On flat ground you just need a little nudge every once in a while to keep going.
43.
▲
by
renhanxue
2y ago
I think you completely misunderstood the article. It says that the electricity used to power these trains was estimated to cost $19m a year, but the trains are a bit more efficient than expected, so the new estimate is only $16.5m/year
44.
▲
by
renhanxue
2y ago
They've significantly increased the timetable frequency though, so they're running more trains, and those trains are accelerating and running much faster than the old diesel-electrics. I don't think you're comparing li
45.
▲
by
renhanxue
2y ago
It's not the electric motor torque that makes the difference. Caltrain used to use traditional locomotives, you'd have a single F40PH or MP36PH at one end pulling a bunch of unpowered carriages. Those locomotives were diesel-elect
46.
▲
by
renhanxue
2y ago
There's a bunch of places in Europe that use waste heat from datacenters in district heating systems. Same thing with waste heat from various industrial processes. It's relatively common practice.
47.
▲
by
renhanxue
2y ago
That's exactly what I was thinking of, but I didn't know for sure. Thanks for confirming.
48.
▲
by
renhanxue
2y ago
NVENC/NVDEC and similar technologies use what is effectively an ASIC that happens to be integrated on the GPU. It doesn't use the general purpose GPU cores. This is the reason why the limitations on e.g. which codecs it supports a
49.
▲
by
renhanxue
2y ago
Also in Sweden. Most people, almost everyone, have their phone numbers and addresses listed in publicly searchable databases. Everyone's taxable income is public too (accessing it online costs a nominal fee from an aggregator service).
50.
▲
by
renhanxue
2y ago
Also, using the ON clause is consistent with the syntax for outer joins, where you have to use it (because there's a very important logical difference between putting the condition in the ON clause vs in the WHERE clause).
51.
▲
by
renhanxue
2y ago
Unfortunately EXCEPT is almost never what you actually want. It's a set operator, like UNION, and just like UNION it also has the side effect of removing duplicates from the result set unless you explicitly say EXCEPT ALL. Because it&#
52.
▲
by
renhanxue
2y ago
The Baltic has seen some incredible amounts of abuse over the years. It doesn't stop at the massive amounts of conventional munitions like bombs and naval mines, nor even at the chemical weapons. The Swedish nuclear weapons program dum
53.
▲
by
renhanxue
2y ago
I saw someone quip (on twitter, I think) many years ago something like: "A junior engineer writes comments that explain what the code does. A mid-level engineer writes comments that explain why the code does what it does. A senior engi
54.
▲
by
renhanxue
2y ago
No automated way to do that, I'm afraid. That said, most of the Jet statement builder API maps directly to SQL keywords, so it's usually straightforward. Still, some specific things are pretty awkward (CTE's come to mind).
55.
▲
by
renhanxue
2y ago
I may be misunderstanding you, but at least for the "to SQL" part I think that's just someJetStatement.DebugSql() All Jet-generated Statement objects have the .DebugSql() method. It returns the generated query as a str
56.
▲
by
renhanxue
2y ago
What I'm saying is there's an unpleasant tradeoff here. If you use Jet (or whatever other query generation library or ORM or what have you), you get back some sort of query object. In order to execute that query object and map the
57.
▲
by
renhanxue
2y ago
I think the next release is gonna give you a lot of flexibility to write your own helpers that can generate the raw fragments you need. Not as good as having the features built in of course, but it'll do in a pinch. jOOQ and jOOQ-like
58.
▲
by
renhanxue
2y ago
You want Jet [0], as mentioned in another comment. I did an extensive survey of golang SQL interfacing libraries before settling on Jet for our team. It's certainly not without warts, but it's got the correct type of API (query bu
59.
▲
by
renhanxue
2y ago
Three Minus Signs for the Mathematicians under the pi, 2212 MINUS SIGN 2796 HEAVY MINUS SIGN 02D7 MODIFIER LETTER MINUS SIGN Seven Dashes for the Dash-lords in their quotes as shown, 2012 FIGURE DASH 2013 EN DASH 2014 EM
60.
▲
by
renhanxue
2y ago
> Knowing that the graphic came from somebody who didn't actually know anything, the censors didn't see the need to worry about it. That is not how nuclear secrets work. The US Department of Energy holds that restricted data (a
More ›