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
I don’t know why I am doing this. I can’t explain it. I’m sorry.
zellyn
said on
Right now, someone on the NetBeans team is busy adding OCR and handwriting recognition…
kjell
said on
they call it: alt=””, be a pal and throw the characters in there.
sol
said on
I like this one :)
Douglas F Shearer
said on
Is .gemmirrorc a citizen in linux? No such thing on OS X :o(
abscond
said on
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
.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
seriously, _why. if you’re trying to be exclusionary, you’re succeeding.
evan
said on
I like being excluded! Oh… to belong to a club that even I can’t belong to! The ultimate cool paradox.
Shazburg
said on
I liked this exclusionary club back when it was indie.
Douglas F Shearer
said on
Thanks RyanTM, abscond and d, got it now.
stouset
said on
_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
Is anybody else reminded of the dungeon map for the Level 4 of the original Legend of Zelda?
DrNic
said on
This one was my favourite (visualisation-wise) so far.
More please.
Djur
said on
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
i cant even read this shit, how do i retype it?
Anlar
said on
“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
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
@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
FWIW hitting ESCape should stop the animation and make it somewhat more readable
Jargon
said on
Handwritten and animated code is more fun to look at, end of discussion!
where
said on
where why? where!? why!?
Djur
said on
“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
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
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
@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
@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
nertzy
said on
I thinks I see an ostrich!
diego
said on
these posts cause scary flashbacks to the “blink” html command.
please, for the sake of all recovering pokemonists, no more!
cdcarter
said on
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
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
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
Anlar, that’s what the watching eye wants! cya!
JamesBean
said on
_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
evan: mwahahaha.
That said, I prefer wget -np -r :-)
s
said on
it’s official. why is hitting the crackpipe.
lucas
said on
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
_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
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
I’m sorry, I’m compelled to do this.
why
said on
evan, Armin: Pure delight. I love the photo responses.
rcorsaro
said on
stop crying. someone always types the code out for everyone. this is a community. let _why express himself.
doki_pen
said on
what really bothers me is that _why is using ftools instead of fileutils.
Peter Cooper
said on
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
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
___-
_,_!_| _|,\_
_|.|_
__m_
|_n___
_|_lml_
| | . l |.l
__!w
m
_%_
from
http://ocr1.sc.isc.tohoku.ac.jp/e1/
ALTTAG
said on
Armin Ronacher, its funny, because alt tags don’t appear in firefox, only title tags!
YOU LOSE !
toolmantim
said on
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
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
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
_why: OOC, how did you make this one specifically? I like the aesthetic a lot.
avie-|-error
said on
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
So… this mirrors a gem repository?
alternaut
said on
There is no ALT tag.
but there is an alt=”” attribute.
danf
said on
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
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.