HackerTrans
TopNewTrendsCommentsPastAskShowJobs

arbitrandomuser

no profile record

comments

arbitrandomuser
·vorige maand·discuss
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
arbitrandomuser
·2 maanden geleden·discuss
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
arbitrandomuser
·2 maanden geleden·discuss
oh , is it closed source now ? i couldnt find it on github anymore , github.com/LoopModels returns a 404.
arbitrandomuser
·2 maanden geleden·discuss
hey , what happened to LoopModels ?
arbitrandomuser
·2 maanden geleden·discuss
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)
arbitrandomuser
·4 maanden geleden·discuss
julia version existed , https://github.com/Keno/julia-wasm

not actively developed anymore
arbitrandomuser
·4 maanden geleden·discuss
doesnt it get annoying when you actually have to type two adjacent j ?
arbitrandomuser
·6 maanden geleden·discuss
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.
arbitrandomuser
·6 maanden geleden·discuss
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.
arbitrandomuser
·6 maanden geleden·discuss
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
arbitrandomuser
·7 maanden geleden·discuss
what is an intrusive data structure?
arbitrandomuser
·7 maanden geleden·discuss
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
arbitrandomuser
·8 maanden geleden·discuss
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
arbitrandomuser
·8 maanden geleden·discuss
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
arbitrandomuser
·8 maanden geleden·discuss
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.
arbitrandomuser
·8 maanden geleden·discuss
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
arbitrandomuser
·8 maanden geleden·discuss
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 !
arbitrandomuser
·8 maanden geleden·discuss
yes but i think branch prediction essentialy makes them zero overhead
arbitrandomuser
·10 maanden geleden·discuss
>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.