Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teeray
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
391.
▲
by
teeray
1y ago
You jest, but you’ve also touched upon something interesting. Is this exactly what companies are trying to do? To the IRS: “We employ zero software engineers—only AI ranch hands to wrangle the AI in the right direction.”
392.
▲
by
teeray
1y ago
> under what definition of software engineer? Probably a broad enough definition to net the US Government the greatest tax revenue possible for the effort to enact this.
393.
▲
by
teeray
1y ago
Agreed. I’ve had the same email address for a decade now but cycled through the registrar’s email, Gmail, and M365 in that time. Makes it easy to switch.
394.
▲
by
teeray
1y ago
You forgot renewing the Patriot Act :)
395.
▲
by
teeray
1y ago
> you need to jump through hoops, pay through the nose, and have 14 different accounts to watch all the sports you want. It’s not even that. Just to watch the games for one sport and one team requires this. “Remember, next week’s game is
396.
▲
by
teeray
1y ago
> both parties have to pay upfront and then the winner is refunded the costs. Exactly. It’s about which party can sustain the greater cash flow.
397.
▲
by
teeray
1y ago
It really would be nice if they weren’t allowed to create the equivalent of the digitally unbanked by unilaterally wielding this power without any kind of due process.
398.
▲
by
teeray
1y ago
> If an artist or author can't do this, social media shouldn't be able to do it either. Even if this is done, the case of starving artist v. megacorp will probably go to whoever wields the most money and lawyers. To add insult
399.
▲
by
teeray
1y ago
> there is no fundamental difference from a exception Flow of control is obvious and traceable with explicit errors—they are not some “other” to be dealt with. Exceptions in many languages are gotos, except you don’t know where you are g
400.
▲
by
teeray
1y ago
In my experience doing this, it does not. The wrapping is all yours to write—frameworks and the standard library don’t use it. Their errors would appear as “leaf” errors decorated by the wrapping you, as a team, have added.
401.
▲
by
teeray
1y ago
> _When done well._ Every time I write an `if err != nil {}` block, I need to decide whether to return the error as is (`return err`) or decorate it with further context (`return fmt.Errorf("stuff broke: %w", err)`) Easy. Alway
402.
▲
by
teeray
1y ago
It's funny to me when people see screenfuls of stack traces and remark how clear and useful it is. Perhaps, but do you really need all that? At what cost to your logs? I'd much rather have a one-liner wrapped error that cuts throu
403.
▲
by
teeray
1y ago
> ...having only 2 when it comes to error handling does not seem like a big deal. I imagine people will just use their preference... I foresee endless PR arguments about whether err != nil is the best practice or whatever alternative exi
404.
▲
by
teeray
1y ago
In 8th grade, I had a little PHP 4 pocket reference book. In classes I didn’t care about, I would have this open inside the book for that class and I would write code for my forums on loose leaf (in a shorthand). I also had printed copies o
405.
▲
by
teeray
1y ago
Yes, but the motivations to move towards true AGI are what will lead us to that eventuality. Most businesses think they want AGI, but will hate it when they actually have it. They believe AGI will let them fire all their employees, because
406.
▲
by
teeray
1y ago
The TLA Plus examples repository is very good: https://github.com/tlaplus/Examples . I would recommend starting with something simple like the DieHard problem.
407.
▲
by
teeray
1y ago
Perhaps, but there is still some value in "capturing the bug with a failing test." If some ordering presents a defect, you can recreate it and prove that you've fixed the bug.
408.
▲
by
teeray
1y ago
> It’s difficult to imagine where would you insert the AI in that process. “Sketch me a wireframe of a person running” “Can you add a flowing cape to my character in a similar art style?” “Add stippling for the shadows on these objects a
409.
▲
by
teeray
1y ago
I don’t understand why we can’t do the propane tank model at grocery stores. Reusable bags that I drop off on the way in, I get some token for N bags so I don’t have to carry them around the store, then I get cleaned bags on the way out (de
410.
▲
by
teeray
1y ago
Which is also why it’s critical that they be installed with a gap between the boards (Kreg makes a useful set of spacers and drill jig to hide the screws). Otherwise expansion will destroy the deck.
411.
▲
by
teeray
1y ago
> What if I've got 20 different handlers, each of which need 5-10 dependencies out of 30+, and which run in 4 different environments, using 2 different implementations. Listen to your code. If it’s hard to write all that, it probabl
412.
▲
by
teeray
1y ago
https://en.wikipedia.org/wiki/Whipping_boy
413.
▲
by
teeray
1y ago
Because Live Nation’s fees are based on ticket price. That incentivizes them to drive prices and transaction volume as high as possible.
414.
▲
by
teeray
1y ago
If all tickets are the same price, then any buyer-seller combination will do. I believe the seller doesn’t get to choose the buyer and both are anonymous. No way to coordinate such an out-of-band payment.
415.
▲
by
teeray
1y ago
> The naive economic solution to the problem would be raising ticket prices step by step until it is no longer attractive for scalpers to resell your ticket You can also just do like The Cure did and destroy the secondary market entirely
416.
▲
by
teeray
1y ago
> Error establishing a database connection Simply poetry
417.
▲
by
teeray
1y ago
Might be a little spicy
418.
▲
by
teeray
1y ago
> The main value of a standup is to have a dialogue about blockage and spark opportunities to work together. I never understood this about “blockers” as classically presented during the rites of standup. If you’re waiting up to 24 hours
419.
▲
by
teeray
1y ago
> so people wouldn't have to quit their jobs You would have to work out corruption of the common Joe here. Employers hold massive sway over their employees, and by nature of employing lots of people would have a pretty good chance o
420.
▲
by
teeray
1y ago
Maybe slightly O/T, but has anyone found a decent way to `git send-email` with email hosts that demand OAuth? (looking at you Outlook and Gmail)
More ›