Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dangerlibrary
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
dangerlibrary
3y ago
For the first time, I find myself wanting the equivalent of a :thumbs-up: reaction emoji on hn.
62.
▲
by
dangerlibrary
3y ago
This is sometimes called the diaper (anti)pattern - because it catches all the poop. It works great - so long as the only exceptions your program ever throws are ones you are deliberately throwing to the global error handler. Given that, go
63.
▲
by
dangerlibrary
3y ago
Maybe my mind has been poisoned by a few years of Scala, but that just looks like normal code to me. Bundle up those errors and return a useful message to the user about why it failed, call it a day.
64.
▲
by
dangerlibrary
3y ago
https://en.wikipedia.org/wiki/Border_Gateway_Protocol BGP was standardized in 1989 and has been in use since 1994. The technology of the internet has matured in many ways, and remains almost identical in many others. S
65.
▲
by
dangerlibrary
3y ago
I believe the parent was elaborating on their point here: > it's impossible to do anything with it except moving it from one account to another without requiring trust of the other party. Goods may need to be shipped, they could be
66.
▲
by
dangerlibrary
3y ago
For nation-state actors looking to spread disinformation, paid accounts are effectively free.
67.
▲
by
dangerlibrary
3y ago
You are arguing with a point I'm not making, I think. Have a nice day.
68.
▲
by
dangerlibrary
3y ago
If they can't control a substantial portion of the downside risk, they shouldn't be allowed to take credit for the full upside, either. The problem with the executive compensation ratchet of the past few decades is that it is comp
69.
▲
by
dangerlibrary
3y ago
See the sibling comment for an article with some data answering some of your rhetorical questions.
70.
▲
by
dangerlibrary
3y ago
C-level folks make huge strategic and tactical mistakes _all the time_. They are humans. Amazon has burned tens of billions of dollars on dead-end consumer electronics devices (fire phone?). Facebook is shoveling money into a burning pit tr
71.
▲
by
dangerlibrary
3y ago
My point (which may not have been clear) was that when I explicitly told it that the versions of SQLite I'm using supports "returning," it still returned incorrect code. It did not use "returning", and repeatedly, e
72.
▲
by
dangerlibrary
3y ago
It cuts off in September 2021, supposedly - that's why I pointed out the month of the relevant sqlite release.
73.
▲
by
dangerlibrary
3y ago
A couple observations from attempting to use both GPT-3.5 and GPT-4 via the web interface for coding tasks: - The model's ability to respond accurately drops drastically when asked questions of the form "is there a different way t
74.
▲
by
dangerlibrary
3y ago
I put off adding TLS certs to my personal website for years. It's just a few static files served by nginx on a server - there wasn't a great reason to bother, I thought. It took me almost exactly 3 minutes start to finish with let
75.
▲
by
dangerlibrary
3y ago
Let's not pick on the LHC for that. How many gobsmackingly brilliant engineer-hours have gone into optimizing ad targeting or fine-tuning purchase attribution?
76.
▲
by
dangerlibrary
3y ago
For a collection of similar stories: https://accidentallyquadratic.tumblr.com/
77.
▲
by
dangerlibrary
3y ago
Because it follows the general principle of making it easier to change [0]. Fewer edits, cleaner diffs. Useless from the perspective of a wire format, but nice for things like config files, which seem to be the use cases json5 is targeting.
78.
▲
by
dangerlibrary
3y ago
There are certainly some places where we aren't running out of land, but I suspect super-high land values and the challenges of permitting new transmission infrastructure might make this economical closer to major metro areas.
79.
▲
by
dangerlibrary
3y ago
> how is printing money and giving it to the poor any worse. You might be onto something. https://en.wikipedia.org/wiki/Helicopter_money
80.
▲
by
dangerlibrary
3y ago
I was also skeptical of this claim. It seems to come from Schneier's "Applied Cryptography" and assumes you are using whole words in the password. https://en.wikipedia.org/wiki/Entropy_(information_theory
81.
▲
by
dangerlibrary
3y ago
> English has ~1 bit of entropy per character. I think the discrepancy here is coming from the fact that you are assuming the password is using English words, where others are assuming completely randomly selected characters from the set
82.
▲
by
dangerlibrary
3y ago
I've had decent luck with Xournal's "Annotate PDF" feature. It's not really interacting with the PDF form at all, so if the form is at all complicated it'd be a waste of your time. But, if you just need to &quo
83.
▲
by
dangerlibrary
4y ago
Literally the next paragraph: "The fact is, the government does tend to view certain types of unions as more “legitimate” and certain types of spouses more worthy of citizenship. “Expectations of sexual intimacy are implicit in all of
84.
▲
by
dangerlibrary
4y ago
Something something eggs and baskets
85.
▲
by
dangerlibrary
4y ago
I hate python package management - I really do. But I've never actually had a problem with virtual environments, and I think it's because I just use virtualenv directly (rather than conda or whatever else). I have these aliases in
86.
▲
by
dangerlibrary
4y ago
> The biggest beneficiary of cartels are competitors that are outside the cartel. This is just... obviously wrong. If this were true, nobody would ever join a cartel, since membership is voluntary. All antitrust legislation and enforceme
87.
▲
by
dangerlibrary
4y ago
What you see here is literally the definition of cartel price fixing. OPEC engages in price fixing. It is unstable, as you say, but nobody would say "OPEC is a perfect example of the free market functioning exactly as it should, with n
88.
▲
by
dangerlibrary
4y ago
Sorry, I didn't mean to imply it was trivial, by any means. Just that there are powerful tools for "manipulating many line-delimited text files at once" and those tools seem likely to fit your goal. It's possible you do
89.
▲
by
dangerlibrary
4y ago
This feels like something where the right solution is to drop down to the terminal and use the old standbys - sed/grep/find, etc. Could probably wrap it all up in `make` or `just` if this is something you do regularly.
90.
▲
by
dangerlibrary
4y ago
I don't disagree with you in principle, but this take ignores the boots-on-the-ground reality for trans and nonbinary people. Trans and nonbinary people are using this as a shibboleth to determine whether they can feel safe around you.
More ›