skysight-inc/HackerNews huggingface dataset:
Using local allocators where they offer some benefit certainly is idiomatic C++. Freeing all objects so allocated by simply reclaiming the blocks from a local allocator is also idiomatic C++.

Major subsystems that use no memory except what is passed in from above is also idiomatic C++.

C++ is a big tent. Things you do routinely in one part of a program, such as at startup, may be very different from what you do in a main loop, or in termination cleanup. Things my program does may be very different from what your program does.
Unless the gov't is willing to publish the frozen accounts and the amounts any debate on what's going on will be lacking in facts that will be verified by the regime. We're going to have to wait at least 30 days for the first report to find out what's going on, we may never know.

Perhaps this is why freezing an account generally requires a court order, my guess is that no judge would approve based on the current jurisprudence and facts of the case.
Basis (YC S21) is hiring our first dev/designer to build Figma for data
This is an interesting point. In Seattle we're lucky enough to have The Stranger. They are crass and funded by escort and pot ads, but they are very much in your face about their editorial bias and they cover only the city of Seattle.

Their coverage on local political candidates is considered the gold standard in the area. If you want to run, you will show up for the Stranger's inquisition, and god help you if you start spewing platitudes. Their elections board has no interest in being polite to you, even if they like you.

My wife is heavily involved in local politics, so we know what's going on via that gossip network. The truth is that the forces in place change very slowly. The homeless problem in Seattle? Same systemic problems it's been for a long time. Who's driving the zoning decisions in Bellevue? Same couple of developers who have a chokehold on downtown. Puget Sound Energy's ongoing poor engineering and amazing propoganda? Completely rational actors with a fixed playbook. I could write a briefing on these topics that would still be good in six months or a year.

For topics that require action on your part? By the time the news is covering it, the decisions have been made. Crazy racists running for Bellevue school board? You hear about them in the news when someone has already FOIA'd their emails and found a news outlet to publish them. Action happens via local groups, either your political party or cells of Indivisible or PTSA's or specialized action groups like CENSE. If you want to know what's going on, you need to subscribe to the newsletters of these groups.
For me: Loyalty. Making and keeping commitments. Getting my needs met so I can take care of the people around me. Making people happy.
Yup, the downfall of Apple's UI is obvious, public, and heat-breaking.
Have you read the gorilla TSDB paper? https://www.vldb.org/pvldb/vol8/p1816-teller.pdf

It does a good job laying out why TSDBs are used and some of the tricks they leverage to store this type of data. See the requirements for the service layed out in the paper:

• 2 billion unique time series identified by a string key.

• 700 million data points (time stamp and value) added
per minute.

• Store data for 26 hours.

• More than 40,000 queries per second at peak.

• Reads succeed in under one millisecond.

• Support time series with 15 second granularity (4 points
per minute per time series).

• Two in-memory, not co-located replicas (for disaster
recovery capacity).

• Always serve reads even when a single server crashes.

• Ability to quickly scan over all in memory data.

• Support at least 2x growth per year

Lots of organizations want to adopt an SRE/devops model and want a similar system. Also one thing you should know is that trying to accomplish this with traditional DBMS is usually possible but since it is not making specifically optimized trade offs it usually is more expensive and requires a lot of tuning/expertise.

Lots of organizations (even legacy companies) have a massive need for this kind of service. Also there are very cheap options out there than can handle the million metric use case for basically a <100$ a month is infra costs. The use case is definitely there and even if it's possible with traditional DBMS systems, it usually cheaper and more performant to use a dedicated TSDB.
The CheatEngine tutorial (bundled inside the application) is quite wonderful IMO. I was able to go through just half the tutorial in an hour or two and then immediately use CheatEngine to develop my own patch from scratch for Deus Ex: Mankind Divided to unlock single-player DLC (extra praxis/etc).

It probably won't be that simple for most multiplayer games or those with anti-cheat protections, but it was super enlightening for me.

Honestly if I was making multiplayer cheats I'd probably just use a camera pointed at the monitor and emulate USB inputs. That would be quite difficult to break with anti-cheats. That said, I don't feel like ruining games for other people. Single-player though I feel no qualms about modifying.
Thank goodness. Bethesda's launcher was uniquely awful in a number of unpleasant ways. Slow, prone to crashes, bad user communication, not suitable for use on small monitors. The worst of the launcher apps I have used - and there are so many!

I remember when it was in vogue for every game maker to build their own launcher or even full Steam clone - when EA pulled all its new games from Steam to get people to use Origin, when Ubisoft forced uPlay on you no matter how you bought the game, and so on. Now, it seems like we're pulling back from that situation somewhat - a lot of EA games are back on Steam, for example.

