skysight-inc/HackerNews huggingface dataset:
On a slight tangent, links should not be used as buttons - please use a HTML button and style it with css. Links-as-buttons tend to interact poorly with things like opening in new tabs, and it's not the semantically correct use of the element anyway.

> If clicking the link without javascript doesn't do anything without Javascript, it should be a `button`

https://css-tricks.com/a-complete-guide-to-links-and-buttons...
That happened in the Spanish civil war. Guernica famous painting depicts the bombing by Italian and German aviation of the city of Guernica.

The United Kingdom didn't wanted to be part of it, thou.

Ironically, I think that more countries intervention would have make the Spanish war bloodier but it could have stopped World War II.
This person isn't a grapheneOS developer. I'm unsure why people keep saying that.

In the GOS chatrooms this article has come up a few times but I've seen them say they don't know why people keep saying this person is a GOS dev. I mean look at the author's github. They sponsor the lead dev but have no commits or forks in the project to show for.
> No, I don't want to go back to the office (I don't have to; my team is now fully remote forever)

It sounds like it's impossible for anybody to ruin it for you, then!

That's great. Same here: I was fully remote before the pandemic, and will continue to only work at fully remote or remote-optional companies.

So, if other people want to return to offices, it doesn't affect me at all. I wish them well (and secretly think they're nuts, but: different strokes for different folks).

Maybe some companies will insist on people returning to the office, but it's really hard for me to imagine a future where it's harder to find a remote job than it was a few years ago. So I don't feel threatened by this. This feels like there's more variety than there used to be, that's all.
Choreographed dancing soldiers ?
Leaking data via DRM/watermarking, just what journalists need to protect the identity and lives of their anonymous sources.
Regular food, no bombings = very few dies for unrelated causes

Regular food, non-WMD bombings = many die, directly

Irregular food, regardless of bombings = many millions might die or be severely impacted in the long-term
Doesn't change the fact that HK was not "annexed," nor was/is it majority "unwilling."
a chip shortage means i keep my current cellphone for a few more years, and make do with older computer and new cars won't have a shitty infotainment system, or an ARM SoC in some gadget that doesn't need to be smart. not something that causes me to riot.
https://thenewstack.io/rust-in-the-linux-kernel-good-enough/

> the objective was not to rewrite the kernel’s 25 million lines of code in Rust, but rather to augment new developments with the more memory-safe language than the standard C normally used in Linux development.
The C preprocessor is a siren song, lures people in with the promise of "extra performance/features/structures for zero runtime cost!" but murders any readability or rationality within your codebase.

Cool concept, but once you've dealt with any legacy codebase that has used it extensively, it feels like an anti-pattern/footgun. Ultimately you just want the language to do those things directly and for the compiler to be smart enough to optimize it later.

Essentially it is too clever for its own good.
You say that now, but would anyone believe a few years ago that Putin could suborn US democracy (The republican president calls him a ‘genius’ after this attack and is visibly subservient when they meet), fund the Brexit campaign and encourage an ambivalent policy in the EU?

His stated goal is to reconstitute the USSR. One route past the nato problem would be to fund opposition groups in these states, poison opponents and induce them to leave NATO prior to invasion.

If he is allowed to take Ukraine he will not stop there.
The internet is a waste of an invention if we can use it to not commute, eliminate all the attendant ills of commuting, spend all day in an office, etc., but we don't use it that way because middle managers can't have butts in seats or whatever other lame excuses they come up with to maintain their grip on the lives of workers. We have remote surgery for chrissakes! Tech workers and many others can all get along just fine remotely, with in-office as on option for those who choose it.
> Russians could rise en-masse

In order to do that in effective numbers that wouldn't get squashed immediately, there would have to be people leading and coordinating the opposition.

Appearing to be such a person is a quick way to accidentally eat plutonium for breakfast.
Stolen from Apple
> If you would mind explaining what you understand the rule to be, which sections of the proposition text helped you reach that conclusion, and how confident you are in that interpretation, I will happily describe my side of this.

Usually the burden of proof is on the person making the claim. What did the journalists say and how was it wrong? You said they all got it wrong, but do you have an example? What is the "right" interpretation and what in the bill text makes you think that?

> Imagine that I used those words intentionally and avoided saying "smarter" and "everyone else" and all that.

"it's that they are the ones who aren't good at anything specific and are therefore doing news."

That's just a coded way of saying "they aren't smart enough to do anything specific so they do something I think is easy". You clearly think techies are smarter than others and are better at doing a job the journalists spent years in school learning.
Here's the list of countries which have used nuclear weapons against another country:

- United States
Just speculation but it might be because AMD does focus a ton on the HPC GPU market which is huge cash cow for them so you drivers are likely to be taken care of.
Uninhabitable for humans, but it's great for wildlife (who don't care if they get cancer later in life, or don't live long enough to get it). And no, AFAIK no three-eyed fish has been sighted yet...
Putin never actually wanted to join NATO, some of his demands were that as Russia joins there is no more need for any US presence in Europe as well as he wanted Russia to be exempt from rule of law and the democracy requirements that NATO has.
I.e., never.

"What a terrible bet solar and wind are", as you claim immediately above, would be a reason not to build out solar and wind, if it were correct. But it's not, and they are.

And, it is at best naive to believe that it takes more energy to produce a solar panel than it will generate. People mining and refining silicon, cadmium, and tellurium and making solar panels out of them do not get power for free. They pay open market prices for energy, which they pass directly on to customers all down the chain to the final buyer. When your panel's production output pays off its purchase cost, its output has (much more than) exceeded the energy used to produce it.
School has been extremely negative for me, because I did not socialize with anyone there. School easily makes it into the top 10 of harmful things in my life
> To be honest this war does make me doubt my assption that Putin is very rational and predictive. What is the rationale behind such a full-scale invasion?

He accurately perceived weakness.

> I don't see benefits that outweight the costs. I am happy to hear them, if they are any.

His priorities are different than what you think they are/should be: https://www.theatlantic.com/ideas/archive/2022/02/lavrov-rus...:

> Their intentions are different from ours too. Putin’s goal is not a flourishing, peaceful, prosperous Russia, but a Russia where he remains in charge. Lavrov’s goal is to maintain his position in the murky world of the Russian elite and, of course, to keep his money. What we mean by “interests” and what they mean by “interests” are not the same. When they listen to our diplomats, they don’t hear anything that really threatens their position, their power, their personal fortunes.

And the West's "punishment" may actually enrich the people who started this war:

https://www.nytimes.com/2022/02/22/us/politics/russia-biden-...

> And perhaps most notably, Mr. Putin and his closest aides and partners in Moscow might not suffer much themselves from sanctions, analysts say....

> Some of the hard-line nationalist men around Mr. Putin were already on a Treasury Department sanctions list and accept that they and their families will no longer have substantial ties to the United States or Europe for the rest of their lives, said Alexander Gabuev, the chair of the Russia in the Asia-Pacific Program at the Carnegie Moscow Center.

> “They are the powerful everybodies in today’s Russia,” he said. “There is a lot of posh richness. They’re totally secluded. They’re the kings, and that can be secured in Russia only.”

> Furthermore, because of their roles in state-owned enterprises and their business ties, they are “the very guys who are directly benefiting from the economy becoming more insulated, more detached from the outside world,” he added.
> I'm genuinely curious at what point a bully threatening you with MAD can be stopped if you value the existence of your own civilization?

If they area actually threatening you with assured destruction (mutual or unilateral), and they aren't bluffing, they cannot while you value the existence of your own civilization.

That's what assured destruction means.
Possibly related to reports that artillery shells hit nuclear waste storage:

A Ukrainian official said Russian shelling hit a radioactive waste repository and an increase in radiation levels was reported. The official spoke on condition of anonymity to discuss the sensitive matter.

[1]: https://journalrecord.com/2022/02/24/ukraine-loses-control-o...
Hasn't this been discussed numerous times on HN?

The premise of this agreement was that US, UK, etc... wouldn't invade the Ukraine to seize/secure the nuclear assets, if they gave them up willingly?

Not that the US, UK, etc... would protect the Ukraine if they gave it up?
Well, Rails wants to be on a relational database. That's a pretty strong constraint that - say - NextJS or Flask avoid.

I think it's true that it sometimes feels a little crazy that form posts are so much tricker in the SPA world. I sometimes wonder if NextJS has got this right: build a semi-old fashioned web app with a frontend and a backend, so all the data transport in between those is pretty light on code, and then use APIs to data services with nicely defined domain objects.

Still yet to put my money where my mouth is on NextJS though.
There were already misformation comments on reddit trying to panic people into believing the Polish border was closed.

Humans really can be terrible.
His whole first chapter is about that, is it not?
It may or may not be a baseless idea but it is not what I said in the comment to which you are replying.
The anonymous account is picked from a pool of real accounts. The username/passwords are hardcoded into the app I'm pretty sure? So basically the aurora devs can login to this account and see the crap everyone's been downlidng (Id assume?)
I wish I knew. I've noticed recently the sequence count has been upped to 4 emails, thus inundating my inbox further. They are clearly automated, yet there is never an unsubscribe link.

Perhaps we need a service that will send an automated
barrage of emails directly to a recruiter to remove an email address from their system. If enough people start using said unsubscribe service, recruiters might start to take the hint.
"arguably" is not needed. Preprocessor destroys most of the semantics and even some syntax of C.
Evidence is that every single programmer that exists in the world, and that started coding as a kid, had to and grasped a concept of a real programming language or they wouldn't be a programmer.

