skysight-inc/HackerNews huggingface dataset:
It's actually well understood that privatisation for platform industries is bad, privatisation for businesses running on top of platforms is good.

Networks and infrastructure = little to no competition. Eg. networks naturally settle in a optimal geographical location and utilize economy of scale then. Can't compete with that. So don't privatise platforms. Rather - make them monopolistic and make them share the revenue with public using a monopoly tax. AT&T model.

Translated to programmer speak: society's OS (law,defence,policing,roads,energy,networks,sewers,etc.) should be uniform and near monopolistic to maximize economy of scale.

Society's Apps (businesses) running in the ecosystem of the OS should be private, numerous and competitive as much as possible.

Occassionally you stumble upon a private business which develops a new network model and after some time it should be refactored from being an App to be part of the OS (eg. twitter).
But places like san francisco? That, I don't get.

Short answer. The people who already live there don't want to be neighbors with those sorts of buildings and any politician that suggests it will be voted out of office.
On a synchronous grid? Unless the capacity of the nuclear plant is tiny (which means the economy of scale is lost - who is building a nuclear plant in the area of 10s of MW?), you instantly have voltage instability if you lose supply, and yes, bringing the network back to synchronicity can take days or weeks. This is the same issue we have with coal, which is part of the reason we are trying to diversify the grid (large synchronous machines are not all bad because they do maintain inertia in the network, which means it is easier to maintain voltage stability, but machines like synchronous condensers can provide this without needing to pin our energy requirements on it).
The “subscribe for updates” functionality is nice. Do other services offer things like this for updates on incidents?

That’s much better than watching Twitter or refreshing a page!
Thank you for sharing. Your comment highlights something important I believe when talking about poverty. One common argument against any type of government help is that poor people should just work harder and pull themselves by the bootstrap.

However the situation you describe above shows the many side-effects of being poor which impede life in general: lack of proper sleep (because you live in a noisy area with no other choice), constant stress (paying rent, maybe dangerous neighborhood, etc.), probably not affording good quality food, etc. etc.

Add these side-effects up and one quickly understand that getting out of poverty is an herculean task and I personally couldn't blame someone for not making it.
Thanks for the recommendation. Just placed an order.
Why Bill Gates Still Prefers Android Instead of iPhone
What are the benefits of using swift for machine learning?
I am not sure how much of these 28% are due to the distribution of solar panels in Germany and how much is due to seasonal effects. Solar irradiation varies a lot over the year. I vaguely remember that it goes down to about 300W/m^2 at noon in winter and peaks at around 1kW/m^2 at noon in summer, but I don't have time to verify that right now. The exact numbers vary by location, of course.

But I can confirm that the sun is shining because it's shining directly on my roof and satellite images show a clear sky for anything south of Frankfurt.
This was probably a compiler bug. I don't think the programmers coding the business logic were using 'strlen' and 'sscanf' directly.
I didn't know that. Thanks for the information. I will keep my eyes on that.
This puts some perspective on the Signal/Matrix/whatever with their persistent history and the number of comments around here about how it's unacceptable to lose messages and history while in fact we are sometimes guilty of missing on them from our own negligence.

Connecting people is a great achievement of Internet. And it has been done many times.
New Kate Text Editor
La Taverne: Manage your front end global state with a simple Flux implementation
How is this better than alternatives in the market?
The thing is, humans can't sense a constant velocity, we can only sense change. People always want more. Some people get addicted to the feeling of more and then a constant velocity actually feels like they are losing something. It's even possible to get addicted to the second derivative, ie. your upgrades getting bigger and more frequent. It's impossible to talk to people objectively about how good their life is because you just don't know what they are used to.

In all cases people struggle because they've absorbed things into their life that they now consider essential. The things you own end up owning you.
Letter from Prison
Show HN: Hackernews-Button – Bloom Filter-based, private HN browsing extension
In my country I think it is so when the agency will need some kind of financial backing from the government.
Time complexity O(R*)
> I found better solution for system calls