I wonder whether the experiment didn't work, or if it worked, but now the goals have changed again?
Dont do that. You have to speak to the merchant, as they are your legal contract partner and you can demand they fix it.
Not Samsung or your bank.
This is a horrible advice
I wonder if there’s truth to the reports of people after being Guillotined still being able to blink and make facial expressions even though their head has just been severed.
Andreas Antonopoulos has a good monologue on the risk of a 51% attack, https://www.youtube.com/watch?v=ncPyMUfNyVM
Of course there is some ceiling, however it seems to be kept much lower than it could be at many companies due to inexpressive "idiot proof" programming environments and highly bureaucratic processes.
I'm really hopeful a 15" is not too distant (but seems like it might be). I have an aging Dell XPS 9550, but there's not been much I've wanted to jump at. I looked briefly at the System76 Kudu - are there any go-to 15" Linux-friendly workstations?

It seems a lot of developer-type folks have moved to cloud focused work, at least in my bubble the raw computing power seems to be less and less valued.
And what about the popup when the trial ends to get parallels and x other famous mac apps (not clear which ones) for a once in a lifetime deal? No thanks.
Twice the screen while still fitting in your pocket? If they were reliable I'd love one of those
It's something to use.

"Verify Company Name is denying the warranty claim in violation of the Magnuson-Moss Warranty Act?"

That will probably get them to say, "No, but we'll do a goodwill repair/exchange this one time for you."

Cost: 30 seconds to type and click send.

If they don't budge, then contact the state's Attorney General, and lodge a complaint with the FTC. I've never gone the AG route, but the FTC has an online form and it's very easy to use. When buying a vehicle and the dealer did something illegal, my state had a form that was also very easy to find and use.

It just depends if you want to be someone who accepts getting pushed over and being ignorant of their resources, or if you want to spend a few minutes and do something that might have an impact.

Everyone has leverage in one form or another; it just depends if they want to look for it.

As for suing, I've never actually had to sue any companies, because I explained how I would file, how I would win, and how I would collect what I am owed if they didn't cut a check as ordered by the court's judgment.
Another perspective, someone with no programming experience whatsoever today can in 1 minute create a new ML application for natural language tasks with performance that would blow most SOTA systems from 5 years ago out of the water, using things like the openai API. And this trend will almost certainly continue, where many tasks can be programmed by simply asking/describing the problem to a massive model and letting it work magic.
I've been saying from day one that Stadia should have offered a subscription service similar to what Microsoft is doing with Game Pass. I don't want to pay full-price for games that require someone else maintaining hardware, especially when they're not booking any recurring revenue.
PC games are a lot cheaper than console games, should I be able to buy for £9 on PC and transfer to Xbox where the same game is for £40?
Links for February
Ask HN: Anyone else dealing with Disqus Spam?
Apparently spammers figured out how to keep accounts and put links in upvoting comments. From Disqus:

"Thanks for reaching out about this issue [comment up voting spam].

In early February 2022, Disqus released spam detection improvements that significantly limited the ability to generate comment spam. Spammers have since switched to a voting method in an attempt to bring attention to their user profiles and associated external links.
At this time we advise commenters to not follow links from these spam profiles. Our team is working to take bulk action on the accounts involved in upvote spam, including removing these votes from discussion threads.
On behalf of the team I apologize for the disruption to your community. I can assure you we are taking this new behavior seriously, and are committed to addressing spam in all forms across our network."
In a healthcare context, the patient often may not physically be able to.
I mean, yes, you can add non-Steam games to Steam, which is the analogue here.
What optimization problem is being solved?
It depends on the geography, of course.

Tbh, I bet the Russian generals would dearly like to reach the Dnieper.
Occupy Wall Street was a protest and an "occupation". CHAZ was literally people "occupying" a part of Seattle. Both of those protests were a good thing, but they were still protests. You don't get to decide what is and what isn't a protest just because you disagree with the message or the methods and the government's rhetoric in the past few weeks (calling it terrorism, occupation, foreign backed agitation) is very dangerous and should not be encouraged.

It's literally straight out of a third world country's dictator textbook on how to discredit any opposition, especially the cold War Era style insanity around "foreign backing!!" by... Americans. I guess at least they didn't blame the Russians this time
The Next Bubble (2008)
Quillete writers have published a lot of unverifiable nonsense. So much so that I need proof of every claim they make.
TIL that there is a new Quake. I know what I'm doing tonight.
What ads were you seeing in W10 Home and where did they appear?
Unlimited energy doesn't free us from the consequences of thermodynamics. Geoengineering doesn't help us. Where we generate the energy doesn't change anything if it's used here on this planet.

There are literal physical limits here that can't just be handwaved away by space magic. Higher energy use in a finite spherical volume fundamentally results in increased temperatures when your only way of getting rid of that heat is radiation (and not convection or conduction). And we can't just beam that heat away with space magic either thanks to entropy.

