« first day (1627 days earlier)      last day (3305 days later) » 

1:42 AM
what up tho
anyone know how to use UTF-8 in an lxml xpath expression?
 
 
1 hour later…
2:51 AM
Cabbage Guys :-)
 
 
1 hour later…
4:11 AM
My girlfriend just joined her first SE site. So proud :-)
 
@ZeroPiraeus One of my college juniors joined SO after seeing my rep. I felt like I inspired him to do that. So, I think I know that feel :-)
 
4:27 AM
It's particularly cool because I didn't prompt her at all; she just knew I was a fan and went looking for a site to participate in :-)
 
4:50 AM
cbg
 
5:38 AM
cbg, could anyone share the link of the page where most of the python packages are available in the exe format. I lost the link to it..
 
@davidism thanks, but most of them are whl files..
 
That's the new way to package binaries.
Use pip to install them just like you would use pip to install the exe/msi before.
 
ohk .. thanks :)
 
user4433485
Cabbage everyone!
 
user4433485
6:23 AM
hi Robert:)
 
My wife baked brownies, feel free to have one if you're in joburg :)
 
Brownies? That must be a lot of work :(
 
user4433485
Mygod! I love brownies! I take the car ^^
 
@thefourtheye I make her practice during the day and throw it away, so now she's pretty quick
 
@Katherina According to Google Maps, from Bulgeria, its 197 Hours drive. I am not sure if the brownies will taste good if they are not hot :D
 
user4433485
6:28 AM
But I live in the Netherlands @thefourtheye =D
 
@RobertGrant lol.... Post a pic of the brownies :-)
@Katherina That reduces 15 hours of travel ;-)
 
user4433485
if you go to france and take the boat
 
user4433485
it takes like 7 hours or something
 
Flip, I think it's more than that :) It'd be 7 hours on a plane
To here, I mean
 
user4433485
I can't remember, I've been in london with school last year
 
user4433485
6:31 AM
by bus
 
I never had a Brownie in my life :'(
 
user4433485
your life sucks mate:(
 
Is it a sweet?
 
@thefourtheye sorry :( but it's okay
 
It looks like a Cake in the pictures.
 
6:32 AM
It's like a soft, squishy, chocolatey biscuit thing
Not even a biscuit
Like a cake with a slightly crunchy exterior, and very squishy chocolatey interior
 
user4433485
Brownies and Bourbon, that is heaven
 
I'm in a meeting, but I'll take a photo later :)
 
Thanks man :-)
 
6:48 AM
Brownies are usually not as sweet as you guys' gulab jamun, just saying
 
@Jerry Awww... I can survive only with Gulab Jamuns :-)
Water, of course :D
 
lol that stuff is too sweet for me. I can take 1 or 2 at most
I could eat brownies whole day though
 
user4433485
=P
 
Actually I eat hell lot of sweets. If I don't find anything I ll just eat sugar...
So, I am always super active
 
darn, that's a lot of sweetness
 
user4433485
6:52 AM
Lolz crazy
 
user4433485
each his thing
 
too much sugar is bad for dogs, just saying ;P
 
It has become an addiction now. Somehow I have to reduce the sugar consumption :(
 
user4433485
Drink Coffee
 
user4433485
Will help :p
 
user4433485
6:54 AM
Do you smoke @thefourtheye
 
Yup...
I am sure you will hate the coffee which I drink :D
 
user4433485
How comes?
 
user4433485
& what do you smoke?
 
I use a lot of sugar :D
Cigarettes only'
 
user4433485
Ahh well me2
 
user4433485
6:57 AM
I don't consume much sugar, but I drink alot of bourbon
 
You also smoke or you also take a lot of sugar in your coffee? :D
 
user4433485
Smoke
 
user4433485
I live unhealthy aswell:p
 
lol, tell me about it
 
user4433485
pack a day ?
 
6:59 AM
I am next to my evil twin in the worst sleeping pattern championship
Sometimes more than a pack
You?
 
user4433485
lol
 
user4433485
1 pack a day, except saturday, 2 packs ^^
 
Why Saturday gets a special pack? ;-)
 
user4433485
Going out with friends on saturday :)
 
lol... Are you thinking about quitting?
 
user4433485
7:01 AM
Also going to my local pub like everyday
 
user4433485
Not quitting, but I want to smoke less
 
There are very few pubs here, and all of them are very costly :'(
@Katherina ha ha ha, we both know that, that's not going to happen :D
 
user4433485
pubs are expensive, Ive got the advantage of being a girl :p
 
user4433485
haha well you never know!
 
Oh yeah... Girls have free entry, most of the days, here.
 
user4433485
7:04 AM
oh it's always free entry here
 
user4433485
for everyone
 
Lucky Netherlandians
 
user4433485
^^
 
user4433485
Bulgaria it's free entry and 1 beer is like 0,50 euro
 
user4433485
7:05 AM
Hi @JonClements
 
user4433485
and then you've got like 1L beer
 
Might have this wrong, but Happy 21st (again) @Martijn!?
5
 
user4433485
unfortunately I only drink Bourbon or whine tho
 
@Katherina Oh Boy, that's very cheap... :O
 
user4433485
well in the netherlands is far more expensive, like 2 euro for a glass of beer
 
7:08 AM
I pay £5 for a pint here
 
user4433485
you learn to drink in Bulgaria
 
@JonClements 21st?!? What is that Puppy?
 
user4433485
holy ****
 
user4433485
I pay like 5 euro for glass of bourbon
 
@Ffisegydd Oh, that's very costly :O
 
7:10 AM
@Ffisegydd my local is £4.30 for a pint of something I'm not even keen on... got stuck in London once waiting for a train, paid out nearly £7 for half a pint of strongbow - cheapest stuff there... can get 10 cans for that etc...
 
user4433485
You should go to East-Europe @Ffisegydd
 
user4433485
for 1€ you've got yourself a can in Bulgaria
 
(insert joke about going to eastern europe as there's plenty of space, cos they're all over here etc...)
 
user4433485
We actually are :p
 
user4433485
life ain't good in East Europe, can't blame them
 
user4433485
7:12 AM
alot of violence, robberys, protistues
 
user4433485
but it's perfect for holidays! Sunny beach
 
umph... appears I put a sock into the dishwasher
I should worry about my sanity sometimes... but then crazy is cool
 
user4433485
=D
 
user4433485
35 minutes until smoke break
 
7:24 AM
@Katherina how many are you going to smoke now? :D
 
Hi every body.In this site i see a code and I think it is in python language.I don't know Python.Can you convert it to c++?
34
Q: Fast way to calculate n! mod m where m is prime?

John SmithI was curious if there was a good way to do this. My current code is something like: def factorialMod(n, modulus): ans=1 for i in range(1,n+1): ans = ans * i % modulus return ans % modulus But it seems quite slow! I also can't calculate n! and then apply the prime modu...

 
user4433485
I smoke 2 when I 've got 15 minutes break
 
user4433485
Room rules: sopython.com/chatroom
 
user4433485
Welcome:p
 
@Katherina Enjoy :-)
 
user4433485
7:28 AM
Not yet, at 10:00
 
hola , good morning people!
 
user4433485
hola Cabbage
 
user4433485
I feel something is missing here
 
@Katherina cabbage? that was an unusual response? did I miss something?
 
user4433485
 
user4433485
7:33 AM
We all have a kind of autism here
 
@Katherina potato
 
user4433485
Good good!
 
user4433485
You are new on stack?
 
@Katherina no salad for that , huh?
yes...
 
user4433485
Banana!
 
7:35 AM
hello all
 
user4433485
Cabbage @DaSaDiYaChaiTAnYa
 
cabbage all
i need help for zip function in python
 
user4433485
Thats a damn long name
 
@Katherina do u know about the zip function
??
 
user4433485
@DaSaDiYaChaiTAnYa I don't know anything about Python tbh:)
 
user4433485
7:38 AM
@DaSaDiYaChaiTAnYa I'm here for the fun and to learn something
 
Hi, Is that possible to open a youtube cms account through python -youtube API
 
Morning.
Cabbage.
 
@katherina okey Sprouts
 
@JonClements Hi.
 
@DaSaDiYaChaiTAnYa You don't have to ask people to ask. Just throw your question and people who are free and know about it might help you
 
user4433485
7:39 AM
Np
 
@InbarRose Heya... Cabbage :-) Long time.
 
user4433485
Cabbage @InbarRose
 
@InbarRose good morning sir! How goes it?
 
user4433485
@poke took a day off today? ^^
 
@thefourtheye okey good
 
7:40 AM
@Katherina Did you seen my question there?
Do you have any Idea about that?
 
user4433485
Youtube API question
 
user4433485
No
 
Goes well.
 
Ok thanks
 
It's Martijn's Birthday today.
 
user4433485
7:41 AM
like I said, i've no idea about Python
 
@MartijnPieters Happy Birthday! :)
 
user4433485
Martijn Pieters?
 
user4433485
@MartijnPieters Gefeliciteerd:)
 
@InbarRose Ah... That's what the Puppy has been hinting with the pinned post. I get it now :D
 
It's amazing that you guys are all still here. Still Chatting. Still Cabbaging. :)
 
user4433485
7:43 AM
I've never seen you before @InbarRose ?
 
@Katherina Inbar is one of the original founders of this room
 
I am an old timer :P
 
user4433485
Ooh lol =D Nice to meet you
 
(and "co-inventor" of the salad language) :p
 
I take it you are another of the newly initiated cabbage heads?
 
user4433485
7:44 AM
The Original Python Family
 
I was about to say that :D
 
Somehow I bet @Inbar probably doesn't put that down on his CV though :p
 
user4433485
been around for couple weeks now
 
You would be surprised what I put on my CV.
 
@Inbar let's face it - I'd most likely not be :)
Anyway - what ya been up to old buddy?
 
7:46 AM
"Past Experience: Co-Founder of Salad Language with Jon Clements"
 
And I bet that's opened oh so many doors.... (into padded cells?) :p
 
Been up to grueling work.
 
you still at the same place?
 
No
New job is super boring.
 
user4433485
Join the club
 
7:47 AM
But it keeps me constantly busy.
It's the weirdest thing.
Very upsetting.
 
@Katherina it doesn't appear you actually do any work... you're either chatting here, or take coffee breaks (for about 3/4 hours!) :p
@Inbar you looking to move then?
 
All the work is so easy for me, no challenge (so even less reason to come to SO)
 
user4433485
@JonClements so true! That's a students life !
 
But the place here is so disorganized.. it's simply upsetting.
It's a very disheveled start-up.
But they pay well. And I am doing what I like to do. Python Automation.
 
user4433485
talking about coffee breaks..:) I will take my first break in 10 minutes:D
 
7:51 AM
@InbarRose I have the exact opposite. Everything else is the best one could ask for, but I work in Java and C++ :'(
 
@Katherina First of the day I presume, or first of the hour? (Judging by what Jon said earlier, I might not be far off)
 
user4433485
@InbarRose Actually, first of the day :) but its still early :P
 
Remarkably early for a student - thought you weren't supposed to get up until 2pm or something :p
 
@Katherina Depends what time zone you are in.
 
user4433485
@JonClements unfortunately I have to wake up at 07;00 every morning:(
 
user4433485
7:54 AM
@InbarRose I live in the Netherlands
 
@Inbar can't remember if you've seen the relatively newly re-done sopython.com ?
 
Nooo sopycon in July! If it were August I might make it. And if it weren't London, @Ffisegydd definitely would!
 
Um... No I haven't.
Oooooooo. Salad has been expanded!
 
rbrb
 
@Inbar yeah... given a few millenia... imagine what could be achieved! :p
 
7:58 AM
Lunch time
 
Do we still have a Salad robot?
 
user4433485
Coffee guys
 
@InbarRose that's a WIP - it's called RABBIT now
 
user4433485
Brb:)
 
All the projects are on: github.com/sopython
 
8:01 AM
BRB... "Another meeting"
 
@Inbar rbrb for now... catch you later - need to get some emails sent myself
 
Or... Not.....
Meeting just got pushed up
sigh
 
@Katherina size doesn't matter when you are flapped on your back
 
@Robert indeed. I am physically incapable of entering Greater London because the M25 forms the sigil odegra in the language of the Black Priesthood of Ancient Mu, and means 'Hail the Great Beast, Devourer of Worlds'
 
That doesn't sound like a good omen at all
 
8:12 AM
Touche
 
Cabbage!
What a weather.
 
Annoyingly, codecadamy teaches you to use the print statement
 
that helps the complete beginners :)
 
@Katherina People who stay late the day before may get in later the day after ;P
 
@Jerry not really; print(var) isn't hard :)
 
8:21 AM
I don't think it is meant to picture it as something a beginner will have to memorize, but more as something to be aware of; as in, now they know how do a basic output of something from their code. Different languages have it differently, Tcl uses puts, Python and perl use print, JS uses Console.Log, C# uses Console.WriteLine, Java has System.out.println and if you ask me a language other than that, chances are I have no clue.
 
What I mean is it uses the print statement (Python 2) instead of the print function (Python 3)
 
oh that oops :)
 
Yeah especially as Python 2 supports it as well through from __future__ import print_function or whatever.
 
yea, I would have preferred it if they used the latest version. I was using print() in the first few exercises I actually completed lol
 
@Ffisegydd That kind of thing is hard to explain to beginners though.
So Py3 all the way would be a lot more sensible.
Cabbage @Martijn
 
8:26 AM
I agree, Py3 would be more sensible (or at least hiding the import behind the scenes :P)
 
@JonClements, @Katherina, @InbarRose, etc. Thanks!
@JonClements: indeed, twice young today.
 
@Ffisegydd Don't be afraid of the M25 - every time I've used it - it's been a terrific fun filled experience and a completely smooth free journey
 
Oh! Happy Birthday @Martijn
We need a sopython birthday calendar.
 
@MartijnPieters I'm just so glad you're around to not make me feel the oldest one here... I salute you sir! :p
@poke that's actually not a bad idea - wanna set up a wiki page for that?
 
@JonClements liar.
@JonClements damn, I need to convince Tim Peters that hanging out here is a great way to spend his time.
 
8:29 AM
@JonClements Martijn is older than you? :P
 
@MartijnPieters Well... remaining stationery and getting 1 mile every hour or so is hardly good publicity is it? :p
 
Wow, I thought Jon was the oldie.
Him and his English Tea©.
 
@InbarRose I am really a dog too.
 
@MartijnPieters That goes without saying.
 
Wow... starting to wonder if anyone here is actually human? :p
 
8:30 AM
 
@JonClements That would be telling.
 
user4433485
Back!
 
Wasn't there some dude here who was a turtle at some point?
 
user4433485
@poke lol you overslept?
 
@Katherina No?
 
user4433485
8:32 AM
ah I thought you overslept or something, took you a while to come online :p
 
I just came to work later.
 
user4433485
cool
 
yeah @poke - gotta be on time for your fans... sheesh :p
 
user4433485
Indeed.
 
@Ffisegydd Man, I have my copy signed by Neil Gaiman but getting a signature from Pterry on that one is going to take a whole lot of ouija boarding now :-(
 
8:38 AM
Birthday calendar – Add yourselves!
12
 
@poke Done!
 
user4433485
Done!
 
Need moar
It’s kind of quiet today…
 
Nidaba looks interesting. I remember when we first started thinking of the idea all those months ago!
 
yesterday, by thefourtheye
Today is @Ashwini Chaudhary's Birthday... :-)
Somebody should add it
 
8:54 AM
done
 
:)
 
@vaultah "Somebody" Includes you? Why delegate a simple task like this when you can do it yourself?
 
Oh gee, @Ffisegydd shares mine
 
In probability theory, the birthday problem or birthday paradox concerns the probability that, in a set of randomly chosen people, some pair of them will have the same birthday. By the pigeonhole principle, the probability reaches 100% when the number of people reaches 367 (since there are 366 possible birthdays, including February 29). However, 99.9% probability is reached with just 70 people, and 50% probability with 23 people. These conclusions include the assumption that each day of the year (except February 29) is equally probable for a birthday. The history of the problem is obscure. W....
 
That was quick though
What are we, like 10 8 people so far there?
 
8:58 AM
I think it hits 50% at 20 or so. Just lucky I suppose.
 
@InbarRose because doing this from the phone is far from convenient. And the connection is bad.
 
@vaultah Understandable.
 
@InbarRose 9.
 
@poke Did you import itertools.count?
 
I put @Jerry on his own line now.
 
8:59 AM
Either that or me and Jerry are actually clones of each other separated at "production", one sent to Mauritius to learn regex and one sent to Wales to learn pandas.
 
:)
 

« first day (1627 days earlier)      last day (3305 days later) »