« first day (1020 days earlier)      last day (4153 days later) » 
00:00 - 16:0016:00 - 23:00

16:00
@AnimeshPandey, Compare this single threaded Tkinter app with this multithreaded Tkinter app. In the first one, the window doesn't even appear until the loop is 100% complete. In the second one, the loop smoothly reports its progress.
(I would have used a progressbar instead of a label, but ttk isn't installed on my box. The principle is the same, regardless)
I really need to stop daydreaming
@crowz the flying pigs are real... ;-)
I read on Hacker News the other day that willpower and critical thinking draw from the same source. So if you use one, it depletes the other.
I would like to experiment with this. If I don't use willpower at all, and just indulge any impulse that occurs to me, will I become a smarter coder?
I think my childhood is over.. ^
If you don't want to be hit on the head with an anvil, you shouldn't hunt fellow sentient beings
If there are any episodes where Tom is minding his own business and Jerry is messing with him, I'd have sympathy then.
16:13
;)
I think that happens a couple times. Mostly when Tom's trying to get with a girl cat.
Jerry is the world's worst wing man
is anyone familiar with cherrypy?
@PeterVaro i still think they're both pains
@PeterVaro let me help you
a coyote runs faster than a roadrunner
i think i just killed slightly more :P
16:30
:D:D
hello all you wonderful people! :D
I need something to listen to
@PeterVaro hehe
@GamesBrainiac no sorry i'm only mildly cool today not wonderful :'c
@EiyrioüvonKauyf: Whats wrong then man?
Would you guys mind helping a fellow pythonista ? Please take a look @ this: stackoverflow.com/questions/17999382/… Could I have made the question a little better?
Its a JS question..but I just wanted to know if I could have made it any better
As in clearer
i don't do angular
also why not just template the names :|
you are using a templating engine yes?
16:36
Well, its in a script. I want to do it completely via JS
Not python
Look, if everything was written in Python, and if Python was as fast as C++, the world would be a better place
:'D
dynamic typing being fast :'D
I know. If only Python was good for everything.
mhmm
template it ?
uhhh
Then everything in the world of code would make sense
No more spaghetti code
:|
1) i'm guessing i'm not great at javascript
16:39
lol, the truth is, no one really is
2) yesterday i tried to run a jquery script on facebook but was foiled by all the freaking loaders -.-
3) y not just string replace
hahahaha
Yea, You can try Brython
question mark ._.
s/Controller/angular_controller
Thanks a lot for this small example ... I was actually try to understand this concept from this example :
http://stackoverflow.com/questions/15323574/how-to-connect-a-progress-bar-to-a-function
which is quite complex!
:3
single threaded :|
16:47
nonthreaded. whatever.
eating threads :3
Threads aren't tasty, but spaghetti code is.
does anyone know a good way to enable logging in cherrypy?
17:00
why not both?
@Crowz any particular reason you're now doing another framework ?
@JonClements because I have no clue what I am doing
@JonClements 704 now. someone got mad this morning because i posted an answer saying what to do instead of direct code -____- lazy SO
@EiyrioüvonKauyf you seem to be remarkably bitter about the whole SO thingy :)
@Kevin s*py*ghetti code..
17:08
@JonClements quite a bit
am I going mad - or was a Python tag added
i used to get called out in person and online
for being lazy or not trying or not doing research when learning - and still do actually
and SO seems to be collecting lazy people
i'm quite bitter :|
which is why it's taken me about 1.5 years to even care about my rep slightly
also import this is cool
this is a function that converts opencv Iplimage to PIL image:
def OpenCVtoPIL (image):
    temp = Image.fromstring("RGB", cv.GetSize(image), image.tostring())
    return temp
When I call this function from another fucntion
I always get this error:
AttributeError: class Image has no attribute 'fromstring'
but this attribute exists!
What could be the reason then ?
@Kevin @JonClements you guys are up my patience is thin with this one
@AnimeshPandey you need to learn how to find things out for yourself mate :)
heya @r4
17:18
okay so here's a question; I run my flask server, and it works. I run it as a daemon, and it turns up an internal server error for fetching my data. Any ideas? There's no clear stack trace
@crowz nope
bbiab guys
@JonClements Ok! I have been searching this thing for some time! But I'll look further then!
@AnimeshPandey sorry to tell you but until you start coding your own kernel level /os things or maybe longer the compiler/interpreter is always right . ignoring some optimizations and the like
@Kevin interesting thought
@GamesBrainiac I write a lot of spaghetti Python
17:51
"no module named JSON"? Isn't JSON standard issue python?
that should be lowercase
oh I just wasn't in my virtualenv...
@Tshepang Thats hard to do. Well, atleast spaghetti python is a lot more readable then say spaghetti c++ or even worse, java
yeah, sure
18:19
man this cherrypy thing has horrible stack tracing
@GamesBrainiac spaghetti assembly <3
interesting to know that Guido unloves pep8 tool bugs.python.org/msg193909
@Tshepang +1 it's annoying
and makes things look like crap sometimes
like it wants to format
 [ [ stuff ] ,
   [ stuff ],
   [ stuff ]]
