HNHacker News
TopNewBestAskShowJobs

chabad360

583 karma · joined October 7, 2019

I'm a software engineer by day, and in bed by night.

[Verifying my OpenPGP key: openpgp4fpr:4BCF3BA4BE9FC8194C6FF7BC0A6BE3C9CD4A46F4]

submissionscomments
chabad360··on Default Methods in Go
I think the one really useful suggestion here is at the end of the article. Having some way for the compiler to know that a struct satisfies a particular interface, and thereby create a fast path that sidesteps reflection would be marked performance improvement (and avoid the need for caching).

TBH, anything that can make interface casting faster/more efficient in go would be a welcome improvement.

chabad360··on Linux and Secure Boot certificate expiration
It should be noted, it is 100% possible to use Secure Boot with Linux and not be impacted at all. AFAIK, most (if not all) UEFI firmwares allow enrolling your own keys. Managing secure boot these days is as easy as installing sbctl and adding a hook to sign your kernel when rebuilding the initramfs. For the same price, as noted by the article, the key new key can be updated while the system is online without anyone being the wiser.

The FUD that gets spread around SB helps no one, and other than a small list of exceptions, you are always in control of your system.

SB allows MS to transparently enable Full Disk Encryption by default, which I think is a win for all users. It allows you to do the same on Linux. It lets server operators be sure their systems have not been tampered with. While there are many problems with UEFI, SB is not one of them.

chabad360··on Ask HN: What are you working on? (March 2025)
I'm making an NES emulator in Go. Not because other ones don't exist, but because I've been wanting to get more familiar with low level system principles, and there ain't a better way than building one.

I suppose I'll post the link someday. I literally just started today.

chabad360··on ZeroTier – home VPN without a public IP address
Tailscale does support this. Using the Subnet routing feature you can expose other devices on the network to the Tailnet. I had to use this for a while with TrueNAS because of the way it handles TS integration (eventually I moved to using a reverse proxy).
chabad360··on Google Pixel 4a's old firmware is gone, trapping users on buggy battery update
Speaking as a Pixel 4a customer with this update: I received the update, and like everyone else, my phone battery started draining incredibly quickly. However, after getting the free battery replacement, my phone's battery has returned to draining as normal (and on the plus side, has somewhat renewed the life of this phone).
chabad360··on Drawbacks and solutions for the Meilisearch document indexer
One thing I can say for sure. If you're Looking for an Algolia-like dev experience, Meilisearch is much easier to use than Elastic.
chabad360··on Two upstart search engines are teaming up to take on Google
No they do not, they have their own indexes.

https://help.kagi.com/kagi/search-details/search-sources.htm...

chabad360··on Show HN: htmgo - build simple and scalable systems with golang + htmx
That's actually something I've been slowly working on. There's a bug in the go parser tho that kinda slowed things down a lot.
chabad360··on Orion, our first true augmented reality glasses
Damn! That's a throwback. I remember reading about you guys in an airplane magazine once and getting hooked on the concept. I always wondered where y'all went...
chabad360··on Sonos CEO says the old app can't be rereleased
They were sued by Sonos for patent infringement.
chabad360··on Rustgo: Calling Rust from Go with near-zero overhead (2017)
Can you provide a reference for that? A quick search for me didn't bring up anything. I'm curious to read more.
chabad360··on Cloudflare 1.1.1.1 incident on June 27, 2024
The gist is because DNS gets updated. Your computer already has a local cache of all DNS responses it receives and relies on those until that entry expires (as set by the TTL field). If you want to run a local resolver, you can, but it wouldn't solve this problem, because you'll still need to update your cache regularly and guess how you do that? With DNS.

The next question from there might be why do DNS responses change so frequently? I don't have an exact statistic, but most of them don't (I would guess 90%), so you could probably indefinitely cache those. But the ones that do, iirc, it's usually to allow quicker changes (esp. if the site is under active development), load balancing, global distribution, etc.

I hope that's helpful.

chabad360··on Jaw-Dropping SNES Mod Fixes One of the Console's Biggest Problems
I'm rather excited to see a blog post somewhere explaining how and why this works. Considering the amount of effort the mod's creator underwent, it seems like that would be quite the treat.
chabad360··on AI headphones let wearer listen to a single person in a crowd by looking at them
This could actually be really helpful to me, as I have trouble hearing someone speaking in a busy room because my mind is trying to pick up everything (I think this is because of my ADHD). Having a way to significantly quiet out other noises aside for the voice of the person I'm speaking with would be amazing.
chabad360··on Show HN: Use Go's HTML/template to write React-like code
Except that its syntax choices are a little odd, instead of making all code inside curly braces, there are some special keywords which only mean something if they are at the beginning of a paragraph (iirc).
chabad360··on I made an open source Windows app to rewind and search everything on screen
Same, I've been looking for something like this ever since Rewind came out.
chabad360··on Roblox executive says children making money on the platform is 'a gift'
They did for a while, but recently officially broke it again.
chabad360··on Trains were designed to break down after third-party repairs, hackers find
In theory, I agree with your viewpoint. Yes, obviously, safety critical systems need to remain safe, and a workshop that isn't capable of performing maintenance to the degree mandated by the train software shouldn't be doing it at all.

