Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bccdee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
bccdee
8mo ago
All the examples in that article are very exotic. for i, p := 0, (*int)(nil); p == nil; fmt.Println(p == &i) { p = &i } Be honest, how many times have you actually seen code which depended on the address of a variable d
92.
▲
by
bccdee
8mo ago
for-loop variable capture was maybe the #1 worst decision in the language. It was never what you wanted. I appreciate Go's commitment to backwards-compatibility, but in this case breaking it was the right choice.
93.
▲
by
bccdee
8mo ago
Oddly this misses the two big things I hate about Go: Squishy types and no immutability. 1. A nullable SQL string is idiomatically expressed as sql.NullString{String: "my string", Valid: true}. If you forget to initialize `Valid`,
94.
▲
by
bccdee
8mo ago
This is a study finding that physiological smartphone withdrawal doesn't exist. Smartphone dependence is merely "psychological-behavioural," and you can develop a psychologically dependent relationship with anything. Being de
95.
▲
by
bccdee
8mo ago
That's why I'm "pro-boredom," in a sense. If you let yourself dismiss a scene when you're not enjoying it, you may never discover what's enjoyable about it. Putting in the work of paying attention pays dividend
96.
▲
by
bccdee
8mo ago
Suffering is painful and uncomfortable. The pain and discomfort are what make it suffering. It's not a question of moral virtue. There's no moral virtue in cooking with spices, either. Watching a movie at 2x may make it worse, but
97.
▲
by
bccdee
8mo ago
> Not too long ago, reading books was also considered evil. Yeah, well, they were wrong and I'm right. > You sound like those people who think Battleship Potemkin is the greatest movie of all time. 100% critic & 86% user appr
98.
▲
by
bccdee
8mo ago
The Conversation came out in 1974, 52 years ago. By any reasonable metric, the statute of limitations on spoilers has long ago elapsed. If we can't even mention that Rosebud is a sled without some sort of spoiler banner, I think we&#
99.
▲
by
bccdee
8mo ago
> I generally don't skip forward but I did on several parts of Pluribus. There were several segments that were clearly just filler When I read the post you're replying to, my first thought was, "sure, some movies are borin
100.
▲
by
bccdee
8mo ago
A saggy middle is relative. It's one thing for the middle of a movie to be the least compelling part; it's another for the middle to be so dull that you have to skip it entirely. If a movie's longer than 90 minutes, then they
101.
▲
by
bccdee
8mo ago
Being easily bored is the same thing as having a poor attention span. Of course they have no issue spending time on the things they love. If they struggle to focus on something, they probably will find themselves unable to enjoy it very muc
102.
▲
by
bccdee
8mo ago
These are Hollywood blockbusters, not art films. You can keep a baby entertained for hours with CoComelon, but that doesn't mean they could get through Moby Dick.
103.
▲
by
bccdee
8mo ago
Screen "addiction" isn't a real thing. Addiction is a specific medical phenomenon, not just any bad habit. Go find me a study in a medical journal that quantifies the physiological effects of smartphone withdrawal. I do think
104.
▲
by
bccdee
8mo ago
> I love movies. But I also make liberal use of 2x speed and +5s during interminably long suspense sequences that are literally just someone walking through a dark environment while spooky music plays. It's not that I suffer from a
105.
▲
by
bccdee
8mo ago
And man behind the cybertruck has not earned the presumption that he has a secret plan. If it looks like things are going poorly, they probably are.
106.
▲
by
bccdee
8mo ago
> Unfortunately, reading books for entertainment is ridiculous. […] The only people who still read books for entertainment are women who prefer their porn to have DIY visuals. The stats back me up on this. If you’re tempted to disagree,
107.
▲
by
bccdee
8mo ago
Yeah I think that's an interesting point of comparison. There's definitely a phenomenon where people can take their abstractions for granted and back themselves into corners because they have no deeper understanding of what their
108.
▲
by
bccdee
9mo ago
> Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? — The Elements of Programming Style, 2nd edition, chapter
109.
▲
by
bccdee
9mo ago
Sure, but it shows global replies, it provides global search, it's not O(n^2), it's not easily DOSed, and it's highly amenable to spam filtering, which are the issues you raised. It's true that this solution doesn't
110.
▲
by
bccdee
9mo ago
> If a spammer wants to pay me $20 to see their message, I am happy to see it. Yeah, but I'm not. It's spam. And the people whose messages I do want to see are overwhelmingly not going to pay $20 to show it to me. This is a sys
111.
▲
by
bccdee
9mo ago
Twitter is thronging with blue-check spambots. This idea has been comprehensively disproven. People will pay to spam you. In fact, judging by the Exodus of non-scammers, only scammers will pay to send you their messages—which makes sense,
112.
▲
by
bccdee
9mo ago
AT solves these problems. Even if AT turns out to be a bust, they have an excellent architecture.
113.
▲
by
bccdee
9mo ago
ATProto may be the closest we'll get to that. PDSes are granular enough to serve individual users, and you can (theoretically) pull from a relay and index only posts from users you're interested in for your appview, if you're
114.
▲
by
bccdee
9mo ago
Yeah—I'm reminded of the opening sentence of Slaughterhouse Five, which goes, "Listen: Billy Pilgrim has come unstuck in time." Kurt Vonnegut isn't worried that you're not listening; he's trying to create a s
115.
▲
by
bccdee
9mo ago
If you run a separate appview, bluesky can't censor your interactions in any way, and you can seamlessly view posts from both bluesky users and users banned on bluesky. Of course, running an appview that indexes the whole world is expe
116.
▲
by
bccdee
9mo ago
I never managed to get into mastodon because mastodon isn't a single space. It's a bunch of separate, linked spaces. Which server you're on matters a lot, and I never found one that really had the vibe I was looking for. Blue
117.
▲
by
bccdee
9mo ago
The --help page lists 70+ commands, most of which are intended for use by agents.
118.
▲
by
bccdee
9mo ago
> Beads, which is basically some sort of issue tracker for agents, is 240,000 lines of code that … manages markdown files in GitHub repositories. And the code quality is abysmal. I'd heard of beads as a lightweight issue tracker for
119.
▲
by
bccdee
9mo ago
Suing is way more expensive and way more hostile than simply airing your grievances in public. And why not? That's what public forums are for. "Do nothing" and "sue them" are not your only options; we are part of a
120.
▲
by
bccdee
9mo ago
> You don't tell or demand another company do something with their own employees. Depends what they did. Let's check the forum post… > they had created and promoted hate sites, photoshopped images, and harassment targeting l
More ›