skysight-inc/HackerNews huggingface dataset:
Sleep sort only works if the time to enumerate the list and schedule timers is sufficiently small relative to the multiplier.

I think a correct implementation would be sleep(x * k) where k is a constant factor determined by the platform
While I think this is an interesting option to consider, wouldn't changing global DNS mostly impact users external to Russia? Would .ru still resolve inside Russia?
This is NOT collateral damage, these people are the actual target. Who do you think will suffer from this decision? Developers and it nerds mostly.
This is a bad idea as it will not only harm Russia. It will also break (possibly critical) services in other countries consuming a service hosted on a .ru domain (for example, a Yandex API).

Also I'm not sure how ICANN can contribute to revoking TLS certificates.
Seems like Putin prepared for this scenario in the last year or two? There were articles about how they were testing an isolated Internet scenario.
They don't and it's a huge reason why in my opinion innovation has stopped.

There's not a huge reward in doing that extra work.
I live about 1300km away from Kiev in Berlin. Any fallout cloud might head my way if the winds are from that direction. Putin is right now leveling cities with heavy artillery and massacring civilians at a scale not seen since WW II in Europe.

So, the chances are he'd actually use a small nuclear weapon to make the point that the Americans are not the only ones who get to level cities with nukes (Nagasaki, Hiroshima). The main point of those attacks was to bomb the Japanese into submission. It worked.

All of the obvious targets for a Russian nuclear attack are cities in the Ukraine. It doesn't have any deserts. It's not a NATO member and his issues are with the Ukrainians and getting the rest of the of the world off his back. Such an attack wouldn't trigger any immediate retaliation from any NATO country. A first strike on the US or NATO member on the other hand would be suicidal as it pretty much would guarantee at least a response in kind and probably more. However, taking out Kiev or a smaller city elsewhere in the Ukraine, would be a desperate move of course but he might get away with it and it would probably lead to capitulation by the Ukrainians.

If he goes there, most of Europe is going to be worrying about fallout. Chernobyl fallout is still a thing in some places. A full nuclear blast, even a small one, might produce a lot more of it. Scary thing that such a thing is even conceivable right now.
On Goodhart's Law and Boeing
The Ukrainian govt will try anything they possibly can and all props to them. But the rest of the world needs to be very very careful how we handle such a delicate situation.
Why would someone put in extra time to develop those when it's only useful on half of mobile phones?
Well, this is quite bad service. Only a week to transfer...
> India is poised to be the next "manufacturing hub" of the World

Not after this or at least not with Western investments.
Reconsidering Scott Joplin's 'The Entertainer'
The request to RIPE NCC is even more extreme, seems like that would completely cut Russia off any access to the Internet?
Is this verified?
If Russian ISPs continue resolving .ru domains, yes, Russian residents won't see any difference unless they have configured their routers to use a foreign nameserver (even that can be worked around as DNS is usually unencrypted UDP).
You have to respect Ukraine's hustle. It's the startup "fight to survive another day" playbook.
Anyone else seeing “Curious developers are known to seek interesting problems”?
anyone else seeing this odd tilt back effect before being prompt with "Curious developers are known to seek interesting problems. Solve one from Google?" when you google something dev related? i googled "dependency injection" and got it
Yes, to some degree, we know that brains work that way. It’s not a big mystery.

(What is a mystery is the exact way things are wired up, but not the building blocks, and not the general organizational principles.)

Source: I did neuroanatomy in med school (but am not a doctor).
I'd never heard of LegalEagle, but upon looking him up I see that we graduated from the same law school, one year apart. Perhaps I'll reach out! Thanks for the pointer.
> > Russia is absolutely a nation of hearts.

IMO, we (westerners) give too much attention to dictators and not to the genrally good/normal/peaceful majority living under their thumb.
Hmm, I guess you're right. Still, it doesn't seem like the same order of magnitude risk as fallout, civilizational collapse from nuclear war, or foreign invasion, and it's still much lower than the death rates from previous variants.

Presumably the people who aren't vaccinated are the ones who are choosing to take on higher covid risk because they think the vaccination isn't worth it.
However ICANN responds, other countries will be thinking about how to do their own "DNS stuff".
I hope your own country / city / office / home never gets shelled, so that you never have to learn the difference between caring for your home and a "double standard". Nothing easier than armchair demagoguery, until a grad shell lands in your daughter's bedroom.
You can turn off service workers and still access the website. Heck you can turn off Javascript and still make a ton of the web work.

Did adding location access, or Bluetooth access break the web for you?
>If you actually want to help Ukraine pick up a gun and go fight.

Killing people is better than inconveniencing regular folks?

