Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
a_e_k
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
a_e_k
2y ago
I've often wondered about that. I feel like it says something about the development team behind Teams if either, (a) it doesn't bother them, or (b) they don't dog-food their own product this way. (Just give me fenced code bl
152.
▲
by
a_e_k
2y ago
IIRC, both the Jedi engine (1995, Dark Forces ) [1] and the Build engine (1995, Duke Nukem 3D ) [2] which were of the same era used "sectors" rather than BSP trees for resolving visibility. Basically, it would traverse a graph
153.
▲
by
a_e_k
2y ago
Just call the upper levels the Star League. ("You have been recruited by the Star League...")
154.
▲
by
a_e_k
2y ago
As someone who's used TikZ for paper figures recently, this is brilliant! I could see this saving a lot of time spent both on studying the documentation and on trial-and-error to coax TikZ to render the figures the way I want. I wou
155.
▲
by
a_e_k
2y ago
Yes, if it had just mentioned that it meant a great circle, I would have felt like it wasn't such a gotcha question.
156.
▲
by
a_e_k
2y ago
> in a straight line along the Earth’s surface. This already seems suspect, given that the earth's surface is curved. A true straight line from the starting point would take us off into space. So this feels like it's all just
157.
▲
by
a_e_k
2y ago
I feel like I probably agree with about 80% of this. It also seems like this would apply fairly well to C++ as well. One thing that I'll strongly quibble with: "Use double rather than float, unless you have a specific reason othe
158.
▲
by
a_e_k
2y ago
Apple's reference: https://developer.apple.com/fonts/TrueType-Reference-Manual/... (I spent a lot of time with both of these when hand-hinting my programming font.)
159.
▲
by
a_e_k
2y ago
> Smith said that she’s also curious how this research would translate to non-domesticated cats like big, wild cats. “We don’t know whether wild cats are susceptible to that illusion, because they may not encounter corners and walls the
160.
▲
by
a_e_k
2y ago
Another for the pro side: inlining can allow for better branch prediction if the different call sites would tend to drive different code paths in the function.
161.
▲
by
a_e_k
3y ago
The zstd API does allow you to supply your own initial dictionary, so there's no need to fork it to allow a browser implementation to use the brotli dictionary. Personally, as someone who doesn't work in web, I'm just as happ
162.
▲
by
a_e_k
3y ago
Fun! After a few game, my best was 100% on the 4th guess. It looks like it's using Euclidean RGB difference, so one potential approach if you don't want to eyeball it is to just try to try to find the match for each channel one b
163.
▲
by
a_e_k
3y ago
Yes, I'll never understand the "fix typo" commits when `git commit --amend` is so straightforward.
164.
▲
by
a_e_k
3y ago
And for those using Magit in Emacs, you can do this by selecting a region of lines and hitting `C-c M-g l`. https://magit.vc/manual/magit/Commands-for-Buffers-Visiting-...
165.
▲
by
a_e_k
3y ago
True! It would definitely be a chance to improve.
166.
▲
by
a_e_k
3y ago
Oh, that one's interesting. I hadn't seen that alternative before.
167.
▲
by
a_e_k
3y ago
Yes, I was thinking of consent as part of the "appropriate licensing".
168.
▲
by
a_e_k
3y ago
Yes, putting aside the controversy, I agree that its sorely out of date and not very representative of modern images. I remember being amused when first seeing the paper with Fabio, but sadly it too is greyscale and of poor resolution. Reg
169.
▲
by
a_e_k
3y ago
Makes sense to me, though I've noticed that it's surprisingly hard to find a good alternative test image. This one has: - Fine directional texture (the weave of the hat, hair) - Fine non-directed texture (the feathers) - Fine det
170.
▲
by
a_e_k
3y ago
My experience as a working parent has been that you just have to muddle through some days one way or the other. (But taking longer shifts like GP mentioned works way better than trying to split the difference within a single night.)
171.
▲
by
a_e_k
3y ago
Crazy! Going by the higher 7.6 kn figure mentioned elsewhere in this thread, that'd be closer to 450 million N s. For another comparison, Wikipedia gives an estimate of "Apollo 11 launched from Earth to orbit" at 495 million
172.
▲
by
a_e_k
3y ago
> I recommend using NeoVim or Emacs, spending a little time setting up your own configuration, and getting to work. Leave behind the creature comforts. Funny. After years of use, Emacs is my creature comfort!
173.
▲
by
a_e_k
3y ago
I find that feature also interacts very nicely when editing parallel paths. E.g.: prog/libs/foo┃/src/CMakeList.txt Start with one path prog/libs/some┃/src/CMakeList.txt
174.
▲
by
a_e_k
3y ago
It seemed at first glance like it was pretty specific to Quake engine games, knowing how to load .wad files, etc. I was wondering how it might be adapted for a custom game. The answer is here, in case anyone else is curious: https:/
175.
▲
by
a_e_k
3y ago
The Taco Bell near me still does that. The difference is that they have large printed signs advertising the discounted prices and the times they apply (2p-5p). The posted prices are dependable as long as one checks a clock.
176.
▲
by
a_e_k
3y ago
> retractability As someone who always carries a pen in my pocket when I leave the house, I've come to find this one surprisingly important. Retractable pens have a habit of accidentally engaging and scribbling over the pocket fabr
177.
▲
by
a_e_k
3y ago
I'm the author of another CPU-only 2D vector graphics library that might be of interest: - Canvas Ity ( https://github.com/a-e-k/canvas_ity ) It's a tiny single-header C++ library in the style of the STB librar
178.
▲
by
a_e_k
3y ago
"Since the beginning of time, Man has yearned to destroy the sun. I will do the next best thing: block it out!" https://www.youtube.com/watch?v=L3LbxDZRgA4
179.
▲
by
a_e_k
3y ago
Yep. And whenever I've implemented a recursive-descent parser and dealt with left-associative operators, I've just inlined the equivalent of additive-expression2 and the loop. E.g.: def parseAddExpr(): parseMultExp
180.
▲
by
a_e_k
3y ago
I wouldn't know about the Vim equivalent, but I wrote this in my Emacs config long ago: (defun find-non-ascii () "Find and show all of the non-ascii characters." (interactive) (occur "[[:nonascii:
More ›