HNHacker News
TopNewBestAskShowJobs

jon_richards

1,879 karma · joined November 21, 2015

submissionscomments
jon_richards··on General Availability of the AWS SDK for Rust
To be fair, seeing the big "DO NOT USE IN PRODUCTION" every time you view the docs doesn't inspire confidence, lol
jon_richards··on General Availability of the AWS SDK for Rust
One thing I love about block_on is that it has a dedicated threadpool with a ton of threads. For async code, you want around as many threads as cores so the thread can run at full speed and have the scheduler handle switching, but for block_on, most of the time is sleeping, so the core can just switch between them all and take care of any that are done sleeping. Just don't use it for CPU intensive tasks.
jon_richards··on General Availability of the AWS SDK for Rust
I've been testing this for a while!

One thing I sorely missed was workers for consuming SQS messages. Ended up having an intern adapt a worker for the old community AWS SDK (rusoto) into this: https://github.com/Landeed/sqs_worker

Also on my dream list of features: gRPC support for Lambda.

jon_richards··on A historic Falcon 9 made a little more history
“An ‘istoric”
jon_richards··on Lockheed is now tracking phones and walkie-talkies from space
I think it's usually the opposite. The satellite spends much more time observing interesting stuff in the higher part of the orbit and much less time zipping by uninteresting stuff in the lower part.
jon_richards··on Lockheed is now tracking phones and walkie-talkies from space
Probably application-specific. Satellite for ships, cellular for commercial trucks, radio for remote mining trucks.

There are also panic buttons for remote backpackers that collect gps coordinates and send them to a satellite. All things I wouldn't call satellite phones, even if they're basically just more rudimentary versions. Looks like the quote was referring to something else, though.

jon_richards··on Lockheed is now tracking phones and walkie-talkies from space
There are some dedicated GPS devices that phone home for things like tracking trucks.
jon_richards··on I disagree with Geoff Hinton regarding "glorified autocomplete"
> to play the game of Go you can't just think of the next move. You have to think far forward in the game -- even though technically all it's doing is picking the next move, it is doing so using a model that has obviously looked forward more than just one move.

While I imagine alpha go does some brute force and some tree exploration, I think the main "intelligent" component of alpha go is the ability to recognize a "good" game state from a "bad" game state based on that moment in time, not any future plans or possibilities. That pattern recognition is all it has once its planning algorithm has reached the leaves of the trees. Correct me if I'm wrong, but I doubt alpha go has a neural net evaluating an entire tree of moves all at once to discover meta strategies like "the opponent focusing on this area" or "the opponent feeling on the back foot."

You can therefore imagine a pattern recognition algorithm so good that it is able to pick a move by only looking 1 move into the future, based solely on local stone densities and structures. Just play wherever improves the board state the most. It does not even need to "understand" that a game is being played.

> while on the surface, they may be just predicting the next word one after another, to do so effectively they have to be planning ahead.

So I don't think this statement is necessarily true. "Understanding" is a major achievement, but I don't think it requires planning. A computer can understand that 2+2=4 or where to play in tic-tac-toe without any "planning".

That said, there's probably not much special about the concept of planning either. If it's just simulating a tree of future possibilities and pruning it based on evaluation, then many algorithms have already achieved that.

jon_richards··on B-trees in Factorio
Ah. I was playing before the 1.0.0 spidertron and the 0.15.0 patch where fish healing apparently got 20x as effective!
jon_richards··on B-trees in Factorio
> In Factorio, the meta you want to be searching for is "mixed belt" design, it seems.

A more specific case is the "sushi belt" where one belt balances multiple ingredients while looping around on itself.

Sometimes they just accept new items in a fixed ratio, sometimes they can actually rebalance if disturbed. This is my favorite https://www.youtube.com/watch?v=7Gt5Zx0bsOQ

While that one uses the in-game circuitry logic, the Factorio forum has a "circuit-free" section https://forums.factorio.com/viewforum.php?f=202

And my favorite fun fact: The "fish" object in Factorio is a useless joke item, but because it isn't used by anything, it's sometimes used as a null value, a flag for when a belt has completed a full loop, or a debugging tool. https://forums.factorio.com/viewtopic.php?p=544302#p544302

jon_richards··on Strikebreakers arrived by taxi to Tesla's workshops in Sweden
Personally I’m more familiar with the term scab than strikebreaker. I know scab is a (usually new) worker crossing a picket line, but without context I’d assume a strikebreaker is a “consultant” whose job is to break the picket line itself.

Apparently they mean the same thing though https://en.m.wikipedia.org/wiki/Strikebreaker

jon_richards··on Study shows antibodies against PEG in 83% of the German population
I’ve always assumed the problem is that price increases don’t count as inflation if they come with a “quality” increase, but that doesn’t help someone who now needs to spend more to survive.

So it can both be true that inflation-adjusted wages are rising and it is becoming harder to make ends meet.

