Notices by menherahair (menherahair@eientei.org)
-
Embed this notice
menherahair (menherahair@eientei.org)'s status on Thursday, 20-Feb-2025 18:43:05 JST menherahair
@nyanide Thanks -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Thursday, 20-Feb-2025 17:31:34 JST menherahair
@nyanide @fiore @r @david Quality of Service and make more patch cables nigga -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Thursday, 20-Feb-2025 17:22:55 JST menherahair
@nyanide @fiore @r mine does and I don't use it :013_thumbs_up: -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Thursday, 20-Feb-2025 17:21:04 JST menherahair
@nyanide @fiore @r >What I was concerned about when I was thinking of moving this to my house was the lack of a good pfsense/opnsense setup, because with that it's possible to segment your network and have public facing stuff out in its own sandbox
that's called a vlan and many consumer grade routers can do it setup for use as "guest network" or "iot network"
still a crapshot whether (You)rs has it and if it even works right -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 23:58:01 JST menherahair
@waifu -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 23:24:33 JST menherahair
@theorytoe @nyanide @karebu -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 18:34:51 JST menherahair
@nyanide Qipao jumpscare -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 18:24:42 JST menherahair
@nyanide @Suiseiseki @takao -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 18:22:32 JST menherahair
@nyanide @Suiseiseki @takao you'd think that but really it's coping with ksh not having FUCKING BANGS https://www.gnu.org/software/bash/manual/bash.html#:~:text=n%20lines%20back.-,!!,-Refer%20to%20the
I managed to hack !! and !$ into it because I can't operate without them, probably still have the code if someone wants it, but fuck man -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 18:16:09 JST menherahair
@nyanide @Suiseiseki @takao https://man.freebsd.org/cgi/man.cgi?query=ksh&sektion=1&n=1#:~:text=nohup%3D%27nohup%20%27-,r%3D%27fc%20%2De%20%2D%27,-stop%3D%27kill%20%2DSTOP In conversation from eientei.org permalink Attachments
-
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 18:14:14 JST menherahair
@nyanide @Suiseiseki @takao it has the r In conversation from eientei.org permalink -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 18:12:26 JST menherahair
@takao @Suiseiseki @nyanide *TWENEX csh In conversation from eientei.org permalink -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 15:53:40 JST menherahair
will perl dwim today In conversation from eientei.org permalink -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 15:53:39 JST menherahair
it didn't :marimaricry: In conversation from eientei.org permalink -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 15:53:38 JST menherahair
so @obsoletion now pulls the names to shitpost with from some source files. to avoid duplicates I process them with a perl script and create the one final normalized file. this way I can throw whatever at it without vetting the source files and it'll work out.
the script just loops over them:
```
for my $file (@ARGV) {
open my $fh, '<', $file;
...
}
```
*before* it did that it'd just use whatever's in the /bin/ and /sbin/ on my box using bash globbing. to mimic this behavior I created a source file with contents of these and threw it in the mix, but this lacks the malicious spirit it would emit at me earlier so I wanted to hack something similar back in.
Perl can open refs to variables as filehandles, so I thought I'd just throw an array with globs in there in the script:
```
our $doxme = $ENV{DOXME};
for my $file (@ARGV,
$doxme? [glob('/sbin/* /bin/*')]: undef) {
open my $fh, '<', $file;
...
}
```
alas
>Can't open 'ARRAY(0x6339b212f430)' for reading: 'No such file or directory' at utils/mknames.pl line 19
Perl can open refs to *scalars*. It won't magic an array into a structured file for reading :marimaricry:
after converting it it does what I wanted it to:
```
for my $file (@ARGV,
$doxme? \(join "\n", glob('/sbin/* /bin/*')): undef) {
open my $fh, '<', $file;
...
}
```
https://menhera.hair/git/obsoletion/commit/572bcc1074a4f90b18f80468ff63ebd59f46c1c4.htmlIn conversation from eientei.org permalink Attachments
-
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 14:58:47 JST menherahair
@nyanide @mint eg if you run stuff like GNU mailx or nft -i they use GNU readline routines and the shortcuts may work too In conversation from eientei.org permalink -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 14:58:35 JST menherahair
@nyanide @mint really readline (^R is somewhat standard but ^O is a GNU readline invention and often forgotten ;______;) In conversation from eientei.org permalink -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 14:48:24 JST menherahair
@mint @nyanide ctrl+r? ctrl+o? In conversation from eientei.org permalink -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 14:38:42 JST menherahair
@nyanide the purpose of shell is to make pretty colors and take git command I find on stackoverflow In conversation from eientei.org permalink -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Tuesday, 18-Feb-2025 13:51:09 JST menherahair
Error 503 Backend is unhealthy In conversation from eientei.org permalink