101 points

10 minutes? That’s it. That’s easily a 3 hour time sink.

permalink
report
reply
29 points

Well, in this case, it was a graphical program that was doing it, and I really could’ve recognized that the file was being created by that. I had just kind of forgotten that I opened this graphical program a few days ago on a different workspace…

permalink
report
parent
reply
13 points

OP is clearly boasting about how smart they are.

permalink
report
parent
reply
44 points

Only 10 minutes? Those are rookie numbers

permalink
report
reply
28 points

Or pro numbers, depending on how you look at it.

permalink
report
parent
reply
16 points
*

I’m curious you’d see it in ls -l Did inode change? I remember making the same mistake. I think everyone sees this sometime during the career

permalink
report
reply
18 points

The inode does change, yeah:

The regular ls -l doesn’t show the inode on my system, though. I only realized it when I had assigned more permissions to the file and those got reset by deleting the file. The last-modified timestamp also gets updated each time, but I only spotted that afterwards…

permalink
report
parent
reply
7 points

Give me your dotfiles or I will sneak into your home and tie all the sleeves of your shirts into knots

permalink
report
parent
reply
1 point

If you ask because of the powerline shell prompt, I’m using Starship with the Gruvbox Rainbow preset: https://starship.rs/presets/#gruvbox-rainbow

You do need a NerdFont for this, as gets mentioned in the Starship installation guide. I’m specifically using the NerdFont variant of Fira Mono here, but you don’t have to use that for this setup.

(I made some light customizations to the preset. If you specifically want those, you can have them, too, but I only set this up two days ago, so I don’t know yet how well it works.)

permalink
report
parent
reply
2 points

That’s a pretty terminal! Mind telling how you did it?

permalink
report
parent
reply
4 points

I posted the info here: https://lemmy.ml/comment/8568878 🙂

permalink
report
parent
reply
16 points

lsof is a good tool would recommend it whenever something weird is happen, tho you gotta be root for it

permalink
report
reply
1 point

Another is checking modified time of the directory

permalink
report
parent
reply
8 points

It’s usually 10 mins to debug, and 3 hours explaining, categorizing, identifying the scope of it exists everywhere else…

permalink
report
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.9K

    Monthly active users

  • 1.4K

    Posts

  • 32K

    Comments