MAMA's Techno-Geek Thread - Page 11 - MINI Cooper Forum - MINI2 Mini Cooper Forums
Mini2.com Forum Header Mini2.com Forum Header
Go Back   MINI Cooper Forum - MINI2 Mini Cooper Forums > Community Discussion > USA > New York & New England Region

New York & New England Region For meeting people,arranging events/activities and discussing issues in your local area!

Please Visit our Site Sponsors
Mini2.com is the premier BMW Mini Forum on the internet. Registered Users do not see the above ads.
Reply
 
LinkBack (1) Thread Tools Rate Thread
  #151 (permalink)  
Old Jan 14th, 2005, 04:48 PM
GadgetGav's Avatar
Has met Quack Quack Jack
gadgetmeister
Offline
 
Join Date: Mar 2002
Location: This Old House
Posts: 6,222
Local Time: 09:52 PM
United Nations View GadgetGav's Dark Silver & Black 1st Gen MINI Cooper S Profile View GadgetGav's Classified Ads
This is really Techno and geeky isn't it...


Religion is like a huge dog. If it's yours it's very friendly and comforting, but it scares the heck out of everyone else.
Reply With Quote
Sponsored Links
Advertisement
 
  #152 (permalink)  
Old Jan 14th, 2005, 05:17 PM
Actual Size's Avatar
Has met Quack Quack Jack
Twi§ted Roads
Offline
 
Join Date: Mar 2003
Location: Big MAMA's House
Posts: 7,395
Local Time: 09:52 PM
Wake Island View Actual Size's Chili Red & White 1st Gen MINI Cooper S Profile
Is this better?

Reply With Quote
  #153 (permalink)  
Old Jan 14th, 2005, 05:22 PM
bakerjc's Avatar
MINI2 Master Baiter
Offline
 
Join Date: Jun 2003
Posts: 3,382
Local Time: 05:52 AM
Vanuatu
Want to touch my monkey?
Reply With Quote
  #154 (permalink)  
Old Jan 14th, 2005, 06:53 PM
snid's Avatar
MINI2 Premium Member Has met Quack Quack Jack
brown is back
Offline
 
Join Date: Sep 2002
Location: Burlington, VT
Posts: 4,278
Local Time: 09:52 PM
United States Male View snid's Velvet Red & White 1st Gen MINI Cooper Profile
Quote: Originally Posted by snid
I've gotta pay more attention to what I'm doing when I create jpgs for my webpage...


Sometimes, I is an idiot. Or: Damn PCs!

At some point in the recent past, my work laptop decided to switch itself from 32-bit color to 16-bit color. Most likely when I un-docked it and had to tell it that the second monitor was no longer attached, then re-dock it and tell it the second monitor was back. I never switched the bit depth myself, but it changed. Thats what made me think my jpg was over-compressed. I was seeing ugly bands of different colors in the image. When I noticed some other images looking funky, I found the real problem.

At least I know I'm not going completely insane.


jtross | snid | jason - bloggage (including videos)
Reply With Quote
  #155 (permalink)  
Old Jan 14th, 2005, 07:06 PM
jwardell's Avatar
MINI2 Premium Member Has met Quack Quack Jack
MINI2 Master
Offline
Send a message via AIM to jwardell Send a message via Skype™ to jwardell
 
Join Date: Mar 2004
Location: Newton, MA
Posts: 5,462
Local Time: 09:52 PM
United States Male View jwardell's Solid Black & White 1st Gen MINI Cooper S Profile
Quote: Originally Posted by snid

I will withold my comments about the japanese culture and just say go watch Lost in Translation.
Reply With Quote
  #156 (permalink)  
Old Jan 14th, 2005, 07:14 PM
Actual Size's Avatar
Has met Quack Quack Jack
Twi§ted Roads
Offline
 
