skysight-inc/HackerNews huggingface dataset:
I guess that's an thorough way of saying "The problem with building a library is supporting all the use cases of a library, not solving the simple underlying problem". Sure, you've got BLAS level performance on this one CPU, but you've literally hard coded stuff according to the exact cache size of each of your caches and the exact low level ISA extensions your CPU has. I think it would have been far more interesting to take this and then put it on a Threadripper to see "Given I've optimized the hell out of this for one CPU, how portable is it".
Intrinsics-heavy code does looks scary because you see tons of weirdly-named functions with no clue as to what they do.

However, you can learn the basics in an hour, and read/write small amounts of code (like in the article) very quickly. The trick that you don't learn all those functions, instead you constantly use the amazing interactive guide:

https://www.intel.com/content/www/us/en/docs/intrinsics-guid...

I guess real pros do memorize the API of course, but I have written many (<1000) lines of intrinsics code like this.
Interesting. I can open it fine. Here's some relevant text:

> So, I will start with the fact that modern Ukraine was entirely created by Russia or, to be more precise, by Bolshevik, Communist Russia. This process started practically right after the 1917 revolution, and Lenin and his associates did it in a way that was extremely harsh on Russia – by separating, severing what is historically Russian land.

Read the whole thing. If you're going to defend Russian policy online you should have a clear idea what you're defending.
While I mostly agree with that sentiment, please go look at Russian history. The past 20 years were probably the longest stretch of time when the Russian society was able to live a relatively decent life (by ex-USSR standards, however terrible it is by Western ones) for the past few centuries.

That's (I think) is why almost nobody was willing to 'rock the boat', as the Kremlin Führer says. Now everything is going down the toilet and most of the society haven't yet realized whet they're up for.

It's easy to criticize others when the worst thing your country has seen is the civil war 300 years ago. Russia went through 3 arguably even more serious events in the past century only. Nobody wanted to risk the little peaceful life they had, and still everything went down the drain.
Let the politicians play politics. It's bad for business when companies decide to do that. Namecheap might have only a handful of Russian customers to afford to do that, but this won't affect just them. It will affect everyone else who will now think twice about trusting their business with Namecheap, because what's stopping Namecheap to do the same thing in the future but for a different reason? Once you cross the Rubicon, there's no going back.
Thanks. We recently added a blog post and updated the documentation to help developers understand our module/package approach to reduce bundle size https://blog.ag-grid.com/minimising-bundle-size/
If it cost $4 to build and was at all practical to use, the claim that it is odious to do so would make no sense. As we're led to believe it does make sense, I have trouble believing it costs $4 and that it is practical to use with such a budget.
> It may be better to ask yourself what does await do?

Yes, probably that's something that slips me too.

> It is easy to understand for us what come back means, but how to express that in an language? First attempt was with callbacks - node would come back to whatever you put in the callback.

I feel like I have to even understand what NodeJS does when you give it a callback function. So, how the asynchronous model works in a pre-Promise, pre-async/await world? And then when the loop is notified from epoll that a response came back, it goes and executes that callback function with the data?

Is that why they say that in async, the state is spilled all over the heap? Because the original function that issued the HTTP request and provided the callback, returned immediattely, and that callback function had to be allocated somewhere on the heap so that it could be executed eventually when that I/O was complete?

Does NodeJS uses epoll to ask to be notified when a response from a TCP socket comes in, and then puts the callback function in some kind of internal queue (the one that the event loop consumes from?)?
Title is misleading, Upwork is only blocking people in the “so-called Donetsk People’s Republic (DNR) or Luhansk People’s Republic (LNR) regions of Ukraine”.
Satellite giant Viasat probes suspected broadband cyberattack amid Russia fears
> I think recent events send a message to China that Western countries are perfectly willing to act against their own interests purely to punish a country that steps out of line.

That's the point. The sanctions EU is imposing on Russia are getting very serious, so even without any military threat involved, China would think twice before invading Taiwan. Also I believe some countries already working on alternatives, which of course is a very long and costly process, but better late than never.
Everywhere where there is incentive difference there are problems.

Why would anyone go on producthunt and browse new products? When I need something I google. But having a vanity plate on landing page "product of the day" gives social value, so product creators abuse the system.

Same thing goes for reddit reviews. If you go to any subreddit multiple times a day someone would ask for a recommendation. Normal user might spent 5 seconds answering "I use product X. Its good". But if I am a marketer in firm making X, I can write long, seemingly unbiased overview, then mentioning X is best. I get paid to do so.
My apologies. That kind of organisation has got a very poor reputation, for funding reasons. I did not know much about this one, and it appears that the assumption was not accurate in this case.
Honestly, the middle east could have gotten better, there was a possibility that the dictatorships would get replaced by proper democracy, I think the US didn't realize how far down corruption and authoritarianism were rooted in those countries, it is like a Hydra, cut one head, many more grew.

