skysight-inc/HackerNews huggingface dataset:
> Because they cause issues? I mean, every country causes some issues.

Both Hungary and Poland have been consistently undermining the rule of law for years. Hungary has also started going after freedom of expression and minority rights and let’s not talk about the anti-gay laws for which the European Commission is suing them. The only reason they haven’t been stripped of their voting rights in the EU (the harshest sanction available) is that the unanimity of the other members is required and they shield each other. It’s a disgrace.
Indeed! HATop is great to show the status, traffic, HTTP codes, errors or number of connections. It is also very simple to enable/disable HAProxy backends, for example:

hatop -s /var/run/haproxy/example.sock

Use the arrows to select a backend server and press:

F9 - Enable a backend server (Status: UP)
F10 - Disable a backend server (Status: MAINTENANCE)

For Apple keyboards it is fn+F9 and fn+F10.
I think lots of programmers (including myself) get lost in the programming language features and forget to have fun with what the application actually does.
You forgot to insult vi or emacs and denegrate some brace style.
The module system in CPP is dead on arrival. Almost no libraries and build systems support them. Modules still produce bad output on gcc.
I couldn't tell you exactly why (though I have some ideas), but Lisps seem to settle into amazingly stable languages. Even Clojure, with all its initial trendiness, has been remarkably resistant to bloat and churn. Such things as it's added have largely been either standardisations of things that people were doing anyway, or very natural extensions of ideas that were already there, and it still generally passes the "compile X year old code" test.
So, this is interesting. A different approach, whereby you still compose your own classes, but I guess the variables are all put together ahead of time so you use the variables instead of having to remember all the different options.

And makes it easy to import into existing projects and just start using.

That’s interesting.
Religions generally don't phrase their actions as experiments, as this developer is doing.

Engineers test new techniques to see what works. Not all of them play out. The Linux kernel community is very good at sorting out the junk, and this is part of that process.
I thought about a cartoon robot articulated arm with a white glove trying to wrestle the control column from the pilot.
I have what is probably a close spiritual cousin of one of those, and while it even touts a power factor display, it also loves to show ridiculously high values during idle consumption for anything involving some sort of power electronics (not just for my computer, but for example for my washing machine, too – it shows sensible values while the heating element runs, or when the motor actually turns, but in-between it shows nonsensically high values).

It is a few years old, though, so maybe by now quality standards have improved even for those kinds of cheapo-meters…
> Because different projects will want different monads

It doesn't look like that to me, based on how the ecosystem currently converges on a single one. I understand there may be some projects that do that, but if the majority converge, then it's still needles complexity.

However, I might be wrong. I've been an external observer for a while already.
From what I read, The Netherlands is actually buying Russian gas through China. And The Netherlands is probably not the only EU country buying Russian gas through China [0]:

> According to research firm Kpler, Europe’s imports of LNG have soared 60 per cent year on year in the first six months of 2022. As per Nikkei, more than 4 million tonnes of Chinese LNG has probably been resold — making up roughly 7 per cent of Europe’s imports in the first half of the year. So, Europe has been purchasing Russian LNG via China – while pretending like it is highly successful in its campaign to decouple from Moscow.

> Therefore, a major part of natural gas currently in European storages continues to be of Russian origin – with the obvious caveat of it having been bought from China.

---