Even if you were of that opinion and if namecheap ceo were to do that, it would most likely have less of an effect than what he just did.
The (DARPA) Quantum Network (2002–2007)
Given world powers don't want to defend Ukraine directly out of fear of wider war, it's hard to blame them for doing it, though it sounds wrong as a blank kind of shutdown. Targeting government and commercial sites that fund it is more like it.
The dreamy illustrations really stuck with me, and comforted me.
Tell HN: Product Hunt is full of shill accounts, paid upvotes and spam
Product Hunt was once a curated collection of interesting new products, shared to a small newsletter list of enthusiasts.

Today, it has become a pyramid scheme of paid upvotes, shill accounts, and rampant spam. And nobody is talking about it.

Have a look at Today's #2Product of the Day with 500+ upvotes. They are ALL sock puppet accounts, and most comments and upvotes within a short period of time.

The comments are all obvious astro-turfing, with names like "AccountHolder2". Most of the other top products of the day have the same problem. See for yourself here:

https://www.producthunt.com/posts/teyuto-2

Something is deeply rotten with Product Hunt. There are maybe 2 or 3 posts in the top products of the day that aren't full of utter garbage comments from fake accounts.

I shared a link to this before and it was marked as Dead. I'm assuming because the system thought it was promoting someone's Product Hunt launch rather than pointing out a huge failing in one of the most important communities online.

Most upvotes are commercially driven. It seems like something that could be fixed with reasonable moderation.
Here is everything you need to know about John Lakos and C++ at Bloomberg: https://youtu.be/E8EbDcLQAoc?t=3380
> Apart from these measures, I will be sending a separate request to RIPE NCC asking to withdraw the right to use all IPv4 and IPv6 addresses by all Russian members of RIPE NCC (LIRs - Local Internet Registries), and to block the DNS root servers that it is operating.

I can't help but think that this is a bit detrimental to average citizens. Am I reading this right? Wouldn't this essentially split the internet at Russia, and/or completely destroy the internet in Russia, by deallocating all IPs?
The gist seems to be from 2017 so it wouldn't have been able to reference that paper.
Benefit of Turkey is that it is big, has a powerful economy and defence industrial sector with it's own high-tech products (some of them arguably beating American let alone Russian ones such as ECM systems and combat drones), and most importantly, a large young population willing to fight. It is the last country to be expected to appease the enemy in case it is wronged.

Russia certainly doesn't have resources to defeat Turkey unless it massively uses nukes, so it won't try.

In a way, for all problems with Turkey, they are very useful for European security. They are a country that is geographically very well positioned to fight a defensive war from any direction, and at the same time poorly positioned to fight an offensive one anywhere but in the Middle East where it is already fighting (and which has little of value to fight for, anyway).
they get whatever they agreed to when they took the job.

which is generally very little, in exchange for a salary not conditioned on patent income.
We have 70 years of precedent already.

When nuclear superpowers invade another country in a proxy war, the other superpower is allowed to send military aid without threat of nuclear retaliation.

If that wasn't the tacit agreement then WWIII would have already happened over Korea, Vietnam and Afghanistan at least.

Honestly its a good thing we've got Biden in power since he's old and mellow and chill and won't be trying to act tough and make shit worse.

Sounds like it is about to get really horrible for the people in Kyiv and Kharkiv though.
It was one feature of a security package. I honestly don't recall the name. I should clarify that I'm talking about error messages one might see during login. Not system-wide/post-login error messages. Looked like an IBM login but got you into an HP.
Oh yeah. They would be already thinking about it and would have plans by now
There is a reason that when given a choice, nearly all European countries chose NATO over Russia.

We don't have to build a wall to keep our people in. Or our allies for that matter.
New JS frameworks always make for compelling hello world examples.

Can you branch on state or use loops over data in Solid.js? The reason _why_ React has a virtual DOM is to enable more interesting relationships between your data and your presentation. Anyone can make a framework that makes the source code for an incrementing number look pretty!

As an example of this point, check out the "Simple Todos" example for Solid.js[1].

In React, we render lists by using regular JavaScript idioms like loops, arrays, and array methods like map. However in Solid.js, much like traditional templating languages, we get a construct like <For> that reinvents a concept that's already in the language.

I've been writing React and React-alike code for a long time. I think that fine-grained updates avoiding reconciliation are a good idea, especially for performance. At one point, I built a React-like library for Roblox and Lua whose most novel feature ended up being "Bindings"[2], which look sorta like Solid.js state containers. They create little hot-path data dependencies, but the bulk of your components still use normal React-like rendering.

[1]: https://www.solidjs.com/examples/todos
[2]: https://roblox.github.io/roact/advanced/bindings-and-refs/
Simple Python script to add the colors of the flag of Ukraine to an image
Sanctions vs invasion is a false dichotomy. It presumes that either of those things will cause better outcomes than not doing them, and that these are the only two things that could be done.