Join Date: Mar 2003
Location: Big MAMA's House
Posts: 7,395
Local Time: 09:52 PM
Wake Island View Actual Size's Chili Red & White 1st Gen MINI Cooper S Profile
Quote: Originally Posted by bakerjc
Want to touch my monkey?

No...but...

Reply With Quote
  #157 (permalink)  
Old Jan 17th, 2005, 12:53 PM
snid's Avatar
MINI2 Premium Member Has met Quack Quack Jack
brown is back
Offline
 
Join Date: Sep 2002
Location: Burlington, VT
Posts: 4,278
Local Time: 09:52 PM
United States Male View snid's Velvet Red & White 1st Gen MINI Cooper Profile
Not quite up to Monkey-boy Ballmer, but...

http://blog.monkeymethods.org/2005/0...teen-beat.html


jtross | snid | jason - bloggage (including videos)
Reply With Quote
  #158 (permalink)  
Old Jan 17th, 2005, 02:06 PM
jwardell's Avatar
MINI2 Premium Member Has met Quack Quack Jack
MINI2 Master
Offline
Send a message via AIM to jwardell Send a message via Skype™ to jwardell
 
Join Date: Mar 2004
Location: Newton, MA
Posts: 5,462
Local Time: 09:52 PM
United States Male View jwardell's Solid Black & White 1st Gen MINI Cooper S Profile
Hah! I'm sure he picked up all the ladies by throwing floppies at them.
Reply With Quote
  #159 (permalink)  
Old Jan 18th, 2005, 06:18 PM
snid's Avatar
MINI2 Premium Member Has met Quack Quack Jack
brown is back
Offline
 
Join Date: Sep 2002
Location: Burlington, VT
Posts: 4,278
Local Time: 09:52 PM
United States Male View snid's Velvet Red & White 1st Gen MINI Cooper Profile
Serious geek post alert! Avert your eyes if you are easily frightened!

I've been wasting time at work the last few days. We're really close to a code release to customers, so making changes is a bad thing. Instead, you wait around for someone to say "something broke!" then rush to fix it. Nothing for me to fix recently, so I've been playing.

I'm still working on web stuff for my image gallery / home page with the thought of having as little work needed as possible in the publishing phase. Right now, all I need to do is throw a jpg in the right directory with the right filename format, and the rest is handled by the JavaScript in the index.html page. I like it that way.

But, I was thining, it would be cool to have some of the EXIF data available (shutter speed, aperture, focal length). "Hmmm", I think, "that info is in the jpg, and the browser has the jpg, so in theory the browser already has the information... how to get at it?" Well, an image loaded by an img tag is a black hole... no cool JavaScript methods to get anywhere with that. But, I've been playing with XMLHTTPRequest objects recently, which allow you to grab any web accesible file you want, like the jpg. Sounded good. I found the EXIF spec and some sample code on how to pull info out of the file, and started away.

Here's the problem... the closest I can get to the binary information in the jpg is a String representation. UTF8 should save me... but, it doesn't. I've found all kinds of wierdness depending on the browser and platform. I simplified things and threw away the EXIF code for now, and instead focused on just generating a hex dump of the jpg file (or the first kb or so of it). No good news. On the PC / firefox, all the bytes are there, but a bunch only contain the UTF8 "unavailable" character FE (or FFFE, or 65533 - yes, that's not a byte, more confusion). On the Mac / safari, I think almost all (or even all) the "bytes" I found came back as the right values, but there were some bytes missing! I think all the missing bytes were 00, but, when you're dealing with offsets to find the right byte of information, a missing byte is a problem.

IE just keeps yelling "undefined" at me.

current test code / hex dump is here http://homepage.mac.com/jtross/exif.html
the jpg it's trying to dump is here http://homepage.mac.com/jtross/photoblog/1.17.2005.jpg
if you want to play / compare for yourselves. Unix hexdump is the standard. "--" in the center part of the dump represents an "unknown" byte. "-" in the right part of the dump represents a byte that's not in the normal ASCII printable range.

