skysight-inc/HackerNews huggingface dataset:
I'm somewhat skeptical of the article - I think it's not entirely accurate.

This is not a good example for a global counter:

static mut DATA_RACE_COUNTER: u32 = 1;

fn main() {
print!("{}", DATA_RACE_COUNTER);
// I solemny swear that I'm up to no good, and also single threaded.
unsafe {
DATA_RACE_COUNTER = 2;
}
print!("{}", DATA_RACE_COUNTER);
}

because there are safe APIs for this:

static DATA_RACE_COUNTER: AtomicU32 = AtomicU32::new(1);

fn main() {
print!("{:?}", DATA_RACE_COUNTER);
DATA_RACE_COUNTER.store(2, Ordering::Relaxed);
print!("{:?}", DATA_RACE_COUNTER);
}

Two examples are actually presented about global mutable state, and they're both unfit.

Also this:

[the linked list] will at least require a Rc or Arc to work.
But even this becomes cumbersome quickly, not to mention the overhead from reference counts.

AFAIK accessing an object via RC has no overhead per se (RCs introduce overhead when they're manipulated). Even if it had, it should be verified that the overhead has a measurable performance impact (which is something that can't be generalized).

The point about array initialization is fair - custom initialization requires unsafe code (or a crate) - but it must be considered that it's a performance optimization.
You are living in the past. Latency to Stadia servers is 20ms. Much faster than anyone can react.
The idea that any and all cost increases to businesses are directly passed on to the consumer is overly simplistic, and would logically mean that we should never make businesses pay for anything extra ever.
> The problem started a decade or so ago with Node.

What problem, specifically? People enjoy writing Javascript. It has a ton of fantastic resources online, it is easy to debug and deploy, it's quick to pick up and forgiving of mistakes.

> Too many people only learn JavaScript, become psychologically dependent on it

You sound like Immortan Joe warning people not to become dependent on water in Mad Max. Let people enjoy the language they enjoy developing in.

> they all collectively took it too far outside of a browser.

What does this even mean? What's "too far" even mean? People want to write code, let them?
I don't give them any of that. They ALREADY know what they think it would cost them to get into your space. They figured that out long before they called you and talked to you. That they called you means one of two things; Either the number they came up with was large and so they are looking to see if they can get a discount by buying something, or there are some employees in your company they want for their effort.

This litmus test will tell you which it is. If their number is reasonably high, they know it will be hard to get into your space. If the number is low, they just want to poach employees.

