Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nrdvana
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
151.
▲
by
nrdvana
7y ago
I hadn't thought about it that way before, but I like and agree with this analysis. While method names can contain all the information, it requires more words and you end up with a Java-style mess thatContainsTheWholeAlgorithmInTheNam
152.
▲
by
nrdvana
7y ago
Or they go the other way, after an initial assumption that the task was performance-critical when in fact a scripting language was perfectly capable and took 1/10 the effort to write. https://opensource.com/article/
153.
▲
OpenGL Bindings for Bash
(opensource.com)
1 points
by
nrdvana
9y ago
|
0 comments
154.
▲
by
nrdvana
9y ago
My kernel takes 2 seconds, and the userspace takes about 4, mostly waiting for Xorg to initialize the display (which I could probably improve using a hardcoded xorg config, rather than autodetect). The real killer is BIOS though- my FitPC
155.
▲
by
nrdvana
9y ago
The DeLorean was famous exactly because it wasn't 80's aesthetics; it STILL looks like the car of the future. But the instrument cluster? it's made of cheesy analog gauges that bounce with the fluctuations of the system vol
156.
▲
by
nrdvana
9y ago
The DeLorean is actually more reliable now than it was back then because we have 37 years of test data available on what goes bad and how to prevent it. There's also a number of improved components available made from newer materials.
157.
▲
by
nrdvana
9y ago
For the DeLorean, there's pretty much just 4 that matter: oil pressure, voltage, temperature, and brake fluid light. I wouldn't drive any long distance without being able to see these.
158.
▲
by
nrdvana
9y ago
What I'm talking about is arbitrary attributes that might not exist on the base class, resulting in something like: std::sort( myvec.begin(), myvec.end(), [](obj& A, obj& b) { int A_attr1= dynamic_cast&l
159.
▲
by
nrdvana
9y ago
You need reflection if the type of object you're comparing doesn't have that attribute, and only half the subclasses do. You then have to inspect the actual class to see if the attribute exists before you can access it, and the c