Yeah, I have seen that file. Thought last I checked, it crashes in certain conditions [1]; I didn't really go back to it to fix it.

> I actually planned to make my own ld-liblinux eventually

Can you share this code? If not, could you document how exactly would you have done this? I lost all motivation once I realized that ld-linux and Glibc communicate with private APIs, but I'd love to actually work on it if it was possible to do this.

> Do you think liblinux could have a future?

Absolutely. The problem with Linux currently is that the loader rejects programs at the sign of slightest incompatibility before even trying to execute them, which means that there is nothing that the application code could do to work around said incompatibility. If we were able to get our code running (or, as I like to say it, make %RIP point inside the main function), we could then do whatever hacky-bullshit was required make the software work. All I need is to get our code executing, and from that point on, I'll handle system compatibility.

[1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95411
If Aliens Exist, Here’s How We’ll Find Them
Starlink satellite internet coverage map, cost, speed and availability
How to Make Playstation 5 UI in JavaScript
Rip a great app
"The myth, as is commonly told, tells the story of a mid-twentieth century world headed for disaster. There were too many people being born and not enough food being produced. This combination of forces would lead inexorably to famine, unchecked migration, conflict and other calamities. However, thanks to the inventiveness of Western scientists more food was produced, Armageddon was avoided, and the world did not experience a population crisis."

Maybe we do have a population crisis. Our climate issues are in large due to overpopulation and subsequent increasing demand for resources. Sure we can cut down even more of the Amazon rainforest to supply food for more people, but not attributing any of this to population growth seems dishonest.
French village says 'non' to Elon Musk's space-age internet
"a Pulitzer Prize-winning author argues that nuclear is safer than most energy sources"

Since when are Pulitzer prize winners experts on nuclear energy?

A sentence like this is shows he has absolutely no clue what he is talking about:

"Nuclear waste disposal, although a continuing political problem in the U.S., is not any longer a technological problem."

see https://www.youtube.com/watch?v=ZwY2E0hjGuU

"A final complaint against nuclear power is that it costs too much. Whether or not nuclear power costs too much will ultimately be a matter for markets to decide, but there is no question that a full accounting of the external costs of different energy systems would find nuclear cheaper than coal or natural gas. "

Ok, see here https://www.carbonbrief.org/wind-and-solar-are-30-50-cheaper...
Nuclear is already the most expensive solution to produce electricity.

Also we don't need artificial nuclear energy here on Earth. There is plenty of nuclear energy available for free from the sun.
Were it not for humans, woolly mammoths would have lived for 4k more years
I'm certainly doing the project a disservice with this, but isn't it "just" basically a file format hack that basically acts as an "if-check" that allows the executable to select an appropriate entry point depending on your OS?
If you're trying to blame MS, then I don't think so - as far as I've heard Github works independently from MS
DevOps Principles of Flow: Deliver Faster
It's the easiest to use in terms of customizability. The editor has zero learning curve, and you can make a lot of creative designs with it.

It's focused on creative websites, but has a lot of different use cases.
I think they migrated the .NET code from Azure DevOps to GitHub Actions a while ago. It was open sourced somewhere but I cannot find the repo now. Not sure if they have made the repo private again but Microsoft has moved a lot of staff from Azure to GitHub and since then GitHub has taken a dive in quality and reliability of their services for sure.

EDIT:

Here's the source:
https://github.com/actions/runner

This code is identical to the runner code for Azure DevOps.
Also the repo history only goes back a little while, so you know that this wasn't the original code and they migrated the code from Azure to GitHub and then made the C# code public.

I highly doubt that GitHub and Azure have independently written the exact same code in C#, especially since GitHub didn't even use C# before Microsoft's acquisition.

Seems things have hugely degraded since then. I'm even surprised that they decided to replace GitHub's own work with Azure DevOps's code. Feels more like a slow organisational move from DevOps to GitHub and for marketing purposes replace GitHub's Python, Go and other code with C#.

Wait for the next big Microsoft conference when MSFT will shout through megaphones how .NET and C# has been powering millions of customers on GitHub and been a huge "success".

So far the only big projects using .NET have been Bing (of course lol) and StackOverflow. Microsoft has been longing for something else to finally use .NET for a respected project. Since nothing happened organically they had to buy their way in :P
Anecdotal, but where I worked ~5 years ago experienced so many github outages that they started maintaining a gitlab mirror. The outages had blocked enough deployments that it was worth setting up some backup.
> surely it must be possible to place the plants in areas that are not subject to such natural disasters that would threaten the safety of the reactors?

Reactors need lots of water for cooling, so they're regularly placed at rivers. Rivers flood during melting season and storms. Storms also interrupt the grid occasionally. Due to climate change, these events are getting more common.

As a result, anywhere you can place reactors, you'll have to deal with situations where you have no grid connection, no backup power, no generators, and flooding, at unexpected times.

A nuclear reactor needs always, 24/7, forever power due to cooling. This isn't really compatible.
VAT used to be much easier in Europe because you were charged VAT in your home country, not the country of the customer. That's far easier to establish and means you're dealing with your local government in your native language.

The EU Commission forcibly changed this some years ago to the present system which is drastically more complicated, where you have to figure out where your customer is. There are even special rules for things like people who buy things whilst on cruise ships. Then you have to submit VAT returns to every single country where you have customers, and those countries are under no obligation to make it easy, for instance, they usually only offer tax returns in their own language.

Because this is impossible to comply with without enormous numbers of staff, there's now a whole industry of tax middlemen who do it for you. Thus selling to the EU is a nightmare of overheads and costs. It doesn't have to be this way because it never used to be that way, but the EU is ideologically committed to the socialist notion that tax competition is harmful and should be eliminated.
Thoughts Around Naming Variables
This is a very generic ramble to (potentially) derail the thread with. I'm more interested in people's answers to the actual question the OP asked.
It's still inconvenient. The inconvenience ranges from slightly annoying to "I have lost all my messages and now have to find all of my friends/family/colleagues contact details again somehow".
Private companies pay taxes, which profits other tax payers.
When you consider any public infrastructure - roads, telecommunications, electricity grids - the bottleneck is always how much can be supplied during peak periods.

When we add capacity, its always to address the peak demand.

The solution is to get smarter about shifting demand, particularly as we build out a massive fleet of EVs.

Here's an example of hourly electricity use in Florida: https://energymag.files.wordpress.com/2014/02/daily-demand-f...

We need appliances that can take into account grid pricing, and any local power supply that the owner has (solar, EV battery), and adjust accordingly. eg. heating or cooling a house an hour earlier than when the owner would typically manually request it.

Secondly for EVs that can charge offpeak at night (eg. at 9pm, not simply when the owner gets home at 6pm and plugs it in - contributing to peak demand) and then upload some power back into the grid in the morning, and then during the day again if necessary.

Its going to be hard to integrate this into appliances, but power upload and smart charging/discharging should be mandated for new EVs.

While we're at it we should also begin charging for time of use for roads - to reduce congestion, and replace the revenue from gas taxes. This UI and charging mechanism could be built into the infotainment system.
But I believe GitLab was down as well several hours ago. I think it’s because of free CI minutes resetting at the start of the month.
Yeah, as I feared. Some one needs to wrest the control of ld-linux.so from Glibc's hands and give it to the Kernel developers (who "will not break userspace"). Otherwise, Linux will always be a all-work-for-no-reward platform.
They did put their money where their mouth is, they just had the sense to spend it on a lobbying campaign because it's cheaper to build a stadium with your money than theirs.
Elon Musk grills Robinhood co-founder
We don't need 100% renewable, we need 350% renewable. Electricity is at best 25% of our energy usage. 20% of the energy i'm consumming everyday come from nuclear and i'm living in France, where 80% of our power grid is nuclear.

And we need the grid investment in copper that comme with it if we want a distributed grid. And a secondary grid to serve hospital and emergency buildings.

Oh, and we need Veolia's solar panel recycling plant: its economical, recylce 91 to 95% of the product (granted, the less important part) and it only cost 8 time the raw materials, making it the most efficient solar panel recycling plant (and the only one in the world of its size). It also cost 5 time the energy of raw material extraction and transformation, and weirdly, this is never taken into account when the cost of solar PV is on the table, as if everyone think we can just put lead and cadmium in a landfill. Oh yeah, that's right, we can and we did, nice job us.
Hello! This Firefox extension shows approximately how many points (if any) the current page scored on Hacker News using Bloom filters. Clicking the extension navigates to the best discussion for the current page. It is great for reading interesting comments about things you may not have known were submitted to HN in the past. I have been using it for the past two months while building it, and honestly it has been really fun to read insightful comments I otherwise never would have seen. It's also handy for figuring out whether to submit a page, since it shows whether it's been submitted before or is new territory.

Rather than determining if the current site has been submitted by querying the Firebase/Algolia APIs with every page you visit, the extension contains regularly-updating Bloom filters for all submitted HN stories to preserve user privacy. There is a single C library underlying both the code to generate Bloom filters, and the actual extension code (it is compiled to WebAssembly so the C functions can be called from JavaScript). I have included an architecture overview in the README to help a prospective reader get through the important parts of the code, and have tried to justify design decisions via extensive comments within the source.

I am happy to answer any questions! I'm also always looking for constructive criticism.
An MWSR Queue with Minimalist Locking
Did you even read the message?
Road networks are a great example. Just assume the hypothetical position of a competitor. Where are you gonna build a competing road in, say, NYC? Each block only has 4 sides, and each of them already has a street.

You could maybe compete on interstate highways or other long-area bits. Maybe. That's stretching it.

Build a competing water supply network to each house? Another set of sewers? Electricity distribution? Hell no.

IMHO all of these things should be communal property & development. The preconditions for free market are not met, it's not possible to compete; so the whole market equation falls apart.

Hand the operation & maintenance out to some company or whatever, there it's possible to compete. But not the actual physical infrastructure.
Nobody will do anything.

Just like nothing really happened to Russia for invading and still supporting Ukrainian border conflict. Israel's atrocities vs gaza strip and pushing out their border. US committed war crimes, white phosphorous drone strikes in random countries.

As you said only weak countries are targeted by the justice.
you just can't compare Angular vs React. One is framework and other one is library. Both have its pros and cons.
Retro Microlympics ends with possible reopening dates for UK computer museums
> fighting back against ... what exactly?

Personal data harvesting. Its like feeding frenzy right now.

> This is not the way. It's either beat them at their game (not likely), or building/supporting/using alternatives (eg. Signal, Mastodon, maybe substack? nebula? Librem/microG/LineageOS?), but ultimately it's politics.

This is the way lol. Beating them is the only way that actually works, right now. Politics will takes decades, and will lead nowhere, like stupid cookies consent popups. Networking and web tech is too complex to put it into laws anyway.

Lets build better personal defence tools, browsers, routers, blockers, distributed VPNs that are not as easy to outlaw as Tor exit nodes. For example - https://github.com/Eloston/ungoogled-chromium. Add ignoramous CNAME backdooring ways to uBlock-Origin. That kind of ways.
Yes. Average code quality is objectively worse than it used to be, and there is an objective reason why.

The barrier to entry is much lower.

In 1995, getting a C++ program compiled, tested, shrink wrapped and shipped (in waterfall fashion) required a lot more work. The "survivor" software you bought on your floppy disk or CD-ROM at the store meant it was high enough quality to jump through all those hoops. Some of those hoops were the software developers needed to know more about computers. Some were that you couldn't fix an issue after it was shipped in the wild pre-internet. Some of it was that a lot of those people had an intrinsic passion for the craft in which they weren't paid as well. They also did the work even though they were considered geeks, unlike now where a lot of "engineers" are indistinguishable from marketers and considered popular.
I merely wanted to disprove the hypothesis "no other source has the capability to run 24/7/365" by example.

I am not making an argument that we should go all-in on hydro power instead. Quite the contrary, I am arguing against a single source of power, but a diversification.
Impact on eco systems and economy, injuries, and maybe other effects that are not easily compressed into a single number.
I don't disagree that Deaths/GWh is one of the most important statistics on the safety of energy production. But while we often quantify safety of roads/vehicles by deaths/billion length units driven, one assumption is it is highly correlated to other safety indicators such as injuries. Coal will probably be even worse considering these statistics and nuclear will probably still fare well.

One example I am aware of: Germany still monitors contamination of mushrooms and other wildlife in bavarian soil [1]

[1] http://doris.bfs.de/jspui/bitstream/urn:nbn:de:0221-20191007...
Reminds me of 1995 with all the spinny animations :)
It is more than likely your perception has changed with 10 more years of experience.
Link on Amazon shows there is newer edition