I personally started coding at 8 with BASIC, using a book in another language (that I didn't speak) as a guide. This is the kind of thing a future programmer would do.

I tried teaching programming to my daughter when she was 8. We started with Python and it didn't go. I thought maybe we should try Scratch like everyone is telling us to do. It didn't go either because she was simply not interested in learning programming.

So a case study on a sample of 2 - does it count?
About as much of a stretch that the US or Germany are ruled by Nazis because they have far right nut cases in their armed forces.

Ukraine is the only country other than Israel that both its head of state and head of government are Jews.
Please write a JavaScript program that will not deploy to your production system if you accidentally pass a string to any function that expects an integer.
FWIW last year I got an invoice from the Czech company and this year from a Dutch BV.
My girlfriend lives in a household with 11 people in it by choice. It's not for me but I get the attraction.
I think a lot of 3D printer hobbyists turned to 3D printing once it got good enough because we don't have space or easy access to even cut things or have a stash of parts. You're right, I can get a M6 x 1200mm stainless steel rod for AUD$5. But then to cut it accurately would need a few more tools. So you kinda try and limit things to what you have. And you can do quite a few useful things with just 3D printed piece and the odd screw here and there.
This is a pretty odd comment given that I EXPLICITLY mention science, engineering, and innovation as three separate categories.

Look at how I used the slashes in the earlier part of that science ("sales/marketing"). Do you think I think that sales and marketing are the same thing? If not, why would you think that I think engineering = innovation? It's the exact same grammatical structure.

What I did say is that an NFT startup probably isn't doing anything innovative, and also is probably doing mostly sales and marketing, and that this combination of factors means that their in-person stance makes sense. I stand by that. My mental image of an NFT startup is that it's a boiler room of the sort that pump-and-dumped penny stocks in the 90s. That type of work benefits from rapid feedback loops among staff. The boiler room structure makes sense for a business trying to generate revenue from the NFT ecosystem.

The rest of your post is an odd rant that has almost nothing to do with how I think about businesses or the world. It's not even a strawman... just kind of a completely off topic rant from my perspective.

I have no idea what stereotype you're projecting onto me, but I'm not even an engineer.
No one likes the preprocessor, but it's practicaly required if you don't want to move to C++ with template metaprogramming.
Reuters at the very least is not American, it's international, I do believe that makes it more neutral than NYT and Washington Post.

Also, there are local news sites such as kyivindependent.com, no paywalls of course.
You say you understand then you give a terrible example or two.
A response by other IR theorists: https://www.mearsheimer.com/wp-content/uploads/2019/06/Mosco...

HN really don’t like IR and geopolitics. Almost all the other IR centric views on other threads have been downvoted or flagged.
If you can't decide what's right from wrong, why ask? It means that you have no way of telling whether anything is right or wrong. Is murder wrong? Is stealing wrong? Is interest wrong? We don't know I suppose eh?
Covid-19.
First of all Stoli and Stolichnaya are the same thing. The former is a nickname. Further the Stoli vodka available outside of Russia is produced in Riga, Latvia[1] by SPI Group. Latvia is a member of both the EU and NATO. Boycotting this spirit would be as misguided as it is misinformed. Please don't post stuff like this without at least doing a tiny bit of research first.

[1] https://www.theatlantic.com/international/archive/2013/08/ga...
Why It’s Almost Impossible to Build a Health Care Startup That Works
That was brilliant and very nearly what I was saying. The threshold for actual nuclear war is so high that a belligerent actor could theoretically push quite far by exploiting the natural tendency of the adversary to not desire mutual destruction.

I'm not sure our leaders know what the actual "line" is because there isn't one. Will America MAD to save Europe? I do think it's possible that full-on WW3 engagement with non-nuclear forces could be possible with MAD serving to deter mutual usage and perhaps deter invasion of Russian/American mainland. That's wild speculation though. I base it primarily on the assumption that neither side wants MAD and will act to avoid it. The line for nuclear engagement (as opposed to chest-beating) reduces all the way back to a line drawn around the vital cities/industry/nuclear force deployments of a given country. Everything else might possibly be given up to avoid MAD which is an end-state. Maybe a game theorist can chime in.
Sorry, your hypothetical is just too far detached from reality to debate — you really think Russia in 2022 is remotely strong enough to sweep across Europe, and the only thing stopping that ambition is fear of MAD? Huh?

> I don't know that NATO has the guts to give Putin that bloody nose.

Again…what? Based on NATO’s military inaction re: Ukraine, you’ve concluded that NATO will also do nothing if Russia were to actually attack NATO itself? The whole point of being in NATO is having the collective backing of its allied members.
Engineering failures can trivially be caused by management failures. Beuracracy kills innovation, and, from what I've been told, there aren't many engineering/tech companies that are more beuracratic than Intel.
Thank you. "Don't extrapolate to humans off of one mouse study." != "Don't take this seriously."
"Civil war". It has always been a Russian proxy war
As far as we know.

Thompson's hack relies on the Halting Problem, and the space for deviousness within the Halting Problem is infinitely large.
They will be in a very difficult position: huge offices in Moscow, St. Petersburg and Novosibirsk and in Prague. Czech Republic just announced no new visa will be granted to Russian citizens (except for humanitarian reasons)
> So if you're watching video taken by a professional reporter sent to a theater of combat by a reputable news organization, you can at least be reasonably sure they're not fabricating the video.

I agree with this, but specifically this. i.e. drop any of the nouns and adjectives in the first clause and the second clause changes.

Professional journalists are reliable eyewitnesses and can be trusted to transmit their eyewitness expertise, factoring out any active conspiracy. They are not, however, skilled at obtaining facts except through witnessing, i.e. I trust their first-party accounts but not their third-party accounts. They are easily misled, but it can't be helped: "It is difficult to get a man to understand something when his salary depends upon his not understanding it."
> you would realize that the sentiment runs a lot deeper than being allowed to buy NATO grade American weapons

Oh but I referred to sentiment at the other end of the alliance.

> if that threat works this time I don't see any reason why it would not work the next.

Eh, I don't completely disagree, but the risk/reward calculation of invading a full NATO member with deployed military infrastructure is undoubtedly different - if anything because the stay-behind capabilities in those areas would be very difficult to uproot.

> Historically appeasement of dictators never ends well

The luxury of getting rid of dictators in certain countries by swinging a bigger club, effectively ended in Hiroshima in 1945.
Which still means that it operated for 14 years after the accident. Must have been a very "special" workplace for the engineers involved...
I'm confused. I think we really must have different mental models of this conversation.

What do you mean by "built-in" exactly? You mean adopted standards that are widely deployed?

Assuming that, with tunneling it doesn't matter if it's built-in, because you're side-stepping the devices between you and the public internet. Any device that can open a TCP connection to a remote IP address can create a tunnel, and then it's only constrained by the limitations of the tunnel provider, not by the home router, the ISP, or any software therein.

Maybe this would be more productive and I can learn something if we reduce the scope. How would you solve the DDoS problem in a network full of true p2p IPv6 devices?
I don't think NATO survives another decade with the way incentives have realigned for the state members over the last couple of decades.
Scientists discover a link between high blood pressure and diabetes
> Maybe the light effects

I think what gives it away is that it's too crisp. Look at other combat footage, even from today's events. It's grainy (especially night footage), blurry, seldom very clear and definitely not as crisp. Even the sound is worse in real footage and often arrives at the "wrong" moment, not matching exactly what you're seeing.

This one is too perfect to be true.
>A couple years down the road, if the sanctions don't succeed in containing Putin's aggression, we might have a different discussion.

Yeah well we tried that back in 2014 when it was the Crimean Penensula. I think its time we have that discussion NOW.
Ask HN: Advice on a live video processing project
Hello HN, I'd love some advice on live video processing for a hobby project I'm working on.

I'm currently working on placing a live camera on a beach. My current setup leaves a lot to be desired, but my main problem has been with video-processing-related stuff which I have had no contact with as a developer until now.

It consists of a camera-equipped microcontroller connected to WiFi that is constantly sending JPEGs to a server through HTTP POST requests. On the server side, these JPEGs get saved as files in a folder which in turn are converted to an RTMP live video feed - using ffmpeg - which gets sent to a streaming platform (Twitch or Youtube).

There are problems with my current approach mainly that ffmpeg "finishes" converting my JPEGs mid "transmission" (I use quotes here because all that means is that my microcontroller is still sending JPEGs to the server).

I searched extensively but I've had trouble formulating the queries given how specific my use-case seems to be, and have had little success in this regard. That leads me into believing that I'm commiting mistakes in my approach to this project - which is of no surprise, given my lack of experience in video, specially streaming.

So I'd like some pointers or suggestions from you - it could be pointed at any part of the process I'm currently doing, though what made me write this in the first place was the video streaming problems I'm facing. It could be general resources into encoders, decoders, transcoders, video in general... Or even just comment what you'd change to make streaming work.

Perhaps as a way of being more direct: how does can "generic" - as in normal practice - livestreaming be achieved without the help of something like OBS?

Thank you.
Oh I know. I've even followed Zelenskiy (his social media is usually entertaining...) since he was elected.

I just said there's a basis for it, not that it's true.
Maybe a bit of both :) I think it's more common these days to find programmers who've never used pointers before. Arguably that's a loss for them, especially when their mental model of how memory works starts to get leaky.

But I think people will also learn tons too. At the end of the day, most people learn by example. If you can see what the AI does to your code or suggests as a completion, you will learn best practices faster.