55 karma · joined Aug 27, 2024 (2y ago) · 58 submissions
comment 4d ago · link · parent
i have not used jj, but if you are introducing sqaush/new just you get what the stage does cleanly then you are implictly agreeing with the stage model.
comment 4d ago · link · parent
`git add -e` your files as you are satisfied (of course after remove your debug harness). this way you debug harness stays put in your sandbox/worktree and no harness leaks into your project which remains pristine. this is something that .gitignore cannot do. jj cannot. you have remove all your harness, TODOs and others just to commit and then add it back again. that just means your version control failed.
and no, i am not advocating you should no add .gitignore.
comment 4d ago · link · parent
just treat your stage as the real project and worktree as some ephemeral sandbox. as you work build your index in stages by `git add -e` and removing your debug harness hunks. as soon as you reach a milestone, just commit and type your message when the context is fresh in your head.
with jj, you work all day and finally when you are ready to commit, you now have to manually remove your debug harness, remove build artefacts, and reverse engineer your own code to write a commit message when you just want to go home.
stop treating the stage as a implementation detail poking out into userspace. if it was just a implementation detail, linus wouldn't have defended it so fiercely.
comment 4d ago · link · parent
comment 1w ago · link · parent
some of really want to do it the old way with arena/pool allocators than guarantees at the compile time. odin's target audience is not rust programmers, it's C programmers who want modern conveniences.
comment 1w ago · link · parent
- manual memory management
- arena and pool allocators
- go style err!=nill style exception handling
- first class support for soa and vectorized simd, linear algebra and swizzling
- sanely typed and namespaces
- explicit unambigious overloading, subroutine context
- first class support for defer statements
- zero friction C ffi
if you haven't heard of odin, you should definitely consider it.
comment 1w ago · link · parent
comment 2w ago · link · parent
AI is a software just like operating systems and executables where open source absolutely dominates the industry. Remember when the compiler engineers optimized the shit out of llama.cpp.
Right now the bottleneck for AI software is compute and data. Moore's law is give us compute, StackOverflow, arXiv (and it's children like bioRxiv), gutenberg and others (3lib, anna, internet.org) will give us data.
It's a waiting game. Open source always wins.
comment 2w ago · link · parent
reminds me of
comment 1mo ago · link · parent
It doesn't. It's model. All models are wrong (including quantum mechanics and attention) but some are useful. You understand the domain of the model, the problems it can solve, the math behind the models and use the model to make predictions. If you are competent at linear algebra and functional analysis, you can do quantum mechanics.
If you make the error of believing that quantum mechanics is ontological god's honest truth of nature, you will end up with blunders like using it to explain consciousness like Prof Penrose. His math was impeccable, but he was making a category error.
21.
Turn Linux commands into Android applets and automations(github.com ↗)
2 points · by boltzmann64 · 1mo ago · discuss
comment 1mo ago · link · parent
Also, try fx.wtf as a replacement for jq. it comes with a in-built tui viewer that supports vi-keybindings. Ecmascript is built into fx.wtf so you can query the JSON with JS notation (where JSON was born). You can use any JS functions including map/reduce/filter or perform any kind of transformation instead of learning jq dsl that you will forget tomorrow.