HNHacker News
TopNewBestAskShowJobs

vczf

123 karma · joined May 14, 2020

user='vczf'

host='hn.email.vczf.net'

echo "mailto:${user}@{host}"

submissionscomments
vczf··on Show HN: I made a Chrome Extension for automatically grouping tabs
I'm mainly a Firefox user on desktop and I don't think I'd use it there, since Firefox already has great support for containers and tab groups (Simple Tab Groups and Multi-Account Containers for me).

However, I will say that from the video demo, your extension looks really slick. It doesn't quite work in Edge (some crashes, collapse/expand doesn't work right), but I set it up in my Chromium install so I don't forget about it.

vczf··on Google pushed a bad Android WebView update that crashes apps including Gmail
In my anecdotal experience, this is also happening with Chrome webview. My mother's Galaxy S8+ had app crash issues that didn't resolve until I both disabled Chrome and pinned Android System Webview to the factory version.
vczf··on How do I safely store my files?
Fim works best for the types of files that don't change frequently, or shouldn't change at all. I use it for photos, digital art files, videos, music, books, records/receipts, etc. When I started, I put everything into fim, but there was too much noise to be useful.

Files that change frequently (password database) or won't totally bork out if there's a bit flip (text notes and org files) don't really need their integrity managed manually.

vczf··on How do I safely store my files?
There isn't a command line argument for pointing to a .fim/ located elsewhere, if that's what you mean. It probably wouldn't be hard to add that to the utility.

What you could do is put your photos subdirectory inside another directory, something like below.

    data/
    ├── .fim
    │   ├── settings.json
    │   └── states
    │       └── state_1.json.gz
    ├── photos
    └── records
vczf··on How do I safely store my files?
> That looks overly complicated

In practice, it's simple enough. I have a backup script that does all the heavy lifting for borg and rsync. Syncthing operates independently in the background, and I rarely log changes with git. The most tedious part of the process is logging new/changed/deleted files with fim.

> Why is there no single tool that can do all of those?

Good question, and I totally agree. I was actually looking for a solution that could do deduplicated incremental backups (versioning, like time machine) plus file integrity management. I couldn't find one. Nobody seems to care much about file integrity, and nowadays I'm actually unsure if this is a real problem for anyone except paranoid geeks.

Could also use a good frontend GUI that could notify you about changed files, allow you to easily mark directories for different levels of "tracking", easily browse past versions and restore them, etc. The CLI isn't doing any favors here.

> I mostly use rsync. Occasionally I destroy my backups by calling it wrongly, like missing a trailing slash. That could not happen if the copying and file integrity checking was combined in one tool

Try borg-backup, it'll be a massive improvement over plain rsync when it comes to backups.

> But it stores the database as json? That is a bad format to store file names. And written in Java it is probably going to be slow (I have over a million files in ~, and multiple copies of it in the backups, so I care a lot about performance)

Gzipped json on-disk, but I haven't noticed any problems with it over the last few years. I doubt java is bottlenecking the performance at all: it's limited by IO and CPU throughput for hashing the files. For everyday use, you don't need to hash every file in entirety to detect changes. There's a "fast" mode that checks a couple of blocks. You can also operate in a subdirectory of the repo to ignore files outside that subdirectory.

I also don't just use one massive fim repository. I have a .fim/ for each directory I care about (types of data) that a secondary scripts loops through for checking the status. That weakens the integrity guarantees since you can't log the movement of files across directories, but makes it easier to reorganize things.

> So many emojis in the commit log. Is that really necessary nowadays?

Yah, that's the most emojis I've ever seen in a git repo. Maybe 2017 was a different era.

vczf··on How do I safely store my files?
I don't think it's a good idea to depend mainly on low-level or device-specific features (in a NAS or your filesystem) to detect bitrot and corruption in files. As a user, you don't care WHY a file changed, only that it did so unintentionally.

The filesystem cannot truly know if a file being modified was intended or accidental. Sometimes a software error can wipe or corrupt a file, and a filesystem can't detect that, even if it can detect bitflips.

The data architecture I use combines, in order of importance: (1) borg, for incremental deduplicated backups onsite and offsite; (2) syncthing, for duplication and synchronization across devices; (3) fim, for managing file integrity; (4) rsync, local copy to another drive for convenient restores; and (5) git, in places where commit history is actually useful, like code or dotfiles.

fim combined with incremental backup solves this problem, is filesystem agnostic and painless to migrate around, and is for some reason completely unknown and obscure: https://evrignaud.github.io/fim/

vczf··on Acorn Woodpeckers Have Multi-Day Wars, and Birds Come from All Around to Watch
Emotions, typically.

Most decisions are made with emotional compute, influenced by biology, past experience, and present psychological state.

At the same time, being mindful and observing those emotions (predicted pleasure from the flavor, predicted guilt...) does interrupt that emotional processing and allow a "decision" to be reached in a completely different way.

Free will may only exist subjectively, but mindfulness does free the self from the emotional decision-making of the monkey brain.

vczf··on Acorn Woodpeckers Have Multi-Day Wars, and Birds Come from All Around to Watch
Why not reduce it further? Everything is matter or energy, and the entire universe can be reduced to quantum/chemical/kinetic processes.

I don't disagree with you, but I find more subjective meaning in the difference between normal cognition and metacognition, compared to viewing the system up close.

vczf··on Acorn Woodpeckers Have Multi-Day Wars, and Birds Come from All Around to Watch
Not GP, but my understanding is that free will is weak, not strong. You can suppress a desire to eat a donut (requires willpower) but can't prevent the thought/desire from arising on its own when presented with the stimulus.

Similarly, we can suppress the desire to go to war after a provocation. However, we can't choose to not feel furious, at least for an instant.

Thoughts and feeling tend to arise on their own, and free will is about whether we accept or reject them.

vczf··on Extracting video and audio from used police body cam
I think symmetric encryption would be fine here for simplicity. When it's time to wipe the drive, securely erase the key.

I'm curious as to who is responsible for not properly erasing the files: the IT department, or the manufacturer. It could be that the station didn't wipe/reset the cameras before selling them. Or they only reinitialized the file system. Or the firmware's reset function only reinitializes the file system rather than shredding the contents.

vczf··on Things to know before starting a Patreon page
Not GP, but the web interface is bog slow at loading posts and scrolling the page (once enough posts are loaded). Also, basic navigation is broken by the infinite scroll, so it's easy to lose your place in the stream and have to waste time looking for it again.

As a workaround, there's an option to filter posts by month and year. I work my way backwards a month at a time.

vczf··on iOS14 reveals that TikTok may snoop clipboard contents every few keystrokes
By and large this is true. However, the android Citibank mobile app refuses to do anything useful if you don't give it access to your entire file system upfront.

I don't think Apple would allow that kind of permissions abuse, but apparently Google does.

vczf··on Why we have so many problems with our teeth
Are you exaggerating? Or were they really brushing more than 3 times a day?

Brushing obsessively and brushing hard will strip enamel that's been softened by acids. Brushing right after a meal can lead to damage because the enamel hasn't remineralized.

vczf··on Why we have so many problems with our teeth
I think there's a link to tooth decay. If you're mouth breathing your teeth aren't being coated in saliva, so they can't be remineralized.

I read that distance runners can develop dental problems because of mouth dryness combined with sugary energy gels.

vczf··on Why we have so many problems with our teeth
What is a processed carbohydrate to you? Only refined wheat flower, white rice, and sucrose? These issues started with the shift to agriculture, and the cultures I believe you're describing are all agricultural. That's why civilization exists at all.

Hunter gatherers ate all sorts of things. But starch and sugar was not easily accessible. Wild rice, for instance, would be painstaking to gather and consume in large amounts. Roots and tubers would be small and have lots of antinutrients, keeping you from eating a lot of them. Fruits were seasonal and generally tiny.

If I were a hunter gatherer, in the absence of fresh hunted meat, I would get more nutritional value out of worms or larvae in the dirt than a handful of tubers that may give me a stomachache. Insects are animal protein (and fat).

vczf··on How the biggest consumer apps got their first 1k users
I believe they reversed the "it all went downhill from there" idiom.
vczf··on Caffeine: A vitamin-like nutrient, or adaptogen
Having a mix of decaf and regular grounds also makes it easy to slowly wean yourself off caffeine without destroying your productivity and mood. I have a spreadsheet to chart out how many grams of caffeinated/decaffeinated coffee grounds (and teabags) I'm allowing myself.

Over time, decrease the caf and increase the decaf.

vczf··on Caffeine: A vitamin-like nutrient, or adaptogen
True on "adrenal" fatigue, but it does increase cortisol levels and blood pressure. Chronic use will also lead to increased run-of-the-mill fatigue.

Caffeine works by blocking adenosine receptors, which is part of the mechanism for feeling tired. So the brain compensates by creating more receptors and flooding the brain with adenosine.

If there are no caffeine molecules in the brain to block the receptors, you will crash. Consume more caffeine, and voila: you feel normal again.

vczf··on First Krita Beta for Android and ChromeOS in Play Store
That's what I thought as well, but my experience contradicts that. Wacom is expensive, but it still leads in terms of sensitivity and accuracy. The pressure levels and other specs don't tell the full story.

On both my iPad Pro (2017) and an open-box Huion H610 Pro (pretty old) I saw stairstepping behavior when drawing a straight line with a ruler on a diagonal. It wasn't very pronounced on the iPad, but it was still there. If you draw the stroke quickly, the smoothing kicks in and straightens it. I'm pretty sure this is a normal side effect of the tech used to identify the grid coordinate of the stylus. But the wobbling was notably bad on the Huion. https://imgur.com/a/iPNZzrY

When I got a Wacom Intuos Pro PTH660 (Amazon renewed), the same test without smoothing showed a perfectly straight line, even when drawing quite slowly.

I don't know why the Wacom is better. Maybe it's got a higher resolution grid for detecting the pen location. Or maybe it's just got better tuned drivers. It's also much easier to freehand accurate lines and ellipses on the Wacom.

You generally can't trust the reviews of Wacom alternatives on YouTube. As reported by Aaron Rutten, most of the companies are not looking for fair and unbiased reviews: https://www.youtube.com/watch?v=Twy5Wo8m284&t=337

vczf··on Ask HN: Dark mode for HN please?
My monitor has terrible "buttons". This utility means I no longer have to fumble around with them to adjust the brightens. Thanks for the link!
← PreviousPage 3 of 3