skysight-inc/HackerNews huggingface dataset:
Just two of the "rules" is enough to see that there's no sense here:

1. It should be hard or impossible to use incorrectly. For example, counter() keeps increments consistent.
2. If you change observable state, restore it.

That can be summarised as "To prevent mistakes: Don't make any mistakes". It made lots of sense once I saw this was by a C++ programmer, C++ is the language with, as a prominent C++ practitioner put it: False Positives for the question: Is this a valid program?

If you're used to a language which gaslights you by having the compiler not emit any diagnostics whatsoever and just calmly handing you a nonsensical output executable because what you wrote was subtly wrong obviously global variables seem fine, what's not to like? You just have to be inhumanly competent at all times, which was the baseline requirement for the entire language.
Ok, so how would you do it? Pick it random maybe, just ignoring all the sources?
Ah, the good ol' days of conman. No, all we've got are crypto scammer =D
Why are you supposed to know?

Because you care about performance?
step being implemented as a libray function on top of a conditional doesn't really say anything about its performance vs being a dedicated instruction. Don't worry about the implementation.

Because you are curious about GPU architectures?
Look at disassembly, (open source) driver code (including LLVM) and/or ISA documentation.
Apple withdraws lawsuit against ex-employee leaker
I commend author for not shying away from writing such a take on one of the generally assumed consensus about code.

However this just underlines again why globals are usually good to avoid. It takes rigor not to make mistakes that can completely mess up with program state.

I also strongly disagree with the benefits author advances for having global. Code feels actually less spaghetti when things are properly scoped and not accessible from everywhere, which hides extremely well dependencies and makes it way harder to reason about the code.

One famous exception to that is indeed logging (which in itself is based on global state when printing to stdout or stderr anyway).

And also

> on account of how few places your object can be stored to

you can store things in a single place, just once, without the need for globals.
The problems are not important, but they illustrate failures that are. For example:

- The paper has an example where the model reasons "I'm frustrated" and then produces an answer that it "knows is wrong". You wouldn't know it if you didn't examine the reasoning tokens.

- There are two examples were R1 often gets stuck "thinking forever"

If these failures happen on these questions, where else can happen? We'll start to find out soon enough.
Unprecedented things happen in every US presidency, they're just different things. (Hard to mention examples because the ones I am most familiar with are the last 6 terms, and each topic has flamebait potential)
> We can see his actions and who he funds.

I’m out of the loop here. Has Musk done anything related to nazi symbols (besides that weird gesture that some people say is a nazi salute), or funded Nazi organizations?

EDIT: Why the downvotes?
I’d wonder if they’ve talked to the Dutch consumer protection people (who I think would have jurisdiction in this sort of in-EU cross border selling). Leaving someone with a broken car for 3 months seems obviously absurd.
It was our pleasure!
Dude decided to go out of his way to import a car not sold in his country, and then act surprised when quality of service for said car is shit in his country.

What is he expecting?
That's not true for shader compilers included in drivers - some use LLVM but definitely not all of them.
No, this is absolutely not true at all. Calling this function from multiple threads is undefined behaviour in C++ (unless synchronized using some other mechanism), you get NO guarantees what so ever on program behaviour.

Best case scenario is that the loads and stores are interleaved, which leads to multiple threads returning the same value when calling counter(), which will guarantee crashes elsewhere in the program (the purpose of functions like these is to produce UNIQUE values, after all). But it's undefined behaviour in any case, it's just unacceptable to put in a C/C++ code base.
Your wife is one of the end products of cutthroat competition across several billion years so let's just say her general intelligence has a fair bit more validation than 20 years of research.
The vendor list is really telling of the issues with Ada's adoption:

- Of my quick scan, only AdaCore supports Ada 2012 (where a lot of the really good stuff is implemented) the rest are stuck on Ada 95.

- None of the vendors seem to list transparent pricing.

