skysight-inc/HackerNews huggingface dataset:
I struggled with examples of codebase structure when I was learning the language. I looked into code written by Go contributors, and it struck me as “procedural.”

This is where a significant shift in my programming started: abandoning OOP, removing unnecessary dependencies, moving from Linux to OpenBSD, from k8s to VM, and from clouds to bare metal. Pros: I understand computers better and have more fun. Cons: companies are still at the stage of moving to a cloud. And now I have to wait for trends to catch up.
> [...] and similarly aren’t worried about differentiating error cases.

I differentiate error cases in Go, so I'm not sure what you're talking about. Sometimes it's done with ==, other times it's done with type assertions, type switches, and some helper functions in the errors package.

I've barely touched Zig.

I think it's contributing some important ideas, and maybe those ideas will get further developed in newer languages.
...ew. Gross.
The Wikipedia article on the British Monarchy is (as expected) informative:

> The monarch and their immediate family undertake various official, ceremonial, diplomatic and representational duties. As the monarchy is constitutional, the monarch is limited to functions such as bestowing honours and appointing the prime minister, which are performed in a non-partisan manner. The monarch is also Head of the British Armed Forces. Though the ultimate executive authority over the government is still formally by and through the royal prerogative, these powers may only be used according to laws enacted in Parliament and, in practice, within the constraints of convention and precedent. The Government of the United Kingdom is known as His (Her) Majesty's Government.

I wasn't aware that the monarch appointed the prime minister, but here you have the last one the Queen made:

> Liz Truss has became Britain’s next prime minister after meeting with Queen Elizabeth II, who asked her to form a new government.

https://www.aljazeera.com/news/2022/9/6/uks-johnson-bows-out...

The Wikipedia article later notes that prime minister appointment appears to fall into the ceremonial category:

> The sovereign has the power to appoint the prime minister. In accordance with unwritten constitutional conventions, the monarch appoints the individual who commands the support of the House of Commons, usually the leader of the party or coalition that has a majority in that House. The prime minister takes office by attending the monarch in a private audience, and after "kissing hands" that appointment is immediately effective without any other formality or instrument.[15] The sovereign also has the power to dismiss the prime minister, but the last time this power was exercised was in 1834, when William IV dismissed Lord Melbourne; since then, prime ministers have only left office upon their resignation, which they are expected to offer to the monarch upon losing their majority in the House of Commons.
A Warning for New Designers: Avoid Dribbble
It's usually reserved for "Important people in tech" plus or minus whoever dang and the people who actually own Y Combinator care about.

HN is NOT an unbiased, unaffiliated, open forum. They make no effort to hide that fact, but so many people here put it on a pedestal instead of understanding that it's just orange reddit with good moderation.
Could there be any code that breaks as a result of this? Can't think of anything, but wondering if there is something deep in some Civil Service script.
What turned me off from Vagrant was that Vagrant machines were never fully reproducible.

Docker took the approach of specifying images in terms of how to create them from scratch. Vagrant, on the other hand, took the approach of specifying certain details about a machine, then trying to apply changes to an existing machine to get it into the desired state. Since the Vagrantfile didn't (and couldn't) specify everything about that state, you'd inevitably end up with some drift as you applied changes to a machine over time -- a development team using Vagrant could often end up in situations where code behaved differently on two developers' machines because their respective Vagrant machines had gotten into different states.

It helped that Docker images can be used in production. Vagrant was only ever pitched as a solution for development; you'd be crazy to try to use it in production.
It installs fine on Chrome but fails to install on Brave (network error download interrupted). Too bad as Brave is my main browser. I have no problem installing some other Chrome extensions on Brave.
Good idea, thanks, I'll add that in the next version.
> Trust in the matter that they’ve grievances with? Not really.

Does this automatox mistrust applies to all victims of aggression/imperialism/genocide like Yazidi, Jews, etc?

As in, this logic means that you are determined not to trust victims of something, purely because they are victims and talk about it.
Not a 'monarch', but a 'sovereign' would be a better fit.
> I believe it is in the tens of billions when a monarch dies (changes of money, ceremonies, etc).

That doesn't sound right by an order of magnitude. The main "cost" would be the extra bank holiday, but that is difficult to quantify.
Regardless of whether it's a pro-only feature, my feedback is that I need this to use the existing HN favorites capability before I feel comfortable using it.
Are you seriously suggesting that the language should not have notation for allocating zeroed primitive types and receiving the address of the allocation?

var (
p1 = new(int)
p2 = new(*int)
p3 = new(**int)
p4 = new(complex64)
p5 = new(complex128)
)

I feel like you must be joking. Should we say

var (
c complex128
p = &c
)

every time?
https://www.theguardian.com/uk/2013/jan/14/secret-papers-roy...
I'm sure an account named Emma_Goldman comes by these sentiments honestly, but please don't take HN threads into generic ideological flamewar. We want curious conversation here, not tedious talking-point battle.

You mostly do a pretty good job of avoiding that, for which we're grateful, but on the other hand, (a) we have had to warn you about this before, and (b) this subthread is a classic generic flamewar tangent—just what we want to avoid on HN.

https://news.ycombinator.com/newsguidelines.html

We detached this subthread from https://news.ycombinator.com/item?id=32769470.
Oh boy prepare for more “AI is conscious” “whistleblowers” and headlines.
SwiftUI for React Devs
I left the UK a year or so back and have been pretty anti-monarchist for as long as I can remember, so am probably not the best person to ask about the public mood on succession!

I think there are probably a lot of people like me who, while anti monarchy in general, were not particularly anti-Elizabeth. However now that she’s passed I would quite like the whole thing to be further de-emphasised, de-legitimised and removed from any remaining levers of power, however ceremonial or theoretical, and any remaining state subsidy, palaces and lands to be taken into public ownership etc etc.

How many are of these opinions I am unsure.
That’s the origin of the phrase “the King is dead, long live the King”.
I enjoyed learning about Reaction-Diffusion from this article more than actually finding out I can run them 93475x faster with Taichi ;D
Does Ruby come pre-installed on virtually every Unix-like system out there?
Argentina itself is a creation of Spanish Imperialism, and British control of the islands dates to that same era, before Argentina became a nation. I don't see how either one can be claimed to be more or less creations of Imperialism than the other.

The fact is the British foreign office had been trying to find ways to offload the islands on Argentina for ages. The British government felt they were an expensive nuisance that were an obstacle to better relations in the region. The Galtieri regime only invaded because they needed a boost in popularity. Negotiation is one thing, but military occupation quite another.

There is (or could have been) a legitimate discussion to be had about the history of control of the islands. Sure. But those who resort to pre-emptive military force, when facing no threat to themselves, have no business complaining when the resulting conflict goes against them. Suez is a good example of us learning that lesson the hard way.
Long live The King!
the camel shall crush the serpent
Not a Brit, but my respect for the queen has always been tremendous, representing the British monarchy and being a public figure for all my life and seemingly forever, such that her death seems unreal, reminding us that she was a human being and nice old lady after all. I was even hesitant to turn on the news. RIP.
What about the times when they announced different types of car models, promised delivery in a year, took pre-orders, and then didn't deliver (and still haven't)? That's pretty Theranos-y behavior.
How is the can of worms not already open? The War on Drugs has failed to put a dent in drug consumption habits.

My suspicion why there was an uptick of incidents in NL/Amsterdam was the influx of people specifically seeking those substances out, with little safety education or experience. If they were more widely available, the incidents would be far more diffuse, and likely fall below the noise floor. Plus, wider awareness means better overall substance education and understanding, meaning fewer folks getting in over their heads and acting a fool.

The same "can of worms" argument was leveled against cannabis legalization, and turned out to be overblown, there was no outbreak of reefer madness.
/opt is still spread out: programs must be in /opt/package/bin, configuration must be in /etc/opt, variable files must be in /var/opt.
An Argentine dictatorship was trying to build its empire by conquering a bunch of people who voted to remain British.