The burden is on supporters of war/sanctions to demonstrate that these measures can be reasonably expected to improve the situation. By itself, "well we can't just do nothing!" is not a good argument for taking a specific course of action.
Yandex Stock Plummeted Before Trading Halted
Note that some of the food served in Germany counts as an act of terrorism, though.
Right. For some reason people get offended and lose their ability for rational thought if you mention this obvious fact though.

They'll rail against government corruption in the military industry, tobacco and alcohol, the healthcare industry (including the pharmaceutical industry pre-vaccines), private prisons, the energy industry. But mention that some government department or agency might have an interest in exaggerating or perpetuating the problem it is tasked with addressing, and suddenly everybody loses their minds.
Are we really taking pastebin as a source now? What did I miss?
Pine is in a league of its own by now, with the RK3399 and some of the other chips used in their boards having pretty fleshed out mainline support. I would personally consider them better options than a Raspberry Pi just based on software options. You can slap postmarketOS on a handful of Pine stuff now and get very up-to-date stuff.
If he's an American, he doesn't only have Fox News/CNN, he has his pick of any news outlet available to him (approximately all of them) while a Russian's media diet is literally regulated by the government (censorship online and on TV as well as violence against dissidents). What on earth are you talking about?
I think the issue here is that sanctions require usually time to really take effect. The government is already installed by the time they come. The dictators and their cronies are shielded and live lo comfortably.

The population is either brainwashed or brutally repressed when it complains (particularly eliminating leaders).

It’s hard to make a case for sanctions as the solution as there are plenty of counter examples: Cuba has been heavily sanctioned for over half a century and little has changed no matter how dire the situation gets.

I wish they worked for sure, because what other resources you have against a nuclear power?

Edit to add: also, sanctions have exceptions (usually to shielding the sanctioning countries from suffering consequences, as in this case with Russia and the energy related transactions, with the effect of keep that money flowing for Russia).

And these tyrants workaround the sanctions in many cases with the help of other nations.
Koala Paint, anyone?
Yes. The title should have been 'Instruments that measure radioactive decay are affected by humidity, more than was previously thought to be the case'. That is not surprising at all.
The goal seems to be cutting russia entirely off the internet
Admit to the Ukranians that they have been cruelly used as a cat's paw to prod at the Russian and there never was any "Western" intention to support them.

Make it clear to Ukraine that their only hope really is being a neutral buffer state.

Roll back the Romanian and Polish missile bases and the Turkish tracking systems.

Sign the USA back up to all the missile treaties that they have backed out of.

That ought to secure another 40 years of fragile peace in Europe.

Or we could just keep shoving weapons into the Ukraine. Wonder how that will work out? I mean weapons always make things better.
So Bitcoin?
OK, I'm writing something up and will share a draft with ATL, LegalEagle, and anyone else that folks here recommend!

Honestly the biggest blocker for me was that I assume blurring/redacting text from a video would be tricky, but I think YouTube might have a tool that blurs moving objects relatively easily. Or I could just include screenshots...
What was wrong with the class component? It was very understandable and predictable.
The point of sanctions is to be detrimental to average citizens (aka voters) so that they can put pressure on Putin. This suggestion has several other issues though.
I agree; I went ahead and read up on writing after this post garnered attention. My next post I feel will be better grammatically. Thanks for the kind way to get your point across.
From Bill Woodcock who first posted this email:

"In the short-term, this is a bad plan because it would cut the Russian man-on-the-street off from international news and perspectives, leaving them with only what the Russian government chooses to tell them. That's not a great way to decrease Russian public support for the war.

In the long-term, this would set the precedent that small industry associations in Los Angeles and Amsterdam would be playing arbiter in international conflicts, and messing with countries' supposedly-sovereign country-code top-level domains.

And if that were to happen, a lot more countries than just China and Russia would secede from the common-consensus-Internet that allows us to all talk to each other."

[1] https://en.wikipedia.org/wiki/Bill_Woodcock

[2] https://twitter.com/woodyatpch/status/1498472865301098500
Probably just Google trying to score dev recruits again. Clear cookies, kill advertisingId etc... if you'd rather not be bothered.
The case you’re slyly referring to was pretty much treason.

Imagine if today a US general called Russia to let them know we wouldn’t launch nukes if the president asked.

It would be all you hear about on CNN.
It’s starting to feel like the West is using this conflict as a proxy to implement China-like Great Firewall measures on its own populations. The “globalist” ideal that international commerce and communication would bolster peaceful relations is becoming increasingly farcical. I don’t think that I’ve ever visited a .ru domain name, so it’s not like this will affect me much personally, but sure seems like a weak and paranoid move to me.
That this is even possible shows that ICANN is not reliable enough for a global internet naming authority. I think the solution will ultimately be blockchain-based systems like ENS.
New Chinese hacking tool found, spurring U.S. warning to allies
I don't think I can agree with this as a customer. I mean did namecheap block customer from US (because of Iraq/Afghanistan etc etc), France (Africa) and other countries?

