News for hackers. Stuff that matters.

arbitrandomuser

Re:Biology Might Not Be Quantum, but Its Math Is Quantumlike on Sunday September 27, 2026 @12:24AM (#49863343)
adjacent possibly related interesting fact , classically the temperature required to crosss the coulumb repulsion and fuse hydrogen in the sun is far higher than at the core of the sun,

what makes fusion viable at the core is there is a chance for nuclei tunneling through the barrier , that and the sheer size of the sun

Re:Claude Opus 4.8 on Thursday May 28, 2026 @01:44PM (#48312628)
A lot of people dont know this , also the chatbot (chatgpt) itself is a next token predictor (the GPT) that's been given an initial text that says " pretend to be a chatbot .." and asked to complete it , the coherant chatting behaviour is something thats emergent .

later on someone figured if you asked it to output a reasoning before it gave a response its output would have more logical coherence, as though the reasoning output tokens functioned as a scratch space for it to work on.

at the end its all next token prediction

Re:The nuclear-physics infrastructure behind PET scans on Saturday May 16, 2026 @03:39AM (#48157767)
hydrogen and deuterium also count as different groups when accounting for optical activity

carbon forms 4 bonds , if the 4 things bound to carbon are different then the molecule can be assembled in two ways ( mirror images like your left and right hand , similar but distinct as no rotation of your left hand can make it a right hand) and the two different arrangements rotate the polarized light in different ways . so if you have say CHDClF (carbon bonded to hydrogen , deuterium , chlorine and flourine) it is optically active

it was interesting to learn this , i thought it was a purely electromagnetic phenomena and the mass of the nucleus would not be relevant

but iodine 127 and iodine 131 do not have enough of a difference to show detectable optical activity

Re:Making Julia as Fast as C++ on Saturday May 09, 2026 @11:46AM (#48075892)
oh , is it closed source now ? i couldnt find it on github anymore , github.com/LoopModels returns a 404.
Re:Making Julia as Fast as C++ on Saturday May 09, 2026 @11:12AM (#48075620)
hey , what happened to LoopModels ?
Re:Making Julia as Fast as C++ on Saturday May 09, 2026 @11:07AM (#48075574)
yup the LSP is bad, there is a new lsp being rewritten based on JET.jl a static code analyzer , this should be faster than the old lsp which kind of runs by loading all the modules into a julia instance and queries it for symbols and docs ( im not 100% sure but i think thats how it works)
Re:Pyodide: a Python distribution based on WebAssembly on Wednesday March 18, 2026 @01:26AM (#47421856)
julia version existed , https://github.com/Keno/julia-wasm

not actively developed anymore

Re:Helix: A post-modern text editor on Tuesday March 10, 2026 @05:20PM (#47328910)
doesnt it get annoying when you actually have to type two adjacent j ?
Re:Ghostty's AI Policy on Friday January 23, 2026 @06:39AM (#46731316)
when it comes to enabling opportunities i dont think it becomes a matter of shame for them anymore. A lot of people (especially in regions where living is tough and competition is fierce) will do anything by hook or crook to get ahead in competition. And if github contributions is a metric for getting hired or getting noticed then you are going to see it become spammed.
Re:A Year of 3D Printing on Friday January 23, 2026 @01:24AM (#46729121)
do you print in pla or abs ? how long do pla parts last ? where i live the moisture gets to pla eventually and i cant use it for anything that cant be failproof especially something bearing with a load on it.
Re:I set all 376 Vim options and I'm still a fool on Monday January 19, 2026 @11:51PM (#46688036)
leap.nvim

you press a keybind and then press one or two characters , all instances of that character pair in the viewport will get get a hint (a characteror two in highlight) , hit those two hint keys and the cursor jumps to that location

its incredibly fast to navigate around your viewport with this.

https://codeberg.org/andyg/leap.nvim

Re:The end of the kernel Rust experiment on Wednesday December 10, 2025 @02:46AM (#46215190)
what is an intrusive data structure?
its interesting that the inverse distance formula works for the glow effect, but the photon explnation is incorrect, you dont "see" photons that are intersecting the ray path, you only see the photons reaching your eye , the intensity for a pixel should count photons arrivng the camera from the direction of the ray path
Re:Comparing Integers and Doubles on Wednesday November 19, 2025 @10:31PM (#45988587)
Julia gets this right. casting to both double and int, it does both a floating point compare and an integer compare , then AND them and return
Re:IDEmacs: A Visual Studio Code clone for Emacs on Sunday November 16, 2025 @12:57AM (#45943097)
onivim also seperated the core functionality of the vim editor into a seperate library libvim , this would have been great for other people looking to make their own gui frontend to vim .

neovim does not give a libneovim, but exposes an rpc where you communicate with neovim running as another process, this I would have thought have more latency but apparently is fast enough , this is how the vscode plugin for neovim is able to provide a near complete vim experience. Other neovim guis like neovide use this too

Re:Zed Is Our Office on Friday November 14, 2025 @05:14AM (#45925562)
while technically possible with massive projects like these its not as simple to simply fork it, because of the man hours involved . its better to keep in the product stands enshitification while one uses it or just use something else.
Re:Ask HN: What Are You Working On? (Nov 2025) on Monday November 10, 2025 @06:55AM (#45875063)
carnot theorem does not put an absolute limit , a carnot cycle can have any efficiency as long as you have reservoirs hot and cold enough ,

besides that if you could be more efficient than carnots cycle at two temperature you can spontaneously extract heat from a cold object and out it in a hot object without any input energy , this would mean you can have perpetual motion . we are not just going to bump a kardashev scale , were going to truly max out and go beyond.

fun fact the U S patent office has been bogged down by so many perpetual motion applications they have made it policy to outright reject such applications without a working model satisfactorily demonstrating it

Re:Why is Zig so Cool? on Saturday November 08, 2025 @04:41AM (#45855480)
Zig structs are "modules" in themselves, apart from c like struct fields , they can have local variables, structs and functions declared and used inside of them .

in fact files in zig are just structs !

Re:Async/Await is finally back in Zig on Saturday November 01, 2025 @12:34PM (#45783017)
yes but i think branch prediction essentialy makes them zero overhead
Re:Why ML Needs a New Programming Language on Friday September 05, 2025 @09:34AM (#45138372)
>You don't write kernels in Julia.

The package https://github.com/JuliaGPU/KernelAbstractions.jl was specifically designed so that julia can be compiled down to kernels.

Julia's is high level yes, but Julia's semantics allow it to be compiled down to machine code without a "runtime interpretter" . This is a core differentiating feature from Python. Julia can be used to write gpu kernels.

Show HN: Constructive Solid Geometry with Python in the browser

https://arbitrandomuser.github.io/thangs/pysdfcad/

This is a little hobby/side project i've been working on .Its tool for constructive solid geometry using python which runs in your browser (best viewed on desktop).The gist of it is it runs in your browser(pyodide) you write high level python which generates the corresponding glsl for your objects signed distance function which is then rendered using webgl (raymarching). The objects can then be...

( Read More... | no comments | 2 points | on HN )
Re:LIGO Detects Most Massive Black Hole Merger to Date on Tuesday July 15, 2025 @10:59AM (#44571844)
The bond energy is also mass . Energy is mass , If you had a nuclear reactor surrounded by gas and this setup ran a turbine which compressed a humungous spring and this whole setup was completely sealed and sits on a gigantic weighing scale. You run the nuclear reactor, the spring compresses gaining potential energy, waste heat goes into the gas molecules as kinetic energy. As the reactor progresses converting "mass to energy" does the weighing scale become lighter ?
I made an account on alphaxiv , seemed interesting to tune into discussions and comments on papers I'm interested in. sadly the only active discussions are around LLM this and LLM that.
Re:OCaml's Wings for Machine Learning on Thursday May 01, 2025 @12:03AM (#43853561)
The alternative is not programming purely in the repl but to have an editor where you type out your code and from where you can send bits of text to the repl to run and get feedback. All major editors have plugins to do this.
Re:Understanding the Origins and the Evolution of Vi and Vim on Saturday April 19, 2025 @01:13AM (#43734375)
This imo is a shortcoming of vim on modern systems, the action precedes the selection.

I would like to select first have a visual feedback of what I selected before taking action on it . Helix and kakuone have got this right .

I often find myself going to visual mode to emulate this.

Re:How Servo Motors Work on Friday April 04, 2025 @08:58AM (#43581650)
I just want to put this hack here which enables the toy servos with a very high accuracy and repeatability

https://youtu.be/ECLrLupFW10?si=dQPSq-hjMTaVGuQS

That was the old one , the DE version lags only for the player with poor network ( cpu performance stutter of one player affect all players though )
Re:Show HN: Online Python Compiler with Libraries on Saturday March 15, 2025 @09:20AM (#43372361)
What am I paying for if it's running on my system ? Not asking to deride , but could you elaborate what value this adds over simple installing python on my system ?
Re:Fish 4.0.0 on Thursday February 27, 2025 @09:00AM (#43194428)
What does it matter which tool-chain they use . I can understand if the difference is it made it notably slower or they dropped some features because they couldn't get it done in rust . But purely as an end user why would it matter if it's written in rust or cpp ?
Re:Johnny.Decimal – A system to organise your life on Friday February 21, 2025 @01:03PM (#43130773)
This! i prefer tags over folders for this reason. All notes go into single folder , no sub directories . Because a note can have multiple classifications a tree structure is not natural way to organize them. Add tags , if you have note taking program will show you all possible existing tags you it makes this easier.

Older »