Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
a_e_k
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
271.
▲
by
a_e_k
4y ago
The key thing about print debugging for me, that I've never seen a typical debugger handle well, is what I like to think of as "temporal debugging": Taking a program trace from the print debug statements, grepping through it
272.
▲
by
a_e_k
4y ago
My college's CS program did the same, but with Scheme back in the day. I can't complain, since I was introduced to Emacs along the way, which I still use heavily to this day. And while I don't really use Scheme anymore, it m
273.
▲
by
a_e_k
4y ago
How much is your time worth? Low cost but easy may still come out cheaper than "free" if you place sufficient value on your time.
274.
▲
by
a_e_k
4y ago
I recently switched to a company that uses Teams, after the last two companies I worked for using Slack. I ran into this one constantly. And lately when I paste something in and set the paragraph type to monospace, it puts a box around eve
275.
▲
by
a_e_k
4y ago
I've taken the "Oh no! Sorry. That book was accidentally destroyed maliciously," approach before. (Interestingly, my own parents took that approach with the Berenstain Bears for exactly the reason you describe.) But I'
276.
▲
by
a_e_k
4y ago
There's a particular Calvin and Hobbes strip that always comes to mind with articles like this: "I don't know which is worse... that everyone has his price, or that the price is always so low." https://www.goc
277.
▲
by
a_e_k
4y ago
I really like that way of framing the distinction. I may have to borrow that. I've been thinking about reviving my blog by writing up some tidbits from my pen-and-paper notebooks as shorter form entries. I've usually preferred t
278.
▲
by
a_e_k
4y ago
"Adverse inference" https://en.wikipedia.org/wiki/Adverse_inference
279.
▲
by
a_e_k
4y ago
There's a passage that I love near the end of Madeleine L'Engle's "A Wrinkle in Time" (1962) that mentions exactly this idea in the context of a discussion on predestination vs. free will, and not knowing what the f
280.
▲
by
a_e_k
4y ago
Add me as another with fond memories. I was introduced to AC by my coworkers at my first full time job after college. Pretty much all the software devs I worked with at the time played it, including both my manager and the head of the sit
281.
▲
by
a_e_k
4y ago
I haven't played KSP yet, but that description makes me think a lot of the Dragons in the 1955 short story "The Game of Rat and Dragon" by Cordwainer Smith [0]. > Somewhere in this outer space, a gruesome death awaited, de
282.
▲
by
a_e_k
4y ago
I also like to dig through the backlog when doing a major refactor or a large feature. I'll look for related things that might help inform the design. It's surprising how often you find cases where we couldn't do A, because
283.
▲
by
a_e_k
4y ago
Last month, I submitted a patch to GNU Emacs with an implementation of line breaking inspired by Knuth-Plass and an option to enable it for paragraph filling. (I'm still iterating on the patch.) My approach to runts was to apply the f
284.
▲
by
a_e_k
4y ago
Yes, definitely. IIRC, the fixed-function aspect is where NVIDIA's marketing made the distinction between their "GPU"s and the graphics accelerators that had gone before. That sort of thing would have tied in nicely with a
285.
▲
by
a_e_k
4y ago
Yeah, a lot seems kind of weird. Many things get mentioned in odd places or credit seems somewhat misplaced. * It mentions James Kajiya, but David Immel usually also gets co-credited for the rendering equation. (He's credited in the
286.
▲
by
a_e_k
4y ago
> There are two Marleys in the Muppet Christmas Carol, because the best Muppet personality match to Jacob Marley is a set of two Muppet characters. It also let them have the parental bonus of a character named Robert Marley. > Rizzo
287.
▲
by
a_e_k
4y ago
First, Wdired is not the normal mode for Dired. You have to hit a key to activate that mode. Second, it doesn't actually make any changes to the file system until you hit the key combo to commit them. And the files aren't delete
288.
▲
by
a_e_k
4y ago
Changing buffers works just fine in keyboard macros. So sometimes I'll prepare one buffer with a list of lines that are basically meant to provide input to a macro for editing another buffer and have the macro constantly jump back and
289.
▲
by
a_e_k
4y ago
And `e` in occur to go into the very similar occur-edit-mode (which also works in multi-occur to make changes across multiple buffers).
290.
▲
by
a_e_k
4y ago
It was the same on the Consumer side organization I was in when I was there.
291.
▲
by
a_e_k
4y ago
https://github.com/a-e-k/canvas_ity A tiny, single-header <canvas>-like 2D rasterizer for C++ More detail -- This is an STB-style single-header C++ library with no dependencies beyond the standard C++ library. In
292.
▲
by
a_e_k
4y ago
Oh. And here from the headline, I thought this might be about a new battery breakthrough.
293.
▲
by
a_e_k
4y ago
I always proof mine with pdftotext. I figure that if that can extract the raw text correctly without mangling it, then it'll probably be okay for whatever applicant tracking system a company is using. (My preference for my resumé these
294.
▲
by
a_e_k
4y ago
"Graduates", maybe? As in, "the Division of Robotics and Bioinformatics Applied CS graduates."
295.
▲
by
a_e_k
4y ago
Regarding the "only one person recommending what they liked" aspect vs. second-guessing choices based on Reddit, it reminds me a bit of Segal's Law [1]: "A man with a watch knows what time it is. A man with two watches i
296.
▲
by
a_e_k
4y ago
I use this all the time. I love that it's simple enough that I can type something like those two lines off the top of my head at this point. And as an alternative to that fwrite(), another common pattern that I use is: for (int
297.
▲
by
a_e_k
4y ago
I've done this. For a project where I didn't want any external dependencies, I wrote an uncompressed PNG writer for RGBA8 images in a single function. It's just over 90 lines of C++: https://github.com/a-e-k
298.
▲
by
a_e_k
4y ago
Now try writing the "snapped" value for 2.3 as a finite decimal. :-)
299.
▲
by
a_e_k
4y ago
The standard for comparison with NaNs is to always return false [0]. So that entirely depends on how max() is implemented. A naive implementation of max() might just as easily instead return NaN for that. Or if max(NaN, x) is x, then it m
300.
▲
by
a_e_k
4y ago
> am I forgetting anything? Horn and hazard lights.
More ›