That they can paint that as British Imperialism blows my mind.
There is just that thing with those prison camps littering North Korea, the recurring famines, the fact that the Kim dynasty claims god-like status and more... so no, this is not a good comparison even though we of course do not really know how much of all this is known to the North-Korean populace.
If anyone is on here from France what is the likelihood of an existing retailer to start offering deliveries. Either with one of these companies or on their own.

Seems bizarre for Macron's government to kill a fast growing new tech industry that is providing thousands of jobs.
Tim Cook Shoots Down Idea of iOS Adopting RCS Messages
She was hardly partying in Ibiza every weekend. She spent her life serving her country.
But the US alone has spent more on ITER than CFS will spend on SPARC.

This isn't entirely ITER's fault. The superconductor technology SPARC is using didn't exist when ITER was designed.
I don't think it's hate. I think it's more "why would I choose Perl over Python?" Perl has a painful syntax, Python greatly improves on this with easy syntax. I don't want to have to relearn the syntax every time I reach for a scripting tool.
My favorite iOS client for Hacker News (so far) is HACK: https://apps.apple.com/us/app/hack-for-hacker-news-developer...
Love this drama ,as always
Yeah, the biggest thing I noticed that showed me how well it works is viewing news article posts where everyone in the comments complains about how unreadable it is and the page loads fine for me with tons of whitespace.

The video ads on YouTube infuriate me though because a lot of times the first one isn't skippable anymore and you have to wade through 2-3 to get to the video.

EDIT: Also, I have a Sudoku game that's just about unplayable away from PiHole because it has an ad at the bottom and interrupts gameplay periodically with video ads.
Out of interest, when did you try this?

I just set up pytorch on a machine the other day and while I don't own an AMD GPU I saw that they offer a ROCm version on their "getting started" page [1] and it doesn't seem to be more difficult than the other options.

I could imagine if you run other frameworks, or if you compile custom (c++) modules for pytorch then it could be an issue, but frankly that has been becoming exceedingly rare (at least for me).

Would love to hear your or anyone's experiences since I, like the sibling comment, don't want to shove any more money to nvidia.

[1]: https://pytorch.org/get-started/locally/
The EU is not a 'trade bloc' (sic).

In the grand scheme of things, Brexit and its consequences were much alike to what I imagine would happen were $STATE to leave the USA.
King Charles III decrees no more meet-ups.
I don't think that's what I was saying. It was a comment on how when a religious celebration is still celebrated but the religious part has been hollowed out, you can't really find true meaning it anymore. Today it's just a commercial event where we stand around a dead tree and exchange presents for some reason. We are acting out the celebration of Christmas but we aren't actually celebrating it. It's a completely inauthentic event and at best a pastiche of the actual thing.

I think it's why I like Thanksgiving and the 4th of July more - it's essentially the same thing without the artificial Christmas obligations around it.
> The line of succession after William is a disaster.

Isn't it without a doubt that Prince George is next in line? It would take quite a lot to displace him.
Also known as Innovator's Dilemma https://en.wikipedia.org/wiki/The_Innovator%27s_Dilemma

Most established players don't want to cannibalize their existing market by launching a product in a niche segment. Sales and Marketing $$$ eat into the profits which is not easy to justify when you are profitable. If you are fighting for your survival then it's easy to reallocate resources to fight.
= Actually making engines?
That's what the existing rules are supposed to be for. No amount of rule-making can salvage it when trust in the people has been so badly corroded.

There is a large section of the US that believes in a widespread, successful effort to undermine democracy. Either they are right, and democracy is already gone, or they are wrong, and the fundamental basis on which democracy exists is stretched to the breaking point.

Either way it's a self-fulfilling prophecy, and no amount of "strengthening elections" will change that. What's needed is even deeper -- a belief that elections can possibly be strong. And I don't see how that's possible in light of that tautology.
Who is "they" in this case?

