Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ben509
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
151.
▲
by
ben509
6y ago
0-based indexing is preferable because the mathematics of half-open intervals make composing ranges far simpler. It becomes a bit more obvious as soon as you do any kind of non-integer ranges, because you find that only integers have a rel
152.
▲
by
ben509
6y ago
I've never seen cables as bad as Apple's. I have multiple Apple cables that I've patched up with electrical tape, and I'm quite careful to avoid kinking them.
153.
▲
by
ben509
6y ago
I'm skeptical, though not enough to drop $8 on the paper. The quote, "If citizens just blindly follow their party without thinking much about it..." sets of my BS detector, because it's one of those pat statements that (
154.
▲
by
ben509
6y ago
Sinister could mean left-handed. Even more sinister: snakes could all be left-handed, and we'd never know! O_O
155.
▲
by
ben509
6y ago
> ... social media freeing people from the norms of polite society, which turned out to be load-bearing. I'm the first to acknowledge human nature has a dark side to it, but I think this phenomenon is heavily tech driven. These prob
156.
▲
by
ben509
6y ago
I wouldn't be surprised if a few of them had some kind of underpants gnomes plan to snatch a Senator. But, really, it was a protest. The point was to engage in drama and theatrics. Why break into the Capitol? Even more drama. Now peopl
157.
▲
by
ben509
6y ago
> The real problem is not so much that they can do this, which is of course entirely legal... Not "entirely" legal. All these companies claim to be neutral, and while I think they genuinely try to be, for various reasons they a
158.
▲
by
ben509
6y ago
A coup is when state actors illegally overthrow other state actors. Most coups are pulled off by militaries, e.g. how Pinochet got into power. This would be an uprising; it's being called a "coup" because uprising sounds symp
159.
▲
by
ben509
6y ago
https://tenet-lang.org/ Tt's a generic data language with functions that compiles to other languages. I'm reworking how I do the tree transforms at the moment (since that's what most of the compiler does at t
160.
▲
by
ben509
6y ago
Following Python and Java is always informative because, between them, they manage to make almost every mistake imaginable, despite having very smart people putting careful thought into the design. Looking at the amount of polish on the Pyt
161.
▲
by
ben509
6y ago
I chceked their counterfeit policy[1] to confirm; it's pretty clear and hews to the plain meaning of the word: > Counterfeit goods are goods, including digital goods, that are promoted, sold, or otherwise distributed using a tradema
162.
▲
by
ben509
6y ago
Reading a few of the blog posts, and the FAQ, I'm not sure you're getting to why engineers are bad at writing resumes, what the fundamental disconnect is when they try to do situation-behavior-response type stuff. It's not be
163.
▲
by
ben509
6y ago
A helpful post might be some tips on what to track as your career progresses. Or a tool to do so might be a way to build your client base. By their nature, the things hiring managers look for on a resume are very similar to what they look f
164.
▲
by
ben509
6y ago
Conda is pretty nice, and unless someone needs pypi, that's fair advice. And I agree, it's hard to explain not using pip3, so I just wouldn't. "For the best experience, pipx install neato-commando." And maybe link t
165.
▲
by
ben509
6y ago
I'll have to try that next time I'm struggling with pandas. One thing to look into is figuring out some logic of cancellation to clean up the generated code. Even if you just checked back one step it would mean less Foo_Bar['
166.
▲
by
ben509
6y ago
> I don't think it's Python's fault. Well, there's a long legacy of half-baked solutions and kludges. And, especially, install instructions consistently suggest you do the worst thing: install stuff using pip. Everyo
167.
▲
by
ben509
6y ago
The Fair Code site doesn't really explain how it works, but the Commons Clause site[1] has an FAQ. I agree about the problem: it's hard to run a business supporting a project if a competitor can come along and resell their code wi
168.
▲
by
ben509
6y ago
He had already seen exponential growth in storage capacity and could easily extrapolate from that. Moore's law was coined in the '60s, after all. This wasn't a lack of foresight, this was being prudent. If I can't come c
169.
▲
by
ben509
6y ago
Yeah, it could be that many startups try to do advertising ethically, realize that it doesn't work, and drop out. That's necessarily going to leave all the firms willing to sell snake oil behind. You can get firms selling stuff th
170.
▲
by
ben509
6y ago
Amusing probably isn't the right word, probably captivating is better. Preaching is a very well developed art; listen to preachers and they're always telling a story of some sort, the story goes to lows and then up to highs, they
171.
▲
by
ben509
6y ago
Very cool. I think it might benefit from some kind of context. If you could select an open piece, it could restrict the available pieces to what's valid at that point.
172.
▲
by
ben509
6y ago
How does the no paid upgrade issue affect you?
173.
▲
by
ben509
6y ago
Crichton expressly noted that he picked the name ironically because people would implicitly trust it if he named it after Murray Gell-Mann.
174.
▲
by
ben509
6y ago
The claim isn't really that the book as a whole is necessarily good or bad. It may be expressed as such, but Crichton was talking about the habits of readers. Determining whether a source is trustworthy is an ongoing process: you'
175.
▲
by
ben509
6y ago
If you go to a cookout or a party, people often bring more beer than they drink, thus people who didn't bring any can get free beer. That kind of communal donation is similar to how people donate their time and effort to open source pr
176.
▲
by
ben509
6y ago
> (No idea about git.) Quoth wikipedia[1]: > "I'm an egotistical bastard, and I name all my projects after myself. First 'Linux', now 'git'." [1]: https://en.wikipedia.org/wiki/G
177.
▲
by
ben509
6y ago
> The trick is to remove negative reviews that violate guidelines, but for positive reviews that violate common sense and ethics, nyet. I've heard it described as "malicious compliance."
178.
▲
by
ben509
6y ago
My theory: I think Amazon is showing the unanswered questions to random people, and they answer "I don't know" to make them go away.
179.
▲
by
ben509
6y ago
There's normally no need for ${var-} to get default values, and you can put && inside. I'd write that as: [[ -z $NO_COLOR && $TERM != dumb ]] As another comment pointed out, they're erroring on unset
180.
▲
by
ben509
6y ago
> This line does its best to define the script’s location directory, ~~and then we cd to it. Why?~~ (struck through in original) I've done this to make little bash utilities, and while it's cool when it works, it really doesn&#
More ›