News for hackers. Stuff that matters.

nf-x

Show HN: Go (style) linter for dangling package-level functions

https://github.com/nfx/go-ownfunc

I'm one of those who doesn't like dangling top-level functions polluting the package namespace and has to belong to some type via receiver to make some logical sense and "feel less cluttered" after decade in the other language ecosystems. After leaving this exact complaint (among others) in hundreds of PR reviews, I thought it's going to be fun automating this, as wanted to dig through...

( Read More... | no comments | on HN )
Re:JetKVM Mini on Sunday September 13, 2026 @07:35AM (#49682844)
Using one for couple of months so far. I need it once a month for a couple of hours or so, but it saves me 3x more time, so money well spent. But wow, at 3x less price tag it a deal!
Re:D2 Is Non-Profit on Sunday September 06, 2026 @08:04PM (#49592261)
Oh, does that already integrate with GitHub? Need to check how it deals with layouts and arrows in comparison to Mermaid
By the way, what can you tell about Roon as an active user? It costs as much as Qobuz, but it’s your responsibility to fill up your library and provide infrastructure - which is weird. Sure, it sponsors musicbrainz and lastfm for metadata and puts some nice UI, gets buddies in HiFi manufacturers, but what else?..

I’m very surprised that Roon does UNPnP for own port, potentially exposing home network through some zerodays. For that money it has to do reverse tunneling or something like that.

Local library playback has always been a challenge when the size is in tens of thousands. But after that the main challenge is headless networked playback from separate subnets - e.g. one great stereo system controlled by multiple members of the household from multiple devices
This is one of the best blog longreads I have enjoyed in a while!
to begin with, why not setting validity for 1hr? you don't need to onboard an untrusted tool then.
i wonder when Claude/Codex would start baking it as first-party features
there are so many great tools in the baseline core infrastructure. and there's so much NIH syndrome still.

appreciation and OS aside, systemd-creds relays long-lived creds into long-lived processes, and author's AI slop attempts at short-lived/on-demand injections. Apparently, author's AI slop gets a lot of iterations, but has not much of external scrutiny yet.

keepass is great, because it doesn't require any service to operate - it's just a file. technically, you are responsible for backing it up, but more centralized options possible. I used it for 4 years pre-touchID era in a corporate setting and it worked great. For a single device. UX was very "open source", but hey - it's a free software with other focus in mind.

i know other people partitioning their secrets into multiple keepassx vault files, so the argument about using the same password manager can be interpreted differently.

But the IPC is process-wide, not vault-dependent. And requires touch approval on every access, without “trust this process for X minutes” possibility.

Other 1pass is a great UX. It was even greater before Electron refactor and non-subscription model.

How funny it may sound, but I was recently researching around for these kinds of tools for the same exact purposes.

Where I got stuck was at the Secure Enclave storing biometric-crypted payloads in the keychain, but couldn’t get it to work without Apple Developer subscription for code signing, otherwise these features wouldn’t work. And nobody with an Apple Developer subscription wants to sign someone else’s code, obviously. I really wonder why Apple itself, or any other reputable company, didn’t publish an utility like this already - it’s also a trust issue, when you run code like this.

The issue is that /usr/sbin/security invocations can be obscured to read from keychain, but require password typing every time, which is annoying. And lazy people can just hit “trust” by mistake. And then it’s just another clear text, but more annoying to reach.

Even though, it may be possible to show a touchID prompt in two other scenarios: - encrypting payload with a key stored in the enclave - then it becomes closer to SOPS approach. Age plugin for sops also supports using private keys on yubikey, by the way. But SOPS UX feels clunky. - just calling the APIs to show touchID as part of the application logic, like all modern password managers do. But then you really have to trust the password manager or the tool that does it, because touchID doesn’t equal security in this case.

Some password managers support CLI, SDK, and Terraform providers for working with their secrets, but that requires an IPC enabled, potentially increasing the risk for the other secrets stored in the same password manager.

Oh well, tough choices everywhere.

Re:France to ban unsolicited telemarketing calls on Tuesday August 11, 2026 @06:22AM (#49255878)
some of the third-party apps can show if a number is potentially a spam or a business. it's handy when your phone number is listed in the business directory to avoid those annoying calls.
How much of it is written by AI?
Re:Show HN: Davit, a Apple Containers UI on Tuesday July 07, 2026 @04:32PM (#48823321)
Looks neat, need to give it a spin
Re: on Tuesday July 07, 2026 @04:17PM (#48823122)
Looks very slop, but it’s a good idea. The main difficulty is that no big name is hosting a witness.
Re:Official Python SDK for Databricks on Wednesday June 28, 2023 @01:52PM (#36510047)
Interesting. Does it run from notebooks? It has been the biggest challenge so far.
Re: on Monday April 24, 2023 @03:59PM (#35692352)
In fact, many data teams are guilty of overlooking critical questions like “Are we actually monitoring the data?” after deploying multiple pipelines to production. They might celebrate the success of the first pipeline and feel confident about deploying more. Still, they need to consider the health and robustness of their ETL pipeline for long-term production use. This lack of foresight can lead to significant problems down the line and undermine trust in the data sets produced by the pipeline.
Re:Fingerprinting Linux process trees with Rust on Wednesday April 19, 2023 @06:54PM (#35634326)
Could you share some data from your experiment?
Re:Exposing Azure Storage on Domain Apex with Let's Encrypt SSL on Thursday February 23, 2023 @04:47PM (#34917000)
How to expose an Azure Storage Account through a top-level domain with the Let’s Encrypt SSL certificate you can get for free, almost all via Terraform.
Re:Ask HN: Value Assessment for Internal Projects on Monday February 06, 2023 @10:48AM (#34679097)
I think you should have couple of chats with different department leaders about what they think and capture systematized feedback somewhere. This will show value prop exactly for your org, exactly for the values your company operates with.
Re: on Monday February 06, 2023 @10:38AM (#34678940)
Typical problems Dependabot solves range from updating direct upstream dependencies when they get a patch release to propagating the security vulnerabilities your upstream projects have already fixed. If you have minimal time and don’t have a whole team of people to manage dependencies, Dependabot is a solution for you.
Re: on Wednesday January 25, 2023 @04:05PM (#34524179)
Driving unit test coverage is essential but very dull. We need to make it as fun as possible. And for the “shippable” OSS products, it’s vital. In the SaaS world, you roll out an emergency release for all users. Once a user downloads something and runs it in their environment — it’s done. You cannot effortlessly swap the binary artifact. And if it’s broken — it’s your fault. The best way to prevent this is decent unit-testing coverage. This time we’ll cover something boring and automatable — API calls to a predefined service. The most time-consuming activity is writing fixtures. They represent the state of the world for the system under test. Different systems need different complexity of fixtures, especially for multi-threaded applications.
Re:Ask HN: Best way to keep the raw HTML of scraped pages? on Friday November 11, 2022 @11:55AM (#33563242)
Did you try using some of the cheap cloud storage, like AWS S3?

Show HN: Structured HTML table data extraction from URLs in Go

https://github.com/nfx/go-htmltable

This library aims to be something like pandas.read_html or table_extract Rust crate, but more idiomatic for Go.htmltable enables structured data extraction from HTML tables and URLs and requires almost no external dependencies. Tested with Go 1.18.x and 1.19.x. Complex tables with row and col spans are natively supported as well.

( Read More... | no comments | on HN )
Re: on Thursday September 29, 2022 @11:24AM (#33021986)
Do you ever wonder if you should include a third-party library in your code or not? Sometimes it’s worth it, but mostly it’s not. Here’s a quick way to tell: …
Do you ever wonder if you should include a third-party library in your code or not? Sometimes it’s worth it, but mostly it’s not. Here’s a quick way to tell: If the library is doing something you don’t comprehend, or if it’s doing something you could do yourself with little effort, then don’t use it. The only exception to this rule is if the library is doing something that would be very difficult or time-consuming to do yourself. In that case, it might be worth using the library even if you don’t fully understand it.

Older »