HNHacker News
TopNewBestAskShowJobs

Svoka

941 karma · joined December 22, 2013

[ my public key: https://keybase.io/svoka; my proof: https://keybase.io/svoka/sigs/-iJ0fbzb65K4En6duR8BRzI94KpzPWSpaxb1WuY9EwQ ]
submissionscomments
Svoka··on I found a useful Git one liner buried in leaked CIA developer docs
I work with GitHub, so this oneliner relly helps me out. It also doesn't rely on grep, since --format have all you need:

    git branch --format '%(if:equals=gone)%(upstream:track,nobracket)%(then)%(refname:short)%(end)' --omit-empty | xargs --verbose -r git branch -D
It deletes all the branches for which remotes were deleted. GitHub deletes branches after PR was merged. I alias it to delete-merged
Svoka··on Gemini 3.1 Pro
I was careful not to draw binary. I was saying that Opus in Claude Code is good enough for me to make projects. Using Gemini after it seems like a significant downgrade, which actually doesn't get the job done helping me code. This is my experience, it can change if Gemini will get better.

However, for internal use I opt to Gemini, because of API cost. It is great in sorting reviews and menues out.

Svoka··on Gemini 3.1 Pro
While price is definitely important, results are extremely important. Gemini often falls into the 'didn't do' it part of the spectrum, this days Opus almost always does 'good enough'.

Gemini definitely has its merits but for me it just doesn't do what other models can. I vibe-coded an app which recommends me restaurants. The app uses gemini API to make restaurants given bunch of data and prompt.

App itself is vibe-coded with Opus. Gemini didn't cut it.

Svoka··on 27-year-old Apple iBooks can connect to Wi-Fi and download official updates
Downgrading network to 2.4G is probably all they needed.
Svoka··on Minecraft Java is switching from OpenGL to Vulkan
Honestly pick between Vulkan and DX12 is very superficial.

But you can easily make Vulkan run on macOS. Not sure what would be the reason to use DX12 in the new project today given free choice of technology, especially when team comes from OpenGL.

Svoka··on Lost Soviet Moon Lander May Have Been Found
Westerner's fascination with russia is what baffles me.

Only 'special' weapon russia has is a disregard to human life westerners can't even comprehend for some reason. They call it 'winter' or some other silly thing. All their 'achievements' can be traced to inhumane treatment of enslaved peoples. Whatever achievement you think russia had - you just just lift the top soil, no need to dig deep, to be absolutely disgusted by what it was built on.

Ukraine is not weaker, it is smaller. Big difference. It was a powerhouse of the USSR, producing majority of talent. Be it in Ukraine or deported to Siberia. Russia is, and always was, a parasite on other peoples.

Svoka··on Why medieval city-builder video games are historically inaccurate (2020)
I urge you to try Ostriv. Ukrainian medieval villager community simulator.
Svoka··on 6-Day and IP Address Certificates Are Generally Available
I wonder if the support made it to Caddy yet

(seems to be WIP https://github.com/caddyserver/caddy/issues/7399)

Svoka··on The unbearable frustration of figuring out APIs
This is strangest read I had in a while. It is like saying that operating a submarine is very counter intuitive, I know how to operate an airliner, both are vehicles.
Svoka··on Apple Creator Studio
Pixelmator probably is Lightroom. And adobe has "Photography Bundle" with Lightroom and Photoshop for $20/mo.
Svoka··on Embassy: Modern embedded framework, using Rust and async
This channel contains videos of journey from setting up environment and busy wait embedded LED blinking, to basically re-inventing and then using Embassy. 4 oldest videos.

https://www.youtube.com/@therustybits/videos

Svoka··on C Is Best (2025)
Ah, C has stable ABI unlike C++, never would get tired of unresolved std::__1 symbols.
Svoka··on C Is Best (2025)
What would be a reason to bring Zig in?

For example, Rust has additional memory guarantees when compared to C.

Svoka··on Going immutable on macOS, using Nix-Darwin
You can just not use it at all, there are alternatives.

Why do you want to get rid of something which you are not forced to use?

Svoka··on Going immutable on macOS, using Nix-Darwin
How do you manage macOS desktop apps with those, I am confused. The article is about set up of a personal workspace.
Svoka··on Hacker News front page now, but the titles are honest
I hired many many people and never once I cared about GitHub stars. Not even sure what signal it suppose to be.
Svoka··on Announcing the Beta release of ty
Very excited to see this. I thought that speed does not matter much for python tooling, but then I tried uv, and realized that I was wrong. The experience is just better. Looking forward to see more high performance quality tooling for Python.
Svoka··on Awesome-Jj: Jujutsu Things
Yes, I got lost when trying to sync with remote repo from two machines. I'll give it another try.
Svoka··on Awesome-Jj: Jujutsu Things
I really do want to learn and love it. It seems I love all the things which are told about it, but, I think JJ has a tutorial problem. I would really want something which focuses on concepts of it rather than workflows. May be some diagrams? I know that JJ-ists think that it is very easy to understand wall of cli printed text, with ascii trees and hash prefixes in bold, but it really isn't. Especially for target audience of tutorials (folks new to JJ).
Svoka··on The choice between Rust and C-derived languages is not only about memory safety
I think this is weirdly resonated with me. I used moved to Rust from C for embedded programming, and realized that my whole paradigm shifted on how I write programs.

Rust is much more than safe(r) C, it is different approach of architecting apps to have safer relations between components. Now that I am looking at my old code, I see how it would benefit from this paradigm.

And it also a 'problem' with Rust - it requires one to think differently. You can write Rusty code in C, and indeed results are just better, but trying to write Rust in C style would lead to fighting compiler and suffering.

Other languages, like Zig or Go, they chose different approach - to decorate C with modern features, and that works too.

Svoka··on Google releases its new Google Sans Flex font as open source
It seems it is actively anti-DEI: https://fonts.google.com/specimen/Google+Sans+Flex?preview.t...
Svoka··on Google releases its new Google Sans Flex font as open source
I am a simple person. Not a designer. But for all fonts I type 'iIlL0Oo' and if I can't tell what is what I skip it.

This font fails hard.

Svoka··on Rubio stages font coup: Times New Roman ousts Calibri
I could consider anti-DEI sentiment that 'people jumping the lane' as morally acceptable (valid by itself but based on wrong assumptions), but this, this is just evil. Like why would you change font because it is harder to read for someone?
Svoka··on Patterns for Defensive Programming in Rust
Article mostly focuses on code practices to avoid making logical mistakes when iterating on your program.
Svoka··on Why we built Lightpanda in Zig
The biggest reason against Rust is 3 year old article from personal blog. Trying to reproduce benchmark result from it result in failure because Zig code fails to compile.

Meanwhile Rust compiles just fine. Even updating toolchain to newest causes no issues and benchmark still runs. All I had to do is remove pinning to old toolchain, and bump language version to latest. Also changing dependency version to latest worked without an issue.

You'd think that performing all advanced memory manipulations you would want all the safety you want, but hey. Zig is cool this days.

Go figure.

Svoka··on Why we built Lightpanda in Zig
No, you don't.

Lets be honest Zig is a shiny new shit for people who doesn't want to learn and want everything to be familiar but new.

Criticism of it is not allowed and would be downvoted by bandwagon fanboys.

Svoka··on Why we built Lightpanda in Zig
I was using C++ and C for decades, and I do a lot of embedded programming for fun. I switched completely to Rust about half a year ago. Friction went away very fast. Fun thing is that looking at my old C code now I see so many pitfalls I was oblivious about, just because I started to use Rust.

I mean, Rust does have a learning curve, but its complexity is overexaggerated imo. Yes, you have to learn something new, but how it is a problem?

I don't understand why pick language because it looks familiar and you don't have to change how you think. For me that is basically a problem with Zig - I can do everything Zig does in C++, having decades of libraries and infra while Rust actually contributes to the end product.

Svoka··on Show HN: Fixing Google Nano Banana Pixel Art with Rust
I guess writing something in Rust is cool. I believe that wanting to be cool is a fundamental human desire.
Svoka··on Coq: The World's Best Macro Assembler? (2013) [pdf]
This is great. I honestly never thought of computer as a register state and instructions/asm commands as functions applied to it. But that makes so much sense.
Svoka··on Roblox is a problem but it's a symptom of something worse
Honestly, just another demonstration that lay people are unable to think of groups of people larger than a hundred.
← PreviousPage 4 of 16Next →