Thermodynamics gives us no tools to deal with this problem outside of increasing the spherical volume of Earth (and therefore its surface area).
> But in this case they're freezing bank accounts without even going through the courts.

And the emergencies act is being challenged in court, which will determine if this is lawful.

Banks are private entities. They freeze accounts engaged in illegal activities regularly. The US does too - here's one random citation. [1]

[1] https://www.kqed.org/news/11899955/when-banks-turned-their-b...
Curious about how concurrent edits work. In, say, Figma, two users can simultaneously each create a text box and type into it. In my naive understanding of how Hyperbeam works, the remote Chrome instance would be receiving two streams of input events. Would those streams be interleaved, resulting in typing going to the wrong text box for one user? Or is there a different approach?
I hate this trend of apple style trackpads that take up most of the real estate and keep registering false positives when you type. I have to use a macbook for work and most of the time I can use it just fine in clamshell mode connected to external keyboard/peripherals but ocassionally when I am not at my desk and have to interact directly with the laptop it's an absolutely atrocious experience due to that damn trackpad.
"exceptions are exceptional" means what?
I have written time series logging db with sqlite believe that approach has following advantages:

System performance scales well with latest SSD HW.
As compare to cloud base approach that is limited by network/cloud speed.

One can store logs per day / week / year in separate db files as needed.

Backup of small db files for last few days/weeks are trivial with rsync.

Love to hear other pro/con arguments from folks who use Timescale type approach.
One of those institutions is freezing bank accounts.

The courts now get to play a role. https://calgaryherald.com/news/local-news/kenney-to-launch-l...
Yeah, Rabbit was incredible. They just had issues monetizing and it died .. heh.
It would be interesting to see a breakdown of exception overhead for C++/Rust/Haskell/Julia/Swift in multi-threaded workloads.

Sometimes that happens rarely but blocks many threads is a huge pain to deal with.
That could make sense for processes, which would also get around the exception unwind lock, but I don't know how that would work with every thread moved into a separate VM.
It should be good news for everyone unless Russia makes a full-scale invasion (which seem very unlikely), no? By everyone I mean every average, civilian person. All of them should want peace, no matter if their passport says Ukraine or "X Republic of the Russian Federation".
So much attention is paid to the hazy question of technicalities of NATO membership, I think it's important to note that Russia agreed to very specific terms with respect to Ukraine and accepting it's borders and rights. https://en.wikipedia.org/wiki/Nuclear_weapons_and_Ukraine

1. The Russian Federation, the UK and the US reaffirm their commitment to Ukraine, in accordance with the principles of the Final Act of the Conference on Security and Cooperation in Europe, to respect the independence and sovereignty and the existing borders of Ukraine

2. The Russian Federation, the UK and the US reaffirm their obligation to refrain from the threat or use of force against the territorial integrity or political independence of Ukraine, and that none of their weapons will ever be used against Ukraine except in self-defence or otherwise in accordance with the Charter of the United Nations.

3. The Russian Federation, the UK and the US reaffirm their commitment to Ukraine, in accordance with the principles of the Final Act of the Conference on Security and Cooperation in Europe, to refrain from economic coercion designed to subordinate to their own interest the exercise by Ukraine of the rights inherent in its sovereignty and thus to secure advantages of any kind.
Delisted means no longer sold. Unless developer does something shady those games can still be downloaded and played (any third-party DRM not withstanding)
> I still don't get how this is all ok. The way to break up illegal behavior is to arrest those responsible, and then charge them and try them for crimes. Which in this case, should have been trivially easy, since the participants of main importance were there, in public, sitting in their trucks.

They did this, once they had the additional support they needed.

> That seems to be a pretty big problem. If the police aren't doing their job, fire their leadership and find people who will get it done. Does Canada have something analogous to the US National Guard that could have been brought in to deal with this if the local authorities were refusing to take action?

Not really anything specifically the same as the National Guard in terms of policing actions. The closest you could argue is the RCMP.

The city did eventually fire the police chief, get extra resources, and make arrests, as I'm sure if you've followed this story at all you'll have seen by now.

> The outrage here -- at least to me -- isn't about how many people were affected by this or about how the truckers could have better made their point. It's that governments just should not have the power to "solve" problems like this in this way. (And before anyone decides to jump into whataboutism territory, yes, I acknowledge that the US has similar problems, and we suck as well for letting authorities get away with it.)

I agree with you here. It should not have gotten to this point. Where do you draw the line though?

At what point is a person's right to protest crossing a line?

Is it blocking off roadways for several weeks?

Is it shutting down businesses in a downtown core?

Is it harassing people?

Is it threatening people?

Is it assaulting people?

Is it attempted arson?

I'm trying to envision where the line should be drawn in a way that respects right to protest and allows the locals to not have to endure the above.

At what point do you cut off their funding source(s)?

