skysight-inc/HackerNews huggingface dataset:
I've gotten a lot of value from integrating Sorbet into a non-trival 15 year old Rails app. The gradual nature of the typing is very nice.

I've never written TypeScript but I suspect the tooling around Sorbet is pretty far behind at this point but it's still worth it. For example, there are is a whole class of unit tests that no longer need to be written. In addition to the gradual typing, having access to interfaces, typed structs and enums is all nice too.
What happens when a sensor has a false positive and you can't drive?
Yeah, no. Web3 is going to need someone to invest in it, because otherwise there's not really an incentive to mint things on the blockchain. I'll be sticking with the regular web for the rest of my life, any message that I could conceivably want to deliver to the outside world works fine on HTTPS.
> Blockchain makes it easy to pay people for being part of the network

Pay people for being part of the network? Where is this money coming from?

Blockchain solutions are more expensive to maintain than centralized solutions. It’s going to cost a lot of money to put all of the photos and other data of a social network into a blockchain and keep it maintained. Certainly far more than it costs hyper-optimized centralized providers like Facebook and Twitter.

There might be a few people out there interested in paying substantially to be part of a decentralized blockchain-based social platform, but it’s certainly a far, far smaller number than the people who are happy to use Twitter or Facebook for free.
What about ox -> oxen?
I think that it'll be hard to create something in web3 that topples the existing centralized communication platforms, but think that it is possible to compete in technologies arising native to the web3 space. In other words, I think that it is possible that FB doesn't completely dominate the metaverse space to the same degree that they have in web2, if there are enough independent projects that have their own unique quirks and communities. It's ultimately up to the builders in my mind to prevent web3 from being a repeat of the centralization that characterizes web2.
Shenanigans like this are what fuel the anti vaccine conspiracy theorists
There are probably a lot more casual trolls than there are straight up criminals with stolen credit card numbers.
My understanding is that this is gentlest possible introduction of types, since you don't have to anything to your existing code.

AFAICT the Ruby community is big on gentle iterations, and this is that: enough of type system to start playing with, and to get to the whatever the next step might be.
Availability (and presumably consumption) of calories increased significantly since 1960.

Of course we don't know what people eat and what they discard.
We recently migrated ToolJet (https://news.ycombinator.com/item?id=27421408)'s server from Ruby ( Rails ) to TypeScript ( Nest.js ). Our goal was to have only one language in our stack so that it will be easy for the open-source contributors. I have been working as a Ruby dev since 2015 and I really love Ruby. Initially I thought we might miss a lot of things when we switch to TS. But it turned out to be a great decision in the end.

The bad:

- Cannot compare Rails' ActiveRecord with TypeORM. TypeORM still lacks proper documentation and sometimes we even had to write raw SQL (or use the query builder feature )for joins.

- Testing using Minitest (Ruby) is easy and the code looks very clean. It is not as easy to go through our Jest tests. Also the test suite required some customisations for small stuffs like cleaning the db after every test.

- There is no clear winner for web frameworks in Node ecosystem. The framework you choose will be less adopted and less matured than Rails.

The good:

- A lot more applicants for the backend roles. We tried to hire senior Ruby developers in June and we got only a few applicants. After switching to Node, hiring has become easy.

- Having only one language in the stack is helping us get contributions from more external developers.

- Nest.js is not very opinionated, we can easily customise it to follow the conventions and directory structure followed by Rails.

We have explained more on our blog: https://blog.tooljet.com/migrating-toojet-from-ruby-on-rails...
This happened before and is probably a PR stunt: https://www.youtube.com/watch?v=2jCtVDCiY_8
ConstitutionDAO Outbid for First Printing of America’s Founding Document
The expansion/collapsing of the header on that page seems to get in the way when scrolling up.
Put a very bright light source next to the spot you don't want to be caught in a camera. The viewer would only see a ball of light.
> These maps aren't updated to cross out blocked paths, and nobody seems to getting sued to outer space.

You can't sue someone preemptively for bad information. You've also got to have a bad situation made significantly worse by bad information.
Why is it bad: prone to mitm attacks in many ways.

Better alternative: hmac based totp
> Much of it has to do with the overall instability of electric vehicles in general — especially SUVs

I thought electric vehicles were more 'stable'? Or am I misunderstanding that? They're mostly solid state. What's unstable?

And why are SUVs even less stable?
That is the cool demo Andreas worked for some time recently!
AWS for us is even more locked down. Nobody gets access to that. Unless they sign up with their own account and pay for it themselves perhaps?

But the idea is of course that the applications needed for work are all available in the company software catalog. When we locked this down we did extensive pilots.

As an EU company we have to certify each tool for privacy anyway and we can't allow unvalidated tools (and even worse: cloud services) for this reason. The fines are huge and we have a responsibility to our customers.

Personal machines are explicitly forbidden and not allowed on the network using 802.1x.

The admin rights prevent people from bypassing security controls. Such as disabling the proxy which checks for forbidden services for which we don't have a data processing agreement, like Dropbox.

I know it's not easy. But letting people do what they please is causing the kinds of data leaks we're seeing in the media almost every day.

I agree some things are a step too far and inevitably drive people into shadow IT but admin rights are pretty low hanging fruit these days.

And really, since we did this the company is still running :)
And what stops the social site from sell Authentic badges for a fee smaller that the NFT price? Or letting people upload an avatar that is visually indistinguishable from the authenticated one?
His Autobiography[1] should be required reading for young persons. One of the more cutting insights is that freedom of the press doesn't mean a thing if you haven't got one. And so he got into printing. He also advises against drinking hard liquor, because everyone he knew who took to "dram drinking" never amounted to anything. It's a short and entertaining read.

[1] https://en.wikipedia.org/wiki/The_Autobiography_of_Benjamin_...
In the first match of the Lee Sedol / Alpha Go jubango, many moves were initially interpreted as slow, or simply mistakes.

Human players try to maximize score difference, Alpha Go tries to maximize the probability of winning. This means, between playing a risky move that makes more territory, and a safe move that makes less territory, Alpha Go prefers the safer move.

To experts, those move came across as "slow", inefficient or suboptimal. But they turn out to be the superior moves.
I worry a bit that it would just become self-reinforcing, although I'm largely agreement with you. Some former NIH directors suggested grant funding should basically be a lottery outcome; maybe grants should be funded in proportion to market predicted risk or something? You'd probably want to be funding some high risk studies. Or maybe you want to fund those more? Seems like there's some issues there, in that if the market is really strongly predicting some outcome, maybe the study is unnecessary?

In any event, I've often thought that grant decisions should somehow be opened up more somehow. Obviously it could get out of hand, but the idiosyncratic decisions of grant review panels seems to lead to a lot of navel gazing-type processes.
If you don't know dead cold where the trauma center is, you should be calling 911 (or equivalent), not trying to decide where to drive.

Given the cost of an ambulance, most people I know will drive themselves to the ER for anything where they're still barely walking.
Private and green videoconferences made simple
Yeah, there are some marketplaces that are trying to only curate high quality projects, and others that are more open to accepting any project. It's actually pretty crazy right now, there's so many ongoing independent projects that some of these exchanges and launchpads have huge queues.

I'm hoping that my project will be able to be featured on one of these marketplaces, but it's been rough out there. I think once I finish up and polish our roadmap and goals for the project, in addition to the already existing website and short video preview, we'll be able to get in on one of those. Fingers crossed, at least :)
Well, as I understand it the problem is if you measure the slit the photon passes through, then the superposition is no longer "left slit or right slit", it's "left slit and sensor or right slit and not sensor", and the slit/sensor paired configuration can't interfere with itself anymore because the sensor state is different. In other words, this is what you'd expect to see collapse or no collapse.

For instance, consider https://en.wikipedia.org/wiki/Delayed-choice_quantum_eraser which demonstrates that the sensor state has to be part of the superposition instead of causing an irreversible collapse: if you store the detected slit until the photon hits the back wall, then delete it, an interference pattern emerges once again.
> Don't forget distributed storage like IPFS

I want to like IPFS but it has a lot of serious problems. It's got the same inherent problem as BitTorrent in that availability of content follows a power law distribution of popularity. Popular content is readily available but best of luck accessing anything that's not popular. It's link rot taken to the extreme.

It also has the very real limitation of the wildly asymmetric nature of consumer Internet connections. Not only do most connections have a fraction of their downstream bandwidth as upstream bandwidth but ISPs also regularly block ports and event packet types. On mobile the situation is even worse as CGNAT largely prevents devices from hosting content without reflecting off some third party.

These issues just makes the availability problems of distributed storage worse. They're also on top of other practical things like actual host availability (being powered on), how much storage is reliably available on the network, and actually recouping real costs for running nodes.
Am I reading this correctly?

> We recognize, however, that developers will incur costs to support their billing system, so when a user selects alternative billing, we will reduce the developer’s service fee by 4%. For example, for the vast majority of developers who pay 15% for transactions through Google Play's billing system, their service fee for transactions through the alternate billing system would be 11%.

You have to pay a 11% fee for using someone else's billing system when buying an in-app purchase, if that app was downloaded from the Play store?
Duff's device has been used for more than loop unrolling though.

https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html

which inspired:
http://dunkels.com/adam/pt/

And that stuff is just neat!
Taproot is a new on-chain transaction type. Do you have a link where I can read what you’re talking about?
What engine did you use?
Vinay does a big disservice to that 53% number and is in my opinion, extraordinarily dishonest about the 10% number.

