|
Advertisement
|
Forum posts by Daniel Berger:Posted in Ruby Buzz Forum, Nov 23, 2007, 1:57 PM
From the fusen-ruby description:"This program is sticky the easy memorandum for a desktop."All your sticky are belong to us!
Posted in All Buzz Forum, Nov 19, 2007, 6:16 PM
I generally despise 'then' after an 'if' clause in Ruby, because Ruby doesn't need it and it clutters up my screen.However, I've discovered that there is one case where I do like to use it, and that's multi-line if statements. Sometimes they're unavoidable, and the 'then' serves as a useful line break that denotes where the clause ends and the...
Posted in Ruby Buzz Forum, Nov 19, 2007, 6:16 PM
I generally despise 'then' after an 'if' clause in Ruby, because Ruby doesn't need it and it clutters up my screen.However, I've discovered that there is one case where I do like to use it, and that's multi-line if statements. Sometimes they're unavoidable, and the 'then' serves as a useful line break that denotes where the clause ends and the...
Posted in All Buzz Forum, Nov 9, 2007, 2:36 AM
I originally posted this on ruby-core but thought I'd blog it, too. I've posted before about the problem of determining which methods were "real" and which were aliases. One problem, as I mention in that link, is that that Ruby mostly uses synonyms instead of aliases in the source code.For example, Array#map and Array#collect are synonyms but...
Posted in Ruby Buzz Forum, Nov 9, 2007, 2:36 AM
I originally posted this on ruby-core but thought I'd blog it, too. I've posted before about the problem of determining which methods were "real" and which were aliases. One problem, as I mention in that link, is that that Ruby mostly uses synonyms instead of aliases in the source code.For example, Array#map and Array#collect are synonyms but...
Posted in All Buzz Forum, Nov 8, 2007, 2:36 AM
I dreamt I was fired because my bank account had reached $0. Apparently, corporate policy is that if you go bankrupt (or, at least, if your checking account reached $0), you're automatically fired. Luckily, there was an alien invasion the same day, so my firing was rather small on the "world problems" scale, and I didn't feel so bad.Just in...
Posted in Ruby Buzz Forum, Nov 8, 2007, 2:36 AM
I dreamt I was fired because my bank account had reached $0. Apparently, corporate policy is that if you go bankrupt (or, at least, if your checking account reached $0), you're automatically fired. Luckily, there was an alien invasion the same day, so my firing was rather small on the "world problems" scale, and I didn't feel so bad.Just in...
Posted in All Buzz Forum, Nov 1, 2007, 6:36 PM
This will be the first RubyConf I've ever missed. My travel budget was burned up on a make-up trip to Florida (caused by the blizzard), a trip to Thailand, a trip to Wisconsin for the 4th of July, and an upcoming trip to Florida for Christmas. Something had to give, and it was RubyConf.Also, work is getting hectic, what with the...
Posted in Ruby Buzz Forum, Nov 1, 2007, 6:36 PM
This will be the first RubyConf I've ever missed. My travel budget was burned up on a make-up trip to Florida (caused by the blizzard), a trip to Thailand, a trip to Wisconsin for the 4th of July, and an upcoming trip to Florida for Christmas. Something had to give, and it was RubyConf.Also, work is getting hectic, what with the...
Posted in All Buzz Forum, Oct 29, 2007, 6:37 PM
I started watching Heroes tonight, then lost interest and just watched Monday Night Football instead. Which was good, because I won my Fantasy Football matchup as the result of the final play of the game. :)In other news, I discovered that if you try to search Google for a Unicode character, you get nothing back. I don't mean "No results...
Posted in Ruby Buzz Forum, Oct 29, 2007, 6:37 PM
I started watching Heroes tonight, then lost interest and just watched Monday Night Football instead. Which was good, because I won my Fantasy Football matchup as the result of the final play of the game. :)In other news, I discovered that if you try to search Google for a Unicode character, you get nothing back. I don't mean "No results...
Posted in All Buzz Forum, Oct 26, 2007, 5:36 PM
Yup, I broke RubyForge. Or rather, rubygems. For about an hour.It turns out that a gem created with the latest (unreleased) beta causes serious problems with older versions of rubygems. I *think* it's because of the platform handling change, but I'm not positive. We'll have to review it on the rubygems-devel list.Hey, if you're gonna break the...
Posted in Ruby Buzz Forum, Oct 26, 2007, 5:36 PM
Yup, I broke RubyForge. Or rather, rubygems. For about an hour.It turns out that a gem created with the latest (unreleased) beta causes serious problems with older versions of rubygems. I *think* it's because of the platform handling change, but I'm not positive. We'll have to review it on the rubygems-devel list.Hey, if you're gonna break the...
Posted in All Buzz Forum, Oct 26, 2007, 3:37 PM
I discovered a minor little bit of nastiness with both our own win32-api and Ruby's Win32API library. Consider the following bit of code: require 'Win32API' strtok = Win32API.new('mvscrt', 'strtok', 'PP', 'P') string = "A string\tof ,,tokens\nand some more tokens"; seps = " ,\t\n"; puts "Tokens:" token = strtok.call(string, seps) while token...
Posted in Ruby Buzz Forum, Oct 26, 2007, 3:37 PM
I discovered a minor little bit of nastiness with both our own win32-api and Ruby's Win32API library. Consider the following bit of code: require 'Win32API' strtok = Win32API.new('mvscrt', 'strtok', 'PP', 'P') string = "A string\tof ,,tokens\nand some more tokens"; seps = " ,\t\n"; puts "Tokens:" token = strtok.call(string, seps) while token...
|