HNHacker News
TopNewBestAskShowJobs

worksonmine

636 karma · joined September 16, 2021

submissionscomments
worksonmine··on SQLite in Production: Lessons from Running a Store on a Single File
Interesting choice to change the time of the comment, a deja-vu can be weird enough without staring at a comment with a recent timestamp.
worksonmine··on Media scraper Gallery-dl is moving to Codeberg after receiving a DMCA notice
Didn't know about this project, looks useful. Thanks for bringing it to my attention, FAKKU.
worksonmine··on Claude Code's source code has been leaked via a map file in their NPM registry
> Why even use else if with return...

What is the problem with that? How would you write that snippet? It is common in the new functional js landscape, even if it is pass-by-ref.

worksonmine··on AI overly affirms users asking for personal advice
They are amazing tools, but when people try to give them agency someone has to explain it in simple terms.
worksonmine··on AI overly affirms users asking for personal advice
It doesn't try to do anything. It doesn't work like that. It regurgitates the most likely tokens found in the training set.
worksonmine··on I put all 8,642 Spanish laws in Git – every reform is a commit
Hey! How can I make this about LLMs?

(Many countries' laws are already available online and included in the dataset they're trained on. The project is very cool for humans though.)

worksonmine··on Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016)
> Those are opt-out. The entire discussion is about opt-in.

Depends on your perspective, to me you have them flipped, and enabling them is "opt-in", i.e: "now I would like to see the hidden files please".

But I don't think I misunderstood you. You're telling me I should prefer hidden files to be the default, and I disagree and give my arguments. It's not more complicated than that.

To me rg only follows the same principle as the rest of my tools, fd requires `-H/--hidden`, ls `-a` or `-A` and so on. It is a big reason to why I prefer rg and fd over grep and find. Which brings us back to your first comment:

>> You started using it because it had that capability I imagine, not because it is the default.

worksonmine··on Shell Tricks That Make Life Easier (and Save Your Sanity)
And if you set `set editing-mode vi` in ~/.inputrc (readline configuration) you'll have it in even more places.
worksonmine··on Shell Tricks That Make Life Easier (and Save Your Sanity)
What is it like to be this proud of not learning the tools you use? Do you really think several paragraphs to an agent that may or may not be correct is the "easy" way compared to just checking the manual for the flag you want?

I will never understand people like you.

worksonmine··on Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016)
I use very short aliases with fallbacks to standard tools if ripgrep/fd/bat/... isn't installed. For my use searching files in `.gitignore` is useless 9/10 times, why would I want that to be default?

> Or if it came with a short flag that could work too

It does, `-.` for hidden and `-u` for hidden + ignored.

worksonmine··on Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
Or just don't install every package on the earth. The only supply-chain attack I've been affected by is xz, and I don't think anyone was safe from that one. Your solution wouldn't have caught it.

Better to enforce good security standards than cripple the ecosystem.

worksonmine··on Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016)
No, because it was default.

> You could easily just alias a command with the right flag if the capability was opt-in.

I tried a search to make grep ignore .gitignore because `--exclude=...` got tedious and there was ripgrep to answer my prayers.

Maintaining an alias would be more work than just `rg 'regex' .venv` (which is tab-completed after `.v`) the few times I'm looking for something in there. I like to keep my aliases clean and not have to use rg-all to turn off the setting I turned on. Like in your case, `alias rg='rg -u'`, now how do you turn it off?

worksonmine··on Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016)
> Really dislike it defaulting to that ignoring files that are ignored by git.

It's the reason I started using it. Got sick of grep returning results from node_modules etc.

worksonmine··on Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
So if I'm developing something I want to use and the community finds it useful but I take no contributions and no feature requests I should have to find another person to deal with?

How do I even know who to trust, and what prevents two people from conspiring together with a long con? Sounds great on the surface but I'm not sure you've thought it through.

worksonmine··on Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
And how would that work for single maintainer projects?
worksonmine··on Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016)
> You can't in most corporate env machines.

Really? "most" even? What CAN you do if you can't edit files in your own $HOME?

worksonmine··on Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016)
Do something like this to fall back to plain grep. You will somehow have to share these configurations across machines though.

    alias g=grep
    command -v rg 2>&1/dev/null && alias g=rg
