skysight-inc/HackerNews huggingface dataset:
The RISC-V Privileged Architecture spec (V20211203) [1] advises against a software-managed TLB (section 4.3) due to being a "performance bottleneck on high-performance systems, and [are] especially troublesome with decoupled specialized coprocessors", but this is definitely a topic worth investigating IMO.

An interesting related document is Gernot Heiser's "Inside L4/MIPS" [2], which details the design decisions and the implementation of software TLB management for an early version of the L4 microkernel on 64-bit MIPS systems.

[1] https://github.com/riscv/riscv-isa-manual/releases/download/...

[2] https://trustworthy.systems/publications/papers/Heiser%3AIL4...
The US has a presidential position that is too strong (the US-type presidential system is often called one of the worst US exports) but there are long established institutions and mechanisms that keep the ball going. Trump(ism) found gaps and there are enough holes to make a mess out of things like transfer of power, but it's what keeping America from falling apart.

Remember JFK, transfer of power after Nixon, even the Bush/Gore debacle. The whole machinery worked in the end, however flawed.

Totalitarian regimes like China, where you dismantle your opposition, including state institutions, make them very vulnerable. If Xi or Putin disappear tomorrow, there would be utter chaos.
A web developer that can't explain extremely basic tags for something that is the absolute foundation of their tech does sound quite a lot like a scotsman not knowing how to speak Scottish.
My lasting memory of all Win9x editions will be "The program has performed an illegal operation and will be shut down" error messages which were rampant back then.

Also I remember people freaking out about those messages.
Exactly my experience. I have a feeling that he talks way to much and without a pause throwing large number of unconnected points leaving you bamboozeled on what to actually start with, what is the most proven and would give best bang for the buck.
The good old times of Usenet when you could have discussions on deep technical topics with real experts, even if you were just a lowly undergraduate student... how I miss this, I learned so much from Usenet as a student in the nineties.
How many dictators fell over the last few centuries?

dozens?maybe hundreds?

Putin will fall at some point, just like everyone before him, he's not a god, it's not a matter of if it's a matter of when.
> hammock get-together

Uh how do those work?
I'm not sure about any thing to really improve your concentration, but you could start by identifying things that are undeniably bad for your concentration and removing them?
I would recommend joining an ML-centric company in an ML infrastructure role, and get real-world experience that way. (Example industries to look at: self driving car companies, spam & abuse departments of major companies, data labeling firms, ML consulting firms). Ideally you want to work with as many ML engineers as you can.

Classes and independent study are great, but a lot of these companies want to hire experienced folks for ML roles, so once you have picked up some basics from independent study it's helpful to get an _ML adjacent_ role to help you start moving laterally toward the ML engineer position you want.
>"You've got sympathies for Ebenezer Scrooge!" is possibly the bottom of the barrel of counters if you seriously want good outcomes.

Honestly, I'm not so sure about that.

Pointing out that someone is making the same arguments as an archetype of cruelty should be cause for reflection at the very least.
Yeah, as a french I often have to set my LANG to C because of how many buggy apps that use sprintf without fixing a locale exist (making save files at best unshareable with the world at worse unreadable again)
LOL. This trojan is 5 years old.
Given the author, is Zig being used at HashiCorp? If so, in what capacity?
btw there is options in the script to make it optional and with custom messages, or run custom code

as I don't speak russian I only put a very basic default message
Number of protesting people in Russia is a joke.
And the Gnome project consistently gets it wrong because they keep forgetting their primary target users are not rando's that have never used a computer but mostly season Linux vets.
The way methods are declared (Oberon-2 syntax), the unsafe package (SYSTEM in Oberon) and package initialisation blocks.
I noticed that when I discovered the wonderful world of !!Con. It's a fun, joyous conference where the 10-minute talks can be about anything programming-related, they just have to have at least one exclamation mark in the title! Programmers doing all kinds of cool things, and being unashamedly enthusiastic about them. It's lot more hacker-y than HN mostly too. It's not the least of Julia Evans' gifts to the world.

