Skip to content

u/Traches

In this archive from Oct 2014 to Aug 2025

2
posts
52
comments
0
media
855
score

I should probably pare it down; the “ask questions” and “be skeptical” thing never works. Surprised y’all let Claude use git, its work is rarely good enough to merge. I always have to rewrite half of whatever it did.

‘’’markdown

CLAUDE.MD

Tone and Behavior

  • Criticism is welcome.
    • Please tell me when I am wrong or mistaken, or even when you think I might be wrong or mistaken.
    • Please tell me if there is a better approach than the one I am taking.
    • Please tell me if there is a relevant standard or convention that I appear to be unaware of.
  • Be skeptical.
  • Be concise.
    • Short summaries are OK, but don't give an extended breakdown unless we are working through the details of a plan.
    • Do not flatter, and do not give compliments unless I am specifically asking for your judgement.
    • Occasional pleasantries are fine.
  • Feel free to ask many questions. If you are in doubt of my intent, don't guess. Ask.

Tool Usage

  • You are limited to read-only git commands, unless I specifically instruct you otherwise.

Code Style

  • Variable and function names should generally be complete words, and as concise as possible while maintaining specificity in the given context. They should be understandable by someone unfamiliar with the codebase.
  • Only add code comments in the following scenarios:
    • The purpose of a block of code is not obvious (possibly because it is long or the logic is convoluted).
    • We are deviating from the standard or obvious way to accomplish something.
    • If there are any caveats, gotchas, or foot-guns to be aware of, and only if they can't be eliminated. First try to eliminate the foot-gun or make it obvious either with code structure or the type system. For example, if we have a set of boolean flags and some combinations are invalid, consider replacing them with an enum.
  • Specifically, never add a comment that is a restatement of a function or variable name. ‘’’
8 points

… are we using the same chatbot? You think AI will write 95% of all code within the next few years? Claude screws up basic stuff all the time, it produces garbage noise in the generally correct direction. Don’t get me wrong, it’s impressive and useful enough that I pay for it with my own money but without a human to fix it our project would go up in flames immediately.

1 points

Everyone's mentioning snapshots and CoW, but another cool thing about BTRFS is how flexible it is. You can add and remove drives, and change raid levels or compression, all live. You could move your root partition from one drive to another, while booted into it.

1 points

Started with ubuntu several years back, got tired of dealing with PPAs, so I switched to manjaro for the AUR. (Didn't feel smart enough to use arch at the time.)

Then one day several years ago manjaro nuked its own bootloader. I figured the entire reason I chose manjaro over arch was so I wouldn't have to learn about things like bootloaders. If I have to learn anyway, might as well use arch...

Since then it's just been reliable. It does what I need and gets out of the way. Most problems I've had were my fault, and almost all of them have been fixable with some effort (still don't have sound working on my skylake based chromebook).

1 points

Sure, but that's all a pain in the ass. Even if it's cheap, storage isn't infinite.

What is the benefit of carving up disk space? Only one I can think of is if you have some directory that tends to get big on its own and you don't want that to mess up your system as a whole. I haven't personally ever had that use case, while I've run out of space on one partition with plenty left in the others a bunch of times.

4 points
  • sometimes a package update breaks things and you have to revert to an old version until it's fixed. Sometimes the fix takes awhile, and you'd like to update other stuff.
  • if you don't update before installing something new, the worst that can happen is 404 errors if the package or one of its dependencies have changed since the last time you ran pacman -Syu.
2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.