Post thumbnail of Thread control in python - how to safely stop a thread
20 June 2011
Continue reading Thread control in python - how to safely stop a thread

Thread control in python - how to safely stop a thread

So you want to kill a thread… Dangerous. How about asking a thread to die instead? Of course it’s unsafe to just kill a thread dead in its tracks. What if the thread has some resource acquired or is controlling other threads itself? It’s much better to communicate with a thread and tell it to stop, then just wait for it to kill itself.

Post thumbnail of Cellular “kill pill” to disable netbooks
1 April 2009
Continue reading Cellular “kill pill” to disable netbooks

Cellular “kill pill” to disable netbooks

A kill command from a wireless carrier could be used to remotely disable a netbook? wtf?!

Post thumbnail of Eclipse freezes randomly using pydev
8 January 2009
Continue reading Eclipse freezes randomly using pydev

Eclipse freezes randomly using pydev

I’m doing all my python development in Eclipse using the pydev plugins.  At random and without warning, Eclipse keeps freezing on me!  WTF.  Here’s what I get when I kill it:
JVM terminated. Exit code=1
/usr/bin/gij
-Xms40m
-Xmx256m
-XX:MaxPermSize=128m
-Dosgi.sharedConfiguration.area=/usr/lib64/eclipse/configuration
-jar /usr/share/eclipse/startup.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/lib64/eclipse/eclipse
-name Eclipse
–launcher.library /usr/lib64/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.0.v20070606/eclipse_1017a.so
-startup /usr/share/eclipse/startup.jar
-exitdata 838010
-vm /usr/bin/gij
-vmargs
-Xms40m
-Xmx256m
-XX:MaxPermSize=128m
-Dosgi.sharedConfiguration.area=/usr/lib64/eclipse/configuration
-jar /usr/share/eclipse/startup.jar
This happens on Fedora 8 and …

Powered by Wordpress   |   Lunated designed by ZenVerse