• Home
  • Musings
  • Music
  • Galleries
  • Code
  • Art
  • Now
  • About

Single

25 February 2004 / #blog 
0 words — 0 minutes read

T minus 3.5 days

hasliberg.jpg

    Jens-Christian Fischer

    Maker. Musician

    26 February 2004 / #blog 

    Finding side effects with IDEA

    I was on a bug hunt the last couple of hours. When I looked at a web page served by our application server, it’s content showed up. When I pressed reload, only the summary of the content showed up. Somehow, someone changed my ( my! ) private variable somewhere. I sprinkeld the code liberally with print statements (ahh - nothing goes over a good dose of those) because the app would be quite cumbersome to run in the debugger. ...

    Jens-Christian Fischer
    20 February 2004 / #blog 

    Finding a URL in a text

    How do you find a URL in a normal text and turn it into a HTML link using regular expressions? That was the challenge I faced recently. Oh - and of course not only well formed url’s (with the https:// in front of them, but any kind of url. Why invent something, when there’s google to search? I found Ben Forta’s “How to match a URL” but unfortunately it was way to forgiving in what it parsed, so I had to expand it a bit. ...

    Jens-Christian Fischer
    Invisible
    —
    T minus 3.5 days
    Share this

    Jens-Christian Fischer / Email Me

    Avatar

    Zurich, Switzerland

    © 2003 – 2022
    Archives Keybase Facebook Twitter Mastodon Github Flickr LinkedIn