2026/01/03

Newest at the top

2026-01-03 04:15:04 +0100aetepe(~aetepe@188.119.58.52) (Ping timeout: 246 seconds)
2026-01-03 04:11:53 +0100jmcantrell_(~weechat@user/jmcantrell) jmcantrell
2026-01-03 04:10:48 +0100aetepe(~aetepe@188.119.58.52) aetepe
2026-01-03 04:09:49 +0100jmcantrell(~weechat@user/jmcantrell) (Ping timeout: 246 seconds)
2026-01-03 04:02:31 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2026-01-03 03:57:53 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-03 03:55:15 +0100wennefer0(~wennefer0@user/wennefer0) (Quit: My Mac has gone to sleep. ZZZzzz…)
2026-01-03 03:47:06 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2026-01-03 03:42:05 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-03 03:31:13 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2026-01-03 03:28:52 +0100Lycurgus(~juan@user/Lycurgus) (Quit: alsoknownas.renjuan.org ( juan@acm.org ))
2026-01-03 03:27:35 +0100jmcantrell_jmcantrell
2026-01-03 03:26:35 +0100Square3(~Square@user/square) (Ping timeout: 240 seconds)
2026-01-03 03:26:30 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-03 03:21:28 +0100jmcantrell_(~weechat@user/jmcantrell) jmcantrell
2026-01-03 03:19:29 +0100Inline(~User@cgn-195-14-221-74.nc.de) (Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/)
2026-01-03 03:18:49 +0100Lycurgus(~juan@user/Lycurgus) Lycurgus
2026-01-03 03:18:16 +0100wennefer0(~wennefer0@user/wennefer0) wennefer0
2026-01-03 03:15:43 +0100wennefer0(~wennefer0@user/wennefer0) (Client Quit)
2026-01-03 03:15:36 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) (Remote host closed the connection)
2026-01-03 03:15:15 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2026-01-03 03:14:21 +0100wennefer0(~wennefer0@user/wennefer0) wennefer0
2026-01-03 03:14:11 +0100 <monochrom> Once again the fallacy of seeing O/Θ/Ω("n") and thinking "I only see 'n', so linear time, and if I can easily make a 1000x speedup then it's fast", forgetting that really n = 2^k where k is the number of input bits, so you're looking at exponential time, at which point a 1000x speedup fails to catch up.
2026-01-03 03:10:43 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-03 03:09:01 +0100wennefer0(~wennefer0@user/wennefer0) (Client Quit)
2026-01-03 03:08:16 +0100 <monochrom> OTOH if the list has 1,000,000 numbers, we are spawning 1,000,000 threads. At that point the OS overhead of spawning so many threads becomes unbearable; and even if you find a way to tolerate it, the huge uncertainty that some threads start counting early, some others start count late, means that your sleep time cannot be as short as 1ms.
2026-01-03 03:08:00 +0100wennefer0(~wennefer0@user/wennefer0) wennefer0
2026-01-03 03:05:35 +0100 <monochrom> It means that if I sort a list of just a few 64-bit numbers I'm already waiting 2 days.
2026-01-03 03:04:55 +0100 <monochrom> That's 2 days.
2026-01-03 03:04:51 +0100 <yahb2> 2.135039823346013e11
2026-01-03 03:04:51 +0100 <monochrom> % 2^64 / 1000 / 86400
2026-01-03 03:04:44 +0100 <monochrom> > 2^64 / 1000 / 86400
2026-01-03 03:02:08 +0100wennefer0(~wennefer0@user/wennefer0) (Client Quit)
2026-01-03 02:59:35 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2026-01-03 02:59:20 +0100wennefer0(~wennefer0@user/wennefer0) wennefer0
2026-01-03 02:56:09 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) humasect
2026-01-03 02:54:56 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-03 02:53:10 +0100epitronsleep sort expert
2026-01-03 02:52:58 +0100wennefer0(~wennefer0@user/wennefer0) (Client Quit)
2026-01-03 02:52:38 +0100 <epitron> Also its runtime is the largest value in the list, not the list size
2026-01-03 02:52:02 +0100wennefer0(~wennefer0@user/wennefer0) wennefer0
2026-01-03 02:51:47 +0100 <epitron> You can speed it up by a factor of 1000 by only sleeping for 1ms
2026-01-03 02:44:46 +0100acidjnk(~acidjnk@p200300d6e7171974ecdc66dbb7a91ed3.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
2026-01-03 02:43:43 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 246 seconds)
2026-01-03 02:42:31 +0100Inline(~User@cgn-195-14-221-74.nc.de) Inline
2026-01-03 02:39:08 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-03 02:38:23 +0100wennefer0(~wennefer0@user/wennefer0) (Client Quit)
2026-01-03 02:36:34 +0100wennefer0(~wennefer0@user/wennefer0) wennefer0
2026-01-03 02:29:21 +0100Inline(~User@cgn-195-14-221-74.nc.de) (Remote host closed the connection)
2026-01-03 02:29:09 +0100wennefer0(~wennefer0@user/wennefer0) (Client Quit)