skysight-inc/HackerNews huggingface dataset:
I'm specifically not calling them out since their opinion may have shifted since the latest escalations of the conflict.

I added that parenthetical because I expected without it that I might see an onslaught of comments from people saying that not all of the US mainstream media is in agreement that Russia is in the wrong here. But it's sounding like the parenthetical actually makes my statement wrong... I lost the coin flip I guess
Releasing Final Slax 11.2.0
OS built-in zip handling is extremely limited. You're allowed to create archives and... that's it. You have no control over the compression level or anything else.

And frankly, 7z has terrible ergonomics. Both the UI and the CLI are uncomfortable and ugly.
Interesting points.

If I were designing from scratch, I would probably use a Peertube/Mastodon type federated system.

Each host would responsible for the videos they host - meaning they would have incentive to limit videos uploaded to any given host to an amount they could handle, or only allow trusted uploaders to their host.

Then you would have the federation so that you could allow hosts that you didn't have issues with, while blocking those you did. Eventually, there would evolve safe/block lists - like with email and adblockers - so it wouldn't even require that much effort on the parts of those running the hosts.
UK government: Social networks should allow users to filter unverified accounts
China has basically fully eliminated bitcoin mining.
They could leave town. There's always another option.
Let me remind you that Russians, according to their own law, can only use foreign cryptocurrency exchanges to buy and sell cryptocurrency for fiat money. No such exchanges can legally exist in Russia, but the use of exchanges in other countries is explicitly OK.

In other words, the 100% legal (from the Russian standpoint) way to circumvent the sanctions, for example, when somebody in the USA needs to transfer money to Russia, would look like this. That US citizen buys bitcoin for US dollars on their preferred exchange (possibly in the USA) and sends the needed amount of cryptocurrency to a wallet belonging to the Russian citizen. Then that Russian citizen uses some cryptocurrency exchange e.g. in Singapore (or in any other country that didn't impose any sanctions) and gets Singapore dollars in exchange for the bitcoins. The Singapore dollars get sent to his bank account in Russia (OK, for companies it would mean some paperwork, basically a confirmation of the origin of the finds, but that's easily doable). Then he converts Singapore dollars to Russian rubles, which is a currency exchange operation internal to that Russian bank.

This also works in the opposite way.

Of course if every country imposes sanctions, then this scheme will stop working, because there will be no way to sell the bitcoins.
> The actual evaporating is done mainly by heat delivered as sunlight. But much of this is wasted. [...] it warms water below a pond’s surface—which, not being in contact with the air, is thus unavailable for evaporation

Wouldn't warming subsurface water warm the pond as a whole, which would both warm the surface layers through convection, as well as make it easier for that subsurface water to evaporate when it does make its way to the surface? Since warmer water evaporates more easily in general, it's not clear to me why adding thermal energy to the body of water you want to evaporate is wasted.
> There are similar time-loops and incestuous themes in this Heinlein novel

Let's not forget "The Door into Summer".
Here is a hypothetical bash script that neatly characterizes the the impossibility of solving the halting problem: "loop_iff_halts_on_self.sh". What does

./loop_iff_halts_on_self.sh loop_iff_halts_on_self.sh

do?
SWIFT is WhatsApp for payments. It doesn't move money, it moves messages concerning the movement of money. The alternative to SWIFT for banks is picking up the phone and calling the other bank to setup a transfer, or setting up a private API between banks.
I built a system that checksums content in S3 using SHA-512 but keeping only the first 256 bits because that is enough bits and that protects against length extension attacks for certain uses. The disadvantage relative to what they are doing is you need to download the whole file and compute the checksum to validate that the file wasn't garbled during the upload process.
Friday Facts #368 – Steam Deck, Ghost bugs, Docs improvements
Using an ongoing war to sell stuff? Come on...Sheesh.
Every Boring Problem Found in eBPF
Thanks for the suggestion. At the time of building the project i did not think much about the name many people has suggested some names and i will go with one of them after this submission stop ranking on HN. As changing it will break the link.
Really think this through...if the Taliban had rolled over and let the US win, then there would be a more "stable" western influenced government in place, which is exactly what they were fighting against the whole time.
My expectations for people cratered after I began interviewing. It's.. incredible.. how untechnical people applying for highly technical positions can be.
It is true that that is the logic, but there are so many modern examples to show it is a flawed logic (Cuba, Iraq before the 2nd war, Venezuela, etc.). I do wish that policy makers were as open about this as they were in the early years of the Cold War, that their goal is to inflict massive pain on the population and pray for unrest. Instead, nowadays it is framed as a direct punishment on the leaders or an abstract notion like the enemy nation or their supposed ideology.
A lizard’s scales switch colors according to the same rules as spin flips
It's not about making apologies. It's the opposite. You can blame the "bad apples" all you want and you will see no improvement whatsoever. You can instead choose to blame structural, systematic failures and get a lot of improvement out of little effort.
How I Work from Home and Parent
Older second language learners have a harder time, but I don't think it's because of some kind of "weakening of the brain" with age. I think the real reasons are:

* Older people can't remember the difficulty of learning their first language. They've been using it comfortably for years.

* Older people have bigger vocabularies so the gap between their first and second language is even larger.

* The discomfort of learning new things is less familiar for older peoples
This assumes a rapid, catastrophic collapse, which seems unlikely. Possible, but unlikely. More likely are localized disasters and gradual, sometimes imperceptible decline. These things have trickle-down impacts (migration, food shortages, etc) but are generally unlikely to trigger full on survival scenarios for most people. This isn't to say our industrialized food chain isn't problematic, it certainly is, but a gun is less likely to aid most people in day to day survival.
Nothing- my thinking is that this would work more for (near-) real-time reporting where the pictures or video will be disseminated quickly.
I like that now we have "apple" tags, and "twitter" tags everywhere. Maybe cocacola and mcdonalds should buy a tag too , because, why not. At least facebook had the decency to call their tags "open graph"
The only reference I could find about that is an obscure Italian blog with the comment section filled with absurd conspiracy theories. Do you have some credible sources?
Really like the idea of expanding on pipes, but this read left me with no idea what ut is tbis project actually does or what to expect.

Examples helped a good bit: https://relational-pipes.globalcode.info/v_0/examples.xhtml
If you don't mind some drive-by advice: I suspect you have some kind of good idea here, and I'm having trouble really seeing what it is.

I can also read from your site and comments the frustration you're experiencing in getting your product shipped, and also in explaining the benefits of it. The Internet sucks, it's a hostile place, and unfortunately leaking the bad feelings this invokes in you is off-putting to your audience.

I've had an unpublished blog post sitting around called "file systems suck" so I'm about as sympathetic an audience as you'll find. Good luck with your implementation; I'll be keeping an eye on your project, and I hope to understand it better in some later iteration of the docs.
Russia to restrict Facebook access for 'censoring' its media
Do you possibly have a link to the series teaching Rust you mentioned. 'Rust linked series' doesn't bring up any results that look relevant, and I would be interested to take a look at it.
Stackoverflow does not even need scraper, themselves publish a dump.
You need to do a certain amount of learning grammar, DuoLingo will teach you very little. Do read the tips for every exercise on the DuoLingo website (they are not in the app). Those are great!
Some of the input interactions in Factorio are hard enough even with a mouse, particularly if you are trying to find an item to build that you haven't built since early-game. It's hard to imagine any sort of controller-based input working without significant changes to the UI.
When a system involves a human it's harder to massively infiltrate it.
Take counting votes. A bad human here or there could fudge the tally of pen on paapper ballots. BUT if you attempted to compromise a large percentage of these human ballot counters, one of the other human counters would start to notice and alert the world to it.

Compromising a system that involves 100k people is generally harder than compromising a computer algo.
It's not a symmetric battle. The team of hackers and spammers has nothing to lose. Even if they're only successful 1% of the time, it's still a win.
Youtube gets roughly 30,000 hours of content uploaded to it every hour. They'd need an army the size of all of Google, Apple and Facebook put together just to review it all.
Kubernetes Hardening Tutorial
In case you wanted to, use uBlock and disable all 3rd party scripts. The article will load.

EDIT: https://archive.is/BjQGm
Even more so... Plus "Door into Summer" is unambiguously a good read.

(Actually though I tell people who like Heinlein that Joe Haldeman set out to out-Heinlein Heinlein and was successful with "The Forever War" and "Worlds")
> even though we never take part in sales or bundles

That's one reason I didn't hesitate to purchase it.
Replacement that other country don't use so I'm not sure exactly what it would be used for, just connecting to China maybe?
i'll be there
My algebra teacher did it to the tune of the Notre Dame fight song, haha. Two decades later and I still remember it!

x equals the opposite of b

plus or minus the square root of

b-squared minus four a c

all over two times a
Maybe the best first words for a dev to learn in French? Someone walked into my office and said Ça marché!

After humbly reminding I was the FNAG (freaking new Anglo guy) he said, it means the new build is working great!
That approach feels intuitively wrong to me[1]; people who watch sports don't automatically become good athletes. People who look at pictures don't automatically become good at drawing. People who read don't automatically become good authors. People who watch cooking shows on TV don't automatically become good at cooking. Students who watch programming videos notoriously don't automatically become able to code anything the compiler accepts. Reviewing study notes by re-reading them is one of the less effective study strategies, compared to flashcards which prompt you to recall and generate answers from your memories.

Surely yes you need to adjust to the sound of a foreign language, but with no feedback loop of trying to speak and having another person feedback, how do you adjust?

