skysight-inc/HackerNews huggingface dataset:
Keep in mind that the "<= 4 euro/month virtual machine" has maybe 256MB of RAM available and running anything beyond nginx + a web server which needs to be cycled every few days due to memory fragmentation can become challenging. I've tried this many times, but it's just not worth the extra hassle. And I want a vpn, monitoring and database even on the toy project server as a minimum in reality.
You must not use std::move when returning a value, just let RVO do its job. The compiler will make it so that the variable you are returning from your function will be constructed in-place at the variable you are assigning the function call to.

However, if you are compiling at -O0 without any optimizations this may not happen.
Right, because a barebone docker hypervisor needs so much admining.
> How do you deal with Microsoft's crap on a daily basis?

I don't. Been using Linux for over 10 years. The few Windows machines I have to use at work are actually nothing but glorified browser launchers.
"But they could stop there and everybody in NATO would shrug their shoulders and they would keep Crimea. Why insist on further escalation?"

They say, they stopped there - and that they will not tolerate a military occupation of the autonomous eastern ukraine provinces. Not that they want to occupy whole ukraine.

So I do not see them insist on further escalation. But the west has said - it will not accept the crimea annexion. So this conflict will remain unsolved, if no side will move.
Retro Game GAN Upscaling
As a highly anti-Putin Russian, Putin's the game is very clear. He has fixed costs of having a standing army, which he pays for anyway. It is no difference for him whether they are placed in Murmansk or in Crimea, the costs are the same. However, the benefits for him are different: it turns out that when these troops are stationed near the Ukraine border, the West loses their nerve and concedes to almost anything Putin wants.

Imagine a thug standing nearby, playing with his brass knuckles menacingly. A skinny college boy gets really nervous and tries his best not to provoke the thug.

Seeing the Russia situation from inside, I don't see how this new war is in Putin's interests. However, the West is unable to read this game and Putin plays the incapable leaders of the Europe and the US really well.
I'd rather know where my ship is burning instead of closing my eyes and just having happy thoughts.

But then, I am an engineer, not some marketing drone...
The documentation isn't that great, but the implementation is here:

https://github.com/minvws/nl-covid19-coronacheck-idemix

We use IDEMIX to create a unique proof per display of the QR code. So you cannot track a person as they use their QR code (if you have control of a network of scanner apps).
> But then the switch will still bounce except now it bounces with an extra state and you need extra logic to read an extra output per switch and debounce both outputs, which also makes PCB's more complex further increasing the cost.

No, you don't need to debounce both. Both signals will never be connected at once.
Depending on your region and country, you might want to look where Apple sources their map data from (eg: OpenStreetMaps) and remove the details at the source.

Not sure if this is the best way to go, but hope it helps.
Why is the U.S. sending troops to Europe at all? It’s been 70 years since the end of World War 2, 30 years since the end of the Cold War. Let the wealthy democracies of Europe fund their own collective defense. They can easily afford it. France and the UK have credible nuclear deterrents. Young Americans from poor rural towns who enlist just for healthcare have no business in Ukraine or Bulgaria. Send the young Germans; maybe they’ll stop looking down their noses at countries with functioning armies.
> Even when you have paid Google products that come with support, it is really awful

Once I subscribed to YouTube Music (paid!) family plan, but my wife's account would always say that she is in another country and can not join the plan. I tried everything - the support never even bothered to reply to my emails. I cancelled the plan and since then I keep seeing the same ads for the premium service every time I open the YT mobile app.
Sits well fine with me. Client side rendering is bad for users and bad for Search Engines...
U.S. science no longer leads the world. Here’s how to respond
I think it's important to remember Biden's support for the Iraq war

> “I do not believe this is a rush to war,” Biden said a few days before the vote. “I believe it is a march to peace and security. I believe that failure to overwhelmingly support this resolution is likely to enhance the prospects that war will occur …”

