Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dietrichepp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
dietrichepp
3y ago
Pipes are not temp files, they’re more like kernel buffers associated with no file. When I think of temp file, I think of something that is at least associated with a filesystem. The reason that running a binary needs a file is because exec
92.
▲
by
dietrichepp
3y ago
This trick is used in the demoscene. Instead of using -c, I use -n, tail -n +2 $0 The -n +2 option means “starting at line 2”, which is what you want if you cram your script into one line. You can make an executable packed with lzma
93.
▲
by
dietrichepp
3y ago
> Maybe fmt fixes these problems, I don't know. Yeah, it looks like you did a lot of guesswork in that comment, and a lot of those guesses were inaccurate. Not really trying to be hostile here, but you did acknowledge that you were
94.
▲
by
dietrichepp
3y ago
Strings in C++ are nice, especially now that we have std::string_view, but <iostream> is one of the worst pieces of the C++ standard library. - <iostream> makes localization more difficult, compared to printf (localizing <ios
95.
▲
by
dietrichepp
3y ago
The big one is if you dd an image to a USB stick, and then try to pull it out and boot from the stick. You can use conv=fsync, but maybe you forgot to do that when you ran dd.
96.
▲
by
dietrichepp
3y ago
The bank organization is relatively well-known, so maybe you put the framebuffer in one bank, you put the zbuffer in another bank, and you have two banks left over without touching expansion memory. I mentioned World Driver Championship spe
97.
▲
by
dietrichepp
3y ago
Maybe that’s right, memory bandwidth is not the right explanation. But the rasterization itself is still often a big bottleneck, and maybe chalking it up to fill rate limitations is more explicatory. This is based on my limited observations
98.
▲
by
dietrichepp
3y ago
The question here is whether the new, optimized SM64 implementation is CPU-bound in the first place. Games on the N64 are often limited by memory bandwidth, which is taken up by rasterization, and SM64 was something of a special case—compil
99.
▲
by
dietrichepp
3y ago
> The piece seems to be arguing that Richard III's motives, and specifically the circumstances around why he became king, are somewhat uncertain. Yes, but do you see how this question has a fundamentally different nature to it from
100.
▲
by
dietrichepp
3y ago
The article goes straight for a big payoff by talking about the accepted canon of a fictional universe and drawing parallels to history. I don’t think the article reaches its goal here. If you are going to say “Captain Kirk is captain of th
101.
▲
by
dietrichepp
3y ago
Have you seen this happen? It is surprisingly difficult—not impossible, just difficult—to light a small gas spill on fire. The reason that gas stoves are difficult to work with is because the flame so easily goes out. Under the right circum
102.
▲
by
dietrichepp
3y ago
I’ll add that, my guess, the reason people don’t use white gas as much is because the stoves are more difficult to use. You have to pump them, go through a warmup stage, and keep them level. I don’t know the exact terminology for the parts,
103.
▲
by
dietrichepp
3y ago
This is either incorrect or it does not really mean anything, depending on how you look at it. It’s Stirling’s approximation, as the article mentions. The formula uses the ≈ character. The Wikipedia article gives bounds on the error— https
104.
▲
by
dietrichepp
3y ago
Do they produce enough UV to expose platinotype? Most of the modern lights you see are LEDs that produce mostly visible light. You can get UV bulbs, but at this point in our scenario we’re modifying enlargers, and the enlarging lens may foc
105.
▲
by
dietrichepp
3y ago
> Wouldn't that just mean you have to wait longer? In theory, yes. The actual values may help. I’ve heard exposure times cited around eight minutes. That’s for contact printing using the sun as a source. I don’t know off-hand how mu
106.
▲
by
dietrichepp
3y ago
Most of the time, the rock drums you hear are recorded in the studio. This will sound different from live drums. My experience mixing drums is limited… the way I’ve done it is by starting with overhead microphones to capture the sound of th
107.
▲
by
dietrichepp
3y ago
My memory of CodeWarrior is a bit different. It didn't seem like a pig, but BBEdit just worked better for editing files. BBEdit had better search/replace, shortcuts for navigating text, everything was just better in BBEdit.
108.
▲
by
dietrichepp
3y ago
A more extreme version of that is “permacomputing”— https://permacomputing.net/projects/ I still regularly use old systems for fun. I grew up with Macs, so that’s the point of reference. When I use these old systems, I
109.
▲
by
dietrichepp
3y ago
At this point, we are in logs three levels deep—we have a database with a log-structured merge tree, we have a journaling filesystem like ext4, and we have an SSD controller which uses log structures internally for wear leveling. I recommen
110.
▲
by
dietrichepp
4y ago
Those are not the types of transformers I’m talking about. You use signal transformers to isolate inputs / outputs, like these: https://cinemag.biz/mic_input/mic_input.php https://cinemag.biz/line_
111.
▲
by
dietrichepp
4y ago
I’ve been reading reviews of studio gear on gearspace recently and it’s been driving me crazy. It’s not like the audiophile space, not exactly, because the whole point of studio gear is to impart some kind of unique character (unless you’re
112.
▲
by
dietrichepp
4y ago
Interesting, I didn’t know that. I decided to standardize on “click to play”, and added some logic to try starting the audio engine again if it didn’t start the first time.
113.
▲
by
dietrichepp
4y ago
I used to work at camp. You didn’t need to tell kids about fire; they could figure it out. Don’t touch the fire. Flashlights were too complicated. It’s night, a kid turns on their flashlight, points it in their eyes, says “ow” and can’t see
114.
▲
by
dietrichepp
4y ago
I looked it up. Accepted edit suggestions are only +2 per edit and cap at +1000 for your entire account. A single upvote on a question or answer is worth 5 edits. I honestly don't see the point in throwing yourself at edits to grind ou
115.
▲
by
dietrichepp
4y ago
Interesting. I dug through my inbox and was able to find the answer, and evidence of the edit war itself is gone, except for the actual edit history. The comments have been removed. (Good riddance, but the process is less transparent for me
116.
▲
by
dietrichepp
4y ago
I did roll back, and the user started an edit war with me and I flagged it for moderator intervention. I didn’t see a response from a diamond mod.
117.
▲
by
dietrichepp
4y ago
Unlike Reddit mods, anyone with sufficient rep is granted the edit power on SO.
118.
▲
by
dietrichepp
4y ago
I don’t care about the downvotes but I hate when people make misguided attempts to “improve” old answers. The most recent was someone who went in and removed use of the word “you” as an attempt to “depersonalize” the answer. There was some
119.
▲
by
dietrichepp
4y ago
Strunk & White is really bad, try Style: Lessons in Clarity and Grace as an alternative.
120.
▲
by
dietrichepp
4y ago
I think you may have missed the context for why I brought it up in the first place.
More ›