« first day (1282 days earlier)      last day (3651 days later) » 
05:00 - 20:0020:00 - 00:00

8:00 PM
@Ffisegydd have you read up... is it just me, or does the room seem more strange than normal? :p
 
I have read up, that's why I suggested hot choc :p
 
Please - if you can slip a bit of brandy in with no-one looking that'd be great :)
 
@ExoticBirdsMerchant ah... don't think I can help you. Although, github has a nifty desktop application that seems to work with windows well
 
well when i manage to learn Python i will go to Linux. First we take Manhatan then the worls
*world
 
Manhattan's safe then? ;p
 
8:02 PM
yeah, imo developing is muuuuch easier on linux
 
I'm tempted by buying a mac for development
 
@Ffisegydd do it, I use a macbook air and it's great. Although I'd say go for the pro if you're going to get one
 
@JonClements for now absolutely
 
I can only really afford /want an air
I have a windows tower which is fine for power etc. I am looking for a portable laptop and the 12 hour battery sounds sexy :p
 
air is really portable, it weighs next to nothing and is still sturdy
 
8:05 PM
Just think of the time you can spend chatting here! :)
 
Exactly! I won't have to use my phone all the time
 
yup! It's nice. Python is an amazingly challenging feat to learn...12 months ago i believed computers where electricity purification filters but then Internet came!
 
have you used any other languages?
 
I started with VBA but it sucked amazingly!
 
8:20 PM
that's to be expected from VBA
 
Umm, I feel like a game of MTG
 
I started with fortran...
 
@Ffisegydd you and @mgilson could wile away the hours together then... :)
@Ffisegydd ooo, 13 to go
 
I know. I'm gonna push it tomorrow
Then edit all of the things.
 
"all of the things"? :)
 
8:30 PM
Yep. Everything. Gonna edit you to give you a 4th leg
Gonna edit Kevin to change him from a gravatar
Gonna turn @Crow into a Pigeon
 
Think that's done it
 
@Crow yup so much time wasted on VBA
 
I've reproduced 80% of the functionality of a 90k LoC PHP system... with 176 lines of code, and 300 lines of HTML
Think I'll just do the rest tomorrow
 
Urgh you still on that? Gonna need to add more brandy to that hot choc
 
Pretty much done now... taken long enough to deconstruct it and get a few bits confirmed by the client, but now I've got the task fully spec'd, I've pretty much smashed it out since Thursday
Probably finish it tomorrow, then sit on it for ~2 weeks so it looks like I've spent more time on it cough :p
 
8:36 PM
Pro.
 
@Ffisegydd crows are basically just goth pigeons anyway
 
@Ffisegydd so... why haven't you edited yet?
 
Guys i put ;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd on path in environmental variables and still the cmd does not recognize...could it be that i have a 64bit system?
 
<_< >_> :p
 
are you using github, Exotic?
 
8:42 PM
@crow i installed it and now i am trying to setup the path variables
so that i can use it from cmd
 
@Ffisegydd Just pass us the bottle... :)
 
but these days i get lemons all the time :P
 
I mean if you're using windows and github, I'd say just download this because it's easier windows.github.com
 
@Ffisegydd here's a good one for your first edit: stackoverflow.com/questions/23186691/…
 
@crow yup windows and github...i'm checking the link now
@crow thats what i downloaded
 
8:44 PM
I'm on my phone so it's not that easy D:
 
I thought as much... that's why it's relatively easy - just a couple of code blocks :)
 
8:57 PM
hi
 
I need some help related to mysql
you aware with mysql ?
 
It's possible the python room is not the best place to ask :)
 
;)
 
9:01 PM
Gonna run for a bit... bbl
 
so, when a setup.py runs and you extract the tarball, does it install the dependencies you need?
 
Cbg @JonClements
 
Sab
9:44 PM
Apples all :D
The first rule about mysql is to learn prepared statements O.O
 
10:07 PM
Hello, Python!
 
heya @Code :)
 
How's it going?
 
Not too bad - yourself?
 
Bah.
>>> from bson._cbson import _dict_to_bson
>>> type(xxx), xxx
(dict, {'size': {'height': 70, 'width': 100}})
>>> type(yyy), yyy
(dict, {'size': {'height': 70, 'width': 100}})
>>> xxx == yyy
True
>>> _dict_to_bson(yyy, False, 0)
>>> "..."
>>> _dict_to_bson(xxx, False, 0)
InvalidDocument: Cannot encode object: {'width': 100, 'height': 70}
Nothing better than obscure bugs in a C library...
 
@Thief rather you than me :)
 
10:14 PM
pfft :P
 
@Thief don't mention it - any time - glad I could help :p
 
@JonClements Doing well. Have a tutoring session right now.
 
@Code oh... for...?
 
ok, yet another bug in mongokit.. xxx['size'] is a DotedDict instance (yyy was the dict I created manually)
 
physics
I'm the teacher, not the student in this case, just to be clear
 
10:19 PM
@)
 
school or university?
 
Sab
Explain the wave-particle duality.
 
university
 
already caught some students dumping homework on a SE site? :P
 
Sab
@Code-Guru Some tips to survive first year physics please. :)
 
10:22 PM
@Sab Stay on top of the homework
 
Sab
I catch my friends doing this all the time. Then I realize I'm googling my problem sets xD
 
lots of practice will get you a long ways.
 
He deals the cards as a meditation
And those he plays never suspect
He doesn't play for the money he wins
He don't play for respect
 
Sab
I did 10 chapters in 7 weeks. So hardcore
@JonClements Is it normal I rapped these lyrics?
@Code-Guru What book do you use in first year at your university?
 
