ramchip
โจย Tokyo
๐ Joined in 2008
๐ผ 3,889 Karma
โ๏ธ 1,377 posts
๐
15 latest posts
Load more
(Replying to PARENT post)
I've done a lot of Erlang and I don't see the relation? Supervisors are an error isolation tool, they don't perform the work, break it down, combine results, or act as a communication channel. It's kind of the point that supervisors don't do much so they can be trusted to be reliable.
๐คramchip๐17d๐ผ0๐จ๏ธ0
(Replying to PARENT post)
If you dereference it you get back an integer, not a variable. A variable is a name that identifies a value; the pointer points to the value, not to the name.
๐คramchip๐1mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
There's a free tier, and various paid tiers: https://github.com/features/copilot/plans
๐คramchip๐1mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
That's a pointer to an integer.
๐คramchip๐1mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
> There, the reference to `i` is being mutated.
That's rebinding. Mutation is when you change the state of an object. Variables are not objects. You can't have a reference (aka pointer) pointing to a variable.
๐คramchip๐1mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
It's a wide field so it depends on the specialization. I did computer engineering 15+ years ago and we never touched SQL, but I think the software engineering people did have a class on it.
๐คramchip๐1mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
I think you're confusing mutation and variable reassignment?
๐คramchip๐1mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
I recommend https://ferd.ca/the-zen-of-erlang.html starting from "if my configuration file is corrupted, restarting won't fix anything". The tl;dr is it helps with transient bugs.
๐คramchip๐1mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
> Gary Marcus always, always says AI doesn't actually work - it's his whole thing. If he's posted a correct argument it's a coincidence.
https://news.ycombinator.com/item?id=44278811
I think you're absolutely right about this being a wider problem though.
๐คramchip๐1mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
Japan doesn't have a housing crisis. I'm in a great location in Tokyo, the rent is under $750/month, and it's been the same for the decade+ I've been in this specific place.
If there's a problem, it's too many empty homes in aging rural areas. Cities are doing just fine, even with a growing population in Tokyo.
๐คramchip๐1mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
The way Erlang does it is to use buckets so it looks like a single queue to the user code but really is more like multiple queues behind the scene. Scales extremely well. It's certainly not "just moving a pointer to a piece of shared memory" though...
https://www.erlang.org/blog/parallel-signal-sending-optimiza...
๐คramchip๐2mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
Do you also go to police officers and tell them how much more they'd enjoy being a firefighter?
๐คramchip๐2mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
The result is encrypted. It's useful to the key holder, not to the party doing the computation.
๐คramchip๐2mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)
> As the invasion enters a fourth summer, drones are currently thought to account for around 70 percent of all Russian and Ukrainian battlefield casualties.
https://www.atlanticcouncil.org/blogs/ukrainealert/ukraines-...
๐คramchip๐2mo๐ผ0๐จ๏ธ0
(Replying to PARENT post)