[0]: https://www.news18.com/news/opinion/china-is-laundering-russ...
Procedurally generated car engine sounds in UE5 (engine-sim)
It uses engine-sim to simulate the car engine in realtime and produce the sound output.
I think what they said early was their was no evidence they worked outside of a medical setting (but not that there was evidence they didn't).

But we dont wait on randomly controlled trials in a different airport to use a parachute, and can use common sense reasoning in deciding yes to pull the cord if we find ourselves falling out of a plane instead of using setting dependent empiricism.

There could be some counterintuitive reason it is dangerous outside of medical settings but they never gave anything plausible and should have just left it at we need to conserve them for more exposed people in medical settings.
My personal favorite 8-bit gaming machine is the Arduboy. They combine an Atmega 32u4 with a minimum of hardware to create a surprisingly good console.

You can modify and extend it to your hearts content and there's a usable software stack and helpful community grown up around it.

https://www.arduboy.com/
> "does it cost more to certify the autopilot to do this than it does to pay for an extra two pilots"

I bet it does. Parabolic flights aren't really a huge market.
I've been to Macedonia, Poland and Hungary and I agree with everything said and implied about those countries in the GP.

It is not necessary to travel to Poland or Hungary to be aware that the populist governments of these countries have embraced conspiratorialism, anti-semitism,
anti-ziganism, revisionism, homophobia, while openly disregarding liberal institutions such as the separation of church and state, independence of the judiciary, freedom of expression, pluralism. You can simply listen to what people from those countries who do embrace the liberal values associated with the EU project have said about their home countries.
I had the same exact phenomenon. Bought a freezer for my garage and immediately did the coin-on-ice trick for a week before using it and then checked again 2 months later and found the strange position of the coin.
Hey, I am trying to create a tool that should help people install their previous packages on a new machine. Let me know what you think of it, It's very primitive atm but I thought it might be a fun thing to work on.
Yeah, using components definitely alleviates this issue somewhat. But in our code base we have some values which are global constants. Things like padding values, colors and fonts. Seems like @apply could work. Essentially falling back to regular CSS, but only for these few global values. I might give this a try next time I start a new project.
I got the email several weeks ago - and I still don’t fully understand what it means! Unbelievable confusion.

PLEASE can someone in plain english say what the limits are PER REPOSITORY? Is it 5GB per repository? can you have as many repositories as you want? I don’t care or use namespaces.
There are a number of reasons why China's Navy is insufficient. A key reason is that it cannot defend China's oil supply. Not even close.
You‘re also missing that there is a chance of UB in your code base for which your compiler just assumes your original intention and will then go on to correct it
Xkcd confuses planck length with some kind of fundamental limit, and I'm sad
Today's xkcd implies, I think, that the Planck length is a kind of measurement boundary which is a common misconception. It's just a convenient unit when calculating things around that size, like an inch or a light-year. Makes me worry that the author Randall Munroe may need to get out more. #2671
Seagulls in the UK were doing it for decades, I saw 3 seagulls cooperating to lift lid of a container. Maybe stop pretending that opening a lid is a complex thing?
Maybe you can do that, but can you empower other people to do the same?

You might kick one demon out of the house and get seven in return.
This one is by far the most accurate!
I recommend you to also watch Opération Béton - a documentary about the construction of the Grande Dixence concrete dam by JLG preceding his film work and a testimony.
Alan Tanner also died just yesterday, and I rate him much higher than Godard. I'll only see Revolutionary Maoist Godard obituaries I assume, not any Tanner's.
Not even a movie yesterday.

They lived very close, Geneva and Grenoble.
https://climate.copernicus.eu/surface-air-temperature-februa... The term to search for is "temperature anomaly". If you can't see it well on that image, the north pole is also warming very quickly.
"Mom, can I visit the ISS?"

"We have the ISS at home."

The ISS at home:
I think Lua is a good example. It has stayed simple and avoided change because of its position as an embedded language and strong leadership. Another good one would be Smalltalk.
Unfortunately for the Star, that person was their fashion editor
Ah, sorry, you missed my point : I was not talking about ads but about the lack of competition for application distribution.
Autonomy, is that what we want?
That sounds like RxJS race(), and given that it's JS there's often no cleanup needed (and if there is RxJS has easy ways of doing that as well).

https://www.learnrxjs.io/learn-rxjs/operators/combination/ra...
This is actually trivial in Go as well, with a context (cancellation) and a WaitGroup or channel (waiting for the first one to finish).
No, not made up extremism. It is a risk which becomes more likely.

Just for kicks, what happens if the existing, current drought in the US (worst in 1200 years) continues and/or worsens over the next two years, cutting agricultural production and raising the cost of food (disclaimer: long CORN).
https://droughtmonitor.unl.edu/

And if a megaflood wipes out California.
https://www.science.org/doi/10.1126/sciadv.abq0995

And a series of hurricanes causes extreme damage to the Eastern seaboard also shutting down Gulf refineries thus cutting oil/gas to the US
https://www.reuters.com/business/energy/short-history-us-oil...

None of those on its own is a civ killer. The problem is when each of these goes from exceedingly rare to rather common.

And it isn't just the US, it is global.
> I don't think anyone has this kind of mindset

Oh I think they do. They won't admit it when you put it like that of course, many probably don't even admit it to themselves because they simultaneously see themselves also as resistance fighters raging against powerful established interests, on behalf of the oppressed.

> I don't find this funny at all,

I wasn't talking about the content of the joke. I think nazi jokes can be pretty hilarious though, especially the ones where they do mock salutes. Perhaps you just have to appreciate a bit of good old British humor to feel that way, though.

> glorifying nazi imagery(and yes, "joke" nazi salutes achieve exactly that) is no laughing matter.

I believe you probably genuinely think a pug doing a salute is glorifying nazis, that nobody else could reasonably disagree, and that society needs to be protected from this and stamping it out by locking up commoners who dare to defy the state edicts.

> You mean....the police?

The police, the prosecutors, the judges, the legislators. Sure.

> I think people here just don't get it - making Nazi salutes even as a joke is not acceptable in European societies.

At least when it comes to the UK, I don't think so. The British are known for doing comedies of the war and nazis almost from the start. They have had a very long tradition of joking about nazis including mocking their salutes, as well as giving their rich and ruling class a double standard about it.

https://www.youtube.com/watch?v=ddWNMSUbcGI

https://www.youtube.com/watch?v=Lb5zUG9UzFE

https://www.youtube.com/watch?v=qWjCkcAmzDc

https://www.youtube.com/watch?v=hWIyVRNAxCg

https://www.youtube.com/watch?v=f--KSEkC8Ik

https://www.thenews.com.pk/assets/uploads/updates/2020-10-06...

This one's even a recent German comedy featuring Hitler himself doing a nazi salute!

https://www.youtube.com/watch?v=rUZi67BmY_M

So no I think you're wrong, it's revisionist to say that satirizing nazis including and mocking their salutes was some big offensive taboo.
Wait till you learn about the subways in NYC which they dig for comfortably over a billion dollars per mile...
Some New HTTP Verbs
Well, people whose opinions I respect say they're great movies and there's a lot to appreciate about them, so I suppose I'm wondering if there's a way I could learn to enjoy them more. The responses here have been helpful!

I really enjoy Koyaanisqatsi but I can understand how someone else might not like it at first, but perhaps enjoy it more after the theme and intended meaning become more clear.
What suffering will we accept to keep America in first place?
I never did it myself, but a friend of mine compares writing code for CICS to AWS lambdas: small and self-contained programs, strung together into a transaction processing system.
Sea level rise will affect port cities most directly. Those are important for trade.
Do you think that Qatar, UAE, Saudi and Iran are going to stop exporting natural gas imminently?
> In that case what prevents us from building energy storage facilities that produce hydrogen at night and release the electricity back into the grid during the day?

That's literally the plan?

https://www.nrel.gov/news/program/2020/answer-to-energy-stor...

Hydrogen is a newer technology than Li-ion. But yeah, its more than capable of these things. We just gotta build out pipelines and facilities to handle it.

But no. To deliver MWs of electricity to trains requires using a ton of copper on all rail-lines, as well as advanced transistors to switch that electricity around. Hydrogen storage of electricity is a good idea and is being developed, but there are innate benefits to the fuel-methodology for applications like trains.

In particular, a pipeline will likely transmit more "energy" at cheaper costs than a bundle of copper wires. Steel and concrete pipelines are just cheaper. So instead of building expensive copper wires + expensive transistors to switch electricity all around the place, why not build pipelines?

> Wouldn't it be more efficient than transporting the hydrogen by truck and transporting the hydrogen battery on every train?

Well, first off, the most efficient form of transporting Hydrogen would be a pipeline. But lets say we're dealing with a remote area so a truck is necessary.

1kg of Hydrogen has 120MJ of power, or 0.033 MW-hrs of electricity. A singular kilogram.

https://www.energy.gov/eere/fuelcells/hydrogen-tube-trailers

These trailers can store 900kg of Hydrogen. Or in other words, 30 Megawatt-hours of Hydrogen based electricity. Larger vehicles, like trains, can likely afford to carry larger containers, possibly even cryogenic liquid-hydrogen that is even more compact.

https://demaco-cryogenics.com/blog/liquid-hydrogen-storage/

Current storage tanks from NASA can hold 270 tons of liquid Hydrogen, with plans to scale to 3000 tons of liquid hydrogen storage. That's 3000000 kg, or 100 Gigawatt-hours of energy storage per tank.

--------

So yeah, the amount of H2 energy storage available far exceeds what is possible with Li-ion technology.

Pipelines will be more efficient at moving Gigajoules / dozens of MW-hours at cheap costs. Trucks and trains can carry the fuel wherever they need to go. Energy storage / Hydrogen batteries will scale to far higher capacities than Li-ion could ever dream of.

--------

Hydrogen is an incredibly light fuel. Its difficulty in transportation is __volume__ rather than its weight. Storage technologies, such as higher pressure (700-bar or higher), and liquid cryogenics are needed for H2 storage to be effective. These technologies are just becoming possible today.

So only now can we dream of what liquid-hydrogen storage tanks can offer us. Literally 100GW-hrs of energy per liquid-hydrogen tank is feasible (while *current* prototypes from NASA are holding 9GW-hrs of energy storage).
Sure bud, and all politicians are altruistic and would never manufacture or take advantage of a crisis.

You are literally quoting the people that are taking advantage of it and have done nothing in regards to correcting it.

Remember environmentalism...probably not as it doesn't exist anymore as it was solution focused, not governance focused
I'm doing a Play framework upgrade at work right now... and boy did the scala ecosystem not make this easy.
In Germany, the richest 10% of the population is producing 50% of the CO2.

At the world level, the richest 1% is producing double of the poorest 50%.

We should not talk about the increase coming from other countries, we should already start with us reducing our impact and adapt. The problem is that we all have/find good excuses not to change our behavior.
I compare async/await with manual threading, or with callback hell, and in both cases it is a great improvement. I haven't tried Java with Loom and haven't done much in Go, so maybe that style is indeed better. Right now it feels spooky if my lightweight thread can suspend at any time, deep down in some function call. And what if you accidentially don't call a "loomified" IO function, but a plain blocking one? I like the explicitness of "cooperative" await but agree it can be a bit tedious. Maybe there is a better way of integrating "asyncness" in the type system?

Yeah the last idea came when I added undo/redo to an app. I had to go mechanically through everything and make every change to my model go through a "Command" subclass. When I encounter something like this I think "why can't the compiler do this for me?". Probably solvable by LISP macros, or transactions as you said.
I have indeed been to both Albania and Macedonia. Great countries, awesome people, I enjoyed my trip tremendously. But locals do indeed complain about corruption and the inefficiency of their government when you take with them. The issue with criminality and especially drug trafficking is also very much palpable in Albania.
Cyrix 5x86 PR100. Or Cyrix 6x86 PR266
Russia hoping for European economic collapse would be just as stupid as Europe hoping for Russia's economic collapse.

They are too entangled at this point for either to survive the collapse of another.
Java has the same dependency issues? I vividly remember spending days on jars shading in Maven. Basically, a single approach that would solve this, irrespective of the language, would be isolating dependency trees of every library from each other, essentially duplicating the code of many common libraries in RAM (like Docker, but for libraries inside the same process). There's an option to do that in Maven, but it's not the default. And it still would not work for dependencies where there should be only a single instance of it in RAM, like for example loggers...
Caught a typo already :)
I really wonder why every time Scala is discussed on HN, someone wants to rewrite history about some mythical synergy with the Android ecosystem. This is so bizarre.