This is just cheap.
> The more I read on Reddit/Hacker News, the more I think there is brigading, trolls, sockpuppets that try to sway public opinion. Does Hacker News potentially have this problem?

See https://news.ycombinator.com/item?id=30479156#30489889 and the links it gives, including https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme... and https://news.ycombinator.com/item?id=27398725 .
What you said is plain wrong in most places.
Every time I see stuff like this

componentDidMount() {

I get driven away from React. It looks haphazard. Seriously? What about

componentDidntMount() {

componentWantedToMountButDidnt() {

...

I'm used to clean naming conventions like

void Component::on_mount() {
....
}
The twitter post still links to the pastebin. I'm not familiar with pastebin. The account is 9 year-old, but otherwise it seems we can't verify anything about it at the moment?
In the 1930s socialism was still a rather new experiment and the Soviet Union was a shining example of its success to most of the socialist and leftist elites. In fact the Soviet Comintern planted seeds for communist and socialist movements around the world. They were responsible for fueling many revolutions and civil wars around the world at a time where US foreign policy was isolationist and dealing with the Great Depression. One such tactic was to embed sympathetic agents into major publications like the New York Times and win public favor through propaganda and other disinformation. Walter Duranty was a journalist who won Pulitzers for his flowery depictions of the Soviet Union. So fast forward today nothing has changed and even though we are aware of it nothing will change. If anything the reach of bad actors is far superior than ever before. Reddit, Twitter, Facebook is full of disinfo targeted at both the left and right and also coming from official sources. It not just crazy anonymous accounts. Sadly, this will never change and I am not sure there is any antidote for these human flaws.
The jamming of UVB-76 is primarily done by pirates and is not new since the Ukrainian conflict. It’s been going on for many years.
Once TTLs expire this will presumably make all RU websites and hostnames inaccessible. Please correct me if I’m wrong.

The effect is ICANN deplatforming all Russian websites from the Web along with taking down SMTP/POP/IMAP servers, and much more.

This is the equivalent of remotely burning all books, killing the mail system and destroying all telecommunications in another country a half century ago. It is a drastic step.

If they do this, I worry about the precedent this sets and the power it confers on those able to do this.
> we get a construct like <For> that reinvents a concept that's already in the language

Isn't this optional? Can't Solid use regular JSX loops?
That's why sanctions are unjust.
An entirely relevant observation. The kinds of people that pretend the top tax bracket is 37.5% are the kinds of people that don’t understand payroll tax or sales tax.
Isn't that what a decent chunk of xkcd is?
> stick the last known location in the exif data.

You weren't the end-user in mind for this feature, it seems.
I also don’t like that the Russian people have to deal with the consequences of Putin’s delusions, but I can’t think of another option for governments and companies like Namecheap.

That said, I think you’re very wrong about this: “ People don’t protest when they’re struggling to make ends meet and civil institutions are weakened.”

I believe most revolutions are a result of “struggling to make ends meet”.

e.g. First example I could think of extreme struggle leading to revolution https://en.m.wikipedia.org/wiki/French_Revolution, another more relevant example where extreme struggle led to revolution https://en.m.wikipedia.org/wiki/Russian_Revolution, and history has a lot more (the US from the UK, India from the UK, the UK from the UK - i.e. the Magna Carta). Meanwhile, sadly history has almost zero revolutions where the population wasn’t suffering.

I’ll say again tho. This is me pointing out examples from history. I don’t like or enjoy that the world works the way it works.
"That’s a lot of code to write for an auto-incrementing counter"

In reality, you will never need to write an auto-incrementing counter :) React gives you a mental framework, you draw a page based on the state in a declarative way. The clever abstraction you make, the less you write the code, so it's a little bit pointless to compare it with an auto-incrementing counter application, in reality has no use case at all.
Technically you can't say with confidence that it did not happen, there's no actual evidence that it did not. That said, he probably got it the normal way (through the air) from his friend, or from whoever gave it to his friend. Not exactly related, but the WHO messing up with human-to-human and airborne transmission of SARS-CoV-2 is not something you want to happen again, so you don't want to dismiss things with the confidence the article does.
For all the innocent people across the world that just want to go along to get along while "us vs. them" thinkers close in from all sides, I just want to say that I empathize with you all. You're not alone.
i have used this in one of my project https://github.com/dosco/graphjin. While not directly comparable to hasura it does the job and is lightweight
Can't recommend the smooth experience, their hardened_malloc, and Auditor enough (what socially distributed security looks like!)
Cheap company, cheap move. You totally don’t get it. What a shame!
https://www.solidjs.com/docs/latest/api#control-flow

For reactive control flow to be performant, we have to control how elements are created. For example, with lists, a simple map is inefficient as it always maps the entire array.

This means helper functions.