For example, Panama, Chile, Germany, Japan, South Korea all turned out better after US intervention. But Afghanistan, Iraq
and Libya got worse.

It is tough to choose the lesser of two evil, when you are in a democratically free country, you do wonder if the opportunity shows up, should you go help others overturn their dictator, and if so, will they then be able to establish a free democracy or will that just replace one dictator with a worse one? But what also happens is the fear, that if more and more countries lose freedom and democracy, and become dictatorships, then countries in free democracies get scared that they will be next, which tend to push them to act and try and overthrow other dictatorships when the opportunity shows up.
World’s biggest crypto exchange refuses to block Russian accounts
South Korea and Japan has a history of changing a ruling person by non-election means. It's the only thing that matters for stable democracy. Ukrainian and Russian situation is very similar. Propaganda poisoned people and there are no enough free minds to stand against Putin.
I think that by non-optimized the chart refers to not hand-optimized. The code is likely still compiled via -O3.

In theory the GCC is capable to do all these optimizations, even loop tiling, vectorization and autopar as it indeed has a polyhedral representation of loops. In practice it might be another story of course.
You probably want to look at the kernels themselves: https://github.com/HazyResearch/blocking-tutorial/blob/maste...
NATO members can not risk drone striking Russian territory due to the risk of a nuclear war.

Without nukes Moscow would be under heavy bombing right now
Almost all banking systems divide into "clearing" and "settlement". There is an assumption that, like internet peering, the flows will roughly balance. So at the end of the day if there's $10m in one direction and $9m in the other, that gets settled as either a $1m transfer between the two accounts of the banks at the central bank (the modern, fast way), or if no such relationship exists, through a "nostro/vostro account" (Bank X literally itself has an account at Bank Y), or as an overnight interbank loan.

This was why the 2008 financial crisis was such a risk; it's perfectly normal for banks to lend hundreds of millions to each other overnight to keep the payments system open, at near-zero interest rates because the risk is zero. But what if the risk isn't zero? What if there's a very real risk that your bank lends $100m to a bank that doesn't open the next day and you have to get in the bankruptcy credit line? Payments would have to slow down or stop happening or dramatically increase in cost.

Hence the decision to lend hundreds of millions to every vaguely bank-shaped object to keep the payments system running. It mostly worked, the money was almost all repaid (in fact I think it made a profit in the US?), and incidents of customers queuing at banks or collateral damage to businesses unable to make payments through no fault of their own was minimal.
That isn't a solution. Everybody moved away from this approach for web applications for good reasons.
immer.js can have terrible performance for data structures starting already with 100 of elements. Using JS proxies is not cheap.

We have found that continuing to use immutable.js Map and List but using plain JS objects, not Records is sort-of a sweat spot. But one needs to enforce immutability with Flow/TypeScript read-only types and use the latest immutable.JS to make it work.
That's exactly what I'm saying. The point of those sanctions is to hurt the Russian economy. Here the OP is a western guy trying to tell people in Russia how to minimize the effect of those sanctions.

Don't get me wrong, I wish that there was no war, and that everybody could live in peace and prosperity, in Ukraine and in Russia, but what OP does is trying to limit the impact of our economical sanctions on the Russian economy
The avocado test was good but it would have been even better if he'd picked up a non-organic one and he'd been charged for that instead of the organic one he'd misplaced there earlier.
Looking at the charts, it seems like they are trying to stabilize at 1 cent. That seems relatively high to me...?
32 years ago some guy thought he could make this decision for half of Europe. I'm so shocked! NATO seems a real threat! Look at how the NATO oppresses their people, bring no economic growth and just made the countries so much worse to live in!
Prior to this post Steve had actually discussed Flash and app store via a couple of emails. That's also available via archive.org here:

https://web.archive.org/web/20121006075101/http://www.taoeff...
SMIC has been poaching engineers from TSMC for a long time.
disagree. the title is not suggesting that you should be doing creative work. it didn't to me. it merely stating that you aren't, and it explains why. it's a statement not a question asking you to explain yourself.

for those who actually do want to do creative work, the article has some good insights, some of which i'll be trying out myself.
> maybe Turkey if you count that as European? (A very open question I think)

It's emphatically not, because they can't stop violating basic human rights.
> In principle, it's possible to support such a scenario by making such an await just "run" the promise to completion. But here you run into issues with how the runtime handles asynchronous tasks. Is it possible to spin a nested event loop? Not necessarily, it depends on the runtime. If your synchronous call is already on a task (so there's basically an async function on the callstack), you would really want to basically inline all of the function calls so that the await causes the same transformation were it to be called directly in that async function. But such inlining is impossible (due to dynamic function calls).