OpenGL® SuperBible, Seventh Edition https://amazon.com/OpenGL-Superbible-Comprehensive-Tutorial-...

ps: why website is unmaintained ?http://www.openglsuperbible.com/
Wow I haven't heard the name Tom Christiansen in years. I remember when he used to comment on Slashdot. This inspired me to find my slashdot login and dig up some of his old posts. I just discovered his amazing eulogy for Gary Gygax [0]. I never knew that Tom used to work at TSR (of D&D fame) before becoming a programmer.

[0] https://slashdot.org/comments.pl?sid=475216&cid=22665150
Right, but there are presumably people at all levels of risk, not just risky people who pay a premium vs non-risky people who don't. Reduced variance is good for landlords too, so there's definitely an incentive to accurately predict and make granular the risk profile/credit check/etc.
A lot of domain name management runs on honour system. Here are two relevant stories regarding this:

- The Duct Tape Holding the Internet Together: https://medium.com/thisiscala/the-duct-tape-holding-the-inte...

- Sinkholed: https://susam.in/blog/sinkholed/

Disclosure: I am the author of the second story.
I work in a large multi billion company and we have people staring at a slow problem for a decade before a noob comes with a profiler and find they browse every key of a Map instead of calling get and such. Or do 1 million db queries on a GUI startup...

