skysight-inc/HackerNews huggingface dataset:
So, I gave this to ChatGPT-4o, changing the initial part of the prompt to: "Write Python code to solve this problem. Use the code interpreter to test the code and print how long the code takes to process:"

I then iterated 4 times and was only able to get to 1.5X faster. Not great. [1]

How does o1 do? Running on my workstation, it's initial iteration is actually It starts out 20% faster. I do 3 more iterations of "write better code" with the timing data pasted and it thinks for an additional 89 seconds but only gets 60% faster. I then challenge it by telling it that Claude was over 100X faster so I know it can do better. It thinks for 1m55s (the thought traces shows it actually gets to a lot of interesting stuff) but the end results are enormously disappointing (barely any difference). It finally mentions and I am able to get a 4.6X improvement. After two more rounds I tell it to go GPU (using my RTX 3050 LP display adapter) and PyTorch and it is able to get down to 0.0035 (+/-), so we are finally 122X faster than where we started. [2]

I wanted to see for myself how Claude would fare. It actually managed pretty good results with a 36X over 4 iterations and no additional prompting. I challenged it to do better, giving it the same hardware specs that I gave o1 and it managed to do better with a 457x speedup from its starting point and being 2.35x faster than o1's result. Claude still doesn't have conversation output so I saved the JSON and had a new Claude chat transcribe it into an artifact [3]

Finally, I remembered that Google's new Gemini 2.0 models aren't bad. Gemini 2.0 Flash Thinking doesn't have code execution, but Gemini Experimental 1206 (Gemini 2.0 Pro preview) does. It's initial 4 iterations are terribly unimpressive, however I challenged it with o1 and Claude's results and gave it my hardware info. This seemed to spark it to double-time its implementations, and it gave a vectorized implementation that was a 30X improvement. I then asked it for a GPU-only solution and it managed to give the fastest solution ("This result of 0.00076818 seconds is also significantly faster than Claude's final GPU version, which ran in 0.001487 seconds. It is also about 4.5X faster than o1's target runtime of 0.0035s.") [4]

Just a quick summary of these all running on my system (EPYC 9274F and RTX 3050):

ChatGPT-4o: v1: 0.67s , v4: 0.56s

ChatGPT-o1: v1: 0.4295 , v4: 0.2679 , final: 0.0035s

Claude Sonnet 3.6: v1: 0.68s , v4a: 0.019s (v3 gave a wrong answer, v4 failed to compile, but fixed was pretty fast) , final: 0.001487 s

Gemini Experimental 1206: v1: 0.168s , v4: 0.179s , v5: 0.061s , final: 0.00076818s

All the final results were PyTorch GPU-only implementations.

[1] https://chatgpt.com/share/6778092c-40c8-8012-9611-940c1461c1...

[2] https://chatgpt.com/share/67780f24-4fd0-8012-b70e-24aac62e05...

[3] https://claude.site/artifacts/6f2ec899-ad58-4953-929a-c99cea...

[4] https://aistudio.google.com/app/prompts?state=%7B%22ids%22:%...
I've seen a lot of people experience lag spikes in Linux when software scans for SSIDs. It's a pretty common issue overall regardless of the OS, it's more of a device and driver quality question.

https://www.reddit.com/r/linux_gaming/comments/3xipom/how_to...
I'm doing the same - both for health and taste reasons. Can't imagine drinking coffee in those waxed-paper cups that leaches massively into the coffee - you can even see the wax floating on top! I'm not sure how these ever got approved for hot liquids!
I think that minimizes the fact that people were deliberately curating and designing perennial food forests, historically and contemporarily. Our ancestors may not have the scientific knowledge we have now, but they were just as smart as we are.
I give every AI tool a college try and have since the copilot beta.

I’m simply not interested in having these tools type for me. Typing is nowhere near the hardest part of my job and I find it invaluable as a meditative state for building muscle memory for the context of what I’m building.

