« first day (1967 days earlier)      last day (2978 days later) » 
00:00 - 22:0022:00 - 00:00

12:54 AM
as predicted....here I am.
:D
 
Welcome back.
 
\o
 
user3854113
Hello ? I was wondering if someone could help me with a python problem
 
just ask your question
 
Shoot.
 
user3854113
1:02 AM
I'm running python on a virtualenv
 
user3854113
because I dont have sudo access
 
user3854113
the problem is , when I run my app with python 3 or +
 
user3854113
I get an error
 
user3854113
because python cant find a file named "libpython3.4.m.so.1.0"
 
user3854113
On lower version of python , for example python 2.6.6 , I dont get this error , because the file "libpython2.6.so.1.0" is at the bin folder of the server
 
user3854113
1:04 AM
Is there a way to tell python 3 to look for that file somewhere else ?
 
you know I saw \o and was trying to figure out which mathematical argument or operator you were trying to type @idjaw.....too much latex
 
user3854113
Or is there a way to instal libsqlite3-dev without sudo access ?
 
it is slashed o btw
 
user3854113
Btw I get this error when I run the app and it tries to import sqlite3
 
user3854113
Ideas ?
 
user3854113
1:08 AM
No ? :(
 
@JGreenwell what you working on tonight?
 
did you check out some of the questions about installing libraries in a virtualenv? If these don't answer your question I'd just ask a question on the site
As the weekends can get sparser (or at least more varied) activity
the same thing I work on every night: Trying to rule the world!
 
please tell me that was a day of the tentacle reference
 
that or Pinky and the Brain
 
ha! yes!
 
user3854113
1:14 AM
well ... actually I can't install libsqlite-dev using pip
 
user3854113
I was wondering if there was a way to tell python where to look for the file..
 
user3854113
I have the file on another directory , but I cant find the way to tell python that the file is there
 
<-- is mostly just working on finishing a paper tonight
and watching the kids (wife is taking a much needed overnight at one of her friend's house)
 
@JGreenwell One of them's a genius the others insane!...
 
@Maks you can specify a path but be aware you may have problems if your trying to load an old version of a library that is incompatible due to changes made between versions
 
user3854113
1:24 AM
that's for .py files...
 
user3854113
I need to import files with different extensions
 
if it is just loading dlls or such why not use os.path to set the path (maybe os.path.join() to add file) and load from there
 
user3854113
from _sqlite3 import *
ImportError: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory
 
user3854113
that's the error..
 
user3854113
I used os.path.join("path/to/libpython3.4m.so.1.0")
 
user3854113
1:38 AM
but still not working
 
user3854113
I'm using django and hosting on GoDaddy shared linux server
 
1
Q: Django / Python error with Passenger on Dreamhost

AivoricHi Stackoverflow community, I have recently been experimenting with setting up Django on dreamhost (using Passenger) and have come across a problem I can't seem to fix. First of all, I have used the following guides to learn and set everything up: 1) Update new Django and Python 2.7.* with vi...

There are a few other similar questions that point to that same LD_LIBRARY_PATH problem
 
user3854113
supposedly I have to index the file dir to the LD_LIBRARY_PATH of python os rigth ?
 
user3854113
2:05 AM
Doesnt work T.T
 
4:35 AM
How to close a dialogue box automatically on combobox onchange?
 
 
2 hours later…
6:07 AM
Hi everyone please help me for this question and thank you stackoverflow.com/questions/35810729/…
 
6:21 AM
How to close a dialog , when I try with gtk.main_quit() whole app closes . please advise
 
Cabbage
@sudhakar Please read the room rules. Do not ask about your own fresh questions here, give them at least a day or two. However, your question is off-topic for SO.
 
oh sure Cabbage I will not do this after sorry
 
cbg
that's it for trying to secure Python :D
 
@Anes What are you trying to do? Normally you let the user close the dialog. The usual way to start a GTK dialog is via its run method, which makes the dialog modal (i.e. input to all the other windows is blocked). As the docs say:
You can force the run() method to return at any time by calling response() to emit the "response" signal. Destroying the dialog during the run() method is a very bad idea, because your post-run code won't know whether the dialog was destroyed or not.
@sudhakar Thankyou for your cooperation.
 
@PM2Ring but my problem is that i use a combobox in dialog
in onchange option I need to close the window
i think you understand my point?
any method for same : def destroy_dialogo(self):
"""
MÃ © everything to destroy a window
"""
gtk.main_quit() # close all window...

return True
here all application window closes
 
6:44 AM
@Anes Yes. As I've said before, I'm a bit rusty with GTK stuff. But did you try to close the dialog by calling its response method with gtk.RESPONSE_DELETE_EVENT as its argument?
 
hey can guys can you help me solver this riddle
StringReverse("46-ESAB")

Func StringReverse( $input )
Local $output
Local $split = StringSplit( $input , "")
For $i = $split[0] to 1 Step -1
$output &= $split[$i]
Next
Return $output
EndFunc
 
@SujithSizon That doesn't look like Python...
 
Yes I tried it
 
i dont know what it is, bt i have to solve to get a free cookie from my uncle
 
@PM2Ring do you can give a sample program if possible
 
6:49 AM
you can dos a python with a datastructure
 
@AnttiHaapala Yeah, I just read about that in the transcript. OTOH, if you've got tuples nested 1000 levels deep I think you probably have bigger problems than the recursion limit. :)
 
nope this is different...
this is SIGSEGV
need much more than 1000
 
@Anes Are you launching this dialog via its run method?
@AnttiHaapala Ah, ok.
 
@PM2Ring if for example one used a non-recursive json parser
thinking "this is safe for recursion limits" but the resulting data structure would crash
 
@PM2Ring yes
 
7:01 AM
@Anes "After the run() method returns, you are responsible for hiding or destroying the dialog as needed." IOW, sending the gtk.RESPONSE_DELETE_EVENT signal doesn't destroy the dialog. It simply breaks control out of the run loop, and it's up to you what happens next. You can simply hide the dialog if you want, so it's available next time you need it.
 
@PM2Ring I tried dialogo.hide() too but not a result
 
@Anes That's not a MCVE so I can't run it. But I already see one problem: dialogo.connect('response', lambda *x: self.destroy()) Your callback calls self.destroy, and I assume that mostrar_combobox is a method of your main GUI class, so self refers to the main GUI instance. And you probably don't want to destroy that when the dialog callback is called.
 
yes you are right
but I need to close that dialogue window automatically
 
7:18 AM
haha
@PM2Ring ok got python 2 to crash with a datastructure from eval when printed.
print eval('(lambda i: [i for i in ((i, 1) for j in range(1000000))][-1])(1)')
 
@Anes Another odd thing: You have combobox.connect('changed', self.changed_cb) both before and after you run the dialog. I guess the second one won't hurt anything, but it does nothing useful.
 
yes you are right need only one
i corrected that in original code already
 
 
1 hour later…
8:55 AM
@PM2Ring my latest problem post here : forum.voidlinux.eu/t/…
 
@Anes That's still not a MCVE. But not to worry, I've just written a small example for you.
 
please provide
 
@Anes Please write a question on SO and I'll post my code there.
 
ok in stackoverflow right?
@PM2Ring : The question here : stackoverflow.com/questions/35812198/…
 
@Anes Ok. I was going o say don't post the link here, I'll find it. And even though it's against the Chat rules to post fresh questions in here, I did ask you, so it's ok. :)
 
9:05 AM
ok sorry
 
@Anes There's no need to apologize!
 
9:23 AM
@Anes Can you understand what my code does?
 
@PM2Ring yes I am looking on it and plan to rewrite my app code
 
@Anes Excellent. Please don't forget to accept & up-vote my answer!
 
@PM2Ring Sure I will thanks alot sir
 
@Anes Not a problem. But next time please post a MCVE; it makes it so much easier when I can actually run the code I'm trying to fix.
 
@PM2Ring Sure sir
 
10:24 AM
@Anes I just noticed that you haven't accepted any of the answers to the questions you've asked on SO. Please see here for instructions on how to accept, and why it's important.
 
 
1 hour later…
11:40 AM
cbg
 
cbg
 
Is Django as mature as Ruby On Rails?
I have done RoR and I am learning Django. I am looking for an open source contribution in the Django
# of Ruby Gems vs Django packages

Gems: https://rubygems.org/

Packages: https://www.djangopackages.com/
 
You're comparing an entire language and its packages to one package?
That's not exactly fair, is it.
 
@AbhimanyuAryan pypi.python.org
 
I ain't comparing. I know Python is vast. But, I am worried if won't struck in learning. Due to scarcity of resources.
 
11:45 AM
You should do some research then, as their is a wealth of resources on Django.
 
So everything that is in RoR is in Django? All need to do is: Look for them?
 
there are much more to web development on Python than Django
 
I don't know, why don't you go try?
 
and to me Ruby and RoR are just toys.
 
well I wanted to look at Flask but then I wanted a complete replacement for RoR
Django fits well for that. Flask is Microframework
@AnttiHaapala RoR is a toy. It's so easy to play with
Any Django video tutorials you guys would suggest? I am currently watching Coding Enterpreneur's videos
 
11:49 AM
I personally am using Pyramid for bulding big programs. It is not as featured as RoR, maybe but it is the most flexible
 
@AnttiHaapala man I could have started with anything but I can't. In India we don't have too many options.
Django is used here
But, I think I would learn Flask just for fun :)
Is there any book for Python that teaches deep concepts of how its written. Like we have "Ruby Under a Microscope" for Ruby
?
how Python is written in C. What are function, variable, classes structure of Python in C code. Its hard to read cpython source code with a proper explanation
 
