« first day (1715 days earlier)      last day (3244 days later) » 
00:00 - 16:0016:00 - 00:00

12:00 AM
read that article was fairly interesting, esp coming from the military where the paradox of medication is a fact of life for those of us with brain injuries
 
12:14 AM
alright, number five. Feels like watching it helps.
number four!
ok, tweeted the link, I hope it goes to number 1.
 
1:20 AM
Yeah, I know it's Friday night... still, anyone around?
 
Maybe....
 
That's ok, I'm emotionally stable enough to handle uncertainty.
I think emotional stability is a really important personality trait. It's one of the top five in my book.
oops, gotta go pick up my wife down the street...
 
Hello?
 
heya @James
 
Do you believe that if I am using Bottle for small API's within my application, it will be suitable for production? We currently have small API's written with Bottle and Node.js Express, and are wondering if it would be overkill to switch our Python API's to Flask?
 
1:35 AM
Having never really used bottle myself - can't really say - but I'm gonna take a guess at "it'll be fine"
 
@Kevin Lol, can I use my senior quote @Kevin
thats a reply to an old post
"Those tricksy ruby programmers, always trying to get our magical python egg that's the source of our power.:
Has anyone used the Visual Studio Tools for Python extensively?
 
Kevin's our resident source of witticism :)
 
Think he would let me use that as my senior quote?
 
1:50 AM
Possibly? Sorry - my connection appears to be having one of its yo-yo moments...
 
lol, I know the feeling
 
cbg @JGreenwell
 
cbg always paying attention @JonClements
Did you get more tea?
 
2:06 AM
I did - talking of which - time to boil the kettle
 
And I'm back.
I'm a very happy camper.
 
...I miss good tea; haven't had any since I moved away from Scottish people
 
tut tut, down to five
But I'm still on the front page, and that's something.
 
@AaronHall I like that it goes back to the hobbit story at the end :)
 
exqueezeme?
 
2:22 AM
"Hobbits would make great Programmers" at the end of the page
 
What traits of hobbits would make them good programmers?
I always thought gnomes would make good programmers
Well, the ones in everquest, anyway. Not lawn gnomes
 
rather slow for Python...
Seems to die about this time of night...
 
2:37 AM
I think I lost a job because I gave "hubris" as my "strength/weakness" and the IT manager didn't get it
I forget some people never used Perl
 
That's not good
Hopefully you have enough work
 
eh, I have the GI Bill for the rest of this semester; IS degree with experience in a few systems, something else should come up
 
The post 9/11 or the Montgomery?
 
9/11, switched over right before I got out
 
3:00 AM
It happened while I was in the air force too, I started with the first one and got the 9/11
I just thought of checking my new zip, and it's $200 lower than where I was before.. I didn't even think of it until now :(
 
I did some community college and then a few AA classes while I was in so I finished my BS with time left over (so continuing Graduate while looking for work)
 
Cool, I haven't used much of mine yet
 
user559633
3:49 AM
@JGreenwell hah, that's actually a great answer. Also, good to 'see' you, been a bit
 
yeah, MS and new job keep eating away my hacking time
 
@tristan get my note?
 
user559633
@AaronHall not yet -- bounced off to the airport first thing this morning
 
@tristan congrats on the room owner status
 
cbg @tristan
 
user559633
4:03 AM
@JGreenwell cheers, came as a surprise :)
 
user559633
@JonClements bad wifi cbg :)
 
@tristan mine's up and downing all bloomin' night - very annoying
 
sleep time, night all
 
night...
 
user559633
@JGreenwell night!
 
user559633
4:23 AM
plane time, rbrb. have a good day @JonClements
 
@tristan Rhubarb
@tilaprimera Heya, Cabbage :-)
 
@tristan ditto
 
@thefourtheye it's only been 13 mins :)
 
That's plenty of time
 
