HNHacker News
TopNewBestAskShowJobs

iambvk

179 karma · joined August 11, 2009

bvk dot other at gmail dot com
submissionscomments
iambvk··on Platform-independent SIMD in Go
What he probably means is data-races in go can result in memory/type unsafe accesses -- I suspect, likely due to slice types -- not sure if that is true/false.
iambvk··on TLS certificates for internal services done right
I like this approach. Thank you.

Would it work if a user's device that is already connected to the VPN, but has custom DNS override to say 8.8.8.8 ? How can I allow my users to be able to use 8.8.8.8 DNS override and still work seamlessly?

iambvk··on Bootimus – A Self-Contained PXE and HTTP Boot Server
There used to be a Debian Live iso builder website for building custom Debian Live isos. It probably is discontinued, I can't seem to find it anymore.
iambvk··on A million ways to die from a data race in Go
Only looked at the first two examples. No language can save you when one writes bad code like that.
iambvk··on Memory Safety for Skeptics
Thank you.
iambvk··on Memory Safety for Skeptics
> No, it does not always crash.

Can you give me an example that I can reproduce?

iambvk··on Memory Safety for Skeptics
> No. It's undefined behaviour, it may do anything or nothing.

This is clearly nonsense.

iambvk··on Memory Safety for Skeptics
Doesn't null-pointer-dereference always crash the application?

Is it only an undefined-behavior because program-must-crash is not the explicitly required by these languages' specs?

iambvk··on Memory Safety for Skeptics
What is the justification to call `Null pointer dereference` as a memory safety issue?
iambvk··on Myna: Monospace typeface designed for symbol-heavy programming languages
My favorite monospace font is "Ubuntu Mono" for ages.

As an engineer, I like to see -- for the lack of better word -- some taste instead of characters being too formal and too symmetric. Ubuntu and Ubuntu-Mono satisfy this to a good extent without being too much, like in comic sans.

The closest font with similar taste, which I found recently is Mononoki

iambvk··on Why the hell does Android even exist anymore?
This is a necessary condition for CBDC goals (now being marketed as Stablecoins).
iambvk··on My Foray into Vlang
I am actually more interested in removing/reducing even more features from Go than adding more features.
iambvk··on FFmpeg 8.0 adds Whisper support
Is anyone able to get streaming audio to text conversion working with whisper.cpp?

I tried several times to get this into a reasonable shape, but all have been failures. If anyone has pointers I really appreciate it.

iambvk··on I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
Peter does this every few months on Hackernews.
iambvk··on Systemd has been a complete, utter, unmitigated success
I am not a sysadmin -- so I keep forgetting the command to see logs cause I only need it once every 3 months.

So, systemd change is a pain for me.

iambvk··on The 5 levels of configuration languages
IMO there is another level in between 3 and 4 where config file allows for cross referencing among config values, forming a graph.

   foo.password = xxx
   bar.password = yyy
   wifi.ssid = foo
iambvk··on Time to Take a Stand – Sam Altman (2017)
Yeah, they sure forget their faults fast.

The amount of hatred Dems showed openly during 2016 election run was truely something special.

iambvk··on B-Trees: More Than I Thought I'd Want to Know
I am working on implement on-disk B+Tree for the last few months. Man, keeping the on-disk state consistent with proper locking is a real challenge -- specially when we want to avoid IO-holding-mutex. And forward/backward iterators make me doubt the correctness.

All this with just fixed size keys/values. I am yet to start on variable sized keys and values, but I already want to give up on my initial performance targets.

iambvk··on EmacsConf 2024 Notes
> The total hosting cost for the conference was USD 42.92 + tax and the BBB testing in the lead-up to the conference was USD 3.11 + tax, so a total of USD 46.03+tax. The web node and the livestreaming node are kept as 1GB nanodes the rest of the year (USD 5 x 2 servers + tax, so USD 110). Very manageable.

How does this compared to all other conf costs?

iambvk··on Ghostty 1.0
Cool. Thanks.
iambvk··on Ghostty 1.0
Does this support the non-standard key-press, key-release, etc. events proposal by kitty project? They are necessary for nicer terminal UI projects.
iambvk··on 1B nested loop iterations
Thanks for this information. I wasn't aware that using 64-bit ints makes such a big difference in performance. Thank you.
iambvk··on 1B nested loop iterations
Golang folks, after looking at the code, I am surprised and don't understand why Go version is slow compared to C/C++/Rust. Can anyone please explain? Thank you.
iambvk··on Dysfunctional Options Pattern in Go
What are the downsides of just adding new methods on the `Config` structure?

    func (c *Config) WithFizz(...) {...}

    func (c *Config) WithBazz(...) {...}
iambvk··on A 2024 plea for lean software
> ...since they can't be bothered to write the 3 lines of code...

They actually think saner devs have not-invented-here syndrome :0

iambvk··on How the append-only btree works (2010)
It is: two writes for write ahead log vs. log-n (tree-height) writes for CoW
iambvk··on How to Sell a War to the American People [video]
After being through weapons of mass-destruction narrative sold to us by mainstream media to justify the Iraq war, it is very disappointing to see younger Americans parroting every mainstream media narrative, without a question nowadays.

I sometimes wonder if I should just leave US forever, to not be part/beneficiary of its future atrocities.

iambvk··on The simplicity of single-file Golang deployments
A system with shared libraries also needs an update for the security fixes. There is no avoiding the update step. However, the only difference is the size of the update. If update process is robust, size of the update shouldn't matter, isn't it?
iambvk··on It's TCP vs. RPC All over Again
Destination port number should be sufficient.

For example, imagine if there are two sockets established between server and client processes (due to multiple ips or roaming, time lags, etc.), then in theory, request received from one socket could be responded through another socket. From application pov it doesn't need to care about the socket. We can do this over TCP, but connection-oriented nature of TCP makes this weird.

iambvk··on It's TCP vs. RPC All over Again
Good to learn a bit of history about TCP.

It always felt weird developing RPC layers on top of TCP cause requests and responses end up tied to the underlying socket -- which doesn't need to be the case ever.

Page 1 of 5Next →