Listening to hours of completely foreign language won't make you understand what the words are or what they mean, so "comprehensible" input includes weasel words that require you to already know the language before you can learn it. It's all over a bit weird.

Don't people say some of the most effective ways to learn are the immersion courses where you go to a retreat and speak only that language for weeks at a time, studying and learning 8 hrs+/day and then there are people who spend years reading or listening but aren't confident to speak anything. But are there people who spend years speaking with fluent speakers who still report they don't know the language?

[1] inb4 "hurr think you know better than professional linguists"
Not all of inline asm is stable yet. The OS I work on at work still has to stay on nightly due to the bits that weren’t (and naked fns, which are apparently also on their way to stable in the nearish future.)

That said those are the only nightly features we use, staying on stable when you can is good, and many projects will be able to go to stable due to this, which is awesome. Been waiting on this for years.
Who is guaranteeing Russia's foreign currency reserves?
It looks like that while Russia invades Ukraine it's still taking advantage of a good amount of services from the West. Since Russia's foreign reserves are most probably not physical banknotes, they are probably entries in the balance book of private banks and central banks. How does electronic money work in detail, and why can't those credits be simply seized by the authorities?
It's quite crazy though that they left it running for 14 years after making the area around it inhabitable and causing fallout over whole Europe
I'm agreeing that it is a wise decision. I put that in there because people in this thread are acting like India will blindly follow the US against Russia/China with things like sanctions. The US is in a weak position right now due to a number of dumb foreign policy decisions, going nuclear by kicking Russia off SWIFT would have even allies questioning SWIFT and cause the US to lose even more control over the financial system

India is doing what's in the best interest of their people, which is what a government should do

https://www.reuters.com/world/india/india-explores-setting-u...
I would think that's still not as accurate as the above examples. That implies a form of intended malice and wish to do harm at no personal gain. If the factory in which my car is manufactured happens to employ children that doesn't mean I'm paying for child labor - I'm paying for a car regardless of how it's produced. The attempt to shift the blame to the consumer here fallacious.
China has one dependency they cannot get rid of - Americans buy tons of their stuff, and if they get rid of that, China has a big problem.
> He called Trudeau "tyrannical and obscene" -- no followup comment when, days later, Trudeau revoked the Emergencies Act

Trudeau revoked use of the Emergencies Act after using it for 10 days to destroy a protest. It's hard to characterise that any other way.
And yet people still having kids. The worse affected regions still have the highest natality rates.
> I Learned French in 12 Months

That's not so difficult I guess, here even babies do so.
You've hit the nail on the head! Being comfortable with ambiguity and not knowing something 100% is crucial. I've observed many language learners over the years and if someone has a habit of translating every word they see into their native language before they are satisfied then they usually make slow progress learning a second language.
pkzip also wouldn't create the split archives on your hard drive. It had to actually write to the disks and experience the disk full error for itself. No fun, because you'd have to babysit the whole process, which would take longer than normal due to the compression, without knowing how many disks you'd need. You also had to just hope that none of them would turn out to have errors.

With arj you could tell it you wanted each part to be whatever size would fit on a 1.44 MB DOS disk, leave it going, then do the copy-to-disk step afterwards having been forewarned about how many disks you'd need.
This is a wonderful tool!
Ah, but that's quarterly at best :)
Swift won't die until either the US Dollar dies, or the government replaces it with something newer.

EDIT:

Technically, the US Government doesn't "control" SWIFT, but through banking regulations, their influence is way bigger than it looks than their 2 board seats would suggest.
People still fall for using their real name on facebook, twitter, instagram. It's not just google..
In 2015 Flynn was on RT, a Russian state-controlled international television network, funded by the federal tax budget of the Russian government. He advocated
for the US foreign policy actions across the world to work closely with Russia.

He was paid $45,000 for his appearance, but again "forgot" to report that income. What is the US bar for the word "treasonous"?
Yuzhnoye and Yuzhmash in Ukraine completely destroyed (confirmation pending)
Same with old pokemon games.
That would implode NATO from inside.
If you want to be so successful as to become one of the premier public forums in society, don't start crying when you're held up to the standards and expectations of other public institutions. Google, go get ye that army of moderators.
Ukrainian nuclear plants are “ready for safe operation,” Energoatom chief says
Someday I hope to get back to this. Temped to redo it for ARM this time though, given that I now have even more experience with it than x86 and it’s simpler in many ways. We’ll see.
I'd venture it has more to do with where Google applies all that expertise. If it were hurting them, I imagine they would solve it quickly.
YouTube is not going to be the source for breaking news like this. There's too much liability and not much money to be made.

The fact is - less than 2% of content watched is stuff like this.

