skysight-inc/HackerNews huggingface dataset:
Ask HN: Why macOS?
Why do I always see developers using MacOS for everything? I would assume developers would be the first ones to use a much more customizable system like some DIY linux distro or something. Is there something im missing here?
> Similarly shaped people thought that digital cameras would ruin cinema and photography.

Obviously, but you seem to be arguing that AI is just another evolution of productivity tools. You still need to have a photographer's eye while using this technology.

If you couldn't make a good composition on film, a digicam will not save you, and it definitely did not replace photographers. Perhaps lowered the barrier of entry for prosumers.

https://www.nytimes.com/2023/12/26/opinion/ai-future-photogr...
I've often just used an ordinary issue tracker like JIRA or GitHub issues. I consider the term "bug tracker" harmful because there's no difference between spending a day fixing a bug vs adding a feature.
How I see it is that Integration applications are different from what I understand as a backend: API+business_logic+Database
From your link

> Take for example our DiscCover coating solution: authorities worldwide have introduced stringent limits for exhaust emissions — including NOX, CO2 and particulate matter. Increasingly, regulators are turning their attention to fine dust emissions from brake wear. On average, 31% of passenger- vehicle-related emissions are caused by brake wear. This results in more than 90 000 metric tons of fine dust per year in the OECD countries alone. The DiscCover solutions from Oerlikon Balzers and Oerlikon Metco significantly reduce fine dust from brake discs so that our customers are equipped to comply with stricter regulations as they improve their environmental footprint.

and elsewhere [1]

> We can help brake system manufacturers and designers prepare for stricter regulations by significantly reducing fine dust and extending disk life

Reducing fine dust is great, but (1) this seems to only be about brake discs, not brake pads, and (2) there's no support in Oerlikon marketing materials for GP's claim that this magically means brake pads don't need replacing.

> Oerlikon of Switzerland has brake pad technology that has near zero emissions and does not need replacing

This seems not unlike the stories that go around about how someone was sold a 200mpg prototype car by accident but then the car company took it back because they don't want people to have them.

[1] https://www.oerlikon.com/balzers/us/en/markets/heat-treatmen...
Critical exploits make it into the wild all the time. At worst they cause a tiny, temporary dip in stock price and frequently they cause the stock price to go up long term due to publicity. That is why they only spend 10 M$ on bounties, there is literally no point to spending more because the ROI is garbage.

