Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
blt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
481.
▲
by
blt
6y ago
Yeah, I would say this title is a little misleading. The example doesn't use any of the C++ features that cause long compile times, like templates and the STL.
482.
▲
by
blt
6y ago
Agree that Mac OS backwards compatibility is atrocious! I think another big challenge for Linux is battery life and sleep/wake on laptops. Last time I considered replacing Mac OS with Ubuntu on my laptop, I got scared away by reports t
483.
▲
by
blt
6y ago
When you switch from Linux to Mac/Windows, you think "wow, this OS was actually made for GUIs. Everything just works. I don't have to restart ALSA every 3 days." When you switch from Mac/Windows to Linux, you think
484.
▲
by
blt
6y ago
As mentioned above, sphinx-tabs will get the job done.
485.
▲
by
blt
6y ago
Pytorch has a really good one for installation, but it seems to be handcrafted JavaScript. I would love if .rst on readthedocs offered some declarative way to do it.
486.
▲
by
blt
6y ago
Do it!
487.
▲
by
blt
6y ago
Your statements are extreme. There may be some subcultures and bits of society that behave like this, but it is far from universal. Please take a break from your current forums/podcasts/youtube/etc.
488.
▲
by
blt
6y ago
I think the advice is more like "build a circle of good, like-minded friends." A hobby group can help with that. There is no quick fix.
489.
▲
by
blt
6y ago
Thanks for collecting the links, and to Animats for the great list!
490.
▲
by
blt
6y ago
I'm curious to know which "serious warts" in C++ would be fixed by making everything an object.
491.
▲
by
blt
6y ago
As a computer science graduate student, I am always surprised by how rarely my peers seem to know or care about the history of our field. I doubt many of them would write papers about computer science history even if the incentives were bet
492.
▲
by
blt
6y ago
True!
493.
▲
by
blt
6y ago
One good use for Python's OOP is operator overloading. Since Python doesn't have type signatures, you can't overload the "plus" operator with a free function like you can in C++. Writing numerical code without opera
494.
▲
by
blt
6y ago
Deep RL is a soul-sucking research field.
495.
▲
by
blt
6y ago
Send invoices to identifiable users, which go to collections if unpaid. Eat the cost for unidentifiable users. As long as you can fix any connection problem within a few days, the maximum value lost is limited by physics. People used to pay
496.
▲
by
blt
6y ago
I am also wondering about this. Normal distributions have support on all real numbers, which would imply that negative frequencies have nonzero probability. That is strange. Perhaps the underlying mechanism is more faithfully modeled by ano
497.
▲
by
blt
6y ago
They could store the transactions in local memory until the connection is restored.
498.
▲
by
blt
6y ago
On a less clever note, I also find it useful to think about XOR as the "conditional inversion" operator: x invert? out 0 0 0 1 0 1 0 1 1 1 1 0 This has saved me some neste
499.
▲
by
blt
6y ago
a.k.a. Sea Shanty 1
500.
▲
by
blt
6y ago
From the article: > it’s a simple feedforward network with... a single scalar output to give a numerical score for the position, indicating how favourable it is for the player about to move. The search algorithm proposes moves, compute
501.
▲
by
blt
6y ago
It's funny how the same group of people who say things like "government should get out of the way of business" cry foul as soon as those unregulated businesses do something they don't like.
502.
▲
by
blt
6y ago
I think they meant that people with institutional access to journals still use sci-hub because it is more straightforward than dealing with all the institutional logins, which are especially annyoing when not on the institution's netwo
503.
▲
by
blt
6y ago
OOP interface is wrong for this functionality. It should be a free function. There is no reason it should be restricted to strings -- "join" makes sense on any sequence-like objects. We should be able to join(Iter1, Iter2[Iter3])
504.
▲
by
blt
6y ago
Significant robotics projects usually need a team of specialists and possibly expensive hardware. Hobbyist robotics is fun, but unlikely to achieve state of the art in anything. It is easier for a single person to make a meaningful contribu
505.
▲
by
blt
6y ago
> Treat fines like payments. e.g. park illegally and let yourself think of the (expected value of the) fine as a parking fee This is why all fine-based penalties should scale progressively with income.
506.
▲
by
blt
6y ago
"Data science" can imply many different roles, but one thing they have in common is the absence of any low-level component. They usually work with high-level garbage-collected languages on powerful machines and reliable LANs. I am
507.
▲
by
blt
6y ago
True, I should have said "in places I have lived in the USA".
508.
▲
by
blt
6y ago
Paying by the bag is good. In the USA, if you live in a detached house there's normally a fixed price to get a large barrel collected weekly. The barrel is large enough to hold a week's trash from a family of four who puts no effo
509.
▲
by
blt
6y ago
Re. the last point, was trying to think of computations where 1) an efficient in-place version is possible, and 2) the most efficient out-of-place version is significantly faster than copying the input and executing the in-place version. In
510.
▲
by
blt
6y ago
The dry air in airplanes is not circulated. The cabin is pressurized with air from the compressor stage of the jet engine. Pressure is regulated by letting some air out of the cabin. It feels stale because the rate of air replacement is not
More ›