So, I guess having the browser use JavaScript to extract the EXIF info isn't going to work.

Next idea, which will have to wait until I get home, is to use an AppleScript folder action to do the EXIF extraction for me and create an XML file with the data for each jpg I add. Then, use an XMLHTTPRequest to get the contents of the XML file, and JavaScript to display it.


jtross | snid | jason - bloggage (including videos)
Reply With Quote
  #160 (permalink)  
Old Jan 18th, 2005, 06:45 PM
GadgetGav's Avatar
Has met Quack Quack Jack
gadgetmeister
Offline
 
Join Date: Mar 2002
Location: This Old House
Posts: 6,222
Local Time: 09:52 PM
United Nations View GadgetGav's Dark Silver & Black 1st Gen MINI Cooper S Profile View GadgetGav's Classified Ads
Well, I thought I was a geek, but I think I have to turn in my badge... I read it all and I am certain I can be of no help whatsoever..!

On a slightly lower plane of geekiness - why doesn't Apple's new Pages app in iWork publish HTML pages..? Wouldn't that make sense..? When is Apple going to make an easy to use, OS X front end for web page design over and above the .mac templates..??? Do you think that's for iWork2..?


Religion is like a huge dog. If it's yours it's very friendly and comforting, but it scares the heck out of everyone else.
Reply With Quote
  #161 (permalink)  
Old Jan 18th, 2005, 07:00 PM
snid's Avatar
MINI2 Premium Member Has met Quack Quack Jack
brown is back
Offline
 
Join Date: Sep 2002
Location: Burlington, VT
Posts: 4,278
Local Time: 09:52 PM
United States Male View snid's Velvet Red & White 1st Gen MINI Cooper Profile
Quote: Originally Posted by GadgetGav
Well, I thought I was a geek, but I think I have to turn in my badge... I read it all and I am certain I can be of no help whatsoever..!


Yeah, but ask me about analog circuits, and I'm useless.

I'm probably pretty useless with digital circuits, too, since it's been over 10 years since I worked with them.


jtross | snid | jason - bloggage (including videos)
Reply With Quote
  #162 (permalink)  
Old Jan 18th, 2005, 07:03 PM
Actual Size's Avatar
Has met Quack Quack Jack
Twi§ted Roads
Offline
 
Join Date: Mar 2003
Location: Big MAMA's House
Posts: 7,395
Local Time: 09:52 PM
Wake Island View Actual Size's Chili Red & White 1st Gen MINI Cooper S Profile
Jason...have you ever taken a look at Jalbum ? You can take an entire directory of images, dump them in via drag & drop, specify an output directory, and voila...you get a web photo album with the EXIF data for each image (if you use the right template). Yes...it's available for the Mac.


Reply With Quote
  #163 (permalink)  
Old Jan 18th, 2005, 07:35 PM
snid's Avatar
MINI2 Premium Member Has met Quack Quack Jack
brown is back
Offline
 
Join Date: Sep 2002
Location: Burlington, VT
Posts: 4,278
Local Time: 09:52 PM
United States Male View snid's Velvet Red & White 1st Gen MINI Cooper Profile
Quote: Originally Posted by Actual Size
Jason...have you ever taken a look at Jalbum ? You can take an entire directory of images, dump them in via drag & drop, specify an output directory, and voila...you get a web photo album with the EXIF data for each image (if you use the right template).

Where would the fun be in that?


jtross | snid | jason - bloggage (including videos)
Reply With Quote
  #164 (permalink)  
Old Jan 18th, 2005, 07:37 PM
Cape Cod MINI's Avatar
Has met Quack Quack Jack
Retired and relaxed
Offline
 
Join Date: Oct 2001
Location: Graham, NC
Posts: 5,365
Local Time: 08:52 PM
United States
Quote: Originally Posted by snid
Serious geek post alert! Avert your eyes if you are easily frightened!