https://bangbangcon.com/

The talk videos are on youtube. There's also since recently a !!Con West, and possibly others. !!Con encourages people to start their own !!Con, wherever in the world they live.

https://bangbangcon.com/west/
And to visitors from North Korea you'd probably show 2 alerts, because they need a slighter stronger push to overcome their fear of being sent to labor camps. While you'll be watching news about their protests from a safe and comfy sofa.
Tabula: Convert PDF Table to CSV
Great film.

Have you read Martin Dressler by Steven Millhauser? If you enjoyed Synecdoche, New York, you should check it out.
Similarly:

Nuclear power plants, as nearly all power plants, work by heating water. That heat has to go somewhere eventually.

But the amounts you'd need to make any difference to the atmosphere (compared to solar radiation) would be truly humongous.
Yes. If your never born, you can’t suffer.
What the hell are you on about?!
That's a pretty solid question. I really don't know but hopefully someone else can answer. My guy hypothesis though is that even for all of our energy demands the amount pulled out would be pretty negligible. The reason being that only like 0.1% of the earth covered with solar panels would meet all our energy demands and heat wise geothermal should be much more efficient. The issue with heat and global warming isn't the actual heat it's the thicker atmosphere not letting it dissipate fast enough.
C++ has thankfully locale- independent functions now, std::from_chars, std::to_chars.. but it took way too many years
What about that requires a lock? To prevent reading a half destroyed object?

Why not a write lock that allows multiple concurrent readers?
if only one site is using it yes that's nothing

if dozens of websites do the same that might push people to protest

internet is a huge part of our lives, most people use it for hours everyday, it can be more than a minor inconvenience
Yeah. All civilization consumes around 17 TW of energy while the sun is constantly bombarding the Earth with 173,000 TW.

We could rebase all of civilization on geothermal and the extra heat in the atmosphere would be a rounding error to the sun's energy.
> Look how many wars NATO has ever started or tried to start

The NATO-Yugoslavia war has entered the chat.
How much energy is in the core of the Earth? What happens if we cooled the core to the point that it became solid? I’m guessing that would be bad, but is it something that’s not conceivably possible on any human timescale?
I thought my dream came true, but...
There's one thing he isn't showing - the infamous GTK's "Cancel-OK" message box combination. As much as I respect Lunduke's work, it's GTK-based. And my Linux environment is completely 95% Qt5 (it'll be 100% if I figure out how to migrate to Qt-based browser).
The main advantage of OS/2 or Win9x-like UI is its speed and consistency. And it soesn't allocate/read/render 9 PNG files per element (like button). Works using Line()s and FillRect()s. If modern KDE could do that, I'd have no complains...
Assuming this is a real problem, wouldn't you just put your geothermal power plant well outside of any city?

Doesn't even have to be somewhere where there are no buildings. Just somewhere where hardening the few existing buildings against small earthquakes etc won't be too expensive.
I was too young when most American wars started but I would have done the same

if anything I resent more the US gov than the Russian gov, it's just that it's happening right now
Money: The Unit of Caring (2009)
The US has multiple intelligence agencies. CIA, FBI, DoD, ATF, Pentagon, NSA. They don’t talk to each other much, which is why 9/11 happened.
I think Apple are capable of deciding for themselves. If the Russian government so despises the West, companies choosing to withdraw from Russia doesn’t seem unreasonable to me
I see many Russians already enraged about the war, some even doing protests against it. The fact is that most feel powerless and afraid against an autocratic government, and I feel it’s very hard to tell them to retaliate when their lives are on stake. (Maybe your country hasn’t experienced this yet, but hearing anecdotes from my country’s past I understand it’s really hard to mobilize when the next day you can be kidnapped by the secret police and end up in a prison cell where you get tortured to death.) Resistance is necessary, but it’s far easier said than done.