I use the term "teacher" loosely. I'm a private tutor and don't work for the univ.
I don't remember off the top of my head the author of the book.
 
Sab
10:29 PM
Aha.
Well, I'll keep your advice of doing loads of problems.
Thanks for that.
 
the class I'm tutoring right now is "Conceptual Physics" which is probably different than the Physics you will take if you are doing Comp Sci.
Are you in the United States?
 
Sab
Actually I'm doing the First year physics of a physics major
Not in US
Classical mechanics to be precise
 
with calculus?
 
Sab
Modern classical mechanics I should say
Ya
The fact that Vectors got in, took me some time to adapt
 
calc definitely makes physics easier to do imo.
 
Sab
10:32 PM
equations of motion like v = u+at can't be used anymore
The problem with the book I use is that it's not well categorized like other books.
And it has loads of problems, but no answers.
 
answers are helpful to check yourself...
 
Sab
Exactly.
 
as long as you don't rely on that too much.
 
Sab
For starting it's good to check, but if you don't have them at the beginning, you will never know where you're headed to
 
IMO, that's the wrong way to go about it
ideally you should have your own answer before checking the answers in the book
 
Sab
10:35 PM
Obviously.
 
the question itself will give clues about where you are heading
 
Sab
You get the answer and you check if it's right.
 
exactly
I guess I misunderstood your comment then
 
Sab
But if you can't even check it, that's where the problem gets in.
Ya you did.
I can't even use a book like Halliday since the approach is different.
The notations are different as well and tend to get confusing
 
Guys some emergency help (should be a glimpse for you) are all these commands on that link supposed to be written on GitBash???
 
10:39 PM
which link?
 
yes, you should be able to use GitBash for them
 
ohhhhh i must find a way to make git work :P thank you so much... logically all these with the dollar sign command are for GitBash
 
right...or you can use CMD.EXE from Windows, too
 
i see now how git can be useful you download the pack and make it dance with gitbash right>?
 
10:41 PM
well...with some modifications
 
Wow!!!! i dig that
i will have to learn it too though. Thanks
 
10:56 PM
Yes i am not ashamed to ask!!! What is a repository people?
Everyone takes it for granted ever in tutorials...
 
read that first chapter for the basics of Git
 
@Code-Guru ok i GoGo!
 
TIL 'Abracadabra' means 'I will create as I speak' and 'Avada Kadavra' means 'I will destroy as I speak'
 
in what language?
 
abrahamic
 
11:08 PM
abrahamic is a language?
 
apparently, I guess it's probably a collection of languages
 
yes but it is long extinct. Jesus spoke abrahamic
Jewish is a basic version of abrahamic
 
wikipedia says it's probably from hebrew or arabic
 
Jewish and Arabs before they split into rivals came from one race the Semites
These guys spoke abrahamic
 
well I mean, I think arabic and hebrew are abrahamic in the same way that Swedish and Norwegian are Germanic, if that makes sense.
 
11:11 PM
@Crow interesting point
 
Sab
return("A+B = [", ab1, ", ", ab2, ", ", ab3, "]", sep = "")
why do I get a syntax error here>
Apparently it's the Sep = ""
:S
AHa!
Fixed
 
you can only return a single value
 
Sab
Nop not fixed lol
I realized that.
How can I go around this problem?
I'm thinking of assigning a variable to it and converting ab1, ab2 and ab3 to str
 
Guys you cannot paste in the GitBAsh?
 
Sab
and concatenate
 
11:20 PM
what if i want to git clone [url]
i must type the whole url?
not that i am lazy but seems inefficient
 
Sab
Would that be a clean alternative?
answer = ("A+B = [" + str(ab1) + ", " + str(ab2) + ", " + str(ab3) + "]")
return(answer)
It now works, but not sure if it's "elegant" as experienced programmers would say :S
 
@Sab or use json.dumps()
 
Sab
What's that?
I'm new to Python/programming, this may be a little complex for me :S
 
not really, do you know what json is? It's a data structure often used in javascript
 
Sab
Basically I was making a function to do 3D vector calculations, addition, dot product and subtraction
how can I use json in python?
 
11:27 PM
with the json library: https://docs.python.org/2/library/json.html
json.dumps() dumps a string and might do what you want to do with those "separators", eg `return json.dumps(some_string, separators=' ')`
 
Sab
Aha. I'll look at that
I'll explain to you my approach to my program. Could you please tell me if its good?
 
Guys i need some heads up: I have cloned the git and it says to run $ python allimone.py but i do that and says no such file or directory` right here github.com/rahulrrixe/SEC-Edgar
can someone check this
 
Sab
So I took 2 strings A and B, which are just 3 numbers separated by space for each. Then I did A.split() and B.split and assigned each to a variable. Finally I just concatenated each of A[i] and B[i] with a sign(e.g A[i] + "+" + B[i]) using a for loops and converted it to an eval and printed it.
 
*sorry allinone.py it is and says allinone.py: command not found
sould i download the git?
 
11:45 PM
@Sab are you just trying to print stuff? If so, I'd also say look into prettyprint. Since you're into mathematical stuff, have you looked at NumPy or SciPy or Mathplotlib?
(also I don't think it's considered good practice to use + to join strings; strings are immutable so it has to make a new string. I think generally people use .join() for that kind of operation)
 
@ExoticBirdsMerchant double check your spelling
 
@Code-Guru i did and and typed allinone.py and it tells me No such file or directory --> here is the link github.com/rahulrrixe/SEC-Edgar strange isn't it
i cloned it
 
05:00 - 20:0020:00 - 00:00

« first day (1282 days earlier)      last day (3651 days later) »