Technically there is no one who could authorize that split except the current monarch. I'd imagine things will continue just as they were
That's the worst argument for socialism I've ever encountered.
Regardless of whether or not that statement is true the head of state has absolutely nothing to do with it.
Show HN: ML-Powered Search Demo
Before NLP-powered text search, it was difficult to handle synonyms or text records with different languages. This demo is a note-taking app that can accommodate 16 languages for semantic search that makes searching through your content way better than substrings.

Please feel free to ask any questions and leave comments about your impressions. There is no CSS - it's intentional. Function over form :)
Surprising Automata
Hi HN, I wrote this post, happy to answer questions and any feedback is appreciated.
Wishful thinking, delusion or scam.

There are so many foundational issues with low supersonic flight from a usability perspective as well (time zones are not your friend for some of it), that lots of routes can only command a premium in one direction.

You have to make so many rosy assumptions to even believe this makes sense if someone was willing to pour billions into engine tech - and still maybe have no options that are commercially viable. It’s also a nightmare from an environmental perspective.
Bet someone will be rooting out hard-coded strings with incorrect pronouns in for years to come.
Similar safety profiles? I'm not a drinker, but I think you need to drink a LOT of alcohol to state hallucinating? I.e. most people don't do that.
I've always been an anti-monarchist/posh class in terms of the sense of entitlement and inherited perks while "in government", but I also feel as a leader QE2 was an unusually astute 'Monarch' (in quotes as she was a very different monarch, both in actual power and in tone from say a Sultan Bolkiah, the KSD, or Sultan bin Tarik) and that there is now a bit of an informal power vacuum in the UK, which will have network effects beyond their borders.
I reckon having to endure listening to whatever moron PM is currently in power every week for seventy years is a decent achievement. In all seriousness though, I'd say that not fucking up for an entire reign is a pretty big achievement. Can you name any other celebrity (for lack of a better word) that hasn't really put a foot wrong in all that time?

Put aside what you think about monarchies and royals and look at the actual person. She was completely dedicated to serving other people in the same way that the very best of our uniformed services are and it's why she gets so much respect from just about everyone.

In a way, it reminds me of musicians who aren't particularly known for their collectivism. I don't know for sure, but I can't imagine it's particularly fun to play the same song that made you famous in your twenties and play it every night for the next 50 years. A lot of them can't stand it and stop playing their old songs. Or stop touring all together.

This is kind of what the Queen has done but rather than just every night for an hour and a half, it's literally been every single day of her life. But she went to all those events and met all those people because even though it was the millionth time for her giving a medal to someone, it was the very first time for the other person receiving it. They were overjoyed getting to shake her hand and tell all their friends and family that they got to meet the Queen. And that's what she cared about.

She's done all this every day and not moaned once about it. Put yourself in her shoes. Yes, you get a fancy house and free money. But the life you have to live in exchange for it is not your own. You don't get to pursue your own individualist desires and dreams. All of those are put aside for your duties. At all times in public and most likely a lot of the time in public, you must act completely dignified. No emotional outbursts, you must be the rock that others lean on. You don't really get to retire, you just carry this on until you die.

There have been countless monarchs both in Britain and across the world who have not been up to the job. They've blamed others, shirked duties and abused their powers. But not this one. She really was the real deal.
My hope is Charles does enough damage that we will finally get rid of the Monarchy
No, currently we increment it when the HTTP request is parsed. (It counts HTTP requests, not packets/connections.) This was a quick and easy way to count; but I am very open to improving this! Feel free to submit a proposal or a PR.

Ref: https://github.com/caddyserver/caddy/blob/50748e19c34fc90882...
Shameless plug for a small Userstyle I wrote: https://git.gioia.cloud/andrew/gists/src/branch/master/Users...

It adds dark mode and some spacing/font size/readability improvements for wider screens.
Corinna is essentially the working spec of the new class system in Perl. I’m not sure being performant was ever the goal.
>Yes, I understand she was a fake Queen of a country, but so what?