The only reason to run a bug bounty program is optics. You run a program paying out paltry amounts so that when your security is routinely completely compromised you can say you were a upstanding company who tried to work with upstanding offensive researchers. It is those evil, dastardly criminals funded by insert government here using "advanced", "unique" techniques and who can stop that? Therefore it is not our fault, now go keep buying our products and stock even though we have made no changes to our incompetent security process. Works every time.
Touche... As I was typing that up, I knew I would screw up somehow trying to demonstrate proficiency. :-) Leaving as is.
The people that exert force over us to enforce restrictions, often to the extent that it infringes on civil rights (and sometimes to the extent that it ruins the subject's life), qualify for immunity from responsibility for their actions! And their friends refuse to step in when doing so is clearly the moral choice.

Hey, wait... this sounds a lot like a gang. How did the rebel nation get so "cucked"?
I am a non-native speaker living in Australia, I have been here for 12 years now; my experience is that this eventually goes away. Until about 5 years ago I was experiencing the same as what you are describing but now it no longer happens. I suspect that the timing depends on one's age, for example I moved here in my 30's and my progress was much slower than my daughter who moved here very young. Another factor is the relationship between your native language and your acquired one, for example I have observed that people whose native tongue is an Indo-European language don't have as much of a hard time switching to English compared to people from other linguistic backgrounds.
> license to print money

They don't split out their profitability for the App store. Last time I tried to calculate it it was less than you might assume.

Anyone have a good article/analysis of what % of Apple's profit comes from the App store tax? Ideally also with foremarket versus aftermarket?
And then there's sales. All of those three - and more you haven't considered, like the Chinese mega-IT companies - spend huge amounts on training, partnerships, consultancy, etc to get companies to use their services instead of their competitors. My current employer seems all-in on Azure, previous one was AWS.

There was one manager who worked at two large Dutch companies and sold AWS to them, as in, moving their entire IT, workloads and servers over to AWS. I wouldn't be surprised if there was a deal made there somewhere.
What is your opinion on S-mode in Windows?

I don't agree with the hyperbole of the person you're replying to. But I also don't think the possibility of fair competition is mutually excusive with the security of the vulnerable few.

That's assuming that something like an opt-in lockdown mode is compatible with the DMA.
Same here. Just closed at that point.
Suppose you believed that a particular someone is responsible for, through incompetence or on purpose, deaths of 500 people and is making your life hell. Do you:

A - kill yourself

B - burn his house down first, at least
I totally agree!

And I'm sure the reason for that is the garbage input. From time to time I have to perform quantitative code analyses in our so called enterprise repositories. And the results are shocking every time. I have found an extremely poor SQL code block to type cast many columns in hundreds of projects. It was simply copied again and again even though the casting was no longer necessary.

The training base should be sufficiently qualified (and StackOverflow ranking is obviously not enough).

But unfortunately it's probably too late for that now. Now inexperienced programmers are undercutting themselves with poor AI output as training input for the next generation of models.
- It literally does not scream at you.

- No, iCloud is not required to use an iPhone, this is fact.
Edge AI devices eye lifetime learning
Simplified, higher-order version of it because of the DSL!
This is probably the main reason I wouldn’t choose Astro for personal projects where it’s otherwise a great fit. I think it would have been a more reasonable thing earlier on in product conception, but quite a lot of assumptions are now baked into their own custom template language. Which I’m sure is quite a nice template language, but it’s already hard enough to get all the tools to work nicely together without adding another one.
how much time have you spent in a non-modern society? cuz I got deployed twice and saw some pretty backwards-ass places overseas.

like we can just pass laws that respect privacy, dawg. build some better public transit.
It's hard to criticize a power structure your point of view depends on, so you get weird apologists for industry in general that pop up in conversations like these.
most ppl live next to a road so i gather yours is a pretty hefty one or you overlooked other sources of polution
No, they are not imposed, merely allowed, and only if they are “strictly necessary and proportionate”.
> I have to say, this sentence annoys the heck out of me.

> Old code that can't be understood needs to be rewritten anyway.

I don't think it's that old code can't be understood, you can always understand what code is doing mechanically.

it's a question of can you predict the consequences. For example, if I rename this database column, what in our systems that have been built over the last 30+ years will explode? That's data rather than code, but the underlying idea is the same.

What happens is the very act of rewriting it puts you at risk of adverse effects.
Even if Boeing did rip him a new one in deposition,
(which 32 years of employment and a documentation heavy
culture more than equips a legal department to do)

There is no joy in this situation whatsoever but if these weren't matters of life and death, it would be darkly humorous to imagine Boeing's legal team attempting to simultaneously explain that he was a bad employee and that they for some reason chose to employ him for 32 years.
Yup still not buying it. People who want their production stable, secure, and durable do not choose Google.
No, wind shear exists. And +/-30 meter changes are well within the realms of wind shear drafts.
I agree that many colours were available, but I don't think it was gravitating to vibrant, striking, hues so much as gravitating to lightfast hues. I've spent a lot of the past decade at or over 1'500m in a relatively sunny area, and even with modern colours, anything that's outside for several years tends to wind up looking like someone selected a single channel in Photoshop: faded to either red/white or blue/white.
Except it literally is.

That statement is pretty much only used as a thought-terminating cliche that means "you're not allowed to have an opinion".
I don't think they could; nvidia has tons of talent, Meta would have to steal that. Meta doesn't do anything in either consumer or datacenter hardware that isn't for themselves either.

Meta is a services company, their hardware is secondary and for their own usage.
I suspect the majority of people who come to GitHub with intentions other than contributing come either to skim the README for installation instructions, or to complain about a problem. They may not even know about git. This is the wide kind of GitHub-awareness, which still assumes a level of computer literacy above that of most people.
Is ChatGPT a Real Threat to Businesses?
Anecdotally most vice in New York City is now more or less run through the police or involves some form of NYPD protection racket. Every couple years a large prostitution or drug ring gets broken up and it's always current and former officers running them. Barely makes the headlines. I know people here who have bought drugs from police officers.
Exactly. But if we suddenly transition to a "recompile to webassembly and ship it as web app" world I assure you $99 ($0 profit) phones will suffice for 90%+ of users.

It will take a very long time but that will be the inevitable result.
Folks on this site vastly overestimate how much people who actually buy and use these devices care about literally any of the stuff being talked about in this thread.

Apple's schtick was "It just works." that's what people like and want. They don't want to have to go thru and make choices, dig thru settings, install other app stores, explain to meemaw that the nice man cold-calling her telling her to install this special app isn't actually from the IRS coming to arrest her, etc...

They just want it to work.
Disclaimer: I didn't know about universal search until I read stephencanon's comment. I just thought it was fun to think about and I think the answer is what follows, but it could be wrong!

Imagine your problem is to write Hamlet by Shakespeare. One way to write Hamlet by Shakespeare is to enlist many monkeys who then type at random (but with the property that no two monkeys type the same thing). Each monkey also has a special "done" button that they press when they're done writing. Some monkeys never press it and write forever.

So you instruct each monkey to type one key and then you check each monkey to see if they pressed "done". If they pressed "done", you check if they wrote Hamlet. Otherwise, you continue and have the monkeys each press another key.

Since there are infinitely many different monkeys, so you can't enlist them all at once, because then checking after each key press would take you infinitely long! This is why you play that game with at the first step you enlist one monkey, then two, then three, etc; it ensures at each step there are finitely many monkeys to check.

Of all the possible monkeys, one monkey will write Hamlet exactly and then press "done". This scheme finds that monkey. Similarly, for Turing machines, there will be at least one (technically, infinitely many) that solves your problem. You just have to figure out which one it is by doing the enumeration that stephencanon detailed. If P = NP, that enumeration process can happen in P time. Keep in mind that all problems in NP have polynomial time verifiers. So you can always check a solution (i.e., checking if the monkey actually wrote Hamlet) in polynomial time.
I doubt it - such a clause would be trivially illegal, since it would be retaliation for reporting a safety concern.
>Compare this to the cost of an exploit making into the wild and causing potentially hundreds of billions in value being lost.

Hundreds of billions?! What software vulnerability ever caused financial loss even close to that? Although you are right, that if your products are used on millions of devices you want to earn and keep users' trust. That's what Bill Gates and Microsoft realized 20 years ago[1][2] after lots of Microsoft's users and their devices got wrecked by Windows worms.

[1] https://en.wikipedia.org/wiki/Trustworthy_computing
[2] https://www.microsoft.com/en-us/security/blog/2022/01/21/cel...
We'll queue up database schemas, good call.

On RAG, I have a lot of thoughts - it's my pet project to make it work really well. We started out down this road but in practice getting good results out of RAG has been shockingly hard on bigger, more complicated codebases. In many cases when we put this in front of devs that know their code, the RAG part has been a lossy approximation of what they already knew the relevant code to be, so they'd sit there and watch "is this thing going to find the code that I already know I need for this task"

I think the key here will be a robust, language-agnostic symbol graph that maps out high-resolution dependencies, so when you are retrieving `foo`, you can also efficiently retrieve the references to and from of `foo` to some depth (often greater than 1). Some languages have better tools for this kind of symbol resolution than others, but in many cases they're highly bespoke. Github's stack-graphs and Sourcegraph's SCIP are the best attempts I've seen at solving this in a generic way, but neither of them have gotten all the way there yet.

I've been half-seriously thinking about running neovim in headless mode and using it as an interface to all the LSP's for each language, and resolving all the edges of the symbol graph that way - I might still try it one of these days

On design doc convention - I think you're right, it's not completely 1-1 with the term today, and there's not a single definition that everyone agrees on. We're using it as the initial mental model of where we want to plug in, but there might be a better succinct way to describe it

Haven't tried the raw ast yet, curious how that goes
> In RL I never do such

...then why do it here?
As a rule, I would not say a botched implementation is grounds to discard an approach. If you committed a change by mistake, acknowledge that as the root cause first and foremost.

That said, if certain approaches reliably lead to increased likelihood of botched implementations, then that could be weighed when making relevant architectural decisions; “soft deletion” (not liking the term, personally) may be one of such approaches.

On which note, a good way of implementing soft deletion without implementing soft deletion is audit trail, externally to the system.

Something was created and then deleted? Both events are captured in the trail. Pile on a stringified JSON dump of the change (where it’s going it won’t require a schema) and you have all you need with low effort.

An important invoice was deleted by a paying customer? CS will get pinged, and if it is indeed a problem—well, you have the trail, so reinstating is not automatic but is possible within the retention period.

(Speaking of, remember to observe the retention period. In general, it can actually be architecturally simpler if you maintain an audit trail separately: if that system deals with just trail records, you do not need to worry about accidentally expiring current data and can apply the same purge logic to everything within. Pro tip: there can be different retention policies for different kinds of data; may be worth capturing that.)

Client accidentally batch-wiped 50000 objects? Get a junior to write a script that walks the trail and returns the requisite SQL.

As a side benefit, having audit trail is a must for all sorts of compliance and reporting scenarios, so it addresses multiple issues in one go.
This may come as a shock to someone reading HN, but approximately 0.0% (rounded) of all people care about shell programming.

Whatever gets programs to run the easiest wins. DOS was easier than BASIC.

Hell, I had been using computers for well over a decade to accomplish tasks when they plopped me down in front of a Sun SPARCStation 5 and someone mentioned that the Bourne Shell could automate a bunch of the stuff I was doing.
It used to be a nice site builder, for static sites and apps, but has grown into another full-featured framework of sorts. And is now sliding into SaaS.
The person you're responding to said that children are graded on a curve. Your response is that children should be graded on a curve. Fine, but only being understood by your mother when near an ice cream shop is not the goal for adults learning a second language.
I'm fine if you want to distrust or dislike or sanction Boeing. But that's not a good epistemology; it's not bringing you closer to understanding what's happening. It's also deeply incurious (as a rhetorical strategy, not as a belief system).
If by "threw it all away" you mean "integrated into the built-in weather app on every Apple platform" then, sure. I guess.
Do it! I've eaten lightly fried crickets a few times. Tasted somewhere between slightly stale popcorn and walnuts. Not unpleasant at all, and I feel like they could be quite good if cooked fresh instead of pre-packaged. I'd definitely try cicada.
I do indeed mean a stable! I don't imagine the particulates coming out of stables are going to be all that great. Also, my car doesn't get sick if I park it next to somebody's beater.
proof that HN comments are just as uninformed and insane as the rest of the internet...sigh
> You either support the only semi open standard of apps being Android or your phone cannot succeed outside of some developer tool.

(1) iPhone and Android had exactly the same problem when they launched. (2) Web apps are a thing. (3) This problem would still exist if iOS didn't exist.

Again, in 2006 "smartphone" meant Nokia, Blackberry, and Palm. There's simply no such thing as a "captured" market when it comes to consumer goods.
there is nothing lucky about having Bill Gates control the massive monopoly rents he collected from us, rents that came at the cost of weakening and holding back (through artificially high prices) progress in microcomputers, a vital and nascent part of our industrial infrastructure.

And maybe billions spent swatting mosquitoes in fever swamps overseas is not the best public policy objective for us, so perhaps his tax deductions should not be able to now divert (through huge deductions) huge quantities of our taxes paid to his pet projects without any democratic consideration.
I'm making the assumption that whoever is sharing the knowledge has valuable knowledge. Offering value for free is the definition of benevolence.
But with software doesn't technical debt accumulate over time when low quality engineers keep working on it?

That's why starting projects with something like Cursor makes you seem superhuman, but as the project grows the AI is more likely to get stuck because of previous low-quality choices. Just like with driving cars, it seems like you need strong supervision. (at least for the foreseeable future)
It's probably still the best complete system - hardware + software that's fundamentally unix under the hood, but the user-space tools seem bad compared to what you get on any modern GNU/Linux system.

I'm mostly using Ubuntu on laptops, but there are small annoyances usually, things don't work as well out of the box given the variety of hardware out there.
Astro on a roll lately! Excited for the rest of Launch Week

https://x.com/astrodotbuild/status/1767294849848582202
> We see no realistic path for an evolution of C++ into a language with rigorous memory safety guarantees that include temporal safety.

The point Herb was making is that "rigorous memory safety" isn't the only bar, nor should it be. Saying there is no way to make C++ have rigorous memory safety is not the same as saying C++ can never be made safe.
I mean, some people make fun of them too. While it can go too far into mean spirited bullying, no one's above reproach thanks to the first amendment.
Bluesky's stackable approach to moderation
No, it's a very easy alignment problem: just impose a tax on size.

That's a very bad idea when you're dealing with small to medium companies. You're taxing economies of scale and innovation. That's a huge problem in my country. There's no tax per se, but many regulations that trigger with certain size. Guess what happens.

For medium to big companies is calling for loopholes and cartels.
My personal suggestion:

Make sure you are able to set pixels and create audio samples (sine function sampled over a discrete time steps).
Also make sure to store the results as PPM P3 (very simple text-based image format) and WAV.
Some inspiration form Wellons: https://nullprogram.com/blog/2017/11/03/

Then you can implement a ray tracer, a rasterizer or audio generator.

Other ideas:

- implement your simple neural network learning XOR
- implement your hash table or your version of std::unordered_map (array +
hash function + tombstones)
- arena allocator
- dynamic array or your version of std::vector
- a circular/ring buffer (that you can also use as a queue/stack)
I enjoy using macOS because it’s got a good ui around unix user space tools, Microsoft Word, mobile development, and good virtual machines on Intel.
Well, the U.S. did intervened (through the Dutch government) in the ASML business, hurting their sales already, with no (disclosed) compensation.
The list of companies bigger than Apple is now very small. All that’s left, really, are countries.
In the context of needing to cool down for survival reasons, during a heat wave + power outage + 100% humidity, I suppose it doesn't matter whether the beach you have access to is rocky or not.
Not really. No airplane was ever grounded by the FAA since the 1970s, when they grounded the McDonnell Douglas DC-10.

Since the merger, the FAA has grounded both of Boeing's new planes (The 787 Dreamliner and the 737 Max).

Boeing's safety record is objectively declining. They are shipping out airplanes with safety issues that are being found "in production". This is why their planes are being grounded (something that never happened to Boeing pre-merger).
I'm making the assumption that whoever is sharing the knowledge has valuable knowledge. Offering value for free is the definition of benevolence.

I don't know the case, so yeah if it was just people without knowledge coming in and forcing it on them... ok.
because meta sucks at software, documentation and making sure end user products work in a supported way.

Offering reliable IaaS is super hard and capital intensive. Its also not profitable if you are perceived as shit.
The measure of bullshit in this field is promoting the term 'prompt engineering'. It's prompt futzing or prompt fiddling. There's no engineering involved.