00:01:38dm4v quits [Read error: Connection reset by peer]
00:02:10dm4v joins
00:02:12dm4v quits [Changing host]
00:02:12dm4v (dm4v) joins
00:29:24dewdrop (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:35qwertyasdfuiopghjkl14 joins
01:06:26qwertyasdfuiopghjkl quits [Ping timeout: 244 seconds]
01:06:29qwertyasdfuiopghjkl14 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:47sec^nd quits [Remote host closed the connection]
01:22:34sec^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:41Iki joins
03:38:45qw3rty_ joins
03:42:37qw3rty__ quits [Ping timeout: 252 seconds]
03:55:58jamesp quits [Client Quit]
04:16:58DogsRNice quits [Read error: Connection reset by peer]
04:44:02nicolas17 quits [Ping timeout: 250 seconds]
04:52:21Ryz quits [Remote host closed the connection]
04:54:38Ryz (Ryz) joins
05:03:35sonick quits [Quit: Connection closed for inactivity]
05:22:43shoghicp quits [Ping timeout: 252 seconds]
06:03:05shoghicp (shoghicp) joins
06:24:42qwertyasdfuiopghjkl quits [Ping timeout: 244 seconds]
06:33:35knecht420 quits [Quit: The Lounge - https://thelounge.chat]
06:34:19knecht420 (knecht420) joins
06:41:13sonick (sonick) joins
06:46:04qwertyasdfuiopghjkl joins
08:11:04Jake8 (Jake) joins
08:12:02Jake quits [Ping timeout: 250 seconds]
08:12:02Jake8 is now known as Jake
08:46:48godane1 joins
08:49:31godane quits [Ping timeout: 252 seconds]
09:11:58BlueMaxima quits [Client Quit]
10:21:30IDK (IDK) joins
11:28:43HackMii quits [Ping timeout: 258 seconds]
11:30:34HackMii (hacktheplanet) joins
13:20:49jamesp (jamesp) joins
13:23:43qwertyasdfuiopghjkl quits [Ping timeout: 244 seconds]
13:27:20godane1 quits [Ping timeout: 244 seconds]
13:30:55qwertyasdfuiopghjkl joins
14:00:35spirit joins
14:21:35qwertyasdfuiopghjkl quits [Ping timeout: 244 seconds]
14:22:29ThreeHM_ (ThreeHeadedMonkey) joins
14:25:34ThreeHM quits [Ping timeout: 252 seconds]
14:25:48ThreeHM_ is now known as ThreeHM
14:32:43Arcorann quits [Ping timeout: 252 seconds]
14:44:41nicolas17 joins
15:04:40godane (godane) joins
15:16:50PokestarFan (PokestarFan) joins
15:50:02spirit quits [Client Quit]
16:06:53PokestarFan quits [Remote host closed the connection]
16:42:18spirit 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:58Mateon1 quits [Ping timeout: 252 seconds]
17:39:54Mateon1 joins
18:01:02DogsRNice (Webuser299) joins
18:02:04benjinsmith joins
18:03:45benjins quits [Ping timeout: 244 seconds]
18:05:00benjinsmith is now known as benjins
18:05:42Mateon1 quits [Ping timeout: 250 seconds]
18:15:09Mateon1 joins
19:00:44TastyWiener95 quits [Ping timeout: 250 seconds]
19:21:23benjinsmith joins
19:23:16benjins quits [Ping timeout: 250 seconds]
19:54:46benjinsmith is now known 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:22Arcorann (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.