Mini Searches with Answers
These are links associated with recent searches I’ve done. They’re not difficult enough to warrant to their own posts but still super useful.
xkcd – A webcomic of romance, sarcasm, math, and language – By Randall Munroe
28 Hour day in a comic
28 Hour day in a comic
Vision Research – Slow Motion Video of Popcorn Popping
I did a search for high speed photography popcorn and this should have been the first result. I got curious for some reason why popcorn seeds turn into popcorn and not just explode. It turns out the heat turns the inside part into a foam-like material.
I did a search for high speed photography popcorn and this should have been the first result. I got curious for some reason why popcorn seeds turn into popcorn and not just explode. It turns out the heat turns the inside part into a foam-like material.
How to run python applications as NT service – comp.lang.python | Google Groups
This is the best explanation for how to create a Windows service from Python code using Python win32 extensions. It still sounds like too much work though. I’m just going to put my script in the windows startup folder unless anyone objects
This is the best explanation for how to create a Windows service from Python code using Python win32 extensions. It still sounds like too much work though. I’m just going to put my script in the windows startup folder unless anyone objects
How to Catch Errors in SimpleXMLRPCServer – comp.lang.python | Google Groups
You have to register a class, and your class has to implement a _dispatch function. (see link for details).
You have to register a class, and your class has to implement a _dispatch function. (see link for details).
Python – How to extract EXIF data with PIL
from PIL import Image
from PIL.ExifTags import TAGS
from PIL import Image
from PIL.ExifTags import TAGS
def get_exif(fn):
ret = {}
i = Image.open(fn)
info = i._getexif()
for tag, value in info.items():
decoded = TAGS.get(tag, tag)
ret[decoded] = value
return ret
Convert File to be Embedded in a URI
I wonder how well this works. Could you embed an image in the URL instead of using image hosting?
I wonder how well this works. Could you embed an image in the URL instead of using image hosting?
Finding Unused Fields in GoldMine
This query will show you all user defined fields that are not used in any tab, or the top half of the screen:
This query will show you all user defined fields that are not used in any tab, or the top half of the screen:
select field_name from contudef where field_name like ‘U%’ and field_Name not in
(select fldname from fields5 where fldname like ‘U%’)
Tags: Binary, Exif, Generator, Goldmine, Html, Image, Lifehacks, Photography, Pil, Popcorn, Python, Service, Simplexmlrpcserver, Sleep, Sql, Uri, Utilitymill, Win32, Xmlrpc
Actually, there was article about the popcorn thing on digg a year or more ago. If I remember right, they still don’t quite know why, but they’re pretty sure it’s the water content inside the kernel. Well, that is really more of an answer as to why some pop and some do not.
You are correct Jody, although a second theory according to research led by Dr. Bruce Hamaker of Purdue University, is that unpopped kernels may have a leaky hull so the steam leaks out instead of builds up and explodes.
I still think the wierd thing is why they don’t just explode and leave a mess of the internal material, but rather make a neat edible structure.