I doubt it. The Python source code is an ever-changing thing.
 
re-cbg
 
cbg
 
While it can sometimes be interesting to look at the CPython source, please bear in mind that Python is not defined by its implementation.
And although CPython is "standard" Python, there are a variety of other implementations in common use.
 
12:06 PM
I have more doubt. Is Python doing any thing about multicore stuff. I mean its a dynamic language so has some concurrency issues.

Ruby is trying to that in coming version. Is python also doing it. For now Ruby has Rubinius that has solved concurrency issues. What about Python?
is PyPy some sort of compiler. I don't wish to see the benchmark comparison b/w Python and PyPy.

How fast is PyPy as compared to Java?
 
@AbhimanyuAryan have you looked into this yourself?
Have you done the research?
You must understand that what you're effectively asking us to do it spend our time doing some research into this for you, you're effectively arguing that our time should be used rather than yours.
 
Nope. I wished somebody here would spoon feed me. And I would do it later

But I didn't found any comparison b/w PyPy and Java or Go lang or C++
 
@AbhimanyuAryan you'll find that I have literally zero sense of humour when it comes to someone abusing the room, or the rooms time. If you think that saying "I wished somebody here would spoon feed me" is funny, let me tell you that it will not go down well.
 
reading the rules sorry :(
rules didn't mentioned it. I didn't knew those words "Spoon Feed" were treated as possible abuse
I will take care of it in future
 
@AbhimanyuAryan I'm sorry if we haven't put every single possible variation of possible abuse in the rules. I'll take care to edit that.
The issue is you not treating peoples time with respect, not listening when someone suggests you do your own research, and being insulting by making jokes suggesting we spoon feed you with your issues.
 
12:30 PM
I have no intensions to insult anyone if it looked that way I am sorry. I respect everyone's time. The only thing I keep in mind is that you people are experienced(God level) programmers. You guys can tell/explain something very easily. I would end up by wasting a lot of time and still wouldn't find right stuff. So sometimes I try ask people. Coz I think that would be a right thing to do. That what teachers & mentors are for @Ffisegydd if I am not wrong. But sorry again if you misinterpreted me
 
We're not teachers/mentors though. We're here to help people, not teach them. And if someone suggests that you should do some of your own research, you should consider listening to them.
 
there's also codementor website. I hope you are mentoring over there? Most SO experienced programmers are
 
I'm not mentoring over there because I have no interest in mentoring anyone.
 
That's completely fine. Some don't
Some do
 
And I highly doubt that "Most SO experienced programmers" are actually using codementor. A very small amount may do.
 
12:35 PM
I am not a user of SO for a long time. Still I found many noticeable SO programmers there.
 
You found a small few yes, but not the majority.
 
Most of those who have 100k+ rep
 
Again, no. Not most.
 
The word "most" implies the majority.
This is besides the point anyway.
 
12:36 PM
Yaa :) Its very strong
 