People are mostly watching work out videos and game streams and sports commentary and so on. Not live streams of wars.
This is most certainly the correct answer. It's the shortest shortcut to the enemy's capital, despite being an exclusion zone.
It is a good point that behave_differently.sh does not necessary run its argument program, but can analyze it in another way. (The context of Bash scripts suggests execution but that is a misleading hint.)

In the broader formulation behave_differently.sh tells that its argument program terminates and produces finite input, which is a halting problem.
There has also been huge amounts of bans on twitter. Say the wrong thing and you get ejected. Yet the clear russian propaganda is allowed to stay. I wonder what the threshold is to accuse twitter of russian collaboration.

It's certainly a charged event with emotions running hot. People are going to say things that are wrong.

Crimea was a difficult subject because they are ethnically russian. Due in large part to a gigantic naval base. They did vote to separate from the Ukraine.

That was then, today is different. The direct invasion of Ukraine is aggression. Putin lied, diplomacy has failed.

As emperor of canada I would have done what my gov has done so far, but also put a sunset. In 1 year, unless something changes, we end any and all connection to russia. their citizens may not come here. none of their citizens may own property here. Absolutely no trade of any kind. Anyone who is currently doing business with them, your contracts are null and void. Find new suppliers.
While I made the original post somewhat in jest and laughed off expected downvotes, I would like to say that I find your reply especially either naive or somewhat detached from realities of this world.

You don’t believe that the citizens of the country acting as a belligerent aggressor should suffer any inconvenience as a consequence of the actions of their government, such as change in living standards?

How do you think warfare is conducted? Do you not believe in the right of victim of agression to strike back? Does it not quite register that there are people now losing their lives in Ukraine?

Do you think Ukraine would be within their right to conduct a strike against Russia?

Consider that perhaps in contrast to a potential retaliatory strike - a prospect of Russians waking up to a new world where they are no longer part of the modern civilization would be preferable and may in fact result in them thinking that this isn’t the kind of life they want to return to?
> Isn't it far more important to ensure that they can't use dollars...

It's in America's National Interest to maximize the usage of dollar reserves. Denying China the use of dollars would have a (relatively small) detrimental direct effect, and will set a precedent and likely accelerate the popularity of other reserve currencies.
Yeh, I think I tried to pack too much into the lesson. "What is a root" could be more like a prereq lesson.

WA's step-by-step feature is amazing dark magic. I'd love to replicate that somehow ...
Hi! I'm not a front-end person, I'm an ops guy, I live in the world of bash terminals and thread dumps. My knowledge of HTML and CSS is enough to make some headings and paragraphs. So pardon what might be to you folks who look at this daily-seem like a "duh" question.

The article says this:

You might think that this information is redundant because the browser already knows that the MIME type of the response is text/html; but in the Netscape/Internet Explorer days, browsers had the difficult task of figuring out which HTML standard to use to render the page from multiple competing versions.

Are there still a lot of browsers in use that have difficulty figuring out the HTML standard, and if not, is the doctype declaration just an anachronism of markup?

Asked in a less roundabout way: If response data is sufficient for a browser to know what it needs to do, and modern browsers support such capability: why do we still declare document types?
Google's fetish for serving more users with fewer employees has been responsible for the failure of so many of their initiatives I often wonder who's behind it.
MySQL has query hints: https://mariadb.com/kb/en/index-hints-how-to-force-query-pla...
Well, the plan could be as simple as telling loved ones that you'll aim to get a message to them within 3 days, and they shouldn't panic if they haven't heard from you after 2 days.
Try Tandem (the app)
In this scheme they would be controlled by a central party, as effectively we're talking about Starlink and SpaceX. Or maybe one of the legacy satellite internet providers.

Assuming that though, you send a hash of your content up to the system, which geolocates it (based on physical reception), adds a timestamp and geolocation into the metadata, and returns the signed information, using the central party's key.

You also could run a similar method on cellular networks by using towers as the signing node and the telecom as the centralized entity.

Because realistically, it's not Byzantine Generals. What you want is (a) timestamp verified by a trusted party, (b) geolocation verified by a trusted party, (c) content hashed/signed to prevent subsequent modification, (d) prevention of replay forging of (a) or (b), & (e) most of the infrastructure not physically accessible by users (e.g. signing chip embedded in a camera).
Ask HN: Is there any optimism for non-macOS laptops in the near future?
In the market for a new laptop. The M1 line is obviously way ahead of the margin in comparison to everybody else, but OS-wise I just do not enjoy the experience at all. Do we see any possibilities of Windows or Linux laptops catching up in the near future in terms of performance and battery life? I'm out of the loop here-- is Intel working on anything that may improve the experience dramatically? Is Microsoft still committed to Windows on ARM? Are there current market laptops people are still considering?
I really hope this trend doesn't continue, honestly. I shouldn't need the toolchain for a language that something was written in just to use that thing. It's very common with Go projects, too, but it's kind of a reversion back to the "./configure; make ; make install" days.