I wonder if this is a reckless decision. Maybe he takes the easy way out too easily. It certainly seems like too many drums have been drumming a little too loud for proportion.
Venmo, PayPal, other payment apps must report to IRS about $600+ transactions
Haha, you're right! I thought that referred to some support contract the developer was offering, but based on the rest of the content of the page (and lack of support contract), I think you're right :)
You used to be able to suspend KDE Activities (sorta like a group of running applications - similar to switching to "desktop" in most DEs). So you could have separate activities for different projects. It was very handy. You could have some huge bloated C++ IDE + documentation + whatever in the background somewhere ready to be resumed when you need it. At some point it all got removed though. I have no idea why (and now "Activities" are kinda pointless). My guess is some applications break and they got lots of complaints - but that's just a guess
Draw out Russia’s borders, mark the sections that are part of this “encirclement”, and it becomes a pretty absurd claim at a glance.
As a Dutch citizen I would prefer the US not to meddle in our backyard ( again ). Thanks.
Companies are often made up of teams with differing goals and ambitions. The folks working on WSL, VS Code, Github and other popular projects are quite different than those making predatory decisions like these. They very well may <3 Linux and believe in open-source.
maybe lame question but doesn't syntax highlighting make NO different color because it's a reserved word?

If config file is autogenerated then it's a different matter.
Almost nobody wants to live in Putin's sphere of influence (for obvious reasons: economy, freedom). While Russia and Belarus are dictatorships, Ukraine is a democracy with free elections. What is there to "talk" about?
That was the USSR, though, not Russia.
I do think so. Terminal applications tend to be really accessible.
Two obvious major US provocations come to the mind of this non-expert who hasn’t been paying that much attention: The expansion of NATO to the east (which we said we wouldn’t do when the Berlin Wall fell); Trying to stop construction of a gas pipeline between Russia and Western Europe (i.e., trying to usurp the sovereignty of all involved).
> People don't want the ability to write their own automations

I don't think that is true. People do want their own automations, but only when necessary. And as always, it should be as effortless as possible. That's the main fail where most of those tools struggle.

> they want something that just works out of the box.

Why not both? Personally, I want something gives me everything for the common tasks and services, but also has room to let me grow into the direction I need to go. This does not mean I want to build everything myself, or even start at zero. But between zero customizing, and doing everything yourself, there should be a common ground that allows me find my sweet spot.

And there are many good tools which do feed into this desires and are working well.
Personal Velocity
After a restart I was presented with a screen which asked me whether to change or keep default browser settings. I clicked on "keep" and pretty much everything stayed the same.

Did OP got this question?

Edit: d'oh, didn't realize question was about Win 11. I'm still on Win 10 and Win 8 on my machines.
Add to that a tumescent military-industrial complex who recent lost their cash cows in the Middle East…
Here’s a good explanation:
https://youtu.be/JrMiSQAGOS4

In short, Russia has no intention to conquer Ukraine, but Russia has vital strategic interest there. With its actions it pursues to block eastwards expansion of NATO by wrecking the candidate states.

At the same time, NATO policy is quite contradictory: Ukraine is not a vital strategic interest for USA, and thus NATO was not ready to fight for it in Donbass. At the same time they are happy to offer Article 5, which will oblige them to engage in the future conflicts in this area.

Policy of open doors that NATO declares does not make much sense: by design it supposed to be a defensive alliance, not an empire, so why inviting countries which won’t really contribute to your security?
I think that he's confusing "crypto" - as in the Ponzai scheme - with cryptographic techniques. The latter is very interesting and has real world applications. The former is a scam which is making a small group very rich and will eventually wipe out a load of suckers.
For client-server APIs, I'd say it's using OpenAPI as specification, as opposed to just for documentation and testing.

It feels like it shouldn't be "cutting edge", but it's still not used as much as it should be.
something is rotten in the state of Denmark /s
There isn't one simple answer here. This is partially about shoring up Russian reputation. Partially about Putin distracting people from a Russian economy that has suffered under covid right after the state reformed the pension system. Partially about lashing back at what's perceived as Nato expansionism. Partially exploiting a time when Americans are most war weary due to the Afghanistan pullout. The rest of Nato is busy with wrecked balance sheets and other issues like global warming. Nobody is itching for a fight right now so it's a good time to press.