@JonClements Yup, but this OP seems a bit careless. Didn't include what he wants, and no explanation after commenting :'(
 
@thefourtheye have you seen what's going on in the javascript room? Don't appear to be any ROs about there at the moment...
 
Checking now puppy. I follow their chat only when there is an interesting discussion.
I have no idea how to handle people like him :(
 
4:51 AM
I suspect he'd have been kicked by now - but it's not my room - only went there to suggest he not abuse the flag system...
 
BTW, when we say valid in a chat flag window, it means that the content is valid for the site or the flag is valid?
has to read the text carefully next time
 
I'm kinda curious as to whether or not this song has reached you guys, since you're not from here
 
@thefourtheye The flag is valid
 
Hmmm, yeah. It makes more sense that way.
 
5:22 AM
wb @Thomas
 
 
2 hours later…
lol
almost as cool as "ninjapup" :p
 
lol. Its super cute as well. The music also matches the pup's actions.
 
cabbage
I aten't dead
 
cbg!
 
Sorry about being absent for a while, but I had the 'flu, and hardly turned the computer on for a couple of weeks.
 
8:03 AM
@Ffisegydd No yamming way. That's amazing. Totally nerdgasm'd
 
Hey PM good to see you
 
@tristan I'm half tempted to get one made - because it makes me chuckle
 
Hi, Fizzy. I missed you guys.
 
@PM2Ring Hope you recovered now. Take care :-)
 
I'm not totally recovered, but I feel a lot better than I was.
 
8:09 AM
@PM2Ring well - you've missed some "fun" recently :)
 
@JonClements Yeah? What did I miss?
 
Err... easier to check the trello boards
 
Rightio
 
welcome @Peng
 
@Intrepid thought you'd appreciate it :p
 
8:25 AM
To be honest, I've been back online for a few days, but I was busy learning enough about ellipsoid geodesics to write this SE.mathematics answer and this accompanying program, GeodesicTriangulate.py. :)
 
Anyone having experience with Tor proxy ? I am doing good with this but local control ports also get proxied through a tor exit node while using Mongoclient.
 
cbg @Martijn
 
Hey up
 
8:44 AM
Nice work @PM2Ring
 
Wow - Tunisia is really serious
 
And cabbage, very pleased to see you aten't dead
 
Thanks, Richard. I quite enjoy spherical trig, but that ellipsoid stuff is downright scary! :)
I hope the OP appreciates the work I put into creating that answer. OTOH, it was interesting learning about that stuff & writing the program.
 
Yes, hope they realise it's a cut above the spherical triangle that most would use / propose
I love to learn by researching an answer on here.
 
Oh, he understands that spherical trig's not good enough for his purposes - we already discussed that in the comments. I originally suggested using Vincenty's formulae, but I've since learned that Charles Karney's algorithm is vastly superior: I suppose that Vincenty's algorithm was good enough 40 years ago, but it sometimes fails to converge & it's not very accurate.
rbrb - dinner time
 
8:56 AM
That was an excellently written answer
 
Appears I have some issues when it comes to rendering it though :(
Regardless, I now have a math.se account purely for upvoting it :)
 
Hi,@JonClements thanks for welcoming
 
What brings you to our little neck of the woods as it were?
 
Why did the FRIENDS show have to end? :'(
 
@thefourtheye it's all on netflix :)
 
9:10 AM
But when we watch the 10th Season's last episode... God, its touching...
 
Everything has to end eventually. Don't be sad that it ended, be happy that it happened.
6
 
@Ffisegydd woah... that's Kevin level star worthy material :p
 
Not sure where I stole it from but cheers :p
 
9:27 AM
@Ffisegydd I would love to see the source code for that when I have a free week or so...
 
Yeah it's pretty funky. I definitely wasn't expecting it.
I thought it would be the usual "woooo look at cloooooth!"
 
re-cbg
@Ffisegydd Thanks, Fizzy!
@JonClements Excellent. :) It's weird that the MathJax isn't rendering properly, though.
 
9:55 AM
Incidentally it was a Dr. Seuss quote :P
 
ahhh
 
10:18 AM
cbg
 
10:37 AM
Hey up Avinash
 
hey, how are u?
 
10:53 AM
Not bad, watching Celebrity Masterchef.
 
@Ffisegydd our friendship is over man! it's over! :p
(although I did watch the one with David Mitchell)
@AvinashRaj how ya been?
 
