skysight-inc/HackerNews huggingface dataset:
If you are familiar with Go, it's similar to a goroutine that waits for someone to send it an anonymous function to start executing. In Erlang, you solve problems by spawning lots of processes, and most processes are waiting to accept messages. One critical difference is that in Erlang, processes can run on remote machines, seamlessly. This process accepts a message which is a tuple containing the atom become, which is basically just an enum, and a function. Another process, such as the Erlang shell, can send this tuple message with the function to this process at any time so that it "becomes" that function.

What he is saying is that you can swap out the logic of this waiting loop with whatever protocol logic you want. His example was that he had a fleet of machines that were running this loop, and he sent all of them a function that implemented a gossip protocol. But he could easily send them all another message that turns them all into BitTorrent clients.

Joe was an absolute genius and an extremely kind person. I had the honor of meeting him once. Erlang is still one of the most beautiful technical creations I've ever encountered. It really does make you see concurrency in a whole new way.
I find Cal Newport and the world around him very interesting. He's a CS computer geek that plays arm-chair psychologist in all his popular work. I've often wondered where his abilities breakdown and I think the article nails it:

"While there are many opinions and resources on how to best regulate overstimulation and overcome digital addictions, Newport’s directive is refreshingly simple: get rid of those things that are overstimulating you."

Really what this is saying is that there are many opinions and resources backed by research and psychological study that has complicated answers. And that Newport's solution is so simple is that it almost equates to "feeling depressed? Don't!"

So yeah, while Newport has interesting ideas and can boil things down for us techies to get behind (sometimes), he doesn't fully know what he's talking about. He's not really a trained psychologist and clearly doesn't understand things at a deep level. He's basically talking to people that are like him rather than people at large.
The IKEA-powered homelab on a wall
If you regularly call your representatives, knowing what's happening at a federal level is helpful. Likewise if you set aside money to donate to causes you value.
This universal server is a process listening for a message with a function and then it executes that function here the function is just a different infinite server turning a running process into something new. I think it shows off the power of erlang processes and the ability to pass functions to replace running processes with new behavior without changing pids.
My favorite Erlang programmer.

RIP Joe.
And what has that increased expenditure gone to?
I have mixed feelings about 5/3. Overall, they're a fine bank and they service their own loans. We've had two mortgages with them and had not major issues with the mortgages themselves.

That being said, we had a lot of professionalism/ethical concerns with our most recent loan originator/agent with 5/3. This person seems to have intentionally misrepresented my wife and I's profession on the internal loan application to qualify us for a better rate. This was only caught well into the process when underwriting asked for proof of said profession (which of course I couldn't provide since I never claimed to be of said profession). We ended up having to restart the entire application process 10 days out from closing.

It seems to have been a one-off situation, as this person's manager ended up taking over and was _fantastic_. We pulled everything together in some unbelievably short amount of time.

Our prior loan was smooth as heck with them and they've serviced the loan the entire duration.
Chinese hack of Microsoft engineer led to breach of US officials’ emails
In theory a better option could exist we haven’t actually implemented anything better, humanity has tried many systems not just feudalism, communism, and capitalism and it’s the clear winner by the overwhelming majority of metrics. Mercantilism, tribalism, etc all have some upsides for some segment of the population but don’t result in nearly the same levels of widespread prosperity.

What we consider extreme poverty was normal throughout most of the globe and most of human history.
Beta service or not I still think it's a good idea to have a policy up as soon as possible, even if it's a broad one saying that this is still in development and all queries are logged for diagnostics or something. Considering how this is on HN it's going to be on Reddit and Twitter soon and it'll explode from there.
Ah, so TL;DR is that each process evals the supplied code and returns the output to the caller?
Show HN: Going Back to School for Startups [video]
What does it mean to box an object?
We are comparing tiktok to eating? You know, eating which we need for survival?
Awesome-Nix – A curated list of the best resources in the Nix community
Show HN: GenPictures – Text to AI Image Generator (fine-tuned for photorealism)
Turn words into captivating generative art. This is an open source LLM that has been fine tuned for photo-realism. It generates high quality images especially for portraits, nature shots, objects, ...
I made it for fun and plan to keep it completely free.
I don’t find Huberman to be doing anything worse than any given scientist or book author from his podcast. He got popular so he gets criticized. Even Stephen Hawking has been criticized!

