jon_richards

Joined 11 years ago

Karma
1,879
Submissions
564
Member since
Nov 21
View on Hacker News

Recent submissions

Comment · 5 months ago
Comment · 5 months ago
And := not being = can really matter for variable shadowing.

Absolutely insane syntax choice in a language where everything returns 2 values. At least do var:, err: =

Comment · 5 months ago
Comment · 5 months ago
> What's great about this country is America started the tradition where the richest consumers buy essentially the same things as the poorest. You can be watching TV and see Coca-Cola, and you can know that the President drinks Coke, Liz Taylor drinks Coke, and just think, you can drink Coke, too. A Coke is a Coke and no amount of money can get you a better Coke than the one the bum on the corner is drinking. All the Cokes are the same and all the Cokes are good.

Andy Warhol

Comment · 6 months ago
Then you need a lawsuit to determine whether the law is “constitutional”.
Comment · 6 months ago
The main value I get from sqlalchemy is parsing the result into useful structures. Getting the two models out of a join, prefetching related objects, etc. Though I much prefer rust diesel’s approach of no lazy queries (prefetches returned as list[tuple[object, list[related_object]], though diesel had other issues for me). My policy with sqlachemy is to unwrap all results to that if I’m passing/returning them. No relationship access outside of the function making the query.
Comment · 7 months ago
I was taught that’s old American from before knives were cheap. Originally you’d pass the knife.

Strange that the wiki implies you set the knife down after each cut.

Comment · 10 months ago
Comment · 10 months ago
Comment · 11 months ago
Steam OS might get a boost soon with their new hardware.
Comment · 1 year ago
I’ve thought about making a Venmo for betting.

Start a betting pool with a group of friends. Use an exchange (not sports book) internal to the group, so no external money needed. No commission.

It’s no fun realizing you and your friends have taken opposite bets and are just handing money to the house. Keep that money in your social group and make some friendly bets without worrying about the entire group being taken to the cleaners. The group leaves the Super Bowl party, horse races, etc with just as much money as went in (minus tickets, food/drink, etc).

Comment · 1 year ago
I guess a more accessible version would be toast… what do you put in a toaster?
Comment · 1 year ago
Bombe is great. You might like the zactronics games. And there are tons of factory games now if you want factorio with different window dressing.
Comment · 1 year ago
Huh. Just checked kagi and it’s the same. At least you can block sites manually.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton