« first day (839 days earlier)      last day (4113 days later) » 

12:50 AM
anybody here?
 
yes
 
 
5 hours later…
5:34 AM
Hi, Kevin!
I guess you're afk. ttu l8r! :)
 
 
3 hours later…
 
7 hours later…
4:03 PM
@Kneel-Before-ZOD: Just to let you know: balpha has added me and @IngbarRose as additional owners of this room.
@balpha: thanks.
@Kneel-Before-Zod: Would you be okay with a merge of Everything Python into this room?
Some decisions made in the other room: We ditched the feeds. The Python feed is just too busy to be tolerable as a room feed (either with the slide-down ticker box or the chat messages); it'd be better if the ticker could be disabled per person.
And we were in the process of setting up some external pages to capture FAQs and general chat room info, etc.
 
 
4 hours later…
8:18 PM
@MartijnPieters maybe just take the feed off
I also dont see the need for the tag under room description
we all know where to find it... no need for a reminder :)
@azsromej nicely detailed question: stackoverflow.com/q/7248433
and another nice one: stackoverflow.com/q/11317455; am a sucker for good grammar and spelling
 
8:39 PM
@Tshepang Are you good at pel?
perl.
 
@user1690130 not at all; I wrote a bit of it, but was never really comfortable
what's up?
@user1690130 not at all; I wrote a bit of it, but was never really comfortable
 
@Tshepang I cannot get my perl code to work :(
 
@user1690130 isn't there a Perl room around here
 
@Tshepang i tried to tart one
 
@user1690130 why not just ask on the site?
is the Question embarassing :)
 
8:44 PM
@Tshepang sorry, what o oyu mean?
 
@user1690130 ask the question you have on Stack Overflow
 
@Tshepang i'm not so good at perl. I wrote the code. It compile. Wrong reult, however.
@Tshepang I did.
 
oh
my connection is real bad
1
Q: using perl to scrape a website

user1690130I am interested in writing a perl script that goes to the following link and extracts the number 1975: https://familysearch.org/search/collection/results#count=20&query=%2Bevent_place_level_1%3ACalifornia%20%2Bevent_place_level_2%3A%22San%20Diego%22%20%2Bbirth_year%3A1923-1923~%20%2Bgender%3A...

 
@Tshepang I cannot understan what they are saying
 
slow as hell
 
8:48 PM
@Tshepang what i?
 
?
 
@user1690130 But when you load page with LWP::Simple it only gets site "code", but not actualy data. Real data will be loaded after "site code" is executed.
@user1690130 familysearch.org is using AJAX to search
@user1690130 You need program to capture HTTP trafic between browser and server to see what kind of http calls you need to do to get search result.
 
@IvanNevostruev wow. that is interesting. how much extra code is that entail?
 
@user1690130 Which OS you are on and what browser you have?
@user1690130 You don't need to write your own "trafic capturing" program. You can use any existing one. There are also plugings for FireFox doing this.
 
If you're using WebKit (Chrome or Safari), the Network tab in the developer tools can record requests for you.
 
9:02 PM
Or FireBug in FireFox
 
@user1690130 I just Google this and glanced at it quickly, but this article looks like it might be a decent explanation of what's required. (It uses Ruby later on, but the section on looking at the network requests is general.)
 
@IvanNevostruev Sorry about that. I use firefox.
@IvanNevostruev But I scrape using a .cmd. I hvae window.
@IvanNevostruev I write a perl script in .pl. I load the .cmd. I then scrape in the .cmd.
 
Martijn Pieters has stopped a feed from being posted into this room
 
@Tshepang: I've removed the feed
but I'm leaving in the tag; I believe that there is also another purpose to it; linking in the other direction.
room topic changed to Python: The *productive programming language [python]*
 
@MartijnPieters Did I do something wrong?
 
9:17 PM
@user1690130: Hrm?
 
@MartijnPieters what?
 
I have no idea what you are talking about.
 
9:27 PM
IRC, the productive chat protocol.
 
9:47 PM
why nobody is chatting
 
10:11 PM
@IvanNevostruev hEY!
 
10:56 PM
@MartijnPieters ta
 
@Tshepang hey!
 
@user1690130 wsup
 
11:11 PM
perl is soooo hard
 
@user1690130 u make me curious why play with it
 
@Tshepang because that is all i know! :(
 
huh
try Python
only strange people would say Perl is simpler
 
i never said it is simpler
i just can't figure out out to execute phyton
python
 
@user1690130 I did not mean to imply that
@user1690130 what do you mean "execute"?
 
11:16 PM
i run perl on a .cmd
 
what is that
@user1690130 still there?
 
i don't know. o nmy computer. i got to run cmd
commdn prompt
 
can u show me a typical command u'd run on that prompt?
 
perl test.pl
 
with Perl that is
equivalent for that is python test.py
@jpedro20 me likes ur profile pic
it's quite distinctive
 
11:24 PM
so i can do .cmd and use python!?!? SOOO cool
 
yeah
 
i hate tutorials
 
@user1690130 strange
what do you prefer
 
learning by doing.
tutorials are usually written in a very technical language
they are not helfupl if you don't know the langauge well
and if you do, then you are usually too advanced for the tutorial
 
strange opinion
I find tutorials to be among the best ways to learn something new
ur opinion makes me wonder what sorts of tutorials you've looked at
 
11:30 PM
hard ones or basic ones
 
since u dislike tutorials so much, I guess one way to learn Python is to find a task u r struggling with in Perl, and then search the web how to do it in Python
 
@Tshepang thanks
@user16901 do you have any kind of experience on programming?
 
@jpedro20 yes. basic college level
 
nice
I also prefer learning by doing
 
11:50 PM
@jpedro20 does that also apply to learning a new language?
 
@Tshepang yes. if you have knowledge on other PL, I think that's easy to learn a new one
 
sounds like a lot of screwing around to me
I mean, u dont even know the syntax, but u write code
I dont know how that works
and BTW, learning by doing is what tutorials actually are
but I was thinking what u and @user1690130 meant is 'diving in blindly'
 
I have to know the syntax to write code
 

« first day (839 days earlier)      last day (4113 days later) »