And, lastly, probably good old fashion Russian incremental expansionism.
Good. Send'em in. The Polish and Romanian militaries are waiting to work together with US troops.
Most of the author's points are well-taken. But not all of them... for example:

auto plus(std::string s, std::string t) { return s + t; }

> The above code is bad because it makes unnecessary copies

Maybe, maybe not. A compiler may inline it (although, TBH, even regardless of parameter constness, std::string is very copy-prone in general.)

> What we mean to write is:

auto plus(const std::string& s, const std::string& t)

Not quite. That is, this implies we don't want to take rvalues (e.g. temporary strings). It will work with rvalues, but we might be making copies for them.

When you think about it, we don't even need the actual string class; we only need access to the characters. So...

auto plus( std::string_view s, std::string_view t)

(this is C++17; before that, try: https://github.com/martinmoene/string-view-lite )

Also, why use the `auto` return type? I avoid it unless it hides some complex monstrosity, or it's a template where it's difficult to figure out. Here I would write:

std::string plus( std::string_view s, std::string_view t)

> In function signatures: the ugly is the bad

This is... a good principle, in thoery, but in practice, not always :-)

But this principle is part of why we don't want to talk about const &'s and just pass things by value if we can.
Based on a quick Google search for "Azure Compute Node":

> A node is an Azure virtual machine (VM) or cloud service VM

> The terms node and VM are used interchangeably occasionally

> Azure Batch creates and manages a pool of compute nodes (virtual machines)

> In an Azure Batch workflow, a compute node (or node) is a virtual machine that processes a portion of your application's workload

So no, seems Azure Compute Nodes are VMs, not bare metal.
Turns out, having a PhD is a negative when it comes to closing bugs.
The black sea is pretty much useless as a warm water port. The Bosporus limits the number of military ships that can pass through it by treaty and unless you conquer Istanbul there's nothing you can do about it.

Crimea was 90% ethnic Russian as were the majority of areas occupied by rebels. This is an ethnic conflict that started when the majority Ukrainian areas decided that they could rule the country without the majority Russian areas.

I imagine what we will see is North Ukraine being left as a majority Ukrainian speaking country and South Ukraine a majority Russian speaking country. Ironically enough North Ukraine then becomes small enough to join the EU.
The problem is that you're dealing with an analogue signal. The gold standard for debouncing because of that is a low-pass filter, which is implementable by a resistor and capacitor, and way more reliable (and responsive) than any software solution.
There is no political benefit for Biden in going to war. The left doesn't like war -- it wants to fix problems at home. The right doesn't want war -- it elected Trump partly on anti-war sentiment.
Is this a case of nominative determinism [1]?

Haven't read his code, but direct jumps (gotos) are quite common in assembly and can certainly help optimize things some times.

[1]: https://en.wikipedia.org/wiki/Nominative_determinism
I used always Windows and Linux at home, since 1996. I tryed Win10 but decided thats not form me. Candy Crush an XBox all over the place, bad privacy etc. I deleted all Windows when Win7 support ended. Now I have even 3 never even booted diskimages with new, never used Windows licences. I'm not using Linux because it is free. I even bought many times Linux Distro CDs and later DVDs in the 90s. I'm using Linux because of freedom and respect.
Yeah, I always hear about it and everyone jumps to trash on Microsoft and here we are with over 1000 windows machines deployed and have never seen it.
This might be tin-foil-hatty, but the U.S. leaves Afghanistan and not long after this is happening. Really feels like its war machine needs to be busy.
France and the UK don't have an economic and political problem like the US has at the moment. Which is why they have no reason to "change the narrative" by distracting the public with useless wars.

