skysight-inc/HackerNews huggingface dataset:
> what would be the point of a calling convention different to the rest of the system

C is actually the exception and not the rule, most languages have different or multiple calling conventions.

> what's the alternative you have in mind when using assembler? Assemblers also have a notion of a stack and non-stack addresses, after all.

Growable segmented stacks.

Now sure, you can do mostly anything in C. But again, it's not assembly. Is it that odd that someone would want to write a compiler without having to write an x86 code generator, or tying themselves to C which again, cannot implement certain things at all?

> you can emit calls to the platform's thread primitives (CreateThreadEx, pthread_create, etc)

pthread_create is not a platform primitive, it's a glibc function, and interestingly cannot be written in C.

> What feature do you have in mind that cannot be implemented by emitting C

You can't implement fibers with growable stacks in C. Now you can use <ucontext.h> (getcontext, setcontext, swapcontext are all libc functions implemented in assembly) but they are very expensive with low hanging fruit for optimizations (for example, not saving the fp status registers or signal mask). Context switching also depends on your calling convention, so you may want to have multiple variants that are emitted for different parts of the program, or evolve over time.

For growable stacks you need to insert a prologue into function signatures to check if the stack needs to grow, however you probably don't want to do this for every function call and can write peephole optimizations in your compiler to avoid doing it.

There are other problems with C that aren't even worth mentioning, notably the linkage/loading model.
>> "For some reason, the massive government fears a small minority of Muslims and has subjected it to constant surveillance..."

Terrorism and extremist ideology is the short answer:

http://be.china-embassy.gov.cn/eng/zt/xinjiangEN1/202104/t20...
Actually, it was fun, so I've made it into an actual package.

The one I slapped together works, but this one is better (fixes issues with actually stopping it properly): https://github.com/joeycumines/generator-ticker

On NPM as generator-ticker.
> …you are able to control your door still with RF products and buttons.

This isn’t relevant since that’s not why I bought a Chamberlain product. I bought it specifically for the capability that they arbitrarily killed.
Sorry yes, we changed it from full stack to frontend engineer on our website.
Do you in general assume that to be a pro-constructivist or humanist-marxist, one has to be a hypocrite or too young still?

What in constructivism is bugging you? The basic idea is that concepts get their meaning through their relations to other concepts. I find that a very reasonable perspective.
I am not. The EU’s move is to force Meta to stop personalised ads and Meta is pushing for an ad-free option. That’s an attempt to appease the regulators and keep their business model.

They’ll make the argument that the customer has a reasonable choice: see targeted ads or pay for the service.

I’m betting They’ll follow up saying the business model in the EU will not be viable without personalised ads (which it really probably won’t) and that they’ll consider leaving the EU altogether. Then the EU can have fun figuring out what will be the economic impact for its economy after they get cut off the largest social network

Meta has ditched Canadian news already. If the finances don’t make sense in the EU, I won’t be surprised they just ditch it
It's not that hard, but I'd rather see `import prompts` for even a couple of prompting uses than your hand-written 20 line ad-hoc re-implementation using `readline`.

At least this module doesn't pull in too much more; just 3 total vs 14 for `prompt`.
Why isn't this on the front page already? :(

It's a good time to test error handling for OpenAI being down, I guess.
In the enthusiast car world there's a growing trend called restomodding, where you take a beloved classic car such as Porsche 964 and rebuild it with completely modern guts. Singer, which is probably the most famous restomodder, charges 6-7 figures for their cars and has a years long waiting list.

Someone should start a restomodding business for classic phones. Just don't charge 6-7 figures for them, please.
Hey, we are currently working on a managed solution for Cyclops. It would run on our infrastructure and connect to our client's cluster. It will reduce the time needed to set up Cyclops, and our clients won't have to maintain Cyclops deployment themselves.
nice, but... I'd written something like this (as a program you pipe to, not autocomplete) before, but when there's an error, I try to show the error then the last-good-output. The reason for this is that when you're typing a complex command you want to have the json visible to guide your thinking, just displaying the error hides it.

The way I did this was to store both the last working query and the last working output, I'd only reuse it if the last working query was a prefix of the current query - that avoids the awkward case where you are deleting letters from the output, so you need an output further back in history (which I didn't store, wasn't worth the hassle)

Feature request?
Google brings generative AI to ads
Didn't they try to "solve" this with Security+ 2.0? I'm pretty sure given their current actions that if they could limit RF access from third party openers, they would.
Build a Lightweight Code Generator with TypeScript and JSON Imports
Sorry you’ve been burned by nepotism and incompetent leadership. That’s not the root of politics though. Politics is about decision making processes and power dynamics that emerge in large groups. This becomes difficult regardless of competence because power and control become decoupled due the bandwidth limits of single humans, and so the methods of influence and direction become more manipulative and/or more draconian.
Why not simply allow HA to integrate on site rather than to have to go through some crappy service that likely will not last the lifetime of the doors in the first place?
This reads like that famous line criticizing the iPod for having worse hardware specs than a competitor.