If someone suggests you should do some of your own research, then you should.
 
I understand where I went wrong. I didn't do my research
 
They may be suggesting because you'd be taking a lot of someone elses time up, or they may be suggesting because by doing research you'll learn more yourself.
 
:) I totally admit my mistake
 
cbg-power
 
12:38 PM
Yaa I understand research is important. I would have learned more by reading 10 different things :)
about same topic
which would have helped me to ask better questions
:) I totally admit my mistake
 
user559633
cbg
 
cbg
 
aye!
 
user559633
the past hour has been fun. "hooray! i figured out why i was missing words in my corpus! oh nooo now it takes 10 seconds per iteration!"
 
oh saturday-morning-optimization-cereal
let's do this
 
user559633
12:52 PM
haha, already figured it out. cython + multithreading
 
user559633
python is a pretty amazing language.
 
are you able to show some cython code? I've never really played with it. Curious.
 
user559633
the code i have wouldn't be too helpful as it's littered with my logic. docs.cython.org/src/tutorial/cython_tutorial.html is a good place to see example code
 
user559633
1:07 PM
sorry if i'm repeating messages or not responding, i'm getting ~40% packet loss
 
1:26 PM
cbg
 
1:38 PM
cbg, all
 
hey
 
cbg
 
Having realised the error of my over-hasty diagnosis, I deleted a couple of comments I made on stackoverflow.com/questions/35795682/… and dialog is looking more promising. Might eventually turn into a canonical as and when I have time - didn't get our staging server back up until 9:15 last night
Yeah, cython is cool. Going to be looking at some interesting technologies once we get the prototype out (and after I beat them all off when they complain that I won't put the prototype into production)
Also, IIRC it's pip-installable, which is exceptionally neat - adding cython into a virtualenv gives access to lots of potential speedups (used judiciously)
 
user559633
2:15 PM
yeah, cython is pip installable, but you need a compiler available
 
user559633
you could also cythonize and then use ctypes to load the resultant .so
 
@holdenweb: I've been using stackoverflow.com/questions/28521944/… quite often to dupe to.
 
Morning
 
Morning.
 
because it contains the best workaround so far; installing the win-unicode-console package.
The Windows console has two modes: writing bytes and writing (UTF-16 encoded) Unicode.
That package teaches Python to use the second mode.
 
3:11 PM
Awesome! More Python 3 support in Openstack! lists.openstack.org/pipermail/openstack-dev/2016-March/…
 
...I need more coffee
I read that as Awesome! Monty Python 3 support in Openstack!
 
 
1 hour later…
4:34 PM
@Peter half way through HoC S4. Finding it much better than S3 so far.
Not quite up to the S1/2 days though.
Frank doesn't have so many monologues though, which is disappointing.
 
 
1 hour later…
5:53 PM
@MartijnPieters this is another dupe account of the KimFake/FakeKim user stackoverflow.com/q/35817198. I pointed it out to @JonClements yesterday. They're avoiding a ban by asking every new question with a new account.
 
@davidism thanks for the heads-up.
 
What tools are at the community disposal to detect dupe accounts like that?
 
@idjaw nothing really.
 
Some users have pretty clever sede queries, but other than that not much.
 
Leave that to the mods. If you suspect something, flag a post and explain, so we can investigate.
@davidism: there is a whole series of accounts here, I'll take care of these.
 
5:57 PM
noted. thanks.
would you agree that this can be duped with this
I can't flag because I cv already a little while ago
 
It looks more like they just don't understand how assertTrue works.
More a bad question than a dupe.
Hmm, actually, I'll say yes, because it's what they're ultimately trying to do.
 
Oh, clearly misunderstanding how to use assertion properly. But the answer can be found in that other answer. . :)
 