In what world would Typesafe/Lightbend have found the money and resources to pull off even a fraction of what Jetbrains did with Kotlin? Let alone convince Google.

On the other hand I'm very happy Scala isn't tied to the Android runtime.
IMO the success of "Midnight Cowboy" (1970 Oscars for Best Picture + Director + Screenplay) marks the moment when the New Wave truly hit Hollywood.

Although set in New York, it owes a lot more to Godard and other Europeans than American movies of the past.
Ah, didn’t know that! F@@k!
Historically, the UK has not had much gas storage capacity (even Rough wasn't that big) because gas wells have a reasonable amount of turndown capacity and those wells are directly coupled through St Fergus and other sites into gas cleaning and then into the national gas grid.

Germany has never had significant gas production and is heavily gas dependent so has built up storage facilities for strategic reasons.

The mistake made was that since 2004, the UK has become a gas importer with a greater fraction of imports every year. There was then a series of judgements made by successive governments that:

1) Gas was only a bridge fuel from which the UK would move away over time

2) The UK network is also essentially directly coupled into the Norwegian gas system which is and was massive

3) The UK has proportionately a very large amount of LNG terminal capacity

Therefore it was decided that it was not necessary either to develop more storage capacity nor indeed to pay for the re-completion of Rough in order to keep it operating. This now seems to have been a serious error.