I feel like this touches the point that I'm trying to grasp currently. So, do I understand correctly that in JS land, calling `await` from a non-async function and making that await block until that promise was resolved, would result in a deadlock, because JS is single-threaded?

Why do we need a "nested event loop"? Is it because (a) the non-async caller blocks the only thread, and so (b) there's noone else in order to fulfill that promise being awaited on?
i will never use your service again
>NATO only ever goes against dictators and acts of ethnic or religious cleansing

NATO invaded Libya after promising to leave it alone after stopping their nuclear weapons program.

NATO supports Saudi Arabia's war of aggression against Yemen. I shouldnt have to remind you that Saudi Arabia is run by a brutal dictator.

NATO was set up with the singular purpose to oppose Russia.

It's has always threatened Russia. It will always threaten Russia. Putin is staking everything on this war in a desperate attempt to push back that threat with one hand on the nuclear button, making it abundantly clear that all we have to do is back off.
Physical access does not imply easy arbitrary code execution.

Consoles are largely protected by the same technology, how often do you see people achieving code execution on them by tampering with the hardware?
Yeah, I am aware of that, but Linux distros package very old versions, and we need to be able to support multiple for users. Realistically, academic researchers like to use 'bleeding edge' type things. Generally a big HPC cluster comes with RHEL too and a support contract, because you need the drivers for the hardware - things like Infiniband networking, etc. so switching distro isn't an option really.
Hard times to write nested queries?Why not use AI2sql to write your SQL queries?
It's posted in some Bulgarian dev forums and groups, and people are coming here and upvoting it, I think.
It's that it's Europe and yes the western democracies have a double standard of looking out for each other and near adjadcencies above other countries needs but that's because there's so much more to lose in terms of institutions that are very hard to build and can unfortunately very quickly be torn down.
> btw, russians are officially considered colored in US as I understand.

“Colored” is not something one is “officially considered” in the US on the basis of national origin, so you are wrong not only in detail but even on broad outline.
Send weapons to help the Ukrainian defense (already being done). Also apply sanctions, but only targeted to people in power (e.g. freezing assets in Switzerland, not buying more gas from Russia). I'm aware that these can indirectly affect laypeople (e.g. not buying gas creating unemployment in the gas sector) but that's just life. But what I find dumb is sanctions targeted explicitly at laypeople. Those who don't support their government don't deserve them, and those who do get more reasons to close ranks with their government because "the enemy" is now actively making their lives miserable.
> and if your compiler automatically derive the Pade approximation for improved numerical stability you know you are on the right track

I don't know what you're smoking, but I want some of it.
Why you didn't you ban NATO countries when they destroyed Libya?
But it seems they were never valued at over 1billion (which iirc is the definition of an ‘unicorn’)
This 'mentality' is just believing in the propaganda out of fear. I'm not going to look into it because it's just lies.
It's not just the media reporting in itself as much as how concerned people are about the suffering that happens during that war. Sure people watched Iraq's invasion of Kuwait on TV but most of the Western world was free to watch it with detachment and just a tiniest bit of worry. There has been constant fighting in the Middle East for decades but it's just too far away for people in the West to process that concern, or to blame the countries committing those atrocities (whether Russia or the US). It's "countries far away we don't like anyway", "people who aren't like us anyway".

Now it's close to home, happening to people like us. Now it's a genuine concern and those who are close enough in Europe are forced to process those worries, go through them, make scenarios, visualize the loss because it may be their loss soon.

When Russia was bombing the hell out of Syria very few people felt the visceral hate or fear they feel now. And I bet far fewer people remember that this is even more recent than the Crimean invasion and that they've kept bombing Syria well into 2021. When Russia was invading Georgia we just watched the news and shook our heads. Same when Russia and Turkey were fighting their proxy wars in the Caucasus, Western and Central Asia. All too far from us to care.

It was all about thoughts and prayers until the bombs hit close to home.
under which rock did you live the last 20 years>?
Poll: Why don't you want to work at FAANG?
This is the con side argument of: Why do you want to work at FAANG?

As a follow up suggestion from:
https://news.ycombinator.com/item?id=30512404
I don't believe in their mission (if any)
I don't like their hiring tests
I will be burned out
Perks don't mean much to me
This comment is confusing. They’re often cited as being left wing, but are objectively one of the most independent / non-aligned think tanks in the UK[1]. Hardly comparable to any of the 9 overtly right-wing think tanks associated with 55 Turton Street.

[1] https://www.tandfonline.com/doi/pdf/10.1080/1461670X.2017.13...
The US-supported Afghan government wasn't worse than the governments before or after it.