He says;

> Interestingly, in the only published cluster RCT to date during COVID19, surgical masks had an 11% risk reduction and cloth masks had no effect at all on the primary endpoint of symptom driven lab positive result

The actual study showed that with intervention, the scientists increased the rate of mask wearing from 13% to 42% -- and that 29/100 person uptake was enough to reduce Covid seropresence by 11% in the community. That's a huge effect! Fewer than half of the people in the villages were wearing masks and symptomatic Covid saw >10% reduction compared to villages without extra mask wearing. It's abundantly clear that the effect would be far greater with universal masking so to say "mask wearing only leads to a 10% reduction" omits a massive part of the story.

https://www.poverty-action.org/sites/default/files/publicati...

To quote the authors who tried in vain to prevent people like Vinay from mangling their research:

> Our results should not be taken to imply that masks can prevent only 10% of COVID-19 cases, let alone 10% of COVID-19 mortality. Our intervention induced 29 more people out of every 100 to wear masks, with 42% of people wearing masks in total. The total impact with near universal masking–perhaps achievable with alternative strategies or stricter enforcement–may be several times larger than our 10% estimate. Additionally, the intervention reduced symptomatic seroprevalence more when surgical masks were used, and even more for the highest-risk individuals in our sample (23% for ages 50-60 and 35% for ages 60+). These numbers likely give a better sense of the impact of our intervention on severe morbidity and mortality, since most of the disease
burden is borne by the elderly. Where achievable, universal mask adoption is likely to have still larger impacts.
I have never experienced this. You are making it sound like it happens to like 99/100 users. So I’m saying your story is BS.
> So, from round 4 onward I abandoned the model completely and relied only on my own guesses.

Kind of disappointing to read halfway through, though still a good article
Being a Canadian, this particular incident gave me so much mistrust in our government. It woke me up to the fact that I am not being told the truth but that I am being manipulated. I haven’t trusted a single word from officials since then.
I wish for the exact opposite. Email is a disaster because it is permission-less. With a 25 year old email address the spam gets through even Google Microsoft or barracudas filters. Not to mention phishing being the #1 source of all data breaches.

Email also suffers from terrible UX, inconsistent threading, reply-all storms, top-posting, malware…

Closed system messengers are better than email for work in nearly every way. My company has basically stopped using email for anything internal in favor of chat channels.
This sounds like the battery story. It used to be that batteries all came in cardboard casings. Then some clever fellow invented the metal battery casing like we use today and patented it. His patent was immediately infringed by all battery makers who claimed that the invention was "obvious." But they lost, because the judge rightly ruled that if it actually were obvious then why had everyone been encasing their battery cells in cardboard?
Huh. TIL.

I usually just do `sudo zsh` :-)
Wait, this isn't right is it?:

void execute_loop(int & data,
const size_t loop_size)
{
for (int i = 0 ; i < loop_size/4 ; ++i)
{
computation(data);
computation(data);
computation(data);
computation(data);
}
}

Shouldn't it be something like:
void execute_loop(int & data[], const size_t loop_size)
{
for (int i = 0 ; i < loop_size/4 ; ++i)
{
computation(data[4i]);
computation(data[4i+1]);
computation(data[4i+2]);
computation(data[4i+3]);
}
}
?

Something like that? There needs to be a dependency on the index for duff's device to work right?
The risk for us is more one of uncertified tools. People using stuff like Dropbox which we don't have a data processing agreement with. Or stuff like TeamViewer.

Locking down admin rights is not just to lock down the OS but to ensure security restrictions aren't easily circumvented.

For the files we use AIP which protects against copying. You can't open those in a personal machine for example.
There was definitely an anti-mask bias in the US at the policy level, because cloth mask use has limited effectiveness and triggers a pretty visceral reaction. A lot of the weird “muh freedom” and antivax nonsense was a pivot from anti-mask.

COVID hit at the worst time, our federal government was reeling from the insanity of the last administration, and key early measures weren’t taken. A reaction similar to what happened in China in the NY Metro region and a few other places early on would have blunted this, and protocols had been developed and left on the shelf due to the political implications.
Code Smell 103 – Double Encapsulation
> because it was not yet "proven" the virus was transmitted via aerosols

My recollection was that it was much worse. They definitively and aggressively said that it was _not_ transmitted via aerosols.
How to Select a Graph Database: Best Practices at RoyalFlush
https://rewilder.xyz does this, and I wouldn't be surprised if there's other similar projects out there.
That seems to be more in line with "what's the benefit of static types?" than "what benefit does JS get from static types?". JavaScript is not only a very different language than it was 15+ years ago, but also takes up a significantly higher percentage of an app's codebase. The web is a drastically different place than when JS was created.
That's amusing. It's analogous to the difference between paper money and specie at the time.
I support giving Xanax to all these vaccinated people wearing masks alone in their car.
This is a fake story. The UI is not broken. Especially in the last 5-8 years. Which MS dept do you work for???
Very intrigued. Mind sharing your approximate age? Is the plan to get a foot in the door via IT work and transition to astronaut work?
I don't think anything they said stopped people from trying to purchase masks. Certainly a majority of the population decided not to, but very quickly all masks that were available to the public were bought.

