Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dangerbird2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
dangerbird2
5y ago
try: ... except BaseException: return "yolo"
62.
▲
by
dangerbird2
5y ago
I've always found them great for weddings/reunions with groups of 4-6 renting a small house, which usually ends up being much better value for the price than hotel rooms and suites, and much more convenient than traditional house
63.
▲
by
dangerbird2
5y ago
Also having the taxi driver intentionally taking indirect routes to run up the meter. Crazy how much better rideshares serve there customers just by setting the rate before you get in the car Not to mention taxis refusing to serve minorit
64.
▲
by
dangerbird2
5y ago
Yes! Wet cat food is so unpleasant to deal with, despite being arguably much healthier than kibble. IIRC, since cats prefer to get their fluids from food rather than drinking water from a bowl, wet food goes a long way in preventing dehydra
65.
▲
by
dangerbird2
5y ago
No, they just have to be US citizens at birth: either born on American soil or to U.S. parents abroad. This is why Ted Cruz and George Romney could run for president despite being born outside the U.S.
66.
▲
by
dangerbird2
5y ago
Circa 2006, all the Emacs users realized it has perfectly good documentation built-in, so they didn't have to search for it anymore /s
67.
▲
by
dangerbird2
5y ago
As a counterpoint, golf courses drastically increase the course difficulty prior to tournaments by growing out the rough and cutting grass on the green shorter (which lowers friction and makes the ball roll/bounce off the green easier)
68.
▲
by
dangerbird2
5y ago
The real question is whether a thread-based actor model is any better performance than existing approaches in python for cpu parallelism. At this point, about 95% of cases that need CPU parallelism are already going to be implemented as nat
69.
▲
by
dangerbird2
5y ago
It's always worth reminding folks that weak typing and implicit conversions can plague statically typed languages. C's implicit pointer array-to-pointer and pointer-type conversions are a major source of bugs for beginner and expe
70.
▲
by
dangerbird2
5y ago
So I guess keydb is pretty solid in production? I considered it when running into problems with redis, but opted against it since none of my co-workers had any experience with it
71.
▲
by
dangerbird2
5y ago
In python-land, I like to use glom[1], which is basically jq but operating on arbitrary python data structures. I believe there are bindings for jq in python in other languages, which would allow operating on data structures, but I imagine
72.
▲
by
dangerbird2
5y ago
Theoretically, redis-sentinel would be perfect for a clustered system like kubernetes. In practice, I've always found it a nightmare to deploy and use due to its hacked-on service discovery (which is redundant in kubernetes), and lack
73.
▲
by
dangerbird2
5y ago
I love how ARM's killer feature of low power consumption came completely by accident. [1] ACORN designed ARM as a desktop processor with good memory bandwidth, and only discovered its energy efficiency when a prototype continued runnin
74.
▲
by
dangerbird2
5y ago
Dealing with Discovery in corporate lawsuits can be extremely labor intensive. Defendants especially like to dump huge amounts of evidence in discovery that the law firms have to sift through. A recent example was Remington submitting tens
75.
▲
by
dangerbird2
5y ago
Don't worry, HP sells more than enough inkjet cartridges to keep their evil mastermind dreams alive (I know that's not HPE's business, but whatever)
76.
▲
by
dangerbird2
5y ago
At this point, the best prevention is to avoid eating anyone who lived in Britain 20-30 years ago
77.
▲
by
dangerbird2
5y ago
Samus isn't exactly a good example. The reward for winning Metroid is literally seeing her in a 8bit bikini
78.
▲
by
dangerbird2
5y ago
Apparently, Pico8 encodes the compressed app data directly in the PNG pixel data. They use 2 least significant bits of each color channel to encode a single byte of data per color. The pixel count of pico8 cartridges is what creates the con
79.
▲
by
dangerbird2
5y ago
And if you like the immediate mode API, just use something like raylib's rgl[1] that emulates an immediate-mode API on modern OpenGL. Aside from performance benefits, you can port your code to GLES or WebGL, where immediate-mode isn&#x
80.
▲
by
dangerbird2
5y ago
As verbose as it often is, the lack of an opengl-style state machine in Vulkan (or Wgpu/Metal/Dx12 for that matter) makes it so much easier to reason with. About 70% of the bugs I've had to deal with in OpenGL involved me for
81.
▲
by
dangerbird2
5y ago
The scene being reflected is almost certainly pre-rendered. Fun fact: it's the Cornell Box, a very common placeholder scene in computer graphics. https://en.wikipedia.org/wiki/Cornell_box
82.
▲
by
dangerbird2
5y ago
To quote Monty Python: "And pray that there's intelligent life somewhere up in space 'Cause there's bugger all down here on Earth."
83.
▲
by
dangerbird2
5y ago
In a browser environment, all addressable memory accessible to WASM is more-or-less just a javascript ArrayBuffer object. If you can unintentionally break the browser sandbox with buggy C++ code, someone else has almost certainly already co
84.
▲
by
dangerbird2
5y ago
The C++ code is running on webassembly, which is no more at risk of buffer overflow attacks than vanilla javascript. Worst-case scenario, you could have memory leaks in the C++ code or in the wasm-javascript interface (since javascript does
85.
▲
by
dangerbird2
5y ago
By 476, Rome hadn't been the primary capital of the Western empire for almost 200 years. Diocletian moved the capital of the Western Augustus from Rome to Milan in 286[1]. The Capital then moved from Milan to Ravenna in 402, where it r
86.
▲
by
dangerbird2
5y ago
Obligatory "The S in IoT stands for Security"
87.
▲
by
dangerbird2
5y ago
I see about 220 tubes in that pic, and I'd guess he'd need at least twice that to replace bad/broken tubes. I bet there are more that aren't visible, so it should cost a few hundred dollars. Still, it's a huge stea
88.
▲
by
dangerbird2
5y ago
Either a fixed-point decimal (i.e. an integer with the ones representing 1/100, 1/1000, etc. of a dollar, or a ratio type if you need arbitrary precision.
89.
▲
by
dangerbird2
5y ago
If the good lord wanted us to code in assembly language, he'd have made transistors operate on mnemonics, not electric currents.
90.
▲
by
dangerbird2
5y ago
According to the EFF, in most cases, you can invoke your 5th amendment rights to prevent CBP from making you give up a password, particularly if you claim the content of the password (as opposed to the data the password is protecting) is pe
More ›