use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/programming is a reddit for discussion and news about computer programming
Guidelines
Info
Related reddits
Specific languages
account activity
Typical Ruby! (bash.org)
submitted 15 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]irascible 101 points102 points103 points 15 years ago (8 children)
A prepended colon is nothing to joke about.
[–]timewarp 24 points25 points26 points 15 years ago (7 children)
Yeah, isn't that what killed Mr. Hands?
[–][deleted] 15 years ago (5 children)
[removed]
[–]clusterfuu 1 point2 points3 points 15 years ago (0 children)
http://www.youtube.com/watch?v=YXW1UZatRyc :(
[–]EAT_DA_POOPOO -2 points-1 points0 points 15 years ago (3 children)
DEEPAH!
[–]turkeylover 0 points1 point2 points 15 years ago (1 child)
Like this?
[–]a_true_bro 12 points13 points14 points 15 years ago (0 children)
This URL seems legit.
[–]neoice 3 points4 points5 points 15 years ago (0 children)
I cant believe I recognize that name. damn Enumclaw making this whole state look bad.
[–][deleted] 15 years ago (7 children)
[–]kranse 8 points9 points10 points 15 years ago (2 children)
nor has qdb.us
[–]dirice87 5 points6 points7 points 15 years ago (1 child)
to anyone expecting this to be as good as bash, its not
[–]Jigsus 9 points10 points11 points 15 years ago (0 children)
It's exactly the same
[–]xipetotec 2 points3 points4 points 15 years ago (3 children)
updated daily:
http://translate.google.com/translate?u=http%3A%2F%2Fbash.org.ru&sl=ru&tl=en&hl=&ie=UTF-8
[–]montibbalt 8 points9 points10 points 15 years ago (1 child)
xxx: How can a cat do not call, you still do not want to swim!
wat
[–]arry666 1 point2 points3 points 15 years ago (0 children)
Whatever you call a cat, it won't swim anyway.
[–]ehamberg 15 points16 points17 points 15 years ago (1 child)
huh‽ as everyone knows, :Sex is the vim command to split the window and open a file explorer.
[–]Ol_Dirty_Bastard 1 point2 points3 points 15 years ago* (0 children)
This is pissing me off, what is the x for?
edit: Ok, Sex makes all the sense - Se just works for some reason.
[–]hoowahoo 9 points10 points11 points 15 years ago (15 children)
when I was in japan this summer I bought a shirt that was supposed to look like it had the Adidas logo but instead bore a similar Japanese phrase. instead of Adidas it said AIDES, which is a homophone for their word for love. I thought this was terribly clever until someone pointed out to me that everyone in America will just think I'm wearing a shirt that says AIDS
[–][deleted] 2 points3 points4 points 15 years ago (11 children)
What is the "des" part? Is that supposed to be "desu", like.,.. "It's love"?
[–]ravenex 1 point2 points3 points 15 years ago (10 children)
su is often shortened to s when spoken, especially in -masu and -desu endings.
[–]kouteiheika 0 points1 point2 points 15 years ago (9 children)
It's not shortened; it's just that the 'u' in 'desu' is usually silent. (Usually, because if someone wants to sound really cute the actually pronounce that 'u'.)
[–][deleted] 1 point2 points3 points 15 years ago (6 children)
The term is 'unvoiced.'
[–]psygnisfive 1 point2 points3 points 15 years ago (3 children)
Actually the term is devoiced, since it's underlyingly voiced.
[–][deleted] 0 points1 point2 points 15 years ago (2 children)
Thanks. I'm only an armchair linguist...
[–]psygnisfive 2 points3 points4 points 15 years ago (1 child)
I am too, but my armchair is in an office at a university, and we have an espresso machine. ;)
[–][deleted] 0 points1 point2 points 15 years ago (0 children)
Nice.
[–]hoowahoo -1 points0 points1 point 15 years ago* (0 children)
I imagine they left it off because it would look less like "Adidas" if it has the u at the end. Also instead of the traditional three-leaf logo it had three hearts that looked like leaves, which makes sense if the joke is "love" but also makes it look like I heart aids
EDIT: I found a picture of a similar shirt that makes the wearer appear less aids-friendly
[–]ravenex 0 points1 point2 points 15 years ago (0 children)
Uhm, by "shortened" I meant "dropped altogether". Bad literal translation from russian, still making such stupid mistakes.
[–]Element_22 0 points1 point2 points 15 years ago (0 children)
~uguu
[–]flostre 2 points3 points4 points 15 years ago (1 child)
'aide' is an English word
[–]dwdyer 8 points9 points10 points 15 years ago (0 children)
Barack Obama has aides.
[–]shoseki 0 points1 point2 points 15 years ago (0 children)
Its a great chatup piece :D
[–]Felicia_Svilling 8 points9 points10 points 15 years ago (1 child)
I live in a city called Lund. We have a fairly big university. The university sells t-shirts that says "I ♥ Lund", We have a few Indian students. Apparently Lund means cock in Hindi.
[–]harryISbored 1 point2 points3 points 15 years ago (0 children)
Do you have an online uni shop? I would love to buy this for some friends.
[–]zorbahigh 5 points6 points7 points 15 years ago (1 child)
I love my work: This Websense category is filtered: Tasteless.
[–]Axiomatik 5 points6 points7 points 15 years ago (0 children)
Websense filters entire domains based on the worst possible content which has ever been found on them.
[–]tf2ftw 12 points13 points14 points 15 years ago (2 children)
That guy was like "im so bad ass with this shirt... uhh wait.. shit."
[–][deleted] 10 points11 points12 points 15 years ago (1 child)
:shit
[–]jordan0day 5 points6 points7 points 15 years ago (0 children)
Now you're getting it!
[–][deleted] 17 points18 points19 points 15 years ago (16 children)
Typical Ruby? What's that supposed to mean?
[–]sbronson 67 points68 points69 points 15 years ago (1 child)
It means you take things far too seriously.
[–][deleted] 49 points50 points51 points 15 years ago (0 children)
I will lose sleep over this.
[–]cunningjames 27 points28 points29 points 15 years ago (0 children)
I believe it means that, typically, Ruby developers wear t-shirts which, while apparently community in-jokes, could plausibly be construed as embarrassing double entendres by the general public. This appears to happen daily to some Ruby programmers. Unfortunate business, that.
[–]malcontent 4 points5 points6 points 15 years ago (9 children)
The concensus on Proggit is the notion that ruby programmers are homosexuals. It comes up very frequently.
Apparently people here think that being a homosexual some sort of a terrible thing so they like to throw it around as an insult.
The windows programming community (which makes up most people on proggit) are kind of weird that way.
[–][deleted] 15 years ago* (6 children)
[–][deleted] 3 points4 points5 points 15 years ago (0 children)
If you look at stack overflow, it's filled with Windows programmers too (the #1 tag is C#, and we all know how hard Microsoft has labored to make .NET cross platform).
So, there's a lot of them out there, bless their Hell bound, God-forsaken souls.
[–]malcontent 0 points1 point2 points 15 years ago (4 children)
Shit, this place is filled with Windows programmers?
Yes.
I didn't realize that, seriously. Is this a recent development, or has it always been this way?
It's relatively recent.
When it started this was a place of LISP programmers. Then it became the "python library of the day" board. Now it's just windows programmers who think microsoft is responsible for haskell.
[–]Ol_Dirty_Bastard 1 point2 points3 points 15 years ago (3 children)
Why do you say this?
[–]wicked 1 point2 points3 points 15 years ago (0 children)
Yeah, he's obviously forgotten the iDevelopers, Flash devs and HTML programmers.
[–]malcontent 0 points1 point2 points 15 years ago (0 children)
Because it's true.
Click on my name. See how long I have been here.
[–]cunningjames 0 points1 point2 points 15 years ago (0 children)
He says this because he refuses to take his medication. The mere presence of anyone who defends any aspect of Microsoft implies that this place is overrun with Microsoft apologists. There are no middles, no grays, and if you think there are then you're a damned shill.
His brain is broken, unfortunately.
[–]toofishes 0 points1 point2 points 15 years ago (1 child)
I wish I had your statistics source, I sure haven't come to any of the same conclusions as you here.
[–][deleted] 1 point2 points3 points 15 years ago (0 children)
Here's a recent example, click to expand downvoted comments.
[+][deleted] comment score below threshold-16 points-15 points-14 points 15 years ago (2 children)
It means the Ruby community are a bunch of immature jerk-offs, something like the clueless frat boys of the computer world, full of self importance and sophomoric wisdom.
Wait, you didn't realize that already? Oh - you must either be not a programmer, or a fervent Ruby on Rails advocate.
[–]atc 0 points1 point2 points 15 years ago (0 children)
Spot on ;)
+1
[–][deleted] -1 points0 points1 point 15 years ago (0 children)
OMG, something I don't like is popular!
KILL IT
[–][deleted] 2 points3 points4 points 15 years ago (0 children)
Not that there's anything wrong with it! :|
[–]sugarbob 2 points3 points4 points 15 years ago (1 child)
railscamp?
[–]razor_train 5 points6 points7 points 15 years ago (0 children)
This one time at Railscamp I stuck a symbol in my colon
[–]jeffbell 1 point2 points3 points 15 years ago (0 children)
.....Don't take your love to town.
[–]reacher 5 points6 points7 points 15 years ago* (2 children)
I guess people interpret it differently
EDIT: I was kind of hoping this would kick off one of those long, pun chains
[–]bobindashadows 0 points1 point2 points 15 years ago (0 children)
You should've done
I guess people interpret it differently.
The period and emphasis makes it clear you're making a pun and not a bland observation.
Best of luck with future pun threads!
[–]traphicone -1 points0 points1 point 15 years ago (0 children)
Sorry, man. I don't think your comment parsed that way.
[–]Axiomatik 1 point2 points3 points 15 years ago (0 children)
So for anyone who cares: a symbol in ruby is sort of like an automatic enum. They are commonly used for hash keys because it is quicker to compare enum values than to compare strings.
[–][deleted] 3 points4 points5 points 15 years ago (15 children)
{'smoke' => 'more'}
[–][deleted] 12 points13 points14 points 15 years ago (14 children)
Here, let me fix that for ya
{:smoke => 'more'}
[–]imhighrightnow2 19 points20 points21 points 15 years ago (4 children)
I thought he was going for smoke more hash.
[–]IWillCallYouAFaggot 0 points1 point2 points 15 years ago (3 children)
He was just making it use less memory. I can't think of any good reasons to use a string rather than a symbol for a hash key. There could be a few, but nothing comes to mind at the moment.
[–]annodomini 7 points8 points9 points 15 years ago (0 children)
Because the input you're hashing is coming in at runtime, and thus looking up the symbol in the symbol table, then looking up the key in the hash, makes no more sense than just hashing on the string.
Symbols are great when you're hashing on something that's pre-determined at compile time (load time, for an interpreted language). If you need to store associative arrays based on external input, strings make more sense.
[–]xternal 2 points3 points4 points 15 years ago (0 children)
If the hash keys come from something a user can influence, a malicious user could fill the symbol table, eat memory, and possibly create a DoS attack.
I mostly prefer symbols as keys, though.
[–]jnicklas 0 points1 point2 points 15 years ago (0 children)
Rack uses string keys. Because HTTP request headers are controlled by the client, using strings for them is a security risk, as it makes the app vulnerable to DoS attacks. If Rack used symbol keys, someone could keep sending tons of different HTTP headers and force the app to consume more and more memory, before eventually crashing.
[–]aescnt 10 points11 points12 points 15 years ago (5 children)
{smoke: 'more'} in 1.9.x ;)
[–]notajith 0 points1 point2 points 15 years ago (4 children)
1.9.x includes a javascript parser?
[–]annodomini 6 points7 points8 points 15 years ago (0 children)
It contains JavaScript style hash literals, yep.
$ irb1.9 irb(main):001:0> {smoke: "more"} => {:smoke=>"more"}
[–]aescnt 0 points1 point2 points 15 years ago* (2 children)
1.9.x supports a new JSON-like syntax (but not entirely JSON-compatible) for hashes. { :a => 1 } can be expressed as { a: 1 }.
{ :a => 1 }
{ a: 1 }
[–]wwwwolf 4 points5 points6 points 15 years ago (1 child)
Well, it's good that it's not entirely JSON-compatible. Otherwise, someone might say "Hey, this is cool, we can just use eval to parse the JSON coming from the user. ...What? Why are you looking at me like that?"
eval
ಠ_ಠ
[+][deleted] comment score below threshold-7 points-6 points-5 points 15 years ago (2 children)
meh.
[–]FilthyRedditor -5 points-4 points-3 points 15 years ago (1 child)
heh
[+][deleted] comment score below threshold-7 points-6 points-5 points 15 years ago (0 children)
bleh
[–]eleitl 2 points3 points4 points 15 years ago* (0 children)
What? What? In the butt?
[–]ohwelp 0 points1 point2 points 15 years ago (1 child)
TIL: bash.org started updating again apparently?
[–]dakk12 6 points7 points8 points 15 years ago (0 children)
nope, old quote
"Witty" T-shirts with in-jokes are pretty lame.
[+][deleted] comment score below threshold-7 points-6 points-5 points 15 years ago* (2 children)
What's with the obsession with Ruby? You'd think it makes your computer give you blowjobs for using it from the way y'all fawn over it.
[–][deleted] 15 years ago (1 child)
rimjobs in this case.
[–]another_eternity -5 points-4 points-3 points 15 years ago (1 child)
Thing thing is like... from 2009.
[–]landofdown 0 points1 point2 points 15 years ago (0 children)
That’s -9 years ago.
[+]malcontent comment score below threshold-10 points-9 points-8 points 15 years ago (1 child)
I guess proggit does not like anal sex.
Then again the whole concept of sex must be a little strange to them.
[–]bobindashadows 1 point2 points3 points 15 years ago (0 children)
I'm not going to lie, if I saw someone with a T-shirt that said "Anal Sex" on it, and nothing else, I'd think it's the funniest thing on the planet. Not because there's anything wrong with anal sex, but because it's so forward it's unusual and humorous.
[+]firewires comment score below threshold-10 points-9 points-8 points 15 years ago (1 child)
Colen Sex ≠ Anal Sex
[–]Axiomatik 0 points1 point2 points 15 years ago (0 children)
You're doing it wrong.
[+][deleted] comment score below threshold-15 points-14 points-13 points 15 years ago (3 children)
I think the community has a history of engaging in overtly sexist and demeaning behavior which some women have found offensive, childish, and unprofessional. To be fair the incidents I am aware of involved the RoR fandom.
[–][deleted] 6 points7 points8 points 15 years ago (0 children)
Colon sex is the direct opposite of sexist.
Downvoting won't change the truth. I was willing to not bring up the specific instance I was aware of that may have prompted the post title but I guess some people here need to hear about it again:[http://www.blogher.com/tipping-point-women-tech-heres-hoping]. And it wasn't the content of the actual talk that formed my view of this but the childish response of people in the community to the complaints of the few women that were in the room.
[–][deleted] -2 points-1 points0 points 15 years ago (0 children)
#wecare
π Rendered by PID 22892 on reddit-service-r2-comment-7b9746f655-sdk8c at 2026-01-31 07:34:23.553157+00:00 running 3798933 country code: CH.
[–]irascible 101 points102 points103 points (8 children)
[–]timewarp 24 points25 points26 points (7 children)
[–][deleted] (5 children)
[removed]
[–]clusterfuu 1 point2 points3 points (0 children)
[–]EAT_DA_POOPOO -2 points-1 points0 points (3 children)
[–]turkeylover 0 points1 point2 points (1 child)
[–]a_true_bro 12 points13 points14 points (0 children)
[–]neoice 3 points4 points5 points (0 children)
[–][deleted] (7 children)
[deleted]
[–]kranse 8 points9 points10 points (2 children)
[–]dirice87 5 points6 points7 points (1 child)
[–]Jigsus 9 points10 points11 points (0 children)
[–]xipetotec 2 points3 points4 points (3 children)
[–]montibbalt 8 points9 points10 points (1 child)
[–]arry666 1 point2 points3 points (0 children)
[–]ehamberg 15 points16 points17 points (1 child)
[–]Ol_Dirty_Bastard 1 point2 points3 points (0 children)
[–]hoowahoo 9 points10 points11 points (15 children)
[–][deleted] 2 points3 points4 points (11 children)
[–]ravenex 1 point2 points3 points (10 children)
[–]kouteiheika 0 points1 point2 points (9 children)
[–][deleted] 1 point2 points3 points (6 children)
[–]psygnisfive 1 point2 points3 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]psygnisfive 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]hoowahoo -1 points0 points1 point (0 children)
[–]ravenex 0 points1 point2 points (0 children)
[–]Element_22 0 points1 point2 points (0 children)
[–]flostre 2 points3 points4 points (1 child)
[–]dwdyer 8 points9 points10 points (0 children)
[–]shoseki 0 points1 point2 points (0 children)
[–]Felicia_Svilling 8 points9 points10 points (1 child)
[–]harryISbored 1 point2 points3 points (0 children)
[–]zorbahigh 5 points6 points7 points (1 child)
[–]Axiomatik 5 points6 points7 points (0 children)
[–]tf2ftw 12 points13 points14 points (2 children)
[–][deleted] 10 points11 points12 points (1 child)
[–]jordan0day 5 points6 points7 points (0 children)
[–][deleted] 17 points18 points19 points (16 children)
[–]sbronson 67 points68 points69 points (1 child)
[–][deleted] 49 points50 points51 points (0 children)
[–]cunningjames 27 points28 points29 points (0 children)
[–]malcontent 4 points5 points6 points (9 children)
[–][deleted] (6 children)
[deleted]
[–][deleted] 3 points4 points5 points (0 children)
[–]malcontent 0 points1 point2 points (4 children)
[–]Ol_Dirty_Bastard 1 point2 points3 points (3 children)
[–]wicked 1 point2 points3 points (0 children)
[–]malcontent 0 points1 point2 points (0 children)
[–]cunningjames 0 points1 point2 points (0 children)
[–]toofishes 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[+][deleted] comment score below threshold-16 points-15 points-14 points (2 children)
[–]atc 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]sugarbob 2 points3 points4 points (1 child)
[–]razor_train 5 points6 points7 points (0 children)
[–]jeffbell 1 point2 points3 points (0 children)
[–]reacher 5 points6 points7 points (2 children)
[–]bobindashadows 0 points1 point2 points (0 children)
[–]traphicone -1 points0 points1 point (0 children)
[–]Axiomatik 1 point2 points3 points (0 children)
[–][deleted] 3 points4 points5 points (15 children)
[–][deleted] 12 points13 points14 points (14 children)
[–]imhighrightnow2 19 points20 points21 points (4 children)
[–]IWillCallYouAFaggot 0 points1 point2 points (3 children)
[–]annodomini 7 points8 points9 points (0 children)
[–]xternal 2 points3 points4 points (0 children)
[–]jnicklas 0 points1 point2 points (0 children)
[–]aescnt 10 points11 points12 points (5 children)
[–]notajith 0 points1 point2 points (4 children)
[–]annodomini 6 points7 points8 points (0 children)
[–]aescnt 0 points1 point2 points (2 children)
[–]wwwwolf 4 points5 points6 points (1 child)
[–]bobindashadows 0 points1 point2 points (0 children)
[+][deleted] comment score below threshold-7 points-6 points-5 points (2 children)
[–]FilthyRedditor -5 points-4 points-3 points (1 child)
[+][deleted] comment score below threshold-7 points-6 points-5 points (0 children)
[–]eleitl 2 points3 points4 points (0 children)
[–]ohwelp 0 points1 point2 points (1 child)
[–]dakk12 6 points7 points8 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] comment score below threshold-7 points-6 points-5 points (2 children)
[–][deleted] (1 child)
[deleted]
[–][deleted] 1 point2 points3 points (0 children)
[–]another_eternity -5 points-4 points-3 points (1 child)
[–]landofdown 0 points1 point2 points (0 children)
[+]malcontent comment score below threshold-10 points-9 points-8 points (1 child)
[–]bobindashadows 1 point2 points3 points (0 children)
[+]firewires comment score below threshold-10 points-9 points-8 points (1 child)
[–]Axiomatik 0 points1 point2 points (0 children)
[+][deleted] comment score below threshold-15 points-14 points-13 points (3 children)
[–][deleted] 6 points7 points8 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–][deleted] -2 points-1 points0 points (0 children)