skysight-inc/HackerNews huggingface dataset:
Scotland is far far worse off without the rest of the UK than the UK without Europe. And Scotland is doing much worse on almost all economic and social measures than England whereas that isn't the case at all when comparing the UK to the rest of the EU.

On top of that one data point is 19% of Scottish exports went to the EU. 60% go to the rest of the UK. Scotland has no ties with any foreign countries (they all run through Westminster), a fraction of the population that would struggle to achieve economies of scale, etc. On top of that there isn't even any guarantee that Scotland would get into the EU (I imagine Spain would block it so as not to encourage Catalonia separatism - check the 2017 Catalan referendum for my point).

Even if you think the UK leaving the EU was the UK shooting itself in the foot, Scotland exiting the UK would be it shooting itself in the head.

-------------------

In terms of rejoining the EU it won't even be able to brought to ballot for at least a decade. All the remain campaign would need to do is start running ads about how EU law will supersede British Law and highlight that the deal the Brits are getting now isn't as good as they one they had (and imply this is being done for vengeful reasons) and watch support collapse. The UK should be aiming for a free trade and economic agreement, not EU membership. That ship has sailed.
Electrical production facilities have been considered by the US and its allies as dual use and as such, legitimate targets in their strikes against enemies for quite a long time. Anyone who has watched any US 'shock and awe' campaigns notices the power goes up very, very quickly.

As an American citizen, I'm very glad this wasn't treated as indistinguishable from a nuclear attack. I regret that no one was held accountable for initiating the war, but MAD would have been bad news.

