I really likeD your blog, but sadly it isn’t readable anymore.
Why do you lock out some of your readers on purpose? (Not everybody uses a fancy GUI browser to read blogs)
why
said on
20 Apr 2007 at 10:23
I don’t know why I am doing this. I can’t explain it. I’m sorry.
zellyn
said on
20 Apr 2007 at 10:28
Right now, someone on the NetBeans team is busy adding OCR and handwriting recognition…
kjell
said on
20 Apr 2007 at 10:33
they call it: alt=””, be a pal and throw the characters in there.
sol
said on
20 Apr 2007 at 10:37
I like this one :)
Douglas F Shearer
said on
20 Apr 2007 at 10:38
Is .gemmirrorc a citizen in linux? No such thing on OS X :o(
abscond
said on
20 Apr 2007 at 10:41
I think…
#!/user/bin/env ruby
%w[ftools rubygems open-uri yaml].map(&method(:require))
config_file = File.join(Gem.user_home,'.gemmirrorrc')
YAML.load_file(config_file).each do |mir|
gems_dir = mir['to']+"/gems"
File.makedirs(gems_dir)
sourceindex = open(mir['from']+"/yaml"){|y| YAML.load(y)}
mir['only'].each do |name|
gem = sourceindex.find_name(name).last
gem_file = gem.full_name+'.gem'
unless File.exists?(gems_dir+"/"+gem_file)
puts "fetching:"+gem_file
begin
open(mir['from']+"/gems"+gem_file) do |g|
open(gems_dir+"/"+gem_file,"wb") do |out|
out.write(g.read)
end
end
rescue
puts $!
end
end
end
end
RyanTM
said on
20 Apr 2007 at 10:45
.gemmirrorc is some random yaml file that you write yourself. The interface for it is given in the code.It’s just some arbitrary file in your home dir.
Doug, I think it’s a YAML file you set up for the purposes of running this script.
andrew
said on
20 Apr 2007 at 11:03
seriously, _why. if you’re trying to be exclusionary, you’re succeeding.
evan
said on
20 Apr 2007 at 11:06
I like being excluded! Oh… to belong to a club that even I can’t belong to! The ultimate cool paradox.
Shazburg
said on
20 Apr 2007 at 11:09
I liked this exclusionary club back when it was indie.
Douglas F Shearer
said on
20 Apr 2007 at 11:42
Thanks RyanTM, abscond and d, got it now.
stouset
said on
20 Apr 2007 at 12:21
_why, I actually think posting code like this isn’t as insane as it seems on the surface. It forces people to re-type the code, which (in theory anyway) causes them to think about it as they write it. It’s more educational to type the code in and read what you’re writing than to see a neat snippet online, paste it, and be on your merry way.
It also helps that you don’t actually explain what the code does, and leave it up to those reading to figure it out.
Klondike
said on
20 Apr 2007 at 12:33
Is anybody else reminded of the dungeon map for the Level 4 of the original Legend of Zelda?
DrNic
said on
20 Apr 2007 at 12:36
This one was my favourite (visualisation-wise) so far.
More please.
Djur
said on
20 Apr 2007 at 12:51
stouset is right, I think. For what it’s worth, although most of the snippets _why posts are interesting, none of them are so vital that people are going to die a horrible death from being unable to cut and paste them.
boo
said on
20 Apr 2007 at 12:53
i cant even read this shit, how do i retype it?
Anlar
said on
20 Apr 2007 at 13:05
“It forces people to re-type the code, which (in theory anyway) causes them to think about it as they write it. “
No it does not. It forces people to focus on trying to interpret silly blinking and colorful text and trying to re-type it. It actually ruins the whole educational value.
Why: Your Ruby book is one of the best programming books ever written. It’s fun, light, and has content. You are a genious in many areas. But this.. Thing.. With text as images.. It absolutely ruins usability and if at least I see even one more of those I’ll remove your blog from my rss reader and never look back.
willcodeforfoo
said on
20 Apr 2007 at 13:09
I for one welcome our pixelated code overlords. But seriously, I think it’s neat how everyone races to be the first to type out the code and share. And it reminds me of typing out code in BYTE magazine. Kids are so lazy these days with their copying and their pasting.
chris
said on
20 Apr 2007 at 13:28
@willcodeforfoo: It’s not that I’m lazy. I simply can’t read it.
If I like the code I’ll try myself anyway…
_why: Could you at least link to a text version?
ct
said on
20 Apr 2007 at 13:52
FWIW hitting ESCape should stop the animation and make it somewhat more readable
Jargon
said on
20 Apr 2007 at 14:12
Handwritten and animated code is more fun to look at, end of discussion!
where
said on
20 Apr 2007 at 14:19
where why? where!? why!?
Djur
said on
20 Apr 2007 at 14:44
“But this.. Thing.. With text as images.. It absolutely ruins usability and if at least I see even one more of those I’ll remove your blog from my rss reader and never look back.”
Mao lives.
Djur
said on
20 Apr 2007 at 14:49
In addition! I’ve never seen a single one of these in which there wasn’t a transcription posted within a few hours.
Seriously, let _why have some damn fun. MSDN exists, you know. They have lots of text. And it’s all accessible. There’s no moral crime in making pretty pictures out of your code.
why
said on
20 Apr 2007 at 14:59
There’s no need to defend me, Djur. I’ll be okay. Almost every post I’ve ever made on this blog was met with some resistance.
chris
said on
20 Apr 2007 at 15:01
@djur: It’s not a crime. It is just hard to read for some of us. However, _why can post whatever he wants.
Djur
said on
20 Apr 2007 at 15:30
@chris: I wasn’t really talking to you. Hell, I’d like an alt tag too.
The thing is, there’s other content on RedHanded, and to give an ultimatum that part of that content must be removed immediately or else one will stop reading suggests that there’s something inherently offensive about that content. Like, it’s something I’d be inclined to say if eigenclass started having occasional posts demanding that the homeless be put in concentration camps, right? Something personally offensive.
I don’t see anything offensive with these code-art posts, and I find it kind of nasty and unfair to accuse _why of some perfidy to his readers in posting them.
Shazburg
said on
20 Apr 2007 at 16:10
nertzy
said on
20 Apr 2007 at 16:37
I thinks I see an ostrich!
diego
said on
20 Apr 2007 at 17:43
these posts cause scary flashbacks to the “blink” html command.
please, for the sake of all recovering pokemonists, no more!
cdcarter
said on
20 Apr 2007 at 19:28
I love the style! I hope to see more. I would personally love to see a OCR library or extension that will read this colored code, in colored code.
boo
said on
20 Apr 2007 at 22:03
the handwritten code was cool. this blinky thing… is painful. due to a misfeature of safari i can pause the animation by holding the scroll bar and if i get the first frame i can read it… but…. damn dude. shakes head
I think forcing people to rewrite code themselves is a very good idea, for they will understand it better…
And just a thing: don’t let superredcloth down… We need it completed! Just don’t take it as a toy, and be bored after a few days playing with it!
Thank you so much!
Chris G.
said on
21 Apr 2007 at 01:40
why doesnt the first person post the code in the comments rather than getting all worked up about someone else’s creative exertion?
why ask why why?
delmore
said on
21 Apr 2007 at 01:48
Anlar, that’s what the watching eye wants! cya!
JamesBean
said on
21 Apr 2007 at 01:54
_why is an artist. He doesn’t need your counter hits, your click-thrus, or your allegiance. He’s got everything he needs and he don’t look back. Follow, fly, or fade, my friends.
chris2
said on
21 Apr 2007 at 04:15
evan: mwahahaha.
That said, I prefer wget -np -r :-)
s
said on
21 Apr 2007 at 05:14
it’s official. why is hitting the crackpipe.
lucas
said on
21 Apr 2007 at 06:33
Haha, whiners, it’s perfectly readable and fairly OCR -able in the first frame.
I can see the billboard now: _why, raping accessibility since 19… Do friendly internet ghosts have birthdates?
and remeber kiddies, no one is forcing you to read or look at this blog.
Djur
said on
21 Apr 2007 at 10:22
_why, please don’t stop posting these. They’re great. Some people just won’t be happy until everyone’s in a suit—business or Mao.
secretsquirrel
said on
21 Apr 2007 at 10:44
I like it. Too many programmers just find what they’re too lazy to code on Google, then copy and paste code they find. None of them understand it.
frozendevil
said on
21 Apr 2007 at 10:48
I’m sorry, I’m compelled to do this.
why
said on
21 Apr 2007 at 11:22
evan, Armin: Pure delight. I love the photo responses.
rcorsaro
said on
21 Apr 2007 at 14:53
stop crying. someone always types the code out for everyone. this is a community. let _why express himself.
doki_pen
said on
21 Apr 2007 at 14:58
what really bothers me is that _why is using ftools instead of fileutils.
Peter Cooper
said on
21 Apr 2007 at 15:09
Armin: There was no point in including the Ruby Inside link in that post. It’s not a code example, it’s a /screenshot/ to give an impression. The actual code is on the page linked to ready to copy and paste.
dave glasser
said on
21 Apr 2007 at 15:10
me, I’m just happy to know that somebody noticed gem_mirror exists :)
i’m sure the RubyGems folks would be happy to take a patch to add the ‘only’ option to the tool (and do any of the other nice improvements your version has)
Brad Phelan
said on
22 Apr 2007 at 11:45
___-
_,_!_| _|,\_
_|.|_
__m_
|_n___
_|_lml_
| | . l |.l
__!w
m
_%_
from
http://ocr1.sc.isc.tohoku.ac.jp/e1/
ALTTAG
said on
22 Apr 2007 at 20:21
Armin Ronacher, its funny, because alt tags don’t appear in firefox, only title tags!
YOU LOSE !
toolmantim
said on
23 Apr 2007 at 00:32
the pythonistas and fear mongers are scared by the sheer sexiness and mystery of _why’s latest code postings. This is better than daytime television!
Armin Ronacher
said on
23 Apr 2007 at 06:23
ALTTAG : [ ] you know what the ALT tag is for… In order to enlighten you: The ALT tag is handled completely correct by firefox. It’s displayed if images are either disabled or missing or you’re browing that webpage with a webbrowser for handicapped persons. In that case the webbrowser reads the alt tag (not the title tag).
Regards,
Armin
tirins.play
said on
23 Apr 2007 at 06:27
why, I love the shinny shit code (Oh Sam…)
why not put the human-scrapable code in the images’ alt tag
presto, dual magic happens here
MenTaLguY
said on
23 Apr 2007 at 10:45
_why: OOC, how did you make this one specifically? I like the aesthetic a lot.
avie-|-error
said on
24 Apr 2007 at 11:20
I THINK YOU SHOULD DO EVERYTHING DIFFERENTLY . IF YOU RAN THIS BLGG LIKE A REAL PERSON MAYBE WE WOULD ALL SEE THE OCDE MUCH MORE CLEARLY
Keep the dream alive. I love your image-codes. I rarely copy them down, but it makes me read the code and forces me to understand it. It’s a great exercise that
I’d probably skip over if it were plaintext.
misuba
said on
26 Apr 2007 at 00:51
So… this mirrors a gem repository?
alternaut
said on
26 Apr 2007 at 06:55
There is no ALT tag.
but there is an alt=”” attribute.
danf
said on
26 Apr 2007 at 07:39
Screw them. I want even wierder more unreadable code images that blink. Let why be why!
Also, let this be a warning for next time: the first person who complains should transcribe the code in a comment instead.
Ryan
said on
26 Apr 2007 at 10:59
Exclusionary and wonderful. I wholehardedly endorse increasingly animated code.
chris
I really likeD your blog, but sadly it isn’t readable anymore. Why do you lock out some of your readers on purpose? (Not everybody uses a fancy GUI browser to read blogs)
why
I don’t know why I am doing this. I can’t explain it. I’m sorry.
zellyn
Right now, someone on the NetBeans team is busy adding OCR and handwriting recognition…
kjell
they call it: alt=””, be a pal and throw the characters in there.
sol
I like this one :)
Douglas F Shearer
Is .gemmirrorc a citizen in linux? No such thing on OS X :o(
abscond
I think…
RyanTM
.gemmirrorc is some random yaml file that you write yourself. The interface for it is given in the code.It’s just some arbitrary file in your home dir.
abscond
try googling gemmirrorrc
Douglas F Shearer
Seems very similar to this.
d
Doug, I think it’s a YAML file you set up for the purposes of running this script.
andrew
seriously, _why. if you’re trying to be exclusionary, you’re succeeding.
evan
I like being excluded! Oh… to belong to a club that even I can’t belong to! The ultimate cool paradox.
Shazburg
I liked this exclusionary club back when it was indie.
Douglas F Shearer
Thanks RyanTM, abscond and d, got it now.
stouset
_why, I actually think posting code like this isn’t as insane as it seems on the surface. It forces people to re-type the code, which (in theory anyway) causes them to think about it as they write it. It’s more educational to type the code in and read what you’re writing than to see a neat snippet online, paste it, and be on your merry way.
It also helps that you don’t actually explain what the code does, and leave it up to those reading to figure it out.
Klondike
Is anybody else reminded of the dungeon map for the Level 4 of the original Legend of Zelda?
DrNic
This one was my favourite (visualisation-wise) so far.
More please.
Djur
stouset is right, I think. For what it’s worth, although most of the snippets _why posts are interesting, none of them are so vital that people are going to die a horrible death from being unable to cut and paste them.
boo
i cant even read this shit, how do i retype it?
Anlar
“It forces people to re-type the code, which (in theory anyway) causes them to think about it as they write it. “
No it does not. It forces people to focus on trying to interpret silly blinking and colorful text and trying to re-type it. It actually ruins the whole educational value.
Why: Your Ruby book is one of the best programming books ever written. It’s fun, light, and has content. You are a genious in many areas. But this.. Thing.. With text as images.. It absolutely ruins usability and if at least I see even one more of those I’ll remove your blog from my rss reader and never look back.
willcodeforfoo
I for one welcome our pixelated code overlords. But seriously, I think it’s neat how everyone races to be the first to type out the code and share. And it reminds me of typing out code in BYTE magazine. Kids are so lazy these days with their copying and their pasting.
chris
@willcodeforfoo: It’s not that I’m lazy. I simply can’t read it. If I like the code I’ll try myself anyway…
_why: Could you at least link to a text version?
ct
FWIW hitting ESCape should stop the animation and make it somewhat more readable
Jargon
Handwritten and animated code is more fun to look at, end of discussion!
where
where why? where!? why!?
Djur
“But this.. Thing.. With text as images.. It absolutely ruins usability and if at least I see even one more of those I’ll remove your blog from my rss reader and never look back.”
Mao lives.
Djur
In addition! I’ve never seen a single one of these in which there wasn’t a transcription posted within a few hours.
Seriously, let _why have some damn fun. MSDN exists, you know. They have lots of text. And it’s all accessible. There’s no moral crime in making pretty pictures out of your code.
why
There’s no need to defend me, Djur. I’ll be okay. Almost every post I’ve ever made on this blog was met with some resistance.
chris
@djur: It’s not a crime. It is just hard to read for some of us. However, _why can post whatever he wants.
Djur
@chris: I wasn’t really talking to you. Hell, I’d like an alt tag too.
The thing is, there’s other content on RedHanded, and to give an ultimatum that part of that content must be removed immediately or else one will stop reading suggests that there’s something inherently offensive about that content. Like, it’s something I’d be inclined to say if eigenclass started having occasional posts demanding that the homeless be put in concentration camps, right? Something personally offensive.
I don’t see anything offensive with these code-art posts, and I find it kind of nasty and unfair to accuse _why of some perfidy to his readers in posting them.
Shazburg
nertzy
I thinks I see an ostrich!
diego
these posts cause scary flashbacks to the “blink” html command.
please, for the sake of all recovering pokemonists, no more!
cdcarter
I love the style! I hope to see more. I would personally love to see a OCR library or extension that will read this colored code, in colored code.
boo
the handwritten code was cool. this blinky thing… is painful. due to a misfeature of safari i can pause the animation by holding the scroll bar and if i get the first frame i can read it… but…. damn dude. shakes head
evan
tom
I think it’s his face fading in and out
Paragon
So this is what Ruby does to your brain.
Noh
Hey Why!
I think forcing people to rewrite code themselves is a very good idea, for they will understand it better…
And just a thing: don’t let superredcloth down… We need it completed! Just don’t take it as a toy, and be bored after a few days playing with it!
Thank you so much!
Chris G.
why doesnt the first person post the code in the comments rather than getting all worked up about someone else’s creative exertion?
why ask why why?
delmore
Anlar, that’s what the watching eye wants! cya!
JamesBean
_why is an artist. He doesn’t need your counter hits, your click-thrus, or your allegiance. He’s got everything he needs and he don’t look back. Follow, fly, or fade, my friends.
chris2
evan: mwahahaha.
That said, I prefer
wget -np -r:-)s
it’s official. why is hitting the crackpipe.
lucas
Haha, whiners, it’s perfectly readable and fairly OCR -able in the first frame.
I can see the billboard now: _why, raping accessibility since 19… Do friendly internet ghosts have birthdates?
Armin Ronacher
Stop it!
carl
and remeber kiddies, no one is forcing you to read or look at this blog.
Djur
_why, please don’t stop posting these. They’re great. Some people just won’t be happy until everyone’s in a suit—business or Mao.
secretsquirrel
I like it. Too many programmers just find what they’re too lazy to code on Google, then copy and paste code they find. None of them understand it.
frozendevil
I’m sorry, I’m compelled to do this.
why
evan, Armin: Pure delight. I love the photo responses.
rcorsaro
stop crying. someone always types the code out for everyone. this is a community. let _why express himself.
doki_pen
what really bothers me is that _why is using ftools instead of fileutils.
Peter Cooper
Armin: There was no point in including the Ruby Inside link in that post. It’s not a code example, it’s a /screenshot/ to give an impression. The actual code is on the page linked to ready to copy and paste.
dave glasser
me, I’m just happy to know that somebody noticed gem_mirror exists :)
i’m sure the RubyGems folks would be happy to take a patch to add the ‘only’ option to the tool (and do any of the other nice improvements your version has)
Brad Phelan
from
http://ocr1.sc.isc.tohoku.ac.jp/e1/
ALTTAG
Armin Ronacher, its funny, because alt tags don’t appear in firefox, only title tags!
YOU LOSE !
toolmantim
the pythonistas and fear mongers are scared by the sheer sexiness and mystery of _why’s latest code postings. This is better than daytime television!
Armin Ronacher
ALTTAG : [ ] you know what the ALT tag is for… In order to enlighten you: The ALT tag is handled completely correct by firefox. It’s displayed if images are either disabled or missing or you’re browing that webpage with a webbrowser for handicapped persons. In that case the webbrowser reads the alt tag (not the title tag).
Regards, Armin
tirins.play
why, I love the shinny shit code (Oh Sam…) why not put the human-scrapable code in the images’ alt tag
presto, dual magic happens here
MenTaLguY
_why: OOC, how did you make this one specifically? I like the aesthetic a lot.
avie-|-error
I THINK YOU SHOULD DO EVERYTHING DIFFERENTLY . IF YOU RAN THIS BLGG LIKE A REAL PERSON MAYBE WE WOULD ALL SEE THE OCDE MUCH MORE CLEARLY
netghost
I find this amusing, and I’m with MenTaLguY here.
ジョンジョイス
kenny
Keep the dream alive. I love your image-codes. I rarely copy them down, but it makes me read the code and forces me to understand it. It’s a great exercise that I’d probably skip over if it were plaintext.
misuba
So… this mirrors a gem repository?
alternaut
There is no ALT tag.
but there is an alt=”” attribute.
danf
Screw them. I want even wierder more unreadable code images that blink. Let why be why!
Also, let this be a warning for next time: the first person who complains should transcribe the code in a comment instead.
Ryan
Exclusionary and wonderful. I wholehardedly endorse increasingly animated code.