skysight-inc/HackerNews huggingface dataset:
I fail to see the purity in react with all that useState, which obviously by the name is tracking state outside the scope of the function(eg: it's actually View = F() and data is coming from outside when calling useState).
It's not pure at all. I really would like to see something more akin to Elm, where all your state is explicitly passed into the component, and you have commands that update state and trigger the view again, making it actually "functional".
I guess this takes the form of redux in react, but I'd like to see it ingrained in the components themselves.
I have this, and it has a serious problem: the screen was built to be used in horizontal layout so the filters on it work well in horizontal but when looked at in vertical there is a VERY bad bading effect because the left and right eye don't get the same image.

It's basically unusable.

That said the injection plastic case is great, but the buttons are so flimsy they either push the buttons all the time, and if you trim them they almost fall out of the case.

The best option for small handheld microcontroller console is this: https://shop.pimoroni.com/products/picosystem

But the piezo speaker is bad.

And it does not have a mature dev. environement on Windows and no emulator/client unless you painstakingly consider blit-32 an option.

Also no connected features, so no multiplayer.

The .uf2 design is great for consumers but not very good for developers, we need some sort of filesystem.

That is the biggest flaw of the QSPI flash: it sounds great but in pratice it's VERY confusing. You basically need to hardcode what runs from flash and what runs from RAM, I'm still not sure how to do this...
The regime and supporters are also Russians. If it was just Putin, there would be no war. A lone, old, crazy man would be hardly a threat to Ukraine.
And yet when US military killed hundred thousand Iraqi civilians, much fewer people cared...

Propaganda works and CAN justify aggression in eyes of the people.
The Clintons selling Russia to oligarchs in the 90s and causing a drop in life-expectancy of 10 years in the male population
From the list of Putin's demands, what should the West has conceded on??
How about "increasing KM of shared borders" which is actually what matters anyway.
An important fact, that sadly is often not mentioned when discussing Orwell's most famous work, is that Orwell was a communist.
He even wrote about is experience fighting side-by-side with the Catalonian anarchist of the CNT during the Spanish civil war, in his book/journal "homage to Catalonia". He was part of the POUM, a communist but anti-marxist militia.

In the book, you can already see that he was very wary of the USSR. And after being almost jailed and barely fleeing Catalonia by the Republican, who allied themselves with the USSR and jailed and undermined any militia who was not aligned with them, his mind was definitely made up.

Animal Farm is definitely a critique of both capitalism and authoritarian communism (Marxism-Leninism and Stalinism at the time), the conclusion pretty much being that both system end up with powerful and rich people on top and misery on the bottom.
Yes, although Bangladesh' central bank was notoriously lax in their operation of their SWIFT handling. This was well known and a big reason why some of our clients would not use Bangladeshi recipient banks due to a lack of trust in the central bank.
My answer is: I wouldn't go out of my way to. For me, a nuclear disaster is pretty low on my list of scenarios, so it's not worth the extra effort to shield it.

Maybe the blast is further away, and the EMP isn't strong enough to harm your radio. Maybe while it's off without batteries the EMP doesn't induce enough current to harm the radio.

Maybe the EMP destroys your radio entirely, and you have a non-functional radio. Then you're not really worse off than if you didn't have the radio to start with.

For the transmitter: obviously nothing you can really do there to prepare yourself. Again it depends on where the blast is, and where the transmitter(s) are. Also, transmitters can obviously be moved around, so it's possible that the stationary transmitter near you is destroyed, but 24 hours later someone has set up a portable transmitter and started broadcasting (very likely for any disaster that has some semblance of emergency response after the fact).

And remember: this is going in your emergency preparedness kit, not your "nuclear blast" kit. Your radio is unlikely to suffer an EMP in the event of a hurricane, earthquake, extended winter storm power outage. In many of those scenarios, the radio would be useful for locating emergency response.

So, having a portable radio in your emergency kit isn't a guarantee that you'll have a portable radio in a disaster (it may get damaged in flooding, for example), but rather a gamble that in a disaster you'll have a 95% chance of having a workable radio.

I'm by no means an expert on nuclear blast survival, and what to do after the fact, but I do know that radios are a useful part of a disaster preparedness kit, that'll be useful in almost every disaster scenario.
Hey, I'm the actual author of the blog post, big thanks to aratob for sharing it and to all for the conversation.

A small addition: one of our advisors, Dr. Martin Loetzsch just shared for free the material he's teaching also at Pipeline Data Engineering Academy:
https://www.youtube.com/watch?v=8HlNG8bdlM0
https://www.youtube.com/watch?v=24Uvo5vZJWA
Nazi Germany wasn't stopped by any of those.
This code is less about knowing C and more about knowing vector intrinsics which are not standard C. The actual code is mostly straightforward constructs.
> An agreement was quickly reached on Hitler's terms

> Shortly afterwards, Hitler reneged on his solemn promises to respect the integrity of Czechoslovakia

> Today, the Munich Agreement is widely regarded as a failed act of appeasement, and the term has become "a byword for the futility of appeasing expansionist totalitarian states".

Giving in to the demands of the aggressor may "stop" the war for the time being, yes. It doesn't actually solve the problem.
In 2022: zero, unless you have relatives/friends from abroad who are willing to help. I'm mid-20s below-average Russian born and raised in a city with population of 19k (and declining), Ural region. Average salary here is around 200-300 USD, 400 if you are lucky.

I emmigrated in 2019 to work with an international startup in Montenegro: and ended up being ostracized and harassed by my manager from another country (won't point fingers to avoid unnecesary nationalism) on a cultural/ethnical basis; was forced to leave after a year and a half.

After that, in 2021, I was offered to come to US by a fellow colleague with Ukranian roots: worker visas were denied to Russian citizens at that point, and most of the embassies were either closed or worked in a limited capacity (also due to pandemic).

My last attempt (again in 2021) was to apply for PhD in EPHE institute of France (I have an MS degree in a programme related to medical tech, computer vision, and brain-computer interfaces): I got nothing in response.

Since then I have been holed up in my hometown. Another friend of mine proposed some time ago to come to Vietnam: but with the entire world openly opposed to my nation, I doubt that will ever happen.
Or it does reveal that Putin has no intention to have a war. Only wants Ukraine to surrender and sign something that says they will be neutral in the future and not join NATO
Most sanctions are aimed mostly at the oligarchs, and that is good so. But things have reached a point (and may be the sanctions started way to late), at which the whole population needs to be notified of what is going on and it needs to be made clear, that the whole population has a say in how things progress.
Are you seriously suggesting that the problem with Western policy towards Russia is that we didn’t appease Putin enough? That is, to say the least, a weird take.
> For example a flurry of setStates could be wrapped up in one single state. If it gets too complex - into a reducer

You've just deoptimized your app, and your whole component will re-render on every change.

> Components that don’t benefit much from splitting up could have their business logic wrapped into a context

You did it again. More unnecessary re-renders.

> it’s still performant and works

True that 'it works', but it's usually not as performant as you think - we just have really fast computers and phones now.
tbh I thought it would be a problem when I set up - <trillions of combinations of letters and numbers>@mydomainname.com - thats going to be a lot of email. It turns out that nobody knew I existed so didnt get all that much spam for years. Back then slapping your email on your site / forum footer etc was the way to get on the spam mailing lists.

Then along came web facing databases with no auth defaults, and you can have a billion active, in use email addresses with a living breathing human at the other end (and their username, password and dob) for free.
The purpose is well-documented here: https://reactjs.org/docs/reconciliation.html#recursing-on-ch...

And it also goes into why index is a poor key (it's basically the same behavior as with no key).

Using object identity to detect inserts doesn't work either, because the map function is returning new React element objects on each render.

Practically speaking if you know your items won't change, then omitting the key or using index is fine.
or you could just talk to your kids about it, spend time with them and help them find something more worthwhile to do
Thoughts and prayers aren’t going to do much when you’re getting beaten to death in the basement at Lubyanka.
It's not an opensource gaming console, but it's a microcontroller dev kit, that can also play games.

If you want a gaming console, there are many linux and android based handhelds that can be bought for $50-$150 all over the internet, and their main goal is playing games. This is just another "better arduino" in a case.
This is also the point of terrorist attacks: that the people will be so outraged when they learn about the terrorists' motives for the attack that they will rise up and "do something" about their government.

Americans can't be this shallow. This is ridiculous. THINK about what you are suggesting with these sanctions regimes. Sanctions are a crime against humanity, too.
Potentially yes. The question then arise: does it ever make sense not to add that keyword, and should you get linter/compiler warnings when it's not used? In which case, there will be little gain. My mind is not yet made up on this to be honest. I feel like it would be valuable, but it feels weird when I think about it some more.
(assuming that GP is not a fake – recall that in war, the first casualty is truth)

They're at war. Preparing to be bombed. Let's cut them some slack.

edit Realized that my comment was aggressive. Rewrote it a bit. Apologies for the first formulation.
F-Droid lets you downgrade apps. The only problem is that due to Android's security protections, you have to uninstall the app to install an older version (downgrade protection).
I would still rate it a magnitude below
https://en.m.wikipedia.org/wiki/Holodomor
DocumentFoundation suspends Russian company RusBITech from its advisory board
> How does SWIFT play with ISO20022, is that the same thing but different message format?

The "legacy" SWIFT standard , called MT, was (retroactively) made into an ISO standard itself - ISO15022. Currently it is expected to coexist with ISO20022 on the same SWIFT network for 5 years, no idea which % of traffic is MT and which is ISO20022 though.

So anyway - The SWIFT network can carry either traffic.

As to why the SWIFT is not replaced.... it's not _that_ expensive, if you're a bank, and there is a huge network effect: If all your friends (other banks) are on network X, you really want to be there too, even if you maybe don't like too much how it's run and its cost.

Additionally, it provides a lot of convenience which would be really painful to reimplement - and it would be massively antieconomic to implement it unless you can spread the cost over as many participants as possible (so you're basically trying to create another SWIFT - and there are already plenty of alternatives, though none with the reach and trust SWIFT offers).

Said convenience is, for example, delivery confirmations, ability to replay any message up to 2 months ago, guarantee of every participant (bank)'s identity, non-repudiation. Oh and extreme resilience, which doesn't hurt.

But this misses the main value proposition, which I perceive as the trust in the institution: they've been doing exactly this job for longer than I've been alive, they're a neutral operator, simply carrying everybody's traffic and being truthful about what passes through their pipes. If you send a message through SWIFT, you won't be able to deny that, and the banking community will consider you committed to what you wrote. If you denied that you did, SWIFT would be able to replay the message (even without your consent, if coerced by authorities). And they will not agree to "lose" a message you regret sending - their entire value to the banking community would go to 0 in a moment.

Finally, they're a cooperative - participating banks actually own a stake, and profits just get redistributed (more or less), so it's not like they are sucking an inordinate amount of money away from the banking system and keeping it to themselves.
i have a samsung phone for about two years now. it reinds me to update the system all the time, almost every month. i dont do the update now. i just ignore it, i dont need fancy new features. i love it not being that smart. i love it the old way.
I agree with the sentiment. I was just curious what the other commenter meant.
> Harvard filed first

UC filed seven months earlier:

https://genotopia.scienceblog.com/573/a-whig-history-of-cris...
The original post has some paid resources https://www.dataengineering.academy/pipeline-data-engineerin...

or you can also join our full-time/part-time course
https://www.dataengineering.academy/curriculum
By this reasoning, American citizens are responsible for the murder of millions of people in Iraq, Afghanistan, Libya, Syria, Pakistan .. Yemen.

I mean, fair game.
A particular example of why it's bad that you can't access all the data on your own device is the inability to audit security critical code. As a user, the only security guarantee you get is "trust us we are Vendor123" which means nothing.
Abkhazia and South Ossetia declared independence and stayed independent.

Crimea for some reason was annexed, despite leadership in Crimea wanting the same status given to two countries mentioned above.
Do Italian sabotage[0] (Итальянская забастовка[1]): execute all rules and laws as precisely as possible. It's the safest form of protest.

[0]: https://en.wikipedia.org/wiki/Work-to-rule

[1]: https://ru.wikipedia.org/wiki/%D0%98%D1%82%D0%B0%D0%BB%D1%8C...
What JS framework would you choose to work with big datasets like, e.g. a data grid with half a million rows that should have a "filter as you type" functionality?
Media and news looked a bit difference in 1992, and it was mostly seen as an civil war of the former Yugoslavia rather than an invasion force of one country entering an other country in order to capture land. It seemed to have more similarities with the situation in Northern Ireland than with Lebensraum.

Lebensraum really scares people. Religious conflict are concerning, but the French wasn't directly worried that the UK might go after them next once the Northern Ireland situation got settled.
European countries were pretty heavily involved in the NATO bombing of Serbia. You can debate the justification, but it's certainly not "live and let live".
Ukraine is both bad and good lesson for Chinese: bad, because nobody intervenes with an army. Good, because it shows what the consequences for the economy of the invader are. And the West should buckle up and prepare for retaliation - this is especially important in essential areas such as drug production. If China attacks Taiwan, it will set the clock back two decades or more, for everybody.
I think you are right regarding limiting English teaching to prevent the population from consuming "enemy" media. Definitely also happening in China where they massively cracked down on English language tutoring two years ago. Probably due to the governments ongoing effort to ramp up nationalism and spread increasingly improbable narratives about current events and history.
Free Software Is Inclusive
I wanted to do a firmware update over usb but LG requires NTFS for it to work so I gave up.
https://usiraq.procon.org/view.answers.php?questionID=000911
So SolidJS has this solved elegantly? It lets you choose between object identity and index, and it doesn't have that caveat for object identity because it knows what's going into <For> and not just what's coming out of it.

Don't omit the key in React unless you want warnings.
Note this works in both directions, in particular if you're a Yandex user (for example their free mail-for-domains service)
I mean are you really saying that italian mafia declares everything? Let's do mafias GDP then, let's see who has it bigger

(As italian, neapolitan)
This is true, especially Germany and Italy, and Germany in particular. Even now they're in the process of shutting down more nuclear power, to become even more dependent on Russian gas. It's idiotic and pathetic, really. I hope Scholz has more of a brain than Merkel.
I don't know about Mir, but UnionPay works just fine internationally in many places, especially in markets that cater(ed) to Chinese tourists many if not most merchants accept it. There's even UnionPay card-issuing banks outside Mainland China, for example in Thailand.
They won't be, though, even if we assume they should be. "Holding Russian people to account", on the other hand, is emotionally easy and relatively consequence-free.
It is not true. There was zero chance that Ukraine was going to join NATO. It wasn’t on the table.

Putin has explicitly told us why he went to war, and it is to do with reversing Russia’s territorial losses since 1991 or even 1917.
> People that are getting angry need to point that at the cause, their own government.

This is absurd in general, and more absurd in a pseudo-democracy where elections are rigged and the man in charge listens to no-one.

I understand from the thread that NameCheap has staff in Ukraine that are currently fighting for their lives. This is extremely tough for everyone involved.

But punishing Russian individuals who are on the good side of this fight is a knee-jerk reaction. It doesn't make sense and does more harm than good.
It is really incredible to see these terrible takes being proliferated as if they don't mean more bloodshed, turmoil and suffering.

It seems the lesson of 9/11 was not learned, and there will simply be more events just like it until Americans understand, they do not have the exceptional moral authority to get away with crimes against humanity and war crimes, if they're not willing to grant those same 'rights' to other nation states too.

Oh wait, they do grant those 'rights' to other nation states, its just a matter of whether those states have the moolah to keep American military industrial complex partners in caviar ..
Well, no, they are just controlling the whole line of delivery for the data packages; its not uncommon in critical infrastructure, that you have to deploy some special hardware stuff for whatever security reasons.

For sure, the typical HN-mentality is: "there is no security and since this a dumb bank/financial-service, they are just trolling and they dont know what they are doing" - no, let me tell you that you are wrong with this assumption: SWIFT is pretty secure and there haven't been any larger (successful) attacks on the network itself (hint Central Bank of Bangladesh losing 90m in a CEO-scam is not a problem of SWIFT, same for similar cases)
It looks like Namecheap has 1700 employees in Ukraine and an office in Kharkiv: https://www.namecheap.com/careers/ukraine
> How am I responsible? Should I buy a tank of gazoline and go burn Kremlin?

Honestly, yes. If that's what it takes. You're responsible not because it's your fault, but because you (collectively) are the ones in a position to do something about it.
Nazi Germany did not have VPNs. Information is there, so far. It's a personal decision to look at it or not.
Ask HN: Is it possible to create counter-terrorist consensus on blockchain? https://news.ycombinator.com/item?id=30510973
I don't wish to come within 100km of you as a pedestrian
I'd bet heat pump manufacturers are ramping up for their biggest year ever.
> Is peace not the highest priority?

No it’s not. Not if being at peace means being subjugated by a despot.

You’re a fool.
China buying their gas is a long-term effort, though, they can't just up and relocate gas headed west on a whim like that. The infrastructure isn't in place for it, and if they don't do it via pipelines, they'll have to do it via trucks which isn't exactly fast
We teach the difficult part at the Academy in a cloud agnostic fashion so you don't necessary have to suck up their marketing driven certis.

We don't see any new projects starting out with Airflow, Beam, Storm or Hadoop, so that's not a good choice for anyone, only if your plan is to keep horrible legacy stacks alive as a freelancer.
Star Trek fleet had actually excellent policies:

- "any contact to less developed civilizations is strictly forbidden".

- "do not interfere in any way and don't take a side in conflicts of sovereign civilizations".

Both of them were crucial. If we followed these principles, the world would be much happier and peaceful place.

What do we do instead? Bomb democracy into societies not yet ready for it, force trade agreements to detriment of less developed countries, incite and profit from wars that would either never happen or finish much earlier if we left those people alone.

If we were James T Kirk and Jan Luc Picard instead of Joe Biden and Vladimir Putin, we should not need to worry for the future of human species.
If they couldn't have ownership over their research, they would probably do something else.

In such case, how much potential is there for this to slow scientific progress?
don’t understand why comments like these are seen on hn,

is every american responsible for the countless deaths the US and their profitable war machine caused?

how about anyone living in [1]?

I safely bet the majority of people on this planet would prefer money spent on conflicts be invested in research, development, health and education.

[1] https://en.m.wikipedia.org/wiki/List_of_ongoing_armed_confli...
Will the current sanctions push Russia to withdraw from Ukraine?
Kind of sad that they removed the page from the website, honestly.
YouTube to block channels linked to Russia's RT and Sputnik across Europe
Do you think if this was the other way around people would complain?
The price of fish.
Maybe as a person living in the Baltics you need to endure the cold and not fund the Russian war machine through natural gas. An unfortunate reality really
> Chechnya war also was very close and nobody cared since they were mostly Islamic

Maybe USA didn't care. I remember, as a child, my Polish parents being glued to the TV, watching the situation unfold in Chechnya.

As far as I know, my country accepted quite a few Chechen refugees. Dhokhar Dudayev was recognised as a hero in Poland. We named a landmark after him.
Oops - I guess that needs to be better signposted...

If you go to the currency page in the dialog (where you're creating USD), there's a "Default Currency" dropdown in the main section on the right. You might need to close out of any currency you're editing, but hopefully it's reasonably prominent once you do.