cbg
oz masterchef is the best
 
@JonClements 5in , What about u? How's the diamond? Did you njoy it?
 
@AvinashRaj wow - having to read txt spk
I'm fine thank you for asking. And yes, having a diamond is hard "work", but yeah, fun in a way
heya @MRS1367
 
@tristan congrats
 
11:05 AM
@AnttiHaapala why?
 
@Avinash he's been made a Room Owner.
 
me??
i already got a python gold badge..
lol..
 
No tristan has, that's why Antti was congratulating him I assume.
 
11:34 AM
Excuse me
Do you recommend I start with Python 3 or 2
 
cel
3
:D
 
I want to start producing innovative apps and I'm unsure why you'd want to use one or the other
 
3.
 
3?
What's a good online, free learning resource for 3?
LPTHW is out
So now what?
 
11:35 AM
@Ffisegydd Alright, are there any other ones that teach you how to use libraries?
e.g. A language is soulless without its libraries
 
Define "libraries"? You mean the stdlib? Or 3rd party ones?
 
@Ffisegydd Both, if their use isn't exactly obvious
i.e. Smart pointers are not obvious in C++
 
cel
This probably needs closing again. The user asked a similiar unclear question a week ago stackoverflow.com/questions/31088238/what-is-laplace-cdf
 
You're best to Google about for the individual libraries you struggle with.
 
@Ffisegydd Yes, but aren't there a set of good ones?
i.e. I know SFML and Boost are two for C++
 
11:37 AM
As all I'd do is Google it for you, so probably easiest if you search yourself.
Aren't there any good what? Libraries?
 
@Ffisegydd Last question; what are some libraries that you use
And what do you use it for
 
I use dozens/hundreds, I'm afraid your question is far too broad.
 
@Ffisegydd What is your work focused around
 
There are thousands of libraries in Python, maybe tens of thousands.
 
@Ffisegydd Alright
Thanks
 
11:40 AM
I really don't understand why you want/need to know what libraries I use. Why not just think "I need a library to do X" and then search for it?
 
@Ffisegydd Because I like seeing examples of professional/popular-use libraries
 
There are not many "general" libraries like there is Boost for C++, that's because anything that is "general" is already available in the standard library (which is built in).
 
@Ffisegydd mmm, I see.
How about for GUI/graphics?
Pygame is a binding for SDL but I hear it's not too performant
 
So you'll find that 3rd party libraries are more specialised. For example a library specifically for GUI work, or scientific work, etc.
 
@VermillionAzure The standard Python distribution comes with a healthy library of modules. I suggest getting familiar with the standard modules via the official Python documentation.
 
11:41 AM
Do you want GUI or graphics? They're different things.
 
@Ffisegydd both
examples of both
inb4 Qt?
and... uh... PySDL?
 
@Ffisegydd It's cracking - unless they cheated of course. Happens a lot in physics coding ;)
 
@VermillionAzure Me also asked the same question once i get into this room at very first.
 
GUI: Tkinter, Kivy, PyQT/PySide, WxPython.
 
@Ffisegydd Which one is "the best"
 
11:43 AM
None of them.
 
I know wxWidgets and Qt are not very equal from what I've heard.
 
Tkinter for desktop apps, and kivy is for dev mob apps
 
Not necessarily.
Kivy can be used for non-mobile :/
 
hmmm
So Tkinter is sort of the de-facto GUI?
 
I'm not going to say which is "best" because it's completely opinion based.
 
11:44 AM
You can do Qt from Python. Or GTK. They are 3rd party modules, i.e., not part of the standard distribution. The standard library comes with tkinter, which is ok for simple stuff, but a bit limiting for ambitious projects. Also, tkinter doesn't have a great reputation, partly because it's a bit weird in some of its design decisions, and partly because earlier versions made very ugly GUIs.
 
My opinion would differ to others.
Tkinter is builtin for Python but I would not say it's de-facto as it's pretty basic.
 
@Ffisegydd mm, I seee.
And finally---game programming with Python o.o?
 
PyGame?
 