If you are only selling based on volume and through a sales rep then you are off the bat excluding most startups, SMEs, and just general bootstrap curious folks.
> Might be useful for getting your team some additional credit, but less helpful in a few years time when somebody is trying to use the diagram to figure out the underlying structure of things.

I'm pretty sure people that aim for the former actually like the latter too
Surviving Google's JavaScript rendering shift: one month later
Can I ask you to beta test my product? I'm building something like this and I want to focus on medical data (from omics to RCTs)
Thanks for the advice! You are probably right.
From my understanding the problem is that the computer just....doesn't sleep if you have Sentry mode running. It's not that it's sleeping for a few seconds and then waking up, it's just fully awake drawing it's normal base load, which for HW4 [1] appears to be ~300W.

A good way to verify this if you've got a Tesla is how long it takes for the car to acknowledge commands sent via the mobile app. If they're near-instant (ignoring TCP latency ofc), the car is "Awake" and drawing it's full load. If they take 5-15 seconds, the car is Asleep and only polling it's LTE antennas for push notifications every 10s or so. If they timeout entirely, the car is in Deep Sleep and drawing almost no wattage (at least based on my observations with my wife's M3).

When in Sentry mode, responses are ALWAYS instant, so the car is fully Awake and drawing full wattage.

[1] https://teslatap.com/articles/autopilot-processors-and-hardw...
Ask HN: How big is your tech team in this AI world?
It's insane to see how much I can get done on my own with AI. It's a dream for the idea guy

I will only be hiring senior-principal guy who can leverage AI as part of their work
Euclid Discovers a Stunning Einstein Ring
I made an Open source, self-hosting oriented, SaaS boilerplate: SelfKit
Hey everyone!

When building SaaS projects, I often ran into the high costs of third-party services and sometimes ridiculous hosting fees. I wanted a solution that would let me avoid unnecessary costs, keep things simple, and are easy to use with Coolify.

So I built my own SaaS boilerplate: SelfKit (Github) a 100% free and open-source boilerplate for launching a SaaS without relying on expensive external services. It’s built with Svelte 5 and designed to be self-hosted alongside Coolify.

It was a great experience building this! If you have the time, I highly recommend creating your own boilerplate, it's an excellent way to learn!

I hope this project can be useful to others as well!

If you have any suggestions or feedback, I'd love to hear them!
This assumes that most Britons oppose their government having such powers.

Which maybe they do in abstract, but when the government reframes this as, "Apple prevents us from catching child abusers", I don't think Apple would win that match.
> I am curious to know more about the limitations / perils of using LLMs to train/evaluate other LLMs.

At the extreme, there is this paper on ‘inbred LLMs’: https://www.nature.com/articles/s41586-024-07566-y
For context the island is 3*4km. Assuming MAX distance (4km), it seems reasonable for most with a little adaptation time. perhaps a bit harder if it’s been decades someone lives under controlled AC and move every km with a car but a 4km walk is definitely achievable by most and is in the perfect walk range to become healthier. A muscular bike might help to ease the first trips.

Weather is only a matter of clothes. The cold might be disturbing at first but you get used to it, and a good coat keeps you safe. Plus: walking or biking keeps you warm.
Auto programming is the prime example of Conway's law.

Like, you have 10s of critical applications that you want to keep simple and not crashing or bugging out. So, just give them each a computer.

No way for the shitty wiper department's buggy ECU to ruin your day in the brake ECU by blocking all the hydraulic lines. You can even put them on different CAN buses!
Cloudflare hopes to rebuild the Web for the AI age – with itself in the middle
If trying to solve a problem and errors keep occurring, how does one capture the errors (and inputs that caused the error) in order to blog about later without disrupting the flow of problem solving?

For example, I was writing a terraform script and I kept getting errors. I would change one thing, run plan and apply, get another error, rinse and repeat until I fixed it. I would like to keep a record of all these errors so that I can document it for my future self or colleagues, but I don't want to disrupt the process of trying to fix my problem.

Does anyone have any suggestions?

Thanks
Next to Google's apps (Docs, Sheet...), this one is a of very rare breed of sites that defeat Chromium's force-dark function, blaring full screen of bright white light at my face, even though I configured my browser never to allow that.
How to tie a knot in a laser beam
Apple should just keep being Apple and things should just keep getting worse, so that people may finally realise that if all smartphones are operated by a duopoly they may understand that's something has gone horribly wrong and it may be time to build a completely new ecosystem
"Unlimited tolerance must lead to the disappearance of tolerance. We must therefore claim, in the name of tolerance, the right not to tolerate intolerance" - Karl Popper
Would you trust Consumer Reports?

Tesla is the #3 after BMW and Rivian, among brands "ranked on the average percentage of owners who said in CR member surveys that they would buy the same vehicle again."

https://www.consumerreports.org/cars/car-reliability-owner-s...

And second most reliable https://www.consumerreports.org/cars/car-reliability-owner-s...
https://www.documentcloud.org/documents/25515775-apple-v-aud...
Many are saying that Apple can't comply without breaking EU GDPR. Hence Apple has been put in the situation where they are forced to accept either operating in the UK market or the EU market.

So my question is (am genuinely not being snarky) why would the UK gov put Apple in this situation? The current leader (Starmer) is a lawyer surely he must have been aware of the legal predicament this would put Apple in, what is the intention behind asking for something that you are fully aware there is absolutely no chance they can comply with?
> I follow a bunch of developers (surprise surprise) and read mostly technical blogs

As a follow-up, how do you go about discovering the people you keep up with if they are not personal acquaintances?
OTOH: "One in four 2020 Tesla Model 3 failed the Danish periodic inspection in 2024" https://news.ycombinator.com/item?id=42838855
I could swear this post and your comment were something I already read word for word a few days ago
Show HN: KTransformers:671B DeepSeek-R1 on a Single Machine-286 tokens/s Prefill
Hey Hacker News! We are excited to share the new version of KTransformers, a flexible framework designed for cutting-edge LLM inference optimizations! Leveraging state-of-the-art kernels from llamafile and marlin, KTransformers seamlessly enhances the performance of HuggingFace Transformers, making it possible to operate large 671B MoE models or extremely long 1M context locally with promising speed.

KTransformers is a Python-centric framework designed with extensibility at its core. By implementing and injecting an optimized module with a single line of code, users gain access to a Transformers-compatible interface, RESTful APIs compliant with OpenAI and Ollama, and even a simplified ChatGPT-like web UI. For example, it allows you to integrate with all your familiar frontends, such as the VS Code plugin backed by Tabby.

To demonstrate its capability, we present two showcase demos:

- GPT-4/o1-level Local VSCode Copilot: It runs the huge 671B DeepSeek-Coder-V2's Q4_K_M variant using just 24GB VRAM and 382G DRAM (with two Xeon CPU) on a local machine, with a promising 286 tokens/s for prompt prefill and 14 tokens/s for generation, up to 3~28x speedup. The detailed tutorial is [here](https://github.com/kvcache-ai/ktransformers/blob/main/doc/en...)

- 1M Context Local Inference:Achieves 15 tokens/s with nearly 100% accuracy on the "Needle In a Haystack" test via the InternLM2.5-7B-Chat-1M model, utilizing 24GB VRAM and 150GB DRAM, and is several times faster than llama.cpp.

Check it out on GitHub: https://github.com/kvcache-ai/ktransformers
Simply put the stability of attention based models over non attention based ones.

Google dropped MHA self attention which was a major idea that they showed to work.
OpenAI saw and built an empire on FeedForward attention models which are (compared to most alternatives) super stable at generation.
DeepSeek showed evidence it's possible to further push these models and use effectively compression in the model design to pass around sufficient information for training. (Hence the Latent)
They also did a lot of other cool stuff, but the main "core of the model" difference is this part...

Other than that, the biggest hurdle has been hardware.
There's probably no way you could get kit from 2010 without even aes acceleration to evaluate most full-fat mhlffa models let alone train them.
There's been a happy convergence of matrix acceleration on GPUs for gaming, graphical and high fidelity stimulation work. This combined with matrix based ML maths combined with high throughput memory advances means we can do what we're doing with llms now.

So inevitable outcome or happy convergence? That's for historians to decide imo. I think it's a bit of both.
I use icloudpd

https://github.com/icloud-photos-downloader/icloud_photos_do...

No uploading new photos, though.
Blogging is like mediation. It's primarily good for yourself. It's just a bonus if others like it.
I assume nobody reads my blog.

I don't check the stats, the pages are small enough that even if it got busy I'd hardly notice. I write primarily to explore ideas I've had or that I've read from others, or where I feel my thinking lacks clarity and I want to gain that clarity. It's also a place where I experiment a little, taking more chances and risking more failure that I would otherwise in a professional environment. Occasionally I'll find reason to point someone int he direction of a post because it touches on a topic or is otherwise an example of some particular type of thinking, like tearing a page out of a personal diary to show someone.
Epstein. When child abuse becomes a political and financial status symbol - the ultimate exclusive consumer good for narcissists/psychopaths.

As well as a handy source of material for blackmail.
Are LLMs not trained on NPR transcripts?
What's badly designed in Tesla models? They're among the safest cars according to both IIHS and Euro NCAP.
Why do enterprises give developers shitty laptops? Why does it take a month to onbaord a new dev? Why does it take weeks to get a new dev tool installed that requires admin access? To get a firewall request reviewed? To get your team access to a fresh public cloud account for a new project?

The answer to all these questions is that things that are measurable will always be prioritised over things that are not easily measured. And the more mature the enterprise, the more the measurable has been squeezed to the detriment of the immeasurable.

IT hardware spend it very easily measured, but the time wasted and morale hit you get working on a shitty laptop is very hard to measure.

Anything that is measurable, you just turn a knob and announce 10% savings: well done you! enjoy your promotion -- the intangible negative externalities of your recklessness will rarely be considered or even known by the person whose job it is to review your performance.
Biggest life tip: be good friends with a lawyer.

You can write up a letter for them and they send it.

In many companies anything going through legal is immediately prioritised.
I've been using Linux with Nvidia GPUs since the RIVA TNT up to the RTX 4090, it works just fine.
People who don't own abroad property can be corrupted as well. The whole premise is weird.
> Each defense intervention needs to be weighed against its cost,

What cost? Jackson for example is just as easy - if not easier - than Java serialization. It's widely used (therefore well tested), actively maintained and well-designed.

> If the attacker can inject arbitrary content into the message queues of most business applications, they already have the keys to the castle.

They can make your application follow different steps of the application's own rules. Java serialization is one badly designed class on the classpath away from an RCE: in which case it can completely ignore your application's rules.

For example, if you have a compromised message queue for creating users, a good serialization lib won't stop the attacker from creating an admin user, but it will stop the attacker from dumping your user database and TLS private key. Java serialization will not stop that at all.

That's not hypothetical, BTW. About a decade ago a whole bunch of exploits came out that used Java's serialization and popular libraries on the classpath. Many resulting in remote code execution. That's why you can now set an ObjectInputFilter or `jdk.serialFilter`. But those don't save anybody when they're not set. And they are not set by default.

> I'm guessing you work in security and don't actually build production systems for a living?

You guessed wrong. I've built many production systems and am still building production systems.

Look, I've frequently been annoyed by the same thing you're accusing me of: overzealously trying to reduce risks to the point of ridiculous expense. But that's not what this is. There is very little benefit to using Java serialization, and it adds weaknesses that are unnecessary. When building something new, using a different solution significantly hardens your system at essentially no extra costs.

It can be more costly to retrofit existing systems. That's a situation where the filters can be useful. The whole code then becomes the type of code nobody wants to have, but that we all have too much of anyway. We call it legacy and strive to have less of it next time.
For me blogging acts as a function to learn about something. If I want to understand a particular subject (albeit a small one), I’ll write about it. Do some research on the matter, think over what I am trying to answer, and at the end I always feel more knowledgeable about that particular subject point. Another factor is that it improves my writing, which in turns helps expression which too is very valuable. Sure not many people read it, but honestly putting on some music and just tapping away on something interesting is quite therapeutic.
> just want a luxury car that is grand, silent, feels nice, is nice to drive, and doesn't blast my eyes with screens.

'92 BMW 325IS. Coupe. Strait-six. RWD. 5-speed Manual. Cornered like on rails. Never once suprised me with a random shift at a dangerous moment. Had a great little trip computer. No screens. No bluetooth. About 7L/100km. I took it skiing. I took it rock climbing. It drove me to my exams. It drove me to my first real job. I slept in it more than want to admit. It had 320,000km on the clock when i had to sell it.

It was full of little optimizations, like how in fifth the speedo and tac would match each other. Or how the center console was angled about 25 degrees towards the driver so all the buttons were equidistant. Or how the armrest perfectly matched the shifter and the stiching on the steering wheel was positioned to give grip in the thumb hooks. Biult in germany, the dash was so simplified that it didnt have mph on the speedo, nor did it even have the letters "kph" or "rpm"... just numbers on a black background. If you need to be told which is which, you dont deserve to be driving such a car.

If you are listening BMW: I would pay a premium for a new biuld of that car. Everything i see at your dealerships, all your plastic cars, are total junk.
No matter what your beliefs are, if you seriously want to study philosophy, you have to go through it.

Did something similar. It is great.
Fun Fact - The NSA / White House regards Delphi (object Pascal) as a memory safe language - https://blogs.embarcadero.com/is-delphi-a-memory-safe-langua... in preference to C/C++. Not sure I agree, but I bow to their authority.
Agreed, the quality of the product should speak for itself. We've got people saying they're unreliable, and we've got people saying they're reliable, and that's true for literally every car manufacturer on the planet, so this doesn't tell us much. Anecdotal stuff aside, there's studies done on these things, thankfully, and Tesla consistently ranks poorly. See for example this one (this is just the first one that popped up when I googled "car reliability study", it's probably better if you find your own sources):