She was a real queen, albeit with little power. What is a fake queen?

>Why do we feel we need to worship these people, be it royalty or celebrities?

Can you point to anybody worshipping her? Talking about a person or showing them respect is not worship.

>People are dying in Gaza too, maybe spare a tear for them.

Can people not do both?
Tesla certainly delivers cars. But there are parts of it that are quite Theranesque, especially the self driving:

* Re-sell third party products for a while ("Until our own offering is ready"). If the recently posted self parking video is to be believed, the in-house products are still not on par with the third party predecessors: https://www.youtube.com/watch?v=nsb2XBAIWyA

* Pre-sell your product years before it's ready.

* Aggressively suppress internal and external criticism.

* Avoid objective evaluations of your product.
The article does a good job conflating the parliamentary process of Queen’s consent and lobbying of the government by the Royal family. You may think both are bad/outdated, I do, but there’s a lot of journalistic spin going on here.

Right at the bottom of the article there is a quote:
“Consent is always granted by the monarch where requested by government. Any assertion that the sovereign has blocked legislation is simply incorrect.”

The journalist never provides any evidence to the contrary.
The Monarch is not responsible for that. That blame rests squarely on the Government and Parliament.
Splatoon 3 review: Nintendo’s well of squid ink has run dry
I view HN at 200%
Getting old :/
AI Assistant finds a great restaurant/business and gives a general impression
Russia doesn't have any problems getting some info from the other side. Ukraine does.
This is intriguing.

Doesn't the CEO / Project lead / DRI at some point just makes a decision and whoever does not agree have to "disagree and commit"?
If it's not installed already, Ruby will be installed ASAP on any machine I use.
No thanks. I trust dang to function in the way he sees fit. And because I meant what I said, and chose those words carefully, I'll trust myself to do the same.
No, I don't because they are increasingly a company that doesn't listen to its users.
> Sorry, I should be posting under a throw-away

Nice post, and I upvoted, but it might say something about your personality that you seem to consider 'throwaway2037' a part of your identity and not a throw-away. It makes me wonder if some of what you consider to be a 'cult' might just be what others think of as 'community'.
I'm consistently impressed with how IKEA does business, with the exception of their website. For example, search for "storage bin" then try to filter by the dimensions of the bin (for fitting on a bookshelf or in a cubby hole). You're given two filtering choices: Large and Medium. Those are not very helpful choices.

I'm sure their metadata is great compared to some groups, but in my case it's still insufficient.
Brains are quite nonlinear. I wonder how many people already had visual artifacts and assorted weirdness, but never paid attention to them because the brain just paves over it, until an experience highlights those artifacts, and now they can't not notice them.
r/buyitforlife too please!
Doesn't work with Chrome Android.
Yes, definitely. BUT - there is a very wide and thinly-populated gulf between the folks who only talk about doing that, and those who actually deliver viable, working systems.

SpaceX went from founding the company to their first orbital launch attempt in 4 years, was obviously d*mn close to successful orbit 1 year later, and actually made orbit another 18 months after that.

Vs. Boom Supersonic, not having had to design nor build its own jet engines, is already 5+ years behind on their 1/3-scale, zero-passenger technology demonstrator even trying to taxi down the runway.
Who 2xers or 5xers? Or do you need to be voted in by other 10ers?
He says not to "rant against monarcy". Criticism of elizabeth is fair game I think, although still early for that. We ll see a lot of criticism of her and monarchy in general in the next months.

Personally i can see why brits may have feelings for her, but i dont consider her remarkable. Her legacy is basically that she lived in 96 of the most impactful years in human history and oversaw (from a distance) the end of the british empire. None of that was her making, she merely stood there as a prop. Her greatest achievement was that she led a conservative life, married only once, never participated in anything progressive, meshing well with the anachronistic rituals of monarchy.
Frame.work DIY 1240p.
Show HN: A tiny TCP load balancer