Better HN
topnewbestaskshowjobs
Log inSign up

boltzmann64

55 karma · joined Aug 27, 2024 (2y ago) · 58 submissions

Submissions

comment 4d ago · link · parent

so jj devs reinvented the stage with extra steps and realize the foresight that linus had quarter century ago.

comment 4d ago · link · parent

i think forgetting to add something to stage is no worse than adding your debug to master/main because auto track added it. again, i appeal that please be deliberate about what you are adding. after all software engineering is a craft, so craft you commits.

comment 4d ago · link · parent

if you are mid work and suddenly need to checkout something you checkout in a new worktree so that all your context remains intact. `git worktree` has been in stable since 2015.

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

it only causes accident if you do git add --all. and my exact thesis is to be deliberate about what you commit.

`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

why should a bureaucrat decide which is critical? and why should i be coerced to pay for something that doesn't impact me directly? the people who deem something critical should pay out of their own pocket.

comment 4d ago · link · parent

i really don't understand jj. what is the point of deleting the useful stage and treating the worktree as the project, which contains your debug harness, compiler artefacts, build files, and other things that you generally don't want in your project. you have to either write a .gitignore counterpart for jj or manually remove them before committing.

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

This is not true. People can definitely build infrastructure on their own. Taxation and government monopoly is the reason why they don't/can't. Think about the AI infrastructure, which is far more capital intensive than anything right now is being build without a single taxpayer money. But when governments get involved in building puplic infrastructure, they severely botch it like Comcast who were payed billions of taxpayer money to be a monopoly. Remove government (and by it's extension like monopoly and regulatory capture that it enables) and human will build anything far cheaper and efficient.

comment 1w ago · link · parent

there is definitely a tradeoff here: would you rather hunt for memory leaks or hunt for references (to satisfy the borrow checker).

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

i love odin.

- 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

i hate this moral outrage. what's wrong if he was sleeping around? let him just print gpu. his ability to print gpus has nothing to do what he does in his bedroom. i can sympathaize with the wife and infidelity is a sin. but he was supplying everybody with gpu. so that makes him a great guy too.

comment 2w ago · link · parent

Benchmarking code or BTFO. JXL propaganda is getting too irritating at this point.

For the rest of us, this resource debunks all stupid jxl propaganda.

https://jakearchibald.com/2026/jpeg-xl-vs-avif/

comment 2w ago · link · parent

into this house we're born …

comment 2w ago · link · parent

The reason why open source couldn't win search and social was because they need network effects which is not possible for open source maintainers.

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

https://ytch.tv/

reminds me of

comment 1mo ago · link · parent

Saying I don't understand Quantum Mechanics is like saying, "I don't understand how attention/transformers explain the human brain."

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.

comment 1mo ago · link · parent

Try tabularray.

comment 1mo ago · link · parent

so you fell for jxl propaganda. everybody who work with images for a living, knows that jxl has always been shit compared to avif.

comment 1mo ago · link · parent

https://terminal.sexy/

comment 1mo ago · link · parent

I used to hate font ligatures until I discovered Commit Mono (my all time favorite monospace font). They use the ligatures only to adjust spacing and make it look better on a monospace grid. No stupid <=, -> ligatures or anything else.

comment 1mo ago · link · parent

Can you please tell me what settings get auto re-enabled? I use Telegram as my primary messenger app. I just want to make a more informed decision if I should switch to Signal or something.

21.

Turn Linux commands into Android applets and automations(github.com ↗)

2 points · by boltzmann64 · 1mo ago · discuss

comment 1mo ago · link · parent

have you tried Moondream?

https://docs.moondream.ai/

comment 1mo ago · link · parent

Learn SQL and interface with Duck. You will be 100x faster than Pandas/Polaris duo at fraction of memory. Also SQL is supported literally everywhere with a much more capable than Pandas API. Duck outputs to a Pandas Dataframe, but just treat that like a dictionary. Do all your processing, filtering and aggregation in Duck.

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.

comment 2mo ago · link · parent

i remember some linux kernel dev got ousted by the community because he/she wanted to not implement a backdoor that would compromise the results of /dev/urandom.

comment 3mo ago · link · parent

this is is not new. we have had factory model (forking the initial window) in terminal emulator since 1990s.

comment 5mo ago · link · parent

or just rotate it by 45 degrees and pretend it's a pascal's triangle.

comment 5mo ago · link · parent

then, why does 222 look blue/green and not dark gray?

comment 5mo ago · link · parent

Wait. i am already struggling with 50 columns for the title, now i have add this `<type>[scope]:` bloat to it? How are these people doing both "Conventional Commits" and 50-72 at the same time?
12