Better HN
topnewbestaskshowjobs
Log inSign up

jon_richards

1,879 karma · joined Nov 21, 2015 (11y ago) · 564 submissions

Submissions

comment 5mo ago · link · parent

How close are we to the birth and death of yavascript?

https://www.destroyallsoftware.com/talks/the-birth-and-death...

comment 6mo ago · link · parent

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 6mo ago · link · parent

I was expecting this https://knowyourmeme.com/memes/the-missile-knows-where-it-is

comment 6mo ago · link · parent

> 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 6mo ago · link · parent

Then you need a lawsuit to determine whether the law is “constitutional”.

comment 6mo ago · link · parent

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 8mo ago · link · parent

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 10mo ago · link · parent

This history was a surprisingly interesting read https://news.ycombinator.com/item?id=43667010

comment 11mo ago · link · parent

But how are you going to replace the OG? https://mrcoles.com/dragondrop/

(Ironically doesn’t work on mobile)

comment 12mo ago · link · parent

Steam OS might get a boost soon with their new hardware.

comment 1y ago · link · parent

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 1y ago · link · parent

I guess a more accessible version would be toast… what do you put in a toaster?

comment 1y ago · link · parent

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 1y ago · link · parent

Huh. Just checked kagi and it’s the same. At least you can block sites manually.

comment 1y ago · link · parent

Or “called them over by raising a hand” with “flagged down”.

comment 1y ago · link · parent

As recently as the Silicon Valley tv show, the joke was that every startup pitch claimed they were “making the world a better place”.

comment 1y ago · link · parent

Writing an email with AI and having the recipient summarize it with AI is basically all the fun of jpeg compression, but more bandwidth instead of less.

https://m.youtube.com/watch?v=jmaUIyvy8E8

comment 1y ago · link · parent

The problem making a bear-proof trash can is that there's significant overlap between the smartest bears and the dumbest tourists.

comment 1y ago · link · parent

I considered forking an MIT repo once but had no idea how to communicate which parts were under the original MIT license and which weren’t. Unless I copied it into each file and deleted the root license, it seems like it would license all my changes as MIT, too, basically becoming a copy-left license.

comment 1y ago · link · parent

Not to mention the (now experienced) graduates of really elite schools on the other side of the adversarial relationship, working for those financial institutions.

comment 1y ago · link · parent

The market cares about dollar returned vs dollar-x-time invested. A shoe sits on a shelf until it is sold. If it costs 1.5 times as much to stock a store with shoes, then you need to earn 1.5 times as much money after the same time-delay.

Think in the extreme. $1 billion can probably earn more in a saving account than as a shoe that generates $50 profit after 2 weeks.

comment 1y ago · link · parent

And yet we still enter zip code after the rest of the address.

comment 1y ago · link · parent

Yes, 1d. But it's easier to go from a strip to a sheet to a block than trying to imagine an infinite block from scratch.

The important part is that at any given point on the elastic strip, both sides are getting further away. Everything else is getting further away.

You might think if A-B-C-D are points on the tape and A-B are expanding and C-D are expanding, then B and C must be squished together, but the distance between them is also expanding. You have infinite elastic, but you also have infinite room to stretch it (even along the direction it already occupies). You now have A--B--C--D.

It's tempting to think about that stretch from the point of view of the floor/table beneath the elastic, in which case some parts of the elastic move faster than others as they stretch, but if you always think from a point on the elastic, then the speed of the rest of the elastic depends on how far away it is. Stuff twice as far away moves away twice as fast. Stuff infinitely far away moves away infinitely fast. That's true for every point on the elastic. No bunching up.

comment 1y ago · link · parent

Picture an infinitely long piece of elastic. Now stretch that elastic.

comment 1y ago · link · parent

I used to think I watched TV or scrolled Reddit because I didn’t have the energy to pursue more interesting things. I blocked Reddit and TV. Turns out I have plenty of energy, those were just stealing it from me.

comment 1y ago · link · parent

I actually like 2 and 3 in retrospect, but I shut 4 off about halfway through.

I liked the reimagining of agent smith ("the man") from an unnamed government agent to a tech bro. The conversation about the new matrix being made "with or without" the original creator was a great fuck you to whoever was pulling those strings.

I wanted them to add another couple layers to the mind fuckery. We're used to watching the matrix and knowing which scenes are in the matrix and which are in the real world. Mess with that. Reveal halfway through that the "real world" scenes we've seen so far (in 4, not the previous movies) have actually been in the matrix.

In my ideal world, the climax would've been Neo realizing that he's been dead the whole movie, existing as a manifestation of the free machines, giving them individuality and choice the same way that agent smith took away human individuality and choice in 3. Trinity can still be saved, but Neo can never go with her to the real world.

comment 1y ago · link · parent

When I moved to the US in 3rd grade, I was marked wrong for putting negative numbers as answers on a math test. The correct answer was "You can't subtract a larger number from a smaller number".

comment 1y ago · link · parent

There is a huge category of computer science problems that can be solved with the same algorithm (and a conversion). Graph coloring is probably the easiest of those problems to explain.

comment 1y ago · link · parent

I can’t tell if this was intentional, but it’s a hilarious joke. OP was referring to the decision to provide an “answer”, not the length of the response.
12345
19