| 00:08:55 | | fishingforpie quits [Remote host closed the connection] |
| 00:09:19 | | fishingforpie joins |
| 00:17:42 | | sec^nd quits [Remote host closed the connection] |
| 00:22:54 | | sec^nd (second) joins |
| 00:35:46 | | sec^nd quits [Ping timeout: 240 seconds] |
| 00:42:26 | | sec^nd (second) joins |
| 00:45:29 | | Arcorann (Arcorann) joins |
| 00:51:58 | | fishingforpie quits [Remote host closed the connection] |
| 01:01:23 | | fishingforpie joins |
| 01:03:29 | <fishingforpie> | My client is going to be off for now. |
| 01:12:19 | | fishingforpie quits [Remote host closed the connection] |
| 01:54:03 | | katocala quits [Remote host closed the connection] |
| 02:05:32 | | katocala joins |
| 02:06:02 | | katocala is now authenticated as katocala |
| 02:19:39 | | BlueMaxima quits [Client Quit] |
| 02:22:51 | <@JAA> | systwi_: See if you can figure out what this one does, lol: `seq 10 | python3 -c 'import pickle, sys; sys.modules = type("m", (map,), {"__getitem__": lambda self, k: None})(lambda x: print(x, end = ""), sys.stdin); (o := type("o", (object,), {})).__module__ = None; pickle.dumps(o)'` |
| 02:26:31 | <systwi_> | Send (pipe) 1-10 into python3 running, erm...vegetables and maths. :-P |
| 02:26:58 | <systwi_> | I forget what lambdas do in mathematics. |
| 02:27:41 | <@JAA> | :-P |
| 02:27:47 | <@JAA> | Has nothing to do with maths. |
| 02:28:06 | <@JAA> | And it abuses a subtle behaviour in `pickle`. I wouldn't have any idea what it does if I didn't write that abomination. lol |
| 02:28:06 | <systwi_> | I've seen `pickle` before, it might a prettyifier of some kind. |
| 02:28:31 | <@JAA> | No, `pickle` is a data serialisation thingy. Think JSON, but more compact, binary, Python-specific format. |
| 02:28:47 | <systwi_> | Oooh, sounds cool. :-) |
| 02:29:01 | <@JAA> | `pickle.dumps(obj)` translates the object into a byte stream that can later be loaded again. |
| 02:29:25 | <@JAA> | Yeah, until you realise the potential for security issues. :-) |
| 02:33:50 | <@JAA> | The above can be simplified to `seq 10 | cat`. |
| 02:37:12 | | Chris5010 quits [Remote host closed the connection] |
| 02:40:36 | <systwi_> | Oh, that's it? Heh. |
| 02:40:48 | <systwi_> | Is it much different than, simply `seq 10`? |
| 02:46:13 | <systwi_> | Probably behind the scenes, there's some sort of additional processing. |
| 02:46:45 | <@JAA> | Well yeah, two processes instead of one, subtle differences in how seq's stdout behaves, etc. But in practice, no. |
| 02:47:02 | <@JAA> | Just wanted to illustrate that the Python command is a complicated `cat`. :-) |
| 02:47:51 | <@JAA> | But there are other applications. |
| 02:48:14 | <@JAA> | The background when I came up with that was finding elegant ways of doing data processing in Python in a shell pipeline. |
| 02:48:28 | <@JAA> | And then I got sidetracked by trying to find the most ridiculous ways of doing that. :-) |
| 02:49:11 | <@JAA> | Say, you want to do some data transformation on JSON data which can't be done with jq (or you don't have jq installed for $reasons). |
| 02:49:23 | <@JAA> | You could do that with Python in a big pipeline. |
| 02:49:46 | <@JAA> | I've been doing it for a while, just with fairly ugly constructs involving manual linebreaks with $'\n' and later set comprehensions. |
| 02:50:25 | <@JAA> | But there's a more elegant way: `seq 10 | python3 -c 'import sys; min(sys.stdin, key = sys.stdout.write)'` |
| 02:50:50 | <@JAA> | (Insert your favourite function for `sys.stdout.write`, obviously.) |
| 03:01:01 | | Kinille quits [] |
| 03:09:49 | <systwi_> | Ahhh, I see. |
| 03:14:34 | | Arcorann quits [Ping timeout: 265 seconds] |
| 03:37:27 | | Arcorann (Arcorann) joins |
| 03:38:03 | | Kinille (Kinille) joins |
| 04:30:20 | | sec^nd quits [Remote host closed the connection] |
| 04:37:25 | | sec^nd (second) joins |
| 04:38:18 | | tbc1887 (tbc1887) joins |
| 04:43:46 | | sec^nd quits [Ping timeout: 240 seconds] |
| 04:50:29 | | sec^nd (second) joins |
| 05:43:44 | | Barto quits [Read error: Connection reset by peer] |
| 05:52:50 | | Barto (Barto) joins |
| 06:36:46 | | sec^nd quits [Ping timeout: 240 seconds] |
| 06:43:24 | | sec^nd (second) joins |
| 07:17:21 | | knecht420 quits [Quit: Ping timeout (120 seconds)] |
| 07:17:28 | | knecht420 (knecht420) joins |
| 07:22:16 | | sec^nd quits [Ping timeout: 240 seconds] |
| 07:29:13 | <Jake> | https://dgl.cx/2022/08/nat-again-irc-cve-2022-2663 |
| 07:33:33 | | sec^nd (second) joins |
| 08:15:30 | | tbc1887 quits [Read error: Connection reset by peer] |
| 10:21:32 | | tech_exorcist (tech_exorcist) joins |
| 10:31:16 | | sec^nd quits [Ping timeout: 240 seconds] |
| 10:36:16 | <Aoede> | (re: kiwifarms) the owner has said he'll release an archive if he ever closes the site |
| 10:38:06 | | sec^nd (second) joins |
| 12:03:09 | | fishingforpie joins |
| 12:37:22 | | Iki joins |
| 13:18:52 | | tech_exorcist quits [Client Quit] |
| 13:40:26 | | fishingforpie quits [Remote host closed the connection] |
| 13:40:45 | <@JAA> | Jake: Thanks! It's almost as if TLS on IRC actually makes sense. Please shout it louder for the people who wanted to stay on EFnet. :-) |
| 13:51:13 | | michaelblob quits [Read error: Connection reset by peer] |
| 13:52:35 | | dm4v_ joins |
| 13:52:37 | | michaelblob (michaelblob) joins |
| 13:54:59 | | dm4v quits [Ping timeout: 265 seconds] |
| 13:54:59 | | dm4v_ is now known as dm4v |
| 14:09:40 | | Arcorann quits [Ping timeout: 240 seconds] |
| 14:44:30 | | flashfire42 quits [Quit: The Lounge - https://thelounge.chat] |
| 14:44:31 | | kiska quits [Quit: The Lounge - https://thelounge.chat] |
| 14:44:31 | | Ryz2 quits [Quit: The Lounge - https://thelounge.chat] |
| 14:44:31 | | s-crypt quits [Quit: The Lounge - https://thelounge.chat] |
| 14:47:06 | <hexa-> | don't use conntrack helper. |
| 14:47:44 | | Ryz2 (Ryz) joins |
| 14:47:47 | | s-crypt (s-crypt) joins |
| 14:48:07 | | flashfire42 (flashfire42) joins |
| 14:49:54 | | kiska (kiska) joins |
| 15:58:32 | | fishingforpie joins |
| 16:00:43 | | tech_exorcist (tech_exorcist) joins |
| 16:16:10 | <fishingforpie> | I updated my LMW post about My Dear Friend. |
| 16:16:11 | <fishingforpie> | https://forums.lostmediawiki.com/thread/9487/lost-japanese-idol-power-friend |
| 16:56:46 | | fishingforpie quits [Remote host closed the connection] |
| 18:24:28 | | le0n quits [Ping timeout: 240 seconds] |
| 18:27:09 | | le0n (le0n) joins |
| 20:44:16 | | sec^nd quits [Ping timeout: 240 seconds] |
| 20:54:36 | | sec^nd (second) joins |
| 21:20:34 | | datechnoman quits [Quit: The Lounge - https://thelounge.chat] |
| 22:13:42 | | igloo22225 quits [Client Quit] |
| 22:13:59 | | igloo22225 (igloo22225) joins |
| 22:26:16 | | tech_exorcist quits [Client Quit] |
| 22:58:21 | | BlueMaxima joins |
| 23:13:14 | | wickedplayer494 quits [Ping timeout: 265 seconds] |
| 23:15:16 | | wickedplayer494 joins |
| 23:20:20 | | wickedplayer494 is now authenticated as wickedplayer494 |
| 23:26:55 | | Arcorann (Arcorann) joins |