Better HN
topnewbestaskshowjobs
Log inSign up

darnir

249 karma · joined Nov 2, 2016 (10y ago) · 64 submissions

Submissions

comment 5mo ago · link · parent

Funnily, I have been that guy at the last 3 places I've worked at. Every place has some amount of cruft code, and I love sniffing it out and deleting it.

comment 6mo ago · link · parent

If you end up doing that, please post it here. I'd be a very happy user of that extension

comment 1y ago · link · parent

Uhh. No. That's a common misconception held by people that don't actually read their T&Cs. Your worth authorization is tied to "a" employer for the first two years. The employee is completely free to quit and enter into a contract with another employer. All you have to do is go get the name of the employer updated. It's just a formality and nothing else.

Yes, you have three months to find a new job if you're fired, but it's Europe, you most likely got at least a 3 month notice as well.

comment 1y ago · link · parent

One of the previous times this was posted, someone offered to print and ship them. I got a A2 sized canvas print. It hangs in my home office now.

comment 1y ago · link · parent

Anecdata don't make facts

comment 2y ago · link · parent

I applied to one of those positions at Canonical. Their hiring process is so bad, I noped out. No wonder they have open positions all the time, since serious engineers are not going to put up with those shenanigans.

What does my high school GPA and traits have to do with my work as a senior kernel engineer? It reeks of cliques and I want nothing to do with it.

comment 2y ago · link · parent

It should not break `--page-requisites`. If it does please file a bug report with a reproducer

comment 2y ago · link · parent

That's pretty easy with Wget. You can use `--accept-regex` to define the paths your recursion should follow.

comment 2y ago · link · parent

Just a heads up, but you've swapped the links and the titles.

comment 2y ago · link · parent

That's a very nice summary. But you're missing one crucial point. These are GNU tools and if you use them within that ecosystem, you also often use gnulib.

Gnulib is effectively the GNU Portability Library. Your fancy, new, auto generated configure script can find all the differences, but someone still needs to account for them and write alternative code to support the various platforms. This is where gnulib comes into play. It reads all the configure checks and plugs in replacements / stubs for whatever is different. This allows you, the developer to simply target GNU/Linux in your code while gnulib handles everything else (and pretty automatically) making is portable across all the unices and even non UNIX systems.

comment 2y ago · link · parent

Well, yes. And I chose to exercise that right.

The point of the anecdote is to supplement the parent poster by stating that their hypothetical scenarios are already happening.

We should have better testing and more eyes on incoming code for projects we depend on. But my point I guess is that vetting maintainers is not an option.

comment 2y ago · link · parent

This exact thing happened to me. I maintain a fairly popular free software project. A few years ago, I received an email from a nasa.gov domain claiming that they want to use the project internally and are auditing all their suppliers. They wanted documentation on me and on how I audit my supply chain for the project. Not cool. I don't have time for these shenanigans in my personal time.

comment 2y ago · link · parent

That used to be a fairly common standard. You'll notice nearly all the old GNU / BSD tooling use this paradigm. It is even codified in GNU's coding principles. In fact, when you do that, you can even merge all the single character flags together. For example, I can type, `ls -lah` instead of `ls -l -a -h`. Pretty handy.

My pet peeve is commands not supporting -h for help and making me write --help. This is especially worse when the command already supports single character arguments.

comment 3y ago · link · parent

Specifically in the case of paperless-ngx, I use their export facility from a cron job. The export is plaintext and contains all the information needed to recreate the postgres db and the learned identifiers. In case of a disk failure (and I've had one with my paperless store), I just reimported the previous days backup from my offline backup of paperless' export.

comment 3y ago · link · parent

The only hard dependencies are Redis and Postgres. The official stance is to run them from the provided docket compose and the container for paperless-ngx itself is kept updated and working for the stable containers of redis and postgres.

Tika and Gotenburg are additional features for scanning and converting MS Office documents to PDF. Not necessary and I don't use them in my setup at all. Same with sftpgo. I'm not sure for its usecase. But paperless doesn't directly depend on it in anyway.

comment 3y ago · link · parent

Yes, you can :)

comment 3y ago · link · parent

A new option to strip query parameters from the output filename would be interesting. But its not so simple. When combined with recursion, one will often see a lot of pages with the same name but different query parameters. How should they be stored on disk? There's a couple of different issues I can think of.

However, if the potential issues can be resolved with sane defaults, I think this would be a great new switch to add.

comment 3y ago · link · parent

The -O option, not the -o option. The capital O sets the output file, while the small o in your comment sets the log filename.

comment 3y ago · link · parent

Wget will give you an equivalent with the --content-dispisition flag. I would like for it to be the default, but it would likely break backwards compatibility with some scripts that except a different output filename.

comment 3y ago · link · parent

If you like the timestamp function, this is available as a tool in the `moreutils` package as `ts`. You can simply pipe the output of any command to ts and have a timestamp prepended to each line it outputs. Extremely useful for streaming logs

comment 3y ago · link · parent

You're absolutely correct and if I'm not wrong this is a common loophole used by companies to get around the AGPL (when they really want to)

That is, contract the development to a third party. Let's say A wants proprietary modifications to an AGPL product (X). A contracts B, a solutions provider to make the changes. B is legally required to provide the changes to their X.1 product to anyone that uses it. However, only A is their direct user. Now since A did not modify X to X.1 they are not required to provide a direct download link in the application to the sources for X.1

I'm unsure if GPL style protections still apply and I as a user can request the sources from A by making an explicit request. (I guess not, since they never shared the application with me, only access to it via the network)

22.

Framework Laptop 16 Deep Dive – Battery and Speakers(community.frame.work ↗)

11 points · by darnir · 3y ago · discuss

comment 3y ago · link · parent

I thought this was an exaggeration and decided to read it nonetheless. Nope, you're right. It's a fluff piece that's extremely low signal to noise.

Large parts of it are long winding without getting to the point and then it suddenly moves to using terms that haven't been introduced.

Avoid this piece.

24.

Trace Cmd: Utility to interact with Ftrace Linux kernel internal tracer(trace-cmd.org ↗)

2 points · by darnir · 3y ago · discuss

comment 3y ago · link · parent

I wouldn't say its siloed off. Its often on popular forges like Github and Gitlab. But also on smaller ones like sourceforge, GNU Savannah, sourcehut, etc. My point being that a lot of the free software movement in India doesn't create the hot new Rust / Go app. Its more focused on smaller things or on using the existing tools

comment 3y ago · link · parent

I don't know about the others, but there are indeed people like me in India developing and maintaining non-cool, not on Github, free software. If you're here on Hacker News, there's actually a pretty good chance you've run, directly or indirectly, code I've written without even registering it.

comment 3y ago · link · parent

I'm glad you liked it. But I'm curious, why would you want to avoid f-droid builds?

comment 3y ago · link · parent

Others have mentioned Materialistic and Glider. Both are great options that I used for a few years. However, I've recently changed to Hacki. It's also in the core F-Droid repo and works great for me as a HN client. Since it will even try to notify you of replies

comment 3y ago · link · parent

That is an excellent website. Thank you for bringing my attention to it

comment 4y ago · link · parent

Its still unreadable on mobile. 10% or less of the screen is being used for the text
123