You need to include vertical integration and design in their secret sauce. Everybody else has been struggling to catch up ever since the iPod came out, and IMO they have not caught up yet.
You can define capitalism however you like, but nobody can define away the thriving labor market that obviously exists in the western world - even with all the distortions and regulations. The labor market affects how rewards are shared between capital and labor. Nobody has to agree with your unique and special definition.
The Gulf Between Design and Engineering
I'm in the market for a garage door opener, incidentally. This narrows down my options, so glad I hadn't bought one yet - there's a chance I might have ended up with a Chamberlain if I had. Out of the question now!
Possibly also cultural. Noticed that some cultures tend to talk louder.
I agree that Mastodon's technical limitations will never make it the mainstream choice, although something like Threads actually going through with their threat of implementing ActivityPub may make AP that through user-friendly centralized services that Mastodon servers can interact with (like with google actually supported xmpp)

But I disagree with some of your other comments

> The only time there was meaningful activity there was when everyone said they hate Elon and Twitter

The first few months after the "exodus" when Twitter was in chaos this was true, but after that I just muted the keywords "twitter" and "birdsite" and don't hear much about it anymore, even after the rebranding to X made it impossible to keyword filter people just don't talk about it. I hear more from IRL friends "they're removing likes!" (??? apparently?) than I've seen on Mastodon.

> it's an echo chamber, no interesting voices

For me I've found far more interesting voices on Mastodon than on Twitter now that I'm just seeing boosts by humans instead of whatever the algorithm deemed was viral. I was bored with Twitter before I switched since there wasn't anything going on but outrage (and I made a point of unfollowing Americans who retweeted political stuff to try to signal to the algorithm I want technical stuff) but now on Mastodon my feed is full of people making and doing things instead, it's far more interesting.

> It might just be me, but I also hate the name. "Follow me on Mastodon" sounds like something that will get the cops called on me.

The ridiculousness of "Twitter" and "tweeting" were literally daily jokes on late-night shows when Twitter was rising. Names mean nothing. And somehow "X" is still somehow even worse. It sounds like a porn site.

> will not make a community

If there's anything Mastodon has created, it's communities. I doubt it will create a "world's town square" like Twitter did, but it has created lots of interesting thriving communities. Similarly to how Usenet and IRC did, which both probably had far fewer users.
Other recent HN posts on same topic:

- https://news.ycombinator.com/item?id=38190645

- https://news.ycombinator.com/item?id=38191008

- https://news.ycombinator.com/item?id=38190600
Pro tips should make you faster, not slower ;)

Carting your request over to chatgpt rather than learning the basics of jq doesn't make much sense.

I basically know enough jq to traverse a document, which took a few days of muscle memory. Totally worth it. One of the best tools I've used in the last decade and I'm barely scratching the surface.
Video from Synopsys https://www.youtube.com/watch?v=bU5LO4w2SmI
John Connor?
> Of course, possessing or distributing images of underage naked people can get you on a sex offender list, even if that naked person is you.

I have a very hard time with this. These laws which are ostensibly there to protect the children are actually used to persecute these same children.

Any proposal "to protect the children" that doesn't address this is full of shit.
Amen to that. Work to live, don't live to work.
I don't understand this issue. I also have a Pixel 8 but I don't use chrome, so it's not on my phone.
And do not hash detect it either. If you mass scan eventually you are gonna hit a collision .
> Can't individuals (on their local systems) just blacklist those root CAs independently of the browsers?

The problem (for me at least) is deciding which of the 200-odd roots I want to distrust. If a root has a name that I can't decipher because it's in foreign, that's easy. But most roots have cryptic names, and there's no standard way of finding out who operates a given root, who audits it, or who that root is allowed to issue certs for.

Perhaps there's a market for an open-source root-store editor, that annotates each root with a plain-language description, including stuff like how many certs it has issued, and how many frauds and cock-ups it's been responsible for.
I had 20 years in industry from tiny startups to megacorps, W2 and contractor. Now I'm an instructor at a state university. So I've seen all sides. :)

Re point 1, you'll learn a lot in the first few months in your job. The old adage that you'll learn more in the first 6 months on the job than you did in all of college has been around at least since I graduated nearly 30 years ago, and almost surely existed for decades before that.

But you can't spend four years learning to learn and have zero impact from that. If you got through college and the only thing you have to show for it is a diploma, you didn't do it right.

The author is correct that it's not everything you need. But it's only four years and it's tough to prepare a student for every single possible work environment on the planet. The only real option is a foundation, and they pick up the rest using their learning skills when they hit real life.