South Korea's an interesting example. It was a dictatorship, now it's a thriving democracy. Ditto for Japan, Taiwan, West Germany. Sometimes things turn out alright.
Good one, added here: https://news.ycombinator.com/item?id=30512704
Many atrocities on all sides. You already mentioned the biggest one committed by Bosnian Serb army.

Mujahideens volunteering in Bosnia and creating a muslim army and committing numerous crimes https://en.wikipedia.org/wiki/Bosnian_mujahideen

Croatian army ethnically cleansing croatian territory https://en.wikipedia.org/wiki/Operation_Storm

Kosovo Albanian Liberation Army which was designated as terrorist organization by the US, but that conveniently changed before NATO bombing of Yugoslavia committing their share of crimes https://en.wikipedia.org/wiki/Kosovo_Liberation_Army

Than there is also NATO bombing destroying numerous civilian targets and killing civilians on all sides https://en.wikipedia.org/wiki/Civilian_casualties_during_Ope...

etc etc.

So many atrocities, where one is too many. I long for the day where each side will punish all their vile murderers and crime doers and not as it is often done, protect them, excuse them, or even celebrate them after the wars.
Or even better, when ordinary people would not fall for the propaganda of their countries and stop wars from even happening.
But for 1/4 of what unicorn should be.
There is no such thing as financial nukes. During the cold war there was practically an embargo against the Soviet Union and no nuclear exchanges.

> For Russia, there isn't that much left to lose anymore.

Of course there is, their lives first and foremost, MAD still applies even thought we got used to it.

The only question is whether the nuclear powers of NATO would use their weapons to retaliate against a nuclear attack on their allies. My position is not that they would, my position is that it's not in Russia's interest to test them and that they also know this.
Ask HN: Who knows how many Ukrainians chose to flee to Europe vs flee to Russia?
You have not addressed what the poster said.

> I think it’s a misapplication of the medium to place the themes of a fictional narrative on top of reality though

This is not the point of an allegory. You say this is clear to you, but from what you say it clearly is not.
> The problem with this kind of whatabboutism is that the US invades places run by morally reprehensible people.

So a Mexican invasion when Trump was President would have been okay? Only if rest of the World knew...
I see, so the asynchronous model that JavaScript implements is an answer to the question:

> Given a single thread, how can we do multiple things at once (slow I/O, process user events like a mouse click etc.)

And the answer to this, is that we use continuations. Is that correct?
I think the answer isn’t so clear cut and dry. The truth is, it’s disputed.

Here are some questions we should ask:
“ Ukraine regards both the DPR and the Luhansk People's Republic (LPR) as terrorist organisations.”
- Now why would the people side with a government that deems them a terrorist organization? That’s a little strange..

- Why is the official currency used in DPR and LPR the Russian ruble? Again, strange for a people that wish to be independent from Russia.

Why is the official timezone used in DPR and LPR UTC+3 (Moscow time) Again, strange for a people that wish to be independent from Russia.
My apologies. That kind of organisation has got a very poor reputation, for funding reasons. I assumed that "overtly right-wing think tanks" In reality opaquely-funded right-wing lobby groups, was the only kind left.
Ah. Classic.

Living in <western ccountry> for <more than a decade> [0], telling how putin's russia is a heaven, and west is rotten gay propaganda hellscape.

Asking why they are not moving back to russia usually leaves them speechless.

russian propaganda/troll machine is next level, I could give them that. goebbels would be proud.

[0] If there's a significant russian speaking diaspora it's not unusual that such people do not understand local language almost at all, even after living for decades.
Western media has almost the same amount of propaganda unfortunately. And in Russian media is a small amount of truth...
You can check my 2022 to-read list: https://www.goodreads.com/review/list/22253621?shelf=2022
The fact that said citizen of Saudi Arabia was based in Afghanistan and protected by the country's Taliban rulers may have had something to do with that...
Verified Ways to Help Ukraine
I misunderstood, ethics aside why would you think this is a good strategy? From the cases I remember sanctions are making thing worse, are there any examples of sanctions working out as 'intended'?
Blocking SWIFT was for the little people to suffer, same as what Namecheap is now doing. Russian gas company still uses SWIFT and they are not banned it's all theater by the Germans. Germany and France could have prevented this catastrophe but they choose not to.
This reminds me a lot of Clojurescript's Reagent https://reagent-project.github.io/ (link also has a counter example)

I've tried using bare React in the past (after using Clojurescript), because I wanted my project to be more approachable for outsiders. But I couldn't really handle the (to me, and the author) unnecessary complexity that's added.

I would even say the Reagent version is even simpler than the Solid.js version, because you're using Clojure's Atom API rather than creating read / write functions. For the adventurous hearted I'd definitely recommend giving it a try!

Edit: Someone posted a Reagent counter example on codepen a few days ago: https://codepen.io/Prestance/pen/PoOdZQw