Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
deckard1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
331.
▲
by
deckard1
5y ago
let me introduce you to TASK_COMM_LEN $ pgrep systemd-journald $ and: $ pgrep systemd-journal 431 $ Guess how long it took me to figure this out. This affects killall, pkill, and pgrep. You can use the "-f
332.
▲
by
deckard1
5y ago
Also, the trick to code reviews is to leave in a few low-hanging obvious bike sheds. The reviewers will tell you what color to paint them. Done. I'm being slightly sarcastic. But not sarcastic to the point that I haven't done just
333.
▲
by
deckard1
5y ago
In practice it doesn't matter. Because t-shirts/Fibonacci just become a proxy for time anyway. Any abstract estimate you can dream up will become a measurement of time when it passes through management.
334.
▲
by
deckard1
5y ago
Excalidraw.com Doesn't have math input yet but there is a draft PR up for that, so might be there soon.
335.
▲
by
deckard1
5y ago
AFAIK, it only uses the metadata embedded in the files. I don't think folder structure matters at all. There may be a way to turn on optional musicbrainz integration or something, but I haven't looked into it. If something isn
336.
▲
by
deckard1
5y ago
My current self-hosted home server setup: - Picard for import/metadata - Navidrome for a web interface + Subsonic server - DSub on Android to play (+ permanent cache for offline playback of various "deserted island" albums) I
337.
▲
by
deckard1
5y ago
this is how I switched from GW-BASIC to QuickBASIC. I found out that QB could make .exe files like a big boy compiler. Switching to QuickBASIC was like stepping into the future, coming from GW-BASIC. No more line numbers. Actual subroutines
338.
▲
by
deckard1
5y ago
OC'ing ECC is generally a terrible idea, if that's what you're doing. Also, no one on Ryzen is considering CAS CL22 timings "good" on DDR4-3200 sticks. I think you need to go do research on non-ECC RAM. It really fe
339.
▲
by
deckard1
5y ago
Thanks for the downvotes, folks. Really. > DDR4-3200 is an expensive boutique product. You have to be fucking kidding me. On a desktop Ryzen?? Most desktop PC builders are gamers. That's just a fact. They drive the market. That'
340.
▲
by
deckard1
5y ago
> I buy unbuffered ECC DIMMs for my AMD systems and they're basically maybe 5-10% more than a non-ECC DIMM Where? Are you talking DDR4-3200? These are 40-50% higher than non-ECC UDIMMs. It usually gets worse as capacity increases. A
341.
▲
by
deckard1
5y ago
> Firstly you cannot please everyone. And secondly, programs are not structured for pedagogy. I would say that this is understating it, even. Not a Donald Rumsfeld fan, but his remark about the "unknown unknowns", that is, thin
342.
▲
by
deckard1
5y ago
This is more about the perils of React switching from component classes where lifecycle methods were explicit and obvious to the multipurpose leaky abstraction known as useEffect and the hooks API. To anyone that went through the class phas
343.
▲
by
deckard1
5y ago
the way to low-level format early MFM drives was to run DEBUG and enter assembly and call some special routine in the controller chip on the drive. These were instructions that came in the manual with the drive. Pretty wild times. We'v
344.
▲
by
deckard1
5y ago
what's considered good graphics performance? I've never had an issue with plain old hardware accel/software rendering when just doing standard desktop tasks. It's generally fast enough. If you're serious, then you w
345.
▲
by
deckard1
5y ago
We all talk about unit test coverage, end-to-end testing, hiring the right people (leetcode hell treadmill) all while we slide absolute crap in through the backdoor. It's Kafkaesque.
346.
▲
by
deckard1
5y ago
That design is everywhere in Japan, and can be quite embarrassing for tourists. First time I went to Japan I walked up to my hotel late at night. I went to the door. There was no handle or obvious way to open it. I stood there like an idiot
347.
▲
by
deckard1
5y ago
The difficulty of 3-2-1 increases as your data size goes up. For me, the only sane thing to do is partitioning. My first group would be data that if I were to lose it would cause great pain. I keep the size of this group as small as possibl
348.
▲
by
deckard1
5y ago
> is it impossible to get VC levels of investment without giving away board seats? Microsoft, interestingly, was after the opposite. They took a rather nominal $1M VC funding to get someone knowledgeable on their board. Probably helped
349.
▲
by
deckard1
5y ago
For the given command, if the assumption is the command failed recently, it's likely faster than bisect. You can start it and go grab a coffee. It's automatic. I wish my usage of bisect were that trivial, though. Usually I need to
350.
▲
by
deckard1
5y ago
Windows INI format is going to be easier than any of those. You can parse it in a couple lines in a bash script. I personally find it silly to need more than that. YAML, JSON, etc. What are we even doing here, besides trying to make life mo
351.
▲
by
deckard1
5y ago
> symptom of the entire industry surrendering to bad code Exactly. That's why TypeScript is structural typing with inference. The industry has given up on teaching developers how to organize code. The only way to force everyone to p
352.
▲
by
deckard1
5y ago
This was common knowledge among Perl devs. Every place I've worked that used CPAN did this. No one was pulling down random versions of random packages off the interwebs like a lunatic. I was amazed NPM didn't even have checksums a
353.
▲
by
deckard1
5y ago
mismanaged, yes. But also risk-adverse and encumbered with process. At a big corp you may need 5 or more sign offs on a single merge. I probably spend a good 40% of my time herding cats and babysitting the merge pipeline. There is a lot of
354.
▲
by
deckard1
5y ago
It was a rather embarrassing realization for me that the Fibonacci sequence has a closed-form expression and can be calculated without an algorithm. I had always seen it done in pedagogical fashion as an exercise in explaining recursion and
355.
▲
by
deckard1
5y ago
What's the tl;dr of how Julia is solving this? Looking around it seems the answer is "multiple dispatch". Which seems suspect considering many languages have already tried this (Common Lisp, for example). > Clearly, multip
356.
▲
by
deckard1
5y ago
> hard to write programs in it, because you will need to learn good patterns first, which may take years. People really underestimate the time it takes for devs to figure this out. My company has been on TypeScript for over three years n
357.
▲
by
deckard1
5y ago
syncthing has send-only and receive-only folders. You can set a receive-only folder on your backup device and send-only on your phone or whatever. With incremental backups it's not an issue. Syncthing is just the tool to get your data
358.
▲
by
deckard1
5y ago
Syncthing! I have selected folders (pictures, video, notes) that sync to a NAS, which I then backup elsewhere. My current phone also has an app that is one button backup (for apps + system settings). I press the button and it creates a sing
359.
▲
by
deckard1
5y ago
The problem with equality and dynamic typing is rather deep and intractable. Kent Pitman (of Lisp fame) has an entire essay about it: https://www.nhplace.com/kent/PS/EQUAL.html > If COPY can't be done prop
360.
▲
by
deckard1
5y ago
Being away from other cars is one thing, but how you get there is another. There are only two ways to go down on a motorcycle. High-side or low-side. Pretty sure most people would prefer low-side if they ever had to pick. I had a high-side
More ›