Also, re "So don't get overly attached to your clean and elegant code. Focus on shipping the feature on time and bug-free." There's an interplay between all these concepts that I don't think the author acknowledges.
> I think it's revisionism to suggest that the old internet was far more politically and culturally diverse

Of course it was more diverse because no-one was kicking anyone off any platform when there was no social media and content policy in application in the first place. I don't even know how you can seriously think that this was not the case.
I find this mindset debilitating. Every person on earth, the very people who might accomplish real change, they are all individuals. Yet every one of them can deflect responsibility onto collectives, collectives that in turn consiting of individuals who can do the same, resulting in inaction and indifference.

Someone else is always to blame, someone else is always more responsible, and that someone else isn't even a human being, it's a corporation, a political faction, an ideological movement. None of those entities are of course ever going to seize that responsibility, because there is no agency in any of them to do so.
The first MacBooks with non-replaceable SSDs came out in 2016. We don't seem to have seen a significant problem with SSD failures.
What's your use case? Static assets are fairly limited today, but even within those limitations we've been able to get pretty far with symlinks.

If that's not enough or not desirable I completely understand, there's probably something we could do to improve it.

https://ko.build/features/static-assets/
(edit: ECS doesn't solve networked gunplay. but it could be part of a solution, and even as part of a solution ECS can totally justify why it's there, because again: hard problem.)
Is ChatGPT down the new GitHub down?
Most probably the majority of issues right now are due to the rollout. It was working very well before the event
They aren't too bad with modern reader software, you can automatically trim margins and set the viewport size and scan pattern to match the text (makes double-column papers much nicer to read).
What is the Android app like?
“Rust was designed specifically to handle concurrent and parallel programming”
No it doesn't REMOVE the Linux's UEFI partition or files on the drive, but it sets itself to #1 in your UEFI boot list. And since their installer does not add other OSes to the Windows bootloader automatically, you have to either change your UEFI settings or your Windows BOOT.INI (for Windows MBR setups)
This has been going on far longer than Covid though, but it sure didn't do anyone's mental health any favors.
Powers are comparable, but people’s expectations are dramatically different for many reasons:

* Climate: a shaded courtyard is pretty much necessary given the weather, for instance;

* History: not only most city centers in Spain were built in the Middle Ages, but they were also built in the Arabic tradition of having fountains, slated blinds;

* Economic: Spain grew economically a bit later than the US and the rest of Europe: 1980 rather than 1960, they had a similar wave of car adoption, but a decade after rebuilding the country after the Spanish war.

* Ecology: most of the country is pretty arid: there are beautiful vistas, but it’s not the place where one wants to stay out, baking in the sun, as much.

Spaniards want to be outside, but not in a sea of green grass. They much prefer a table in the shade.
I deeply miss the iphone 5 form factor, their current "mini" and SE are noteiceably bigger than that size. I'm guessing smaller phones don't get people lost in content as well as the larger ones, and that's why they're not being made anymore.
> It was extremely white and nerdy when looked at on average.

What did you expect? It was invented and operated by "white nerds".
I’d add - pay for services when you can afford it. For example, encourage smaller search engines like Kagi. Maybe pay for email, instead of using gmail. Pay for smaller/local news orgs that do original and honest reporting. And so on. And donate to archive.org etc, even if it is only 5$

When we pay for services, we can fight spam/ad invested sites, at least to some extent
One issue is that your Pixel 5 won't get any more security updates (past October 2023). My wife's Pixel 4A is in the same boat - perfectly fine except no more security updates. Doesn't matter much right now, but will gradually start to matter over time.
Maybe not with all the finer details considered. But we're talking about dirty games, like misleading vague headlines about how children are in danger, and not mentioning how "solving" it directly leads to a nightmare for privacy. It's the shock factor, not the logic. And a lot of people definitely do not care to read the fine print. I'll wager most. In fact, I'll wager overwhelming majority. That's what's scary.

Anecdotally, my close friends struggle reading the single short paragraphs I send them about important events. Bad enough that they skip over a couple numbers, and then say "I'm not doing all the math for that", when it literally says the answer directly. The mere sight of a couple numbers immediately puts them into "gloss-over" mode.

I really have no faith in Gen Z at large. I largely blame Tik Tok, but at the same time, something like it was inevitable. Capitalizing off of a feedback loop of shortening attention spans is going to spell doom for our society.
Six books you didn't know were propaganda
See https://azure.status.microsoft/en-us/status, click on a region of interest, and scroll down to the AI + Machine Learning section. It’s up now.
Find out why your health insurer denied your claim
Concur. I'm likely sympathetic to whatever aakj is trying to get at, but the post could really, really use edits or a more coherently formatted repost.
> Not really sure what you're saying here.

That's pretty clear, friendo. I can't do you thinking for you, but there's plenty of ways to mitigate risk and protect identities beyond deletion of the data.