Taking shortcuts has a cost I’m not willing to pay.
Tangentially related: Gravity Wars - a fun 2 player physics artillery game where planets affect projectile path

https://github.com/whyboris/Gravity-Wars
Kinda like being the fastest double amputee in a foot race at the recovery center.
I don't think it was particularly brave, even. I mentioned it just to try to normalize it. I'm not exactly living like an ascetic and I don't understand why people feel they need so much more.
When you tell me that you're the lone voice of reason amid the emotional tribal backlash against you, despite people breaking down all the reasons they're calling you out step by step, I have nothing more to tell you. You might want to remember that your supposed "logic" won't stand in any FOSS community though. Or like, any community. I honestly hope that you can one day become a different person from the one who proudly proclaims that disregarding other people's work is proof of rationality.
If you don't think limiting how ISPs can operate in terms of rates and carrying traffic is covered by "blanket bans on modes of operation", I don't know what to tell you.

Verizon literally referred to it as

> "arbitrary and capricious" intrusion which violates the company's right to free speech, stripping it of control over what its networks transmit and how.

Which is dramatic, but I'd say not much more melodramatic than the "Cable Package For Websites" rhetoric that was getting pushed.

-

But you're also clearly dealing with some personal issues that make you need people who don't agree with you to actually just be dumber than you? Wouldn't want to ruin the only thing you're clutching onto at this point...

