skysight-inc/HackerNews huggingface dataset:
You can turn websockets into a flawless request/response with async/await included on like 20 lines of JavaScript. I do it all the time.

Generate an ID, make a request, store the promise resolve/reject in a map (js object). Your onmessage handler looks up the promise based on the ID and resolves the promise.

Add a few more tiny features like messaging and broadcasting streams and you've got both request/response and push messaging over a single websocket.

It's pretty neat in my opinion, saves having to mix HTTP and websockets for a lot of things.
Being already familiar with FP I was able to jump right into elixir after running through learn you some erlang. Erlang and elixir are very similar, and you get the bonus of learning a bit about OTP, BEAM, and the underlying philosophy. There's a ton of resources after that, and the docs are easy to use and understand.

https://learnyousomeerlang.com/
Fully in-office where the office is a 15-min walk away from my home.
Dating exclusively by apps might be reality for the younger US populations.

There was a thread on Reddit a few months ago where people were asking bad places for men to approach women. It was basically

Work

School

Gym

Church

Any place you go for hobby

Public transport

Shops

Bars

Anywhere outside at night

Parks

The consensus was basically the women on this Reddit thread don't want men approaching them in any way whatsoever that isnt a dating app. All alternative s were creepy. Now Reddit is mostly young and American, so who knows.

Dating in the US seems crazy.
I'm no expert, but this article seems misleading in several ways.

>Myth number one is that specific parts of the human brain have specific psychological jobs.

Your brain is both very compartmentalized and generalized. The neocortex contains many discrete regions with very specialized neural architectures for specific tasks. The visual cortex and Broca's Area have specific and very different psychological jobs. No one's Broca's Area does edge detection on signals coming from the optic nerve, and no one's V1 is contributing to their manner of speech. The cerebellum does one thing, the olivary complexes another, etc.

Of course there is a huge amount of uncertainty as to what various areas do and how they communicate - the brain is an amazingly plastic network and as the author points out it can reorganize and repurpose quickly, but there are certainly specialized areas like "puzzle pieces," just with somewhat fuzzy borders to them. The "triune brain" is

>Myth number two is that your brain reacts to events in the world... All your neurons are firing at various rates all the time.

I don't understand this. Of course your brain reacts to events in the world. That is what it is for, to interpret events in the world and issue instructions to respond to them. It is true that for example the reading portions of your brain are not "off" until you open a book, but it's clear that neuronal activity and blood flow increases to these areas when a person is engaged in the corresponding activity. So it is not a matter of off and on, but rather idle and under load.

Prediction is part of this process as well, but it doesn't mean that the brain does not respond in a macro or micro way to stimuli.

>The third myth is that there’s a clear dividing line between diseases of the body, such as cardiovascular disease, and diseases of the mind, such as depression.

I can see how this might be confusing, but I don't think many people take Cartesian Dualism this literally. Maybe I'm wrong. People I think generally understand that the brain is an organ, part of the body and different from individual to individual.

But what you treat with a serotonin reuptake inhibitor or antipsychotic is different from what you treat with therapy. One is a treatment for the brain, the organ, the other is a treatment for the mind, the abstract concept we have for the sum of our learned experiences. These are certainly different things.

I would not go blindly repeating the things this article claims. It is mischaracterizing both the myths and the truth, in my (amateur) opinion.
Add to that the pronunciation of 'o', "ch" and a lot more. I went into a rabbit hole on the same issue few years ago when I was trying to understand why "ch" in "chord" and "chore" are pronounced differently.
Ya conflicting is maybe not the right word. Obviously within the narrative as a whole it's one god. I guess I'm trying to point out they were historically separate deities, so it's more like being called both Robert and George, rather than Dr. and Mr.
for a regular person sure, but for a show generally you want grow your audience and engage a bit with existing listeners.
Comcast already regularly cuts users off for DMCA violations, many of which are supplied automatically by bots watching torrent trackers.

