2008 Apr 12, 10:38
For Encode-O-Matic, my encoding tool written in C#, I had to figure out the appropriate DllImport declarations to use IDN Win32
functions which was a pain. To spare others that pain here's the two files CharacterSetEncoding.cs and NationalLanguageSupportUtilities.cs that declare the DllImports for IdnToUnicode, IdnToAscii,
NormalizeString, MultiByteToWideChar, and WideCharToMultiByte.
encodeomatic boring csharp widechartomultibyte idn tool dllimport 2008 Apr 11, 3:48Howto avoid spam with Gmail: "If your name was hikingfan@gmail.com, you could send mail to hikingfan+friends@gmail.com or hikingfan+mailinglists@gmail.com"
spam gmail blog google howto mail email 2008 Apr 10, 3:36See, the AV Club says Primer is awesome too! But don't read this or any other review, rather take my word for it and watch the movie now without any prior knowledge.
cult primer movie onion av-club reviews 2008 Apr 10, 3:23Recommended by AV Club. Play pieces of classic games mixed together.
game humor mashup mario zelda remix videogame art 2008 Apr 9, 2:36History of Enigma in WW2: "One particular German code clerk continually used his girlfriend's name, Cillie, for his messages, and so these easy-to-guess indicators became known as "Cillies.""
history encryption cryptography article security nsa enigma 2008 Apr 8, 5:41Biology site makes activity to resolve their URNs: "In this case we decided to see how we could easily highlight a LSID and quickly get related information from its Authority."
activity ie8 urn uri blog article biology via:benny 2008 Apr 8, 1:52"The Culture War: How new media keeps corrupting our children." Article snippets condemning novels in 1700s, the Waltz 1800s, Movies, Telephone, etc etc. for corrupting the youth
article wired videogames culture youth media censorship comic politics history humor 2008 Apr 8, 1:08"... a version of the chumby that sniffs wifi and renders captured packets onto the display."
via:swannman chumby wifi sniff security sniffing wireless network 2008 Apr 7, 10:09
More of my thoughts have been stolen: In my
previous job the customer wanted a progress bar displayed while information was copied off of proprietary hardware, during which the software didn't get any indication of progress until the copy
was finished. I joked (mostly) that we could display a progress bar that continuously slows down and never quite reaches the end until we know we're done getting info from the hardware. The amount
of progress would be a function of time where as time approaches infinity, progress approaches a value of at most 100 percent.
This is similar to Zeno's Paradox which says you can't cross a room because to do so first you must cross half the room, then you must
cross half the remaining distance, then half the remaining again, and so on which means you must take an infinite number of steps. There's also an old joke inspired by Zeno's Paradox. The joke is the prototypical engineering vs sciences joke and is moderately humorous, but I think
the fact that Wolfram has an interactive applet demonstrating the joke is funnier than the joke itself.
I recently found Lou Franco's blog post "Using Zeno's Paradox For Progress Bars" which covers the same
concept as Zeno's Progress Bar but with real code. Apparently Lou wasn't making a joke and actually used this progress bar in an application. A progress bar that doesn't accurately represent
progress seems dishonest. In cases like the Vista Defrag
where the software can't make a reasonable guess about how long a process will take the software shouldn't display a progress bar.
Similarly a paper by Chris Harrison "Rethinking the Progress Bar" suggests that if a progress bar speeds up towards the end
the user will perceive the operation as taking less time. The paper is interesting, but as in the previous case, I'd rather have progress accurately represented even if it means the user doesn't
perceive the operation as being as fast.
Update: I should be clearer about Lou's post. He was actually making a practical and implementable suggestion as to how to handle the case of displaying progress when you have some idea of how long
it will take but no indications of progress, whereas my suggestion is impractical and more of a joke concerning displaying progress with no indication of progress nor a general idea of how long it
will take.
zenos paradox technical stolen-thoughts boring progress zeno software math 2008 Apr 7, 3:45Video of an art piece, a pedal powered Buick, taken for a test spin and getting pulled over by the cops.
video art via:boingboing car bike humor youtube 2008 Apr 7, 12:21USGS video of bear rubbing back against tree + music = humor.
video bear nature animal dance usgs humor 2008 Apr 7, 10:31
I now have search and an archive available for my site. I previously tried to setup crappy search by cheating using Yahoo Pipes and now
instead I have a slightly less crappy search that works over all of the content that I've produced on my blog, uploaded to flickr or youtube, or added to delicious.
You can now read my first LiveJournal blog post or, for probably
much more entertainment value, view all the photos and videos of Cadbury by searching for 'bunny'.
The search is only slightly less lame because although it searches over all my content, I still implemented it myself rather than getting a professional package. Also, the feed supports the same
search and archive as my homepage so you can subscribe to a feed of Cadbury if you're so inclined and just skip all this other boring
stuff. My homepage and feed implement the OpenSearch response elements and I've got an OpenSearch
search provider (source) as well.
technical search archive opensearch homepage 2008 Apr 4, 11:26"IEnumXXXX To allow you to enumerate the number of items of a given type that an object maintains, COM provides a set of enumeration interfaces, one for each type of item. "
com msdn microsoft rerference ienumxxx ienumxxxx interface programming 2008 Apr 4, 9:48I wonder if my car uses KeeLoq: "Hence, using the methods described by us, an attacker can clone a remote control from a distance and gain access to a target that is protected by the claimed to be
"highly secure" KeeLoq algorithm."
cryptography rfid security keeloq via:schneier car 2008 Apr 3, 9:00
With the new features of IE8 there's several easy ways to integrate Gmail, Google's web mail service, for mail composition, searching, and monitoring that I enjoy using.
-
Composition
-
I made a Send via Gmail activity that allows you to select some text, a document, or link and via the activity menu open a new tab to compose a new message with the selection. Go to my activity page and click "Send via Gmail" (source) to install it. I found info on the gmail composition URL in the comments of this gmail howto article and used that in the
activity. I talked about activities previously.
-
Search
-
I've made a search provider that searches your gmail account. See my search provider page and select 'Gmail' (source) to install the Gmail search provider. Search providers aren't new to IE8 but this fits in with Gmail integration in IE. Again in the
comments of another howto I found information on a Gmail search URL.
-
Monitor
-
New to IE8 is authenticated feed support and favorites bar monitoring which combined with the Gmail inbox feed
means you can see when you get new mail in your favorites bar in IE. To do this, navigate to the feed https://mail.google.com/mail/feed/atom,
click 'Subscribe to this feed', then click on the Add button in the upper left (the star with plus icon) and select 'Monitor on Favorites Bar' to add this as a monitored item in the favorites
bar. Next, right click on the new item in your favorites bar, open the properties dialog, and enter your Gmail username and password into the new username and password fields. Now when you get
new mail the Gmail feed item will shine and bold and you'll be able to get to new messages in the dropdown. I described monitored feed items previously.
activity gmail search howto google ie feed rss opensearch 2008 Apr 3, 6:48The comments have info on URI template for gmail message composition: "https://mail.google.com/mail?view=cm&tf=0&to=`echo $1 | sed 's/mailto://'`"
gmail mail uri howto reference google 2008 Apr 3, 2:49Looking for URI template to search over my gmail and found it in the comments: "http://gmail.google.com/gmail?search=query&view=tl&fs=1&q=%s"
gmail email google reference uri search howto 2008 Apr 3, 2:19"How one supercharged province cranks out lightbulbs, buttons, and bra rings, as well as instant cities for the factory workers. "
via:boingboing china economics environment politics video 2008 Apr 3, 1:43Nothing like humorous graphs. See rickrolling for more Rick Astley.
humor graph pie-chart rick-astley rickroll via:felix42 2008 Apr 3, 10:38Produces a cool interactive graph of your friends on Facebook.
facebook nexus graph foaf me via:ethan_t_hein