I don't know if that is a bad question....or my standards are way down due to helping first year undergrads again
 
If unit testing is being taught in undergrad, I'm impressed.
But then again, I had a horrible undergrad experience. So, I probably don't have the best gauge for that.
 
not at the first year level
meant more at a general level of "no effort", "by help me I mean do it for me", etc...type of questions
I'm not a TA or tutor this semester but people know me so I still get questions (or people I tutored when they were first years point new freshman to me) - so it seems to be more on the bad questions rather than "teach me I am so new I just don't understand the basics" I get when doing the latter two
 
6:11 PM
I find it pretty easy (after being here for a few months) to find students who are looking to further understand, rather than students who refuse to understand when I read questions here.
 
pretty much every new flask question since last night is awful
 
that must be such a let down for someone so involved with Flask....I totally get it. Openstack on SO is nowhere near as big, but I haven't found anything remotely interesting yet in that tag.
 
I've cv'd 10/15 on the first page.
 
ick
 
I think part of the problem is the new discoverflask.com tutorial, which isn't bad but is pulling in more new users (which also isn't bad, but their questions are).
 
6:19 PM
cbg
 
cbg
 
cbg @JonClements
 
cbg
deadpool was fscking awesome
I am at 137 rep now, guess I have to try to hit repcap again
 