@Ffisegydd Is that it?
 
Again, you should search yourself and see what pops up. All that's happening at the moment is you're asking me a question and I'm then Googling it for you.
I know of PyGame, I'm sure there are more, I don't know them off the top of my head.
 
11:47 AM
@Ffisegydd alright
I think that'll be enough to get me started
thanks
 
Pygame is a quick & dirty solution for doing graphic stuff. As it name implies, it's designed for people who just want to hack a simple game together - it doesn't really provide the capability for creating a proper GUI.
OTOH, there's a guy on xkcd who's in the process of building a GUI library based on Pygame, but I haven't seen any recent progress reports from him, so maybe he's abandoned that project.
 
@PM2Ring okay
thanks
 
Awww drat. My improbably high ratio has plummeted :(
 
@VermillionAzure The most popular-use libraries in Python are the standard ones. Guido's philosophy is that Python comes with "batteries included" i.e., you don't need to rely on 3rd party libraries to get stuff done.
Of course, for special purposes 3rd party libraries may be necessary. And in some cases 3rd party libraries may be clearly superior to the standard ones, eg Requests is generally acknowledged to be way better than the standard Python urllib / urllib2
 
12:27 PM
wb @Martijn
 
A little while ago, I noticed Determining if three numbers are consecutive in the Hot Network Questions sidebar. I have a cute solution, but I guess it might be considered too clever (à la Kernighan's Law). Also, it's not immune to overflow error. But it's very compact and quite efficient. :)
 
@PM2Ring we're having a bet until you notice two things that have changed in the room :p
 
12:43 PM
Oh. My medium-term memory's a bit sporadic, so you may be waiting some time. :)
 
@JonClements in and out. And in and out of my office laptop too.
or so it appears.
 
no worries
 
Hi, I am wondering SO have such complex answers for js setInterval's equivalent in python.
I think it can be done in a more easy way !
 
What's it meant to do? Run a function at set times?
 
Yeah @Ffisegydd
 
12:53 PM
That seems like a sensible way of doing it
 
@Ffisegydd which one ?
 
The top answer.
 
@Ffisegydd I have a less complex way of doing that, stackoverflow.com/questions/2697039/…
@Ffisegydd I am not sure if I am right or not :(
 
I don't see how yours has any advantage over the others :/
It's not really that much less complex.
 
@Ffisegydd The other answer is using recursion, which has always more cost :)
 
12:58 PM
Really? Are you sure? Have you profiled it? Where are your results?
I'm not saying you're wrong, but "The X uses Y, which always has more cost." is ripe for being picked apart.
Even if it does always have more cost, is that cost significant? Does it even matter?
 
@Ffisegydd , agree with you but the question is quite old. I expected somewhat more pythonic way to do it instead of using a bit of workaround. Well that's ok.
 
Maybe there's not a huge demand for setInterval-like behaviour in simple Python scripts that run in the terminal. GUI programs will generally use the delay functionality that's provided by the GUI library.
 
@PM2Ring yeah writing a terminal program that requires the terminal GUI updating workaround.
@PM2Ring Therefore, I gave a shot to have something new than using the existing answers.
 
1:13 PM
FWIW, I think your answer looks cleaner than that recursive solution. But I've rarely done time delays in Python, except in GUI programs using GTK, where I used GTK's delay functions.
 
@PM2Ring ok.
@PM2Ring The other answer spawns a different thread in each recursive call, that's why I was a bit afraid to use that.
Anyways SO always rock !!
 
cbg
Hiya @PM long time since speakin to ya :)
 
@black-perl Yes, it spawns a different thread in each recursive call. But each of those threads is killed once the function executes. I guess that involves a little bit of overhead, but as Ffisegydd said, you'd really need to profile it to see what impact that has on resources & performance.
Hi Bhargav. I've had the 'flu, and haven't done much with the computer for the last few weeks. I'm almost better now, but still a bit vague.
 
@BhargavRao and @PM2Ring still hasn't noticed a few changes :p
 
Maybe he just hasn't bothered to mention it? :P
 
1:24 PM
Haha. He still didn't get it? :D
 
(Because I love to ruin Jon's fun) in case you hadn't noticed @PM2: Jon is blue and tristan is italic.
 
It would be fun to have tristan as RO :P
 
I'd noticed that Jon was in blue, but I couldn't remember if that was a new thing. :) And I don't think I've seen Tristan in here today.
 
Perhaps your flu has made you lose a bit of memory ;D
 
bluefeet took a job as a community manager so she stopped being a mod, as such they asked Jon and Matt to become mods as well (as they were 4th and 5th in the election).
 
1:29 PM
As I said earlier, my medium-term memory is a bit sporadic.
 
Tristan got made an RO just the other day, as Jon is gonna be busy with modding is nice to get someone new in.
 
@Ffisegydd Ah! I remember voting for Jon, I just didn't remember whether he'd won a mod place or not. :)
So I guess I should say "Congratulations, Jon!". You certainly deserve to be a diamond mod. I hope the extra duties aren't too much of a burden.
 