The failure on the convoy organizer's part was placing the trucks where they did and deciding to harass the people who just live in downtown Ottawa. If they were up on Parliament hill for these three weeks and there weren't collections of stories of the above, nobody would really care.[1] As I've mentioned elsewhere, Ottawa is familiar with large protests and marches. The people calling it an occupation aren't wrong, from the video I've seen and the stories I've heard from friends and family living down there.

[1]: https://old.reddit.com/r/ontario/comments/sgcx4a/del_duca_it...
There is a meditation technique common in Europe called Autogenic Training that is focused on warming up parts of the body as its central technique. There's a lot of evidence for its efficacy.
The Stadia model was dead on arrival exactly because you were expected to pay full price to "buy" games that you would never actually own.

With Google's reputation of killing products, and the hubris of thinking they could just waltz into the gaming space and be competitive within a year, it's no wonder that no one took them seriously and the product never took off.

Other streaming services like GeForce Now (sp?) let you install games you already own on Steam and play them on a cloud computer, which is a much more attractive model I think.
The people selling data are the data brokers who hoover up store card data, credit card purchase data etc. etc.

Those are the REALLY creepy ones, and yet, we never talk about them ...
The problem is that in many practical situations you don’t know which situation is “exceptional”.

If you write a jpeg-processing service, it’s intuitive to raise an exception on a malformed jpeg, but there’s no guarantee that only 1% of the jpegs users upload to the service are malformed.

In other words, we treat exceptions as exceptions from our code expects, not what’s statistically unlikely in the input space, which is in many cases impossible to predict with accuracy. (E.g., even if only 1% of your inputs are malformed over all time, on some Thursday you may be hit with 80% bad inputs, making the performance drop across the service unacceptable.)
> what are legit things you bought with Monero

its been 8 years now, I guess off the top of my head:

groceries, domain names, registered agent services, compute instances, graphic design, press releases
I think the proposed raw string literals open up the possibility for something like this in the future.
To you maybe. I hate small trackpads. I move the arrow more than I type and palm detection works well for me, so who’s right?
It says they did provide a list of influencers, so perhaps they are just freezing the accounts of those who tweeted. I'm sure many of those who donated are also online influencers voicing their support for the freedom convoy.
Yeah, that's one way of looking at it: a multiplayer Mighty app that you can iframe into your own website.

In terms of how we're different, Mighty focuses on performance while we focus on collaboration.
Is there a tutorial that I can check out to understand this better?
The Charter specifically protects peaceful assemblies. Which this was not by most measures.

https://www.canada.ca/en/canadian-heritage/services/how-righ...
It also needs to be a system that is workable when you scrape an unconscious person off the street with no next-of-kin available. It's not possible to have the patient or their agent hold the sole key for data that is created before the patient/agent is first available. Really, the best you can do in that situation is exactly what HIPAA requires.
Yeah, Kenney's lawsuit is mostly political grandstanding, but I welcome the use of the Act being challenged in court. All this makes our democracy stronger.
> I’m making more money sitting in this house than I do at my well paid tech job.

This echoes what I’ve been told. Founders at a startup I spoke to were from Switzerland and Canada. Tried raising capital in Toronto (where Canadian finance is happening) and Vancouver and the response they got was lackluster.

Investors basically wanted to match the returns they would get simply by parking their money in real estate, as well as the (non-existent) risk profile. This was especially true in Vancouver where they actually had someone rescheduling at the last minute because he was involved in a bidding war for some property in partnership with a foreign buyer.

So they ended up coming down to the Bay to get funding. I assume most of the owners are here in America now (they are still quite early stage, at least, the cofounders are and so are most employees).
It says "Dead Island Riptide" is delisted, but I still have it in my library and still can install it, background image doesn't load. There is another "Purchase disabled" category, looks like it cant be bought anymore, but can be installed.
I think "first comer's advantage" will win over for the really big outfits like apple, ibm, intel, etc because they've gone through integration pains with other services and don't want to go through that pain organization wide. However, I think small to mid-size businesses could find some migration from slack to matrix pretty advantageous.
There's a famous scene in the movie "The Big Short" where a character is talking to a stripper about her investment properties. The movie is about the 2008 housing bubble.
Under the hood of staticmethod: let’s recode this decorator
I understand. Thanks for what you posted above.
That's definitely a factor. Another factor is the refusal to make NordStream2 operational. Gazprom must be free of Ukrainian influence, and if it can't be North it will be South - the spice must flow, and so does the gas.
They're rare. Therefore their runtime costs have little impact on the overall running time. At least that's my understanding of the argument.
The newspaper makes a ton of money off of those inserts and agreements about them happen at the top of the org chart. Nobody you can reach has any power here. In addition, if their support was young enough they'd have no idea what you're talking about.

"That crazy guy who thinks there's a conspiracy to print off ads and put them in his mailbox called again today!"
Sounds optimistic, I'm thinking less.