A wage that supported a cowboy with two sets of clothes, a house that wouldn’t pass any building codes, a horse instead of a car, and no phone is not going to support a modern worker even if “adjusted” for inflation.

jon_richards··on What happened to blogging for the hell of it?
Honestly it doesn’t strike me as too different from a paid dungeon master. I guess the horror is when it goes from explicitly compensation to some sort of product placement.
jon_richards··on Bare-metal Rust in Android
Speaking of race conditions, I recently looked into the current state of “make sure something is in the db and then retrieve it”. Absolutely bonkers that “on conflict do select” still doesn’t exist.
jon_richards··on Tell HN: JPMorgan Chase forcing arbitration agreement to log in
This particular account will actually automatically split your money between several FDIC insured banks, effectively massively raising the limit.
jon_richards··on Bike Lane Sweepers (2021)
As a skateboarder, the debris is an issue. On suburban roads that don’t get swept often, it all builds up on the side of the road and you start to rattle riding over it.
jon_richards··on Popcount CPU instruction (2019)
And in 1955 you had Arithmetic Operations in Digital Computers. https://archive.org/details/arithmetic_operations_in_digital...
jon_richards··on I fixed a bug the other day
Apple wouldn’t even tell me they refuse to ship a replacement AirPod (I have to make a repair appointment) until I went through their trouble shooting process.

The worst part is if they can fix my airpod, they will charge me $69 for the fix. If they can't, they will charge me $69 to replace the airpod. If I say its “lost”, they’ll make me go through “find my” and then charge $69 for the replacement. I’m considering putting it in a blender to speed things up.

jon_richards··on Remains found in China may belong to third human lineage
> two humans differ, on average, at about 1 in 1,000 DNA base pairs (0.1%). Human genetic diversity is substantially lower than that of many other species, including our nearest evolutionary relative, the chimpanzee.

> Groups of chimpanzees within central Africa are more different genetically than humans living on different continents

> Our genetic homogeneity implies that anatomically modern humans arose relatively recently (perhaps 200,000 years ago) and that our population size was quite small at one time (perhaps 10,000 breeding individuals).

> approximately 90% of genetic variation can be found within [continents], and only about 10% of genetic variation separates the populations.

Calling us different species is laughable. We’re the genetic equivalent of putting 2 rabbits in a box and opening it up to find 300.

jon_richards··on Most promoted and blocked domains among Kagi Search users
Defaulting to DuckDuckGo and using a bang for kagi when I don’t immediately get what I want would be nice. Unfortunately there isn’t one. I guess I could use an extension that lets me add personal ones.
jon_richards··on AWS to begin charging for public IPv4 addresses
Weird, I was just looking into this yesterday and found https://fck-nat.dev/
jon_richards··on Time to bring back asylums?
If we stopped arguing about the abuse cases of involuntary commitment and introduced better voluntary mental care, there would be a lot less people that "needed" to be involuntarily committed.
jon_richards··on OpenAI CEO raises $115M for crypto company that scans people’s eyeballs
I think eventually we’ll have to move to a model where the government issues you private keys via a notary-like biometric verification process. Even if someone steals your biometrics, they can’t fake them to an in-person notary. Rotate your keys by visiting another notary.
jon_richards··on Drowning in AI Generated Garbage: the silent war we are fighting
Same! I was trying to figure out async diesel in rust and I couldn’t figure out why the tutorials weren’t working. There were several that had similar code snippets, but different (and sometimes nonsensical) explanations. Couldn’t get anything to compile. I finally found a GitHub repo that they all seemed to be stealing from and managed to figure out the missing parts.
jon_richards··on A 155 carat diamond with 92 mm diameter (2017)
One of my favorite moments from that is when the book tricks the child into starting to learn to read.

I think we’re not far off from needing AI “best friends” to raise us and assist us through an increasingly complicated world.

jon_richards··on A 155 carat diamond with 92 mm diameter (2017)
And then we can finally finish the first second of eternity. https://www.cs.cmu.edu/~spok/grimmtmp/117.txt
jon_richards··on Facebook proven to negatively impact mental health
Yeah, let’s just keep smoking cigarettes, using leaded gasoline, and spewing carbon into the air until we know for sure how bad it is.
jon_richards··on Facebook proven to negatively impact mental health
Social media will be the smoking of our generation.

In a century, they’ll wonder how we could possibly have kept engaging knowing the harm we were doing to ourselves.

jon_richards··on A Critique of SQL, 40 Years Later
> you need the 'time_finished' column to either have a valid date, or it's NULL if the activity hasn't finished yet

Rust’s Diesel has an interesting way of dealing with this. “None” means missing while “Some(None)” means the value null. So when updating a record, “None” makes no change while “Some(None)” sets the value to null.

This distinction is obviously lost when retrieving from the database, but it’s an interesting concept.

jon_richards··on Rust – A hard decision pays off
I strongly disagree. The vast majority of bugs I see are unhandled None or exceptions and typos in dictionary keys and class attributes.
← PreviousPage 5 of 19Next →