That is not the case here.

If that was indeed the case, one would expect the train's diagnostic systems to report that it has detected certain issues that need to be resolved before the train will start up again. But that didn't happen, instead the train simply refused to start, no error codes, nada.

Not only that, but further investigation revealed that the train's firmware contained code that would disable the train if it was present in a competitors shop for a considerable time.

> There should be an opt out system

This mechanism for disabling the trains, was never mentioned in the discussions or contracts for purchasing the train (which is why a third-party could win the repair contract). There was never an option presented to "opt out", that is why people are saying that the trains were sabotaged.

> to what extent is that Tesla's fault?

It isnt. You made unsafe modifications that can be clearly shown to have caused damage, it's your liability.

> Say Tesla made all reasonable steps they could take to detect third party mods and refuse to start the car, do we hate them too?

Depends, did their software present an actionable error or not? If the car gave an error code, and you look in the manual and it says that too much current is going to the motors (idk), and then you fix that and the car starts? Great! But if the car just refuses to start without any indication as to what is wrong, and further even if all repairs are reversed it still no longer starts? That sounds like deliberately sabotaging third-party repair.

chabad360··on Templ: A language for writing HTML user interfaces in Go
From my brief usage it seems to lack a couple of basic stuff, but nothing that couldn't be added later on.

But, I am curious why they decided to go with reserving keywords (like if and for) instead of doing what JSX does and just wrapping any Go code in braces.

chabad360··on Blender 4.0 release notes
Probably Natron. Although, Blender is certainly catching up.
chabad360··on GPTs: Custom versions of ChatGPT
Nah, I'm in the US (with a US based account) and I'm still getting the message it's rolling out over the next few days (you have to open a sample to see that message).
chabad360··on A kernel update broke my stylus
While very annoying, it is possible to create an evdev based wrapper around the input, that can remap any of the signals as you wish (I know it's possible cause I've done it).
chabad360··on Building a Digital Audio Mixer
Yea, maybe (although I'm not able to quickly find what the teensy DSP's latency looks like), for the same price you can complain that its pre-amps are gonna suck. But on the other hand, this is much easier to implement and work with (and be cheaper) than most/any fpga systems.
chabad360··on Louis Rossmann given three YouTube community guideline strikes
I think you're greatly misrepresenting the story. The reason why one would want products that are identical to official ones (from a technical standpoint), is because they will perform better (compared to a traditional knock-off). Looking at the reddit post where the evidence for this story seems to be compiled [0], it would seem that he does exactly that. He purchases batteries from factories that over-manufacture (or were no longer under contract to make) official Apple parts. He asked them before shipping to remove/sharpie over the logo, in order to prevent them from being considered counterfeit. He was angry that Apple was able to have Customs seize products which did not belong to them and were not stolen from them (apparently this technique did not work a few times).

I definitely think that he may not have told the whole truth, but greedy sleaze-bag liar is not how he comes out in this story (at least for me).

[0]: https://www.reddit.com/r/apple/comments/9pow06/louis_rossman...

chabad360··on eBPF-based auto-instrumentation outperforms manual instrumentation
How hard is it to use Odigos without k8s? We mainly use docker compose for our deployments (because it's convenient, and we don't need scale), but I'm having trouble finding anything in the documentation that explains the mechanism for hooking into the container (and hence I have no clue how to repurpose it).
chabad360··on New data poisoning tool lets artists fight back against generative AI
The SAG and WGA protest have almost nothing to do with this. The AI debacle their worried about is either being replaced by AI versions of their likeliness (without pay) or being paid less and remaining uncredited because AI was used to write/edit (a portion of) a script, respectively.
chabad360··on Linux ate my RAM (2009)
No, that's because WSL (until v2/very recently) didn't properly release memory back to windows. This actually would cause docker to effectively leak memory really quickly.
chabad360··on Ardour 8.0
What was the main reason for keeping the select-groups from applying to control surfaces? I'm not sure what would be the point of multi-selecting otherwise.

As an aside, is there any way I can add functionality to a control surface (that isn't writing C)? I use a behringer X-Touch (heavily) and moved to Reaper because there were plugins that provided much deeper integration with my X-Touch (which as a result has me working a lot faster in certain areas).

chabad360··on Compile-time safety for enumerations in Go
No, you don't. If your module relies on compile time checks for validity, there's no reason for you to also include runtime checks. Other developers breaking your defined contract is not your responsibility, it's not even a bug.
chabad360··on Kenton's House
There is a commercial tool, https://www.ccboot.com/, that exists for your use case (gaming center with netbooted clients), and iirc they provide an option for saving CoW to a local disc.
← PreviousPage 2 of 7Next →