Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tombert
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
511.
▲
by
tombert
6mo ago
I wasn't suicidal when I was in high school, but I absolutely understand people's depression around the school year. I actually don't hate school as much as an adult, but I really did view school like a prison when I was a te
512.
▲
by
tombert
6mo ago
I've thought about doing stuff like that (or mounting S3), but I've never done it because I figured that the latency would be enormous and it would be too slow to actually be useful. That said, I could actually kind of see it bein
513.
▲
by
tombert
6mo ago
I would agree if I were adding a dependency to Gradle or something. In this case it’s just something that conforms to the same interface as the other Map and is built into every Java for the last 20+ years. The max amount of effort I am w
514.
▲
by
tombert
6mo ago
I am personally not a fan of VS Code regardless, but I guess I don’t understand what it buys you over one code editor window and a Codex window both being open? I have, right now, a tmux session with Codex on the bottom and Neovim on the to
515.
▲
by
tombert
6mo ago
Why do you use it? Genuine question, I want to know what I'm missing. I guess I don't really understand what it buys you over just running vanilla VS Code and Codex.
516.
▲
by
tombert
6mo ago
I was required to use Cursor for my job when I first started, but once I figured out how to use the command line version of Codex, I kind of stopped seeing the point. It just kind of seemed like a bloated, overpriced wrapper around what I
517.
▲
by
tombert
6mo ago
No, they'll believe that that specific map is thread safe.
518.
▲
by
tombert
6mo ago
It’s actually a lot better. That’s literally the whole point of interfaces and polymorphism: to make it so the outside does not care about the implementation.
519.
▲
by
tombert
6mo ago
Locks are cheap performance-wise (or at least they can be) but they’re easy to screw up and they can be difficult to performance test. ConcurrentHashMap has the advantage of hiding the locking from me and more importantly has the advantage
520.
▲
by
tombert
6mo ago
I don’t expose it at the boundaries, just within functions. With everything outside of the function I take a Map interface in and/or return the Map out. It makes no difference to the outside code.
521.
▲
by
tombert
6mo ago
I don't write a lot of super low level stuff, so maybe things are different there, but at least in the normal user space level I've found it pretty rare that explicit mutexes ever beat the performance of an (in my opinion) easier
522.
▲
by
tombert
6mo ago
The biggest issue I have with premature optimization is stuff that really doesn't matter . For example, in Java I usually use ConcurrentHashMap, even in contexts that a regular HashMap might be ok. My reasoning for this is simple: I
523.
▲
by
tombert
6mo ago
Terminology doesn't bother me nearly as much as people defining custom operators. I used to think it was cute the you could make custom operators in Haskell but as I've worked more with the language, I wish the community would jus
524.
▲
by
tombert
6mo ago
I'd say it usually means "never". I also find it a bit annoying is that most people just make shit up about stuff that is "faster". Instead of measuring and/or looking at the compiled bytecode/assembly
525.
▲
by
tombert
6mo ago
I dunno, my wife has has the same iPhone 11 Pro Max since 2020. She had to get the battery replaced once at an Apple store, which I believe cost $99, and it took like thirty minutes and it wasn't that hard. I'll admit it's a
526.
▲
by
tombert
6mo ago
I've gotten recruiters reach out for jobs because of my fairly high Hacker News karma. This isn't speculation on my end, they actually told me that. I agree it's idiotic; I'm quite confident that it wouldn't be th
527.
▲
by
tombert
6mo ago
I don't think what you're doing, or at least what you described, is inherently slop. If you're actively putting in effort to make something you think is cool and to make something you're actively proud of (or at least so
528.
▲
by
tombert
6mo ago
I think a lot of people make an assumption that problems like this are fixed-sized; that by making getting a song easier, that that's the end of the the line. In my mind the better mindset is to think that the problems are not fixed
529.
▲
by
tombert
6mo ago
Honestly I think the thing that most humans appreciate is effort . Using AI tools is not inherently "bad", but these very-literally mass produced AI songs are almost by definition low-effort and as a result pretty bland and unli
530.
▲
by
tombert
6mo ago
I dunno; there has always been shit videos on YouTube, obviously, but there used to be a sort of natural filter of videos that had nice transitions and decent narration and dialog that was more or less grammatically correct that made it so
531.
▲
by
tombert
6mo ago
Maybe this will become The Year of the Self Hosted. For stuff that I don't particularly care about privacy I've kept on the cloud (e.g. my blog, which is public anyway and as such is probably training bots regardless), but for stu
532.
▲
by
tombert
6mo ago
This will probably be a new form of markup for funeral companies. Get the new “bee proof” coffin.
533.
▲
by
tombert
6mo ago
Tangential, but I remember when I was studying for the ACT, there was something in one of the practice books that stuck with me. I'm paraphrasing but it was something like "Good writing is clear and easy to understand. It's
534.
▲
by
tombert
6mo ago
It's certainly worth trying the preemptive frames in RetroArch to see if you like it. Pretty low risk experiment.
535.
▲
by
tombert
6mo ago
I'm not disputing that CRTs have lower input lag than LCDs or OLED. I was disputing the specific 50ms of lag claim that the parent post made; modern LCDs aren't that bad, and OLEDs are getting to a point that it's getting clo
536.
▲
by
tombert
6mo ago
I think it's more about just trying to keep honest people honest. I could think of a dozen or so ways that I could have cheated, some more convoluted than others, but it's enough effort to where I don't seriously consider it
537.
▲
by
tombert
6mo ago
I need to play Garou: Mark of the Wolves again, haven't touched that one in years. I believe that's the one that has a character named "Butt". I've played a lot of Neo Geo games, and I even used to own a full MVS m
538.
▲
by
tombert
6mo ago
I did the preemptive frames thing with Retroarch with Sonic the Hedgehog 3 a couple years ago, and I certainly convinced myself that I could tell a huge difference...and then I kept taking hits and dying just as much as I was without doing
539.
▲
by
tombert
6mo ago
Sorry, Western Governors University. It's an online school. When taking a test they have a proctor that's watching you on a webcam, and they make you pan the webcam around the room to ensure that there's no obvious way to ch
540.
▲
by
tombert
6mo ago
My first exposure to Metal Slug was actually in regular emulators, and I never used the scanline filters, so now when I use the scanline filters in Metal Slug they feel..."wrong". In my mind, Metal Slug is supposed to have really
More ›