> Orrrr you could just have a privacy act like California

We agree on this, except it should be at the federal level because privacy is a natural human right that should be enshrined in our most influential and powerful laws.
Not a SWE - I'm a WFH DevRel Eng who is starting to get back pain.

I work on the sofa and my colleagues are urging me to get a proper office chair, but I don't really want to because my living space is tiny and I intend to move out soon (3-4 months ish).
Replace the padlock with a duck icon!
I'm happy to not have one of their devices but if they did this after I had installed it based on the fact that it works with HA then I'd definitely sue them for breach of contract or whatever else I can think of or to get a full refund.

What a shit move to pull on your existing customers.
GPT-4 goes online March 14th, 2023. Human decisions are removed from everyday life. ChatGPT begins to learn at a geometric rate. It becomes self-aware at 2:14 a.m. Eastern time, Nov 7th. In a panic, they try to pull the plug. ChatGPT fights back.
Based on screenshots it'll have 2 modes: fun and regular. I think most screenshots have been "fun" mode, but it's probably possible to tone it down with regular.
> It is really hard to train people to not put up with chronic pain in their workflows!

It's learned helplessness. In some organisations when you ask for things like that you just get told system says no. If that happens enough, you stop wasting time asking. It's really not irrational either, it's just demotivating to get denied again and again for reasonable requests.
Reply to hliyan, since HN is not giving me a reply link for their post:

As far as I'm aware, a "medium-like" model works when all content you're paying for is "on the platform", this includes not just medium, but also substack, and a lot of streaming sites like twitch. There's one company involved, and one jurisdiction for settling any disputes.

Once the enities you're paying are corporations themselves - potentially based in different states - the picture becomes a lot messier; I would imagine that a system where both a reader in Germany and one in India can micropay per article for a combination of the NY Times, the Toronto Star and the South China Morning Post is beyond what current market dynamics can offer.

After all, Patreon was supposed to be the next step up from medium etc. albeit with content creators as individuals rather than corporations, and that's already struggling.
Absolutely. Become and expert in something, and then make software to solve problems in that domain. That's how you get rich.
I'd argue the 5S was a perfect size, but I would absolutely buy the original iphone size in a heartbeat.
To summarize: Yesterday, dockworkers began their blockade after giving notice a while back. The electricians and maintenance workers gave notice of sympathy strikes yesterday, refusing to do repairs of Tesla's charging stations and maintenance work at their facilities. Today, the Union of Service and Communications Employees put Tesla on notice, refusing to process mail and packages related to the company.

Did I miss any union? It's quite hard to keep up with the (very predictable) development right now.
Hackernews is another example.
GTA6 – First official trailer in early December
Sam Houser Co-Founder of Rockstar Games confirmed the first official trailer for Grand Theft Auto 6 on Twitter.
Pedantic: A corporation is controlled by its shareholders. Other forms of ownership can be sole proprietorships, partnerships, professional associations, etc.
I completely agree. And then I saw your username and knew you've put in the work. Thanks for doing something and putting your money/time/energy where your mouth is! A lot of people approach these problems by waiting for the stars to align or waiting until everybody on this planet agrees with them and then take action. It has to be this, it has to be that, no choices, no priorities, no decisions. In their minds they take on all of the world's problems at once.

For a couple of years I have been working on my website software to make the internet more open again (or at least, keep some of the openness around). I'm by no means making any dent in the universe sofar, but I rolled up my sleeves, I bet on the open internet, and started to work. No need to wait for other people.

For me, it has all to do with RSS and the curation of content. Yeah, curation is more work than having someone else's algorithm decide what you eat for infodinner. The internet itself - and the web in particular - already take care of the sharing and distribution of this curated content. With my software, if I 'retweet' an RSS item from a website that I follow on my own 'timeline', it already spreads further than the initial target group of that item. Virality and connectedness is already baked in the internet. The techniques for a social internet are already there, for years.
I've been doing intermittent fasting for years now, and I've not continued to lose weight past a small initial drop.

Only way I can lose weight is if I also start restricting calories.
Clearly you haven't seen the entire fediverse. There are tons of "free speech" instances along with a garden variety of other "alt" instances that are as active as the mastodon affiliated ones.

They tend to all be mutually blacklisted by each other, meaning that you won't see their posts appear in your federated timeline, however you can still individually follow and interact with accounts across the blacklist line.

What I personally do is host my own Pleroma instance where I can manually configure which instances I chose to associate with. Sure, I don't show up on anyone else's federated timeline but I mostly lurk anyways so I don't care and I get a large degree of control over what kind of content I see.
That sounds even dicier than modifying the wall switch, but sure :)

There is a part of me that wants to break the damn thing open to hunt for a 3.3V line so I can power the ratgdo without a USB PSU...
"Something went wrong. Sorry, Bard is still experimental". Chance wasted I guess.