| 00:01:38 | | dm4v quits [Read error: Connection reset by peer] |
| 00:02:10 | | dm4v joins |
| 00:02:12 | | dm4v is now authenticated as dm4v |
| 00:02:12 | | dm4v quits [Changing host] |
| 00:02:12 | | dm4v (dm4v) joins |
| 00:29:24 | | dewdrop (dewdrop) joins |
| 00:37:52 | <Ryz> | lol I got soft banned from using DuckDuckGo somehow for making search queries that the website deems to be an error but I can still go through those same same queries |
| 00:45:26 | <jamesp> | Ryz what do you mean by a soft ban? |
| 00:46:42 | <Ryz> | Like, instead of using DuckDuckGo normally, it just gives "duckduckgo.com took too long to respond" instead |
| 00:49:55 | <@OrIdow6> | I'd call that more than a soft ban |
| 00:50:20 | <@OrIdow6> | I'd guess those queries are just cached somewhere, maybe in your browser |
| 00:53:01 | <Ryz> | ...I can't even access the website from another browser OrIdow6 |
| 01:04:35 | | qwertyasdfuiopghjkl14 joins |
| 01:06:26 | | qwertyasdfuiopghjkl quits [Ping timeout: 244 seconds] |
| 01:06:29 | | qwertyasdfuiopghjkl14 is now known as qwertyasdfuiopghjkl |
| 01:07:25 | <@OrIdow6> | Ryz: Sounds consistent with them just firewalling you or something, though I see that DDG has a "Cache-Control: max-age=1" header on their queries, which to my understanding would mean it has to send a request when you recheck |
| 01:07:54 | <@OrIdow6> | But there are people here far more experienced with getting blocked from websites than I am |
| 01:09:28 | <Ryz> | Hmm~ oo; |
| 01:10:15 | <@JAA> | I haven't managed to get banned from DDG like that, but it's been a while since I tried to send many queries their way. |
| 01:12:04 | <Ryz> | Mm, this is kinda annoying to be given this restriction when I was in the middle of having to verify whether the userpages are still up or not |
| 01:12:22 | <Ryz> | I'll have to use Bing or maybe Startpage instead... |
| 01:21:47 | | sec^nd quits [Remote host closed the connection] |
| 01:22:34 | | sec^nd (second) joins |
| 01:35:53 | <Arcorann> | Which userpages are you trying to check? |
| 02:14:29 | <Ryz> | I'm going through https://wiki.archiveteam.org/index.php/ISP_Hosting and checking if they're still alive or not |
| 02:14:41 | <Ryz> | There's more than a few that are dead since doing the checking... |
| 02:14:53 | <Ryz> | ...Would like more attention being brought to #webroasting please... |
| 02:36:41 | | Iki joins |
| 03:38:45 | | qw3rty_ joins |
| 03:42:37 | | qw3rty__ quits [Ping timeout: 252 seconds] |
| 03:55:58 | | jamesp quits [Client Quit] |
| 04:16:58 | | DogsRNice quits [Read error: Connection reset by peer] |
| 04:44:02 | | nicolas17 quits [Ping timeout: 250 seconds] |
| 04:52:21 | | Ryz quits [Remote host closed the connection] |
| 04:54:38 | | Ryz (Ryz) joins |
| 05:03:35 | | sonick quits [Quit: Connection closed for inactivity] |
| 05:22:43 | | shoghicp quits [Ping timeout: 252 seconds] |
| 06:03:05 | | shoghicp (shoghicp) joins |
| 06:24:42 | | qwertyasdfuiopghjkl quits [Ping timeout: 244 seconds] |
| 06:33:35 | | knecht420 quits [Quit: The Lounge - https://thelounge.chat] |
| 06:34:19 | | knecht420 (knecht420) joins |
| 06:41:13 | | sonick (sonick) joins |
| 06:46:04 | | qwertyasdfuiopghjkl joins |
| 08:11:04 | | Jake8 (Jake) joins |
| 08:12:02 | | Jake quits [Ping timeout: 250 seconds] |
| 08:12:02 | | Jake8 is now known as Jake |
| 08:46:48 | | godane1 joins |
| 08:49:31 | | godane quits [Ping timeout: 252 seconds] |
| 09:11:58 | | BlueMaxima quits [Client Quit] |
| 10:21:30 | | IDK (IDK) joins |
| 11:28:43 | | HackMii quits [Ping timeout: 258 seconds] |
| 11:30:34 | | HackMii (hacktheplanet) joins |
| 13:20:49 | | jamesp (jamesp) joins |
| 13:23:43 | | qwertyasdfuiopghjkl quits [Ping timeout: 244 seconds] |
| 13:27:20 | | godane1 quits [Ping timeout: 244 seconds] |
| 13:30:55 | | qwertyasdfuiopghjkl joins |
| 14:00:35 | | spirit joins |
| 14:21:35 | | qwertyasdfuiopghjkl quits [Ping timeout: 244 seconds] |
| 14:22:29 | | ThreeHM_ (ThreeHeadedMonkey) joins |
| 14:25:34 | | ThreeHM quits [Ping timeout: 252 seconds] |
| 14:25:48 | | ThreeHM_ is now known as ThreeHM |
| 14:32:43 | | Arcorann quits [Ping timeout: 252 seconds] |
| 14:44:41 | | nicolas17 joins |
| 15:04:40 | | godane (godane) joins |
| 15:16:50 | | PokestarFan (PokestarFan) joins |
| 15:50:02 | | spirit quits [Client Quit] |
| 16:06:53 | | PokestarFan quits [Remote host closed the connection] |
| 16:42:18 | | spirit joins |
| 17:25:00 | <spirit> | stuck in a python: i have three lists a, b, c and a string foo. i want to build itertools.product(a, b, c) but also include foo in each "line" of the result. tried to include it with itertools.repeat(foo) in the product but that iterates through its characters. anyone got a pointer for me? |
| 17:30:29 | <spirit> | ((*p, foo) for p in product) # seems alright |
| 17:36:33 | <spirit> | yeah |
| 17:36:35 | <spirit> | thanks :) |
| 17:36:58 | | Mateon1 quits [Ping timeout: 252 seconds] |
| 17:39:54 | | Mateon1 joins |
| 18:01:02 | | DogsRNice (Webuser299) joins |
| 18:02:04 | | benjinsmith joins |
| 18:03:45 | | benjins quits [Ping timeout: 244 seconds] |
| 18:05:00 | | benjinsmith is now known as benjins |
| 18:05:30 | | benjins is now authenticated as benjins |
| 18:05:42 | | Mateon1 quits [Ping timeout: 250 seconds] |
| 18:15:09 | | Mateon1 joins |
| 19:00:44 | | TastyWiener95 quits [Ping timeout: 250 seconds] |
| 19:21:23 | | benjinsmith joins |
| 19:23:16 | | benjins quits [Ping timeout: 250 seconds] |
| 19:54:46 | | benjinsmith is now known as benjins |
| 19:54:47 | | benjins is now authenticated as benjins |
| 20:01:50 | <h3ndr1k> | spirit: zip(('foo'), product(a, b, c)) or something like that. |
| 20:03:58 | <h3ndr1k> | wait, you might have to read up on zip. You might have to do zip(['zip']*(len(a)*len(b)*len(c)), ...) Otherwise zip might not have enough 'foo's. |
| 20:04:53 | <h3ndr1k> | Or just do for result in product(...): yield ('foo', *result) |
| 20:11:51 | <spirit> | my generator expression from above works well enough, but thanks! |
| 20:12:01 | <spirit> | basically what your loop would do |
| 20:12:11 | <spirit> | i had played with zip and repeat and OOMed badly :D |
| 20:17:36 | <h3ndr1k> | zip and repeat should not oom. maybe you had a list() in there somewhere |
| 20:19:27 | <h3ndr1k> | Yeah but a generator is perfect too. |
| 20:27:13 | <spirit> | :) |
| 21:19:27 | <@JAA> | zip and itertools.repeat should work since zip stops when the shortest iterator ends (which is why itertools.zip_longest is a thing). itertools.product and itertools.repeat is not a good idea though... |
| 21:20:41 | <@JAA> | 'Before product() runs, it completely consumes the input iterables, keeping pools of values in memory to generate the products. Accordingly, it is only useful with finite inputs.' :-) |
| 21:29:14 | <@JAA> | `itertools.zip_longest((), itertools.product(a, b, c), fillvalue = 'foo')` is another option. |
| 21:31:03 | <@JAA> | Er |
| 21:31:21 | <@JAA> | Actually, the simplest would be `itertools.product(a, b, c, ('foo',))`. |
| 21:32:47 | <@JAA> | That also gives you a series of four-tuples rather than that nested structure. |
| 23:24:36 | <kpcyrd> | is save-page-now down again? |
| 23:29:22 | | Arcorann (Arcorann) joins |
| 23:31:58 | <Jake> | spn has lots of issues. #internetarchive would be the place to discuss this however |
| 23:33:11 | <kpcyrd> | is the code opensource? |
| 23:36:00 | <Jake> | I don't believe so. |