https://arstechnica.com/tech-policy/2013/02/heres-what-an-ac...
Was hoping this would be a collection of resources like
- Falsehoods Programmers Believe About Names[0]
- Falsehoods programmers believe about addresses[1]
- Falsehoods programmers believe about time [2]
etc.

Was a bit disappointed to realize it is more standard foundational papers on various CS topics.

0. https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-...

1. https://www.mjt.me.uk/posts/falsehoods-programmers-believe-a...

2. https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b...
WebSockets are great when used in addition to polling. This way, you can design a system that doesn't result in missed events. Example: have a /events?fromTS=123 endpoint.

At FastComments - we do both. We use WS, and then poll the event log when required (like on reconnect, etc).

Products that can get away with just polling should. In a lot of scenarios you can just offload a lot of the work to companies like OneSignal or UrbanAirship, too.

If you're going to use WS and host the server yourself, make sure you have plans for being able to shard or scale it horizontally to handle herds.

It was hard for us to not use websockets, since like 70% of our customers pick us for being a "live" solution for live events etc.
Dont know what I was thinking. Thanks for the correction.
> [Paxlovid] is sometimes falsely claimed to be a "repackaged" version of the antiparasitic drug ivermectin, which has been questionably promoted as a COVID-19 therapeutic

Suspect this will help, ironically
> It's taken twice a day for five days in combination with a second medicine called Ritonavir

hmm I wonder what changed since they discontinued the other Ritonavir treatment: https://www.who.int/news/item/04-07-2020-who-discontinues-hy...
You could also declare yourself to be an independent nation and start a hosting company:
https://en.wikipedia.org/wiki/HavenCo

But this is probably not your best bet.
I'll throw `Nix` in there. I always get things about unix or linux. For a while when I would search "nix package manager" the top result would be something like "congress manages to nix stimulus package". Go should similarly be hard to search for, but I just use "golang" and it gets it right every time.
I believe they're talking about the semi-duck typing used in go for interfaces but I'm not certain. Interfaces are implicitly implemented with a runtime check determining whether a type x assigned to interface y is valid.This is why you'll often see an empty declaration in packages for structs intended to implement an interface like so:

var _ y = x{} // syntax might be slightly wrong

After writing this, I found the linked article in the OP link to what the author meant.

https://rakyll.org/typesystem/

There's really a bunch of small things that are different about golang that individually you can find elsewhere but are on the whole unique.
Hikaru was live streaming the event so you can see the series of failures and how they affected the tournament here: https://youtu.be/YKfvNl8UoxA
I’m pretty sure hard coding your_private_key is not a good idea.

Why did you make this an npm package instead of just a github repo?
Top bugs found in C++ projects in 2021
A few years ago I was more inclined to use WebSockets. They're undeniably cool. But as implemented in browsers (thanks to the asynchronous nature of JavaScript) they offer no mechanism for backpressure, and it's pretty trivial to freeze both Chrome and Firefox sending in a loop if you have a fast upload connection.

I designed a small protocol[0] to solve this (and a few other handy features) which we use at work[1]. A more robust option to solve similar problems is RSocket[3].

More recently I've been working on a reverse proxy[2], and realized how much of a special case WebSockets is to implement. Maybe I'm just lazy and don't want to implement WS in boringproxy, but these days I advocate using plain HTTP whenever you can get away with it. Server Sent Events on HTTP/1.1 is hamstrung by the browser connection limit, but HTTP/2 solves this, and HTTP/3 solves HTTP/2's head of line blocking problems.

Also, as mentioned in the article, I try to prefer polling. This was discussed recently on HN[4].

[0]: https://github.com/omnistreams

[1]: https://iobio.io/2019/06/12/introducing-fibridge/

[2]: https://boringproxy.io/

[3]: https://rsocket.io/

[4]: https://news.ycombinator.com/item?id=27823109
>It’s time to stop listening to Doomer politicians and bureaucrats until vaccinated people start dying at rates similar to March 2020.