This is particularly true because:

1) The UK, like The Netherlands, is almost entirely gas heated, Germany is also heavily gas dependent but heating mixes vary across European countries by a lot more than most people appreciate. This is because the UK and The Netherlands discovered gas early and gas is a brilliant heating fuel (apart from the whole global warming thing...). Norway, which discovered gas in large quantities only after it had already built hydro infrastructure and invested in electric heating, doesn't use much gas for heating domestically.

2) The UK has a lot of renewables and very little hydro and has therefore developed over the last decade into a gas + renewables electrical grid and closed its coal power plants. The great wave of nuclear AGR shutdowns has barely started but the Magnoxes are mostly offline already. Other European countries have kept their coal plants around either in daily use or on standby and are therefore able to bring them back. The GB grid simply doesn't have much idled but non-demolished coal capacity left on it.

3) Although, unlike most EU power markets, the GB electricity market is not pure "energy only" and has a capacity market, like those markets, electricity is priced at the marginal cost which in most hours is set by gas generation.

So the UK gets a double whammy of gas price effects.
EDF is certainly run by state apparatchiks, but it's hard to argue that they haven't done a pretty good job making electricity available cheaply and plentifully to French consumers.
chafa in mexican spanish means crappy/cheap
It's easy, just fire or cancel anyone's funding and boom, you get consensus.

Also nice way to conflate two different issues, all we are saying is the political engine in play gives zero shits about the environmentalism.
Nobody has yet implemented the Memex proposed by Bush in 1945.[1] In it, hyperlinked documents were stored in a massive LOCAL library, and could be shared in context at will.

Local storage of data removes the tracking information you supply to enable advertising, and give them profits at your expense.

It would drive the copyright rentier class (Disney et al) nuts, but could also be quite handy to have in the coming wave of DeGlobalization and supply chain restructuring.

The editor of the Atlantic in his introduction said "The perfection of these pacific instruments should be the first objective of our scientists as they emerge from their war work." Yet here we are, 70+ years later with that vision unfulfilled.

[1] https://www.theatlantic.com/magazine/archive/1945/07/as-we-m...