For all we know Jonathan Jarry is deserving of criticism. Who is he again? Should I trust Stanford or McGill? Both? Neither? Myself? Don’t over think things here. Decide for yourself. Consult resources. Consult your physician.
> forcing me to opt into a 125 page agreement

There's a weird legal issue that I don't get why it is widely accepted. Why is an average person expected to understand legalize? There is absolutely no reason to believe the average person a) reads that whole thing (clear dark pattern) and b) understands the whole thing. Even intelligent people! Because it is lawyer language written for lawyers. It is like expecting the average person (not on HN) to be able to tell you what metadata is or how machine learning models work (okay maybe HN too ;). How do we not see these as patterns of deciept and taking advantage of people? We live in a highly specialized world and that has been great, but we can't reasonable expect people to comprehend these decisions. It comes down to some combination of trust, naivety, and arm twisting in the end, and this shouldn't be seen as okay.
To be pedantic, React is a library, and doesn't provide page abstractions, routes, or state management outside useState and useReducer. It also doesn't have very strong opinions about how you structure your application (what a framework does). That's what Next.js is for.

I agree with your overall sentiment though.
Painfully tortured, indeed, but let's try to work with it:

In this world of which we speak, if you take the labour away from the computer then the computer becomes worthless. At which point you can then you can collect the computer from the dumpster to then build yourself back up to being worth $150k per year plus the return on capital value.

Clearly labour holds the power in this world. It can completely destroy the capital owners. The inverse is not true.
is it mockery to dhh last posts right?
> > Capitalism is entirely about power.

> Surely it is people that are entirely about power?

Most people are in part interested in power and some people are entirely interested in power, but capitalism is entirely a system engineered for distributing power for the benefit of a particular class.

> Perhaps, but capitalism only describes one of many different ways of organizing ownership.

Capitalism implements (not describes) one particular way of organizing ownership, chosen for the effect it has on the distribution of power in society.
Slightly different in the low-level details, but conceptually accurate.
I have no opinion on him.

I can tell you I have gone to probably a dozen therapists and have received precious little to help and quite a bit more that hurt me. Psychology is not even close to a science. You can’t make false a falsifiable assertions and test them reliably.

I would trust his assertions slightly more, perhaps, than those of most psychologists.
From the perspective of forty+ years, I think there is two possible corrections to be made in your comment:

The first being [In a world increasingly shaped by artificial stupidity,]

and the second being [and not capable of understanding the intricacies of language]

We have been here before and the same problem is arising today as it has done in the past.

We are far too enamoured by our technology and fail to see that it is our own stupidities that will bring about all the trouble that will come. We think we have made something wonderful and yet the reality is that what we are doing is effectively no better than what a witch doctor does in a much more primitive society.

These tools have the possibility of enhancing our abilities if we understand the limitations inherent in them. But if we attribute more to these tools then the consequences will be on our stupidity. These tools are incredibly fragile and we need to recognise that and take the necessary precautions in using them.

I have said this elsewhere, fire is a useful tool but an abhorrent master. So to with these tools.
To explain further, the `receive` keyword is a bit like a switch statement (but actually a pattern matcher) for incoming messages.

Here they made a new server that takes an return process (From) and a number (N). The exclamation point sends the result back to the return process.

factorial_server() ->
receive
{From, N} ->
From ! factorial(N),
factorial_server()
end.

factorial(0) -> 1;
factorial(N) -> N * factorial(N-1).

This code then spawns the server, sends a message to that server to become a factorial server, then tells that server to send it back a message with the factorial of 50. It then specifies it's own message listener that takes whatever it receives and returns it.

test() ->
Pid = spawn(fun universal_server/0),
Pid ! {become, fun factorial_server/0},
Pid ! {self(), 50},
receive
X -> X
end.

A couple of the major advantages of Erlang its distributed parallel nature, and also hot code update. Which happens in `Pid ! {become, fun factorial_server/0}` where it overides the receive loop of universal_server with that of the factorial_server. Though I think proper hot code update doesn't work like this
Wayback Machine has your back:

https://web.archive.org/web/19991128135114/http://129.105.11...
You're making my point. Today, under a capitalist economy, these undesirable jobs can be made desirable because of privatization or high or stable income that is offered as renumeration. But under a socialist system that simply assigns these jobs to people, "according to society's needs", with no other distinction offered, then you will find few takers.
> Meanwhile the largest institutions and richest people are investing heavily due to its revolutionary nature.

Is that why are they investing? Do investors care if it's revolutionary or that they just get high returns?

E.g. a lot of "coins" have promised high returns that were obviously not sustainable.
Australia says Qatar strip-searches of women a factor in blocking extra flights
Thanks! I get it — no need to install binaries of specific servers.
It's great to see jq get some releases again.

It's a big part of our check evaluation infra at OpsLevel.
No, AI is not going to replace your jobs
Basically, the idea is that it can become any type of server you’d like. The actual function to run the server is passed by the client and the Erlang process effectively morphs into that server after constructing it using the provided function. When you consider Erlang’s hot reloading abilities, this simple architecture becomes even more powerful. Another way to look at it is that the Erlang process is just compute waiting for work to do and the work is to run full-blown servers. Pretty neat.
You probably know the answer, the only way to send a message
> In arbitration, there is no option to combine cases into a class action suit

In literally every case other than potential criminal activity directed at you or class actions, arbitration is better for non-1% consumers. In courts, a wealthy adversary can starve you—delay and run in circles with the object of running up legal time. They can't do that in arbitration.

This is obviously a shit way to present anything to a customer. But mindlessly opting out of arbitration will reduce the average American's ability to fight large companies.
God writes Haskell
https://m.youtube.com/watch?v=zi-f_J6hV-g

Carts Of Darkness is a fantastic film sponsored by these guys.
I do not know enough about Andrew Huberman to be a fan, although I have listened to excerpts from his podcasts and enjoyed them.

I can say that everyone of the “questionable“ assertions you’ve listed are similar to ones that could be dredged up about any public figure, no matter how clean that person is. Everything listed is incredibly mild.
I was typing this answer on my phone and I didn’t realize several folks already responded. Move along, nothing to see here. Haha.
Is the same trick possible with other BEAM languages? E.g. Elixir?
The worker who works the land can afford the produce of said land.

The worker who works building thousands of iPhones can’t afford an iPhone.

Something’s fucked up.
Ha, the creator of uplot strikes again! Love seeing your stuff man, always so thorough and well-explained, nice work