worksonmine··on Log File Viewer for the Terminal
It's a nice tool but I really wish the configuration wasn't done in json and loaded from $XDG_CONFIG_HOME.
worksonmine··on Liberated Systemd
> Regarding this info being exposed to websites is not up to systemd. If for example firefox were to expose this info to websites without my consent I'd support a fork of firefox or stop using firefox.

> As long as the info does not leave my computer I feel it is fearmongering to call it mass surveillance.

You have to consider the timing and context of the change. What systemd does here is enabling Firefox to share that data (I'm guessing they'll be the last to comply though, Chrome and Safari will jump on it). If you would choose a fork of Firefox over Firefox exposing your data to websites, why are you so eagerly defending systemd exposing the same data to applications?

I tend to apply the same principles to all and react as soon as possible instead of waiting until it's too late. What use is there even of the field if it only stays on your machine, I assume you remember your own birthday?

worksonmine··on Fyn: An uv fork with new features, bug fixes, stripped telemetry
I know what an environment variable is, my question is why name them `UV_` instead of `FYN_`? I thought that would've been obvious for exactly the same reason you mention, it should be named for the application they belong to.
worksonmine··on Fyn: An uv fork with new features, bug fixes, stripped telemetry
Why prefix the settings `UV_CACHE_MAX_SIZE` and `UV_LOCKFILE` with `UV_` if they're new features? Makes no sense.
worksonmine··on Liberated Systemd
> Have I summarized the situation correctly?

No, I don't care about either. It can be argued the full name is technically useful for the system administrators on a multi-user system, but I digress. They can add whatever field they want as long as it's optional.

I do however have a problem with regulating what an OS is required or allowed to do and what it has to collect and expose. Linux wasn't created in the US and there's no reason to comply with the California regulators. Will an empty birthdate field really comply with the law? Is that a fact as you claim?

> Do you not see the discrepancy in your position?

I see you reading more than what I'm actually saying. Breath and re-read what I've said and you will notice that I haven't (until this comment) mentioned my position.

While you're at it maybe answer the questions I asked you instead of replying with more questions, I'll quote them for you:

>> Do you think it's a good idea for operating systems to comply with 1 or 2 exceptionally retarded state laws? The full name is as far as I know never exposed to websites right?

worksonmine··on Liberated Systemd
Maybe, what's your point?

Do you think it's a good idea for operating systems to comply with 1 or 2 exceptionally retarded state laws? The full name is as far as I know never exposed to websites right?

Computers need to stay what they've always been. Chips that we run our programs on. Linux is the last free (as in freedom) option and they will try to take that away too.

worksonmine··on Liberated Systemd
I'm a little special and use a hack so I don't even have to provide my e-mail address on git commits to prevent leaking it in my git history. So probably not in my case, but I understand your concern and a lot can be done to improve OS privacy. But "they already know what you eat for breakfast" is not a valid argument to reduce privacy further.
worksonmine··on Liberated Systemd
I believe Debian doesn't ask for a e-mail address on installation, but the username is obviously necessary if you're going to login. I leave "Users full name" empty and it's fine.

The e-mail address also has a use, for important notifications. There are cases where the OS tries to send an email. But as I mentioned, I don't even know where to set it I've never been prompted and if I was I would leave it empty.

worksonmine··on Cockpit is a web-based graphical interface for servers
These all sound like tasks a real sysadmin wouldn't attempt. File browser on a server? Use mv and you can move as many files as you want, sure you'd need a keyboard but I don't see how I would do it with mouse only. Right-click and select multiple? I don't know but it's not a feature I'd even thought of.

Cockpit is great to get a quick glance at the state of servers, but for actual work the terminal is more convenient. Appreciate it for what it is and don't expect a full desktop environment to be included.

worksonmine··on Illinois Introducing Operating System Account Age Bill
$today - 1970-01-01T00:00:00
worksonmine··on Node.js needs a virtual file system
Node has sandboxing these days: https://nodejs.org/api/permissions.html
worksonmine··on Office.eu launches as Europe's sovereign office platform
I can't find any info about the people behind it. The branding, mentioning "The Hague" and the rest of the landing page seems to try really hard to fool me into believing this is official from the European Union, I wouldn't trust them with anything, just get Libreoffice.

Be careful.

worksonmine··on Hollywood Enters Oscars Weekend in Existential Crisis
I don't want fame, but if I did I would want a lot of money to give up my freedom to be chased by paparazzi for the rest of my life.
← PreviousPage 2 of 25Next →