]> Something Witty Goes Here

codedread

Inkscape Bug with Embedded Rasters

August 27th, 2008

Imagine for a moment:

  1. Joe User knows shit about the SVG format.
  2. Starts a new document in Inkscape
  3. Imports a raster image (PNG) from the hard drive
  4. Saves image as SVG
  5. Uploads the SVG file to a clip art website
  6. Is baffled why the image displays fine on his computer in the browser but is blank for everyone else

Yes this could really happen. So how do we fix it?

  • Warn during Import stage of local references?
  • Warn during Save stage of local references?
  • Embed raster as a data: url in the SVG source (breaking link with local file)?

Taking Notes

August 21st, 2008

How do you take notes? Here’s my list of techniques in order of preference using a heuristic which is some function of efficiency, persistence, and privacy:

  • Full-finger-typing on a regular-size keyboard
  • Writing with a pen/pencil on paper
  • Thumb-typing on a small QWERTY keyboard
  • Stylus recognition on a touchscreen
  • Voice notes
  • Scoring the flesh of my forearm in Morse Code with a rusty Bowie knife
  • Typing with one thumb on my phone’s number keypad

Which one do you use? Guess which one I use…

Compressed For Time

August 20th, 2008

I’d like to apologize to all of the browser viewers out there who have been swallowing my uncompressed pages all this time. I just turned on the gzip option under Options > Reading in the WordPress admin panel. I also tidied up my css and the HTML markup generated by my PHP. That’s always fun…

Patches For Credits

August 15th, 2008

Why don’t Comp.Sci professors give out extra credit to students who submit patches to open source projects? I’m sure profs could come up with some scoring system based on the complexity of the patch and the amount of effort involved (size of code base, subject matter, etc). This would get the student out of pure theoretical assignments and give them real-world experience with software problems. About the only challenge I see with this idea is that a student may get 90% of the way through working on a patch and someone else (outside the school) comes in and scoops them. For this, a prof could still give some points for ‘trying’ if there was proof of the work.

Tumbleweeds, Crickets Chirping

August 6th, 2008

Rob is heading to the Chicago ‘burbs this weekend. Since we are not often released from captivity, this is a good chance for us to head downtown for some beverages and food. If anyone else is interested in an impromptu web-geek meet-up in the Chicago area, let me know. I’m thinking of Elephant & Castle, Saturday night around 6pm for dinner. Not sure where we’ll go from there yet. Suggestions?

Ubuntu 7.10 Dash Crash

July 25th, 2008

I recently tried to compile Daniel Holbert’s SMIL patches in mozilla-central. While doing this, I observed the “configure” was core dumping. The folks in the #developers channel over on irc.mozilla.org were able to help me out and trace it down to the fact that Ubuntu’s dash was crashing. I worked around this by changing Mozilla’s configure script to use #!/bin/bash instead of #!/bin/sh.

Apparently this crash has been fixed on Ubuntu 8.10 because Daniel himself hasn’t witnessed this crash?

codedread codedread