Deprecated: Function set_magic_quotes_runtime() is deprecated in /users/home/kjell/web/public/textpattern/lib/txplib_db.php on line 14

Deprecated: Function split() is deprecated in /users/home/kjell/web/public/textpattern/lib/txplib_misc.php(571) : eval()'d code on line 352
tag → station11
  1. 15 December 2006

    Bowsah

    1880 days ago

    My browsing habits for the past 2 months. Pages per day is a crude metric, but good enough to get an idea of how many I look at per day.

    I wrote a little script that scrapes ~/Library/Safari/History.plist and throws the the page title and url into a 150 line rails app which spits out basic info and lets me search through to try and find pages I remember but otherwise would have a hard time getting at.

    The sqlite3 database is at 2MB after 2 months, I don’t think that 1MB/month is an unreasonable size to keep track of the pages I’ve been too. It might start getting unreasonable a few years from now, but nothing that can’t be handled then.

    I don’t know why I wanted to have all the pages I go to logged into a system, even just for private use. Something about leaving a trail, having instant recall. I probably read more stuff on the internet than I do out of books, and I could remember for the most part what books I read, but there’s no way I could keep track of the thousands of webpages I go to every week.

    It also just puts things in scale, I mean holy shit. In the past 7 days I’ve been to ~2300 pages. Not all different pages. In the whole 2 month period this thing’s been going, I’ve been to ~1900 different sites (judging by top level domain). That’s a lot of browsing.

    The big idea that I feel is behind all this: when I’m 40 I’ll be able to come back and sit down and take a look at all the data I’ve left behind. Maybe figure out what my life had been like at some point in time. What websites did I visit 20 years ago today? Where did my interests lay, what kind of stuff did I like? It might end up being a dry, boring as hell legacy; but there’s potential for it to be interesting as well.

  2. 05 June 2006

    Rails minutiae

    2072 days ago

    So there isn’t anything harder to take then a subtle bug with little apparent cause. That’s why this sort of thing kills me:

    
    /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/errors.rb:94:in `check': cannot rollback - no transaction is active (SQLite3::SQLException)
            from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/resultset.rb:76:in `check'
            from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/resultset.rb:68:in `commence'
            from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/resultset.rb:61:in `initialize'
            from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/statement.rb:158:in `execute'
            from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/database.rb:211:in `execute'
            from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/database.rb:186:in `prepare'
            from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/database.rb:210:in `execute'
            from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/database.rb:620:in `rollback'
             ... 13 levels...
            from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:200:in `run'
            from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:13:in `run'
            from /usr/local/lib/ruby/1.8/test/unit.rb:285
            from test/unit/workout_test.rb:10
    

    There are time when I’ll just get fed up with the damn computer, and this caused me to wrap up last night and go try to learn to read music1. There was even less information in that error as there is in musical notation! I can almost deal with sound visually on a staff, but it’s real troubling to deal with a bug that won’t leave the slightest clue.

    But I think I’ve got it scrubbed out. Commenting things out strategically leads me to not want fixtures with nil values. Changing this:

    
    invalid_exercise:
      id: 4
      name:  
      description:
    

    into this:

    
    invalid_exercise:
      id: 4
      name: ""
      description: ""
    

    mopped things up real well for me. Now there’s just one more thing that is making me want to bash my laptop with a rock, as soon as I can find it, I’ll be for smooth sailing.

    1 Quite the feat actually: I quit piano in 6th grade because although I could play whatever anyone threw at me by ear, no way did I have the patience to learn to read those goddamned notes.

  3. 19 March 2006

    Getting out of hand

    2151 days ago

    So I’ve got a rails app up that is handling bigger datasets then I’d imagined it would. It’s not doing so well and now I need to go through and optimize things. Ugh. But check this out:

    
    [kjell@ambrose:~/Sites/quizzer] % cat production.log | wc -l
     1541890
    

    That’s a 1.5 million line logfile. Again, Ugh. At least people are using and mostly liking my system. Too bad it looks like it’s ridiculously inefficient. But ah, the joy of computers. Just think about that – it comes close to blowing your mind.

  4. 18 January 2006

    2211 days ago

    12:38 < xal> sam-: 2 things
    12:38 < xal> a) you are nuts. those selectors are pure crack
    12:38 < xal> b) could you add them to actionpack so that update_javascripts grabs them?
    13:02 < madrobby> c) add more crack

    #rails-core

  5. 13 December 2005

    2247 days ago

    Rails 1.0: Party like it's one oh oh!

    1.0 really doesn’t mean much, I’m running on edge rails and have all kinds of cool stuff that wasn’t included (rjs, anyone?). But it’s great none the less.

    via Kjell Olsen2247 days ago
  6. 07 December 2005

    2253 days ago

    Rails takes Ruby higher than Python

    Ruby has just started its ascend. Sure, it’s a rocket take-off, but we haven’t even left the atmosphere yet. DHH

    via Kjell Olsen2253 days ago
  7. 05 December 2005

    2255 days ago

    Rails and Django meet in Chicago

    This presentation from David is spectacular.

    Kjell Olsen2255 days ago
  8. 19 November 2005

    Chaining effects with rails

    2271 days ago

    I'm sure I'm not the only one to have figured this out, but is this cool or what?

    
    :complete => { visual_effect(:BlindDown, dom_to_update, :duration => 1),
                   visual_effect(:highlight, dom_to_update, :duration => 1) }
    
  9. 31 October 2005

    2290 days ago

    Ruby on Rails chases simplicity in programming | CNET News.com

    Rails hits c|net, buzz buzz wow.

    via Kjell Olsen2290 days ago
  10. 29 October 2005

    2292 days ago

    Slider plugin for Ruby on Rails!

    I’m doing a questionnaire app with rails for the psych department at Morris, and this will kick ass when it comes to implementing questions on a scale.

    Kjell Olsen2292 days ago
  11. 27 October 2005

    Quit?

    2294 days ago

    So I’ve been working a campus job since school started, and it’s starting to suck. 10 hours a week tethered to a computer in an office. Windows! I’ve been lucky to have previously worked with rails, because so far php is to viciously scratching yourself as rails is to a warm oil massage. It might just be the spaghetti code, maybe it’s the syntax, or maybe specific to the legacy cms that I’m using, I don’t like it.

  12. 22 October 2005

    2298 days ago

    The Railroad, Then and Now

    Excellent look at how rails and rapid development will change the software world. Homesteaders vs. Gold Diggers is a nice allusion, I don’t know which I’d rather be.

    Kjell Olsen2298 days ago
  13. 14 October 2005

    2307 days ago

    ONLamp.com: What Is Ruby on Rails

    Curt Hibbs quickly glosses over why rails is so good, worth a read.

    via Kjell Olsen2307 days ago
  14. 10 October 2005

    2310 days ago

    Ruby Code & Style

    Ruby is really starting to hit the big time. I picked a good one to start with. I’m working with php now with my campus job, and it really pales in comparison. Now ruby leapfrogs both perl and python into a prestigious publication.

    via Kjell Olsen2310 days ago
  15. 29 September 2005

    2322 days ago

    Budgetwise

    More rails hotness, this time a personal finances app from Jamis Buck. I like it.

    Kjell Olsen2322 days ago
  16. 20 September 2005

    2331 days ago

    Validating (X)HTML in Rails

    Good bit of code for your functional tests that ensures your markup is valid.

    via Kjell Olsen2331 days ago
  17. 16 September 2005

    2335 days ago

    Is Ruby Better Than...

    PragDave is going after mainstreaming ruby. He doesn’t demand anyone use it – he leaves other languages their cut – but hasn’t said a bad word about ruby yet.

    Plus he redesigned his site and now it looks exactly like one I’m working on now. His titles are darker blue, and there’s a little triangle on the left, but otherwise the same.

    via Kjell Olsen2335 days ago
  18. 09 September 2005

    2342 days ago

    Is Rails Ready for Prime Time?

    Not universally, but it’s sure a great option to have.

    via Kjell Olsen2342 days ago
  19. 23 August 2005

    2359 days ago

    Why Rails

    What is a huge deal? Having an extremely

    via Kjell Olsen2359 days ago
  20. 27 July 2005

    2386 days ago

    TrackMap Routes

    I’ve wanted to build (exactly) this for awhile now, but I don’t have a gps, so what’s the point.

    via Kjell Olsen2386 days ago
  21. 19 July 2005

    Agile Web Development With Rails

    Dave Thomas, et al.

    2394 days ago

    I’m a little late catching the bandwagon, but I didn’t buy the (beta)book for a few weeks after it’s release. This is a spectacularly detailed book on the rails framework, capturing the simplicity of setting up a rails application in it’s tutorial followed by quite a dense summary of the different aspects of rails quite in depth.

  22. 05 July 2005

    2408 days ago

    Caching images in Rails

    Cute way to generate cached image files from your db with rails.

    via Kjell Olsen2408 days ago
  23. 23 June 2005

    2420 days ago

    Mike Clark's Weblog

    Rails kicks butt.

    In much the same way that the web took off because of “View Source”, Rails is taking off because it lowers the barrier to entry and holds nothing back.

    Having learned html and css by viewing the source, I can say that rails works much the same. I love open source, and it makes doing things for a kid with little programming experience like myself a piece of cake.

    via Kjell Olsen2420 days ago
  24. 07 June 2005

    2436 days ago

    AkuAku: Google Maps on Rails

    Looks nice.

    via Kjell Olsen2436 days ago
  25. 05 June 2005

    2438 days ago

    Rails Day is over

    And I’m excited to see the numerous projects, but their site is down! At least they stayed up the 24 hours.

    Kjell Olsen2438 days ago
  26. 02 June 2005

    2441 days ago

    x180 / james duncan davidson: Rails a Few Weeks On

    Now, on to Rails. Rails is the most well thought-out web development framework I’ve ever used. And that’s in a decade of doing web applications for a living. I’ve built my own frameworks, helped develop the Servlet API, and have created more than a few web servers from scratch. Nobody has done it like this before.

    So rails, starting to get hot, huh?

    via Kjell Olsen2441 days ago
  27. 28 May 2005

    2446 days ago

    Rails Day 2005 - June 4th

    I want to do railsday, but don’t know if I’ll be able to make the time on saturday. Hm…. I’ve got some killer ideas, but not too much rails-fu. But I could probably work out something in a day, rails is pretty easy.

    Kjell Olsen2446 days ago
  28. 12 April 2005

    2492 days ago

    The blend of mind, talent, and passion (Loud Thinking)

    Why we like rails:

    Ruby on Rails is turning out to be that place in the middle capable of igniting excitement from both ends of the spectrum.

    So what we’re basically trying to achieve is the meeting of quick’n’dirty with slow-but-clean into quick’n’clean.

    via Kjell Olsen2492 days ago
  29. 16 March 2005

    2519 days ago

    Ruby On Rails Quotes in Rails

    when rails works she is like a sports car covered in hot babes. mrpotatohead (irc)

    Could you say it any better?

    Kjell Olsen2519 days ago
  30. 11 March 2005

    2524 days ago

    Combining XMLHttpRequest and Rails to Produce More Efficient UIs

    A nice rails/ajax howto. Using, of course, the rails goodness that is Hieraki (man thats hard to spell). Here’s some more on rails and ajax, and also a demo of what dave has going on.

    Kjell Olsen2524 days ago
  31. 27 February 2005

    2536 days ago

    Regarding ruby and ruby on rails

    Interesting perspective on why ruby isn’t for new programmers – but it’s for me just because I don’t want to deal with C right now, and it’s real nice and quick.

    via Kjell Olsen2536 days ago
  32. 15 February 2005

    2548 days ago

    Routing: Native Ruby Rewriting | Hieraki

    Such a cool addition. I wish everything was as cool as rails.

    via Kjell Olsen2548 days ago
  33. Also somewhat recently