There is zero value in talking to them without a number you like on the table. You must defensively reduce the information asymmetry in any way possible.
Yes. It's like a psychological Rorschach test. You see in the cards what you want to see. The cards help uncovering psychological stuff you mostly already know. It's really amazing how far you can go there.
Those apps (assuming they aren't indie) will almost always try to communicate with the Steam client. There are hooks which automatically run Steam if it's not available.
Show HN: Tik Tok Txt Remix Ft SSS (New Style Weblog)
Try using Array.from(arrayish).forEach() to convert the thing that looks like an array to an actual array. For instance, you can't use map() on a NodeList (document.querySelectorAll returns a NodeList), so you have to use Array.from(NodeList) to first convert it to an array.
Maybe in principle. But Steam is Valve's cash cow and very unlikely to be cancelled anytime soon. Stadia is a Google product.
The addressable market for stadia right now is vanishingly small compared to the market for every other platform. What proportion of gamers live in an area where it's available? Is it even a double digit percentage? I doubt it.

Even if Google absolutely nailed the marketing the usage would still be far too small to justify the outlay. Unless Google invests massively in expanding the service it will die. There's just no way to make the numbers work.
Never is pretty harsh. On my current internet connection with 20 ms to the first hop, yeah, it's not ever going to be good. If you use a low delay, high bandwidth codec, and restrict to users with enough bandwidth and sub 10 ms roundtrip, the customer base will be tiny, but the experience would be fine. Helps if they don't use wifi, or at least have a good rf environment.
Honest question: Have you actually tried Stadia? You have a lot of assumptions and theoreticals in your post, but for all of Stadia's shortcomings the streaming tech is _incredibly_ good.

A ton of people will run mental calculations, assert it must add at least x ms of latency so it can't possibly work, but just try it. It's free. It works.

I have been PC gaming for 25 years. I have a $3k+ rig with a 3080. I'm very attuned to input lag and fidelity. Is Stadia as good as playing locally? No, of course not, but it's far far better than I imagined it could be. You might be surprised.
It shouldn't be being collected. Fleet vehicles may have an excuse, ones sold to non-fleet buyers should not. J
ust because you can chuck some memory, a processor,and an antenna into a car does not mean you have the right to the data stream from that car post-purchase. Especially given the fact that in the U.S., Third Party Doctrine basically negates a Constitutionally guaranteed right. (4th Amendment).

A manufacturer does not have a right to post-sale telemetry. They never did, and the only thing that has given it mainstream acceptance is the public's lack of vosibility and understanding of just what it meant was enabled byadding a few key circuit boards to complex equipment.
We will likely have to take care of low skilled individuals who can't do a job better or more economically than a robot.

Not since the Reagan era. That's why there are homeless camps.
That is very cool. I hadn't seen this update on the stage0 project. Didn't realize he got a working example all the way down to the hex monitor already!
Promoção Sumup tem o menor preço de do Brasil
A empresa Sumup tem o menor preço em máquinas de cartão no Brasil e tá oferecendo frete grátis para todo o Brasil. Para quem quer comprar máquinas de cartão de crédito por um ótimo preço vale muito a pena.
> The argument against racism/sexism to which I subscribe is that individuals within all populations vary so dramatically between one another, and individuals from every population seem to be capable of manifesting virtually any set of characteristics, that evaluating people as individuals rather than assuming traits from their respective populations is far less error prone.

But that argument concedes populations are different [1]. How does it counter those that say protecting these differences is legitimate?

[1] https://dienekes.blogspot.com/2010/07/more-uniform-sampling-...
Unbelievable that this is voted to the top on Hacker News. The comment literally gives not one concrete example or reason by JavaScript is "bad". I'd expect more from you all here.
> The async/await keywords are here to save you from callback hell

but does it?
No, interactions - like, discussions - with people from other countries is, for most people, a minority of their overall interactions.
Couldn't agree more. I started in this field as a javascript programmer. I've since expanded my toolkit to include typescript, elixir, plpgsql and now gaining proficiency in rust.

I'm continually frustrated by my colleagues refusal to step outside the javascript ecosystem. Don't get me wrong, JS certainly has its place but its not ALWAYS the best tool for the job. I see a lot of people reach for node as their go to backend tech choice simply because its the ONLY tool in their toolbox.

Unless you're building a small focused microservice where the functionality involves calling out to a library with working tested code that does what you want, I think node is honestly a poor choice. To qualify my statement, I spent the first 7 years of my professional career building software with nodejs.

The sweet spot is much smaller than the scope of projects people throw at it.

* quick MVP? rails has more libraries that are drop in.

* Performance? go and elixir have node beat for multicore perf

* websockets? compared to phoenix channels, everything in node for serving websocket apis are a toy.

Lambda functions though? yea nodejs kicks but there!
Azure Static Web Apps GA
> Simply that it was pretty unique at the time to have that right enshrined in the country’s constitution

Having a set, non-nebulous constitution at all, was unique but the claim that trial by jury “ a pretty unique thing about the American system of checks and balances” is false, it was a well-established basic right in the common law system and the deprivation of it in the colonial administration was a fundamental grievance of the American independence movement not because they had some novel ideas about basic right but because they sought it as a deprivation of the rights they saw themselves entitled to in the British common law tradition.
> That is a neologism that exists to prevent people from thinking.

No, it's a neologism that intentionally points out that there is a bias towards moderation that assumes that the more central a position is, the more right it is. People prone to this bias are more easily manipulated by changing the framing of a question, and trust people more who scrupulously avoid consistent positions.

e.g. If Jewish Russians are trying to conquer and run Russia for their own pleasure and to avoid work at the expense of non-Jewish Russian death and suffering, attacking them is self-defense. However, if attacking Jews is wrong, then they can't be trying to take over Russia to oppress non-Jewish Russians. Maybe we should just have a little pogrom, or a special tax.
I think this is good. Any free resource is bound to be abused and overrun with spam and trolls. If you have to pay to use it, a lot of this becomes disincentivised. Free to read, pay to post, it's perfect.
and Kosovo
Thank you very much for this comment.

My problem with modern scientific publications is that they focus more on the "discovery" instead of describing the logical rigor as to why their "discovery" could be true or false.
To all complaining that twitter is full of hate. Have you ever tried using twitter without the search feature, or clicking on hashtags? I'm following a lot of interesting people and I find the content fascinating.
After ~220K tweets, and the feeling that Twitter manipulates the follows/retweets along ideological lines, I find it hard to care much about the service.

While a technically impressive site, @jack has long since stabbed any user loyalty in the heart.
not sure if there is math to back this up. a regular multiplayer FPS already sends and receives a lot of data. there is always some lag. you could say at least the input lag is 0 but for multiplayer it's not exactly true. the server is authoritative and it might revert your movement or decide you didn't shoot where you think you shot, etc.
Typically the debate is between running two competing functions.

One group's essentially takes the outcomes produced by two different populations, and takes any differences as sufficient evidence that the systems themselves are biased towards one population or another. Implicit in their argument is that the populations serve as identical inputs. This is the argument of the Ibram X. Kendi/Robin Diangelo, collectivist/CRT types of the left.

The other group's essentially says that outcomes produced should be proportionately relative to inputs, and consistent between individuals such that comparable inputs produce comparable outputs. Implicit in this argument is that race and gender are almost never relevant inputs to any outputs, such that two individuals with comparable inputs aside from race or gender should be expected to net comparable outputs in most circumstances. This is the argument of the individualist/liberal types of the right.

How I personally classify these problems is that the first solution is "bad code," it's a bad diagnosis and produces bad solutions. The second solution is "good code," it would produce a just and stable system. However, the second solution ignores "bad data" which is already in place, whereas the first solution implicitly picks up and addresses the bad data as the bad data will largely contribute to the different outputs. And what I mean by good code vs bad data is that previous "bad code" (i.e. procedural systems producing outputs from inputs) have put individuals from different populations in unequal circumstances. So while the system I described as being the better of the two for producing just society is better at actually serving as the basis for our procedural systems, it is insufficient in addressing the "bad data" which is already in place, such that people from different populations, and individuals in general, are given such drastically different starting positions, that it doesn't matter that their inputs are going to net them proportional outputs so long as their inputs were so dramatically hampered from the get go.
Yes, and it what a much better experience than companies where I had to watch people make the mistake of thinking that BigCorp's interest was based on the quality of the CEO's talents and wasted months doing due diligence which did nothing but slow us down.
The secret lives of Instagram 'it' girls (2018)
UBI only sounds good if you don’t understand human motivation and game theory.

If 10% of the population doesn’t have to work I can justify I’m helping those in need. If 70% of the population doesn’t have to work there’s zero chance I’m working.
I've heard that Microcenter is a good option. They seem to be the best bet right now for things like GPUs if you go on the right day (with a bit of luck).
Why does all this stuff have to change so much?
> Yeah, the industry just seems not to have bitten

Assuming that the industry would do all of their work for them, and that 99.99999% of the responsibility lied anywhere other than Google themselves seems like a very Google thing to do. It is, predictably, the kind of arrogance that begets a (perceived to be) floundering product like this.

The system launched with a pitiful fraction of the features they advertised that it could and would do. It launched with many important questions unanswered - often purposely, because everyone already knows the answers and those answers are bad and answering them could only hurt Google further.

It still lacks many of those features, too.

The story of how their reveal event's gaming history display case came to be - the one that showcased several great failures and blunders in gaming history, with Stadia as the next in line - is an excellent microcosm of the kind of decision making that went into the Stadia project as whole.

EDIT:

> But... the big studios don't want it because they don't want to lose control of distribution.

There have been many games on streaming services that did not make their way to early Stadia. Many that may still not be on Stadia - I haven't done the research lately, so I can't say.

Moving to a pure streaming solution - one where they don't have to provision and manage the hardware and all that sticky ugliness - is an absolute dream for many game publishers. Console hardware control is a small part of that dream, and it's less important than the rest. Stadia very well could have been the mass-accepted vehicle that delivered on the rest of that dream, had Google executed well.

To this day, I'm still astonished that they've dropped the ball, the slam dunk, this hard. They're limping along when they very well could have had their revolution, had they done a better job.
Much smaller differences in latency have been shown to be relevant to competitive FPS (it's not necessarily absolute reaction time but relative to your opponents that matters). That said it's unlikely to be entirely the decider for a lot of people. Also, that kind of latency is basically the best case scenario: when you factor in a not-fantastic internet connection, location, and wifi, the user experience could still wind up quite poor in a lot of games (and it's not something which all players are going to notice consciously, they're just going to feel like the game controls worse).
Testosterone has been shown to not induce agressivity though.
She didnt put money into it. But she was just as excited about blockchain ideology as I was and I would just be the second prophet she was exposed to. It is impossible to discern the difference when religious-like ideology has already occupied that register in your brain.
https://thetruesize.com/ is a way better interactive version.
One Reasonable Adult Called Larry Elison
One of the strangest feelings I've had is flying from Amsterdam to Johannesburg. It's a super long trip and so mentally I was expecting jet lag. But there was no time change. The season flipped but the time of day was right in sync with everyone back home in Budapest.
> the new shiny thing that’s too immature for production use

Both Android (e.g. Jetpack Compose, new privacy centric storage APIs that we are now forced to use) and iOS (SwiftUI) have this. I guess we'd need to list them down and compare.

> iOS SDK is both generally more capable

Yes, Apple provide more higher level functionality, at the expense of flexibility. Android also provides higher level features, but these are provided in external libraries which you can package in your app. When it comes to auxiliary features though (e.g. machine learning), I think Apple does the high level APIs much better. Android's features are quite a bit buggy.
Sudo monospace font updated with proportional UI companion
The only reason I'm using node.js is because I can do this:

let num = 0;

route('/url').post(data => num++);

What other languages can I do this in that are better? I simply want to have a variable I can access and mutate from inside closures and let it live in memory without the need for databases or file systems.
idk why people mentioned Next.js which is more Front End framework than Back End, but no one mentioned Nest.js. It is not old as Django but I think Nest is nearest framework to RoR/Django in Node.js
I don’t find this article especially convincing:

- I am entirely unsurprised that starving a random group of people for 6 hours led to overeating at a buffet but I’m not sure this result can be extended to mean that IF doesn’t work.

- he does say that there is evidence that there are studies that it works in the short to medium term, implying but not saying that it doesn’t also work in the long term.

- he conflates IF with all other dieting and then refers to studies that say dieting doesn’t work. That’s crazy broad. Eating within your calorie budget with the right nutrients is also a “diet” if you want to stretch meanings.

- mentioning IF as a cancer treatment up front is a little disingenuous. Presumably there are folk who ascribe a great deal of benefits to IF that should be treated with some scepticism and that’s ok. If all it does is help some people manage their weight, awesome. It doesn’t need to also treat cancer.

- it’s great that there is evidence that regular meals and CBT-E works. Doesn’t mean other things don’t.

I’d like someone to do a study on the impact of articles like this. Any kind of eating discipline is entirely mental, so if you’re going to create doubt, it’s probably a good idea to be careful with your arguments.
Makes the phone virtually unusable if you’re not familiar with voiceover gestures
Intermittent fasting does not equal caloric restriction. It is only an arrangement on when you eat, not how much you eat.
Professionally, I do embedded and robotics, but once a year I find an excuse to create a simple web application (to stay updated). Every time, I get impressed by power and simplicity of the web technologies in general. In JavaScript those are things mentioned in the article + WebComponents. For CSS those are flexboxes, grids, and animations. In my opinion, React made a revolution with hooks and contexts. I love the direction in which the web world has been going!
Probably because it's trying to convince you that Africa is really huge, so including other really big countries would be counterproductive. I guess you could argue that Canada and Russia both have a lot of tundra that no one wants to live on so that land doesn't count or something.
Runj: A New OCI Runtime for FreeBSD Jails
The only judgement I made was to not read the whole paper. I read up until the paper stated that classifying sex based on retinal pictures was unlikely to be clinically useful. At which point I lost interest.

Why wasn't the ML model and clinician classifying something that actually is clinically useful?

If it has no clinical significance, what's the relevance of the classification of the clinicians?

How is it any more spectacular than beating a random classifier?

Had these points been addressed at this point I might have continued reading
Forgot that last point, a good dispute mechanism is absolutely needed
Isn’t the bottleneck there the core software being proprietary? I think even verilog (which is quite old) doesn’t have a mature FOSS compiler+IDE.

There are also probably not that many hardware designers in the world?
We are the SpaceX software team, ask us anything: SpaceX
Africa has so much sand that it could cover the whole Sahara desert and then some.
Someone should offer this personalization as a service. I’m sure it’s easy to purchase all the necessary PII
What about recurring customers? Clearly this is not the only difference.
Please don't post flamebait or call names in HN comments.

https://news.ycombinator.com/newsguidelines.html

Edit: we've had to ask you more than once before not to post flamebait and/or unsubstantive comments to HN. Would you mind reviewing the site guidelines and sticking to the rules when posting here? We'd appreciate it, because we're trying for something a bit different here.
Some larger clinical trials do exist, but they are not getting published. This section of the video below discusses how a moderately large (n=600) prospective randomised controlled didn't even manage to get to the peer review stage in the major journals.

https://youtu.be/byFEU1A5MRY?t=2756

For reference, Dr. Pierre Kory testified to the US Senate about how steroids can save lives back in May 2020, when everyone else recommended against it at the time.

https://www.hsgac.senate.gov/imo/media/doc/Testimony-Kory-20...

Just in the last 48 hours, an Ivermectin crowdfunding campaigns for Ivermectin research by Dr. Tess Lawrie just got whacked without explanation.

http://web.archive.org/web/20210427180730/https://www.gofund...

https://twitter.com/EvidenceLimited/status/13934964456264867...

Regarding the dosage, FLCCC publishes a prevention and early outpatient treatment protocol:

https://covid19criticalcare.com/covid-19-protocols/i-mask-pl...

If you're interested, you can watch the full video where Dr. Pierre Kory discusses how financial interests has systematically corrupted the health and science fields.

https://youtu.be/byFEU1A5MRY
The question can be solved trivially easily by just using a big-hammer approach of banning any transfer of personal information to US, period. There are no reasons for allowing the transfer to happen, other than making it easier for Facebook to make money. FB would implement it by only storing interactions involving any EU nationals in EU.

We do want to make it easier for Facebook for political reasons, though, and it's still not particularly hard: just declare that only the data/conversations involving US citizens can be stored on US servers.
> Try using Array.from(arrayish).forEach() to convert the thing that looks like an array to an actual array.

Spread syntax is my goto for that:

[...arrayish].forEach(...)

But, it being JavaScript, there’s probably a subtle distinction in where Array.from(arrayish) works and where [...arrayish] works.
You can do that with Rust too if you want to live like it's still the 70s.
Rog-O-Matic, Game Playing Program