There are zero US interests to protect in and around Ukraine, so all of this looks like unwarranted poking of a lion/shark/whatever.
Isn't "war" a big part of the US economy?
In other news today a UK Court refused to extradite crypto hacker Corey De Rose to the US on the that his "extradition would be “unjust and, or, oppressive” and “disproportionate in relation to the human rights act.” [0]. Hopefully a similar line of reasoning will be taken up on appeal in the case of Assange.

[0] https://www.bloomberg.com/news/articles/2022-01-24/u-s-loses...
If Romania with Poland think that US troops will be of any defensie use for them, they should check how much US pays Cuba for leasing Guantanamo. It's 4000 USD annually. Black site in Poland cost slightly more but it's a matter of time.
It surprises me that MS still overrides user settings during updates. Especially since Satya Nadella is trying to modernise. But you can also see this disrespectful handling of user choices as result of internal conflicts. The old patronising MS is still there.
Meanwhile MS is doing amazing stuff with Azure, Github and VS Code.
Yep. In Next Generation Shell for example. At the time that the language was created, around 2013, it was clear to me (author of the language) that ordered traversal is beneficial and outweighs the downsides (memory usage).
Not if you consider, that the main developed parts of russia - their heartland, are on the european side, west of the ural.

So that claim is valid, but I still do not think it is up to russia to decide, which military alliance their sovereign neighbors join.
It's funny how people think there's any distinction between the two. There's not, their geopolitical interests are the same.
If there was an outage in early 2000, we just went outside to play, or watch tv.

Now if Facebook is down for 15 seconds everyone has heart failure like their life is over.
A lot of US politicians are involved in the Ukrainian energy and gas industry since Euromaidan (see Burisma for example). Their support for increasing gas transit tariffs caused huge increases in energy prices in Europe recently, and is why Russia has built Nord Stream 2.

The US wants to keep Europe isolated from Russia and have some control via Ukraine. They make millions off the tariffs whilst we struggle to afford electricity.

As a fellow EU citizen, I wish we could have a peaceful disarmament. Have the US withdraw its military bases from Europe, stop funding and arming extremist militias in Ukraine, stop interfering in Nord Stream 2, etc. and abolish NATO. Whilst Russia could also stop funding separatists and allow Ukraine to join the EU, and the EU could permit Nord Stream 2 and form a self-defence force.
They're not meddling into your backyard. Russia is the one who's meddling in our backyards. They have no business with your country.
I mean talk with Putin (as EU): "WTF are you doing? Yes we'll get that NordStream2 going our citizens want it too. It's just those Americans that aren't playing nice but we need them. Still, let's talk economic relations that benefit both countries. Yes we understand that after the fall of the wall your country was a mess and you never want to go back to that type of 'democracy', but you know, maybe it's time now... Or when do you think it's time? let's talk about it. Yes you have to keep those oligarchs that just grabbed wealth for years after the fall of the wall happy. We understand, but hey, they'll die soon enough."
I am a generation Z zoomer and people using emoji in code / docs scream immaturity to me.
German and French politicians have sold their soul to Gazprom.

Nato cannot rely on these countries against Russian threat.
There's also a ‘Munin’ software, of course: a server monitoring program. It was pretty neat around ten years ago, dunno how it compares now.
> by investing into a business, you get voting rights to actually influence in which direction a business is heading.

Or you just get entangled in the political battles already happening in that company, which will take more effort and time to untangle to enable you to actually steer the ship into some kind of sustainable business.

So not only you'll be fighting the lack of a sustainability mindset/processes but all the entrenched political powers that made this mindset be realised. Throwing good money at bad stuff is not really a good prospect for investing, better to invest in places that aren't dirty from the get-go.
Correct me if I'm wrong, but Troy Hunt is a person focusing on security, not infrastructure, deployments or development even. If anyone is near making that mistake, it's people like Troy Hunt. Operators would of course see the problem easily (paying for bandwidth like that would be the first warning sign), while they are sometimes blind to other issues, like security.
Since I know some Japanese, I'd like to point out that "Goto" should be pronounced more like "Go-toe"
I'll bet Sysco would deliver $10k worth of canned tomatoes to your restaurant without checking.
I always preferred k-jofol for its diverse and weirdly shaped skins - well, until someone released a plug-in for XMMS that allowed you to use k-jofol skins for it, some of which were absolutely wild.
Ukraine is in Russia's sphere of influence and allowing the EU/US to change that means the boundary encroaches closer creating great risk for the sphere.

