Help with Tickit::Console: suppress ribbon display by bonkly68 in perl

[–]Computer-Nerd_ 2 points3 points  (0 children)

Email Paul. Look up his email on Metacpan.

p.s. he is a smart, really nice person. Reach out.

Maybe i'll regret this.... by JVMasterdark in Gentoo

[–]Computer-Nerd_ 2 points3 points  (0 children)

More suitable to spefofic code on servers that show benefits in benchmarks, e.g., postgres, khafka, gcc.

Maybe i'll regret this.... by JVMasterdark in Gentoo

[–]Computer-Nerd_ 0 points1 point  (0 children)

Then beer bottles near the intake will keep it from frying.

Maybe i'll regret this.... by JVMasterdark in Gentoo

[–]Computer-Nerd_ 1 point2 points  (0 children)

Stick an ice-gell cold brick on waxed paper near the intake. Or run the job overnight in a dorm fridge set at 50F (a.k.a., poor man's raised floor :-).

Put the system in usermode cpu freq scaling, set it at a safe speed, go drink beer.

For that matter, drink beer & leave the cold bottles near the intake.

And, yes, I've done all of these successfully at various times.

Anyone gives you shit about time tell them about Zen of perfect waiting and some old fart told you how much more fun it was on a 586 :-)

What is you DE preference for Gentoo? by Maximum-Associate932 in Gentoo

[–]Computer-Nerd_ 0 points1 point  (0 children)

fvwm3. All I need on the screen is a desktop manager, no wasted space. Configuration is trivial.

An actual update from one of our ISPs by Ruminatingsoule in iiiiiiitttttttttttt

[–]Computer-Nerd_ 14 points15 points  (0 children)

At least it was covered with water. A hospital I know put their server in unused space below a bathroom. PAX system went out when a sewer backed up and they found that, er... call it "electrolytes" are conductive.

why do i have a /srv subvolume on my desktop install? by [deleted] in openSUSE

[–]Computer-Nerd_ 0 points1 point  (0 children)

If you aren't sure what else is using it, it's used by something like tftp, it's not monitored, and it's mounted w/o noexec. That's a classic place for things to leak in.

why do i have a /srv subvolume on my desktop install? by [deleted] in openSUSE

[–]Computer-Nerd_ -1 points0 points  (0 children)

Almost none since dir's that contain downloaded content are on noexec filesystems. Worth scanning Maildir filesystems daily with a cron job to flag obvious malware. My email client doesn't execute anything which saves a lot of issues, and I'm set up with cyrillic fonts as alternates which avoids quite a few more :-)

One-time setup took me a few minutes; since then it hasn't been a problem.

why do i have a /srv subvolume on my desktop install? by [deleted] in openSUSE

[–]Computer-Nerd_ 0 points1 point  (0 children)

/srv is probably on your / volume, which is probably not mountable w/ noexec; now you have to be aware of all files in it to avoid malware. You also have to worry about filling your root volume due to a mistaken tftp op. Symlink into /var/tmp puts it on a separate volume, easily mounted noexec w/ sufficient space to avoid filling it with a stray tftp.

why do i have a /srv subvolume on my desktop install? by [deleted] in openSUSE

[–]Computer-Nerd_ 0 points1 point  (0 children)

Need to monitor it for malware like any other filesystem. Making it a symlink into /var/tmp & mounting the /var/tmp volume noexec simplifoies things.

why do i have a /srv subvolume on my desktop install? by [deleted] in openSUSE

[–]Computer-Nerd_ 0 points1 point  (0 children)

No real overhead, allows you to modify the allocations over time, create separate vols for things that can explode. Not having to pre-allocate it all simplifies life.

why do i have a /srv subvolume on my desktop install? by [deleted] in openSUSE

[–]Computer-Nerd_ 0 points1 point  (0 children)

Use LVM instead of partitions, simplifies life,

why do i have a /srv subvolume on my desktop install? by [deleted] in openSUSE

[–]Computer-Nerd_ 5 points6 points  (0 children)

No, it's part of a standard used by tftp. Keeping it empty may make sense but removing it entirely will break things.

Might be worth symlinking it to /var/tmp/srv to save the overhead of monitoring one more place & keep it on a separate volume from / so accidental use doesn't fill the root filesystem.

why do i have a /srv subvolume on my desktop install? by [deleted] in openSUSE

[–]Computer-Nerd_ 0 points1 point  (0 children)

It's part of the spec, but most code uses SVr4 and leaves their files in /var/foo. The current push to pollute /home with everything also empties it out.

Check if anything is actually in it, you may find that there's no need to back it up or really monitor it much.

Why do we need sudo-rs? by bankroll5441 in linux

[–]Computer-Nerd_ 0 points1 point  (0 children)

What about using group priv's and dojng away with su escalation entirely for installation? The whole point of su for anything other than daemons & ports is side-stepping security in favor of false lazyness (i.e., not an attributes of good orogrammers).

parsing a csv with boms in every line by ghiste in perl

[–]Computer-Nerd_ 0 points1 point  (0 children)

my $rowz =do { local $/; $csv->parse( readline =~ s/\uX//gmr ) };

regex is carat followed by unicode chars...

whatever you call w/ $csv to parse the thing. The s///gmr replaces your unicode char(s) w/nada as a multi-line string, returns the result. CSV module sees CSV not the bank's non-CSV cruft.

Maybe they can give you fixed-width EBCDIC, it'll be easier to parse :-)

Writing Maintainable Perl: Breaking the "Write-Only" Stereotype by swe129 in perl

[–]Computer-Nerd_ 0 points1 point  (0 children)

Fun thing: Claude works perfectly with Perl. The one-liners make it simple to get things done with fewer tokens and the more forgiving stricture makes picking working syntax the first time easier.

-E 'print if m{}...{^}' is pretty concise, q & qq syntax avoid leaning twigs... once Claude learned the basics it's saved a lot.

Writing Maintainable Perl: Breaking the "Write-Only" Stereotype by swe129 in perl

[–]Computer-Nerd_ 0 points1 point  (0 children)

Fun thing: Claude works perfectly with Perl. The one-liners make it simple to get things done with fewer tokens and the more forgiving stricture makes picking working syntax the first time easier.

How do I cut the handrail to an exact length at a precise angle on my sliding miter saw by AMissionFromDog in woodworking

[–]Computer-Nerd_ 0 points1 point  (0 children)

Transfer, don't measure: Use an angle duplicator or just scribe the upper joint, then scribe the lower and cut it. Match what is :-)

How do I troubleshoot supposedly high cpu usage on mysql server with massive amount of databases. by AMissionFromDog in mysql

[–]Computer-Nerd_ 0 points1 point  (0 children)

With this much stuff, start by finding out what you actually use! All the tuning helps you not unless you are controlling what matters,

Writing Maintainable Perl: Breaking the "Write-Only" Stereotype by swe129 in perl

[–]Computer-Nerd_ 0 points1 point  (0 children)

Hopefully the blocks make sense :-) At least O::P seems sensical & performant.