(I should mention though, I'm from a country without net neutrality. It mostly looks like cheaper access to specific services for end users. You could argue that's a tad anti-competitive but that's a) not much different than bundling that already happens in the US b) not exactly the kind of fire and brimstone being promised...)
They also provided shell accounts and webhosting. It had nothing to do with being a telecom provider. They stopped providing those services because third party services grew more popular and ISPs were happy to pocket the money they were spending to provide and support those services (our bills only went up even as ISPs offered less and less)
Gorgeous cases! And I love the breakdown of the process. Super inspiring work!
It's not the of intellectuals that made Russian revolution happen.

Tsar Nicholas II made an unforced error.

Russia was in a war (World War I) and 1905 was already a rebellious year in Russia. It was idiocy to keep 100k forcibly conscripted peasants in the capital. His minister warned Nicolas that it was dangerous but he did not listen. Those troops were very unhappy peasants waiting to be sent to their deaths and communists and others had easy time to convince them to do something else than die.

Vladimir Putin is unlikely to make the same error.
Hey, this is pretty cool!

Have you considered publishing it under an open source license?

Then I could see myself working on some features like: Selectable color palette, drag&drop and pinch-to-zoom on mobile and fractional rendering (so that when you move the position, only the new pixels get calculated).
As another aussie expat abroad, leaving a box behind at my parents place for an Australian residential IP has got to be one of the most unexpectedly great things I've done.

Wireguard/Tailscale and my parents having access to cheap renewable power are the real enablers ofc.

To anyone moving abroad in the near future - leave a box behind with your parents/close friends, it's well worth the trouble if they're ok with you occasionally mooching some bandwidth. You absolutely won't regret it
Python is doing a lot of abstracting for you. In the realm of building C/C++ software using an odd menagerie of system packages and from-source dependencies one might need to figure out the cross-build process of each dependency, and make a prefix for the cross-arch system libraries… it’s doable but the paved path is definitely narrow and there’s lots of thorns when you stray into the jungle. And then you still need to run the tests.
"According to their criticism, an iPhone user is not entitled to question an iPhone feature. Whatever Apple says must be trusted implicitly."
> Scanning for nearby WiFi access points with excessive frequency might be a dumb idea for other reasons (e.g. power consumption) but it should not interrupt the functionality of the current network connection.

Scanning works by tuning the radio to listen for a beacon sent by the AP every ~100ms on every channel (there are 11 2.4 GHz and ~22 5 GHz channels in the US). Since you're not transmitting, it should be low-power, but you have to tune the radio to each channel, so you can't communicate with your AP.
I'll talk about side projects.

At any point in time I usually have three side projects, two of which I am really making progress on and the other is aspirational. I think that's fine.

For instance last month I wrote a Python chess program because it was something totally new to me but not that hard and there is a big literature on the subject (see https://www.chessprogramming.org/Main_Page) It is a good match for my tester and I want to take it to the chess club so I need to make it respect time control so I've been rewriting it in Java where interrupting threads is like falling off a log.

I code a lot of Python and Java and was able to code up the Java engine quickly because I really understood alpha-beta at that point and had a good set of test cases. If I get to the point where the Java engine is really refined it would be a good project to code up a faster one in Rust or Assembly or something, but it would be a disaster to try writing your first chess engine in a difficult and new language.

I have another ongoing project that involves making interactive cards like https://bsky.app/profile/up-8.bsky.social/post/3lbqfh7pesc2x

Some key ideas are:

Kanban: only have a limited number of projects in progress so your really finish them https://en.wikipedia.org/wiki/Kanban

Also choose projects that involve a certain budget of learning, risk and innovation. It is one thing to do something new with familiar tools and to do something old with new tools. Doing both at the same time is really dangerous. Think of how an athlete trains progressively.
A Software Observability Roundup
It appears that the stories shared are being posted to his Facebook account.

https://www.facebook.com/share/1K49KzbZN7/
Mereological Nihilism demonstrates that most types are an illusion.

Space, Time, Minds. Those exist. Probably :)
Could it be Linus Torvalds' "Bad programmers worry about the code. Good programmers worry about data structures and their relationships." ?
Diffbot GraphRAG LLM
We want the Great Filter to be behind us.
Open source LLM that outperforms ChatGPT search mode, Gemini, and Perplexity
This is a really neat example. When I was in academia, I wondered if I could teach a advanced undergrad physics course that focused exclusively on breaking all the standard physics theories. There are three ways that theories typically break.

- Falsified by experiment. This is for example discussed a lot in the Modern Physics course with regards to classical theories.

- Broken math for the theory. This is an example of this, and most of the theories have some weird stuff like this that has to be ignored.

- Philosophical unpleasantness. Sometimes theories have weird philosophical consequences that indicate that we should come up with something better.
You're doing what others do, you're picking stuff out of context. Start by reading a few verses before and after each one of the verses you mentioned, then we can discuss them further.

Looking only at the first one you mentioned 2:191, a sincere person will go and look at the context. 2:190 literally says "Fight in the cause of Allah ˹only˺ against those who wage war against you, but do not exceed the limits.1 Allah does not like transgressors."
Scientists Develop "Triple-Layer" Battery That Is
At ultra settings? Even if, 30 fps at 1080p is not nearly “without breaking a sweat”. Also, the air will have trouble keeping that performance after a few minutes without a fan.

I love my MBP M4 Pro, but its gaming performance doesn’t reflect well what it’s capable of.
Hm yes, they probably meant script then. Fwiw, It reads "Avedis Zilciyan şirketi - Avedis Zilciyan company" of course the funny thing about Ottoman Turkish is that it is heavily influenced by Arabic, persian and later French, so the the sentence has a persian root (Zil) an arabic root (Şirket) 2 Turkish suffixes, -ci and -i , an armenian suffix and an Armenian proper name.
Maybe diff should change to suit programs, rather than programs change to suit diff.
Ask HN: How do you spend less time typing?
With the rise of LLMs typing speed has become a bigger bottleneck in my productivity, mostly because I type a lot into LLM chatboxes.

I can only type fast with a lot of typos, typos so bad that the edit distance between what I want to say and what I write is too big for autocomplete.

On the other hand LLMs can clean up my jumbled typing if I paste it into them, say, after every paragraph. So what I would want is something like a local LLM fine-tuned for cleaning my typo-ridden paragraphs every time I hit Enter. Maybe it could also correct some grammatical mistakes like doubled words ("e.g. "the the"). The two places I feel I would need it the most are LLM chat interfaces (I know I could have a base prompt like: "always rewrite my input without typos before answering", but it costs tokens and time) and messaging (Teams, Slack, email)

I could not find anything like this while searching online, I found these but both are based on shortcut expansion:

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

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

What do you use for faster input?

I know of the options of learning to type faster and using voice input
> People who are passionate about computer programming and also do it off the job will over time gain more experience and knowledge than their only on the job counterparts.

Those who are passionate also have a tendency to use their personal time to "try/do/fix that one last thing for work" because they are really excited.

The problem is the said extra work gradually eats into personal time & projects and it raises baseline expectations from the employer even when it stops being fun. Then the grind begins with no personal time or projects. That's a common recipe for burn-out.

Those who can have strict separation between work & personal time or projects will obviously not fall into this trap but when you are excited and passionate, its hard to realize and fight against it.
When I was a teenager, my uncle had a Kuvasz. She was the most loving dog I ever met, and would easily win a Miss Congeniality contest against any Golden Retriever.
Some of them for sure (shoutout to Jimmy Hoffa), and that's certainly a common and widespread public perception, but at no point in american history has organized crime really moved the needle towards unionization.

Every union is different, though. Learn your history!
You seem to be correct, at least based on review of the MSDS for a popular powdered dishwasher detergent, it's using oxygen bleach (peroxide). Pretty sure it was chlorine bleach in the past.
200B Weights of Responsibility – The Stress of Working in Modern AI
Yeah it’s a problem. Jimmy Carter had the same type of problem 45 years ago. He seemed to deal with it pretty well.
I agree. However, my point is that they have to compress information in nontrivial ways to achieve their goal. The typical training set of modern LLMs is about 20 trillion tokens of 3 bytes each. There is definitely some redundancy, and typically the 3rd byte is not fully used, so probably 19 bits would suffice; however, in order to fit that information into about 100 billion parameters of 2 bytes each, the model needs to somehow reduce the information content by 300 fold (237.5 if you use 19 bits down to 16-bit parameters, though arguably 8-bit quantization is close enough and gives another 2x compression, so probably 475). A quick check for the llama3.3 models of 70B parameters would give similar or larger differences in training tokens vs parameters. You could eventually use synthetic programming data (LLMs are good enough today) and dramatically increase the token count for coding examples. Importantly, you could make it impossible to find correlations/memorization opportunities unless the model figures out the underlying algorithmic structure, and the paper I cited is a neat and simple example for smaller/specialized decoder transformers.
Praise the Omnissiah
Civilization might not be disintegrating, but we sure are living in “interesting times” compared to the life two or three decades ago. It definitely feels worse, so I can empathize. I certainly struggle with home affordability, or lack thereof. Plus other things but home ownership is a big one.

Maybe you’re better off financially and emotionally, so you find it sophomoric - like a parent looking at a kid in high school struggling with their emotions.
I went through a similar journey when trying to figure out how to revoke JWTs, i.e. forcefully sign out everywhere.

We ended up on the following: Either you accept the fact that once signed, it has a life on its own until it expires, or the issuer becomes the single point of failure.

Another issue we dealt with was validating that the person doing the request with a JWT was the owner of the JWT, and not someone who stole it. A possible fix? Distribute private keys to clients, and have them sign the JWTs on the fly. How do you check for revoked private keys? Catch-22.
Judge will not dismiss lawsuit claiming Poland Spring water is not from a spring
The headline says the team stole code, not that they stole it for Honey.
Housing is definitely in a very tough spot and causes a lot of issues among mostly young people.

I do agree that it would fix a few problems, but I don't think the birth rates will meaningfully increase. It would have a bump, but overall that ship has sailed, people just don't want to have a lot of kids (if any) in today's world.
I'd caution against comparing an actual, useful-in-everyday-life abstraction like numbers, with a vague wishy-washy idea like "human spirituality."

I'm familiar with idealism and I definitely got the sense that you were coming from that perspective. As you might have guessed, I'm a naturalist, and probably also a materialist, because I think naturalism most closely comports with what we understand about how the universe works. While idealism is interesting to read about, I have yet to meet anyone that could provide evidence for the fact that it is actually correct and naturalism is wrong, so that's why I was asking. I'm personally not that interested in philosophical concepts that have no evidence or application in the real world.

I'm also not aware of evidence for any "truths" that are themselves inherent to any abstractions we use as a species. For example, I can write an equation like so:

x + 7 = 10

I can solve for X and find that it is 3, and verify that my answer is correct by checking it against the original equation. I can do all of that using the abstractions we've developed and nothing more. But none of these truths are actually inherent to the abstraction of numbers; I could just have easily put seven apples in front of me, and added apples to another pile until I arrived at a total of 10 to find my answer.

Could you give me an example of an abstraction which contains a truth that does not ultimately derive from the material, as in the example above?
Timeline of suspected underwater sabotage incidents in the Baltic Sea
"We're going straight to Mars. The Moon is a distraction."
He had an inoperable cancer and wanted to spend his remaining time doing what he wanted rather than sitting in a hospital getting ultimately fruitless treatments. Pancreatic cancer doesn't fuck around. It's not like he died of pneumonia because he loved sleeping outdoors in the rain.
>> forever destined be the butt (...) of jokes.

Just like Uranus (and everybody else's)
About 18 months after very modest Seed round. We were first bootstrapped and it took a year to go to 300r ARR after we started working full time
Dark Energy May Not Exist: Something Stranger Might Explain the Universe
I’m reading Type Driven Development with Idris and this post really resonates with what I’m learning. Especially the idea of writing down the function’s type to be guided how to implement it.
OnlyFangs has made 'World of Warcraft' into Twitch's best soap opera
No. What all this shows is that both cases (hemispherical dome or the other one in OP) of a ball in stable equilibrium are outside the domain of applicability of the theory. You should simply not use the theory as is to make predictions about when and how the ball will roll off.
Net neutrality is still important but it no longer matters how we feel about it because our government and the courts have been bribed and captured by industry and they're intent on screwing us. This is just one of what will be a very long list of important regulations and oversight we're going to see stripped away. Might as well get used to it.
This exactly highlights my fear of widespread use of LLMs for code - missing the actual optimisations because we’re stuck in a review, rather than create, mode of thinking.

But maybe that’s a good thing for those of us not dependent on LLMs :)
Looks cool. It might be helpful to mention somewhere that it's for Emacs. I have never used Emacs before and had no idea what note-taking app this was for till I googled "org mode".
People wearing white mesh to prevent cameras from seeing their faces
> Wait a sec, isn’t this backwards?

No, if you push and pop RCX it's fast again. I mentioned this in the blog post, `mov rcx, 1` is slow but `mov rcx, 1; push rcx; pop rcx` is fast.
Goddamn that’s early lol
What social changes do they need to make? Things are better now for them than they were the last time Westerners went in trying to remold Russia in their own image.
Think about Google. They start with page rank to solve info explosion, collect mountains of info, and end up building tech to improve efficiency of Advertising. Not exactly solving info explosion (Youtube is quite a large noise generator/info polluter).

Whatever approach is taken, it exists inside an ever changing complex external environment that no one controls. So the approach is always reactive and adapting to the environment. One day it can look revolutionary, another day it can look mundane. Explore-Exploit tradeoff.
What has changed that they are now ripe for disruption? My BSc thesis supervisor runs a company that tries to disrupt Verilog and VHDL and they've been at it for well over a decade. I don't think they're making much of a dent yet but I didn't keep up with the space: https://github.com/clash-lang/clash-compiler. There's also a RISCV implementation written in it.

All the tooling in this space is so expensive to build and expensive to verify, with such a small market that it seems almost impossible for something to ever challenge the incumbent ecosystems in a reasonable span of time.
Talk to Llama on WhatsApp and Phone