So, so good.
 
6:36 PM
I've been asymptotically approaching
 
DSM
Could anyone who has a handy ipython shell around run
%timeit -n 10000 math.sin(6e7*math.pi)
%timeit -n 10000 math.sin(6e7*math.pi+0.12)
for me?
I think there's a C math library performance case that someone is tripping over and thinking it's a numpy issue.
 
In [3]: timeit -n 10000 math.sin(6e7*math.pi)
10000 loops, best of 3: 300 ns per loop

In [4]: %timeit -n 10000 math.sin(6e7*math.pi+0.12)
10000 loops, best of 3: 361 ns per loop
 
DSM
@idjaw: what architecture & OS?
 
Yosemite 10.10.5 core i5 2.4GHz
@idjaw I know that SO is not a code writing service but I stated the problem very clearly. Not my problem the circle-jerk here can't read. — computernoob 2 mins ago
oh come on...
 
10000 loops, best of 3: 49.4 µs per loop
10000 loops, best of 3: 206 ns per loop
 
DSM
6:46 PM
@JGreenwell: let me guess, something linuxy?
 
wow
 
My soon to be replaced laptop:
 
Ubuntu, as Virtual Machine, 3 GHZ processor
 
In [3]: %timeit -n 10000 math.sin(6e7*math.pi)
10000 loops, best of 3: 116 µs per loop

In [4]: %timeit -n 10000 math.sin(6e7*math.pi+0.12)
10000 loops, best of 3: 428 ns per loop
 
DSM
@Jon: also linuxy?
 
6:47 PM
yup
 
DSM
Thanks all, this convinces me.
 
Think it's a 1.x ghz processor
 
@idjaw ROB SMASH
 
@RobertGrant Thanks :) I have to hold myself back from going internet-hulk-smash sometimes and take a few minutes to collect myself and just respond politely.
 
@AnttiHaapala tut tut - not trying to help Kim are you? :p
 
6:51 PM
rbrb all, gotta do real world stuff
 
peace
 
@davidism: they are being severely hobbled now.
 
@Martijn quite surprised they posted from another account - were asked to reformat it - didn't an deleted it - created a new account (with some better formatting) then was asking people to fix it... don't know what they're trying to do :)
 
