Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
default-kramer
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
default-kramer
8d ago
Yes, when considering software design it's great when you can "smuggle in" a new dependency by adding a new property or method on some already-established payload. I would describe this as "The change requires someone wa
2.
▲
by
default-kramer
8d ago
I chose a connection string as an example of something that obviously cannot be originated in the middle of the call stack. The difference between passing a raw connection string or passing a connection factory is important for good softwar
3.
▲
by
default-kramer
8d ago
> What would it even look like for the top-most function to have to know “everything” that all the child functions end up ever needing? For every function parameter change in the entire program to somehow force a change all the way up th
4.
▲
by
default-kramer
10d ago
I value writing style and pacing way more than any volta. Pride and Prejudice is hardly my genre, yet I remembered it grabbing me immediately. So just now I checked to see if I remembered it correctly, and within the first minute I laughed
5.
▲
by
default-kramer
1mo ago
> the most valuable commodity is engineers knowing WTF is going on, and that loss of understanding of your codebase is the #1 blocker to actually getting things done Perfectly said. It was true before LLMs too. As I've been reviewin
6.
▲
by
default-kramer
3mo ago
I understand how the Same Origin Policy protects browsers from executing malicious scripts. I also understand how the Access-Control-Allow-Origin header can be used by servers to declare additional origins as trustworthy, relaxing the SOP.
7.
▲
by
default-kramer
5mo ago
> I probably spent over 20 hours debugging, scanning the emu-dev Discord, creating tests, and even throwing the issue at earlier AI models. Nothing worked. But then after a few weeks away from the emulator I tried Claude Opus, and it fou
8.
▲
by
default-kramer
5mo ago
I think it's another case of the whole industry being driven by the needs of the very small number of systems that need to handle >10k concurrent requests.
9.
▲
by
default-kramer
5mo ago
Interval training will help https://www.musictheory.net/exercises/ear-interval Each interval has a unique "flavor" and once you can hear them you should be able to hear multiple intervals at the same time, wh
10.
▲
by
default-kramer
6mo ago
What's strange is that many people who believe in a Mature Creation (as I've heard it; "Last Thursdayism" is new to me) will readily accept it as the explanation for ancient starlight but then deny evolution and claim th
11.
▲
by
default-kramer
7mo ago
I'm not really concerned about the availability of SW dev jobs, but I am concerned about the quality of them. For many companies the velocity (and quality, much to my chagrin) of the code you can produce doesn't really matter. Wha
12.
▲
by
default-kramer
8mo ago
You're right, but for EDM this was pretty much already the case. The scene survives in large part thanks to DJs who wade through countless mediocre tracks looking for the few hidden gems to deploy at the right moment. I think AI means
13.
▲
by
default-kramer
9mo ago
> But for the time being there remain a few things that humans can do very easily which computers find difficult. Along with counting traffic lights and crosswalks, one of those things is finding the exact BPM of a song. Not an estimate
14.
▲
by
default-kramer
9mo ago
I formerly worked for a travel company. It was the best codebase I've ever inherited, but even so there were select N+1's everywhere and page loads of 2+ seconds were common. I gradually migrated most of the customer-facing pages
15.
▲
by
default-kramer
9mo ago
Every time I've worked on a project that used AutoMapper, I've hated it. But I'll admit that when you read why it was created, it actually makes sense: https://www.jimmybogard.com/automappers-design-philosophy
16.
▲
by
default-kramer
10mo ago
> But, unless you have some way of enforcing that access between different components happens through some kind of well defined interfaces, the codebase may end up very tightly coupled and expensive or impractical to evolve and change Yo
17.
▲
by
default-kramer
10mo ago
I think you're underestimating the huge variety of productive apps in existence. For every system that handles >1M requests per second, there are probably at least 10 systems that won't even see 1M requests per hour . For exam
18.
▲
by
default-kramer
10mo ago
> most productive applications work at similar scale What do you mean by "productive" here? The overwhelming majority (probably >99%) of billed/salaried software development hours are not spent working on FAANG-scale so
19.
▲
by
default-kramer
10mo ago
It's not insane. The best codebase I ever inherited was about 50kloc of C# that ran pretty much everything in the entire company. One web server and one DB server easily handled the ~1000 requests/minute. And the code was way more
20.
▲
by
default-kramer
11mo ago
I think the reason they get hotly debated is that people's personal experiences with them differ. Imagine that every time Alice has seen an ORM used it has been used responsibly, while every time Bob has seen an ORM used it has been us
21.
▲
by
default-kramer
1y ago
Hmm, maybe, but somehow Marvin Gaye's estate still pulled it off. Yes it was a copyright case, not a patent case, but Robin Thicke and Pharell Williams had a well-funded defense. Seems like Nintendo could easily bully an indie game out
22.
▲
by
default-kramer
1y ago
I've done something like that too. I also noticed that enums are even lower-friction (or were, back in 2014) if your IDs are integers, but I never put this pattern into real code because I figured it might be too confusing: https:
23.
▲
by
default-kramer
1y ago
I think checked exceptions were maligned because they were overused. I like that Java supports both checked and unchecked exceptions. But IMO checked exceptions should only be used for what Eric Lippert calls "exogenous" exception
24.
▲
by
default-kramer
1y ago
To be fair, Persona 5 is my least favorite out of 3/4/5. Most fans of the series agree it's embarrassingly easy. Persona 3 (Portable is best, or FES if you're a masochist, but not Reloaded) offers a perfect challenge on
25.
▲
by
default-kramer
1y ago
Not so much with video games. The industry is so young that most of those "classics" are actually much less fun than I remember them. (Super Mario World does hold up very well though.) But since you mention Persona, consider how m
26.
▲
by
default-kramer
1y ago
I strongly prefer FP over OOP, but... Is there any desktop GUI library that isn't built on subclassing? Winforms, WPF, Swing, Qt, Godot all do. This doesn't prove that subclassing is necessary, but it sure seems like the best ap
27.
▲
by
default-kramer
1y ago
How many people actually write exhaustive tests for everything that could possibly be null? No one I've ever met in my mostly-C# career. I can confirm that at least 30% of the prod alerts I've seen come from NullReferenceException
28.
▲
by
default-kramer
1y ago
I'm convinced that some people don't know any other way to break down a system into smaller parts. To these people, if it's not exposed as a API call it's just some opaque blob of code that cannot be understood or reused
29.
▲
by
default-kramer
1y ago
And it's not obvious thanks to the logarithmic scale... There must have been a better way to present this information.
30.
▲
by
default-kramer
1y ago
I realize no one is claiming otherwise, but this writer almost certainly did it intentionally for humorous effect. ("Aubergine wyrm" is just too good to be accidental.) It's like "the lick" in jazz.
More ›