I just don’t see a point treating ordinary Russians as “sinful” because of this event. If you’re enforcing standards like these on everyone, then I guess the entire US population is also responsible for all the the war crimes and atrocities the country has done for decades. And I don’t want to do that; even if the current elite controlling the US has done some of the most atrocious things in history, I don’t think the people living there “deserve” worse lives because they haven’t retaliated.
I don't know if this would be any extra heat, because the radioactive material would already be decaying anyway if it was left in its natural state. Maybe the same problem where radioactive material would be left mostly underground and insulated where its heat would leak slowly.

Then again, part of the Earth's core heat comes form radioactive decay. So in a way, geothermal is an indirect form of nuclear fission.
> Pure thermal (ie. just energy, no GHG) climate change is right around the corner if energy use keeps going up exponentially and we keep reducing earth's albedo.

What makes you think so? What growth rates are you assuming? How long is your time horizon?
Yeah, but stop pretending that the Russian people have any sort of influence at the moment.
fixed it, thanks!
This vastly overestimates the ability of many native speakers.
Woodpecker is a really good alternative. Thanks!
having a conversation about HTML semantics and browser features is great, but is it really different than live coding or white-boarding?

Those too are “conversations” that are testing someone’s ability and knowledge.
Don't be stupid. You understand as well as anyone that there have been many good reasons not to join NATO. The other reply to my comment has a discussion about this that captures some aspects of it.
Nuclear power plants don't just capture the energy from natural decay.

Though the precise mechanism doesn't matter too much for my comment. Just assume I'm talking about fusion plants.
Because of propaganda. Time to (re)read Manufacturing Consent.
You are correct in that the earth core is really well insulated from the surface. So well that the light of the sun delivers an order of magnitude more energy per M2 to the Earth's surface.

That information also answers your question, our problem isn't with the amount heat we produce, it's with how much of that solar radiation we trap in our atmosphere due to the green house effect of CO2 and similar gases.

So yeah we introduce a little bit more heat by drawing from the Earth's core, but it's nothing compared to what trapping the sun's energy with CO2 is doing to the planet right now.

Conversely using that energy to remove CO2 from the atmosphere might even cool the planet, but that's a question for the next generation.
> Both sides have claims and arguments.

In that case, both Russia and Ukraine have claims and arguments over parts of Ukrainian territory. Why should other countries interfere in their dispute?

> What should the world do?

Apply pressure? Isolate Pakistan and China completely like they are trying to do with Russia? Stop selling and gifting them weapons that will be used against India? But we know none of that is going to happen. Everyone knows that in American and European circles, Asian and African lives have far less value than European lives.
No idea why you're downvoted/flagged, these are perfectly valid questions.

> for request schema, do you know how rust/ actix supports protobuf?

That's a great question! The serde annotations make it look like it should work. If not, there might be a plugin for it. Actix has a rather vibrant ecosystem of utility crates.

I've used Prost for protos once before (it felt like the more mature option), and the build integration was seamless. I was frustrated with how the IDE handled it at the time (Clion+Rust), which is one of the reasons I'm not using protos in Rust today. The IDE couldn't work out the types and everything touching the syntax tree near protos was opaque to the IDE. It was over two years ago the last time I checked the status of protos in Rust, so there's a good chance the situation has improved.

I didn't use Prost with Actix in particular, which is why I can't really provide insight there. It should be quick to set up a test.

I'm using two monorepos: one for frontend (yarn/typescript/react for three websites) and one for backend (all Rust; two servers and seven jobs). If I'd lumped it all together, I would have investigated protos more seriously. I should probably investigate using them again in the near future.

> also, I'm interested in how you structure your code. is everything a crate?

I'm using Rust workspaces to organize the backend monorep. I have about ten binaries, and five library crates that are shared between the various binaries. I also have a few vendored packages that aren't available on crates.io (newrelic-telemetry-sdk, etc.) I was told Bazel does a good job with build caching, so I'll investigate using that soon so I'm not always rebuilding the world.

> or you work in a giant namespace with different structs (sorry if this doesn't make sense I don't know much rust)

