skysight-inc/HackerNews huggingface dataset:
For all the years that I used Word, its grammar checker used incorrect rules for when to use "which" and "that".

This issue may be fixed now, but I would never trust a grammar checker with such a lousy track record for basic issues like which/that.
> Mildly surprised a service as big as PyPI doesn't.

PyPI uses Fastly as a CDN, which does indeed have presence on every continent (except the big, cold one). The problem here isn't presence, but connectivity to the outside Internet itself.

Source: I'm an active developer on PyPI.
I saw the story in The Telegraph.

https://www.telegraph.co.uk/world-news/2022/02/25/russia-thr...
Talk about cyber war!
Off the top of my head…

Firecracker, the software AWS Lambda runs on, is written in Rust: https://github.com/firecracker-microvm/firecracker

Mozilla wrote Servo, a browser engine, in Rust. Part of it has been integrated into Firefox a while ago:

> Mozilla incorporated the Servo CSS Style engine in release 57 of its Firefox Quantum browser.

https://research.mozilla.org/servo-engines/

It’ll be used in Android: https://security.googleblog.com/2021/04/rust-in-android-plat...

It’ll probably find it’s way into the Linux kernel: https://news.ycombinator.com/item?id=29485465
Here's a thought exercise: next time you're reading a press release by the U.S. Department of Defense, try replacing "China" or "Russia" with "the CIA", and see whether the contents of the announcement continue to make sense.

As with any country, different organizations have different missions and philosophies -- and so do the people within them.
> don't take anything being said/shared as truth until verified elsewhere.

Then what is the possible value of following it? I spent an hour or so trying to get updates on twitter and spent the whole time flagging the same fake videos posted over and over.
Yes you are. You claimed I was spreading Russian propaganda. This lead to a long winded discussion about subversive propaganda spreading on HN.

The obvious problem is it’s all based on the negative assumptions that anyway who disagrees with the current path taken must be on ‘their’ side.
You mean like this, from the article?

> Given that this is an Apple operating system, we might know it has a snprintf_l function which takes an explicit locale, and hope that this would make it scale. Just pass NULL which means “use C locale”:

And then the chart and discussion following it?
I think the only reasonable solution is to completely deprecate functions like setlocale(). Software should just use _l() functions if they want something localised.

Global state considered harmful.
Agreed--the keyboard is just awful, borderline unusable. I am impressed though that the thing never even gets vaguely warm, no matter what it's doing.
80% is the theoretical limit and we are struggling to get past 30% but I forsee dramatic economic incentives to increase this a lot higher. Doing so might raise costs of production however
> How does the system guarantee that nobody's creating money without notifying everyone?

Simple answer is balanced books. Longer answer is public reporting and reconciliation.

If a bank shows its Federal Reserve balance at X on its asset side and the Federal Reserve shows its bank balance at 0.9X on its liability side, that will raise issue on reconciliation. The system lazily evaluates, however, which makes it nimble but also corruptible--if that bank never tries to spend that money, it may not come to light until audit.
I've used both very extensively and while I like the direction c++ is headed, I know a lot of people don't, I couldn't disagree with you more. Writing reasonably fast rust that doesn't crash is far easier than writing any kind of c++ that doesn't crash. Copies are a real problem in rust though, they are definitely difficult to avoid without jumping through hoops sometimes but I haven't hit any yet that are a real world show stopper with good upfront design and architecture. C++ just has too much baggage and footguns to make it truly productive on larger teams osit
Serbian?
HN: complains about leetcode-esque interviews

Also HN: complains about alternative conversation-style interview

I don't work on the front-end, but I have had a general curiosity for it for a while, and I think this would have been a great conversation starter! And I think a lot are missing the point that the interviewer isn't exactly using this to just "fail" people. Like you mentioned, these are the sort of out-of-the-box conversation starters that good interviewers try hard to come up with so they don't have to just give coding tests and ask the top 30 JS trick questions that are easily googleable.
I'm looking forward to the Haketilo talk. https://libreplanet.org/2022/speakers/#5790
Free Tarsnap Backups for Ukrainians
The slight challenge for me was seeing the words, because french words don't sound like one would think!