@PM2Ring thanks - it's interesting work to say the least
@Ffisegydd Thanks for that matey :p
 
\o/
 
@Ffisegydd Actually, I'm a little surprised that Tristan wasn't made an RO earlier...
 
1:35 PM
Btw. Who started this room?
 
Kneel-Before-ZOD.
 
Yep
 
Woah cool!
 
Umm... can't remember the complete history, but Inbar Rose was a fundamental part of this room at startup
that's never forgotten
 
1:44 PM
The co-inventor of Salad!
I am writing a wikipedia page on Salad_Language
 
Seriously? If you are serious, then please don't.
 
:D Ok I wont
 
Were you serious or kidding?
 
I've seen some pretty inefficient prime number counters in my time, but this one must be a leading contender for most inefficient. Using a list purely as a counter's just the icing on the cake. :) I'm almost tempted to post a link to it in Deliberately bad algorithms...
 
Today my project completed Stage1. So in a good mood :)
 
1:49 PM
congrats Bhargav
I concur with Fizzy.
 
@BhargavRao Wise. Although I think Salad Language is cute, it is rather frivolous. And certainly far too ephemeral to deserve its own Wikipedia page
 
Ok Wikipedia page is off the list :|
 
I'm still on the front page of Hacker News! :D
 
Did you earn enuf Karma to dv?
 
2:01 PM
no, but I'm up like 115 from 200 yesterday! Thanks to Larry Walls.
 
Wow. That's good
 
Hello
 
Hello @James
 
2:19 PM
cbg all :-)
 
cbg :)
 
2:30 PM
Hey up
 
Anddddddd back
 
Sup brahj
 
Been unpacking units and prepping them for testing
It's like working in a reverse sweat shop.
Once I've got these harmonics calculated, I might spend some minutes on nidaba
 
BhargavRao, just make a salad translator python script instead :D
 
2:53 PM
ok, just got back from the market with my wife, Nat.
Now for bacon and eggs. My Saturday morning favorite...
 
@Ffisegydd Ooh. That'll be useful for today. Thanks
 
3:11 PM
rhubarb
 
rbrb @pm
 
Do we have a canonical python answer for the colour question?
Ie - making X distinct colours?
 
@tristan you were right, this show Silicon Valley is great
 
The season one finale had me laughing so much I could barely breathe :-)
 
hmm
@ZeroPiraeus nice avatar
 
3:16 PM
@IntrepidBrit As in, equidistant on a colour wheel? Not to my knowledge.
@AnttiHaapala Ta :-)
 
@IntrepidBrit there are canonical distinct colours everywhere
they just do not need to apply python per se.
I did it in java not so long ago and I looked at some C# code while at it.
 
Aye, for once it's not so much that there's no good answers - it's just that there's many. Wondered if we had one picked out
 
3:53 PM
@PM2Ring welcome back
Wow, you wrote an entire academic paper for an answer.
 
Hey up davidism
 
cbg
 
What's a good mechanism of recognizing if someone is on a different device through web request?
 
00:00 - 16:0016:00 - 00:00

« first day (1715 days earlier)      last day (3244 days later) »