skysight-inc/HackerNews huggingface dataset:
I'm talking about the first, doesn't seems to hard to understand isn't it?

To me the move is like: "well now I've no way to do by business because my engineering and the core team is under bomb shelter, so lets ban the Russian customers because I'm pissed"

They can do that if they're happy with it, I'm with you on this.
Because they don't want to deal with people who are paying for the bombs falling on them, even if it's not those people's fault. They're a private company so they get to make such decisions. You can always go to some faceless IPO-d megacorp that doesn't care about anything except profits.
JSX doesn't have loops. When using React, you use regular not-React-specific Javascript tools to do loops and create lists of React elements.
anyone remember when RAND Corp got the patents for what essentially is the IPv4, despite every single discovery and patents being at UC as well? is this a regular pattern?
> The mechanism that enables code reusability is through composing components

If you think that this:

return (
<Apple>
{({ apple }) => (
<Slicer slice={apple}>
{({ sliced: slicedApple } => (
<DinnerPlane contents={slicedApple} />
)
}
</Slicer>
)}
</Apple>
);

is more desirable than this:

const apple = useApple();
const slicedApple = useSlicer(apple);
return <DinnerPlate contents={slicedApple} />;

Then go for it I guess.

Although you'd have to somehow ignore the fact that you'd end up with an even bigger mess if you want these intermediate functionality steps to interact with the parent component in a non-trivial way, ..

Needless to say, I have written such render-prop and "renderless" components in the past, and I see very little upside compared to hooks.
Wow, so the judge grants CVC invented CRISPR-Cas9 but grants it to Broad for reducing it to practice in eukaryotic cells. This feels really unfair to me. It is an essential step, but it's also a subset of broad application in what could be the most profitable area.
And the only solution India has here is to support a dictator who has committed war crimes in Syria and attacked Ukraine?

As I said in another thread: I believe that the government and policies of a country is a (very lagging) reflexion of the value of the citizens.
The preface was written at an odd moment in time when the UK and the Soviet Union were allied, for the simple reason that in times of war the enemy of my enemy (Hitler's Germany) is my friend. Two short years later the Cold War began and pointed criticism of Russia became much more palatable.

Meanwhile, it's 2022, and we're firing orchestra conductors because they're Russian and not denouncing Putin sufficiently vigorously.

https://www.theguardian.com/music/2022/feb/28/denounce-putin...
> That’s a lot of code to write for an auto-incrementing counter.

Is it though?

I mean I happily write more code for a single-page Vue component for something like this.

Terseness is not always a virtue.
As a side question, how similar is Putin's war in Ukraine to the numerous wars started by U.S. (say, in the middle East, Yugoslavia)? Are these fair to compare?

I'm trying to understand the scale of Putin's decision, not to justify it or engage in whataboutism.
On the second point, thankfully we now have the NIST password guidelines recommending against password expiration, so we have an authoritative source to point at when fighting back against counterproductive password policies.
> You're so quick. Yet people here complain it takes too long

It probably helps that they’re not in a country that’s currently facing sanctions thus able to quickly make financial transactions that will support the transfer of their domain. I could be wrong though.
The links you provide say nothing except something I already knew: there is a setting that tells Android to allow installing apps from unknown sources. Which proves... nothing at all.

It's obvious you're convinced you're right, but since you're unable to produce evidence it seems we are at an impasse. I'm done here.
its called virtue signalling. and it is indeed very shallow. this is going to cost them a handful of customers (that will be individually inconvenienced), but they'll get to launder/profit off this move of putting their foot down towards evil Putin. "That will teach him who's who!"
For those mentioning the price, it's worth noting that you receive games for free on the device. That's part of the package

From their homepage:

> Here's the truly unique bit. Playdate isn't just an empty system. Once you set up your Playdate, you'll start to receive two brand new games... every week. For 12 weeks.
>
>That's 24 free games, in lots of genres. Some are short. Some are long. Will you love them all? Probably not. Will you have a great time trying them? Absolutely.

Still expensive, but also only just. Especially given the hardware crank part which I definitely would want to be high quality seeing how much it's going to be used.

The only question I have though is what type of games will people be making for this before the novelty wears off? It's going to need games which are made from "crank first" perspectives if this device is to actually last.

So! To kick off a conversation here if it's not too late. What games would you make if you were developing for this device?

I'd probably make a couple

1. A skateboard game where the crank is the balance

2. A game where you control a tank/space ship gunner position and the crank is used for both reloading and targeting.

I can't think of any game right now where there would be a story where the crank mechanic is central to it. Curious if anyone else has ideas here.
So Google is balancing your privacy with their expansion. If something went to court Google could be what keeps you out of court, because unless there is an independent expert, manufacturers tend to become the defacto court expert and most of the time you are probably a tiny little cash cow for them and they like milking you.
The user positive use is securely booting to a password prompt to decrypt your data. Without this security working, anyone who steals your phone will be able to get all the data you have saved on it.
componentIsNotThatBotheredButStarSighStarIfIMust() { ... }
This looks a lot like my current favorite state framework (which yes is done by Facebook people), Recoil - https://recoiljs.org/

Your naming however reminds me of the RxJS and general reactive programming paradigm I've always pined after... some combination of the two would be my UI state management holy grail.
You might want to check stuff like virtual office service, incorporation in an EU country, they start really cheap, as well as getting a VPS to bounce from. And stuff like Electronic Money Institutes for at least some really basic banking.

Fair warning though, some of these things look rather shady so use some common sense and be careful with your local legislation (See MrDisposables response)

edit: To elaborate on the last part see what happened in Kazakhstan recently. Their outage lasted luckily only shortly but you might not have to think about only western sanction but also Russias distaste for VPNs as well as the possibility for having your internet cut. Sure Kazakhstan is a lot smaller in terms of internet infrastructure, but there didnt seem to have been a way around their shutdown. You are then only left with satellite as well as maybe coverage from the neighboring countries. Both getting really expensive with a devaluing currency and at high threat of sanctions.
It's a bit counter productive to shut down the people that is actually trying to help. Then there is only Putins views out there... That is exactly why the west did NOT shut down internet to russia, if we do that, there will be noone speaking against Putin.
You are extrapolating your own personal niche tastes to the wider market. This is obviously a mistake.

Personally I am happy you have devices that satisfy your needs. I also understand that the average person makes different value calls and that drives different choices.

Summing all that up as good PR is lazy and intellectually dishonest.
Exact same. Never eat before 11-12
I see this "Chinese production + Russian... (I guess just oil) = superior economic system" argument before, but I suspect these people have never opened a history book on Sino-Soviet relations. Because of decades of undermining and backstabbing, the trust between these two societies is pretty close to zero despite "communism". The only thing they really have in common is that they are both autocratic governments, so not exactly beacons of stability and cooperation. So the USD doesn't doesn't have to be the best, just the least worst.
Mi sasa! Spoken like a true belta pampa who is wise and seen many rotations. Nothing in life is ever simple.
I once looked into licensing some software from an English university. At the very beginning of the discussion, I was read a long list of domains where the software had already been exclusively licensed. Great! We didn't fall into any of those domains, next question. It turned out I had misunderstood, the list was for domains where THEY thought the software should be each exclusively licensed to a third party.

There were other factors, but it became clear it wasn't worth the effort trying to license from the university.
Maybe you should double or triple the prices for Russian clients and send extra to Ukrainian charities or the army. As a Russian customer, I would be sympathetic to this and would be happy to support Ukraine in this way.
You're phrasing it as if 'we're firing any orchestra conductors' but anyone with half a brain is able to figure out who that guy is and what are his past political involvements:

https://en.wikipedia.org/wiki/Valery_Gergiev#Social_and_poli...

So honestly, he can get fucked either way, regardless of how vigorously he's denouncing Putler.
Someone stole my Vita and my Switch is not old enough… If I can get this on Amazon it would be awesome (for pokitto)
How will this affect Jetbrains ?
Being prepared by storing two months of food and water has nothing to do with growing your own food.

If your municipal water supply is compromise, the last thing you should be doing with water is pouring it on the ground.
I stay away from PH. And I agree 100% with you.

A tool to create random colors? 500 votes.

NoCode platform for videogames really well done? 5 votes.
> Why are you concerned with long-term reduction of Russian war-faring capability? How is that relevant to this situation?

I’m concerned with all time scales in this situation. And I think steep economic sanctions can be relevant to all of them.

Whether you ascribe to it or not a lot of people (in the west, especially) have been jolted into now seeing this conflict through an ideological lens. That means long term strategic steps are being put into play. There is a lot more being considered now than just the short term, though I think most everyone also wants the immediate war to resolve with minimal loss of life — and I don’t see those twin goals as being in conflict at this point in time.
This is an IoT teaching tool that is designed to be gameable (mbed.org Scratch-type development, what looks like GPIO pins).

Looks fun but it's not the only thing of its kind.
'Windowless bunker': First reviews of Disney's $5k 'Star Wars' hotel are in
Putin launched a war against Ukraine in order to conquer it the traditional sense, ie to replace the existing government with his own government. The long term goal is for Russia to control this country's government.

The wars started by the US typically have the goal of establishing a democratic government. Japan is an example of a successful outcome. Iraq has a functioning democracy now. This policy is often criticized as "nation building." The long term goal is not for the US government to control these countries.
No need to remove the domains, modify the BGP routes.
Show me the treaty where Russia was required to pay back crippling reparations.
As u/amaranth pointed out, my gist predates the MSFT paper, which mostly explains why I didn't reference. Though, to be fair, I saw that paper posted here back in 2019, and I commented on it plenty (13 comments) then. I could have edited my gist to reference it, and, really, probably should have. Sometime this week I will add a reference to it, as well as this and that HN post, since they are clearly germane and useful threads.

I vehemently disagree with those who say that vfork() is much more difficult to use correctly than fork(). Neither is particularly easy to use though. Both have issues to do with, e.g., signals. posix_spawn() is not exactly trivial to use, but it is easier to use it correctly than fork() or vfork(). And posix_spawn() is extensible -- it is not a dead end.

My main points are that vfork() has been unjustly vilified, fork() is really not good, vfork() is better than fork(), and we can do better than vfork(). That said, posix_spawn() is the better answer whenever it's applicable.

Note that the MSFT paper uncritically accepts the idea that vfork() is dangerous. I suspect that is because their focus was on the fork-is-terrible side of things. Their preference seems to be for spawn-type APIs, which is reasonable enough, so why bother with vfork() anyways, right? But here's the thing: Windows WSL can probably get a vfork() added easily enough, and replacing fork() with vfork() will generally be a much simpler change than replacing fork() with posix_spawn(), so I think there is value in vfork() for Microsoft.

Use cases for vfork() or afork()? Wherever you're using fork() today to then exec, vfork() will make that code more performant and it generally won't take too much effort to replace the call to fork() with vfork(). afork() is for apps that need to spawn lots of processes quickly -- these are rare apps, but uses for them do arise from time to time. But also, afork() should be easier to use safely than vfork(). And, again, for Microsoft there is value in vfork() as a smaller change to Linux apps so they can run well in WSL.

BTW, see @famzah's popen-noshell issue #11 [0] for a high-perf spawn use case. I linked it from my gist, and, in fact, the discussion there led directly to my writing that gist.

[0] https://github.com/famzah/popen-noshell/issues/11
https://news.ycombinator.com/item?id=30510519
> But my router supplying DHCP and with info about where it should look takes guessing 3 minutes. And the NAS containing the actual files that the Pi should load is in a virtual machine that takes, guessing, 8 minutes for the hypervisor and VM to start.

And thats why people get paid to manage networked devices, if a contingency event occurs and the network doesnt come up properly, then its not setup properly.

Logical thinking is one of the things the RPi makes people engage in, not superstition.
Every detained person will not be able to keep their domain, while the ones not busy with activism have the time to transfer them.
Still on front page, but grayed
I'll point out the obvious: Ukraine is simply too close to home for many of us Europeans - they're our neighbors, colleagues, friends, we vacation in Kiev, they're our football rivals. We broadly share culture, race, etc.

Few of those can be said about Iraq which is far away enough to seem some sort of abstract topic.

So, having war at home (vs. in a newspaper) is completely novel for us and therefore unacceptable.
Fair to compare in what terms?

I think that in this case, multiple nato members think this makes Russia direct threat to them. You know, Poland is possibly next, because Russia always wants Poland. Eastern Germany used to be under Russian control too, what it means to Germans? Estonia probably sees themselves as target too. All satelite previously occupied by Russia republics. Russia is expanding again toward Europe and if Ukraine is easy, other European/NATO countries expect same treatment. If NATO countries further West did nothing, it would be sign that these countries will abandon others again .

Basically, Ukrainians fight for Polish, Slovak and what not freedom too.
This is my impression as an unhappy Samsung smart TV owner, despite being a happy owner of an older Samsung "dumb" TV; the reason I bought their crappy smart TV.
Top hosting providers for domain zone .ru
72K Rombank System (1987)
ctrl-v (paste on windows) command-v (paste on osx)
Me too. TypeScript is a disaster.
I would add the US did not unilaterally start the war in Iraq or Yugoslavia and definitely not the one with Japan.

In the case of Japan, the US rebuilt an enemy after they attacked the US without a declaration of war and made them an ally and trading partner.
Kreya[1] does exactly that. It stores all it‘s data in easy diffable text formats in the filesystem. Currently kreya is limited to gRPC. However, REST support should land soon.

Disclaimer: I‘m one of the creators of Kreya.

[1]: https://kreya.app
They're only empathetic enough to think of those in 8k years, not to those in 92k years.
Related: Odroid Go. It used an ESP32 and as such had WiFi + Bluetooth, but is discontinued.
Russian state disinformation 101 is projecting whatever they're doing to the other side. They want to flood the Russian and weaker-minded western spheres with conflicting reports of the same thing, wearing them down into helpless cynicism. Because that's all they can hope rather than actually convince them of the total opposite.
Scientists propose Tyrannosaurus had three species, not just 'rex'
Alchemix, Axie Infinity, Balancer, Aave, Pool Together, DyDx, Sorare.

Hundreds more too, I list them in most of these threads and yet every time, same question. The amount of people who confidently proclaim crypto does nothing useful without actually looking into the cool things that are happening is getting old.
Hi! I know this is completely unrelated, but hackernews has no PM functions, so I'm posting this here. Schoen, you posted a comment on here a couple of years ago looking for an English translation to a book on obfuscated programming. I could not find much info online about getting an English copy and I also really wanted to read it, so I threw a copy into google translate, and its surprisingly readable. Since you are one of the only people I could find online also looking for an English copy, I just wanted to make you aware of its existence. If you don't care about this at all, sorry for bothering you. If you do care, here is a link: https://obfuscationandesotaric.neocities.org/
Have a great day!
Samsung Encryption Vulnerability [pdf]
That would be true if all a react component was dom output. But since it has side effects (rest calls, mutating state, effects), rerunning everything is the wrong thing to do in almost all instances.
A big difference is that by and large, Ukraine has won the narrative. There are no "Ukrainian artillery: go fuck yourself" stories.

There's also no barely veiled threats by the US that we would nuke Iraq or Afghanistan etc. nor drop the ISS on them.
The wealth fund doesn't need "PR", as it's one of the world largest already (actually the largest, even surpassing Chinas and both of Singapores combined wealth funds) https://www.swfinstitute.org/fund-rankings/sovereign-wealth-...

Its making a point about a position it's held for a while; that it closely scrutinizes all its investments, a habit it's had for a while, and one it attributes to it's success relative to the nations small size.
How would that be newsworthy?
> "incorporation in an EU country"

Illegal, due to the "КИК" law, and, if I remember correctly, punishable by a heavy yearly fine (about $50K ath the current exchange rate).

> "Electronic Money Institutes for at least some really basic banking"

Outgoing transfers to foreign banks and electronic money institutions are now illegal, due to the yesterday's order that forbids Russian residents to transfer money to their own accounts abroad.
There are blockchains with low energy consumption profiles.

Ethereum for its part is turning off energy-intensive PoW around July this year, to rely solely on its energy efficient PoS Beacon Chain for consensus.
Or to remove the democratic government...
its not truly about creative work, its about creative work that sells (big).
Kevlar helmets and ceramic body armor is pretty standard.
Go for body armor that can take a hit from 7.62 rounds.
Body armor is heavy so most people prefer the ones that don’t have plates on the sides and over the shoulders as an compromise between weight and protection.

Isn’t it better that you give money to the Ukrainian military though, so they can get what they need? How will you even get the equipment into Ukraine now?
Indeed. Reportedly, Belarus and Russia have a third of world's Potash reserves.
If I remember correctly, they aren't incorporated in Russia (but I may be mistaken).
Oligarchs are the OG dip buyers

Bonus round 2 right before our eyes! assuming Putin doesn't nationalize stuff. Everyone else is literally helping you have diamond hands because you cant sell until the sanctions are lifted haha, which I mean, they will eventually. Undervalued, revenue producing assets aren't going to be ignored for long. BTFD.

Just assume that you're going to the front lines soon unless you have enough money to donate enough to an Ivy League school for admission and draft deferral, like last time. The people that couldn't afford have no lineage as their bloodline ended, and the people that could afford it are current politicians and Presidents on all sides and their genes and ideas do pass on. Makes it easy to rationalize taking asymmetric financial bets during a time when people think they don't want to talk about it.
"However, the President's authority as Commander-in-Chief is not unlimited and US law dictates that the attack must be lawful and that military officers are required to refuse to execute unlawful orders, such as those that violate the Laws of Armed Conflict."

Those laws are very very vague and like you said, it's possible someone in the chain of command could argue it's against the law since a nuke would likely cause collateral damage one way or another. I think it's technically incorrect to definitively say that the US president has complete and total control over nuking a target.