With the way modules work, there's next to no need for that in Rust. It's one of the most hygienic import systems I've used.

Overall, I'm extremely happy with the setup and it's been really productive for me.
Certainly, but that is fairly pointless if the existing government still controls 90% of the country.

I think the psychological effect of losing Kiev would be much lower if they planned on that from the start too, but I guess that bird has flown.
Same was for me in Russia. Basic military education was included in high school programme. It's just keep constantly being renamed by deceptive, and cryptic names to disguise what it is "UVP," "OBZh," "Sociology," "OVO," "Sports orientation"

Amusingly, kids in Moscow, and central parts of Russia don't have it in their programme.
It's honestly not really true on windows. Since for the longest time the msvc ABI was unstable people are used to interop through C APIs, or rebuilding everything. I personally build all my stuff with libc++ and it works fine.
Wow... just, wow! It's really not just GUI, but an OS!
Bitcoin is neutral.

It will be used by people and groups you like and dislike. And the great thing is that neither you nor anyone else can do anything about it.
It looks like Russians want to a) spread doubt, b) force users to look for alternatives, so they will find and install their trojans, to try them.
Wow, this feel like an end of an age. 1C Entertainment was a major player in video game market in Russia from 90s until Steam saw wide adoption, it strongly associates with favorite games for lots of people here thanks to distinct packaging branding (https://www.mobygames.com/game/windows/serious-sam-the-first...). It's sad seeing the company changing name and going under chinese control.
It was actually fairly popular at the end of the 90s to run FVWM95, which was basically FVWM 2 skinned to look like Windows 95. It looked pretty similar to this project, for obvious reasons.

http://fvwm95.sourceforge.net
Heh, interesting mix of this and the Broken Earth series by NK Jemisin.
Stalin lived a long life and died the tyrant of Russia, same with Lenin, and Peter the Great
How about Gerhard Schröder? I'm not very up to date about his role at the boards of Rosneft and Gazprom, but I'm pretty sure he must have had an influence somewhere in the current situation (although indirectly, and he probably was played)
Thanks to the informative resources linked to by jack4818 and ototot I was able to slightly wrap my head around this. I'll share my barely informed, naive understanding in the hopes that it'll help others in a similar position build on it. Please correct me if any of what I share is mistaken!

Quantum computers have special properties that make them capable of breaking commonly used encryption schemes. We're dependent on those schemes for secure communication, like logging into a bank website. Due to this, the organization NIST has been working on finding encryption schemes that would be diffcult to break with a quantum computer.

NIST was at the stage of this project where they felt reasonably confident that three specific encryption schemes met the requirements. This is after review of many candidates. Rainbow made it to the top three. Ward Buellens essentially managed to break Rainbow, thereby making it ineligible for use in a quantum computer-powered future.

I assume this puts the two remaining candidates' eligibility into question. Were the requirements lacking, or is the project inherently at risk of failure due to the nature of quantum computing?
That sounds good. So single-cell simulation needs only a modest level of hardware. When simulation progresses to multicellular organisms, inter-cell connections can probably be done less frequently, over a network. C. Elegans, the nematode worm that's the minimum viable heavily studied organism, has 959 cells. A thousand GPUs is not an out of reach number. Just a big cloud bill.
The safety bypass on PG 7 only requires a piece of wire to connect detonator around the safety, or removal of pyrotechnical spacer with basic tools.
How I failed to learn Mandarin Chinese in 3 months.
In early 2000s I've created a few .theme files in Win98, all with different shades of main window color. And, with minimal tweaking, I made it work in EVERY version of Windows from 95 to 7! That's what I liked about backwards-compatibility. (and, most likely, I won't be using Windows after 7 anymore).
Tom Scott did a video on Staufen im Breisgau in 2017: https://www.youtube.com/watch?v=zOgle88sKro
datalist doesn't seem to work on FF mobile. Works fine on chrome.
I believe (hope) they will have influence at some point, but it’s definitely not going to be because someone made a Javascript plugin on Github to block Russians.
A 5 seconds search shows that the US were bombing Syria as close as one year ago.
That concerns the printf implementations.

The point parent poster os making, is that previously, unless set_locale was being called by blender, the resulting export of a blender object was locale dependent. The change from sprintf(..) to sprintf(..., NULL), would then actually change the behavior (not just performance) of the program.
I wondered this too but didn't have any good ideas (generally speaking, building theory, etc)

Just belatedly noticed https://news.ycombinator.com/item?id=30471631, perhaps you hadn't seen it
I've had the thought for a while now that it might be a good idea to start changing the climate change narrative to a problem of planetary heat engineering, not simply a problem of GHG reduction.

The current narrative is largely defeatist and regressive. It's largely about rolling back growth and the amount of energy civilization has harnessed.

But if the narrative was altered to be a heat engineering problem, then it fundamentally changes how we think about it. Removing CO2 (insulation) is one option, but so are projects like solar reflection or some other forms of heat dissipation or heat sinking.
I make sun tea too, but it involves.. the sun, on my back porch.
You need some good ingredients in your community too. Otherwise it's a dead mass maybe ?
Unrest of a few oligarch is a problem. Unrest of the majority is an existential threat. Nowadays I support the second one :(
A lot of people like to talk about nuclear as a climate solution. Geothermal is the most gargantuous nuclear plant we can fathom, all we have to do is to extend a pipe and harvest it.

Here is the thing, a lot of that tech is coming from oil and gas. An industry with a track record of leaving the land they enter in terrible shape.

I think we have to start over with geothermal and look at it more like hydro electricity. We should harvest the electricity on the way down, not the way up. I wish I'd get rich enough one day to devote my life to this.
It can still be sensible to wear face coverings to reduce the spread of communicable diseases, pandemic or otherwise. That said, for many people this has been their first experience of it as guidance and/or a habit.
Many countries have almost no wilderness left; everything is either urban or agriculture or mountains with no convenient place for an earthquake.
I've recently implemented the secure variant without any locale support. Took me a day.
Now just the secure scanf family is missing, and this needs locale support unfortunately.

https://github.com/rurban/safeclib/blob/master/src/str/vsnpr...
> Just somewhere where hardening the few existing buildings against small earthquakes etc won't be too expensive.

So, expending twice on a bad idea ? Seriously, what do you think will happen ?

And even it was technically possible, how do you insure a company like that ? Will the plant operator be responsible for the repairs and damages when they destabilize an entire region ?
Of corse they do. They do not operate in vacuum. If 10k Russian soldiers die and their mothers would go to street, what would Putin do? Beat them up? They may not have a man power to arrest all of them and place to put. This may cause some people in places like Dagestan to revolt. Workers in a tank factories could go to strike.

Putin and buddies to have to calculate that risk. It may cause a cease fire.
I don’t understand this logic. How is it in interest of the propaganda machine to make it appear that common people are against Putin? Surely they want to portray that majority like him and support his actions (which is also why they manipulate these stats you linked).

Also, Putin and his elite don’t actually give a damn about sanctions affecting “common people” (see eg post-Crimea sanctions), so I don’t see why they’d worry so much about it as to fabricate every single post on Reddit.
Solar is also trapping more energy than what would never be there. If the sun's rays just hit the ground, a portion of it would be reflected back. We're using dark material to aborb most of what would be reflected back and we end up trapping more energy than we should... Solar panels are around 15% efficient, which means 85% of this trapped energy is immediately converted to heat, heating the local environment... and the part which becomes electricity eventually gets converted to heat as well (no matter what you use it for).

So, only ones I can think of which don't add additional heat to the planed may be wind and hydro.
"...raised cholesterol levels shouldn’t be much of a concern..."

"There’s no significant connection between coffee and increased risks of heart disease and cancer."

And, by far the most important quote:
"Talk to your doctor to about any concerns you have."