or certain maintainer doc strings
I don't remember having issues with it
mhmm your code base isn't large enough maybe
go and run it on a scikit
it will cry
18:34
ok, I will admit I don't use it a lot
last I used it was maybe months ago
18:49
guys why do I suck?
haven't seen this one before: OSError: [Errno 29] Illegal seek
@Tshepang you're annoying a socket object somewhere or file object
19:06
using Python 3, I get the OSError when trying to read the pipe (with cat)
wha, what did I deserve a downvote on stackoverflow.com/a/15001175/100297 for?
using Python 2, I get nothing
@MartijnPieters maybe a mistake
Questions like, "Most pythonic X" give everyone free reign to downvote because an answer isn't pythony enough
like having a whole function in just one line
@Tshepang no input yo
it's saying you're trying to read > 0 bytes when there are 0 bytes
19:15
actually it fails with Python 3, but works well with Python 2
@MartijnPieters My guess would be Markon, since he's got the worst answer and the only one with no downvotes.
Actually scatch that evil slight on Markon's character; no downvotes today.
19:51
Today I designed a feature I thought was pretty neat. QA told me it was broken, even though it was working precisely the way I designed it.
If code runs properly according to your specifications, but doesn't do what the user expects, is it a bug?
If it doesn't do what the user expects, that's a bug in the design.
20:06
Intuitive UI is hard :-(
after fighting the itsabug/itsafeature fight for a long time now I've come to the realization that it's best to simply not care what you label such feedback
it's more useful to triage things by giving a severity grade than worrying about if something is a bug or not
Agreed. Regardless of whether it's a bug, the user is having trouble with the product, and that ought to be remedied.
I would like to remedy it by striking the user with a clue bat, but that wouldn't be very productive :-)
20:22
so... where are even the instructions to make a Flask server connectable from anywhere within the local network?
@Kevin intuitive UI is hard, that is true, but IMHO it is not a developer task to create one
that job is for designers -> they have to create as detailed brief as possible
so you can work on the algorithm on how to solve it and implementation
That sounds nice.
and one suggestion: SCRUM -- if you and your client use it, there won't be: I wanted that, but had this..
One of my assignments this month is, in full: "polish app"
than don't take that job
20:26
@Kevin
The multithreaded tkinter app that you given earlier worked fine and I was also able to apply whole concept in my project, but I can't figure out to destroy the window after it reaches 100. I tried `root.destroy()` but that exited with many warnings!
don't take that until you have a great brief
because the negotiation will be a pain in the arse all the time
@AnimeshPandey destroy the widget instead!
run the app through google translate English->Polish and see what they say
@roippi LMAO :D
That would be pretty simple, due to Android's insistence of putting all internationalizable data in a single "strings.xml" file...
@Kevin this is my favourite comic ever -- it says everything about designer/developer relationship if you don't have a good brief:
20:29
Gotta go, Maybe I can help you tomorrow @AnimeshPandey
I'll check out that comic also :-)
bye
rhubarb
@PeterVaro
Are you talking about this ?
http://pastebin.com/vnQvkbuh
@Kevin Alright! thnks
@AnimeshPandey nope, I said stupid earlier
you should use: root.quit()
that will kill your app
if that is what you want
I replaced destroy() with quit(), the app simply hangs and stops working!
This same was happening with destroy() too
you can call quit only on root
and I also think (but never worked with threads) that you should kill your thread with stop() or something before quit()
20:39
I'll see to it!
How do we check whther the window has been closed?
Whenever I close my app in between, some errors pop up, if I can check that the window has been closed, then I can handle those errors accrdingly !
hmm
one mo
Oh it is pretty easy, I guess
if you put some code after the mainloop
well, they will run after and only after the GUI stopped
oh right!
@PeterVaro @JonClements said animesh should try finding some things out
i would +1 that
if you understand my meaning
@EiyrioüvonKauyf
I did try many things out ... but google search is not solving the purpose!
I agree with you, and with Jon, I think anyone can learn the most by itself
but sometimes you cant see the obvious -- and even if you search or code, first: you should have some sleep and/or rest then second: ask someone if the first step didn't help
20:53
@PeterVaro :|. we have different opinions. like .quit() is documented in ---many--- most of the tutorials and i know you know that so ....
probably you are right, and I have toooo big heart for this:)
@PeterVaro @JonClements can we sell peter's heart ;)
sometimes the API is gnarly and teaching yourself is expensive in terms of learning the 'gotchas'
like, god, when I was learning java swing
@roippi you only learn the gotchas by doing not by hearing of them
also *(NULL) is a good idea
@EiyrioüvonKauyf I understand but if someone had told me with swing up front "there are 12 different ways to specify size, and certain layout managers will ignore some/all of them" I would have saved so much time and sanity
and part of that is my fault for not following the right tutorials and instead diving in first, so it's possible that was just on me
I've never been one to read the manual though
21:02
@roippi i'm pretty sure there are at least 100 people on SO that all will say get a good book
including the 3+ wiki's on books for $(lang)
you guys must check the C++ room if in the mood for some hunor
some quality stuff there

Lounge<C++>

Today we're daydreaming about C++26 reflection
21:29
lol
"humor"
is one way of putting it
Anyone got a suggestion for the following?
1
Q: Windows WiFi connection rapidly fluctuating, causes most requests to fail

Dan DobintI started having issues after I programatically changed quite a few windows 7 settings. I thought I had reversed everything, but apparently something stuck. I can connect to the network, but it switches between saying I have internet, I am connected but don't have internet, and occasionally disco...

(I know it's on superuser, but yeah.)
21:52
s
22:05
ppl r seriously in love with this Answer of mine
67
A: How to tell from what Ubuntu or Debian repository a package comes?

TshepangI run apt-cache policy <package name>: $ apt-cache policy wajig wajig: Installed: 2.01 Candidate: 2.01 Version table: *** 2.1 0 100 /var/lib/dpkg/status 2.0.47 0 500 file:/home/wena/.repo_bin/ squeeze/main i386 Packages 500 ftp://ftp.is.co.za/debian/ squeeze/m...

alot of people don't know about madison unfortunately :(
22:30
Anyone here run into this issue before? stackoverflow.com/questions/18005617/…
00:00 - 16:0016:00 - 23:00

« first day (1020 days earlier)      last day (4153 days later) »