617 karma · joined July 9, 2013
This:
dirp = Dir.open(".")
for f in dirp
case f
when /\.rb\z/
print f, "\n"
else
# do not print
end
end
dirp.close
Could be made much more Ruby-native (and simpler!) as: Dir.open('.').each do |f|
puts f if f.match?(/\.rb\z/)
end
My point isn't to play the "I know the language better than you, so nyah nyah" game, just to suggest that if the author likes Ruby as much as he says, he should learn it better.... and assuming that the listener is able to parse and then object to phrasing on the fly. Phrasing can matter, but fine-grained hypercriticism is mostly a useless exercise.
I'll just say it now: this is a mistake, quite possibly a huge mistake. The average human is not intelligent enough to deal with computer-generated video that they can mistake for reality, and so this can and will become a tool for despots.
But to imply that these are empirical differences between FreeBSD and Linux, well, that's nonsense.
There's nothing wrong with switching to another OS, but implying it's because the other OS is somehow empirically "better" is misguided.
I've been paying google for GDrive for some time now, and that's about to end. It's back to Dropbox. I know, I don't have to do this, but the hell with google. I'm done. This is nothing short of a needless f---over, and I want as little to do with them as possible.
* Fastmail
* Protonmail
* Zoho
I hope they succeed in completely ruining any goodwill they have left. I'd toss out some four-letter words, to boot, but I just can't be bothered.
Here's an exercise in how to piss off the world.
I will never recommend or use google products in the future if I have a choice. Never. Reason: you just don't know what Google is going to do next.
Here's a highly successful, multi-billion-dollar company. They don't need the money. But they want it, because apparently, there just aren't enough billions.
EDIT: thankfully, on a Mac with Homebrew, you can just 'brew install io'.
EDIT: "We are a way for the cosmos to know itself." –Carl Sagan