Better HN
topnewbestaskshowjobs
Log inSign up

arbitrandomuser

192 karma · joined May 25, 2021 (5y ago) · 108 submissions

Submissions

comment 1mo ago · link · parent

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

comment 6mo ago · link · parent

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

comment 6mo ago · link · parent

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

comment 6mo ago · link · parent

oh , is it closed source now ? i couldnt find it on github anymore , github.com/LoopModels returns a 404.

comment 6mo ago · link · parent

hey , what happened to LoopModels ?

comment 6mo ago · link · parent

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)

comment 8mo ago · link · parent

julia version existed , https://github.com/Keno/julia-wasm

not actively developed anymore

comment 8mo ago · link · parent

doesnt it get annoying when you actually have to type two adjacent j ?

comment 10mo ago · link · parent

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.

comment 10mo ago · link · parent

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.

comment 10mo ago · link · parent

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

comment 11mo ago · link · parent

what is an intrusive data structure?

comment 11mo ago · link · parent

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

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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 !

comment 1y ago · link · parent

yes but i think branch prediction essentialy makes them zero overhead

comment 1y ago · link · parent

>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.

21.

Show HN: Constructive Solid Geometry with Python in the browser(arbitrandomuser.github.io ↗)

2 points · by arbitrandomuser · 1y ago · discuss

comment 1y ago · link · parent

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 ?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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 )

comment 1y ago · link · parent

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 ?

comment 1y ago · link · parent

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 ?

comment 1y ago · link · parent

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.
1234