The edge of Romania/Moldova are where the great plains start. Meaning if you get natural trade routes from that region on its a very easy march to Moscow.

Second, it is a test of the US to put up resources. It is a challenging time for the US to do so, so it just makes it expensive not to do so. I.e if the US does not and Russia invades it makes the US look very weak and it can seize on that. It is a very standard/typical balance of power move.

Thirdly, covid has been bad in Russia so projecting power looks very strong to maintain leadership. In Russia's history this is just a very common thing to do to maintain power in government.

In all it is a very optimal play for Russia to do. Any leader other than Putin wearing the 'Bear suit' would basically do the same.
Same here, I gave my mother a dual-boot system (Windows+Debian) somewhere around 2008 (or so, given that it was Windows XP), and told her to switch to Linux for online banking (my father's online account was blocked twice due to suspicious activity). I also configured her Thunderbird mail client to use the Windows' data folder, so she could access her e-mail on both. A year later she told me she never started Windows any more, she used Linux all the time.

Then my father's printer and sound card stopped working after upgrading to Windows 8, and I moved him to Linux as well.

In all this time there's only one thing I couldn't fix for them: the library's audiobooks had some form of Adobe DRM on them, and of course it didn't support Linux. I told them to take up the issue with their library, but of course they didn't have a satisfactory resolution to the problem.
> Modern GUI applications tend to use significant system resources, such as CPU time, even when they're not being actively used.

The biggest offender here is the browser. I don't see any room for improvement by this programm here.
> They need answers when people ask "what were you doing?" and "why did you let this happen?"

Americans aren't going to ask those questions - Americans rarely if ever ask those questions about terrible things their government lets happen (or instigates) on their own soil, and when they do, the US never sees serious consequences.

The rest of the world can ask that question, but Americans don't care about that at all. They just had a populist revolution where they tried to burn every bridge and treaty they had with their allies and retreat from the world stage entirely. That "America first, America best" attitude hasn't gone away just because a Democrat is currently in charge.

Letting China annex Taiwan would absolutely be something the US government could weather, easily.

>A war with Russia fits the bill.

No it doesn't. People aren't goldfish - even if the US and Russia go to war, everyone is going to notice China annexing Taiwan. Media is still going to report on it. Governments are still going to react to it.
Ami go home!
FWIW I had the same problem a few months ago, and they did eventually sort me out. This surprised me, given Google's reputation. I was on the 1-month "free trial" membership, and always planned to switch to the single-person membership if they didn't get it sorted out, so I wasn't really out any money during that time.

(And in fact, what actually happened was they hadn't sorted me out by the time the free trial was up, so I cancelled it and switched to the individual membership. They managed to get things sorted out a week or two after that, but I'm still on the individual membership; my wife just shares my account ID.)
National Science Board: The State of U.S. Science and Engineering 2022
I guess for the particular use case the simple string hash works. In the worst case you lock a few more likely unrelated users.

However, in some cases you want to enact a specific locking order on some objects that interact, and in particular if locks aren't reentrant, I'd be cautious and at least use a cryptographic hash here to reduce likelihood if collisions.
Biden Administration to Release Executive Order on Crypto
>Why is the U.S. sending troops to Europe at all?

Possibly because of a certain Atlantic defense treaty.
> In short, Russia has no intention to conquer Ukraine, but Russia has vital strategic interest there.

Russia has no strategic interests

But Russia has a president who is:

- a matric fail

- who spend most of his youth in mafia, running drugs, and stealing humanitarian aid

- who conducts himself accordingly to what you expect from those kind of people
Putin is in the same boat.