people overall are still dying at comparable rates to the first two waves right now (https://www.nytimes.com/interactive/2021/us/covid-cases.html)

Covid deaths in 2021 will outnumber 2020 and currently both hospitalization and death rates are not extremely far off from the first wave. Of course vaccinated people are better protected, but the "it's over" thing is kind of meaningless. And right now this is before the holidays and new years. Omicron is probably not even remotely close to having peaked yet.
1000 eyes that don't want to check open-source code
While I agree being anti vax is something like a religion, the facts in your post are wrong, as has been pointed out by so many news outlets recently that even the CDC was bullshitting when they said 90% of ICU patients are unvaxxed.
I think this scenario isn't handled too well, and I'm afraid servers that have seen your previous server will refuse to talk with it, and continue spamming the old address. Make sure to backup your server's private key so that you can properly leave rooms. It's usually better to leave all rooms prior to decommissioning a server, too, but I am not 100% sure it would prevent that issue.
Monorepo are usually better for security.

- you can update dependencies of multiple components/modules in one commit/pr. In general, it would be easier to keep up with third party dependencies.

- it is harder to monitor and audit multiple repositories than a single monorepo. An attacker can inject a malicious commit in one of the less active repositories and nobody will notice.

In most cases, leakage is the same. If one developer PC get compromised, and you do not use 2FA, the attacker can still get access to most of the code. In many cases, data is a more interesting target than your source code.

From security perspective in order:
1. Educate your developers on security.
2. Develop threat model
3. Monitor for anomalies
4. Use 2FA auth
5. Secure your CI/CD
6. Keep dependencies up to date
7. Security scanning
If you listen to the anti-vax crowd, a lot of the push-back is because the vaccines are new, only had emergency-use authorization, no long-term studies, etc.

This pill will fit into most of those objections as well. HCQ, ivermectin, and the like have all been around for a long time and even though their was no clinical efficacy on COVID, the anti-vax crowd was onboard with them because they have been around for so long.
German energy policies are insane. Shutting down nuclear energy without replacing source. Already planning shut down of coal plants, also without any plans for replacement. And with Green Party in power it can only become worse.

But we shouldn’t worry as long as we can import expensive dirty energy from other countries and complain it’s them and not us not doing enough to stop global warning.
Interesting - is this a personal site built on https://circle.so?
Sorry, what other category? The logical inverse of "unvaccinated folks who caught covid now asking for vaccines" is... "vaccinated folks who didn't get covid who now want to be... unvaccinated?". I guess I don't understand your assertion.
Sometimes we just like a challenge, especially when we’re young and full of wanderlust. Wade Davis, in The Wayfinders, tells about a Pacific trade network of white beads going one way (clockwise, iirc; listened to the book) and red beads going the other, with acted-out hostility on the island, and approach-protocols by the voyagers, followed by trading strings of beads and some social-bonding time together before the voyagers departed. With each island having what it needed for survival (the ocean provided quite a lot before mechanized exploitation; see, for one, Eat Like a Fish, by Bren Smith), the trade across such distances may well have been to keep up the social network with people showing similar origins.
>won’t prevent 99.999% of spam because nobody will set it up

I would. And anyone who doesn't want the spam would. Right now we send "550 Too much spam" responses to docs and sharepoint emails. I'd be happy to, as an alternative, use an interface at Google or Microsoft that let me whitelist the organizations who can send files.
Problem is that by the time they get there, it's likely too late. I haven't seen the data, but I suspect many of these oral treatments need to be started early in the infection.
I believe federation recovery should be possible assuming you have access to the server's signing key. Without it, you'll probably run into conflicts.

You'll definitely have problems with missing rooms, missing user encryption, the lot of it. I think it should be possible to re-create and re-import signing keys onto a new server, but I wouldn't rely on it. You'll probably end up with broken clients for ages. You'll also definitely run into loads of clients 404ing on your server, trying to download media that no longer exists. Personally, if I'd lose access to my server, I'd just start over with a new domain and get my backups in order that time.

If you have backups you can recover, you can get everything up and running painlessly by pointing DNS to the new server and waiting for DNS propagation to finish.

As for moving between hosters, there's a tool for that: https://ems.element.io/tools/matrix-migration; it's a tool that'll invite your new account into every room your old account was part of, transfer profile pictures and such and optionally kick the old client from rooms after migrations. That'll only help if your new account is on a different server, though.
You can also cast between these "facilitators", since the unused type doesn't affect memory layout: https://gotipplay.golang.org/p/2w2y1KEjXVE (from https://news.ycombinator.com/item?id=29586456 )

I think they'll be pretty common. It's a simple structure, and simple to manipulate.
Vaccinated people are not. If people don’t want to be vaccinated and want to take the risk, fine.

The supermajority of the country is fully vaccinated. It’s time to move on.
Any big progress on p2p? I mean more in the MSC side (multi-homed identity and stuff like that).

Also, arewep2pyet.org pretty please.
Over?! Anecdotally my local hospital is full and a neighboring state had to call up the National Guard. Maybe not the same crisis level of 2020, but it's far from "over".
(disclaimer: non-practicing lawyer here, not yours or theirs, off-the-cuff very hot take)

What part of 'A consumer shall have the right to request...' in the CCPA isn't clear? Nothing about "A fake user may request..." Looking forward to another ballot initiative to further clarify the law!

The secret shopper thing is a big red herring - at least the secret shopper actually buys something, and in real non-academic life is usually hired by the company (or marketing company by extension).

Disappointing to see the lack of judgment from a researcher who's otherwise done great work, and the IRB failure to boot. Good to see some acknowledgement but it feels like "let's build a tool to do the work and hope for good data." Not sure where this could've led other than a name-and-shame conference paper.
Easy fix. Just download some more RAM till you have enough.

https://downloadmoreram.com/
Wasn't Frank Herbert heavily consulted the Encyclopdia's author? Would have to locate my copy to check...

And yes, the Anderson books were the only reason the Encyclopedia was thrown out. Still damn great content, so.
Those are temporary monopolies of a technology or creative work, not monopolies of a market.
Sounds like they need backpressure. Isn't that the usual solution to a queue growing without bound?
While I'm inclined to agree that the outlook now is better than the onset of the pandemic, this antiviral was just approved and only with an emergency use authorization. I think until there's more than enough of this to go around and we see actual hospitalization rates go down to "normal" even in the face of infection spikes, we're still not completely ready to say this is "over".
This was decided longe before the current mess.

But it sometimes feels like we should move a bit slower in these matters and be a tiny bit more flexible to not have a huge backlash.
Thank you! This one is why I love HN.
> CNN, Joe Biden, etc. spreading FUD about the "warp speed" nature

I love the posts on twitter of people who basically said in early 2020 they would never ever take a vaccine approved by Trump. And by late 2021 they are saying the unvaccinated are the scum of the earth basically.

Consistent ;)
This is insane to me. Nuclear is the best long-term option for ecologically-friendly energy generation. This is absolutely a bad move, and the coal industry has done a great job of demonizing nuclear power.
The excitement purely comes from the fact it makes it way easier for casual users to try out Matrix (even at the expense of then being beholden to the SSO providers), and it forced us to dogfood and land first class SSO support :)
Are all of us who teach at universities supposed to take pre-exposure prophylaxis before setting feet into a lecture theater? How about some lifestyle changes? Why is proper ventilation never discussed?
It's very likely you only start getting 'requests' from 3-letter agencies asking you to scan content once you reach some large mass of hosted content, especially since the technology for even doing so is locked up, with NCMEC and Microsoft being the arbitrators for who gets to use it: https://www.microsoft.com/en-us/PhotoDNA/CloudService
What is missing from this blog:

Where is the safety margin? i.e. what happens if something goes wrong? Can the aircraft make a safe landing if the motors fail? Do the limited control surfaces give it enough maneuverability to make an emergency landing in a tight field, especially in bad weather?

tl;dr great blog, thank you for the technical insight, it sounds like you've designed Lilium for a perfect world. Popular aviation needs to have basic safety margins and there are no safety margins evident here.
> Office networks that either blocked or killed WebSockets were annoying

Curious how did they detect WS usage? Were you running on HTTP or did they just kill any long-lived TCP connection? Root certs?
Is there any potential for the asteriod to hit any geostationary satellites?
thanks, i'm glad it's helpful.
I think what he's trying to say is that although the brain is divided, because consciousness is complex, most neurons are involved in most things?

Good conversation: Potential Functional Role for Minicolumns in Neocortex - https://www.youtube.com/watch?v=9nEVO22IsVY
From what I understand they are still the biggest carbon emitter in the EU…
Mostly remote, face to face at office once per week.

The problem is my job would be easier face to face with the groups I work with but even if we were in the office we have multiple offices so I’d be on video calls anyway.

Maybe fully remote with a week face to face every quarter would work just as well
Among vaccinated people hospitalization rates have plummeted.
I don't think anyone is claiming that the "I am not submitting a request, just wondering how" is threatening

What they refer to is the final paragraph of the mail

"I look forward to your reply without undue delay and at most within 45 days of this email, as required by Section 1798.130 of the California Civil Code."
There are a few excellent reasons to never get involved with someone who doesn't have a job.

The first one is the vast majority of divorces are due to financial issues, my last partner left both of her husbands because they weren't making enough money. Her first husband didn't really want to work and they ended up moving in with her parents. A close family member had to break up with her husband since he wasn't working and kept overdrafting the joint account

The second reason, is this person who doesn't work is probably being supported by someone else.

Their sugar daddy's going to want to hurt you. I made the mistake once when I was younger of going out with a girl who didn't have a job, and this is basically what happened.

Finally, people with jobs tend to be much more straightforward.

You have a right to whatever dating criteria you choose. Some people won't date someone whose below a certain height. It's easier to fill out a job application than to become taller.
> A does not in any way imply B.

Huh? What are [A] and [B] in this situation?

> I strongly doubt that a non-negligible number of OLD users restrict themselves to using only OLD and automatically reject in-person advances. OP's "options" are still the same as before: all the singles in his physical meatspace.

You're assuming that a non-trivial number of people who use OLD aren't exclusive to OLD. Who's taking issue with that?

OTOH, saying that one's set of available dates is unchanged by foregoing OLD is deeply flawed. You even mention "physical meatspace" which OLD directly overcomes.
Cloud-based Chrome, Firefox or Brave browser that is also multiplayer
So it's likely all in the messaging. If they can get Fox News, Joe Rogen, Trump et al to endorse this pill, it might just convince them.
I've taken to using "nixos" even when I don't mean the full OS.
Pretty much all federal/state compensation is public info. Here's info for Ohio - https://checkbook.ohio.gov/Salaries/

I can search for my wife by name and find her salary from previous years.
5G providers reject mandates for backup power at cell sites
The government does a lot of things that fall into a few categories: tax authority, police powers, market participation for its own activities, and even granting (or reserving) monopoly powers. Also missing from your list: USPS has a monopoly on First-class mail in the United States.

Some of these are just, useful, bad, abhorrent, unnecessary, necessary, or outmoded.

None of that falls into commanding the economy. We’re not even strangers to command economies: the wartime powers of the Federal government are vast, and were most powerfully executed in World War II.

I would argue that exactly what the parent suggested, in respond to the GP falls exactly into that bucket of ideas for commanding the economy. It’s not a just nor good use of Government, no matter how Democratic.
It's not over until hospitals are back to normal. Until then, the vaccinated population is still held hostage by the antivaxxers.
Germans have always been anti-nuclear.

https://en.wikipedia.org/wiki/Anti-nuclear_movement_in_Germa...
us-east-2 has exactly the same prices as us-east-1.
There is also waterjet and jet stream. Not uncommon dictionary of jet is narrow,forceful stream of fluid or the nozzle producing it. Taking that into account difference between jet and propeller in tube is matter of speed and compression. It's just that fuel combustion is one the most practical energy sources including for producing jets of gas.