I was and am against those wars, but I am not a pacifist. If a war is a 'just way' and should be fought (there's a whole scholarship on when wars are just, I have a high bar, but it can be met), there will always be targets that are 'dual use' and in that regrettable circumstance in my mind, those would be legitimate targets after a very careful calculus was made to weigh lives lost and saved by destroying them.

Most American military experts assumed the Russians would have started the war with a much more aggressive arial bombardment. It's just kind of how these things are done. I assume them doing this now is Russia paving the way for a more traditional operation to begin when the ground freezes. It's going to be a bloody winter. It's a tragedy.
My prediction: HTML will die way before HTTP.

We will replace that language eventually, HTTP is here to stay.
Astronomers don’t care, they already need like 5 different clocks.

Also the allowable variance between UTC and ut1 is 0.9.
You really like HTML for system-to-system communication? Or we read two different blog posts?
This would've been very convenient for lazy loading in a recent python project. I ended up making the husk turn into a transparent wrapper for the loaded object, unfortunately adding a layer of indirection to every subsequent call. Does anyone here know a better way to do lazy loading objects in python?
In some chess tournaments played remotely they put CO2 sensors in players' rooms and there was a surprisingly big correlation between good and bad form and CO2, to the point that some players started to play with open windows and warm clothes during the winter (for example Jan Krzysztof Duda).
Or any build tool like make.
When you are hammer ...
By that I mean that all you see in the media is but a spectacle.

Did Wikileaks achieve anything else but raising the degree of angst and learned helplessness in mere mortals of this world? Maybe there occurred a revolution somewhere against the entities whose corpus delicti was leaked? Any supreme moron convicted? Anything positively changed in the global state of affairs?

Nope, all it did is communicate the message about how both utterly corrupted and invulnerable those entities are, and everyone trying to expose their crimes is doomed, like the character of Assange.

In simple words: Wikileaks == controlled opposition.
It's usually set up to sync to NTP.
The FSB didn't know about the invasion, because the top brass didn't tell them.
https://cosarara.me/misc/jxljs/ in my test, it will simply fall back to jpeg, even if the jxl.js library is loaded (scroll down to Image with fallback).
I dunno, if my exceptions would have to be manually rethrown every time, I’d get really cranky very quickly.

I don’t think that’s any better in Rust though.
They haven't forgiven Assange either.
But if you follow that argument then you might as well drop leap secnds from UTC (which also drops them from Unix time). Which is what was done. So computers can have nice math and conversions to UTC are not needlessly complicated for little benefit to humans.
Those people? Claire Fox and the LM crowd? They're professional contrarians. Very good at picking the side most guaranteed to make people angry, which is how they went seamlessly from far left to far right.
I think all of https://www.gwern.net/ is well written, interesting and unique.
I wish I could do the opposite, to be honest. I like the Docker Desktop UI and all the command line utilities it auto-installs, but I want to use another Docker host like a VMware Workstation VM or even a remote machine. As of this writing you can just install Docker for Windows and disable a bunch of services + Hyper-V, and the CLI stuff can still work with other machines, but the desktop app just doesn't.
From the article:

Elon Musk used Twitter, the platform he now owns, to gleefully mock the meltdown of the crypto exchange FTX. His “bullshit meter was redlining” when he met the crypto exchange’s founder, Sam Bankman-Fried, Musk has said.

But Musk was in a friendlier mood on May 5. Two weeks after clinching a deal to buy Twitter for $44 billion, he texted Bankman-Fried just after midnight and invited him to roll the $100 million stake he had owned for a few months into a privately held Twitter.
Please don't bite, but why not move the UTC merdian?
The problem with that goal, even if one were to assume your assessment of him is correct, is that you'd be advocating for the end of adoption of electric vehicles and keeping humanity a single planet species forever, thus increasing our existential risks.

Since his success metric for launching Tesla was the success of green tech itself rather than Tesla's market share and his goals for SpaceX were similarly broad rather than purely financial, making a point of trying to make him fail is also negatively aligned with long term civilizational outcomes.
It would take a very petty person to hope that we go back to throwing away rockets after a single use, just because they have a beef with the person in and inspired others to build a reusable one.

If you feel that the 2018-2021 era version of Twitter was its ideal state, that's defensible even if a bit odd. But hoping a platform millions love fails, just because of the guy who bought it (and has a track record of doing great things for humanity), then your goal sucks.
Artemis I – Day 6: Orion Performs Lunar Flyby, Closest Outbound Approach
George Hotz has just been hired to rewrite Twitter search in 12 weeks. No code change is going out the window.
It is distributed because everyone has a copy of the full source (nobody's copy is the copy) and you can push and pull from any machine. I can literally push from my laptop to yours (if I have an account on your machine) and you can pull from mine to yours. Github's copy of my code is exactly the same as Dave's copy. It just happens to have a fancy web interface.

In practice of course almost nobody uses Git to push/pull from other people's personal machines (I think I've done it once ever). But it's pretty common to push and pull from multiple hosted repos (e.g. Github and an internal company Gitlab). I imagine doing that sort of thing with SVN would be a right pain.
> I want the Internet to be like the Erlang virtual machine. Each server is an independent actor that holds state, can send and receive messages, but they are not very trusted.

you sound quite a bit like Alan Kay there (and that's not a bad thing IMO).
> And most processes end up reserving more memory than they ever actually touch.

I find this assertion dubious. Explicitly pre-allocating large arenas is common when micro-optimizing, which isn't something that happens for most apps out there - they just do the usual malloc/free (or equivalent) dance as needed. So for your average app, it boils down to the quality of implementation of its heap allocator. And there aren't that many of them to get right.
Voice assistants are not doing it for big tech
I imagine a world were this is confirmed truth and wonder: So what?

As long as the published work is the truth, even if just "one side" of it, it's better than lies all the way down.

Would it be better if we had leaks about every regime? Sure!

Wouldn't it even be better if we had no regimes and no need for Wikileaks at all? Definitely!

But "one-sided" truth is still (part of the greater) truth.
Future is hard to forecast but let me try.

The USA de facto surrenders to Russia in the Ukraine war and Europe starts to buy gas from Russia again (if the USA can't protect us we have to buy protection somewhere else). Russia use European money to start buying European politicians again. Eventually they'll politically control all of Europe. Maybe not the UK.

China gets East Asia because a retreating USA must be seen with suspect there too.

The USA maybe keeps the Americas, which however are not very happy with them even now (the countries that don't speak English.) Some countries will try to jump ship to Russia and China. More colonial wars to follow.

Overall effect: reduced reach for American companies, products and services. A small side effect: we won't be here to discuss this on HN but on a site of another country/language. Eventually: switch to a different worldwide common language (France experienced that demotion around the 60s/70s - French was the previous lingua franca) and further reduction of reach. Eventually: a poorer USA.

Seen from outside the USA this doesn't look MAGA to me. The opposite of it. Hard to assess the impact on inequality, healthcare, tuition, etc. Maybe the USA will go the way of the European Nordic countries or they'll implode. I won't get into that.
I believe so too [1]. Of course, Russia and many others believed that by mid march, the war would be over and that the change would not have completed. I'm relieved that those initial expectations collided with Ukrainian resilience.

[1] https://www.cbsnews.com/news/ukraine-european-power-grid-rus...
World Economic Forum. In essence, it's an NGO with globalist agenda and as a result the boogyman of the ant-globalist movement. There are some valid criticism and very creative conspiracy theories around it. Capitol invading shamans level stuff, highly recommend it.
Yes I am saying that. Assange wouldn't touch any leaks not aligning with his political preferences.

https://foreignpolicy.com/2017/08/17/wikileaks-turned-down-l...
Show HN: I've made awesome.blackfriday to showcase great deals for software apps
> However, the Stroustrup book makes it seem like it's pretty manageable.

It's manageable for trivial examples such as you'd find in a learn-to-code book, but memory management is a huge issue for larger programs. The C++ Core Guidelines are mostly intended as a way of managing these issues in a somewhat general way (while still not going full Rust) and they're extremely complex.
Ukraine war: How Germany ended reliance on Russian gas
You are correct, this should teach me not to write comments when I'm too tired. :/

The check digit wouldn't really help with collisions, since if the strings are the same the digit will be too. They are primarily useful when we need to ensure correctness on human input.
It's not fair to judge an entire ecosystem full of extremely talented people by the vocal (and insufferable) 1%. Every group has them. What has become a meme has zero relationship to the quality of the thing.
World Economic Forum, latest bogeyman in conspiracy theorists' circles:

https://en.wikipedia.org/wiki/World_Economic_Forum

https://fortune.com/2022/06/02/davos-death-threats-world-eco... (archived: https://archive.is/icFpU)
Please show, don't tell. Your sibling explained that they meant only function call optimization. And I would say it's debatable that this is an "optimization" since slices would be a new concept that is distinct from structs. I agree though that the obvious naive choice would be to pass them in the same way that structs of { ptr, len } are passed in the ABI.
Amazing, thanks for writing that up with links. I need to save this comment.

Most likely I'll do this the exact way you have, not using the HASS integration (I've found it limiting in several ways; particularly when using Frigate, as the HASS Appliance doesn't provide a way to mount storage).

I use Node-RED for a couple of things now and it's a really nice interface for creating complex interactions that would just be a bit of a nightmare to write up in YAML.

I've tried a couple of things so far, like the M5 Stack Atom speaker with ESPHome Media Player which meets the compactness requirement but audio quality is awful and the volume is so quiet it's practically rendered useless just by fan noise from computers in my home office.

Using a decent HAT, I might build something little out of wood that won't look out of place in the living room; my wife is ~~unlikely~~ not going to approve anything like (6). The ReSpeaker 2 with it's JST for a little speaker might be ideal!
Understanding is a Poor Substitute for Convexity (2012) [pdf]
Mosh: An Interactive Remote Shell for Mobile Clients (2012) [pdf]
I think the (originally German) name is derived from trump cards - which are also powerful, but in a somewhat different way...
> My problem with Rust is that is precludes many safe programs. References can be alive and be passed around.

I do agree with this and it rubs me the wrong way. Sure I can put something into `std::mem::ManuallyDrop` and hand out transmuted unsafe `&'static mut` references to it but then people come and point out (rightfully) how this library is unsound.
We all have different needs.. not everybody is an "SRE" or similar. Some people just use the terminal/shell mainly on their own machine and want to tune it. I am one of them. I can still use a vi without plugins on a remote machine instead of my tweaked and heavily customized vim.

It is not an argument to keep the environment I work in all the time dumb.
Yes, those people, what they learned was political praxis: How to succeed and win an argument. How to be effective, in a minority, how to dominate a room. I was a member of a less rigid, less orthodox, (markedly less effective!) socialist student movement in the UK at a similar time as them in the late 70s and I know some, a little, of how they operate. An older generation in the SDS learned similar lessons during the anti Vietnam war campaign in the USA.

Some anticommunists fail to understand or believe you can ever cease to be a communist. Arguably, they're right: there are political lessons which can't be unlearned. Putin is anything but a communist, Russia is not a socialist state. Do you think Putin has unlearned what he learned across the sixties and seventies and eighties as a loyal party member? Different to Claire Fox but similar lessons learned I would argue.
> against whom?

The Russian Federation, the country that since its existence started in 1991 has invaded.

- Chechnya
- Georgia
- Moldova
- Ukraine

And continues upto right now, to threaten every country under the sun with nuclear annihilation merely for _helping_ Ukraine.

> when? post the NATO expansion?

NATO keeps gaining members because Russia keeps invading countries, it's the exact reason Finland and Sweden are now joining.

This in no way justifies Russias brutal war.

> I _do not_ support the war. That is a misleading assumption. What about the countless atrocities that the Ukrainians commit? Those are f*cking public as well.

Then I suppose you want Russia to leave Ukraine then, and stay out of Ukraine?.
Help!! I watched the video, thought about it too much and now I can't remember how to walk
But, at least in Russia, they don't and they won't because that's not how power transfers work in this country.

Alexei Navalny was the last person attempting to change this, but he failed.

Also Russia has its own social media, search engine etc., so some information simply doesn't reach the common Russian.

Over here in eastern Europe as far back as in the 00s there was the concept of "Russian internet"(Runet) - it wasn't technically sealed off from the rest of the world, but was more a small, independent world in and of itself that exchanged information mostly internally, in Russian.
Russians grow critical as Putin's military ops drag on and sanctions take a toll
it's the world economic forum. but the way it's used here it seems like more of a stand in for vague economic antisemitism
Terminal command line in Natural Language
You don't need to retain Terminal commands in your head. Now you can work with docker, kubernetes, AWS, GCP, Terraform ... and many more command lines with natural language (English) instructions.
If it's complex business logic and will grow bigger: Kotlin + Micronaut/Spring Boot + Krush/Hibernate
If it's quite simple and has a clear outlined border: Go + Gin

Add login and auth and stuff via ory/keycloak
I am so moved by this that I will donate a bottle of booze to myself, but in your name, thereby satisfying both your conditions. I like to think of myself as a full-service HN commentator.
OK, but without seeders the project will die. If you only want to leech, maybe you should stay away from appeals for participation?
Disregarding the emphasis on XML -> replaced with JSON, isn't this actually mostly spot-on re the popularity of Single-Page Apps (SPA)? There is very little if any HTML in the form of the text-based markup involved in a modern SPA - the actual display logic is all DOM manipulation in JavaScript, operating on separate APIs providing just the raw data in JSON form.

> Truly powerful applications can be built using combinations of JavaScript and XML. Not only can the data and its format (XML) be shipped to another system, but the associated processing logic to validate data entered into the record or form can be shipped along as JavaScript as well.

The main thrust in this article is that scraping HTML display markup is a terrible form of data interchange between systems. Think in terms of modern banking systems that are based on screen-scraping terminal UIs of that era.
Nice article! I think this is an exciting approach to cross-platform support. I took a similar approach for Trealla Prolog's Go library: https://github.com/trealla-prolog/go

The biggest roadblock at the moment is that Go WASM libraries are not in a very good state, except wazero. My assumption is that wazero will be slower than the cranelift-optimized wasmtime, etc. but I have not seen any benchmarks anywhere.

My impressions of the Go WASM libraries:

wazero: great Go-friendly API, not sure about performance, works on all OS (what the author chose)

wasmer: provides bare-minimum input and output for WASI, fast (it's what I chose for trealla-go). Doesn't work on Windows without significant pain, doesn't static compile the wasmer libraries so distribution is a pain. Seems essentially abandoned as its main contributor left the company.

wasmtime: basically impossible to get input and output in any reasonable way (unable to set stdin or read stdout; it can only inherit the FDs from the host), but might finally get buffers for I/O soon.

wasmedge: haven't investigated this yet, but it seems like it solves many of the problems above, promising

If anyone knows of a benchmark between these, I'd love to see it. I'm especially interested in wazero's execution speed. I think I'll try and run Trealla against it.

edit: I should also mention that wazero avoids the cgo overhead which could be a significant optimization for small functions as in this article, even if the runtime is slower. My use case is a long lived interpreter which is quite different.
It's not the blocking of information for what wikileaks is known...
The stock C64 came with an extension slot that allows you to plug in extra hardware - some games, for instance, you could buy as a cartridge (instead of a disk or tape) that got plugged into that slot.
This was the first time reading about this, thanks for sharing. It's an alien concept to me so it was a fascinating read.
Kotlin still has the annoying points of any jvm lang. Gradle, weird ORM stuff etc.
> Expecting "specifications" to match "spec" is expecting too much

When I use Google to search the whole web, it DOES match. So how come it doesn't work when I search a small document?
Exactly! "new reports reveal rifts in organization XYZ" or "findings reveal increasingly erratic actions by CEO" or "(something) sends (company) into tailspin"
CW: gore in header image, about one page long. PgDn gets it out of view on a 1080p screen

(Just warning those who might not want to see it)
Sorry, should have been clearer - butter robot from Rick and Morty. An entity who has one menial job to do and that is the reason for their existence.

In this sense it was meant that the technological solution - auto documenter tools, etc - they're the butter robots. I was making the point that rather than just shim Yet Another Tool into the stack to do a single but important job (pass the butter / write the docs) perhaps give it to a human who will a) do a much better job and b) reduce the complexity of the stack.

Apologies for the confusion.

I'm surprised how this comment thread took off. Looks like there's plenty of support for AND against. I simply meant to make the point that for some problems humans do better than machines and it can be more efficient in the long term to look away from a tech solution to a human problem.
Probably not IMO, it's very unlikely your source tree is structured the same way good docs should be. Docs are often task oriented, code is usually component oriented.
> Not advisable for production code

If your alternative is Python or Ruby, then cloning your values is perfectly OK for production code. It will still run very fast.
Emacs-devel: Feature/tree-sitter merged into master
no i remember it was more complex: https://www.dw.com/en/wikileaks-slams-panama-papers-trickle-...

they wanted to give the public full access. and that's how wikileaks always worked.

> "That is what I'd want to see with these 'Panama Papers.' They should be available to the general public in such a manner so everybody, not just the group of journalists working directly on the data, can search it," Hrafnsson added.
What do the politicians have to hide? Why does it matter who the leak comes from?

I could give a shit less if X foreign govt leaks the info, the politicians are the ones we should really be concerned about
Ask HN: What is .NET Orleans and who would use it?
Have been chatting with an iGaming developer who mentioned some of the game studios they were involved with used Microsoft .NET Orleans.

I've literally never heard of Orleans (except the city in France). Read up online and not super clear on what exactly it is or what it does or who would use it and what for.
Yeah, having worked at a company who had to publish documentation, the technical writer was definitely an essential role. The engineer can write up the documentation, but you need someone external who can review, and interrogate what is written before it goes out. People are very poor at knowing what they need to communicate.
Artemis I – Day 7: Orion Tests Search Acquire / Track Mode, Exit Lunar Influence
> But perhaps the most frightening way in which the COVID-19 crisis could
> undermine democracy is by reducing popular confidence in the democratic
> model.

https://harvardpolitics.com/a-last-stand-for-freedom-global-...