Not surprised they didn't bother for 6 minutes when it takes us 10 years to fix a 30minutes locked startup.
This highlights a usefulness of not choosing the largest and/or cheapest domain name registrar. I work at a small registrar, and we know all our customers and communicate with them directly. Social engineering attacks get harder in such an environment.
Bangladesh has some struggles. It is the most densely populated (large) country on earth. They have major floods often which cause big problems. But they manage to survive. Thus there isn't really a threat to anyone else. There's enough food to feed everyone, and the only problem remaining is political and with distribution. It would not be difficult or expensive to end world hunger, cents a person.
Top Tech Conventions for Startups in Q2, 2021
Connect with investors, enterprises, resources, and tips for managing distributed teams. This year, many conferences, summits, and trade shows have switched to a virtual format. No travel, hotel, rental cars, or continental breakfasts – we present our list of Q2, 2021 (mostly virtual) events that founders of tech startups may want to check out.
Except this is clearly a typo (it's not clear whose), and the real values are 5/6 and 8 1/3 as mentioned in another comment.

So you win a point for demonstrating you read the article, and lose fifty for demonstrating you didn't grasp its meaning here.
Are these the same people who blades COVID on 5G?
China Appears to Warn India: Push Too Hard and the Lights Could Go Out
> especially since some person literally did half of the work for them

All of the work.
MMU is mostly for managing virtual memory. Memory protection is "kind of" a consequence.

Most RTOSes out there work just fine even without MMU or MPU.