I've been wasting time at work the last few days. We're really close to a code release to customers, so making changes is a bad thing. Instead, you wait around for someone to say "something broke!" then rush to fix it. Nothing for me to fix recently, so I've been playing.

I'm still working on web stuff for my image gallery / home page with the thought of having as little work needed as possible in the publishing phase. Right now, all I need to do is throw a jpg in the right directory with the right filename format, and the rest is handled by the JavaScript in the index.html page. I like it that way.

But, I was thining, it would be cool to have some of the EXIF data available (shutter speed, aperture, focal length). "Hmmm", I think, "that info is in the jpg, and the browser has the jpg, so in theory the browser already has the information... how to get at it?" Well, an image loaded by an img tag is a black hole... no cool JavaScript methods to get anywhere with that. But, I've been playing with XMLHTTPRequest objects recently, which allow you to grab any web accesible file you want, like the jpg. Sounded good. I found the EXIF spec and some sample code on how to pull info out of the file, and started away.

Here's the problem... the closest I can get to the binary information in the jpg is a String representation. UTF8 should save me... but, it doesn't. I've found all kinds of wierdness depending on the browser and platform. I simplified things and threw away the EXIF code for now, and instead focused on just generating a hex dump of the jpg file (or the first kb or so of it). No good news. On the PC / firefox, all the bytes are there, but a bunch only contain the UTF8 "unavailable" character FE (or FFFE, or 65533 - yes, that's not a byte, more confusion). On the Mac / safari, I think almost all (or even all) the "bytes" I found came back as the right values, but there were some bytes missing! I think all the missing bytes were 00, but, when you're dealing with offsets to find the right byte of information, a missing byte is a problem.

IE just keeps yelling "undefined" at me.

current test code / hex dump is here http://homepage.mac.com/jtross/exif.html
the jpg it's trying to dump is here http://homepage.mac.com/jtross/photoblog/1.17.2005.jpg
if you want to play / compare for yourselves. Unix hexdump is the standard. "--" in the center part of the dump represents an "unknown" byte. "-" in the right part of the dump represents a byte that's not in the normal ASCII printable range.

So, I guess having the browser use JavaScript to extract the EXIF info isn't going to work.

Next idea, which will have to wait until I get home, is to use an AppleScript folder action to do the EXIF extraction for me and create an XML file with the data for each jpg I add. Then, use an XMLHTTPRequest to get the contents of the XML file, and JavaScript to display it.


Missing my buddies Dan, Ed, and Diane but glad I have three angel buddies, And on a quest to Right Secco's Wrongs
Reply With Quote
  #165 (permalink)  
Old Jan 18th, 2005, 07:48 PM
snid's Avatar
MINI2 Premium Member Has met Quack Quack Jack
brown is back
Offline
 
Join Date: Sep 2002
Location: Burlington, VT
Posts: 4,278
Local Time: 09:52 PM
United States Male View snid's Velvet Red & White 1st Gen MINI Cooper Profile
Quote: Originally Posted by Cape Cod MINI
I have no idea what you are talking about

I put a friggin warning at the top of the message!




jtross | snid | jason - bloggage (including videos)
Reply With Quote
Sponsored Links
Advertisement
 
Reply
Tags: , ,



LinkBacks (?)
LinkBack to this Thread: http://www.mini2.com/forum/new-york-new-england-region/74991-mamas-techno-geek-thread.html
Posted By For Type Date
MINI2.com - MINI Forum This thread Refback Mar 27th, 2009 08:22 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question: XM vs. Sirius - For Trance/Techno Lovers Cooper76 First Generation Interior & Ice 10 Aug 16th, 2005 11:16 PM
MAMA's Junkyard Ragtime Band MetalMiniMayhem New York & New England Region 42 Jul 25th, 2005 08:46 PM
Ladies And Gentlemen,it's MAMA's Papa's jcsinnh New York & New England Region 3 Mar 16th, 2004 08:46 AM


All times are GMT. The time now is 01:52 AM.



Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2