In the end they had to control the medical supply chain. It's a lot more work than lying to the public, but it actually works. Unfortunately lying lost the trust of the public and COVID became a highly political issue.
Well, a couple of things:

You're changing the framing from "strictly exists to curtail individual freedom" to "strictly reduces freedom", which are two different things. The first means the intent of the law is to reduce freedom for the sake of reducing freedom, and the second means it's a strictly enforced law. Those aren't the same, but from what I can understand of your argument it seems like you're saying the reason for rules preventing sale of toxic chemicals is strictly to curtail individual freedom? Do I have that right?

Second, if I understand you correctly, not only would you be ok with a company selling a mixture of toxic chemicals labeled as a health drink, but you think it's a no-brainer that they should be allowed to do so? Lead-based paint, asbestos insulation, salmonella-laced produce; the company is free to make them, and the consumer is free to choose to buy them, so what's the problem? Do I have it right?

I can't get my head around that, if that is what you're saying, so I guess the no-brainer is me.
> set the default format to .XLS and .DOC (not the X versions which are bogus MS bastardizations of XML anyway)

I don't like the proprietary nature of OOXML formats either, but why are the older formats like .xls and .doc better than them? At least I can unzip a .docx file to extract the media and get the text and formatting in a machine-readable structure, all without the help of an office suite at all.
It was criminal for way wait too long. If you look at the study of infectious diseases the aerosol transmission model has been discounted for way too long due to inability to “prove” it. If you can’t design an experiment to prove or disprove an idea that doesn’t make it automatically wrong. For example, the aerosol transmission model for influenza was flatly rejected for a long time, even when key scientists found it plausible and had some experimental evidence which wasn’t air tight. In covid’s case the CDC and other experts were grossly exaggerating their confidence that the aerosol transmission model was wrong. My partner was treating covid and in late 2020 after a lot of evidence indicated it was plausible, she still had infectious disease experts make fun of physicians for asking about aerosol transmission. They were grossly confidently incorrect about a theory that had no evidence on either side but had some plausibility (because similar diseases had aerosol transmission). Again, the way the community acted in an area of unknown where it was impossible to prove or disprove was very unscientific.

It was only over a year (with a lot of evidence) that the CDC said “aerosol transmission is maybe sorta kinda possible maybe”.

There are multiple ways to validate an idea, and sometimes you can’t design a blind rct. We know parachutes work despite never having proven it in an rct trial.
Ars also went downhill after the Condé Nast acquisition. The titles are more clickbait, there are more sponsored stories, the comments section was redesigned to amplify controversy and railroading, there are more virtue stories, ...

They even went as far as putting paid product placement for an expensive designer mask into one of their weekly early COVID19 updates, like it was some kind of lifestyle magazine and not ars/science.
It's actually worse, it's 26% for the larger businesses subject to the 30% rate which make up 99% of Google's revenue, when using their own billing system. It's a farce and Google knows it. (Similarly bull----, Apple claims their existing practices already comply with South Korea's new laws... which they definitely do not.)

The penalty for noncompliance is so low because the money is so huge, and nobody will go to jail, that they are going to pull every stunt in the book until someone has the guts to start shutting these companies down. By claiming they are complying technically, while obviously not, they force the government to follow up the legislation with a regulatory action, which then they can tie up in the courts for years.

If they complied with the law properly now, other countries would quickly follow suit. But if they can tie up the attempt for a number of years, they can all pad out their retirement funds before all the litigation is over and duck out before the stocks crash.
They show a simple one in the post

> In the example below, we build a model using the TF-GNN Keras API to recommend movies to a user based on what they watched and genres that they liked.

> The code above works great, but sometimes we may want to use a more powerful custom model architecture for our GNNs. For example, in our previous use case, we might want to specify that certain movies or genres hold more weight when we give our recommendation.
And transport. We already have an existing infrastructure for methane.
The day I realized the government and health officials are not telling me the full picture because they don’t trust me to act intelligently is when I completely stopped listening to their advice.
Pandering to China wasn't a particular priority of the US government at the time.

Is the idea that mask policy would make up for all the politicians calling it "the China virus"?
To be fair, that was at the time one of the reasons given for downplaying mask wearing.
Right, the fee isn't the using Google's payment system, the fee is for using Play Store. Or rather, 11% of it the 15% is.
Honestly typeorm and nestjs are pretty bad.