MurphyA/hacker-news huggingface dataset:
by tialaramex | 2025-12-07 21:32:30+00:00
Studies have looked at MISRA, I'm not aware of any for the JSF guidelines. For MISRA there's a mix, some of the rules seem to be effective (fewer defects in compliant software), some are the opposite (code which obeys these rules is more likely to have defects) and some were irrelevant.

Notably this document is from 2005. So that's after C++ was standardized but before their second bite of that particular cherry and twenty years before its author, Bjarne Stroustrup suddenly decides after years of insisting that C++ dialects are a terrible idea and will never be endorsed by the language committee, that in fact dialects (now named "profiles") are the magic ingredient to fix the festering problems with the language.

While Laurie's video is fun, I too am sceptical about the value of style guides, which is what these are. "TABS shall be avoided" or "Letters in function names shall be lowercase" isn't because somebody's aeroplane fell out of the sky - it's due to using a style Bjarne doesn't like.
by regera | 2025-12-07 21:32:32+00:00
Not yet. Sometimes employees if they get second bite of the big apple. PE do well in capital-intensive sectors. I'm not sure if their playbook fits the real needs of dollar stores. Instead of focusing on things like debt and aggressive cost cuts, most customers just want fair prices, stocked shelves, clean stores, friendly cashiers and basic respect—things that PE firms often ignore. In DFW, I was surprised to see 1-2 person dollar stores!
by RossBencina | 2025-12-07 21:32:51+00:00
The magnetometer in your phone is a MEMS sensor which measures mechanical deflection of a current-carrying element. The deflection is caused by the Lorentz Force, i.e. force induced by an electron current flow in a magnetic field (in this case, the earth's magnetic field).[1] The magnetometer in the linked article senses (EDIT: corrected, hopefully) oscillation in the magnetic field of protons, a result of Larmor Precession[2]. Remarkably, the oscillation frequency is proportional to the ambient magnetic field strength, and the frequency is in the audible range. The circuit works by rotating protons in the fluid so that their magnetic axis align, this results in a synchronised bulk magnetic field oscillation that is large enough to be sensed by a simple tuned amplifier circuit.[3]

Further, the magnetometer in your phone is a 3-axis device that measures the orientation of the magnetic field, whereas the magnetometer in the linked article detects only the strength of the magnetic field (in fact, is tuned to detect only a single strength/precession frequency).

[1] https://en.wikipedia.org/wiki/MEMS_magnetic_field_sensor

[2] https://en.wikipedia.org/wiki/Larmor_precession

[3] https://en.wikipedia.org/wiki/Proton_magnetometer
by OptionOfT | 2025-12-07 21:32:59+00:00
UI has really gotten down in the last couple of years.

Reduced information density Abuse of paradigms we learned in the past (e.g. blue button to accept, links for decline) to make us accept harmful settings Notifications for just about everything Popups inside of the app Adding buttons for functionality that's not included in your subscription, which show the nagscreen once you click on it UI upgrades which add nothing (see all above) Removal of agency. I don't want the upgrade, nor do I want to be reminded in 3 days.

A changing UI sounds absolute hell to me. When I was growing up I broke my Windows installation a lot by changing settings. That's how I learned.
by awesome_dude | 2025-12-07 21:34:18+00:00
Neither ETH nor BTC are being utilised for anything other than "Money goes in, price goes up, weee more money should go in, I'm a financial genius"

It's incredibly difficult to see either instrument as a currency, or a share, or an asset other than the fact that other people will (at this point) buy it back off you for more than you paid for it.
by lenkite | 2025-12-07 21:34:53+00:00
> Not a single credible source has reported this.

Wow, I would first like your definition of a credible source before bothering even discussing further - it seems you have some extraordinary high standard that neither media nor government sources or international analysts nor satellite imagery nor some of the photos of the crashed aircraft can meet.

Tom Cooper has now been relegated to an idiot by you. How about John Spencer then ? He is a US military analyst who has also confirmed the efficacy of the S-400 and Operation Sindoor. Is he also an idiot ?

What about (Retd) Pakistani Air Marshal Masood Akhtar who was reported as saying an AWACS was destroyed ? Is he also an idiot ?

> To start with, I'd love to see some substance for your original claim

What would even be the point ? I would point to indian/russian sources and you would immediately shoot them down as propaganda. First, you should confirm what you mean by "substance" and "evidence".
by bmitch3020 | 2025-12-07 21:35:02+00:00
I'm a fan of the Go proverb "a little copying is better than a little dependency"[1] and also the "rule of three"[2] when designing a shared dependency.

I think the JS developers could take a lesson from the Go proverb. I often write something from scratch to avoid a dependency because of the overhead of maintaining dependencies (or dealing with dependencies that cease to be maintained). If I only need a half dozen lines of code, I'm not going to import a dependency with a couple hundred lines of code, including lots of features I don't need.

The "rule of three" helps avoid premature abstractions. Put the code directly in your project instead of in a library the first time. The second time, copy what you need. And the third time, figure out what's common between all the uses, and then build the abstraction that fits all the projects. The avoids over-optimizing on a single use case and refactoring/deprecating APIs that are already in use.

[1]: https://go-proverbs.github.io/ [2]: https://en.wikipedia.org/wiki/Rule_of_three_(computer_progra...
by DamonHD | 2025-12-07 21:36:01+00:00
Signal is almost the only thing that I strongly trust.

Originally set it up to discuss patent stuff which had to be kept pretty secret, stayed for the lolz.

For small but sensitive items of data, such as bank details, I split over a couple of channels, eg SMS and email, to make it harder for any one bad actor to see all parts.
by TeaVMFan | 2025-12-07 21:36:31+00:00
Applets are officially, completely removed from Java 26, coming in March of 2026. This brings to an official end the era of applets, which began in 1996. However, for years it has been possible to build modern, interactive web pages in Java without needing applets or plugins. TeaVM (https://teavm.org) provides fast, performant, and lightweight tooling to transpile Java to run natively in the browser. And for a full front-end toolkit with templates, routing, components, and more, Flavour (https://flavour.sf.net) lets you build your modern single-page app using 100% Java.
by somethingsome | 2025-12-07 21:36:52+00:00
Let say.. I remember quite well when I learned Lisp, and differently to any other language I learned, it gave me profound insights and even more profound frustration trying to understand some concepts.

I remember playing with call with cc, or creating a flow programming language, thinking in higher order, etc..

I clearly do not want to work with lisp, and many of those concepts can be used in other languages without too much effort now (lambdas, map, filter, reduce,... Among the most common and useful).

I think learning lisp is nice as it helps explore interesting areas of programming on a mental level. I can't stress enough how it can wrap your mind sometimes.

Will it help you program faster and bug free? Probably not, will it improve your mental model of programming languages, probably. Will you enjoy learning abstract things, if you like solving math puzzles, probably, otherwise probably not.

It's hard to express the 'powers' it gives you, it's like spending much time thinking about simple things that usually you just use without thinking about.

As a crude example, the scope of a variable shared between two lambda function that is not shared with the global space.

Sorry that I don't have a specific example in mind, I feel like the 'power' is just spending enough time thinking on complex things.
by hunterpayne | 2025-12-07 21:37:39+00:00
Maybe the JVM team should listen to the market then and disable the jigsaw encapsulation that keeps devs on 1.8. Forcing a questionable security framework on everyone is why 1.8 is still used. Again, this is a problem because the PMs (and some devs) refuse to listen to what the market wants. So they are stuck keeping a 20 year old version of the code working. Serves them right to have to do this. It is their penance for being too arrogant to listen to the market.

PS Yes, I know, there is some weird way to disable it. Somehow that way changes every version and is about as non-intuitive as possible. And trying to actually support the encapsulation is by a wide margin more work than it is worth.
by jacquesm | 2025-12-07 21:37:42+00:00
All AI's are overconfident. It's impressive what they can do, but it is at the same time extremely unimpressive what they can't do while passing it off as the best thing since sliced bread. 'Perfect! Now I see the problem.'. 'Thank you for correcting that, here is a perfect recreation of problem 'x' that will work with your hardware.' (never mind the 10 glaring mistakes).

I've tried these tools a number of times and spent a good bit of effort on learning to maximize the return. By the time you know what prompt to write you've solved the problem yourself.
by monerozcash | 2025-12-07 21:37:52+00:00
The part about shaheds is such a ridiculous take, they're an economic inconvenience not a serious military threat.

FPV drones? You don't need good defense against them, it'd be nice to have, but EU military doctrines broadly assume aerial superiority enabling effective combined arms operations and maneuver warfare. Hostile operators of fiber optic drones aren't going to have a great time in such an environment.

But sure, EU would have a bad time without US support given that EU ammunition stocks probably aren't deep enough for proper DEAD.
by com2kid | 2025-12-07 21:38:42+00:00
Doing this stuff is literally my job.

Large banks have tens of thousands of call center employees and a large % of calls they handle are perfectly solvable with a good AI bot. They are working very hard to cut call center staff as quickly as possible.

People don't realize how much a call to customers service costs. Back when I was at MSFT, a call to tech support for our product costs $20 to have someone pick up the phone. Since we were selling low margin HW, a single call to tech support completely erased the profit from that product's sale.

Layoffs have already happened and they will continue to happen.

One can argue this is a positive, as a customer if I can push a few buttons and issue a voice command to an AI to fix my problem instead of waiting on hold, that is a net positive. Also the price of goods will drop since the expected cost of customer service factored into the product price will drop.

E.g. $30 / support call, 1 in 10 customers call support during the lifetime of a product, $3 saved, but the way costs are structured, $3 saved in manufacturing can end up as nearly $10 off the final retail price of a product.

(And in competitive markets prices do drop when cost savings are found!)
by strcat | 2025-12-07 21:38:48+00:00
Being on the receiving end of valid, technical criticism in response to making misleading claims about GrapheneOS for falsely marketing products is their own choice. It's certainly a lot nicer than being on the GrapheneOS team heavily targeted by libel, bullying and harassment from those groups. Here's a recent example of the founder of /e/ and Murena linking to libelous harassment content on a conspiracy site, which links to a Kiwi Farms style character assassination video from someone friends with neo-nazis:

https://archive.is/SWXPJ https://archive.is/n4yTO

Check out the site for yourself. The linked video is plainly filled with extraordinarily dishonest claims that are widely disproven. Copperhead is losing the legal battle very badly and should end up paying our years of legal expenses soon. Other groups attacking us can look forward to similar losses in court when our attention moves to them. Years of libel, bullying and harassment has consequences.
by ChrisArchitect | 2025-12-07 21:39:26+00:00
Related:

Apple Rocked by Executive Departures, with Chip Chief at Risk of Leaving Next

https://news.ycombinator.com/item?id=46175205

John Giannandrea to retire from Apple

https://news.ycombinator.com/item?id=46114122

Apple Design Official Alan Dye Poached by Meta in Major Coup

https://news.ycombinator.com/item?id=46142843

https://news.ycombinator.com/item?id=46139145
by alephnerd | 2025-12-07 21:39:35+00:00
Costco's revenue comes from their membership fees and their ability to strongarm suppliers to give them favorable terms (eg. Costco is one of the largest alcohol importers in the US and tends to strongarm LVMH).

I love Costco (I practically grew up at Costco as a kid), but their ICP is not the kind of person who shops at Dollar General or is on SNAP - it's very much targeted at the 50th percentile income bracket and above [0].

And this is why PE has taken over the dollar market segment - because it's a trash business that no one else wants to service over the long term. PE is basically the last resort if a business cannot raise capital from traditional avenues, and leadership and investors want to exit. For y'all graybeards think of "Sam Vimes Boots theory".

Mine Safety Disclosures did a great overview on Costco's operating model a couple years ago [1].

[0] - https://www.businessinsider.com/how-costco-sams-club-shopper...

[1] - https://minesafetydisclosures.com/blog/2018/6/18/costco
by spockz | 2025-12-07 21:39:59+00:00
I agree for measuring latency differences you want similar setups. However, by running two versions of the app concurrently on the same machine they both get impacted more or less the same by noisy neighbours. Moreover, by inspecting the flamegraph you can, manually, see these large shifts of time allocation quickly. For automatic comparison you can of course use the raw data.

In addition you can look at total cpu seconds used, memory allocation on kernel level, and specifically for the jvm at the GC metrics and allocation rate. If these numbers change significantly then you know you need to have a look.

We do run this benchmark comparison in most nightly builds and find regressions this way.
by sneak | 2025-12-07 21:40:12+00:00
The problem is not that it’s $99/year. The problem is that it requires strong ID, and if you are doing it as a company (ie if you don’t want Apple to publicize your ID name to everyone who uses your app) then you have to go through an invasive company verification process that you can fail for opaque reasons unrelated to fraud or anything bad.

The system sucks. I’d love to be able to sign my legitimate apps with my legitimate company, but I don’t wish to put the name on my passport onto the screens of millions of people, and my company (around and operating for 20-ish years now) doesn’t pass the Apple verification for some reason.

I also can’t use auto-enroll (DEP) MDM for this reason.
by CrzyLngPwd | 2025-12-07 21:40:28+00:00
Estimates are difficult, but if you monitor your estimate vs actual, and then adjust your next estimate accordingly, then it becomes easier to have decent estimates.

There is also the adage that if you are late, then 100% of the time the customer will be unhappy, but if you are early, then 100% of the time the customer will be pleased.

So make people more pleased :-)

So always over estimate a bit (25%)
by mminer237 | 2025-12-07 21:40:37+00:00
The store is under no legal obligation to sell it to you, just like you're not obligated to buy it for that price. Depending on the situation, that might be false advertising they could get in trouble for, and obviously you're not committing a crime if you don't know the real price, but if someone says "oops, that's a mistake", and you take it anyway and give less money, that is theft in most states.
by Amezarak | 2025-12-07 21:40:49+00:00
> It's a democracy, the root issue can be fixed politically.

But it’s not. That’s why we’re having this discussion. And whether you want to have a free market or not, the labor market is still driven by money. People will go into fields that pay more money. People will go into fields that pay more money, even if conditions are bad. Yoy seem to think I’m a free markets guy - economically in most respects it’s fair to say I’m a socialist.

Your political solution right now is total nonsense and it doesn’t seem to be getting any better. Following ideological commitments right off a cliff and doing it better than anyone else seems to be the German way. Of course, the degree to which Germany or most any modern country could be said to be a “democracy“ is highly questionable.

Certainly if the German people don’t want to pay Germans what makes it worth it for Germans to become nurses, they have a huge intractable problem.

> Despite all the riches, the median income in the US is lower than Germany

According the the US census data, median income in the US is 81k. In Germany, median income USD appears to be 60k.

> Why aren't you paying your field and gastronomy workers 100k instead of exploiting illegals?

I agree employers should be be imprisoned for hiring illegals and even that most migrant worker visas should be abolished. I made great money for many years working in a restaurant and I was shocked to see in other parts of the country it’s just a matter of course that this goes on, undercutting wages and causing all sorts of problems.
by slifin | 2025-12-07 21:41:02+00:00
Plenty of ways to define complex data shapes in Clojure

Spec is definitely underrated here considering it's built into the language and has a wider scope but for most people they want the intellisense experience which you can get with clj-kondo + mailli but is not built in so most teams don't use it, fair enough

I'd like to move the goal posts though and say I want flowstorm in every (any other?!) language

I can just run the program and scrub backwards and forwards through the execution and look at all the immutable values frame by frame with a high level UI with plenty of search/autocomplete options

For program understanding there's nothing better

The fact I can program against the timeline of values of my program and create custom UI on top is crazy

One of the most mind blowing demos to me was Bret Victor's inventing on principle and having a programmable reverse debugger for your language makes those demos viable

I built an emulator recently for work that replays what happens on live locally, combined with flowstorm I can go line by line and tell you exactly what happened and why, no print statements no reruns with my own custom UI customised to our apps interesting parts

This is my appeal to anyone outside of Clojure please build flowstorm for JavaScript and or Python

The design of flowstorm is definitely helped by the fact that 95% of Clojure programs are immutable but I don't think it's impossible to replicate just very difficult
by Madmallard | 2025-12-07 21:41:14+00:00
I wrote a 20,000 line multiplayer battle-arena game in XNA back in 2015 with manually coded physics (so everything is there in the code) and have tried several times with Claude, Gemini, Grok, DeepSeek, and GPT to translate it to JavaScript.

They all fail massively 100% of the time. Even if I break it down into chunks once they get to the chunks that matter the most (i.e. physics, collision detection and resolution, event handling and game logic) they all break down horribly and no amount of prompting back and forth will fix it.
by saltcured | 2025-12-07 21:41:16+00:00
I have very mixed feelings on this topic, starting with how you quantify and weigh something like "most used" for a programming language. To me, the claim feels almost as much a non sequitur as saying the most used building material in the western world is Legos blocks or Play-Doh...

Is the most used bridge-building technique a plank over a small culvert, or the properly engineered bridge that carries constant, multi-lane highway traffic for a century? How do we weigh the usage of resulting products into the usage of a design and production method? Should we consider the number of program users? The users X hours of usage?

Fundamentally, the software field is still just so young and we haven't teased apart the "obvious" different domains and domain rules that we have for production of different material goods. In some sense, the domains and domain rules for material goods emerge out of the connection to culture, economic roles, health, and safety aspects. Whether it falls into civil engineering, building codes, transporation rules, consumer product safety, food and drug, ...

The self-similar way that software can be composed into systems also makes it confusing to categorize. Imagine if we talked about other crafts the same way, and conflated textile manufacturing, clothing design, tailoring, costume making, wardrobe management, scripting, choreography, acting, and dancing as a single field that coordinates the visual movement of fabric on a stage.
by mytailorisrich | 2025-12-07 21:41:17+00:00
Interestingly the US assessment of Europe described in the article is broadly correct but not really discussed.

I obviously don't know what the US' aim is but I can imagine two things:

The growing integration of the EU is seen as a threat or at the very least against US interests because it creates a competitor. That's not news, the US have always been wary of European political integration.

The other aspect, very politically incorrect to even mention, is that the growing "islamisation" of Europe is seen as a threat because, indeed, over time it may lead to Europe no longer being a reliable ally.

I am not sure that any of this is new in term of thinking in Washington DC., but it is now said publicly in very blunt terms, very much a la Trump.
by sneak | 2025-12-07 21:41:43+00:00
It is a big deal. You can no longer just right click apps to run them, you have to take a trip to a subpanel of system settings, after clicking though two different dialogs that are designed to scare you into thinking something is wrong (one mentions malware by name).

For normal users this might as well be impossible.

Remember, your average user needs a shortcut to /Applications inside the .dmg image otherwise they won’t know where to drag the app to to install it.
by troglo-byte | 2025-12-07 21:41:57+00:00
Long term, the problem is not ads but Chatbot Optimization. Any answer can be biased in favor of a brand or solution type if you can plant a strong-enough signal into the training corpus. There's so many brands and solutions and so many shades of signal-gray that trainers are gonna have a tough time weeding out CO - if they even decide to put up a fight.

SRO is much easier to deal with.
by 9rx | 2025-12-07 21:43:06+00:00
> focused on how much the languages in question rely on GC for practical use.

That's quite nebulous. It should be quantified. But, while we wait for that, if we assume by that metric C++ is not a GC language today, but tomorrow C++ developers all collectively decide that all heap allocations are to depend on std::shared_ptr, then it must become a GC language.

But the language hasn't changed in any way. How can an attribute of the language change without any changes?
by bsaul | 2025-12-07 21:43:59+00:00
That's an interesting hypothesis : that LLM are fundamentally unable to produce original code.

Do you have papers to back this up ? That was also my reaction when i saw some really crazy accurate comments on some vibe coded piece of code, but i couldn't prove it, and thinking about it now i think my intuition was wrong (ie : LLMs do produce original complex code).