thinkoholic.com - a blog by markus nolf

Archive for the ‘technology’ Category

[posted: Sunday, 2007-12-23] [category: technology] [tags: ]

it took me until now to start using permalinks. the main reason: in all my previous posts, i had included images manually with the relative URI — e.g. <img src="2007/12/01/test.jpg”>.
the permalink for this post is a virtual folder
www.thinkoholic.com/2007/12/23/wordpress-permalinks-and-local-images/
and so the above image is looked for under
www.thinkoholic.com/2007/12/23/wordpress-permalinks[...]/2007/12/01/test.jpg
it’s not there of course, so it won’t be displayed correctly.
the problem is similar for internal links such as <a href="gallery.php”>.

instead of correcting every single post manually, i just added the following lines to wordpress/wp-includes/formatting.php, line 28:

$curl = str_replace('src="', 'src="/', $curl);
$curl = str_replace('src="/http://', 'src="http://', $curl);
$curl = str_replace('href="', 'href="/', $curl);
$curl = str_replace('href="/http://', 'href="http://', $curl);

lines 1 and 3 add the necessary root-slash to every src and href, lines 2 and 4 remove them for all external links.

if your all of your images and/or internal pages are in a subfolder, change the first and third line accordingly:

$curl = str_replace('src="', 'src="/subfolder/', $curl);

 

bookmark / recommend:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • MisterWong
  • MySpace
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter
[posted: Friday, 2007-10-12] [category: technology]

more than two years ago, i read about eric’s first encounter with a light field plenoptic camera, and was fascinated by the very idea.
today, i saw a presentation by dave story from adobe (video at the end of the article), in which he talks about their development of a lens that has very similar functions and (i believe) is based on the same principle.
of course, adobe also has the proper photoshop-tools that make it possible to deal with the new load of digital information.


bookmark / recommend:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • MisterWong
  • MySpace
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter
[posted: Sunday, 2007-07-15] [category: technology]
spring gentian (gentiana verna)

i’ve added a little script to display exif information for my photos.
when available (most of the recently-uploaded ones should be covered), there will be a [show-exif]-link on the single-photo pages.

for an example just, click on the righthand image.


bookmark / recommend:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • MisterWong
  • MySpace
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter
[posted: Monday, 2007-07-09] [category: fun, technology]

i’m putting together a disc with all the prague photos from three cameras (using exif date changer to add a timestamp to the filenames).

cross-referencing them with my photos, i had to use these values to correct their exif data:

anna:
+1246 days
+16 hours
+23 minutes
stefan:
-389 days
+6 hours
-4 minutes

according to their photos, anna visited prague during christmas 2003, while stefan (a heartfelt IT student) will be there in june 2008. :-)

nice job setting the time & date on your cameras, folks!

bookmark / recommend:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • MisterWong
  • MySpace
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter
[posted: Wednesday, 2007-04-04] [category: technology]
sony-ericsson k750i, with and without software branding

i understand why they preset their own screensavers and phone bootup-/goodbye-images, but where is the sense in ruining design?

had to replace my beloved k750i because of several hardware defects, and the new one was software-branded.
in my view, vodafone is depreciating equipment here – they replaced the nice original icons with smaller ones in fashionable red&turquoise, they re-sorted the menus (which really doesn’t make sense! why move the organizer functions from position 0 to 7?? where’s the point in that?), and all the small submenu-icons look almost the same.

great job, vodafone!
if i didn’t loose warranty, i’d have already unbranded it!

[view photos: software-branded phones suck!]

(that is a custom theme, by the way. the original made me wanna throw up.)

bookmark / recommend:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • MisterWong
  • MySpace
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter
[posted: Tuesday, 2007-01-02] [category: technology]
tom dismantles my k750i

just in time for the first december day when i had planned nothing, some technical problems arised, so i wouldn’t get a chance at being bored…

first, i dropped my beloved sony ericsson k750i. it survived, but a spring got loose in the camera slide thingy.
tom has a set of tiny screwdrivers for cellphones, so we dismantled it and put the spring back where it belonged.

we couldn’t find a photo of the correct position on the internet, so i thought i’d post one here: [more...]

bookmark / recommend:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • MisterWong
  • MySpace
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter
[posted: Thursday, 2006-10-05] [category: technology]

in the last few months, i decided to get some upgrades in order to make the digital part of my life …more enjoyable:

    sony cybershot dsc-f828
    sonyericsson k750i
    samsung syncmaster 913N and 710N

    digicam: sony cybershot dsc-f828 replaced my f717
    the f828 is clearly not an SLR, but i sure have a lot of fun with it.
    the only draw back: even though image quality was improved compared to the f717 (the f828 is the first model with a (then-)new type of ccd), there seems to be some extra noise in long exposures…
     

    cellphone: sonyericsson k750i replaced my SE t610
    i WUV it! it wakes me up in the morning by playing my favorite mp3-song, it generally plays music out loud whenever i want it to, and it takes ok-quality 2 megapixel photos.
    and it has a built in pc-remote-control via bluetooth.
     

    display: samsung syncmaster 710N has been added to my syncmaster 913N
    i wanted to get another 913N, but it’s more expensive now than when i bought the first one.

in case you’re wondering: yes, if a brand doesn’t disappoint me, i usually stick with it.

bookmark / recommend:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • MisterWong
  • MySpace
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter