01:34:27 -!- chiselfuse has quit (Remote host closed the connection).
01:34:41 -!- chiselfuse has joined.
02:02:17 -!- razetime has joined.
02:15:54 -!- razetime has quit (Quit: See You Space Cowboy).
02:25:15 -!- Lord_of_Life has quit (Ping timeout: 248 seconds).
02:26:19 -!- Lord_of_Life has joined.
02:55:17 -!- wpa has quit (Quit: Connection closed for inactivity).
05:44:10 -!- slavfox has quit (Quit: ZNC 1.8.2 - https://znc.in).
05:48:14 -!- slavfox has joined.
07:00:19 -!- tromp has joined.
08:06:00 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
09:24:36 -!- tromp has joined.
09:39:16 -!- Sgeo has quit (Read error: Connection reset by peer).
09:59:40 -!- razetime has joined.
10:38:22 -!- razetime has quit (Remote host closed the connection).
10:57:23 <b_jonas> [ (ounces =: 0.02835 0.02841 0.02957 0.03000) * 32
10:57:23 <j-bot> b_jonas: 0.9072 0.90912 0.94624 0.96
11:25:58 -!- craigo has joined.
11:31:47 -!- craigo has quit (Quit: Leaving).
11:33:59 -!- craigo has joined.
11:51:33 -!- bgs has joined.
12:06:48 <esolangs> [[Toki ilo]] https://esolangs.org/w/index.php?diff=107382&oldid=107377 * Joaozin003 * (+449)
13:40:18 -!- [iovoid] has quit (Ping timeout: 255 seconds).
13:40:19 -!- iovoid has joined.
14:07:32 -!- __monty__ has joined.
14:16:11 -!- simcop2387 has quit (Ping timeout: 248 seconds).
14:17:15 -!- perlbot has quit (Ping timeout: 248 seconds).
14:20:30 -!- simcop2387 has joined.
14:21:01 -!- perlbot has joined.
14:29:16 -!- simcop2387 has quit (Ping timeout: 252 seconds).
14:29:20 -!- perlbot has quit (Ping timeout: 248 seconds).
14:30:36 -!- perlbot has joined.
14:32:07 -!- simcop2387 has joined.
14:43:18 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
14:52:00 -!- perlbot has quit (Quit: ZNC 1.8.2+deb3+b4 - https://znc.in).
14:53:33 -!- tromp has joined.
14:53:43 -!- perlbot has joined.
14:57:10 -!- simcop2387 has quit (Quit: ZNC 1.8.2+deb3+b4 - https://znc.in).
14:58:06 -!- simcop2387 has joined.
15:47:21 -!- simcop2387 has quit (Read error: Connection reset by peer).
15:48:02 <esolangs> [[Tenshi C]] M https://esolangs.org/w/index.php?diff=107383&oldid=107078 * Richard565 * (-26) Few changes to the description.
15:48:16 -!- simcop2387 has joined.
15:51:21 -!- simcop2387 has quit (Client Quit).
15:52:09 -!- simcop2387 has joined.
15:56:50 -!- simcop2387 has quit (Client Quit).
15:57:07 -!- perlbot has quit (Quit: ZNC 1.8.2+deb3+b4 - https://znc.in).
16:01:53 -!- simcop2387 has joined.
16:02:30 -!- perlbot has joined.
16:08:08 -!- perlbot has quit (Quit: ZNC 1.8.2+deb3+b4 - https://znc.in).
16:08:59 -!- simcop2387 has quit (Quit: ZNC 1.8.2+deb3+b4 - https://znc.in).
16:21:17 -!- simcop2387 has joined.
16:27:43 -!- perlbot has joined.
17:31:44 <esolangs> [[Talk:Folders]] https://esolangs.org/w/index.php?diff=107384&oldid=41600 * Joaozin003 * (+166) /* Umm this actually (and obviously) is not 0 byte code */ new section
18:00:20 <b_jonas> what's the easiest way to recursively cat all files in a directory, kind of like wisdom except wisdom is easy because it has very few subdirectories? (cat /hackenv/wisdom/*) isn't recursive. (grep -shar '' /hackenv/wisdom) works I think, but it's odd that you'd want to use grep for this.
18:00:58 <b_jonas> maybe something like (find /hackenv/wisdom -exec cat -- {} \;)
18:01:46 <FireFly> "cat **/*" if you allow for greps and don't mind errors from globbing directories too (I think)
18:01:54 <FireFly> though same with that find, you'd want a -type f
18:02:04 <FireFly> er if you allow for globs*
18:04:03 <b_jonas> ah right, bash imported that feature from zsh... let me see
18:04:18 <JAA> Might want -L as well if you want to cat symlinks pointing to regular files.
18:04:30 <b_jonas> ``` set -e; shopt -s globstar; cd /hackenv/wisdom; echo **
18:04:31 <HackEso> ! #esoteric #esoteric-blah #programming * 01 1 1*1 10 1337 21 2600 42 4chan 4rn4 5318008 6 random numbers 7 8 8/8 8/8/8 8/8/8/8 8/8/8/8/8 8/8/8/8/8/8 8/8/8/8/8/8/8 8/8/8/8/8/8/8/8 9 =@ccc ? ?? @ @messages-loud XQELEKCTHZVBDBQR \ \oren\ ^ _46bit _̰̆̓_̦̻̖͍̟̖̅ͭͭͬ͡_͉̭ͧ͒̐_̯͙̬̬̦̯͂͋͒ͧ͋̋_̴̝̔̉̅ͨ͞ ` `! `# `1 `2 `2017 `3 `4 `5 `? `? `? `@ `cbt `culprits-c `doag `doat `dowg `dowt `edit `fetch `hello `help `hoag `hoat `howg
18:04:48 <b_jonas> what the heck is that 8/8 thing?
18:05:00 <b_jonas> ``` set -e; shopt -s globstar; cd /hackenv/wisdom; head 8/**
18:05:02 <HackEso> head: error reading '8/': Is a directory \ head: error reading '8/8': Is a directory \ head: error reading '8/8/8': Is a directory \ head: error reading '8/8/8/8': Is a directory \ head: error reading '8/8/8/8/8': Is a directory \ head: error reading '8/8/8/8/8/8': Is a directory \ head: error reading '8/8/8/8/8/8/8': Is a directory \ ==> 8/ <== \ \ ==> 8/8 <== \ \ ==> 8/8/8 <== \ \ ==> 8/8/8/8 <== \ \ ==> 8/8/8/8/8 <== \ \ ==> 8/8/8/8/8/8 <== \ \ ==
18:05:16 <b_jonas> ``` set -e; shopt -s globstar; cd /hackenv/wisdom; grep -as 8/**
18:05:17 <HackEso> 8/8/8/8/8/8/8/8:8/8/8/8/8/8/8/8 is an empty chess board in FEN.
18:06:08 <b_jonas> FireFly: you have a point. I'm from the ancient bash days, back when ${foo/bar/qux} expansion and &| redirection and all other modern convenience features didn't yet exist
18:06:16 <b_jonas> I'm not used to there being a globstar option
18:17:14 <b_jonas> ``` grep -shar "" /hackenv/wisdom | perl -we'read STDIN,$s,1e7; for("aa".."zz"){$f{$_}=0}; for($s=~/(?=([a-z]{2}))/ig) { $f{lc()}++; } for (sort keys%f) { if (!$f{$_}) { print "$_ "; $c++ } } print "($c)\n"' # 85 pairs of ascii letters that aren't wise
18:17:16 <HackEso> bg bh bk bq bx cx dk fd fp fq fz gj gk gq gx hv hx jb jd jf jg jl jm jn jq jt jw jy jz kj kq kv lx mq nx pq pv pz qa qe qg qh qi ql qm qo qp qq qt qv qx qz sx tq vc vh vk vp vq vx wj wq wv wx wz xb xd xg xj xn xq xu xw xz yq yx zc zd zg zj zk zn zq zv zx (85)
18:17:23 <b_jonas> ``` grep -shar "" /hackenv/wisdom /hackenv/quotes | perl -we'read STDIN,$s,1e7; for("aa".."zz"){$f{$_}=0}; for($s=~/(?=([a-z]{2}))/ig) { $f{lc()}++; } for (sort keys%f) { if (!$f{$_}) { print "$_ "; $c++ } } print "($c)\n"'
18:17:25 <HackEso> bg bh bk bq bx cx fp fq fz gq gx hv jd jf jg jm jn jq jt jw jy jz kj kq kv lx mq pq pz qa qe qg qh qi ql qm qo qp qq qt qv qx qz sx tq vh vk vq vx wj wq wv wx wz xd xg xj xn xq xw xz yq yx zc zd zg zj zk zn zq zv zx (72)
18:19:20 <b_jonas> ``` grep -shar "" /hackenv/wisdom | perl -we'read STDIN,$s,1e7; for("aa".."zz"){$f{$_}=0}; for($s=~/(?=([a-z]{2}))/ig) { $f{lc()}++; } for (sort{$f{$b}<=>$f{$a}||$a cmp$b}keys%f) { print "$f{$_}$_ " }' # these are the wisest letters by the way
18:19:22 <HackEso> 2332th 2083in 1893he 1763is 1717an 1629er 1357re 1343or 1276on 1171en 1130te 1106es 1103at 1006ng 961it 931ar 909st 887al 887nt 852to 815ti 785nd 769le 764ou 762ha 746ed 695ne 688co 687se 675of 674me 661ve 646om 643ro 637ri 619ic 593ma 583ra 582as 582de 546ot 543ta 528no 524us 517li 514ll 505la 504hi 504io 500ea 470el 467so 460un 459ca 456et 453ce 451fo 413ch 413pe 412si 408ur 406tr 405be 389ac 381il 380ly 379ho 379ns 378ut 376am 370ge 367pr 366wi 364mo 34
18:19:36 <FireFly> oh as prefixes I guess maybe
18:19:40 <FireFly> still seems like a lot though
18:19:54 <b_jonas> not as prefixes, I'm counting all infixes in the contents of the files
18:19:59 <FireFly> `` ls /hackenv/wisdom | wc -l
18:20:06 <FireFly> `` ls /hackenv/wisdom/ | wc -l
18:20:47 <b_jonas> yes, ls is overrided, paste is overrided, no wonder I usually write /bin/cat instead of just cat even though LAST I CHECKED cat wasn't overridden
18:21:30 <HackEso> paste is /hackenv/bin/paste
18:22:10 <b_jonas> sed and ls pretend to be imperfect implementations of the unix utility, while paste is just some completely unrelated thing
18:22:24 <HackEso> 🌱 \ 3 \ a.o \ a.out \ asmbf-1.2.7 \ banana.txt \ bef2 \ bfi \ bin \ Burlesque \ canary \ carrot.txt \ compiled_brachylog.pl \ egel-master \ egel-scripts \ egel.zip \ eGtbSgN68aHU \ foo \ JoaoDir \ just \ karma \ le \ nonoodl \ olist.new \ output.b \ paste \ pd \ pd.c \ perlV \ pikhqbow_tst \ program \ -.s \ spline \ spout \ stall \ test \ test.sh \ this.py \ tmp \ wisdomls.txt \ wise-urls.txt \ xaa
18:22:37 <FireFly> oh right ok it has a check for wisdom specifically? forgot :D
18:22:48 <HackEso> #!/bin/bash \ if /bin/ls -id "$@" 2>/dev/null | grep -q ^"$(/bin/ls -id /hackenv/wisdom | cut -d\ -f 1)" && [[ "$IRC_TARGET" == \#* ]]; then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try listing it in private instead.'; else exec -a ls /bin/ls "$@"; fi
18:25:16 <b_jonas> ``` set -e; shopt -s nullglob; s=(/hackenv/wisdom/{,.}*); echo "${#s[*]} files"
18:26:26 -!- Sgeo has joined.
18:26:52 <b_jonas> `python3 -cimport os; print(len(list(os.scandir("/hackenv/wisdom"))))
18:27:11 <b_jonas> (the first one says two higher because it counts . and .. while scandir excludes them)
18:29:11 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
18:54:57 <esolangs> [[Fish]] https://esolangs.org/w/index.php?diff=107385&oldid=104426 * Tesolang * (+13) edited hello world
18:59:33 <esolangs> [[Fish]] https://esolangs.org/w/index.php?diff=107386&oldid=107385 * Tesolang * (+81) added unusual hello world
18:59:59 -!- tromp has joined.
20:39:46 <esolangs> [[User:CrispyPin]] https://esolangs.org/w/index.php?diff=107387&oldid=65502 * CrispyPin * (-96)
20:41:23 -!- craigo has quit (*.net *.split).
20:41:23 -!- haavard has quit (*.net *.split).
20:41:23 -!- xelxebar has quit (*.net *.split).
20:41:23 -!- joast has quit (*.net *.split).
20:41:23 -!- sprout has quit (*.net *.split).
20:41:24 -!- Lymia has quit (*.net *.split).
20:41:24 -!- Riviera has quit (*.net *.split).
20:41:24 -!- river has quit (*.net *.split).
20:41:33 -!- Riviera has joined.
20:41:36 -!- sprout has joined.
20:42:43 -!- xelxebar has joined.
20:42:58 -!- river has joined.
20:43:44 -!- benji has joined.
20:44:22 -!- haavard has joined.
20:44:36 -!- Lymia has joined.
22:04:08 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
22:10:01 -!- __monty__ has quit (Quit: leaving).
22:15:11 -!- tromp has joined.
22:45:51 -!- bgs has quit (Remote host closed the connection).
22:59:57 -!- craigo has joined.
23:06:39 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
23:18:50 -!- joast has joined.