@ldjaw - maybe @computernoob took your warning to heart - there is code in stackoverflow.com/questions/35817772/… now. Was it there before?
 
@holdenweb you can check the history :p
 
7:02 PM
Sounds like it will be illuminating
More or less what I was expecting
 
@holdenweb Not at all. It was pasted several minutes after my initial comment. They posted their rude comment once they posted their code. It was as if they were trying to make it seem like the code was always there. :)
 
@JonClements kim WHO?
 
Ah, didn't try and synchronize the comments. Little so-and-so
 
@Antti nvm
 
I could tell from your remarks that there'd been no code to start with
 
7:05 PM
@JonClements the indentationerror?
 
@holdenweb Welcome to the fun world of "interesting" SO uesrs :p
 
Met that type before. Water off a duck's back.
 
In [3]: %timeit -n 10000 math.sin(6e7*math.pi)
10000 loops, best of 3: 151 ns per loop

In [4]: %timeit -n 10000 math.sin(6e7*math.pi+0.12)
10000 loops, best of 3: 149 ns per loop
 
DSM
Okay, this is weird: user is asking incredibly basic Python questions, but also answering other questions at what seems a much higher level of sophistication.
 
OS X 10.10.5, 4 GHz i7, 16 GB available RAM
@DSM interestingly:
In [5]: %timeit -n 10000 np.sin(6e7*np.pi)
10000 loops, best of 3: 800 ns per loop

In [6]: %timeit -n 10000 np.sin(6e7*np.pi+0.12)
10000 loops, best of 3: 706 ns per loop
Why would numpy be taking 5X as long?
 
DSM
7:16 PM
@MattDMo: yep, more evidence that the OS X math library behaves a little differently than a common linux one. numpy has a lot of per-function overhead, it only wins in the bulk.
 
Hmm. Want me to run it on Windows? I have a VM open...
 
COOL! I found a pocket ninja in my basement!!!
 
Ummm.... not a very good ninja if you "found" it...
 
obviously. It's not a puppy ninja
kimfake account
wow that was fast
 
DSM
@MattDMo: mseifert just posted some windows numbers, so I think we're okay. Where's Mark Dickinson when we need him? ;-)
 
7:20 PM
Yeah, saw it pop up same as you.
 
We're keeping an eye out :p
 
:)
I'm asking for trouble. Copying 30GB of data over my network, to a USB 3.0 hard drive connected to my Windows machine.
 
It's the sign of an optimist - that's for sure :)
 
I'm trying :)
 
if not else, then surely at least windows will ruin that
 
7:33 PM
the better solution would have been to figure out why the portable drive was only opening read only on my mac....I got lazy
wait a minute....did all I have to do was right click, get info, and change a read only setting? Before I cancel this copy, anyone else experience this? :P </silly_question>
 
cabbage
 
cabbage
 
7:55 PM
bbiab
 
rbrb Jon
 
8:07 PM
nope...turns out I would have had to format my drive....not a good option...oie. Aw well.
 
DSM
@MartijnPieters: the way you've written it right now, "The result is that all lines are terminated with \r\n regardless of the platform", doesn't seem right. Or at least I'm not following it.
 
@DSM out of time, but not sure what else to say there.
 
DSM
To my ears that makes it seem like running the second one (newline="") will produce an \r on Linux, but it won't.
 
8:22 PM
Thanks @davidism, I was working with a vagrant file from a udacity course and it's entirely possible it lists some older libraries. Updating Werkzeug on my Heroku VS has solved the problem. — setagana 1 min ago
Quality learning material right there.
How hasn't whoever wrote that course seen that bug yet? Why are they distributing 2 year old VMs?
 
Investment isn't cool, profit is.
 
That Automate the Boring Stuff is a gem. (atleast for me)
 
8:39 PM
:D was supposed to write an accompanying note there but forgot it :d
today I've been happy to notice that more and more users are using Python 3 and they've got problems since all the resources are in Python 2.
anyone wanna format this better: stackoverflow.com/questions/2120507/…
 