(https://github.com/leeoniya/uPlot)
What is postman?
Mobile is much better now: https://xrss.infogulch.com/
I cane at it from a less interesting and less well expressed angle. You’ve nailed it.
sed became easy for me when I realised it's essentially the the :s[ubstitute] command in Vim.
> Is arbitration a bad thing in the context of personal banking?

If you can afford the hundreds of thousands to millions of dollars taking a case against a well-heeled adversary costs (together with a proper legal PR campaign), yes. If you can't, no. Arbitration massively levels the field between adversaries of different wealth.
HDFC Bank – Case Study
I did it for unlimited access to t3 zero day ftp sites
The Log Driver’s Waltz still gets randomly stuck in my head to this day.
I agree -- in some regards, it's like he's separating conscious thought? Not sure if that makes sense. Like, if it were that easy to just will yourself out of it I'm sure everyone would have quit horrible addictions. The entire point is that the dopamine drives your behavior to a point where it's integrated in everything you do. Sure, with enough effort you can build routines that replace that with more intrinsically beneficial stuff, but I don't think it's just a matter of "simply getting rid of bad things"
Wow, that's a pretty cool - so simple but so useful.

I'll also share that I've been using `curl cheat.sh/jq` (cheat.sh in general is a great resource) for years.

Although now I'd probably use something like chatgpt.
Once you’re at the point where you don’t trust Google, why not switch to Firefox? A browser is supposed to be your trusted client and it beats wondering what’s next once they’re doing things you don’t trust.
Using Shopify and WordPress Together
No, they just see that the citizens will have access to greater privacy and security than before (to protect everyone's private information from criminal hackers, foreign states, etc.) and fear losing access to surveillance.

That this will lead to a significant amount of crime is simply assumed, and not from any basis in reality. They also misuse statistics to try and make issues look larger than they are, which does a disservice when these are actually really serious issues. Like with CSAM, they always talk about so many millions of reports, without mentioning that reports are only suspected content, and the vast majority turn out not to actually be illegal (something like 70-80% of reports are discarded by law enforcement in the first pass - but it's understandable that platforms have to be extremely conservative and report anything that even looks a little like it could possibly be CSAM). Then there are massive amounts of duplication and things like that. But it is a serious issue, so it does my head in that they misuse the 'big, impressive reports number' when they know only a fraction lead to investigations, because that just gives critics a basis to show that they're massively exaggerating which could lead people to minimise the issues.

Of course, at the end of the day, you can't surveil your way to safety and these problems are best solved at the source. But that would require things like fighting poverty (oh no, welfare spending!) and deploying large numbers of social workers to help support people in marginalised communities.
Wishful thinking: Why can’t consumers create a reciprocal TOS that undoes all of this like, an email response that says “by continuing to send emails to this address you agree to xxxxxx, otherwise the only form of acceptable correspondence is certified mail…”
> It’s bad in any context, by vastly reducing your legal remedies

Opting out of arbitration also reduces your avenues for legal remedy by removing your option to force arbitration.

Chase knows your financial condition. Its lawyers can ascertain with terrific precision the odds of you, on one hand, accepting their Chevy's gift card and then forgetting to even call your elected, or, on the other hand, assembling a legal team.
I was just answering the question that fulfilling things exist. I wasn't trying to cure adhd. Of course go talk to a pro and get real coping tools and medicine if needed to use.
So how are you embedding websites without an iframe? I'm guessing your acting as a proxy? How do you know not to proxy say amazon.com? whitelist? I see on some sites are screenshots.
Well, he's not a neuroscientist either. Nor a psychiatrist. So GP's main point still holds.
Not to fully excuse Google's behavior, but baking that behavior into an operating system seems far worse than putting nags on a website.

Google's prompts weren't that different than those "Get Firefox!" badges people used to put up in the 2000s.
Was he from Amazon or from Zoox?

Slight difference in expectations depending
America Online is not dead. It's rebranded into AOL Desktop Gold.

https://beta.aol.com/main
It's still used as a fairly popular portal in Taiwan as well.

https://tw.yahoo.com
I have found practically with ts-node or bundlers ... you can get knocked off the happy path, have problems, you need to fiddle with tsconfig.json and you need to spend ages in StackOverflow posts to fix it. This sometimes happen if you want to use a certain library, or doing a mass upgrade of a 2 year old project. I have no experience with Deno.
Perhaps this only applies if you have a bank account with Chase? I have a credit card with them, but am not presented with an arbitration agreement when I log in.
They're not exactly making your point. Today those incentives are required because individuals are raised to glorify wealth and success. It doesn't stand to reason that a different environment wouldn't lead to different results.

In Japan students are expected to clean their schools. It's not looked down upon; everyone has a shared responsibility for spaces they utilize. Cultivating that kind of environment leads to a cleaner society in general. One could easily imagine rotating janitorial/firefighter/etc shifts for able-bodied citizens the way we expect people to answer jury summons.

There are ways to motivate people beyond the purely economic, even if it runs counter to our upbringing.
I don't know why you're trying to bring reasoning and logic into a conspiracy conversation. A bigger waste of oxygen, I'm not familiar.
The Mind-Bending Math Behind Spot It (2018)
How bees are trained for bomb detection [video]
How do you know that the firmware is the culprit?
jmespath is your friend for this

import jmespath
import json

doc = json.load(sys.stdin)
print(jmespath.search("[?commit.author == `Tom Hudson`].commit", doc))

I wish it had won over jq because JMESPath is a spec with multiple implementations and a test suite where jq is... well jq and languages have bindings not independent implementations.
> until the public gets too exhausted

I see this theory pop up around here every few months. Where does it come from? I suspect it's a meme without basis.

Can you please name one time in history where the public gets "exhausted", and as a consequence unwanted legislation is passed?
Burakumin - "Hamlet people" of Japan
Some judges have forced individual arbitration for whole classes when companies cite this clause during class action cases. The companies quickly regret the forced arbitration.
ironically, uPlot is a great counter-example to projects that are "well-explained" :D
If the server closure F, besides it's own messages can also receive a `{become, F}` message, then you can then keep changing the server to something new again and so on.

Completely unrelated, but I remember talking to Joe at one of the Erlang conferences. He was always excited about technology and always happy to chat with anyone. He was dismayed how Windows had gotten worse and less usable over the years, and how one day we won't be able to browse our own files on it until we sit and watch advertisements for a while to unlock them. Joe was nearly right! Sure enough, years later I hear there are ads in Windows 11 and you have to go out of your way to remove them. Not quite the same yet, but by Windows 13 I am sure we'll get there.
You see a lot of cinema and music come out of Canada because the government puts a lot of effort into funding it, something as a Canadian I'm quite proud of and believe is a great use of tax dollars:

https://www.canada.ca/en/services/culture/arts-media/film-vi...

Film and video tax credit:
https://www.canada.ca/en/canadian-heritage/services/funding/...

Canada Music Fund:
https://www.canada.ca/en/canadian-heritage/services/funding/...

Funding available generally: https://www.canada.ca/en/canadian-heritage/services/funding....
He basically had this option, and it's the way that Rich Harris and the Svelte team went a few months back by adopting JSDoc, and honestly his reasoning for dropping typescript in favor of another typing system is pretty sound and did result in clear benefits for both users and maintainers.

DHH has something specific against types in general which I really don't understand. And that's fine, I'm happy to let him and 37 signals do whatever they want. I probably won't be super duper interested in applying to work on basecamp/hey, but that's his choice and I'm sure there are devs there who do prefer it. It sounds like they've been doing it for a while.

But this is an open source project with users and contributors outside the company. It absolutely can and will impact those people. Types supercharge your IDE with better linking, docs, and error detection. It will be harder to work on and around this project, and many current open PRs now will need to be refactored, and the way people build things will need to change.

And that wouldn't even be so bad if the proposal had come out more than a few hours before the merge. It's clear that no community engagement was even considered.
I'll take the bet.
In the show The Wonder Years, the dad works in freight logistics. Watching him go into his office and slowly get more insane as the day goes on is how they explain why he’s a grumpy guy.

Skip to 2 minute mark https://youtu.be/dXfFvdvi7Z0?feature=shared
The market place has placed 1.2 trillion dollars of investment into distributed ledger technology, and we're in a recession - if that's the metric you want to use. Frankly I find such a retreat in reasoning extremely reductionist and not useful or compelling.

One can reason about fundamentals more competently than the average market participant. Isn't that the point of this community? Venture capital adjacent folk who profit off of being more well informed than the market.