Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unqueued
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
1.
▲
by
unqueued
6d ago
> Most large brands throw the UI design patterns of the platforms out the window in favor of their own UI guidelines. I really wish they would not do that. The best thing you can do to make your app trustworthy and friendly is to adhere
2.
▲
by
unqueued
11d ago
What problem are you trying to solve exactly? I think submodules are good enough for what they do and there's room in Git's model for forward development and it's also flexible enough that third party tools can piggyback on i
3.
▲
by
unqueued
12d ago
This isn't really like subtree it's like submodules, but for specific files. This could really be useful, you may want to keep track of a specific file in a repo but not need it as a submodule. There's a whole umbrella of sim
4.
▲
by
unqueued
12d ago
Submodules aren't perfect and can be really annoying. I tried to avoid them at first. But if you work with larger projects I think you'll see how they are useful. For example, some projects might commit their node_modules or compo
5.
▲
by
unqueued
12d ago
FYI A submodule doesn't have to use a gitfile and a corresponding `$GIT_DIR/modules/<name>` and there are good reasons not to. As long as the submodule has a '.git' it can be a symlink, or regular .git directo
6.
▲
by
unqueued
1mo ago
I appreciate that it uses git-notes and that is makes backup branches in it's own namespace. I wish it were a bit lighter though. Haven't seen mentioned, but you might want to check out https://github.com/mystor&#x
7.
▲
by
unqueued
1mo ago
The few times I've wanted to completely rearrange a repo, It's been enough just make a backup branch and then dump the log from there and pull what I want. I have script somewhere I think it's called git-cherry-replace, which
8.
▲
by
unqueued
1mo ago
I used bluez and bash to lock xscreensaver using some very minimal bash. It wasn't my idea I believe people on the Gentoo forums were doing it. But you can just loop over something like `hcitool rssi "$MAC"` and project it so
9.
▲
by
unqueued
2y ago
> The alternative is that people complain "netflix doesn't work on firefox", switch to chrome instead, which is even worse. So what if users complain? How is it better for Firefox to do something bad just because Google is
10.
▲
by
unqueued
2y ago
I wish more were done to push back against this consolidation of power by these platforms. We're like frogs that have been stoking the fuel of our own pot. It used to be that DRM was considered to be in conflict with the browser, becau
11.
▲
by
unqueued
2y ago
I think symlinks are really underappreciated for organizing files. One cool thing you can do is to treat directories as tags when you symlink into them, since a file can 'belong' to multiple directories. If you're using Windo
12.
▲
by
unqueued
2y ago
If you are iterating over a lot of files, a read while loop can be a major bottleneck. As long as you use the null options from find and pipe into xargs, you should be safe with any filename. I've found it can reduce minutes down to se
13.
▲
by
unqueued
2y ago
There is a pretty good syntax for dealing with nasty filenames, if you must: ANSI-C quoting[1]. If you have to output in a shellscript in this format, use printf %q from man printf: %q ARGUMENT is printed in a format that can b
14.
▲
by
unqueued
2y ago
Both Finder and explorer.exe will mung mtimes from casual browsing, usually due to metadata updates. It is a common enough problem that there are utilities to bind mtimes to files. IMO mtime the de-facto file timetsamp metadata, since it is
15.
▲
by
unqueued
2y ago
Sometimes search indexing and build tools get it wrong, so if you know what you're doing, then tools like this allow you to provide an override. Just browsing an old photo collection without making any changes can cause a 15 year old f
16.
▲
by
unqueued
2y ago
Thanks for sharing, I love stuff like this. I get frustrated at mtimes being munged. MacOS finder is terrible about this. If anyone is interested, I wrote a more generalized tool for storing metadata called storetouch[1] which takes a snaps
17.
▲
by
unqueued
3y ago
You can already use it with git-annex to store binaries using the git-annex-remote-git-aafs[1] special remote. Although I would be careful and make sure you understand what it is doing to your branch namespace. Even though in the worst case
18.
▲
by
unqueued
3y ago
I think "confabulation" is a way more accurate term, I wish it had stuck instead of "hallucination". A hallucination is a problem with input. Confabulation is false output . Confabulation is when a person mistakenly rec
19.
▲
by
unqueued
3y ago
That's what's great about btrfs. I started using it that way too. It was nice to be able to take instant snapshots of my fs. I just amended my existing backup scripts to act on temporary snapshots instead. Then, I started dividing
20.
▲
by
unqueued
3y ago
I will probably give bcachefs on one of my machines. I started using btrfs back when it was way less stable, but that instability was more than offset by the other features. The last time I lost a btrfs filesystem was four years ago when it
21.
▲
by
unqueued
3y ago
This is an example of how btrfs is poorly handled by many userland tools by default. You should never ever need to have thousands of snapshots. I use btrbk to manage my snapshots. It keeps my snapshots pruned to 300, pruning intermediate sn
22.
▲
by
unqueued
3y ago
I actually have something I've been meaning to put on github. I wrote it over a decade ago and I need to dockerize it. I only made it in Vagrant. But it can do something iVentoy can not. https://www.iventoy.com/en/
23.
▲
by
unqueued
3y ago
My biggest mistake after being laid off was to not be discerning enough about my next job. You need to be willing to say no to a crummy job offer, even as the bills pile up.
24.
▲
by
unqueued
4y ago
John, at around that time you mentioned, you gifted me with my first shell account on one of your coffeshop servers, Reva. I just wanted to say THANK YOU. Up until then, I had read books about unix from the library, and had failed to instal
25.
▲
by
unqueued
4y ago
I was hoping that using hardware keys would eliminate some of the security hoops that we have to jump through. And it does seem to help. But the whole reason that I have a key is so I do not have to supply my phone number, and I have a more
26.
▲
by
unqueued
4y ago
This makes me worried, because I am pretty sure Google is going to start removing keys based on attestation certificates. I believe that this is much more about rate limiting than about security for the end users.
27.
▲
by
unqueued
4y ago
No, that is not correct, git-annex uses a variety of special remotes[2], some of which support deduplication. Mentioned in another comment[1] When you have checked something out and fetched it, then it consumes space on disk, but that is tr
28.
▲
by
unqueued
4y ago
I have a 1.96 TB git repo: https://github.com/unqueued/repo.macintoshgarden.org-fileset (It is a mirror of a Macintosh abandoneware site) git annex info . Of course, it uses pointer files for the binary blobs th
29.
▲
by
unqueued
4y ago
For bigger annex repos with lots of pointer files, I just disable the git-annex smudge filters. Consider whether smudge filters are requirement, or a convenience. The smudge filter interface does not scale that well at all.
30.
▲
by
unqueued
4y ago
I combine git-annex with the bup special remote[1], which lets me still externalize big files, while benefiting from block level deduplication. Or depending on your needs, you can just use a tool like bup[2] or borg directly. Bup actually u
More ›