But after getting a few rules in my mind like "oi" sounds like "wah" in english and the ending of the french words are mostly not pronounced, it was easier for me going from the sound and meaning (concept) of the word to the reading part.

But the most important thing is that it is fun, and it's a lot easier to stick to fun things!
I grew up in Ontario, with French at school from grade 4-13. What really made the difference was going to two six-week French immersion courses (https://englishfrench.ca/explore/) in Quebec at the end of grades 12 and 13.

It's a shame that more people don't know about these courses, which are still operating more than 40 years later. The only expense is getting to the location in Quebec; all tuition, housing, meals, books, etc. are paid for by the government. The only requirement is that you have been a Canadian student in the past year.
> 90% of the time, those tags are auto generated by some boiler plate app.

Well, that's a problem. If you don't know how to create a web page with out having to fall back to using "some boiler plate app", I question if you really are a fullstack developer (I would also question if you really can consider yourself a web developer at all, but I know that will just upset people, so I won't go there).
conspiracy? the US _already_ had a hand in overthrowing the Ukrainian government in 2014.
When I did an exchange in Germany, I picked up Der Kleine Hobbit for that reason. My first week it was mentally exhausting just reading a page or two, but things picked up quickly from there.
> US has the power to force any bank that wants to transact in USD to freeze all Russian assets no matter the currency

Ish. In reality, this power is constrained by our courts. Which is why we have the privilege. A foreign person wrongly frozen can take on the U.S. government in court and win.
A few bytes SVG ribbon to support ukrain
While interesting, I'm skeptical an algorithmic approach will ever come close to a decent wavetable-based synth (using samples/noises from the real instrument) or scripted sampler instrument (like Kontakt). It might help if you can't otherwise find an existing synth/sample-based instrument but can find it in use, but those are few and far between.
> "If it's going to take me 45 years to just get started, then I won't waste my time on it"

You'll spend your 45 years one way or another; see also "life is a journey, not a destination" and "find something you love and you'll never work a day in your life". If you hate drawing. If you love doing the activity 'drawing' then 45 years of drawing will seem like a life well spent even if you still consider yourself just getting started.

What are you going to do when you get to "I can draw"? Draw things? Spend your time drawing things? But you don't want to spend your time drawing things to get there? You know you can pay people to do that for you if you just want the result 'pictures of things', right?
If you want to know who is secretly aligned with who, pay attention to language. Whoever's vocabulary is shared is an implicit alliance -

Putin has been recently using rhetoric that he must remove "neo-nazis" in an effort to "demilitarize" the rightful Ukrainian people.
I haven't thought about either of those in a long time, thanks for the little detour down memory lane!
This is great work!

Python packaging is complicated for many reasons (both good and bad), but PyPI's index format is delightfully simple. Projects like this reinforce my opinion that keeping it simple has been a great decision by the Python community and PyPI admins.
It's too late... Where were US and Europe with their sanctions when riots on Bolotnaya square happened? https://www.wikiwand.com/en/Bolotnaya_Square_case
When Navalny was incarcerated?

Do you think it is easy to stay against government with army? Look at Ukraine, there's the same Russian army there.
Are you ok with Cows becoming extinct?
"A congressman from New Jersey has disclosed that he is receiving calls from viewers of Tucker Carlson’s primetime Fox News show, expressing distress at the Biden administration’s backing of Ukraine in the tense military stand-off with Russia."

https://www.theguardian.com/world/2022/jan/25/tucker-carlson...

>But with all the right-wing folks I know, I've yet to hear ONE say they actually think this invasion is a good idea, or that Putin is a good guy.

How many right wing folks do you know?

Edit: Here's Candace Owens with 3M followers implying that the first air strikes in Kyiv were the work of NATO because Putin said he's only attacking the eastern parts.

https://twitter.com/RealCandaceO/status/1496699449535602696
Building a Static Site Generator in Rust
I had a conversation with a police sergeant because of a car accident we had. He said that we seemed to be right, but some lawyers will likely try to sue us because it's in the gray area that they usually "farm". The thing I remember was he said something along the lines of, "These lawyers are even worse than police."

I didn't think police were bad, but that made me reconsider it.
Yep – I suspect that when people say "block them from SWIFT", they really do mean "put them on international embargo lists and/or block anybody violating these at the various currency's settlement layers".

But as a short-term measure, revoking SWIFT access is probably also somewhat effective. As you say, setting up alternatives is not impossible, but not easy either.
basically if a tank cant see its now a deathtrap, and occupants have to get out and do something > soldier vulnerable to arms

tanks and other mechanized platform need an exclusion usually provided by infantry, this is reported by poster to be sparse support > vulnerable to mechanical disruption, or immobilization.

doing things to streetsigns or landmarks or wide range RF-noise broadcasting to obfusicate navigation is a tactic with asymmetric effect
I have seen a post 1 minute old disappear... when I would view the ID, it would be a blank page (and I have showdead enabled)

Also, why do you allow Tor signups if you are going to hide all of their posts?

I know that you hide all of my posts too... and block me from posting links with this stupid message: https://imgur.com/5cVIRcq.png
Ask HN: How do you feel about Indeed's reported entry level SWE salary?
Amount: $42,557

Source: https://www.indeed.com/career/entry-level-software-engineer/salaries
https://techtotherescue.org/tech/tech-for-ukraine
Thank you for coming back and adding this. Indeed, it is scary as shit, and because now any kind of trust in whatever Russia says or claims is lost there is absolutely no way to contain this. Russia could join peace negotiations and it wouldn't amount to anything. This does not have a happy ending I'm afraid.

Best of luck. We'll probably all need it.
Basically any ML derived language, with the added value of automatic memory management.
Russian Offensive Campaign Assessment, Feb 25, 2022
That's a strawman - it isn't that leftists "argue in favor of the capitalist oligarchs who rule Russia", but that they make excuses for Putin (blame Nato expansion for causing the crisis), and accuse Ukraine supporters of fomenting war. The anti-war left is a weird (albeit smaller) mirror of the Tucker Carlson right.

But we also acknowledge that the Russian government, oligarchic autocracy as it is, is right to say that endless NATO expansion, for which read extended US hegemony, is not the security structure Europe needs. The chance was missed to abolish NATO when the Warsaw Pact went out of business more than thirty years ago; instead we are left with the consequences of broken US promises not to extend the alliance eastwards.

So Stop the War aims to provide the opposition that the Labour front bench seemingly won’t. The Tories have taken the lead internationally in talking up the crisis, announcing imminent coups, false-flag incidents or invasions almost every day, to the point where even the government in Kiev has asked them to tone it down a bit.

More substantively, they have sent fresh arms to Ukraine and deployed more British forces into Eastern Europe—all the very things which Russia has said it finds most menacing. All this pointless provocation seems to speak of a government which would actually quite like a war to break out, for strategic and doubtless domestic political reasons, particularly since it will not involve any British forces fighting.

https://tribunemag.co.uk/2022/02/keir-starmer-guardian-stop-...
Excuse the lack of context here, I haven't dealt much with locale's in C, and I'm probably showing my ignorance.

Why would you ever mutate a locale object? Is that the common way to change locales in C? Wouldn't it make more sense to have locale objects be roughly immutable? It doesn't seem like they should have any real reason to change very often in a typical use-case. I would think any given person only has a small (1-3 or so) number of locale's they use on any regular basis.

Are locale objects being mutated really common enough that you need a mutex to protect against accidentally rendering something in the wrong locale?
Raku has this feature by design. While there technically is a general equality operator `eqv`, you rarely see it used. Instead, you use the matching operator, `~~`, which can check equality, or check if a string matches a regex, or check if a number is contained within a range, etc.
> How about when compared to US intelligence agencies?

Read my another comment below, by having a whoping 23 intelligence agencies, USA condemned its leadership to a shower of opinions out of which no correct one can be synthesized.

Only the size of antenna maters, not how powerful is the receive amplifier, or the number of them.

If you link up 23 pre-amps in a row, you will not get a 23 times clearer signal, but 23 times more noise.
> But if SWIFT is already in play, everyone already has a reason to diversify, and will do so.

> You can't be making threats and not expect people to try to avoid the thing you're threatening.

> Also you can't be hesitating on everything that seems like a one-off. Then you really don't have a lot of sticks to shake at people.

Exactly. It's possible to be too reluctant to "save" a weapon for next time. You can get to the point that you wasted it because you let it gather dust until it was ineffective.
Podcast: How the Soviets pioneered TV as a channel for propaganda
so accurate with what's happening in the US right now
That's good - I was wondering if we were going to see some of that, or them just being half hearted and camping out more than fighting. I get the impression most Russians are not very keen on this venture.
So it's all trust based?

We have to trust that all the governments of the world, who pinky promised to follow the rules, aren't secretly cheating internally and reporting false numbers to everyone else?
Well it's pretty good at defending USA's interests...
Looks like Samsung is adding the Grammarly functionality to their built-in (still an app, technically) keyboard in an upcoming update, or they already have.

So now, very likely, both Samsung and Grammarly have access to everything you type on your phone.
Spot on. My heart is with you (have family in Latvia).
Guardian: real sanctions against Russia impossible, thats economic suicide
Or Russia's new SWIFT alternative that they stood up after the west threatened SWIFT censorship after they annexed Crimea?

https://en.wikipedia.org/wiki/SPFS
The whole reason for Rust's existence was for Servo so using it as an example of its use is disingenuous at best.

Ok one bit of AWS runs on Rust.

C/C++ runs 99% of the the worlds software including OS's/browsers/GUI's/Compilers/Virtual machines/Games/Aircraft/Spacecraft etc etc etc.

"It'll be" same was said of Java
While Rust is being used on the system level for Android, there are no plans for the time being, to ever support it for app development on the Android NDK or AGK.
Comes as a shock, it seems that Ukraine has been sold out. Key passage: "As Hosuk Lee-Makiyama, the head of the European Centre for International Political Economy, said, Europe has allowed itself to become more integrated with Russia, while Russia has separated itself from Europe.

He said EU countries owned a combined €300bn of Russian assets that would be vulnerable to confiscation if a full-blooded financial war broke out. The UK owns billions more via firms such as BP, which has a near-20% stake in the Russian oil company Rosneft.

“Sanctions are one of the few options that European countries have in a conflict situation like this. If you disconnect North Korea or Iran from the international financial system, you do not expose yourself to that much damage.”

Speaking on BBC News, he added: “But while I don’t say it is impossible to envisage Russia being barred from the Swift system, it is a nuclear option that means you exterminate yourself along with your enemy.”"
Not everyone has a Core i7 made two years ago. Discord takes 10 seconds to start up on my unloaded Core i5-6200u and a full 30 seconds when I'm playing a video game. Mumble, which is not written in Electron, starts up in 2-4 seconds while playing a game.
Just because the US/West is in the lead of the empire game at the moment doesn't mean the other empires aren't a problem. We aren't the first empire and won't be the last. China, in particular, is in a massive expansion into Africa. If there was not competition from US/West for power, it would be moving much faster and more aggressively/violently as it had in the past.

The ideal for the common person would be no empires. If that is a fantasy, then the next best thing would be some sort of minimally violent stalemate.
Speculation: "investment in stocks, property, etc. in the hope of gain but with the risk of loss."
Buying bitcoins seems to match the definition.

You can buy gold as an inflationary hedge, but I don't think people would do that with bitcoin.
From what I understood from his speeches, I think he's saying that some leftist ideology is inherently subversive.

I guess it makes sense and it doesn't have to be pejorative: conservatives are usually more attached to traditional structures while historically leftist groups push for a transformative change. Subversion is a good way to transform a structure.

A good example would be the 1619 projet that, whether you agreed with its message or not, explicitly aimed at undermining the current mainstream narrative on the history of the USA. I can't think of any right wing equivalent
> How do we know Russians aren't influencing HN?

They probably are.
Of course, just "a very slightly different POC". And let me guess, because you are "people who do understand them" you could certainly conjure up such a thing, but alas, you just don't have the time right? So, Rust is vulnerable to an imaginary attack that Nathan Myers claims to be able to write, while C++ is vulnerable to an actual attack that we know works.

As to the fencepost analogy I will note that Rust fixed the problem a little over a month ago and ever since C++ proponents have been running into that particular fencepost quite certain that the resulting brain damage is proof of just how smart they are for not fixing bugs.
>a way to "glance" with their touch senses at an object they hold and recall every detail of its shape later, a way to look at a semi-enclosed space and assess how their bodies will precisely fill it, to then look at an object and know what would feel like to cover it, etc.

Watching an Octopus effortlessly change colour, size and texture to camouflage themselves might lend to this.
Hey bud, you are being really aggressive and disagreeable in here. At this point, I think everyone is aware that you, personally, would not recommend Rust or Actix. Loud and clear my dude.
The whole article doesn't gloss over those points; it is rather critical of Grammerly except for the last part. But also it, in my opinion, correctly points out that the security measure can't be separated from the social measure in that last part.
Post your specs. Discord takes 10 seconds to start up on my unloaded Core i5-6200u.

The average user does not have a gaming or workstation CPU.
There are lots of benchmarks of Actix if you search for it. It's also one of the top frameworks in the TechEmpower benchmarks.
The victims are the people in Ukraine, not you. People are dying there and the country has been dragged into chaos. Russia is 100% the aggressor in this case. If you don't want to feel the pain of sanctions, you better do something to change your government. This might not appear fair to you and certainly isn't easy, but don't forget that life is currently even less fair to the Ukrainians who die defending their country.
I browse with as little javascript as I can get away with and I'm sorely tempted to wrap my entire site content in <noscript> tags.
Hmm. That sounds more concise. Thanks for the feedback!
This is completely ridiculous.

Consider for one the soft power that the US has.[1] You can just limit this to the seemingly frivilous “everyone wants to wear jeans” point. It is nowhere near anything that the Soviet Union and now Russia could dream of. And the point is even stronger if we just consider the West. To propose that the Soviet Union and now Russia could psychologically undermine America itself is completely outlandish.

Now consider that Russia wasn’t even able to psychologically subvert their “brother people” the Ukranians. A smaller country (although still large) right next to them with a fair amount of Russian speakers. Let’s just for a moment pretend for the sake of the argument that the separatist movements were just indoctrinated by Russia. That was still a failure since the majority of Ukranians ended up being pro-Western.

[1] And I do mean soft and not the “we’ll persuade you to open yourself up to penetration by our corporations” kind of influence.
Oh I completely agree that he doesn't have a lot of credibility but I guess his message is still theoretically interesting even if it's potentially only fiction.
Or in this case locale state considered harmful ;)
> Wouldn't subversion be opportunistic, though? Maybe during Cold War, their tactics had more success on the left, but more recently they've had more success on the right. If your goal is to subvert the whole, it's six of one, half a dozen of the other.

Read what I wrote in another comment. It doesn't matter if it's left, or right for as long as disturbing random discourse keeps your mind jammed, and prevents you from seeing things for what they are.
Fine here
Elected governments come and go, but the "deep state" bureaucracy and associated private think tanks serve to maintain some level of policy continuity. Very few autocratic governments in the modern era have successfully managed a transition to the next generation.
With significantly more cost, complexity, obscurity, and gatekeeping.
I think the lesson is Ukraine should have joined NATO years ago and countries should only elect leaders who respect the alliance and want to keep it strong.