Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2013-01-16

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:14 mwn3d_phone joined #rosettacode
00:59 mwn3d_phone1 joined #rosettacode
01:52 mwn3d_phone joined #rosettacode
02:05 BenBE joined #rosettacode
02:05 BenBE joined #rosettacode
04:42 BenBE joined #rosettacode
04:42 BenBE joined #rosettacode
10:23 atif joined #rosettacode
10:27 atif hi guys
10:49 sorear hello atif.
10:50 atif how are you sorear?
10:51 sorear dunno.  it weirds me when strangers ask that
10:51 atif haha, never mind
10:51 atif the website is great
10:52 atif google took me there
10:53 sorear I'm sure the contributors here appreciate hearing that
10:53 atif i have an issue
10:53 atif in reference to: http://rosettacode.org/wiki/Web_scraping#Python
10:53 fedaykin "Web scraping - Rosetta Code"
10:54 atif i have modified the code: http://pastebin.com/ueVZpiGb
10:54 fedaykin "import urllib page = urllib.urlopen('http://www.gumtree.com.au/s-sydney/l300343 - Pastebin.com"
10:54 sorear (I don't think I've ever contributed to the site, so I can't take that compliment personally)
10:54 sorear hmm, do you want an account to be able to modify the site?
10:55 atif not really, i basically want to know why my code isn't working
10:55 atif i am getting "SyntaxError: invalid syntax" on line 5
10:55 atif *of my code*
10:56 sorear I don't use Python, but maybe it doesn't like the tabs
10:57 sorear I remember that "ban tabs, always" was one of the PEPs for Python 3.0
10:58 sorear experimenting a bit with the python REPL, it looks like it wants a blank line after the for block
10:59 sorear before page.close()
10:59 atif tried
10:59 atif didn't work
11:00 sorear oh, that's repl only
11:01 sorear atif: are you running this from a file?
11:02 atif yes
11:02 sorear what do you get for python -V /
11:02 sorear ?
11:02 atif 3.3.0
11:03 sorear your code works if I run it from a file on python 2.{5,6,7}
11:03 sorear I am installing python 3 now
11:04 atif ohh
11:04 atif i can install python 2.7
11:10 atif sorear, that works like a charm :)
11:11 atif on 2.7
12:53 mwn3d_phone1 joined #rosettacode
15:52 92AAB0P69 joined #rosettacode
16:56 mwn3d_phone joined #rosettacode
17:31 BenBE joined #rosettacode
17:31 BenBE joined #rosettacode
17:37 mwn3d_phone Extra spam today
17:52 * mikemol nods
17:52 mikemol It hit the Linux Documentation Project's wiki, too.
17:52 mikemol I'm guessing there's a new player in the spam market.
17:54 mikemol Probably going to have to set up another group for 'verified' editors. File uploads and page creation not allowed unless the user drops by.
17:57 * TimToady hopes that URLs in the log don't contribute to SEO
17:57 mikemol Don't think so.
18:00 mwn3d_phone Are they blocked in robots.txt? Would that help stop the SEO stuff?
18:01 mwn3d_phone Looks like the "special" namespace is blocked in there
18:02 mwn3d_phone So the recent changes feed and the logs aren't included by the engines nice enough to obey the rules
21:12 mischi joined #rosettacode
21:22 sirdancealot7 joined #rosettacode
22:29 Gerard_Schildber joined #rosettacode
22:29 Gerard_Schildber What is the procedure (or tick) to load a file that doesn
22:29 Gerard_Schildber What is the procedure (or tick) to load a file that doesn't have one of the allowed filetypes, in particular, say TXT?
22:30 Gerard_Schildber I'm trying to upload a common subroutine that can be referenced by other examples.
22:30 mwn3d_phone Gerard_Schildber: can't you put the text in a regular page?
22:32 Gerard_Schildber Yes, but I want to just refer to it instead of cluttering up several other examples (tasks).
22:32 mwn3d_phone You can just link to a regular page that has that text in it
22:32 Gerard_Schildber One of my bigger programs had that done for it, but I see no way that --I-- can do that for myself.
22:34 mwn3d_phone If you just create a new regular page with the name of the file and edit the page you can copy and paste the contents of the file into a lang block
22:35 Gerard_Schildber Another question, how can I update MY program (number names) for the REXX entry?
22:35 mwn3d_phone Click the edit link and just change it?
22:36 Gerard_Schildber yeah, I never thought of that  (being sarcastic).
22:36 Gerard_Schildber it says:     ------ See [[Number names/REXX]].
22:36 fedaykin http://rosettacode.org/wiki/Number_names/REXX
22:37 mwn3d_phone Yeah...go to that page and click the edit link there
22:37 mwn3d_phone That separate page is also editable (just like pretty much every other page on the site)
22:38 Gerard_Schildber If I didn't know that was the secret name... why doesn't just EDIT work?
22:38 mwn3d_phone Because its on a separate page
22:39 mwn3d_phone That's why we put the link there. Then its not secret.
22:40 mwn3d_phone And its on a separate page because its large and makes the page difficult to edit when we edit it from the top level
22:41 Gerard_Schildber Another stupid question:  how (where) do I "create a regular page:?
22:43 mwn3d_phone1 joined #rosettacode
22:43 mwn3d_phone1 You can search for it and then click the create link on the resulting page or you can make a link to it wherever you want and then click the resulting red link
22:46 mwn3d_phone Or you can enter the desired URL directly and create it there like the URL fedaykin will make from this: [[pageDoesNotExist]]
22:46 fedaykin http://rosettacode.org/wiki/pageDoesNotExist (Doesn't exist, try http://rosettacode.org/wiki/Sp​ecial:Search/pageDoesNotExist )
22:48 Gerard_Schildber OK, thanks, I think I got the gist of all that.
22:53 slavik1 joined #rosettacode
22:53 mwn3d_phone Gerard_Schildber: it looks right so far :)
22:58 Gerard_Schildber Yuppers, I'm on a tear now.... condensing some REXX programming examples.
23:16 mwn3d_phone1 joined #rosettacode

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary