Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gwd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
511.
▲
by
gwd
2y ago
I do try. The problem is, a lot of times what they're saying is just nonsense. "The economy is terrible" -- well, no it's not. We had some inflation a few years ago, but so did every other country in the world , and t
512.
▲
by
gwd
2y ago
> My concern is that Ms Harris will at a minimum continue the leftist direction of America that has been pursued, or at least tolerated, by Joe Biden. Well there's this sort of thing: https://www.reuters.com/legal&#x
513.
▲
by
gwd
2y ago
They're not so numerous; due to the way the system is set up, they have outsized impact. Wyoming with 500k people has the same amount of influence in the Senate as California with 38 million people. That said, so far she hasn't w
514.
▲
by
gwd
2y ago
> have error chaining via a `?` operator Although I do frequently find typing in the boiler plate of _every_ _single_ _error_ a bit of a faff, it does prompt me each time to really think "what if an error really happened here".
515.
▲
by
gwd
2y ago
Worth trying something akin to a kickstarter?
516.
▲
by
gwd
2y ago
Speaking for myself: 1. I want nginx to serve static files, and everything else to be reverse proxied to the webapp 2. The configuration file that allows /favicon.ico (and others) to be a file but / and other paths to be passed to
517.
▲
by
gwd
2y ago
Haha, having "high intensity" conversations was one of the things I was thinking of bringing up but couldn't find a concise way to express in the time I had to write the comment. I've written letters where I was like, t
518.
▲
by
gwd
2y ago
I don't think it's necessarily a "happy medium", but wisdom to know what kind of pain it is, and what the cost/benefit is of the situation. If you're lifting weights, the "burn" you feel after doing 2
519.
▲
by
gwd
2y ago
Makes me wonder if perhaps they do have 3.5 Opus trained, but that they're not releasing it because 3.5 Sonnet is already enough to beat the competition, and some combination of "don't want to contribute to an arms race&quo
520.
▲
by
gwd
2y ago
How long did it take modern humans to completely colonize Earth, such that there are few places you can go on Earth and not meet any humans? Less than 10k years for sure. If we become a space-faring civilization, how long will it take us t
521.
▲
by
gwd
2y ago
> make it an optional chance to get feedback from lecturers. My sense is that if writing was entirely optional, it would be too easy for students to let it slide; having 10% count toward your grade is a good "nudge" to get ho
522.
▲
by
gwd
2y ago
> Thus, the statement ‘An invention shall be taken to involve an inventive step if it is not obvious to a person skilled in the art, having regard to any matter which forms part of the state of the art […]’ (s 3 Patents Act 1977) is logi
523.
▲
by
gwd
2y ago
Right -- you can choose a niche technology, as long as you're willing to commit to the additional costs of doing more training, being involved in the community, and so on. Those additional costs (and/or the risk of not doing so)
524.
▲
by
gwd
2y ago
> I don’t love Perl, but we have 10+ year old Perl scripts at work that work fine. I'm not talking primarily about Perl as a technology in and of itself, but as a long-term technology choice in terms of being able to find people to
525.
▲
by
gwd
2y ago
This question of "what tools / languages" should we use was introduced to me (during an interview, actually) as "technical strategy". There is more to the choice of language or tooling than whether it's fast o
526.
▲
by
gwd
2y ago
My point was, it's not, "I'm the good guy because I'm rich", but it's "I'm the good guy because I have done a lot of good in the world". I think it's undeniable that he has done a massive a
527.
▲
by
gwd
2y ago
I mean, what percentage of the web is built on WordPress? It's something massive, isn't it? On the whole, so far, he certainly has made the world a better place; and what's more he managed to do it profitably with GPL
528.
▲
by
gwd
2y ago
> He’s in an accidental echo chamber. Given what the author in TFA says, I'm not sure "accidental" is the right word: > He has demonstrated time and again that when he does not get his way or has no leg to stand on he w
529.
▲
by
gwd
2y ago
> ...employers are wise enough to hire people who are 30-40 years minimum from retirement. Um oh yeah, the reason we're hiring 20-year-olds is because we want to ensure we have lifelong support for the new system we're writing.
530.
▲
by
gwd
2y ago
So a "stopper" can also mean a plug (i.e., something you shove into the neck of a bottle or a pipe to stop things coming out). "Stop" can also then be a verb which means, "put a stopper into"; and "unstop
531.
▲
by
gwd
2y ago
> I find strength training extremely boring and going to the gym annoying. FWIW during the pandemic I bought a set of PowerBlocks [1] and a reasonably cheap folding bench, and I've never gone back to the gym. I also do Myo reps for
532.
▲
by
gwd
2y ago
OK, a bunch of the replies here seem to be misunderstanding #1. In particular, the assumption is that the only reason a transaction might fail is that the database is too busy. I come from the field of operating systems, and specifically X
533.
▲
by
gwd
2y ago
Adding "-a" is probably going to slow down your compile times by quite a bit. If I were going to use something like this, I'd try to ensure the results only depended on things in the same file. I wonder if there's a wa
534.
▲
by
gwd
2y ago
Yes, that's exactly what the linked code does: Calls your function, and if it returns an error, check through the wrapped errors to see if it's one of the SQLite errors which should be retried. If it is, try the transaction again
535.
▲
by
gwd
2y ago
I dunno how widely used it is, but I've found gomponents[1] a big improvement over golang templates with hand-crafted HTML. [1] https://www.gomponents.com/
536.
▲
by
gwd
2y ago
> I still don't understand the idea of reinventing HTML in another language. I switched from using golang templates with hand-crafted HTML to gomponents[1] a few months ago, and it's been amazing. It is so so so much easier
537.
▲
by
gwd
2y ago
You're the first person I've heard say so. When I was learning DB stuff, there were loads of examples of things that looked at the error from a transaction. Not a single one of them then retried the transaction as a result. Th
538.
▲
by
gwd
2y ago
> I learned the hard way that if I don’t do this then I’ll get SQLITE_BUSY errors from two threads trying to write to the db at the same time. OK, here's a potentially controversial opinion from someone coming into the web + DB fiel
539.
▲
by
gwd
2y ago
Oh man, Mac and their "thousands of colors" -- that lit up some neural patterns that have been dormant for a long time!
540.
▲
by
gwd
2y ago
Wow. I think sometimes you just don't know how things are going to turn out until you use something "in anger", as they say here in the UK. "Let's try using this fancy type-checker in a production language"
More ›