Readit News logoReadit News
jethro_tell commented on Bcachefs may be headed out of the kernel   lwn.net/Articles/1027289/... · Posted by u/ksec
bombcar · 2 months ago
The biggest dirty secret of the IT world is that everyone knows you should have more backups than God, but everyone runs with an average of about zero.
jethro_tell · 2 months ago
Sure, and when I go, 'I'm just going to slap this together and if it dies I'll rebuild it' I run on ext4 instead of an experimental service. If there is a reason that I need to run something 'experimental' you gonna bet your ass that I'm going to back things up.
jethro_tell commented on Bcachefs may be headed out of the kernel   lwn.net/Articles/1027289/... · Posted by u/ksec
chasil · 2 months ago
So the assertion is that users with (critical) data loss bugs need complete solutions for recovery and damage containment with all possible speed, and without this "last mile" effort, stability will never be achieved.

The objection is the tiniest bug-fix windows get everything but the kitchen sink.

These are both uncomfortable positions to occupy, without doubt.

jethro_tell · 2 months ago
Who’s using an experimental filesystem and risking critical data loss? Rule one of experimental file systems is have a copy on a not experimental file system.
jethro_tell commented on Bcachefs may be headed out of the kernel   lwn.net/Articles/1027289/... · Posted by u/ksec
bgwalter · 2 months ago
That is a valid objection, but I still think that for some huge and difficult features the month long pauses imposed by release cycles are absolutely detrimental.

Ideally they'd be developed outside the kernel until they are perfect, but Kent addresses this in his LWN comment: There is no funding/time to make that ideal scenario possible.

jethro_tell · 2 months ago
He could release a patch that can be pulled by the people that need it.

If you’re using experimental file systems, I’d expect you to be pretty competent in being able to hold your own in a storage emergency, like compiling a kernel if that’s the way out.

This is a made up emergency, to break the rules.

jethro_tell commented on Starship: A minimal, fast, and customizable prompt for any shell   starship.rs/... · Posted by u/benoitg
Henchman21 · 2 months ago
Genuine question for all the people putting timestamps in your prompts: do you never look at your command history and see that they’re all timestamped?
jethro_tell · 2 months ago
I do know that though that assumes some things about os and shell.

Run a full screen term on my machine for a good chunk of my workflow and I just like to have time and battery in my term. I render it as ‘(15:35) [80} <hostname> $ ‘ and for boxes without batteries it’s just ‘(15:35) <hostname> $ ‘

Some times I’ll go back through my scroll back and look at the time when I’m trying to figure things out. Or when I run a command that generates a ton of output, I’ll note the time and run the command then later search back to the time in scroll back to start at the top of the log.

None of these are features I truly miss on a vanilla box, I can look at a clock or watch and will put a comment into the scroll back to find later.

jethro_tell commented on Apple typewriter memo (2020)   writingball.blogspot.com/... · Posted by u/rafaepta
teeray · 2 months ago
I’ve seen a lot of “distraction-free” writing apps up to even e-ink screens glued to mechanical keyboards. There’s still plenty of typewriters out there—they’re just paper-free now.
jethro_tell · 2 months ago
That’s not a typewriter no matter how much you’d want to make that connection.
jethro_tell commented on Harper – an open-source alternative to Grammarly   writewithharper.com... · Posted by u/ReadCarlBarks
boplicity · 2 months ago
General purpose LLMs seem to get very confused about punctuation, in my experience. It's one of their big areas of obvious failing. I'm surprised Grammarly would allow this to happen.
jethro_tell · 2 months ago
The internet, especially post phone keyboards, is extremely inconsistent about punctuation. I’m not sure how anyone could think an llm wouldn’t be.
jethro_tell commented on Multiple security issues in GNU Screen   openwall.com/lists/oss-se... · Posted by u/st_goliath
entropie · 4 months ago
^a is the worst for emacs users since ^a is begging-of-line which we use a ton.

When I first started using screen some years ago the emacswiki (I think) even mentioned it and recommended to remap it to ^p which it is for me for screen and tmux since then.

(I could remember something wrong here)

jethro_tell · 3 months ago
I mapped to alt space, which breaks things some times ten years on, but I just drop whatever is bound to that key in my DE and move on.
jethro_tell commented on WireGuard vanity keygen   github.com/axllent/wiregu... · Posted by u/simonpure
jethro_tell · 3 months ago
Given a situation in which you have a decent way to guess user names, such as ‘first-initial-lastname’ how much entropy does this take away?

It seems like I’ve seen several of these over the years when a patch to parse comments would probably be simpler and less of an anti-pattern. What am I missing here?

Edit: or a config dir that allows multiple key files.

jethro_tell commented on Multiple security issues in GNU Screen   openwall.com/lists/oss-se... · Posted by u/st_goliath
DrillShopper · 4 months ago
Try as I might I cannot get my fingers to re-learn the tmux keybindings. The GNU Screen keybindings are that burned into my brain.
jethro_tell · 4 months ago
They re-keyed it specifically so it could be nested, however, they mention the prefix key is intentionally dumb and ment to be remapped, probably to ^a like screen.
jethro_tell commented on Writing "/etc/hosts" breaks the Substack editor   scalewithlee.substack.com... · Posted by u/scalewithlee
PhilipRoman · 4 months ago
Low tech example: escape all newlines in user supplied strings, then add a known prefix to all user supplied data (let's say a double hashtag ##, but anything else works too). When you want to search logs for strings coming from your system, remove/ignore everything after the marker.

It all comes down to understanding whether the intersection of two grammars is empty.

jethro_tell · 4 months ago
The difficulty here is that in the example above, it's unlikely, given any amount of scale, that the two people were on the same team. They were doing different things with the same data and probably didn't know what the other was doing.

Sure you could add a convention to your 'how to log' doc that specifies that all user input should be tagged with double '#' but who reads docs until things break? convention is a shitty way to make things work.

There's 100 ways that you could make this work correctly. Only restarting on a much more specific string, i.e. including the app name in the log line etc . . . but that's all just reducing the likely hood that you get burned.

I've also written a OOM-Killer.sh myself, I'm not above that, but it's one of those edge cases that's impossible to do correctly, which is why parsing and acting on log data generally considered and anti-pattern.

u/jethro_tell

KarmaCake day2851October 26, 2011View Original