https://www.consumerreports.org/cars/car-reliability-owner-s...
There is stock market volatility due to short lived tariff announcements.

Only insiders know to what extent the strategic reserve currency scam will go through and whether to hold or sell.

There was a meme coin scam for insiders.

All these create volatility that could be exploited by front runners.
It's not the drop-off percentages that are interesting. It's the pattern that you can see in the scatter plot (section 3 of https://electiontruthalliance.org/clark-county%2C-nv):

Voting machines that saw more voters had a larger skew. Up to about 300 votes per machine, the results look pretty random and natural. From there on, the pattern changes drastically and shows unexpected clustering. It's unexpected because larger samples should slowly converge but still be normally distributed (law of large numbers). Instead of matching a bell curve, the distribution shows a "russian tail" (search for it on the page), a sign of vote manipulation.

All this is only for the early votes. If you compare the scatter plots and distributions of early votes vs. election day, they look completely different.
I would put it as simply as You write your blog for yourself, learning a lot in the process. If others read it, it's a bonus.
You can make globals thread safe by using thread locals. You can make methods using them reentrant by carefully saving and restoring state. What about exceptions? Any exception from `process()` is going to leave this global state in a total mess.
> Tesla sales are plummeting all over the world

Uhhh...he's selling 5x as many cars than than when Covid hit and nearly the peak of sales...ever?

https://cnevpost.com/2025/01/02/tesla-global-deliveries-q4-2...
I know this is subjective but he is comparing GPT-4 to 4o. The new model definitely felt lighter and faster, so probably cheaper for them to maintain, but at the same time very often gave worse answers than GPT-4.
The government sucks at marketing. Apple is great at it.
My mother used to drive a 1989 Corolla until 2005, when she bought another Corolla. Both are working without issues to this day.
Lambic beers prove you can do that