I have class Path:
def visit(self, f1, f2): return self.computedNet.visit(self, f1, f2)
 
I flagged an answer as a complete copy paste of someone else's answer. Is there anything else that is typically done? The evil part of me feels like editing the answer with a link to the original answer.... (I won't do that)
 
which refers class ComputedNet(object):
def visit(self, path, f1, f2): return f1(path)
 
@idjaw Why evil? That sounds okay to me.
 
It still feels wrong...even though it's not their answer.
Plus nothing stopping them from going back and re-editing
 
8:54 PM
and I call path.visit(lambda path: someFunc(path)). I wonder, why do I have the different number of arguments everywhere? Path.visit takes 2 arguments but I provide only one. ComputedNet.visit takes 3 argumets but Path provides only 2 to it. Where do the other arguments come from?
 
@idjaw You might leave a comment also. He can't remove that.
 
me and another individual did. And the answer got accepted. haha.
wow.
aw well. breathe in....breathe out.
all good
 
@ValentinTihomirov An instance method is given by the interpreter the instance itself as its first argument. To prevent that, you can put @classmethod or @staticmethod right before the definition.
 
@zondo I do not understand how this is related to my code.
Have you seen it?
 
@ValentinTihomirov the self comes from the bound method
 
8:57 PM
And what?
Don't you see that I don't count the self as the argument?
 
Could you create a pastebin for your code? It's hard to read it in this format.
 
@ValentinTihomirov self.computedNet.visit(self, f1, f2)
I see 3 explicit arguments there and the implicit ComputedNet instance as fourth
 
Rhubarb, gotta go.
 
Rhubarb
 
Yes, it supplies two arguments but ComputedNet.visit expects 3.
Ok, I see now.
 
9:00 PM
@ValentinTihomirov it supplies 1. self, 2. f1, 3. f2
1,2,3
 
and self.computedNet is the self in ComputedNet.visit, the 4th (or 0th ;) argument.
 
@ValentinTihomirov this might just be a room convention, but saying thanks isn't considered an apology for being a dick when people try and help you
 
I am happy that Antti insisted that there is a point in his words :)
 
9:04 PM
@davidism thanks :d
 
Cabbage everyone! I'm here to lurk:P
 
Cabbage!
 
technically you're off to a terrible start then
 
@AndrasDeak Hello friendly lurker! :) Welcome
 
what can I say, I'm not very good at lurking...
 
9:05 PM
:D
 
@Antti edited even more. Some people really like to narrate.
I flagged most of the comments too.
 
good. I personally am not feeling very smart at 11pm so didn't want to touch that mess :d
 
9:34 PM
New gevent release with Python 3 support: gevent.org/changelog.html#mar-5-2016
 
That is great news! This is going to allow us to move some projects to Python 3 now.
sweet!
 
Nice
 
@idjaw shit that monty hall guestion gone, I wanted to ansewr that
The classical Monty Hall. I did this last week to demonstrate its probabilities. For this you can use `set` and `random.choice`:

all_boxes = {1, 2, 3}
all_boxes.discard(guess)
all_boxes.discard(prize)
revealed = random.choice(list(all_boxes))
 
I find the easiest way to explain Monty Hall is to imagine a million boxes instead of 3
 
@AnttiHaapala I took all that time to format it all in to pretty paragraphs too! :P
 
9:46 PM
Afternoon cabbage.
 
because I did this just last week
and also wrote a program to prove that if who wants to be a millionaire 50/50 is completely random, then changing your initial does not help you
 
Yeah, I like How I Met Your Mother's equivalent, Celebrity Coin Flip
"Our qualified statistician is on hand to remind you that despite the result of your practice flip, the outcome is still 50/50"
 
I am a Registered Scienceman and I approve of this message.
 
"practice flip"...amazing.
 
@MorganThrapp hey!
 
9:52 PM
Evenin' all
 
Evenin'
 
00:00 - 22:0022:00 - 00:00

« first day (1967 days earlier)      last day (2978 days later) »