fflush changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste > 3 lines of text on pastebin.com
<matti> theTrav: Exception might be thrown on stderr.
<theTrav> like, the exception is somehow bubbling up to the creating process
<theTrav> doesn't :err => :out redirect stderr to stdout?
<matti> theTrav: Not sure what spawn does, don't remember the API.
<theTrav> ok
<theTrav> maybe if I give it a new process group
<theTrav> no reason it has to be a child process
perryh is now known as perryh_away
<matti> theTrav: There is some insight in this thread https://github.com/sinatra/sinatra/issues/484
<theTrav> oh, I'm fairly certain it's not a sinatra issue
<theTrav> I reckon the same thing would happen if I just had a ruby script
<matti> No.
<theTrav> that tried to spawn a sub process
jarred has joined #ruby
<matti> Well, if you don't do anything with the ouput ;]
<matti> Then it will be on relevant fd.
<theTrav> fd, that's the file descriptor yeah?
<theTrav> I saw that mentioned in the docs
Stalkr_ has quit [Quit: Leaving...]
<matti> Yes ;]
yasushi has joined #ruby
moshee has quit [Ping timeout: 240 seconds]
<macer1> ehh the packets from protocol looks like: one byte ID and unknown/depends length of the packet
<jarred> Is there anything like NSNotificationCenter for Ruby?
moshee has joined #ruby
<macer1> and in one data receive event can be more than one packet...:/
<macer1> hmm
<macer1> also there can be a case when there is an ID but not enough data to read the packet
<matti> macer1: Usually your connection is a stream (TCP/IP case over Internet).
<macer1> yeah
<macer1> I know how that stuff works
<matti> :)
<macer1> I am trying to do correct...loops...for that
<macer1> while !eof try read packet
yasushi has quit [Ping timeout: 244 seconds]
<macer1> maybe less thinking and more testing :)
<matti> macer1: If this is a text / telnet based chat-alike protocol, then make add something at the end to mark end of the "data package".
<matti> macer1: Like . for SMTP, or something else ;]
jenrzzz has joined #ruby
<macer1> this is not my protocol :(
<matti> Oh, dear.
<macer1> it is game protocol
* matti sleepy
<matti> macer1: I see.
<macer1> matti: get some coffee :)
<matti> Its 1 am ;/
<matti> Sleep time soon.
<macer1> its 02:14 in Poland...
<theTrav> ok, so :err => :out I think redirected the child err to the parent out, before :out of the child was redirected to a file
<macer1> where are you?
<theTrav> I think it was an ordering thing
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
<matti> macer1: UK
<macer1> do you live there? :S
<matti> Yes.
<macer1> oh
<matti> :>
apeiros_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 245 seconds]
<macer1> how can I close EM connection from inside of class?
fbernier has joined #ruby
eikko has quit [Ping timeout: 244 seconds]
eikko has joined #ruby
pingfloyd has joined #ruby
pingfloyd has quit [Changing host]
pingfloyd has joined #ruby
burgestrand has quit [Quit: Leaving.]
chare has joined #ruby
pskosinski has quit [Remote host closed the connection]
tayy has joined #ruby
tayy has quit [Remote host closed the connection]
chadkeck has joined #ruby
burgestrand has joined #ruby
gavit has quit [Ping timeout: 246 seconds]
SegFaultAX has quit [Quit: Lost terminal]
pskosinski has joined #ruby
deryl has joined #ruby
ruby0101 has left #ruby [#ruby]
ruby0101 has joined #ruby
urbann has quit [Remote host closed the connection]
ken_barber1 has joined #ruby
tomsthumb_ has quit [Quit: Leaving.]
ken_barber has quit [Ping timeout: 268 seconds]
jarred has quit [Quit: jarred]
<macer1> eventmachine.rb:1511:in `klass_from_handler': true is not a class/module (TypeError)
<macer1> o.O
<macer1> I called it with self as a class
Russell^^ has quit [Quit: Russell^^]
<macer1> matti: any ideas to that maybe?
chson has quit [Remote host closed the connection]
<macer1> EventMachine.connect ip,port,self
burgestrand has quit [Quit: Leaving.]
RichieEvan has quit [Quit: RichieEvan]
vlad_starkov has quit [Remote host closed the connection]
RichieEvan has joined #ruby
pskosinski has quit [Remote host closed the connection]
GoGoGarrett has quit [Remote host closed the connection]
ibash has joined #ruby
ibash has quit [Client Quit]
timonv has joined #ruby
mrdodo has joined #ruby
mohits_ has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 245 seconds]
niklasb has quit [Ping timeout: 244 seconds]
mrdodo has quit [Ping timeout: 244 seconds]
khakimov has joined #ruby
<macer1> nvm fixed that
<macer1> anyway when I try to send packet with eventmachine it is..corrupted :<
<macer1> maybe some easy error...
<macer1> the server fails with bad packet id 39
<macer1> but the first byte I send is 2
<macer1> and this was working without EM
<macer1> ahh nevermind...fixed that :D
<macer1> is there a clenear way to shift a string than; str = str.bytes.to_a.shift.pack("C*")
<ryanf> shift as in destructively remove one character from the front?
fbernier has quit [Ping timeout: 246 seconds]
<ryanf> oh, yours isn't even destructive, actually. if you just want to return the first character, try str.chars.first
fungoat has joined #ruby
<macer1> em
<macer1> my string is a buffer
<macer1> so after reading I need to shift bytes from it
<macer1> I am doing it like @up
Progster has joined #ruby
BrianJ has quit [Quit: Computer has gone to sleep.]
theTrav has quit [Quit: Leaving.]
chrismcg is now known as zz_chrismcg
straind has joined #ruby
brianpWins has quit [Quit: brianpWins]
peterhellberg has joined #ruby
tomsthumb_ has joined #ruby
apeiros_ has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
flip_digits has joined #ruby
apeiros_ has quit [Ping timeout: 245 seconds]
peterhellberg has quit [Read error: Connection reset by peer]
tanob has joined #ruby
locriani has quit [Remote host closed the connection]
peterhellberg has joined #ruby
<tanob> I'm trying to use Net::HTTP with a SOCKS5 proxy connection created by SSH (option -D) but the requests are not working, anyone knows if Ruby Net::HTTP supports SOCKS5?
Spooner has joined #ruby
kyb3r has joined #ruby
<tanob> the whole problem is because I'm trying to run `bundler` through a proxy but it isn't working. The proxy is started using ssh -D and I set http_proxy...
<peterhellberg> Then you can probably use http://socksify.rubyforge.org/
<peterhellberg> (I have never had that particular problem myself, so YMMV)
<tanob> yep, I've just tried with a simple script but got the same problem, still trying to debug the internals
Tomasso has quit [Ping timeout: 244 seconds]
macer1 has quit [Changing host]
macer1 has joined #ruby
locriani has joined #ruby
locriani has joined #ruby
locriani has quit [Changing host]
t15229 has quit [Remote host closed the connection]
chadkeck has quit [Ping timeout: 245 seconds]
t49487 has joined #ruby
gh has quit [Quit: gh]
tanob has quit [Quit: leaving]
[diecast] has quit [Quit: Connection closed for inactivity]
arooni-mobile has joined #ruby
locriani has quit [Ping timeout: 240 seconds]
JonnieCache|home has quit [Ping timeout: 240 seconds]
JonnieCache|home has joined #ruby
mohits has joined #ruby
mohits has joined #ruby
mohits has quit [Changing host]
m104 has joined #ruby
kyb3r has quit [Remote host closed the connection]
kyb3r has joined #ruby
jenrzzz has joined #ruby
fungoat has quit [Quit: fungoat]
radic has quit [Ping timeout: 244 seconds]
TheLZA has joined #ruby
yakko has quit [Remote host closed the connection]
th3g33k has joined #ruby
mrdodo has joined #ruby
wvms has quit [Quit: wvms]
jenrzzz has quit [Ping timeout: 240 seconds]
kirun has quit [Quit: Client exiting]
junv has joined #ruby
junv has quit [Client Quit]
junv has joined #ruby
junv has quit [Client Quit]
pygmael has quit [Quit: pygmael]
radic has joined #ruby
enyo has quit [Ping timeout: 246 seconds]
banisterfiend` has quit [Remote host closed the connection]
enyo has joined #ruby
banisterfiend has joined #ruby
tomsthumb_ has quit [Read error: Connection reset by peer]
tomsthumb_ has joined #ruby
eridani has quit [Read error: Connection reset by peer]
eridani has joined #ruby
tuvcer has joined #ruby
banisterfiend has quit [Ping timeout: 246 seconds]
tuvcer has left #ruby [#ruby]
slycog has quit [Ping timeout: 244 seconds]
LouisGB has quit [Ping timeout: 244 seconds]
slycog has joined #ruby
jarred has joined #ruby
ruby0101 has quit []
th3g33k has quit [Quit: Leaving.]
tk_ has joined #ruby
mohits has quit [Ping timeout: 240 seconds]
<macer1> hm
<macer1> if I have like
<macer1> channel.pop {|m| p m}
<macer1> that thing debug the m
<macer1> but how to return the m from function..?
<macer1> be it function get_packet
verto is now known as verto|off
verto|off is now known as verto
sent-hil has joined #ruby
<sent-hil> This is odd, I'm using a gem directly from git repo in Gemfile, but I'm not able to find the gem with 'gem list'
ringotwo has joined #ruby
<sent-hil> Or in my specs...I did do bundle install and I can see it in the output it generates
mrdodo has quit [Remote host closed the connection]
mrdodo has joined #ruby
beakerman has quit [Remote host closed the connection]
flip_digits has quit [Quit: Computer has gone to sleep.]
<ryanf> sent-hil: you might be running your specs outside of bundler somehow?
<ryanf> but it definitely won't show up in gem list, because rubygems doesn't know about it
<sent-hil> ryanf: i don't use bundle exec, maybe that's why
<ryanf> sent-hil: is it rails?
emmanuelux has quit [Ping timeout: 245 seconds]
<sent-hil> ryanf: no, Goliath
<ryanf> that's probably why then
<ryanf> try with bundle exec
<chare> omg why the hell is ruby on rails so popular, the more i read about the ruby language...
<sent-hil> ryanf: thx!
Progster has quit [Ping timeout: 245 seconds]
Spooner has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
codezombie has quit [Quit: Leaving...]
companion has quit [Ping timeout: 245 seconds]
jasonLaster has joined #ruby
deryl has quit [Quit: Time To Go, Too Bad, So Sad!]
sent-hil has quit [Remote host closed the connection]
asteve has quit [Quit: Computer has gone to sleep.]
<macer1> ehh
<macer1> how to get value
<macer1> from eventmachine channel
<macer1> :|
<macer1> you can only read it with a block
<macer1> chan.pop {|value|}
<td123> wait, ruby on rails is popular?
strnx has quit [Excess Flood]
gokulnath has joined #ruby
strnx has joined #ruby
m104 has quit [Quit: Be back later]
t49487 has quit [Remote host closed the connection]
t40666 has joined #ruby
chimkan has joined #ruby
chimkan has quit [Client Quit]
mrdodo has quit [Remote host closed the connection]
perryh_away is now known as perryh
dpk has quit [Quit: Asleep at the keyboard.]
test has joined #ruby
test has left #ruby [#ruby]
<macer1> if I am in function
<macer1> and in block { }
<macer1> how to return function value from block ?
seanstickle has joined #ruby
verto is now known as verto|off
gokulnath has quit [Remote host closed the connection]
codezombie has joined #ruby
yakko has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Remote host closed the connection]
joephelius has quit [Ping timeout: 244 seconds]
fbernier has joined #ruby
<macer1> ehh
<macer1> :/
timonv has joined #ruby
khakimov has joined #ruby
gmci has quit [Quit: Computer has gone to sleep.]
gmci has joined #ruby
ringotwo has quit [Remote host closed the connection]
pfaff has quit [Read error: Connection reset by peer]
justinmcp has joined #ruby
td123 has quit [Ping timeout: 276 seconds]
Markvilla has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Markvilla has quit [Client Quit]
Bosma has quit [Ping timeout: 256 seconds]
<macer1> anyone?
<seanstickle> What
<macer1> I have function which executes block like
<macer1> channel.pop {|dowant| puts dowant}
<macer1> and I want function to return dowant
<macer1> :/
<macer1> channel.pop itself returns 1
tomsthumb_ has quit [Quit: Leaving.]
<seanstickle> Um, so rewrite the pop method?
<macer1> its not that easy
iamjarvo has joined #ruby
GMFlash has joined #ruby
<seanstickle> Well, you haven't detailed the constraints.
codezombie has quit [Quit: Leaving...]
<seanstickle> No psychics in this room right now.
<seanstickle> Later, maybe.
ananthakumaran has joined #ruby
liluo has joined #ruby
macer1 has quit [Changing host]
macer1 has joined #ruby
GMFlash has quit [Client Quit]
khakimov has quit [Quit: Computer has gone to sleep.]
d3vic3 has joined #ruby
ananthakumaran has quit [Ping timeout: 245 seconds]
ananthakumaran has joined #ruby
fbernier has quit [Ping timeout: 240 seconds]
joephelius has joined #ruby
cakehero has joined #ruby
banisterfiend has joined #ruby
m104 has joined #ruby
m104 has quit [Client Quit]
maletor has joined #ruby
macer1 has quit [Remote host closed the connection]
<chare> you are all pathetic losers?
theTrav has joined #ruby
rippa has joined #ruby
codezombie has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
justinmcp has quit [Remote host closed the connection]
maletor has quit [Client Quit]
<seanstickle> chare: apparently?
savage- has joined #ruby
<arubin> chare: We are all crying now. Thanks.
<chare> Go > Ruby
<chare> why do you use ruby arubin?
<arubin> To upset you.
<chare> arubin do you even know what go is
<seanstickle> The trolls are not as good as they used to be.
<seanstickle> They used to have some panache.
banisterfiend has quit [Remote host closed the connection]
<seanstickle> Now it's all simplified insults.
<arubin> chare: Sure.
t40666 has quit [Remote host closed the connection]
<chare> seanstickle: you afraid to admit that I'm right that Go is much better?
t12807 has joined #ruby
<arubin> chare: If he admits it, will you go away?
<seanstickle> chare: whatever answer pleases you most, so that you can leave and return to doing whatever it is you do.
<chare> yes
<chare> why is ruby on rails so complicated
<seanstickle> chare: then yes, I am terribly afraid of Go
<bperry> yeah, I wonder why twitter uses ruby on rails instead of Go
<chare> didn't twitter dump rails for scala?
<seanstickle> chare: nope
<arubin> chare: I have to give you credit for successfully pulling off this troll.
<seanstickle> chare: but that's what you get for reading headlines and not content
brianpWins has joined #ruby
<chare> so fill in the details for me seanstickle
<seanstickle> chare: you can't read?
<chare> yes
<seanstickle> chare: then do so
<bperry> Steve Jenson: We find Ruby and Scala are very complementary. We use Ruby, actually specifically Rails, for things that it is very strong at. All the front end stuff that it does very well.
<chare> ADHD
<seanstickle> chare: like I give a shit
<bperry> *whoops*
<chare> so how does twitter make revenue
<bperry> chare: so what were you saying about go?
<chare> bperry: you can read above
<bperry> I did
<bperry> :)
brianpWins has quit [Client Quit]
macmartine has joined #ruby
<chare> so I'm going for Rails front end, Go back end
<chare> what do you think of that
<oddmunds> does twitter sell twitter statistics?
<oddmunds> like trending topics and stuff?
jgrevich has quit [Quit: jgrevich]
<chare> so berry, you use Go ever?
<bperry> nope
<chare> so you still using shitty ruby?
<bperry> I use the right tool for the job
<chare> which is Go
<bperry> I do as much C# and Java as I do Ruby
<chare> wtf you use C# and Java over go????????
<seanstickle> I use a mix of Ruby, PHP, APL, and J
Araxia has quit [Quit: Araxia]
<seanstickle> and trace amount of Prolog
geggam_ has joined #ruby
<chare> never heard of J how does this compare to fortran
yakko_ has joined #ruby
Banistergalaxy has joined #ruby
<seanstickle> chare: fuckwits generally don't
<chare> you mad that everyone uses fortran?
<seanstickle> Don't we have an op here to take out the trash?
charliesome has joined #ruby
<bnagy> seanstickle: well stop talking to it, then
<seanstickle> bnagy: fair to say
yakko has quit [Ping timeout: 276 seconds]
<bnagy> but yeah I'm kind of bored, too - Banistergalaxy, ping
mrdodo has joined #ruby
sepp2k has quit [Remote host closed the connection]
iamjarvo has quit [Quit: WeeChat 0.3.8]
<chare> you guys use ruby with voltdb?
geggam has quit [Disconnected by services]
geggam has joined #ruby
Araxia has joined #ruby
<chare> you guys all went afk?
fris has joined #ruby
geggam has quit [Client Quit]
mrdodo has quit [Ping timeout: 276 seconds]
AndChat| has joined #ruby
geggam_ is now known as geggam
ananthakumaran has quit [Ping timeout: 268 seconds]
Banistergalaxy has quit [Ping timeout: 248 seconds]
ananthakumaran has joined #ruby
yakko_ has quit [Ping timeout: 276 seconds]
freeayu has joined #ruby
gmci has quit [Quit: Computer has gone to sleep.]
<chare> ok guys I'm bored.
<chare> i think we need a 2nd troll round
<RubyPanther> I vote to just get rid of the first one.
<chare> do i know you?
d3vic3 has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
<chare> RubyPanther: you use heroku?
mrdodo has joined #ruby
meskyanichi has quit [Quit: Linkinus - http://linkinus.com]
yakko has joined #ruby
freeayu has quit [Ping timeout: 260 seconds]
fixl has joined #ruby
<bnagy> merci
savage- has quit [Remote host closed the connection]
<banisterfiend> not 100% sure that worked, im not that familiar with IRC op commands
fris has left #ruby [#ruby]
zeromodulus has quit [Remote host closed the connection]
chare was kicked from #ruby by banisterfiend [chare]
freeayu has joined #ruby
inimino has joined #ruby
<inimino> About HEREDOC syntax, http://web.njit.edu/all_topics/Prog_Lang_Docs/html/ruby/syntax.html#string says: "If the - placed before the delimiter, then all leading whitespcae characters (tabs or spaces) are stripped from input lines and the line containing delimiter. This allows here-documents within scripts to be indented in a natural fashion."
<inimino> But that seems to be a lie, as leading whitespace within the HEREDOC is apparently not stripped.
t12807 has quit [Remote host closed the connection]
t65256 has joined #ruby
<heftig> inimino: then that site is wrong
<heftig> this one isn't
<inimino> OK, thanks.
freeayu has quit [Ping timeout: 256 seconds]
Eldariof-ru has joined #ruby
yaymukund has quit [Ping timeout: 240 seconds]
<banisterfiend> heftig: sup hefty
brianpWins has joined #ruby
<heftig> sup
<heftig> nada
zeromodulus has joined #ruby
<inimino> The '<<-' syntax in shells does strip leading whitespace, which seems more useful. C'est la vie.
larissa has joined #ruby
freeayu has joined #ruby
SCommette has joined #ruby
gmci has joined #ruby
ejholmes has quit [Remote host closed the connection]
drago757 has joined #ruby
resure has joined #ruby
jasonLaster has quit [Remote host closed the connection]
mneorr has joined #ruby
chare has joined #ruby
sailias has quit [Quit: Leaving.]
jarred has quit [Ping timeout: 276 seconds]
c0rn_ has joined #ruby
xclite has quit [Ping timeout: 260 seconds]
ananthakumaran has quit [Ping timeout: 265 seconds]
sent-hil has joined #ruby
jarred has joined #ruby
QKO has quit [Ping timeout: 240 seconds]
larissa has quit [Read error: Connection timed out]
QKO has joined #ruby
larissa has joined #ruby
mneorr has quit [Quit: Leaving.]
Eldariof59-ru has joined #ruby
larissa has quit [Ping timeout: 245 seconds]
Takehiro has joined #ruby
ananthakumaran has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
yakko has quit [Quit: No Ping reply in 180 seconds.]
SCommette has quit [Quit: SCommette]
maletor has joined #ruby
yakko has joined #ruby
Eldariof-ru has quit [Ping timeout: 246 seconds]
und3f has joined #ruby
timonv has quit [Remote host closed the connection]
kaneda_ has quit [Remote host closed the connection]
resure has quit [Remote host closed the connection]
<charliesome> banisterfiend: even though you banned chare, you still need to kick him for the ban to take effect
<bperry> heh
AndChat| has quit [Ping timeout: 248 seconds]
<banisterfiend> charliesome: the ban takes effect anyway, in that he cant talk
khakimov has joined #ruby
<charliesome> ah alright
<chare> no
<charliesome> lol
maletor has quit [Quit: Computer has gone to sleep.]
answer_42 has joined #ruby
<banisterfiend> hehe
<banisterfiend> well he seems to be behaving himself now anyway
<banisterfiend> chare: right? :)
<arubin> The ban was wrong anyways.
<chare> you trying to bait me i'm not falling for it
<banisterfiend> Probably
<charliesome> arubin: was it?
<arubin> Yes.
mahmoudimus has joined #ruby
<charliesome> explain
<arubin> +q is the preferrable solution on Freenode as well.
<chare> lets stop talking about me
<chare> and talk about postgresql vs mysql
<arubin> +b *!*50-47-92-@*
<bperry> RISC vs CISC
<arubin> That was the ban.
<arubin> The asterisks are wildcard characters.
<chare> there is no CISC, intel is RISC internally
<arubin> They are misplaced.
kaneda_ has joined #ruby
<arubin> chare is ~chare@50-47-92-111.evrt.wa.frontiernet.net
<chare> arubin shhhh why you gotta keep on that
locriani has joined #ruby
<arubin> That works.
<charliesome> arubin: oh i thought you meant that the ban was philosophically wrong
<arubin> heh
<arubin> No.
SCommette has joined #ruby
<arubin> He earned it earlier.
<arubin> And he clearly planned to troll more now.
mahmoudimus has quit [Client Quit]
macmartine has quit [Quit: Computer has gone to sleep.]
alextan has joined #ruby
<banisterfiend> He gets unbanned if he writes a rhyming poem about ruby
alextan has quit [Client Quit]
<charliesome> and why it's better than go
SCommette has quit [Client Quit]
<banisterfiend> hehe
<seanstickle> Rhyming?
<seanstickle> Come on, let him use free verse anyways
<seanstickle> free verse for the free node!
<arubin> I think that his poem should be valid Ruby code.
minijupe has quit [Quit: minijupe]
jorge_ has quit [Remote host closed the connection]
tech|away is now known as techsurvivor
techsurvivor is now known as tech|survivor
banisterfiend has joined #ruby
cirwin has joined #ruby
t65256 has quit [Remote host closed the connection]
t50041 has joined #ruby
minijupe has joined #ruby
<banisterfiend> this is his first attempt: <chare> A rare red ruby Falling slowly, tumbling From my hand To mingle,With the sand and the dust,Oh no ... Is it lost?Oh my ... What will be the cost?
pricees has joined #ruby
waxjar has quit [Quit: Computer has gone to sleep.]
<seanstickle> Rubies are not particularly rare. Fail.
<seanstickle> Do another.
<banisterfiend> he's workin' on it ;)
<seanstickle> Also, it should really be about the Ruby language
<seanstickle> Not the semiprecious gemstone
<moshee> I know chare from several places
<moshee> he got banned trolling #go-nuts the other day
<banisterfiend> moshee: so he's a serial troll?
<charliesome> moshee: let me guess, he was saying how good ruby is?
<moshee> I think he has mental issues, honestly
<moshee> um, he did say something to the effect of "SCREW GO, I'M GOING WITH RAILS"
<moshee> in all caps of course
<arubin> moshee: Probably just hormones.
<charliesome> funny - he said the exact opposite in here yesterday
<moshee> he then complained to me he got banned from #rubyonrails
drago757 has quit [Quit: drago757]
<seanstickle> Even trolls have the blues.
iamjarvo has joined #ruby
yakko has quit [Quit: No Ping reply in 180 seconds.]
yakko has joined #ruby
uris has quit [Quit: Lost terminal]
pskosinski has joined #ruby
Takehiro has quit [Remote host closed the connection]
iamjarvo has quit [Remote host closed the connection]
Takehiro has joined #ruby
mike4_ has quit [Quit: bbl]
charliesome has quit [Read error: Connection reset by peer]
pricees has left #ruby [#ruby]
<quazimodo> GUYS
<quazimodo> i cant find a decent ruby mode for emacs :(
<quazimodo> it doesnt work rigth :/
pricees has joined #ruby
paolooo has joined #ruby
shiki has quit [Remote host closed the connection]
<pricees> 0
charliesome has joined #ruby
pricees has left #ruby [#ruby]
cmyers has quit [Quit: Lost terminal]
gmci has quit [Quit: Computer has gone to sleep.]
pricees has joined #ruby
Takehiro has quit [Remote host closed the connection]
resure has joined #ruby
pricees has quit [Client Quit]
moshee has quit [Ping timeout: 244 seconds]
ahuman has quit [Remote host closed the connection]
moshee has joined #ruby
ahuman has joined #ruby
k_89 has quit [Ping timeout: 244 seconds]
k_89 has joined #ruby
andrewhl has quit [Remote host closed the connection]
resure has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 246 seconds]
timonv has joined #ruby
Banistergalaxy has joined #ruby
apeiros_ has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
<banisterfiend> <chare> Ruby i love blocks they do |every| every.thing().and() end Ruby if "you and i".split() "then #{self} alone" else ["we", "will"].join end
<banisterfiend> good enough?
resure has joined #ruby
drupin has left #ruby ["Leaving"]
igotnole_ has quit [Quit: Computer has gone to sleep.]
<arubin> You do realize that he is just going to troll again when you unban him, right?
apeiros_ has quit [Remote host closed the connection]
<arubin> But sure, give him another chance.
resure has quit [Remote host closed the connection]
pingfloyd has quit [Ping timeout: 268 seconds]
<chare> testing 1 2 3 a b c
pingfloyd has joined #ruby
<banisterfiend> chare: wb, poetic soul.
theTrav has quit [Ping timeout: 240 seconds]
<bnagy> banisterfiend: first one is plagiarized, btw
<chare> did github just copy the layout from the railstutorial because their site looks remarkably like whats shown in this rails tutorial
<chare> bnagy shhh
<banisterfiend> bnagy: what about the last one?
<bnagy> didn't check :)
<bnagy> http://www.authorsden.com/visit/viewPoetry.asp?id=192538 that is a HORRIBLE poem, omfg
iori has joined #ruby
apeiros_ has joined #ruby
jorge has joined #ruby
<ryanf> haha wow
<ryanf> yeah
<ryanf> One minute you here
<ryanf> The next your gone
apeiros_ has quit [Remote host closed the connection]
<ryanf> Who are you?
<ryanf> That we behold
<ryanf> Will we ever be told?
<ryanf> she has a great name though
Banistergalaxy has quit [Ping timeout: 246 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
<chare> ok i'm getting bored now
<chare> lets talk about CISC Vs RISC
theTrav has joined #ruby
theTrav has left #ruby [#ruby]
timonv has joined #ruby
perryh is now known as perryh_away
<chare> urge to troll rising
paolooo has quit [Quit: Page closed]
sent-hil has quit [Remote host closed the connection]
t50041 has quit [Remote host closed the connection]
t67582 has joined #ruby
daster has joined #ruby
<chare> why are you guys so boring?
daster has quit [Client Quit]
azm has joined #ruby
<banisterfiend> chare: if u keep saying stupid things im going to ban u again
jorge has quit [Ping timeout: 256 seconds]
<banisterfiend> chare: go annoy another channel, or better yet, get off the internet and go and play outside
fantazo_ has quit [Remote host closed the connection]
mrdodo has quit [Remote host closed the connection]
mrdodo has joined #ruby
gmci has joined #ruby
Takehiro has joined #ruby
yakko has quit [Remote host closed the connection]
d3vic3 has joined #ruby
mrdodo has quit [Ping timeout: 265 seconds]
<graspee> it's the ruby language channel, not a 24 hour party channel to amuse you
thomas is now known as llama
freeayu__ has joined #ruby
llama is now known as thomas
tomsthumb_ has joined #ruby
freeayu has quit [Ping timeout: 272 seconds]
fixl has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
eikko has quit [Quit: Forget progress by proxy. Land on your own moon.]
graspee has quit [Quit: leaving]
<Mon_Ouie> quazimodo: What about the built-in one?
freeayu__ has quit [Ping timeout: 260 seconds]
<Mon_Ouie> (Or rather, the one that comes with Emacs)
Banistergalaxy has joined #ruby
jgrevich has joined #ruby
thone_ has joined #ruby
Araxia has quit [Quit: Araxia]
freeayu has joined #ruby
Banistergalaxy has quit [Ping timeout: 246 seconds]
pskosinski has quit [Remote host closed the connection]
azm has quit [Read error: Operation timed out]
timonv has quit [Remote host closed the connection]
thone has quit [Ping timeout: 240 seconds]
savage- has joined #ruby
seanstickle has quit [Quit: seanstickle]
br4ndon has joined #ruby
pskosinski has joined #ruby
banisterfiend has quit [Remote host closed the connection]
k_89 has quit [Ping timeout: 248 seconds]
banisterfiend has joined #ruby
Jackneill has joined #ruby
Jackneill is now known as Guest32843
Banistergalaxy has joined #ruby
ewag has joined #ruby
banisterfiend has quit [Ping timeout: 265 seconds]
Jotade11 has joined #ruby
specialGuest has joined #ruby
carrythezero has joined #ruby
savage- has quit [Remote host closed the connection]
justinmcp has joined #ruby
dangerousdave has joined #ruby
banisterfiend has joined #ruby
[1]dtribble has joined #ruby
Banistergalaxy has quit [Ping timeout: 246 seconds]
dtribble has quit [Ping timeout: 246 seconds]
apeiros_ has joined #ruby
TheLZA has quit [Ping timeout: 244 seconds]
aces1up has quit [Remote host closed the connection]
aces1up has joined #ruby
apeiros_ has quit [Ping timeout: 272 seconds]
jorge has joined #ruby
burgestrand has joined #ruby
LouisGB has joined #ruby
specialGuest has quit [Ping timeout: 244 seconds]
LouisGB has quit [Client Quit]
gmci has quit [Quit: Computer has gone to sleep.]
Jotade11 has quit [Quit: Linkinus - http://linkinus.com]
LouisGB has joined #ruby
gmci has joined #ruby
tvw has joined #ruby
burgestrand has quit [Quit: Leaving.]
ph^ has joined #ruby
justinmcp has quit [Remote host closed the connection]
burgestrand has joined #ruby
primeras has joined #ruby
<primeras> Happy Ramadan Eid to Muslims friends.
azm has joined #ruby
<bnagy> nom nom nom nom
noyb has quit [Ping timeout: 246 seconds]
primeras has left #ruby ["Leaving"]
jorge has quit [Ping timeout: 265 seconds]
t67582 has quit [Remote host closed the connection]
t98085 has joined #ruby
fastred has joined #ruby
workmad3 has joined #ruby
qwerxy has joined #ruby
qwerxy has quit [Client Quit]
MarGarina has joined #ruby
<chare> no ops here
<chare> bnagy i can do anything i want now
resure has joined #ruby
<chare> and you can't stop me bnagy
k_89 has joined #ruby
<banisterfiend> chare: sup
resure has quit [Remote host closed the connection]
Guest32843 is now known as Jackneill
Jackneill has quit [Changing host]
Jackneill has joined #ruby
resure has joined #ruby
yasushi has joined #ruby
<chare> banisterfiend shouldn't you be asleep?
<banisterfiend> chare: at 8:50pm ?
<chare> wtf where do you live?
<banisterfiend> new zealand
<chare> omg you're not in usa
<banisterfiend> you?
<azm> heh i have 10.50 am
AnarchoTroll has joined #ruby
Takehiro has quit [Remote host closed the connection]
resure has quit [Remote host closed the connection]
<banisterfiend> azm: i'm on a sunday night :)
<chare> are you guys waiting for the iphone 5
<workmad3> chare: nope
<workmad3> (also it's 9:50 am here)
<chare> you guys don't like apple?
<azm> that patent troll you mena ?
<azm> *mean
c0rn_ has quit []
<chare> do you think the iphone is overrated by the apple branding effect
<workmad3> chare: no, I just don't particularly like the iphone
<chare> so you go with android jellybean?
d3vic3 has quit [Quit: leaving]
<AnarchoTroll> Does anyone here know why importing a library in this ruby C extension: https://github.com/vicentealencar/ruby-native-extension is failing?
timonv has joined #ruby
DanBoy has quit [Remote host closed the connection]
cirwin has quit [Ping timeout: 246 seconds]
moshee has quit [Ping timeout: 246 seconds]
moshee has joined #ruby
brdude has joined #ruby
<chare> so list of favorite phones?
<banisterfiend> chare: i like the samsung galaxy s2/s3
<banisterfiend> ill probably hold off getting a new phone until jellybean is more established though
<banisterfiend> but jellybean looks great
<chare> wtf i was expecting you guys to be apple fanboys
timonv has quit [Ping timeout: 252 seconds]
<banisterfiend> 1 or 2
<banisterfiend> not that many IME
<\13k> s3 is pretty good, just waiting for samsung's jellybeans (which is told to happen later this month or early september)
<workmad3> I upgraded to the htc one x recently... I'm pretty happy with it so far :)
<banisterfiend> galaxy > htc
<banisterfiend> :D
<banisterfiend> not sure on that actually, they're probably pretty much identical
<workmad3> banisterfiend: never found a samsung phone that feels particularly 'solid' tbh...
<bnagy> Nokia 1280 ftw
tvw has quit [Remote host closed the connection]
<chare> what happened to nokia
<chare> they got hammered
<chare> they use to be on top
<chare> now they are dying, what happened
<workmad3> chare: they practiced the only thing they were good at - destroying anyone and everyone that uses their stuff
<chare> ok translate that metaphor
<banisterfiend> workmad3: They're often made of plastic, so they're lighter..there's some vids online of people dropping galaxy s2 and iphone from different heights, and the s2 coming out with barely a scratch but the iphone shattered
<banisterfiend> probably due to its weight
<workmad3> chare: they started with symbian... and in that ecosystem they basically destroyed all their licensors by doing stupid stuff
<chare> such as...
<workmad3> chare: such as the company I used to work for
r126l has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
<workmad3> chare: which went bankrupt because nokia disrupted everything for a year with background negotiations to buy symbian followed by them really screwing up turning it open source by just fucking around for far too long
<workmad3> banisterfiend: that could be it... in contrast, I saw a video of someone hammering in nails with a one X yesterday ;)
<banisterfiend> hehe
<banisterfiend> workmad3: what android version are you running
<workmad3> banisterfiend: with the screen at that... showing off the gorilla glass
<workmad3> it's ice cream sandwich still, I believe, no jelly bean upgrade for the one x yet
<chare> wtf is this gorilla glass, i see youtube videos of people dropping ipads iphones android phones, they all crack the glass, the gorilla glass does shit
poga has joined #ruby
kapowaz has joined #ruby
<shevy> chare!
<shevy> come to ruby man
<chare> this is ruby...
<shevy> workmad3 I think nokia was destroyed because of their trojan horse CEO
<shevy> chare you like python more than ruby :(
<shevy> I am trying to take the useful tidbits from http://rush.heroku.com/
sdimkov has joined #ruby
haxrbyte has quit [Remote host closed the connection]
sdimkov has left #ruby [#ruby]
<chare> so you guys predicting that 2013 will be the year that android pulls way ahead of apple, or year that apple strikes back?
workmad3 has quit [Ping timeout: 245 seconds]
<azm> hello shevy !
<azm> are you that guy with lobster pet ?
gmci has quit [Quit: Computer has gone to sleep.]
<shevy> oh
<shevy> azm I thought you are chare
[1]dtribble has quit [Ping timeout: 252 seconds]
<shevy> but chare is that apple man
<chare> i have nothing of apple
<shevy> you mentioned apple just one sentence before!
<chare> doesn't mean i have an iphone
<shevy> apple without jobs is no longer the same apple
<chare> you sure its not just that the smart phone and tablet markets are going to get commoditized
<chare> and then apple can't justify the high margins
<shevy> cheap apple wouldn't be the apple everyone used to know
<azm> shevy, what distro are you using ?
<azm> I want to istall linux
<shevy> they'll sell overpriced gadgets until the end of days (3 years, then the missing jobs will kick in)
<shevy> azm gobolinux
<shevy> azm just kidding... but I install in a gobolinux scheme all the time, so I only compile from source
Takehiro has joined #ruby
<shevy> last distribution I tried was mageia
elaptics`away is now known as elaptics
<shevy> it was ok... nothing breathtaking
Takehiro has quit [Remote host closed the connection]
<azm> heh, that is actually neat
<azm> I wish all distros would be like that
<shevy> hmm
Takehiro has joined #ruby
<shevy> most distributions have a lot of inertia
<shevy> they are content to just provide certain things in a distribution-specific way, using [insert package manager here]
<azm> you could all just link it manyally
<azm> *manually
<azm> so what is your prefered distro ?
<azm> dont be mysterious shell0x
<azm> *shevy
<azm> x)
<azm> I bet its gentoo
<azm> or arch
<shevy> gobolinux without a doubt
<shevy> there is no cleaner distribution
<shevy> sadly it kinda died :(
<azm> how so ?
<shevy> students in brazil maintained it in the past. lateron, they had to work full time and thus no longer had the time to maintain it (and noone else really picked up)
AnarchoTroll has quit [Remote host closed the connection]
<shevy> they also used shell scripts to manage the distribution
<azm> what about BSD
<shevy> while the scripts were the cleanest shell scripts I ever saw, shell scripts simply just suck
<azm> im contemplating openbsd too
<shevy> I don't know
<shevy> I liked the idea of PC-BSD
<shevy> but it all feels too much as if it is just freebsd in the core, and a nicer layer put on top of it
<shevy> I don't really see any huge advantage freebsd has over linux
<azm> i really likde ubuntu till they put the gnome3 on it
<azm> its useless now for me
<azm> meh
<shevy> hehe
<shevy> gnome3 is strange
<shevy> I never found out how to use that new shell thing efficiently
<shevy> all actions suddenly seemed to require an additional mouse click
<azm> well no wonder when it feels like your stuck in prison
<shevy> yeah
Takehiro has quit [Remote host closed the connection]
jgrevich has quit [Quit: jgrevich]
qwerxy has joined #ruby
<azm> boils down to use xfce or kde
<shevy> xfce is nice
<shevy> KDE feels confused
<shevy> they killed dcop and replaced it with qtdbus or qdbus, forgot the name. but they did not offer the same functionality as is with it, I could not figure out how to use it compared to dcop
AnarchoTroll has joined #ruby
specialGuest has joined #ruby
<azm> yea
<azm> kde is too big
<azm> yet seems to be more finished
arturaz has joined #ruby
Takehiro has joined #ruby
<azm> xfce was kinda yoonger brother of gnome 2
<shevy> did you try the latest enlightenment?
<azm> never heard of
<shevy> using it confuses me (I use fluxbox most of the time, it's dead simple and does not confuse me), but it is really looking great
t98085 has quit [Remote host closed the connection]
resure has joined #ruby
Takehiro has quit [Remote host closed the connection]
t85586 has joined #ruby
<shevy> ruby question:
<shevy> Anyone knows how to query the latest gem version of a gem, without installing that gem?
wallerdev has quit [Quit: wallerdev]
<shevy> like I have kramdown-0.13.4.gem locally
Takehiro has joined #ruby
resure has quit [Ping timeout: 276 seconds]
justsee has joined #ruby
Criztian has joined #ruby
specialGuest has quit [Changing host]
specialGuest has joined #ruby
gavit has joined #ruby
Takehiro has quit [Remote host closed the connection]
wangr_ has quit [Read error: Connection reset by peer]
brdude has quit [Quit: brdude]
banisterfiend` has joined #ruby
mneorr has joined #ruby
banisterfiend has quit [Ping timeout: 272 seconds]
mneorr has quit [Client Quit]
ryanf has quit [Quit: leaving]
Stalkr_ has joined #ruby
qwerxy has quit [Quit: offski]
pingfloyd has quit [Quit: pingfloyd]
JarJar has left #ruby ["Leaving"]
DeeJayTwo has quit [Ping timeout: 248 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
pskosinski has quit [Ping timeout: 276 seconds]
qwerxy has joined #ruby
Asher has joined #ruby
Mathieu has quit [Remote host closed the connection]
yasushi has quit [Remote host closed the connection]
Foxandxss has joined #ruby
kyktommy has joined #ruby
Takehiro has joined #ruby
gmci has joined #ruby
kyktommy has quit [Read error: Connection reset by peer]
LouisGB has quit [Ping timeout: 245 seconds]
Spooner has joined #ruby
gtuckerkellogg has joined #ruby
kyktommy has joined #ruby
Banistergalaxy has joined #ruby
<shevy> how would you call dice?
<shevy> die / dice
<shevy> Dice.new(6)
<shevy> Die.new(6)
<shevy> hmm
<chare> who cares #bitcoin is where the action is
<oddmunds> shevy: Die
<shevy> oddmunds hmm ok
<bnagy> that's not very polite!
<shevy> :(
<Spooner> shevy Depends. If you only have #new(number_of_sides), then Die, but if you have (number_of_sides, number_of_dice=1), then Dice.
bluebie has joined #ruby
<oddmunds> Persons.new would be wrong
<banisterfiend`> Spooner: sup spoondiggitydogg
<shevy> Spooner, yeah hmm. it shall be a class that handles all sorts of die combination
<oddmunds> (on several levels,i guess the plural form of Person is actually People)
<shevy> assisting for pen and paper roleplay
kyktommy has quit [Quit: kyktommy]
<shevy> *dice combination? grrr plural
pskosinski has joined #ruby
<nobdraisentone> In `def to_json(type, *a)` what is the name and meaning of * operator?
<bluebie> hey guys :)
<shevy> nobdraisentone so you can pass as many arguments as you like to that method
<oddmunds> shevy: checked out dice_chucker?
<shevy> oddmunds, no what is this?
<nobdraisentone> shevy: how can I google it?
<oddmunds> what you're looking for
<shevy> nobdraisentone, the name is "splat operator"
<Spooner> If you want to make the API more RPG nomenclatured, then 1.d(4).roll :)
<shevy> oddmunds, ok
<oddmunds> :P
<nobdraisentone> shevy: thanks
gavit has quit [Read error: Connection timed out]
gavit has joined #ruby
<azm> game engine in uby
<azm> ruby
<azm> feasible ?
<Spooner> azm : Can you be more specific? "Game engine" covers a lot of possibilities.
macer1 has joined #ruby
macer1 has quit [Changing host]
macer1 has joined #ruby
<oddmunds> i'm making a roguelike engine in ruby
<oddmunds> very suitable
<Spooner> OH yes.
chare has quit [Quit: Leaving]
<azm> do you have some sample ?
<Spooner> Ruby is pretty fine for lightweight realtime 2D games too.
<azm> or screens..
<oddmunds> azm: it's a terminal game
<azm> oh
<banisterfiend`> oddmunds: using curses?
<banisterfiend`> GOODLUCK
<oddmunds> hehe
<Spooner> It still has something to see, oddmunds.
<azm> I thought like framework encopasing rendering, collision detection,physics..
<banisterfiend`> oddmunds: seriously using curses?
<oddmunds> banisterfiend`: it had a cool bug where it crashed if the user changed the size of his/her terminal
<Spooner> azm : Look at Gosu or Ray
<banisterfiend`> oddmunds: afaik no one has done anything in curses for ruby because the API is so horrible and buggy
<Spooner> Spooner: And for collisions, the Chipmunk gem.
<oddmunds> banisterfiend`: yeah, curses
<banisterfiend`> banisterfiend`: is Spooner talking to himself?
<azm> ok thanks Spooner
<banisterfiend`> banisterfiend`: Yeah, he's finally cracked.
<Spooner> azm : I've wasted a significant amount of time making that sort of game in Ruby :) Ask in #gosu if you want more info.
<banisterfiend`> oddmunds: k00
<macer1> hey, I am using eventmachine and I have method like this: https://github.com/eventmachine/eventmachine/blob/master/lib/em/channel.rb#L48
<macer1> the problem is, it only can call a block when new value is in channel
<macer1> I want it to return it not call it to block
t85586 has quit [Remote host closed the connection]
t88216 has joined #ruby
<Spooner> banisterfiend` : Meh ;(
<oddmunds> banisterfiend`: the wole game is super hacky, but it did(/does) work
<oddmunds> banisterfiend`: you're involved in gosu, aren't you?
<banisterfiend`> i wrote a library for it
<Spooner> oddmunds : Nah, he abandoned us a long time ago :P
<banisterfiend`> texplay thingy
<banisterfiend`> image manipulation
<banisterfiend`> still kind of works though :) afaik
<oddmunds> hehe
<macer1> I can't get it it to working usin ruby queue too :/
<Spooner> banisterfiend` : Still works, yes :)
timonv has joined #ruby
peterhellberg has quit [Remote host closed the connection]
<Spooner> oddmunds : Why not make a 8x8 blocky sprite roguealike in Gosu? I've never seen the appeal in being an '&' fighting off a horde of 'z's (even if I can't see a need for high-res or 3D graphics in games).
mneorr has joined #ruby
<oddmunds> Spooner: mostly because: Play over SSH
mohits has joined #ruby
mohits has joined #ruby
mohits has quit [Changing host]
<Spooner> Ah, well, I suppose it opens up being able to play online over ssh...yeah, missed that.
<oddmunds> and: it was a one-day project
<oddmunds> also: i think i want to shift my engine over to sprites
<oddmunds> because i want music too
<macer1> is it possible to save value while being in block {} and then return it from function?
<oddmunds> Spooner: i still prefer symbolc graphics over descriptive graphics for my roguelikes, though
<macer1> def get_packet; channel.pop {|packet| return_packet_somehow}; end
<macer1> the channel.pop itself returns "1"
<banisterfiend`> macer1: no one understand what u're talking about
<Spooner> macer1 : Yes, the last value in the block is returned to the yield/call, so "result_of_block = yield".
<bluebie> did any of you guys hang out in the why blog comments back in the day? I miss that
<macer1> banisterfiend`: :(
<macer1> scrool some up banisterfiend`
<banisterfiend`> (at least i dont:)
<macer1> I was talking about eventmachine
<macer1> and its channel
<macer1> Spooner: interesting, I will look :)
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
<shevy> bluebie that's like 5 years ago already man
<bluebie> it's not long enough to miss it?
<shevy> people have already forgotten about it
<bluebie> you've forgotten? :O
<oddmunds> it was before my time
locriani has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
<matti> macer1: ;-)
<matti> macer1: Did you sleep at all?
haxrbyte has joined #ruby
charliesome has quit [Ping timeout: 244 seconds]
mneorr has quit [Quit: Leaving.]
banisterfiend` has quit [Read error: Connection reset by peer]
haxrbyte_ has joined #ruby
banisterfiend has joined #ruby
Takehiro has quit [Remote host closed the connection]
<shevy> bluebie kinda. my brain focuses more on what is new
<bluebie> fair enough :)
mohits has quit [Read error: Connection reset by peer]
mohits_ has joined #ruby
<bluebie> from time to time I see friends from that little community doing amazing things and wonder if I'll find another online community like it
<bluebie> then I think I should make one!
<shevy> _why was creative
<bluebie> maybe I will :)
<bluebie> lots of people are creative around ruby
<bluebie> ruby is poems
Takehiro has joined #ruby
<shevy> yeah
<bluebie> why was a cartoon - I think that helped a bit
<bluebie> made all those blogs and things not about him - anyone could be why. Kinda empowering!
haxrbyte has quit [Ping timeout: 260 seconds]
Takehiro has quit [Remote host closed the connection]
<macer1> matti: yes
<matti> ;-)
<macer1> like from 5-6 AM
<macer1> also were to put this yield?
<matti> LOL
<macer1> "result_of_block = yield"
<macer1> yield needs block isn it?
<banisterfiend> macer1: Ya
<matti> Hi banisterfiend
Takehiro has joined #ruby
<macer1> so...
<banisterfiend> matti: hi ;]
Takehiro has quit [Read error: Connection reset by peer]
Takehiro_ has joined #ruby
<fowl> yield if block_given? and you.feels_like_it
<banisterfiend> fowl: fowlie!!!
<banisterfiend> fowl: sup dogg
<macer1> @channel.pop {|packet| packet}
<macer1> where yield fits in it :>?
<fowl> hey
<fowl> i just slept for 17 hours
<macer1> o.O
<matti> Haha
<matti> fowl: ;-)
_2easy has joined #ruby
<matti> fowl: Headache?
<banisterfiend> fowl: how come?were you sleep deprived before that?
<fowl> idk i layed down at noon and woke up at 5 am lol ._.
<fowl> laid >_>
<bnagy> did you have 4 whole marajuanas?
und3f has quit [Quit: Leaving.]
clocKwize has joined #ruby
clocKwize has quit [Client Quit]
<banisterfiend> fowl: watch this with me, it's a bit like primer apparently: http://stagevu.com/video/sezsckhwhcoo
<fowl> no way bro never take more than 3 whole marijuanas, more than that is living on the razors edge :o
<banisterfiend> "A man accidentally gets into a time machine and travels back in time nearly an hour. Finding himself will be the first of a series of disasters of unforeseeable consequences."
<fowl> cool i clicked on this button and it popped up in mplayer
<fowl> technology (:
<macer1> Spooner: how does it fit in the function?
<Spooner> macer1 : Yield is performed in channel.pop to send packet to the block. If that isn't your method, then yield has nothing to do with it.
mklappstuhl has joined #ruby
<macer1> yeah I was asking to
<macer1> made a function that waits for a packet and return it from block
kyb3r has quit []
<macer1> return the value, not call block with it
<macer1> like pop do
haxrbyte_ has quit [Ping timeout: 268 seconds]
<macer1> I can do it with setting globals but I don't think it is right way to do it
<Spooner> You need to be more specific what you are trying to do. Are you working on get_packet or channel.pop?
<macer1> Spooner: I am working on get_packet
<macer1> channek
<macer1> channel.pop is eventmachine method*
<Spooner> Oh, I see. I would suggest, without EM experience, that a simple channel.pop (without a block) will just return the result, without messing around with a block at all.
<macer1> nope
<macer1> that will be too easy :)
<macer1> it returns "1"
mneorr has joined #ruby
<Spooner> Ah, yes, because it doesn't return right away.
gmci has quit [Quit: Computer has gone to sleep.]
haxrbyte has joined #ruby
<macer1> yeah
<Spooner> So you can't return the value in next_packet. You are approaching it incorrectly.
<banisterfiend> fowl: watching, dogg?
QKO_ has joined #ruby
<macer1> it will wait for a packet
<fowl> banisterfiend: just started, im bout to go outside for a breath of 'fresh air' *WINK*
<macer1> def next_packet; @channel.pop {|packet| puts packet}; end
<macer1> function like that will wait
<macer1> and display the packet
<banisterfiend> fowl: good idea, i should probably do that too
dpk has joined #ruby
<fowl> macer1: you tried { |packet| yield packet }?
<macer1> packet = @channel.pop {|p| yield p} ?
<Spooner> Right, OK. What I think you want is: def next_packet; packet = nil; @channel.pop {|p| packet = p}; packet; end
<fowl> no nvm
emmanuelux has joined #ruby
QKO has quit [Ping timeout: 252 seconds]
<macer1> don't work
<macer1> returns nil
justsee has quit [Quit: Linkinus - http://linkinus.com]
<macer1> {} are isolated afaik
<Spooner> Well, if it works the way you say it does, then that would work. If it works the way I assumed it did, then no, that won't work :)
<Spooner> As I said, I've never used Eventmachine.
<macer1> hm
<fowl> eventmachine is something you should mention in the first few words
<macer1> fowl I mention
<macer1> scrool a little up :P
<fowl> ahhhhh ill take your word for it
banisterfiend has quit [Read error: Connection reset by peer]
<macer1> it executes the block in its class
<macer1> so setting packet = will not work...
<macer1> maybe @@globals...but that isn't perfect solution
<Spooner> No, it will work, but only if channel.pop is blocking.
<Spooner> @@ aren't globals.
banisterfiend has joined #ruby
<macer1> my life was a lie
<Spooner> macer1 : I advise asking in #eventmachine
Spooner has quit [Quit: Spooner]
Spooner has joined #ruby
<macer1> I asked in #eventmachine and waiting for reply, in the meantime I'll try to do it other way :P
<shevy> ack
<shevy> @@foo variables stink
<macer1> is it possible to get a reference to local object
<macer1> and use it with proc called somewhere
<macer1> (o.O)
qwerxy has quit [Quit: offski]
<shevy> depends on the scope
<macer1> I need variable to escape the block :>
banisterfiend has quit [Read error: Connection reset by peer]
companion has joined #ruby
banisterfiend has joined #ruby
<matti> macer1: ?
<macer1> def next_packet; @channel.pop {|packet| packet}; end
<macer1> packet need to escape to the function
<macer1> from the block
<matti> macer1: Why do
<matti> ...
<macer1> because I want a function returning next packet :|
<matti> ;-)
<matti> @channel.pop {|p| next_packet(p) }
<macer1> ??
<matti> If you need it to block, then use Queue.
<macer1> channel blocks
<macer1> or maybe not
<macer1> ...
<matti> In EM nothing should block, so to speak
<macer1> this will not block EM
<macer1> but client
<macer1> client waits for packet to response
<macer1> it will not response until it receives packet
yasushi has joined #ruby
<matti> There is EM::Queue that you can use.
<macer1> but it have same problem
<matti> macer1: Sure, sure.
<matti> macer1: I am not sure why do you want to do pop in next_packet ;-)
<macer1> what to do else to make it block
<macer1> until it receives a packet?
<matti> macer1: Look at some examples on EM github.
<macer1> they use channel.pop {} directly
<macer1> I can use it like that in client
dpk has quit [Quit: Asleep at the keyboard.]
<matti> macer1: And at Ilyia Grigoric github too
<macer1> igrigorik?
Russell^^ has joined #ruby
<matti> Yes.
<macer1> what is there?
<matti> ;-)
rohit has joined #ruby
mneorr1 has joined #ruby
<matti> He uses EM a lot so there are some patterns there
banisterfiend has quit [Read error: Connection reset by peer]
Progster has joined #ruby
<macer1> using ruby queue makes in `sleep': deadlock detected (fatal)
banisterfiend has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
<macer1> ehh
<macer1> that will not work
iamtakingiteasy has quit [Ping timeout: 245 seconds]
<macer1> I dont want to do at client like channel.pop {|packet| channel.pop {|nextpacket| do something } }
freeayu has quit [Quit: 离开]
banisterfiend has quit [Read error: Connection reset by peer]
quazimodo has quit [Remote host closed the connection]
<macer1> are there no other solutions?
justsee has joined #ruby
banisterfiend has joined #ruby
<macer1> hmmm...maybe I can do it without blocking :)
Progster has quit [Ping timeout: 260 seconds]
emmanuelux has quit [Ping timeout: 276 seconds]
rohit has quit [Ping timeout: 240 seconds]
yasushi has quit [Remote host closed the connection]
Eldariof27-ru has joined #ruby
emmanuelux has joined #ruby
Inoperable has joined #ruby
macer1 has quit [Remote host closed the connection]
Eldariof59-ru has quit [Ping timeout: 240 seconds]
rohit has joined #ruby
gmci has joined #ruby
carrythe1ero has joined #ruby
macer1 has joined #ruby
locriani has joined #ruby
carrythezero has quit [Ping timeout: 252 seconds]
nohonor has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
answer_42 has quit [Remote host closed the connection]
bluenemo has joined #ruby
bluenemo_ has joined #ruby
answer_42 has joined #ruby
bluenemo has quit [Read error: Connection reset by peer]
mike4_ has joined #ruby
niklasb has joined #ruby
locriani has quit [Ping timeout: 244 seconds]
gtuckerkellogg has joined #ruby
MiniJohn has joined #ruby
<MiniJohn> hey
<MiniJohn> anyone here /
<MiniJohn> ?
<Mon_Ouie> Tons of people
<MiniJohn> :)
<Mon_Ouie> Asking your actual question would be a better idea
<MiniJohn> first time
banisterfiend has quit [Read error: Connection reset by peer]
<MiniJohn> actualy
<MiniJohn> im here to hear about ruby
<MiniJohn> i just installed it
<MiniJohn> a complete newbie
<MiniJohn> how long do you programm with ruby ?
<Mon_Ouie> A few years
Jake232 has joined #ruby
jenrzzz has joined #ruby
<shevy> MiniJohn since 2005 I think
<MiniJohn> wow
<MiniJohn> do you prefer any other language over ruby ??
<MiniJohn> nice shevy
<MiniJohn> wow
<shevy> ruby is the best language
banisterfiend has joined #ruby
<shevy> it is however not the fastest language
<MiniJohn> ?
<MiniJohn> what do you mean
<shevy> the language C will always be much faster
<MiniJohn> aaa
<MiniJohn> yeah
<MiniJohn> hear that all the time
<MiniJohn> im launching a startup
<MiniJohn> and we are preparing the alpha version
andrewhl has joined #ruby
<MiniJohn> and all said ruby
<MiniJohn> but i have NO idea with ruby
<MiniJohn> so i sais le check it out
<MiniJohn> :)
<Mon_Ouie> Have you done any programming before?
<MiniJohn> yeah sure
<MiniJohn> but from a first look its a lot different from that what i was doing
<Mon_Ouie> In what language?
<shevy> ruby is very similar to perl python php
<shevy> it's just succint and terse
banisterfiend has quit [Read error: Connection reset by peer]
<MiniJohn> yeah heard about that
banisterfiend has joined #ruby
<MiniJohn> mon_ouie i usualy dont programm the platforms
<MiniJohn> i have a team
<MiniJohn> and i coordinate
<MiniJohn> i know html
<MiniJohn> css
<MiniJohn> jscript
<MiniJohn> but this is (for me) a lot different
mneorr1 has left #ruby [#ruby]
<Mon_Ouie> Of those, JavaScript is the only one I'd calling a programming language
<MiniJohn> im about to downlad a good IDE
<Mon_Ouie> call
<MiniJohn> what are you guys using ?
banisterfiend has quit [Read error: Connection reset by peer]
<MiniJohn> yeah i know, im focused on the frontend ;)
<shevy> you dont need an IDE
Criztian has quit [Remote host closed the connection]
<shevy> what editor do you use for javascript?
yasushi has joined #ruby
banisterfiend has joined #ruby
<Mon_Ouie> I'm using Emacs, others use Vim; other popular editors I've heard of include Textmate and Sublime Text
<MiniJohn> i just watched and introduction vid
<MiniJohn> and they where referring to those
<MiniJohn> vim textmate and sublime
<MiniJohn> for my front end design im using Adobe Dreamweaver
peterhellberg has joined #ruby
ph^ has quit [Remote host closed the connection]
<MiniJohn> i dont get it quite how to use files
<MiniJohn> create a new file
<MiniJohn> the basics things :P
<MiniJohn> if anybody is available for a quick talk
<MiniJohn> it would help me a alot :)
<Mon_Ouie> You should be following a tutorial for such things
<Mon_Ouie> http://pine.fm/LearnToProgram/ this, for example
Axsuul has quit [Ping timeout: 252 seconds]
<MiniJohn> i got thrugh the basics
<MiniJohn> with a video tutorial
<MiniJohn> and an interactive learn board
<MiniJohn> but somehow
banisterfiend has quit [Read error: Connection reset by peer]
<MiniJohn> they dont show this basic stuff
<MiniJohn> :/
companion has quit [Remote host closed the connection]
<Mon_Ouie> Well, if by "how to create a file" you mean a file of ruby code… you just open it in any editor
<Mon_Ouie> But that doesn't have anything to do with Ruby or programming itself
<MiniJohn> !
<MiniJohn> i keep getting the same error in my cmd
locriani has joined #ruby
locriani has quit [Changing host]
locriani has joined #ruby
<MiniJohn> install bundle
<MiniJohn> but i installed al lthe bundles
<MiniJohn> okay
<MiniJohn> fixed it
banisterfiend has joined #ruby
<shevy> MiniJohn no, work through http://pine.fm/LearnToProgram/ at least once on your own
<shevy> no video tutorials
<shevy> work through that
<MiniJohn> hmm ok
<MiniJohn> i will look it all through
mneorr has joined #ruby
<shevy> I don't believe you until you have done so :P
<shevy> are you here already http://pine.fm/LearnToProgram/?Chapter=01
<shevy> I'd wish there would be more chapters
<MiniJohn> :P
<MiniJohn> im on the site
<MiniJohn> :)
<MiniJohn> i will in detail read through all the chapters
<MiniJohn> i hope it will enlighten me more
rohit has quit [Quit: Leaving]
Takehiro_ has quit [Remote host closed the connection]
<MiniJohn> look at this
<MiniJohn> anything good in there ?
<Mon_Ouie> I can't give an informed opinion, I don't know anything about Rails — you can ask on #rubyonrails
QKO_ has quit [Ping timeout: 244 seconds]
<andrewhl> What method will tell me the parent class of an object?
QKO has joined #ruby
<fowl> superclass, newb
pabloh has joined #ruby
ar_ has joined #ruby
<andrewhl> fowl: thanks, but that doesn't work
Inoperable has quit [Quit: Rectified]
gmci has quit [Quit: Computer has gone to sleep.]
<banisterfiend> andrewhl: your question is kind of vague
<banisterfiend> andrewhl: but you probably wnat: object.class.superclass
timonv has quit [Remote host closed the connection]
<andrewhl> banisterfiend: thanks, exactly what I wanted. Apologies for vagueness.
jenrzzz has quit [Ping timeout: 256 seconds]
MiniJohn has left #ruby [#ruby]
jorge has joined #ruby
kidoz has joined #ruby
kingCrawlerx has joined #ruby
classix has quit [Quit: leaving]
paolooo has joined #ruby
cnf has quit [Ping timeout: 252 seconds]
classix has joined #ruby
locriani has quit [Remote host closed the connection]
jorge has quit [Ping timeout: 246 seconds]
kingCrawlerx has quit [*.net *.split]
gtuckerkellogg has quit [*.net *.split]
mohits_ has quit [*.net *.split]
Banistergalaxy has quit [*.net *.split]
tech|survivor has quit [*.net *.split]
_marvin has quit [*.net *.split]
aquaranto has quit [*.net *.split]
ged has quit [*.net *.split]
MrWGW has quit [*.net *.split]
idoru has quit [*.net *.split]
no_i_wont has quit [*.net *.split]
jellosea_ has quit [*.net *.split]
cespare has quit [*.net *.split]
moted has quit [*.net *.split]
klipeto has quit [*.net *.split]
pzol has quit [*.net *.split]
tcopp has quit [*.net *.split]
rlomax has quit [*.net *.split]
ksk has quit [*.net *.split]
arubin has quit [*.net *.split]
Veejay has quit [*.net *.split]
ekaleido has quit [*.net *.split]
RichGuk has quit [*.net *.split]
telling has quit [*.net *.split]
asuka has quit [*.net *.split]
faulkner has quit [*.net *.split]
Schmidt has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
JoeTheGuest has quit [*.net *.split]
mahlon has quit [*.net *.split]
jord has quit [*.net *.split]
tech|survivor has joined #ruby
s1n4 has quit [Quit: leaving]
aquaranto has joined #ruby
mneorr has quit [Quit: Leaving.]
pabloh has quit [Quit: Ex-Chat]
mneorr has joined #ruby
cnf has joined #ruby
Speed has joined #ruby
kingCrawlerx has joined #ruby
zz_chrismcg is now known as chrismcg
<macer1> ouch what a netsplit
timonv has joined #ruby
<macer1> my eventmachine/bindata combo is using all cpu(again). can someone who know eventmachine have a look at this?
<macer1> profiling says most used method is BinData::Base#new
gmci has joined #ruby
<macer1> matti: maybe you want to help..:P?
cnf has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
Takehiro has joined #ruby
cnf has joined #ruby
mneorr has quit [Quit: Leaving.]
seanstickle has joined #ruby
kingCrawlerx has quit [Quit: [kingCrawler release]]
Tomasso has joined #ruby
dpk has joined #ruby
EstanislaoStan has joined #ruby
yasushi has quit [Remote host closed the connection]
<EstanislaoStan> Is it bad form to define methods inside of a method and use them right after definition?
verto|off is now known as verto
<fowl> EstanislaoStan: that is what a lambda or proc is for
ged has joined #ruby
Banistergalaxy has joined #ruby
idoru has joined #ruby
mohits_ has joined #ruby
klipeto has joined #ruby
no_i_wont has joined #ruby
MrWGW has joined #ruby
gtuckerkellogg has joined #ruby
_marvin has joined #ruby
ksk has joined #ruby
tcopp has joined #ruby
moted has joined #ruby
arubin has joined #ruby
ekaleido has joined #ruby
RichGuk has joined #ruby
pzol has joined #ruby
rlomax has joined #ruby
Veejay has joined #ruby
cespare has joined #ruby
asuka has joined #ruby
telling has joined #ruby
RubyPanther has joined #ruby
JoeTheGuest has joined #ruby
jellosea_ has joined #ruby
jord has joined #ruby
mahlon has joined #ruby
faulkner has joined #ruby
Schmidt has joined #ruby
t88216 has quit [Remote host closed the connection]
t14845 has joined #ruby
aquaranto has quit [Changing host]
aquaranto has joined #ruby
ged is now known as Guest14440
<EstanislaoStan> How do you mean?
Morkel has joined #ruby
robustus has joined #ruby
deryl has joined #ruby
snearch has joined #ruby
gtuckerkellogg has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
yasushi has joined #ruby
mahmoudimus has joined #ruby
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
azm has quit [Ping timeout: 260 seconds]
mohits_ has quit [Read error: Connection reset by peer]
bluenemo_ has quit [Remote host closed the connection]
randym has joined #ruby
iori has quit [Remote host closed the connection]
Criztian has joined #ruby
tomsthumb_1 has joined #ruby
tomsthumb_ has quit [Ping timeout: 244 seconds]
verto is now known as verto|off
bluenemo has joined #ruby
gfontenot has joined #ruby
moeSeth has joined #ruby
robustus has quit [Quit: robustus]
ScottNYC has joined #ruby
workmad3 has joined #ruby
drago757 has joined #ruby
sebicas has joined #ruby
mohits_ has joined #ruby
dpk has quit [Quit: Asleep at the keyboard.]
gfontenot has quit []
fris has joined #ruby
tk_ has quit [Quit: ばいばい]
br4ndon has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
snearch has quit [Quit: Verlassend]
ScottNYC has quit [Quit: Linkinus - http://linkinus.com]
arooni-mobile has quit [Ping timeout: 246 seconds]
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
mohits_ has quit [Read error: Connection reset by peer]
mohits_ has joined #ruby
dpk has joined #ruby
Morkel has quit [Quit: Morkel]
<macer1> anyone here is using bindata? no? >.>
paolooo has quit [Quit: Page closed]
workmad3 has quit [Ping timeout: 272 seconds]
flip_digits has joined #ruby
arooni-mobile has joined #ruby
npg has joined #ruby
<npg> hello
emmanuelux has quit [Remote host closed the connection]
npg has left #ruby [#ruby]
dev_ryan70 has joined #ruby
dev_ryan70 has quit [Remote host closed the connection]
SCommette has joined #ruby
arooni-mobile has quit [Ping timeout: 276 seconds]
<macer1> I like people who say hi and go away
azm has joined #ruby
<seanstickle> No response in 2 minutes? Dead channel. Time to leave.
lolzie has joined #ruby
yasushi has quit [Remote host closed the connection]
sepp2k has joined #ruby
yasushi has joined #ruby
seanstickle has quit [Quit: seanstickle]
gavit has quit [Read error: Connection timed out]
kidoz has quit [Quit: Ухожу я от вас]
gavit has joined #ruby
<fris> what would cause this? /usr/local/lib/ruby/1.8/net/http.rb:586:in `connect': Resource temporarily unavailable - SSL_connect
<lolzie> Hi guys. When using RSpec, and I have an object I've just created (foo), how is foo given the should method?
<lolzie> Seeing as I haven't dynamically added that method myself, and can't see where it would
yasushi has quit [Ping timeout: 248 seconds]
<deryl> inclusion of rspec automatically wraps and adds that
<JonnieCache|home> rspec adds it to every object when you load it
<fowl> lolzie: it probably patches object
<JonnieCache|home> thats why you only load it in your test environment
<lolzie> fowl: of course! Cheers :)
lolzie has quit [Quit: Page closed]
<fowl> lol..
mohits has joined #ruby
choffstein has joined #ruby
centipedefarmer has joined #ruby
t14845 has quit [Remote host closed the connection]
t90414 has joined #ruby
mohits_ has quit [Ping timeout: 245 seconds]
k_89 has quit [Ping timeout: 276 seconds]
<sebicas> Can I write this in just one line?
<sebicas> if @chars[char]
<sebicas> @chars[char] = @chars[char] + 1
<sebicas> else
<sebicas> @chars[char] = 1
<sebicas> end
<deryl> if @chars[char] : @chars[char] = @chars[char] + 1 ? @chars[char] = 1 if i remember the shorthand right
<deryl> ahh i got the chars backwards. its ? first then :
BrianJ has joined #ruby
<bnagy> @chars[char]||=0; @chars[char]+=1
jmcphers has quit [Ping timeout: 248 seconds]
<bnagy> but you can't increment a char in ruby
<deryl> hehe nice
<sebicas> Thx bnagy, looks clean
v0n has joined #ruby
<JonnieCache|home> dont golf too hard though
<JonnieCache|home> we all get tempted
<bnagy> well mine is two lines
<bnagy> I'd write it as two lines IRL
<matti> macer1: I am out to have lunch ;-)
<deryl> bnagy: you'd have to char.to_i or something wouldn't you? (You could theoretically walk the alphabet using the ANSI code and incrementing by 1 could you not?)
<matti> macer1: But I am happy to help later :D
<macer1> matti: ok :p
<macer1> if you know some bindata, great
jmcphers has joined #ruby
<bnagy> deryl: yeah you could do a lot of stuff, but I don't know what the actual problem is :)
<matti> macer1: Ganbatte ne~
<deryl> bnagy: hehe me either, twas more of an aside (tangent)
<macer1> matti: ?
<macer1> stop talking japaneese to me >.>
ephemerian has joined #ruby
hero has joined #ruby
pskosinski has quit [Remote host closed the connection]
centipedefarmer has quit [Quit: Leaving]
<otters> sebicas: you could make @chars = Hash.new{|h,k| h[k] = 1 }
<otters> and then just do @chars[char] == 1
<otters> *+=
<otters> I guess you'd have to make the initial value 0 though
ephemerian has quit [Ping timeout: 240 seconds]
fearoffish has quit [Ping timeout: 240 seconds]
<sebicas> Thx otter, I will try it out
<sebicas> Thx otters, I will try it out
<Mon_Ouie> In that case you can also just do Hash.new 0
pskosinski has joined #ruby
bluenemo has quit [Remote host closed the connection]
choffstein has quit [Remote host closed the connection]
gavit has quit [Read error: Connection timed out]
emsilva has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
centipedefarmer has joined #ruby
gavit has joined #ruby
kaneda_ has quit [Ping timeout: 265 seconds]
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
pskosinski has quit [Remote host closed the connection]
Takehiro has quit [Read error: Connection reset by peer]
justsee has quit [Quit: Leaving...]
liluo has quit [Remote host closed the connection]
yasushi has joined #ruby
Morkel has joined #ruby
Takehiro has joined #ruby
Morkel has quit [Client Quit]
ephemerian has joined #ruby
Morkel has joined #ruby
pskosinski has joined #ruby
yasushi has quit [Remote host closed the connection]
dpk has quit [Quit: Asleep at the keyboard.]
choffstein has joined #ruby
imami|afk is now known as banseljaj
zeromodulus has quit [Read error: Connection reset by peer]
zeromodulus has joined #ruby
geggam has quit [Read error: Operation timed out]
qwerxy has joined #ruby
macer1 has quit [Read error: No route to host]
macer_ has joined #ruby
gavit has quit [Read error: Connection timed out]
gavit has joined #ruby
eikko has joined #ruby
qwerxy has quit [Client Quit]
macer__ has joined #ruby
ephemerian has quit [Ping timeout: 272 seconds]
jasonLaster has joined #ruby
Squarepy has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
pskosinski has quit [Remote host closed the connection]
wpaulson has joined #ruby
macmartine has joined #ruby
pskosinski has joined #ruby
krusty_ar has joined #ruby
geggam has joined #ruby
MarGarina has quit [Ping timeout: 245 seconds]
qwerxy has joined #ruby
havenn has joined #ruby
EstanislaoStan has quit [Ping timeout: 245 seconds]
fris has quit [Quit: .]
chimkan_ has joined #ruby
specialGuest has quit [Ping timeout: 244 seconds]
Squarepy has quit [Read error: Connection reset by peer]
centipedefarmer has quit [Quit: Leaving]
nohonor has quit [Quit: Leaving]
Squarepy has joined #ruby
shevy has quit [Ping timeout: 260 seconds]
Squee- has joined #ruby
<Squee-> Uhhh, i'm just learning and getting an error. :[ would somene care to help me?
dpk has joined #ruby
pskosinski has quit [Remote host closed the connection]
gavit has quit [Read error: Connection timed out]
<havenn> Squee-: What is the error?
gavit has joined #ruby
wpaulson_ has joined #ruby
<Squee-> test.rb:8: syntax error, unexpected kEND, expecting $end
wpaulson has quit [Read error: Connection reset by peer]
wpaulson_ is now known as wpaulson
<havenn> Squee-: Look for an extra "end" that doesn't belong.
<havenn> Squee-: (On line 8)
<Squee-> Woop, done.
robustus has joined #ruby
loans has joined #ruby
loans has left #ruby [#ruby]
macmartine has quit [Quit: Computer has gone to sleep.]
pskosinski has joined #ruby
ph^ has joined #ruby
shevy has joined #ruby
insecurlex has quit [Remote host closed the connection]
t90414 has quit [Remote host closed the connection]
t4699 has joined #ruby
mklappstuhl has quit [Ping timeout: 276 seconds]
robustus has quit [Quit: robustus]
macer_ is now known as macer1
macer1 has quit [Changing host]
macer1 has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
savage- has joined #ruby
pskosinski has quit [Remote host closed the connection]
Takehiro has quit [Remote host closed the connection]
ianbrandt has quit [Quit: ianbrandt]
pskosinski has joined #ruby
gavit has quit [Read error: Connection timed out]
sepp2k1 has joined #ruby
gavit has joined #ruby
apeiros_ has joined #ruby
ctp has joined #ruby
sepp2k has quit [Ping timeout: 276 seconds]
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
nikhgupta has joined #ruby
Squarepy has quit [Read error: Connection reset by peer]
robustus has joined #ruby
macmartine has joined #ruby
qwerxy has quit [Ping timeout: 240 seconds]
QKO_ has joined #ruby
Squarepy has joined #ruby
nikhgupta has left #ruby [#ruby]
mneorr has joined #ruby
manouche has quit [Ping timeout: 272 seconds]
banisterfiend has quit [Ping timeout: 246 seconds]
Squarepy has quit [Client Quit]
qwerxy has joined #ruby
QKO has quit [Ping timeout: 240 seconds]
arturaz has quit [Ping timeout: 245 seconds]
Eldariof-ru has joined #ruby
nikhgupta1 has joined #ruby
RudyValencia has joined #ruby
nikhgupta1 has quit [Client Quit]
Eldariof27-ru has quit [Ping timeout: 265 seconds]
jorge has joined #ruby
chimkan_ has quit [Quit: chimkan_]
jellosea has joined #ruby
robustus has quit [Quit: robustus]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
jellosea_ has quit [Ping timeout: 240 seconds]
mohits has quit [Ping timeout: 245 seconds]
mneorr has quit [Quit: Leaving.]
qwerxy has quit [Quit: offski]
arturaz has joined #ruby
bier has quit [Ping timeout: 245 seconds]
Takehiro has joined #ruby
wpaulson has joined #ruby
BrianJ has quit [Ping timeout: 260 seconds]
macmartine has quit [Quit: Computer has gone to sleep.]
qwerxy has joined #ruby
savage- has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
bier has joined #ruby
c0rn_ has joined #ruby
dtribble has joined #ruby
DeeJayTwo has joined #ruby
macer__ has quit [Read error: No route to host]
macer_ has joined #ruby
macer__ has joined #ruby
macer1 has quit [Read error: No route to host]
FlowState has joined #ruby
kyktommy has joined #ruby
gavit has quit [Read error: Connection timed out]
GoGoGarrett has joined #ruby
gavit has joined #ruby
ph^ has quit [Ping timeout: 272 seconds]
Russell^^ has quit [Quit: Russell^^]
Goles has quit [Quit: Computer has gone to sleep.]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
gfontenot has joined #ruby
td123 has joined #ruby
sr___ has joined #ruby
<sr___> hello
qwerxy has quit [Ping timeout: 240 seconds]
bluenemo has quit [Remote host closed the connection]
pskosinski has quit [Read error: Connection reset by peer]
v0n has quit [Ping timeout: 248 seconds]
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has quit [Remote host closed the connection]
krusty_ar has quit [Read error: Connection reset by peer]
wpaulson has joined #ruby
laen_ has quit [Ping timeout: 252 seconds]
Stalkr_ has quit [Read error: Connection reset by peer]
Stalkr_ has joined #ruby
kyktommy has quit [Quit: kyktommy]
krusty_ar has joined #ruby
pskosinski has joined #ruby
verto|off is now known as verto
gavit has quit [Read error: Connection timed out]
FlowState has quit [Changing host]
FlowState has joined #ruby
gavit has joined #ruby
<Squee-> ?
<Squee-> ? ??
<Squee-> ugh, misschan..
laen_ has joined #ruby
seanstickle has joined #ruby
xorox90 has joined #ruby
qwerxy has joined #ruby
FlowState has quit [Quit: Ex-Chat]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
v0n has joined #ruby
FlowState has joined #ruby
FlowState has joined #ruby
FlowState has quit [Changing host]
rizzy has joined #ruby
qwerxy has quit [Quit: offski]
radge has joined #ruby
Jake232 has quit [Quit: Computer has gone to sleep.]
linoj has joined #ruby
Niamkik has joined #ruby
td123 has quit [Quit: WeeChat 0.3.8]
c0rn_ has quit []
n1x has joined #ruby
ph^ has joined #ruby
ph^ has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 265 seconds]
ph^ has joined #ruby
gavit has quit [Read error: Connection timed out]
ph^ has quit [Remote host closed the connection]
gavit has joined #ruby
ph^ has joined #ruby
jgrevich has joined #ruby
macmartine has joined #ruby
drago757 has quit [Quit: drago757]
ph^ has quit [Remote host closed the connection]
atmosx has joined #ruby
ph^ has joined #ruby
ph^ has quit [Remote host closed the connection]
Araxia has joined #ruby
Squee- has quit [Ping timeout: 245 seconds]
Eldariof59-ru has joined #ruby
ringotwo has joined #ruby
azm has quit [Ping timeout: 240 seconds]
c0rn_ has joined #ruby
Clooth has left #ruby [#ruby]
eikko has quit [Ping timeout: 240 seconds]
Eldariof-ru has quit [Ping timeout: 272 seconds]
recycle has joined #ruby
t4699 has quit [Remote host closed the connection]
khakimov has joined #ruby
t83971 has joined #ruby
Spooner has quit [Ping timeout: 276 seconds]
ken_barber1 has quit [Read error: Operation timed out]
Squee- has joined #ruby
drago757 has joined #ruby
Tobsn has quit [Ping timeout: 246 seconds]
v0n has quit [Ping timeout: 245 seconds]
Morkel has quit [Quit: Morkel]
gavit has quit [Read error: Connection timed out]
ken_barber has joined #ruby
mklappstuhl has joined #ruby
gavit has joined #ruby
CodeFriar has joined #ruby
Tobsn has joined #ruby
tomsthumb_1 has quit [Quit: Leaving.]
tomsthumb_ has joined #ruby
ruby-code has joined #ruby
<ruby-code> hello
<matti> Hello
<ruby-code> salut
n1x has quit [Quit: Ex-Chat]
<ruby-code> may I have ur privat matti ?
fantazo has joined #ruby
n1x has joined #ruby
<matti> No.
<matti> Ask here.
<ruby-code> I am looking for a tool to decrypt an .rbs file
<shevy> what the hell is .rbs
<ruby-code> a scrambled .rb file
timonv has quit [Remote host closed the connection]
<seanstickle> ?
<seanstickle> Really?
<ruby-code> crypted
<ruby-code> yes
<fowl> the tool costs $45.50
keyvan has quit [Excess Flood]
<ruby-code> fowl: URL ?
<fowl> head down to the docks, ask around
Squee- has quit [Quit: This computer has gone to sleep]
atmosx has quit [Ping timeout: 244 seconds]
<JonnieCache|home> lol
<fowl> it'll be on sale inside a warehouse
<matti> fowl: LOL
<shevy> ruby-code why does anyone want to "scramble" a .rb file
<JonnieCache|home> more to the point why would you pay for it? or was that a joke
<seanstickle> First I've heard of this "scrambled" ruby stuff
<ruby-code> to hide the code shevy
<seanstickle> Link?
<ruby-code> link for what ?
BrianJ has joined #ruby
<shevy> hide code from scripting language?
<seanstickle> To some explanation of what RBS is
<seanstickle> All I find is SketchUp stuff
<ruby-code> ask google seanstickle
keyvan has joined #ruby
<shevy> I think he is making this up
<seanstickle> ruby-code: hey dipshit, you're the one asking for help here
Kwpolska has joined #ruby
<seanstickle> You want to fuck around, be my guest, but take it to another channel
<ruby-code> well some sketchup plugins are in .rb format
<shevy> sketchup uses ruby
<ruby-code> and some otheres are in .rbs format
<shevy> an outdated version as well
linoj has quit [Quit: linoj]
<apeiros_> seanstickle: please refrain from insulting
tommyvyo has joined #ruby
rippa has joined #ruby
<shevy> ruby-code, let's teach you ruby
<seanstickle> apeiros_: Apologies. Trolls make me angry.
<ruby-code> no it will take forever to teach me
<ruby-code> I want a fast solution
<shevy> !!!
<apeiros_> seanstickle: accepted. and I know. and I certainly understand :)
<shevy> there is no shortcut for knowledge
tomsthumb_ has quit [Quit: Leaving.]
<apeiros_> ruby-code: given that you have an encrypted file
<ruby-code> will u teach me how to edit .rbs files?
<apeiros_> and given that somebody relies on it being encrypted
<apeiros_> it sounds to me like you want assistance to something that comes close, or even is, stealing
Kwpolska is now known as Kwpolska|vacatio
<shevy> ruby-code ruby uses .rb files
<apeiros_> ruby-code: and I'd suggest you do not ask for that in this channel. thank you.
fumduq has quit [Ping timeout: 252 seconds]
<ruby-code> apeiros_: r u sure? that I want to steal stuff ?
<apeiros_> ruby-code: don't mess with me.
<shevy> seanstickle they kinda manage to increase the channel's activity :D
<apeiros_> if you want the code in plain text, ask the author
<seanstickle> shevy: true.
jblack has quit [Ping timeout: 244 seconds]
<seanstickle> shevy: like some sort of infection that triggers the leucocytes to activity
<ruby-code> apeiros_: I'll tell u something
<shevy> seanstickle hahaha yeah
<Mon_Ouie> (Random grammar question: shouldn't it be "I'd suggest you not ask" — or however the subjunctive is used?)
<ruby-code> anyway forget
<shevy> Mon_Ouie, I would add a "to" into that sentence, but I am not a native english speaker
<ruby-code> I have no bad intentions as apeiros_ thinks
<JonnieCache|home> Mon_Ouie: "I'd suggest that you do not ask" if you add "that" it works
liluo has joined #ruby
<seanstickle> Subjuctive and optative in English is notoriously obscure.
<JonnieCache|home> or "i'd suggest you don't ask" but that inelegant
<JonnieCache|home> thats*
<JonnieCache|home> heh
<seanstickle> This is why we should all use Lojban
banseljaj is now known as imami|afk
<seanstickle> :D
<apeiros_> +1
<fowl> no more grammar questions allowed in here
wlaurance has joined #ruby
<ruby-code> I thnik that I'm in a helpless channel
wlaurance has quit [Quit: leaving]
<Mon_Ouie> What about Ruby grammar?
<fowl> we must only speak of The Ruby, and the Matz
<fowl> of course
<shevy> ruby-code the channel uses .rb files
Squee- has joined #ruby
jasonLaster has quit [Remote host closed the connection]
<ruby-code> .rbs is a crpyted .rb
<fowl> ruby-code: try #ruby-lang they have all the leet cracking tools
<ruby-code> thanks fowl and I remind u I am not trying to crack
jasonLaster has joined #ruby
CodeFriar has quit [Quit: Leaving...]
<JonnieCache|home> either give us more info on how its been encrypted or whatever
<JonnieCache|home> or work it out for yourself
krusty_ar has quit [Remote host closed the connection]
workmad3 has joined #ruby
gavit has quit [Read error: Connection timed out]
CodeFriar has joined #ruby
<shevy> ruby-code this is like an urban legend
<ruby-code> shevy: believe it or not
<ruby-code> it's up to u to believe or not
gavit has joined #ruby
<JonnieCache|home> googled it, there is some kind of scrambler that comes with the sdk apparently
<ruby-code> the file belongs to me and it was crypted remotely
<ruby-code> by someone
<ruby-code> and I lost the original .rb file
flip_digits has quit [Quit: Computer has gone to sleep.]
<matti> Mon_Ouie: "I would recommend you refrain from asking."
<ruby-code> he crypted it by mistake
wallerdev has joined #ruby
<JonnieCache|home> ah so you in other words contracted someone and you didnt want to pay them enough for the source code and you want us to help you screw a fellow freelancer
<JonnieCache|home> sorry mate but i dont think youll get much sympathy from this crowd
<ruby-code> JonnieCache|home: me?
Bosma has joined #ruby
igotnolegs has joined #ruby
jasonLaster has quit [Ping timeout: 260 seconds]
<matti> ruby-code: The thing is, that without proper dissection there is no way on this channel to know, how it was encrypted, and with what.
<matti> ruby-code: And if the encryption is sufficiently strong, trying to came up with a pass-phrase might be a wishful thinking.
<ruby-code> but I have heard that OLLY can do the job
<ruby-code> but I don't know how to
<matti> ruby-code: Your question is along the lines of "how to cure cancer with enough cabbage".
<ruby-code> so rbs is irreversible ?
<matti> ruby-code: People here are trying to tell you, that we have no idea what this particular .rbs is.
<shevy> he has no time anyway
dpk has quit [Quit: Asleep at the keyboard.]
<matti> ruby-code: A file extension does not convey its contents in modern days.
<Mon_Ouie> If it were completely irreversible, it could not be executed; that doesn't mean you can easily guess how to execute it
<shevy> all files ending in .sexy are good looking files
<matti> ruby-code: Unless we talk about something from DOS 6.22
<Mon_Ouie> matti: You speak a language with funny characters I can't read so I trust you.
<shevy> haha
<apeiros_> it's pretty much possible that a part of it (obfuscation) is irreversible
<matti> Mon_Ouie: What? :)
<ruby-code> ok understand
<matti> ruby-code: We are not upset with you, or anything.
<matti> ruby-code: It is just hard to get the idea about this file.
<matti> ruby-code: Put it somewhere for us to see.
specialGuest has joined #ruby
<ruby-code> matti: it's a little script for google sketchup writing originaly in ruby
choffstein has quit [Remote host closed the connection]
<matti> Mon_Ouie: That is how I would put the sentence forward, to make it nice and polite.
<ruby-code> sorry for my eng
<matti> ruby-code: That's fine.
<matti> ruby-code: Run file on it, or libextract etc.
<matti> ruby-code: Get a hex-editor and have a look at few bytes from the begining / header.
<matti> ruby-code: Or, contact person who encrypted it and ask for help (not sure).
<matti> :>
ar_ has quit [Quit: Leaving]
<ruby-code> (not sure) u r still thinking I am trying to crack lol
<ruby-code> anyway
<ruby-code> thanks for ur help
<ruby-code> the file was encrypted automaticaly with a cronjob process
<matti> ruby-code: I have no opinion on what do you want to do with it ;]
<ruby-code> and the *rb file was deleted
<ruby-code> automaticaly from the server
<matti> Can you execute the code?
<matti> Load it?
workmad3 has quit [Ping timeout: 265 seconds]
<ruby-code> inside sketchup
<ruby-code> tes
<ruby-code> yes
<shevy> there you go!
<matti> Then attach gdb to sketchup and look it up.
<shevy> you can sniff into it
specialGuest has quit [Ping timeout: 244 seconds]
<matti> shevy: You have to drag answers from people nowadays ;p
`brendan has joined #ruby
<matti> shevy: I feel like a detective ;p
<shevy> yeah
<ruby-code> heh
<matti> :)
<ruby-code> thanks anyway
<ruby-code> I'll try
<ruby-code> I have to go now
<ruby-code> maybe see u later
<matti> ruby-code: You could get it to execute and get memory dump with gdb.
<matti> ruby-code: Stack trace, etc.
wallerdev has quit [Quit: wallerdev]
ken_barber has quit [Remote host closed the connection]
c0rn_ has quit []
<matti> ruby-code: Maybe even attach Ruby debugger?
<shevy> from now on you shall be known as detective matti
ruby-code has quit [Quit: Page closed]
zeromodulus has quit [Read error: Connection reset by peer]
<shevy> "Matrix V - detective matti under fire"
zeromodulus has joined #ruby
<shevy> "Matrix VI - solving the mystery of detective matti's death"
<matti> I bet my pants that this was borederline troll.
elaptics is now known as elaptics`away
<shevy> I think he was just lazy
<matti> Yeah.
<shevy> no time to learn ruby, no time to hang out either
<matti> ;D
elaptics`away is now known as elaptics
lampe2 has joined #ruby
<matti> shevy: We should have given the answer along the lines of "Press F2" ;d
<matti> shevy: He'd like that.
<shevy> hehe
<matti> shevy: Movie titles wise.
<matti> shevy: I prefer Indiana Jones theme.
Squee- has quit [Quit: This computer has gone to sleep]
<matti> shevy: "Matti and the Ruby File of Doom"
<lampe2> hey i build a gem with bundler and i installed it now i wanne use it in a other project i requierd the gem and no i wanne test it like this: Mytestgem::mytest but ruby says: `<main>': undefined method `mytest' for Mytestgem:Module (NoMethodError)
k_89 has joined #ruby
k_89 has quit [Client Quit]
<apeiros_> matti: we should have told him about the 'remove modification' tool, aka rm
<matti> apeiros_: Haha
<matti> apeiros_: You Sir are the evil ;d
manouche has joined #ruby
xorox90 has quit [Remote host closed the connection]
tomsthumb_ has joined #ruby
Speed has joined #ruby
azm has joined #ruby
azm has joined #ruby
azm has quit [Changing host]
tomsthumb_1 has joined #ruby
gavit has quit [Read error: Connection timed out]
Squee- has joined #ruby
gavit has joined #ruby
<shevy> I think he was a windows dude
<JonnieCache|home> lol ive just discovered one of my close friends is the author of bpython
<JonnieCache|home> i think its basically the python version of pry
<JonnieCache|home> thats amazing i had no idea he was so good at python
macmartine has quit [Read error: Connection reset by peer]
<lampe2> cant someone help pls?
cakehero has joined #ruby
<shevy> lampe2 not me, I avoid bundler like the plague
tomsthumb_ has quit [Ping timeout: 252 seconds]
<canton7> lampe2, "build a gem with bundler" -- care to elaborate?
<shevy> the way I build gems is, I let a ruby script generate a simple .gemspec, fill that up a bit, then do "gem build *.gemspec"
<shevy> anyway, if you have a .rb file, and you want to call mytest method on it
<shevy> module Mytestgem; def self.mytest; puts 'hi there'; end; end; Mytestgem.mytest
<shevy> btw using :: for method names is a bit ugly
<lampe2> i was just watching railscasts about how to build a gem
<lampe2> whats the better way shevy ? :)
<canton7> depends on what you're trying to do. I believe bunderl can generate a skeleton .gemspec (which I hate -- it depends on git), but I don't know what sort of building it can or cannot do
<shevy> first, ensure that your .rb file(s) work lampe2
<shevy> so that code like Mytestgem::mytest never fails (but please use Mytestgem.mytest rather)
ringotwo has quit [Ping timeout: 265 seconds]
<shevy> then, when you did this, you can make it into a gem
recycle has quit [Remote host closed the connection]
<lampe2> kk thx i will try it
blazes816 has joined #ruby
timonv has joined #ruby
<shevy> there are like 20 tools to generate .gemspec files. I ended up hating all of them and wrote a script that just generates a dumb little .gemspec file
<shevy> jeweler is one I think
brightbeat has joined #ruby
<shevy> too many tools make people too lazy
<brightbeat> guys I have the same error http://rortalk.blogspot.com/2012/06/rails-rails-postgres-error-reason.html does anyone have a clue?
<lampe2> :) i never wrote a gemspec file so its fine to see how a example could look like
<brightbeat> and here
fridim_ has joined #ruby
tayy has joined #ruby
<lampe2> and its now working i forgot the self. ...
tomsthumb_1 has quit [Quit: Leaving.]
<lampe2> shame on me :D
<shevy> lampe2 yeah, I think it is best if you look at a few real-life examples, this is what I did
<shevy> just have a look at some .gem files out there
jasonLaster has joined #ruby
<shevy> I still don't know how to add documentation properly to my gems :P
<lampe2> :D
<lampe2> i dont like tools too so much
BrianJ has quit [Ping timeout: 248 seconds]
<shevy> brightbeat sorry no idea. am using linux, not mac
<brightbeat> shevy: damn the error is really weird
<lampe2> but its like in rails to scaffoold you just wanne see it once but then never use againe
Squee- has quit [Quit: This computer has gone to sleep]
<RubyPanther> I agree with gem build ...
<RubyPanther> there was a great blog post about it but I don't remember where
<lampe2> the thing is all tutorials use some sort of tool like gem,bundler,eheo etc etc
<shevy> yeah lampe2
<JonnieCache|home> `bundle gem` makes a perfect gemspec and dir structure
<JonnieCache|home> i always use that
<RubyPanther> bundler works great with gems built the semi-oldfashioned way
cakehero has quit [Quit: Computer has gone to sleep.]
ananthakumaran has quit [Quit: Leaving.]
<lampe2> :)
tomsthumb_ has joined #ruby
jasonLaster has quit [Ping timeout: 276 seconds]
liluo has quit [Remote host closed the connection]
gmci has quit [Quit: Computer has gone to sleep.]
<lampe2> i think i will read into the gemspec Specification
gmci has joined #ruby
macmartine has joined #ruby
<shevy> anyone using tk for ruby-GUIs?
sendoushi has joined #ruby
<lampe2> thx RubyPanther
jasonLaster has joined #ruby
<RubyPanther> shevy: Gtk is easier to use for something quick and dirty, you don't want Tk unless you've used it before and want some specific feature
<lampe2> shevy, today i do everything with webguis :)
gavit has quit [Read error: Connection timed out]
dpk has joined #ruby
radge has quit [Quit: Leaving...]
ryanf has joined #ruby
<RubyPanther> Tk is usable, and only ugly on macs
gavit has joined #ruby
elaptics is now known as elaptics`away
macmartine has quit [Ping timeout: 252 seconds]
<lampe2> on rubysource was this little article about jquerymobile and sinatra. this is the way how i build apps today :)
specialGuest has joined #ruby
tomsthumb_ has quit [Quit: Leaving.]
<shevy> yeah tk is ugly
apok has joined #ruby
t83971 has quit [Remote host closed the connection]
<shevy> I just want a quick and super simple wrapper over my ruby ftp wrapper
<sr___> anyone aware of a windows-only bug in Rake's import command for makefiles?
t12926 has joined #ruby
chimkan_ has joined #ruby
<lampe2> sry i use linux :)
<sr___> I usually use linux as well, but once in a while have to use windows
coldmind has joined #ruby
<seanstickle> Ruby on Windows 9 is gonna be epic
<deryl> yeah. epic fail
<lampe2> windows 9 ? :D
<seanstickle> lampe2: Yeah, the version where they fix all the lame excesses of Windows 8
<lampe2> with the epic fail of windows 8 i dont think that there will be a windows 9 :D
aantix has joined #ruby
<seanstickle> Office 2007 : Office 2010 :: Windows 8 : Windows 9
specialGuest has quit [Changing host]
specialGuest has joined #ruby
<lampe2> vista was bad but windows 8 is like windows vista + windows me + windows 3.11
<coldmind> damn stereotypes
<lampe2> :)
chimkan_ has quit [Quit: chimkan_]
fbernier has joined #ruby
<RubyPanther> shevy: the only advantage of Tk over Gtk is that it is in stdlib. Tk actually gets rather complicated with the callbacks compared to anything else. It was great in the 90s...
cirwin has joined #ruby
jrajav has joined #ruby
<lampe2> this is a little bit offtopic but iam looking for a good radio stream for developing. i look for something like smooth jazz or lounge music or just something that can be in the background ?
<JonnieCache|home> i have the perfect thing hold on
<deryl> grooveshark.com
<JonnieCache|home> http://www.fipradio.fr/player its a french radio station with 247 jazz and chilled music
<JonnieCache|home> they invented it to reduce road rage in paris
<coldmind> you can try http://music.myradio.com.ua:8000
<JonnieCache|home> its amazing.
kaen has joined #ruby
<lampe2> thx to all :) i will check them out
<JonnieCache|home> honestly fip is the best thing ever. i live in the uk and someone in our town rebroadcasts it as a pirate station.
<shevy> hmm
<JonnieCache|home> and it has no ads or talking
<lampe2> haha cool
apok has quit [Quit: apok]
<shevy> perhaps I should just go with ruby-ncurses
c0rn_ has joined #ruby
wallerdev has joined #ruby
<JonnieCache|home> its the most french thing ive ever heard tbh
cakehero has joined #ruby
<shevy> JonnieCache|home you begin to scare me
<shevy> next thing you say is you listen to french rap
<shevy> like Mon_Ouie
<blazes816> shevy: you ever heard french rap?
<blazes816> i've only heard one song, but it was awful
macer_ is now known as macer1
macer1 has quit [Changing host]
macer1 has joined #ruby
<lampe2> grooveshark dont work in germany :(
graspee has joined #ruby
<lampe2> will checkout fip and the other radio
azm has quit [Ping timeout: 276 seconds]
gavit has quit [Read error: Connection timed out]
khakimov has quit [Quit: Computer has gone to sleep.]
gavit has joined #ruby
<shevy> blazes816 yeah a few
luckyruby has joined #ruby
<blazes816> shevy: balance toi by tony parker
<shevy> blazes816, it's more hip hop perhaps though https://www.youtube.com/watch?v=0yD7RBBC5qk
<blazes816> watch the music video and cry
<shevy> ok :P
Nami-Doc has joined #ruby
<shevy> the french have good DJs though
<blazes816> I like french but i'm horrible at it
<blazes816> parling it that is
<lampe2> haha jrajav nice one
<Nami-Doc> french is a horrible language
flip_digits has joined #ruby
<jrajav> And the language you're speaking isn't? :P
<coldmind> one question to community - i'm choosing a technology to improve deeply, now i'm on ruby ninja way.
<coldmind> what is the most suitable sphere, that use this techology? i'm interested in backend such as server parts of web applications, but i heard opinions that ruby is bad for these purpose.
ken_barber has joined #ruby
<Nami-Doc> jrajav: I am french
<jrajav> I'm just curious what you'd offer up as a "good" language
fbernier has quit [Ping timeout: 268 seconds]
Markvilla has joined #ruby
<Nami-Doc> french just is too much complicated for no reason.
luckyruby has quit [Remote host closed the connection]
<Mon_Ouie> Human languages have never been about efficiency
<graspee> english is far far far far worse for that than french is
Takehiro has quit [Remote host closed the connection]
<Mon_Ouie> Nor have humans, for that matter
<graspee> english spelling rules are one of the prime examples of how to not do something
<Nami-Doc> Do you know french ones ?
<JonnieCache|home> unless you want to write poetry
jasonLaster has quit [Remote host closed the connection]
Quadrant has joined #ruby
<JonnieCache|home> in real life ambiguity == expressiveness
jasonLaster has joined #ruby
<Nami-Doc> well yeah
<Nami-Doc> you do not construct a speaking language like a programmating one
<lampe2> lol from codeing language to human language wars ...
<Mon_Ouie> Go tell that to Tolkien and however created Lojban and Esperanto
<Mon_Ouie> whoever*
<lampe2> esperanto is cool :)
<blazes816> cool like haskell
<Nami-Doc> Tolkien languages are not "finished", but it's sure outstanding job
<blazes816> as in, theoretically
havenn has joined #ruby
<deryl> not finished??
<blazes816> Nami-Doc: no language is finished
<Nami-Doc> Not rly speakable
<Nami-Doc> that's what I meant
<blazes816> English 3.4.3 RC3 coming out soon!
<deryl> hahahaha
Takehiro has joined #ruby
<lampe2> :D
<deryl> he's hilarious
<Nami-Doc> glad to make you smile
<lampe2> this issssssssss HUSKELLLLL data PhiNum a = PhiNum { numPart :: a, phiPart :: a } deriving (Eq, Show)
<deryl> you do realize that tolkein was a linguist, that his Silvani is a recognized language, and that it was even used in the trilogy movies right?
t12926 has quit [Remote host closed the connection]
<deryl> s/ein/ien/
t40431 has joined #ruby
workmad3 has joined #ruby
<Nami-Doc> silvani ?
jasonLaster has quit [Ping timeout: 260 seconds]
<deryl> elven. Silvani is the 'elf type' (there were several types of elves. wood, rock, etc) and Silvani was the silver wood elf. He wrote their language (See the Silmarillion)
<lampe2> are we now at the lord of the rings Chanel ?
k_89 has joined #ruby
<Nami-Doc> I'm affraid I don't know enough about Tolkien elves then, google just brought me on it pages
<blazes816> Nami-Doc: you know more than enough i'm sure
<JonnieCache|home> notion: lotr is turgid self-indulgent rubbish. discuss.
<Nami-Doc> nice sarcasm
coldmind has quit [Quit: Leaving]
<Nami-Doc> "Silvan language, from Nandorin, language of Nandor, a branch of the Third Clan"
<blazes816> I stick my neck out there. I hate lotr. If I wanted to watch people walk for 9 hours I'd hang out in Oakland.
Guest14440 is now known as ged
<Mon_Ouie> fowl: Do you keep your opinion regarding grammar? :p
<seanstickle> I have "A Gateway to Sindarin", which is a very good book on the Sindarin language
<seanstickle> Finished enough, anyways, thanks to contributors.
luckyruby has joined #ruby
havenn has quit [Ping timeout: 240 seconds]
<JonnieCache|home> i liked the hobbit
<seanstickle> I liked the Hobbit enough to avoid these new movies coming out.
mparodi_ has joined #ruby
<mparodi_> Hello guys
gavit has quit [Read error: Connection timed out]
jarred has quit [Quit: jarred]
<JonnieCache|home> his dark materials ftw
gavit has joined #ruby
<JonnieCache|home> thats what my children will have impressed upon them should they ever come to exist
<mparodi_> I have an application which requires http://paste.debian.net/184635/ but it uses a plugin which requires http://paste.debian.net/184634/
<mparodi_> so it's crashing with erros like this: You cannot specify the same gem twice with different version requirements. You specified: rails (= 3.2.6) and rails (= 2.3.14) (Bundler::DslError)
recycle has joined #ruby
<mparodi_> is there any problem if I increase the versions in the plugin Gemfile? maybe some incompatibilities..
<blazes816> mparodi_: rails 3 doesn't use plugins anymore, so probably
<blazes816> what plugin are you trying to use?
<mparodi_> no no, it's a plugin of the application I installed (redmine)
<blazes816> ah
Spooner has joined #ruby
brightbeat has quit [Quit: brightbeat]
<mparodi_> redmine (redmine.org) with that plugin: http://www.redmine.org/plugins/redmine_better_gantt_chart
BlakeRG has joined #ruby
<blazes816> idk anything about redmine but the fact the its plugins have Gemfiles intriques me
<blazes816> intrigues*
<mparodi_> isn't it common?
<JonnieCache|home> would wouldnt they
kaneda_ has joined #ruby
<JonnieCache|home> spree works like that
<JonnieCache|home> with rails 3 engines its standard
<mparodi_> the plugin says: "Compatible with: Redmine 1.1.x, 1.2.x, 1.3.x, 1.4.x", it's redmine 2.x :|
<mparodi_> I just read that ^
<BlakeRG> is json decoding/encoding apart of the ruby core or do i need a "gem" for that?
workmad3 has quit [Ping timeout: 260 seconds]
itnomad has joined #ruby
<blazes816> @JonnieCache because I totally thought redmine was an ide until just now
<blazes816> :x
MarGarina has joined #ruby
Nami-Doc is now known as Vendethiel
SCommette has quit [Quit: SCommette]
nixmaniack has joined #ruby
<burgestrand> BlakeRG: it’s part of ruby stdlib in 1.9
burgestrand has quit [Quit: Leaving.]
n1x has quit [Ping timeout: 240 seconds]
wargasm has joined #ruby
burgestrand has joined #ruby
<burgestrand> BlakeRG: being part of stdlib means you need to require 'json' before you use it
<BlakeRG> burgestrand: thanks, i think i just figured that out
<BlakeRG> burgestrand: how do i debug what fields are decoded?
<burgestrand> BlakeRG: what do you mean?
<BlakeRG> after i json.parse() my json data i want to see what fields exist
<burgestrand> BlakeRG: you can expect it to be either a hash (key -> value) or an array. I’d look at it in pry/irb to see what the json data contains. However if you need to dynamically figure that out you can use the methods available on hash/array.
br4ndon has joined #ruby
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Takehiro has quit [Remote host closed the connection]
SCommette has joined #ruby
Jackneill has quit [Ping timeout: 252 seconds]
tomsthumb_ has joined #ruby
Jake232 has joined #ruby
<BlakeRG> burgestrand: thanks let me try that out.. sorry it's my first day with ruby after 9 years with PHP
havenn has joined #ruby
gavit has quit [Read error: Connection timed out]
indian has joined #ruby
gavit has joined #ruby
<BlakeRG> how do i get the data type of something?
havenn_ has joined #ruby
locriani has joined #ruby
locriani has joined #ruby
locriani has quit [Changing host]
kirun has joined #ruby
jasonLaster has joined #ruby
SCommette has quit [Quit: SCommette]
havenn_ has quit [Read error: No route to host]
havenn_ has joined #ruby
Eldariof59-ru has quit []
Morkel has joined #ruby
und3f has joined #ruby
<JonnieCache|home> BlakeRG: obj.class
<JonnieCache|home> BlakeRG: you generally shouldnt need to though
<JonnieCache|home> as in, you should generally write your code in such as way that you dont need to
mklappstuhl has quit [Ping timeout: 276 seconds]
k_89 has quit [Quit: Leaving]
burgestrand has quit [Quit: Leaving.]
k_89_ has joined #ruby
mklappstuhl has joined #ruby
hero has quit [Ping timeout: 240 seconds]
cmarques has joined #ruby
cmarques has quit [Client Quit]
ryanf has quit [Quit: leaving]
k_89_ is now known as k_89
jasonLaster has quit [Ping timeout: 276 seconds]
recycle has quit [Remote host closed the connection]
havenn_ has quit [Ping timeout: 240 seconds]
hero has joined #ruby
pingfloyd has joined #ruby
jarek has joined #ruby
havenn has quit [Remote host closed the connection]
recycle has joined #ruby
mklappstuhl has quit [Ping timeout: 276 seconds]
minijupe has quit [Quit: minijupe]
<BlakeRG> JonnieCache: thanks, just debugging
minijupe has joined #ruby
<mparodi_> you know, I'm getting the message " Could not find gem 'shoulda (~> 2.11) ruby' in the gems available on this machine. (Bundler::GemNotFound)" but shoulda is installed: http://paste.kde.org/536984
<mparodi_> what am I missing?
<mparodi_> I know the version is not the same but can I install 2.11?
hadees has joined #ruby
gavit has quit [Read error: Connection timed out]
<apeiros_> 3.1.1 is too new
gavit has joined #ruby
<apeiros_> ~> 2.11 means between 2.11.0 and 2.11.X afair
<Mon_Ouie> No, it means >= 2.11 and < 3.0
MarGarina has quit [Ping timeout: 276 seconds]
<mparodi_> that's what gem gave me
<mparodi_> gem install shoulda
choffstein has joined #ruby
<Mon_Ouie> You need to specifically ask for an older version
<apeiros_> or just install your bundle by using bundler
maletor has joined #ruby
macmartine has joined #ruby
<mparodi_> there's no "version" parameter in gem
<mparodi_> what do you mean by "specifically ask"?
MarGarina has joined #ruby
<apeiros_> you may want to give `gem help install` another go
<mparodi_> I did
<apeiros_> because the version option is certainly in there.
<Mon_Ouie> there is, it's -v=… (at least for the short form)
timonv has quit [Remote host closed the connection]
<apeiros_> mparodi_: ` -v, --version VERSION Specify version of gem to install`
<apeiros_> straight from gem help install…
<mparodi_> ah, never mind.. I thought it was to get the version of gem :)
sendoushi has quit [Remote host closed the connection]
<apeiros_> …
jbw has quit [Read error: Operation timed out]
<mparodi_> that's what -v and --version do in ANY app u.u
<Mon_Ouie> It is for the version of gem only when you're not using a subcommand
<Mon_Ouie> (-v often stands for verbose too)
sendoushi has joined #ruby
<mparodi_> well, yeah, you are right
<flip_digits> Question: how do I use IRB to find out about a particular method?
<Mon_Ouie> What do you mean by "find out"?
<apeiros_> flip_digits: you better use pry, makes it easier
<Mon_Ouie> And yeah, obligatory advertisement for Pry :)
<apeiros_> but in irb: obj.method(:name).source_location
<apeiros_> or .owner
<flip_digits> Mon_Ouie: like what params it takes and such
<apeiros_> or .parameters
<apeiros_> anyway, pry
<apeiros_> ? obj.method # gives you the docs
<flip_digits> apeiros_ is it the same in pry, I'm actually using pry
<shevy> you can query how many arguments it takes via .arity or something like that
<apeiros_> flip_digits: it is the same in pry. what I showed you is plain ruby
<flip_digits> apeiros_ that's the info I was looking for thanks!
<apeiros_> but pry provides more advanced features
vitor-br has quit [Ping timeout: 246 seconds]
yxhuvud has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
anoldhacker has joined #ruby
<anoldhacker> I'm having trouble installing a built ruby 2.0: "executable host ruby is required. use --with-baseruby option" (This is with rvm). I try using the option with make install, and I get "unrecognized option"
MarGarina has quit [Ping timeout: 260 seconds]
wallerdev has quit [Quit: wallerdev]
<BlakeRG> is the :: operator a way the statically call a method?
Araxia has quit [Ping timeout: 260 seconds]
<Mon_Ouie> There's no such thing as static methods in Ruby, we have class methods
macmartine has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> Which, from a certain point of views, are instance methods too
<Mon_Ouie> :: is mostly commonly used to retrieve constants, as in Foo::Bar
<BlakeRG> example: EventMachine::run
<Mon_Ouie> But you can use it instead of "." to call any method you want: foo::to_s and foo.to_s are the exact same things
<BlakeRG> why not EventMachine.run() ?
wargasm has quit [Ping timeout: 265 seconds]
<Mon_Ouie> You can use that too
<BlakeRG> they are the same?
<BlakeRG> ahhh
<Mon_Ouie> Yeah. It's actually more common to reserve "::" for constant lookup and "." for method calls
jarek has quit [Quit: jarek]
wargasm has joined #ruby
<anoldhacker> How is the version string exposed in ruby?
gavit has quit [Read error: Connection timed out]
<blazes816> Mon_Ouie: I've always though of :: as a 'scope resoluter'. any links to more information about what it actually is? in technical, low-level ruby terms? i.e. how the interpreter sees and uses it?
<shevy> anoldhacker sounds as if you do not use a stable version of ruby
gavit has joined #ruby
<anoldhacker> Today, I'm at the HEAD of trunk....
<anoldhacker> So, no.
mrdodo has joined #ruby
<anoldhacker> I'm having trouble testing some functionality, and I want to ensure that at least I'm running what I think I'm running.
<shevy> those ruby checkouts will require a ruby installation
t40431 has quit [Remote host closed the connection]
t56818 has joined #ruby
<shevy> I typically use these configure options: "--enable-load-relative --enable-pthread --disable-shared --enable-install-doc --with-static-linked-ext"
<shevy> last time I checked out trunk, ~12 days ago, it compiled without problem
maletor has quit [Quit: Computer has gone to sleep.]
jbw has joined #ruby
nixmaniack has quit [Quit: Ex-Chat]
<BlakeRG> how does the parser distinguish between a variable and a constant? all caps?
Niamkik has quit [Remote host closed the connection]
tightwork has quit [Ping timeout: 245 seconds]
n1x has joined #ruby
<shevy> a constant starts with an upcased character
<anoldhacker> Compile is fine. Tests are all good (except known bugs). make install doesn't like me.
<shevy> Foo is a constant as is FOO
<anoldhacker> I didn't use any configure options.
<shevy> BlakeRG, in some ways, a constant is a variable too. you can reassign to a constant in ruby
<shevy> anoldhacker odd
recycle has quit [Remote host closed the connection]
<BlakeRG> technically you can change the content of a constant but ruby will give a warning correct?
<JonnieCache|home> yep
chare has joined #ruby
<shevy> yeah it is a bit odd
<JonnieCache|home> there is .freeze as well
jrajav has quit []
<shevy> the ruby constants are only semi-constants
<BlakeRG> right
<anoldhacker> The only constant in ruby: The inheritance chain behind super. :D
<shevy> JonnieCache, do
<shevy> argh there are two JonnieCaches
answer_42 has quit [Quit: WeeChat 0.3.8]
<blazes816> shevy: how is something 'semi' constant? ;)
und3f has quit [Quit: Leaving.]
<shevy> blazes816 I think in other language you can not change a constant
<shevy> Math::PI would always be PI
<shevy> in ruby though
<shevy> Math::PI # => 3.14159265358979; Math::PI = 5 warning: already initialized constant PI # => 5; Math::PI # => 5
<otters> you can't really stop people from changing constants
<bperry> make them a symbol
recycle has joined #ruby
<bperry> ah nm
<shevy> hehe
wallerdev has joined #ruby
hadees_ has joined #ruby
<Mon_Ouie> blazes816: It's really more of a matter of grammar (again :p)
<Mon_Ouie> About "::" I mean
<Mon_Ouie> If it's followed by a constant name, it's that scope resolver operator you mentioned — unless that constant name is actually used as a method name
ken_barber has quit [Remote host closed the connection]
<Mon_Ouie> Like when there are arguments or parens
<blazes816> Mon_Ouie: ah, context!
<BlakeRG> so there's no such thing as a "static method
<Mon_Ouie> e.g. Integer(), Array 3, Array(4)
<blazes816> shevy: I know, it was just kidding because either you can change it and it isn't constant, or you can't and it is
<blazes816> there isn't really an in-between, other than ruby giving warnings
<Mon_Ouie> BlakeRG: Right
hadees has quit [Ping timeout: 276 seconds]
hadees_ is now known as hadees
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<blazes816> or perhaps, a semi-constant would mean you can change it up to N times.
<blazes816> which would be weird :s
Axsuul has joined #ruby
butblack has joined #ruby
<BlakeRG> just discovered PrettyPrint :)
<BlakeRG> when i run the puts method on something it gets casted to a string correct?
<BlakeRG> or at least, it tries to get casted
wvms has joined #ruby
<JonnieCache|home> it calls .to_s on it
<JonnieCache|home> either that or inspect i cant remember
<BlakeRG> nice
<JonnieCache|home> they are often the same
<JonnieCache|home> a key part of the ruby type system is that a lot of classes have .to_ methods that convert them to common types, and crucially those types have the same methods, so floats have .to_i but so so integers.
<JonnieCache|home> so you can call .to_i knowing you will either get an integer if its any number type or anything else that could reasonably be an integer
<BlakeRG> excellent
<JonnieCache|home> or you will get an exception
gavit has quit [Read error: Connection timed out]
<BlakeRG> you guys are a huge help
gavit has joined #ruby
<JonnieCache|home> if you have a variable and you think its a string but youre worried it might be a symbol, you can just call .to_s and not worry
<JonnieCache|home> thats kind of the essence of duck typing in a way
<JonnieCache|home> they way ive just phrased it doesnt make it sound very robust though :/
<JonnieCache|home> thats where tests come in
rippa has quit [Ping timeout: 256 seconds]
butblack has quit [Quit: butblack]
recycle has quit [Remote host closed the connection]
adeponte has joined #ruby
<apeiros_> JonnieCache|home: hm, bad example IMO
<apeiros_> to_s is a possible conversion
<apeiros_> conversions should be done by the "user"
<BlakeRG> in ruby, even data types are classes no?
<JonnieCache|home> Class.class == Class
<JonnieCache|home> :)
<apeiros_> BlakeRG: things like String, Array, Hash are classes, yes
<apeiros_> and as JonnieCache|home just pointed out, even the class Class is a Class
<BlakeRG> very cool
Progster has joined #ruby
<apeiros_> and all classes are objects…
<apeiros_> and Object is a class
<apeiros_> I hope I confused you enough with that :)
<JonnieCache|home> as youre probably suspecting, there is a cheat in there somewhere
<JonnieCache|home> which you'll find if you keep calling .superclass on things
<BlakeRG> nope, makes perfect sense to me actually
sendoushi has quit [Remote host closed the connection]
greenysan has joined #ruby
<anoldhacker> The cheat is that Class isn't really a class...
<anoldhacker> Just try class A < Class
jasonLaster has joined #ruby
<anoldhacker> :P
<workmad3> anoldhacker: well yeah... Class isn't a class... it's an object
<workmad3> anoldhacker: classes are instances of Class :)
<workmad3> Class.class is an oddity though :)
<BlakeRG> how do i access an element of a hash? ['foo'] ?
<anoldhacker> Not really. Class IS a Class for most purposes.
<anoldhacker> Just not that one.
<JonnieCache|home> yes but you should use symbols as hash keys
<JonnieCache|home> for performance reasons
<workmad3> anoldhacker: class Foo < Class.new
<apeiros_> anoldhacker: from rubys side, there is no cheat. the cheat is in C
<apeiros_> Class.new.is_a?(Class) # the main property of classes is there, it can be instanciated
<apeiros_> *instantiated
<anoldhacker> Class.new is NOT class. It is an anonymous instance of Class--that is, a class. So sure, that works.
<apeiros_> um, yes, the result of Class.new certainly is a class.
itnomad has quit [Ping timeout: 244 seconds]
<anoldhacker> I was responding to workmad3.
t56818 has quit [Remote host closed the connection]
t96933 has joined #ruby
\13k has quit [Quit: gg]
<apeiros_> funny enough, you can subclass Module (which is Class' superclass)
elaptics`away is now known as elaptics
drago757 has quit [Read error: Connection reset by peer]
jasonLaster has quit [Ping timeout: 276 seconds]
<anoldhacker> Huh. I'm pretty certain that is new.
<anoldhacker> So to speak....
<workmad3> apeiros_: fun :)
<workmad3> apeiros_: however, what you create can't be included...
ken_barber has joined #ruby
drago757 has joined #ruby
<apeiros_> workmad3: sure, because it's not a module
<apeiros_> you have to instantiate it ;-)
<BlakeRG> ok everyone, thanks for the ruby quick start help.. gotta run! thanks again!
<workmad3> apeiros_: oh, so you do... awesome :D
<apeiros_> remember, Module isn't a module either, it's a class. only instances of Module can be included.
gavit has quit [Read error: Connection timed out]
BlakeRG has left #ruby [#ruby]
<anoldhacker> :)
gavit has joined #ruby
<apeiros_> anoldhacker: you say subclassing of class is prohibited because it internally isn't truly a class?
* apeiros_ wonders why they didn't cheat their way around that
<workmad3> the foundation of ruby can get a bit odd and meta :)
<apeiros_> I had cases where I would have loved to subclass Class… :-/
<anoldhacker> I'm not certain about the real reason. I expect it has to do with the magic surrounding Class.new
<apeiros_> went with Class.new iirc
<apeiros_> fuck, can't type with my mushy fingers :(
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
* apeiros_ accidentally his fingers… :(
blazes816 has quit [Quit: Leaving]
<anoldhacker> You can go a long way using Class#inherited.
\13k has joined #ruby
burgestrand has joined #ruby
JonnieCache|home has quit [Quit: Lost terminal]
conorwade has joined #ruby
<workmad3> all good fun :)
<anoldhacker> I'm having a lot of issues with trunk today. Make was running fine on Friday. Now, builds don't seem to want to happen.
<anoldhacker> I'm getting odd file deletions & subsequent make fails.
<anoldhacker> I tried configure with no options & with those given above. I just did a make distclean ; autoconf ; ./configure ; make. We'll see what this one does...
<anoldhacker> (Ubuntu 10.04)
gavit has quit [Read error: Connection reset by peer]
<chare> Ok if I want to accept credit cards in my ruby on rails app what kind of license do i have to apply for with the government
<anoldhacker> License? We don't need no steeeekin' license!
<anoldhacker> At least in the US.
<chare> ok so how does accepting credit cards work for someone who has never ever even touched such an API
<anoldhacker> You need to register your business & pay taxes...
<burgestrand> chare: depends entirely on where you are located
jrajav has joined #ruby
<chare> usa
<shevy> TEXAS
<burgestrand> Just use stripe :p
<jrajav> 'murica
<burgestrand> chare: https://stripe.com/
<chare> 30 cents per transaction WTF
<chare> no thats not gonna work
<anoldhacker> That's cheap for a lot of applications.
<chare> not for mine
<anoldhacker> The shopify gem is another standard option.
pac1 has joined #ruby
gfontenot has quit []
<chare> how are you suppose to sell anything cheap if you incur a 30 cent hit every transaction
<anoldhacker> And... the fourth time's the charm...
<anoldhacker> Now for the install...
<anoldhacker> Happy!
banghouse has quit [Remote host closed the connection]
<anoldhacker> Don't know why that didn't work the first time.... >:(
<shevy> random bytes fluctuations
<workmad3> chare: cheap comes at the cost of bulk...
gavit has joined #ruby
<workmad3> chare: if you can't prove bulk, then you can't get cheap
tommyvyo has quit [Quit: Computer has gone to sleep.]
johnb003_ has quit []
<chare> you're telling me there is no site that will handle bulk size of YOUR choice
wargasm has quit [Ping timeout: 276 seconds]
mklappstuhl has joined #ruby
<workmad3> chare: I'm saying that the merchant banks and gateways that handle credit card transactions want their pound of flesh
zeromodulus has quit [Read error: Connection reset by peer]
<RubyPanther> cheap per-transaction comes with proven volume or a large annual fee.
<workmad3> ^^
zeromodulus has joined #ruby
<RubyPanther> two whole choices to build business models around :)
<chare> so there is no service thats pure 2.9% fee with no 30 cent constant?
<RubyPanther> If your margin was so small you couldn't afford it, you'd need to start thinking about value-added-services
minijupe has quit [Quit: minijupe]
<shevy> PROSTITUTES
<RubyPanther> Usually I would charge at least $100 to tell somebody that, so don't say you never get anything for free.
<workmad3> chare: I'm sure you could negotiate it, and if you came to the table with proven volume I'm sure you could get it (or close to it)
<chare> so all this talk about microtransactions
<workmad3> chare: but if you're just getting off the shelf services... I kinda doubt it
<chare> thats all bs?
mohits has joined #ruby
<RubyPanther> If you want cheap secure electronic payments, you could always restrict sales to Europe.
zeromodulus has quit [Read error: Connection reset by peer]
<shevy> or Kirgisistan
<shevy> and trade with deer and cows
zeromodulus has joined #ruby
tommyvyo has joined #ruby
wargasm has joined #ruby
<chare> rubypanther: please go make a startup to handle microtransactions without this 30 cent overhead
Morkel has quit [Quit: Morkel]
<RubyPanther> Have you ever tried to do an electronic payment with a cow? The only way it works is when you use a fancy cattle prod.
<chare> what do you mean
<workmad3> chare: microtransactions are not bs... however, if you look, most microtransactions take place in a form other than actual currency
zeromodulus has quit [Read error: Connection reset by peer]
<chare> workmad3: such as?
havenn has joined #ruby
zeromodulus has joined #ruby
<RubyPanther> chare: Why? I'd rather value-add and pay paypal to handle the details. Their new API is really nice.
<burgestrand> Ah. You buy credits.
<workmad3> chare: things like fb credits are a microtransaction system
<burgestrand> Clever.
<RubyPanther> I don't really have a desire to sell things for 25cents
<burgestrand> A whole new world just opened up
<RubyPanther> I even get by with a keyboard without a cents symbol
<chare> god damn it i wish bitcoin was larger right now
<RubyPanther> Paypal does have both micropayments and distributed payments
gavit has quit [Read error: Connection timed out]
indian has quit [Read error: Connection reset by peer]
mklappstuhl has quit [Ping timeout: 245 seconds]
<workmad3> 5% + $0.05 for paypal, a quick google reveals :)
flip_digits has quit [Quit: Computer has gone to sleep.]
<chare> OH HELL NO
<chare> i'm no using paypal
<shevy> are you guys using Regexp.escape() a lot
<chare> EVER
t96933 has quit [Remote host closed the connection]
t9225 has joined #ruby
<workmad3> chare: your choice
adeponte has quit [Remote host closed the connection]
TheLZA has joined #ruby
TheLZA has quit [Max SendQ exceeded]
<chare> paypal you like give them your bank account practically to do whatever they want
TheLZA has joined #ruby
TheLZA has quit [Max SendQ exceeded]
<workmad3> chare: heh, nice to see you making such informed decisions there
c0rn_ has quit []
recycle has joined #ruby
<anoldhacker> chare: create an account just for them. Sweep it daily. Profit!
<chare> anoldhacker: so you agree paypal can fuck you over?
mklappstuhl has joined #ruby
noyb has joined #ruby
tewecske has quit [Quit: Leaving.]
alindeman has quit [Ping timeout: 244 seconds]
<workmad3> chare: paypal has screwed people over in the past... but then, so have most large banking organisations
c0rn_ has joined #ruby
<anoldhacker> I agree that ANYONE you give your account information to can mess you over. Most people with any knowledge of security say to never agree to allow automatic withdrawals.
<workmad3> chare: or have you not noticed the general state of the finance world for the last few years?
<chare> SO BITCOIN
banisterfiend has joined #ruby
<anoldhacker> SO.. have 50% drop in value in a couple of minutes...
<apeiros_> isn't bitcoin equivalent to just flush your money down the toilet? o0
<anoldhacker> No. At this point, it's a collectible with an unusually high level of volatility.
wargasm has quit [Ping timeout: 240 seconds]
<anoldhacker> I'm having windowing problems. I'm going to /part ways.
<chare> I NEVER GIVE UP ON BITCOINS
* anoldhacker parts
anoldhacker has left #ruby ["No matter how dark the night, somehow the Sun rises once again"]
<workmad3> I'm out of power, so am out too :)
<apeiros_> your capslock key seems stuck
<chare> you guys too afraid to back bitcoin?
<workmad3> chare: have fun with your idealism in the face of a greedy reality
<apeiros_> chare: no, too sane
<workmad3> ^^
<workmad3> chare: if I thought bitcoin could be explained to even 40% of the population of the planet in a way they'd understand, I'd take it more seriously...
<chare> omg you guys caving in
<apeiros_> o0
<apeiros_> that's a misapplication of the idiom
<workmad3> chare: we're not 'caving in'... we just never took it seriously or accepted it as a possibility
<workmad3> chare: 'caving in' means we needed to have established a position that we're now caving in on
<apeiros_> ^ that
mklappstuhl has quit [Ping timeout: 276 seconds]
MarGarina has joined #ruby
<chare> so you guys taking the easy way out?
<sebicas> ;;
<apeiros_> again, no
<apeiros_> I was never in
<shevy> lol
alanp_ has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
c0rn_ has quit []
recycle has quit [Remote host closed the connection]
<chare> so you guys are just all gonna give up on bitcoin like that?
_2easy has quit [Quit: Lost terminal]
seanstickle has quit [Quit: seanstickle]
jasonLaster has joined #ruby
<apeiros_> it's funny. everything you say implies there would have been something to begin with
alanp has quit [Ping timeout: 265 seconds]
<apeiros_> I don't give up on it either since I never believed in it in the first place.
<chare> wow you admit you have no faith in bitcoin
<apeiros_> lol
<apeiros_> yes
micha_ has joined #ruby
emmanuelux has joined #ruby
iMe has joined #ruby
<canton7> I can see that bitcoin has applications, if you convert from [local currency] to bitcoin, make your purchase, and convert back before the exchange rate fluctuates too much....
mklappstuhl has joined #ruby
TorpedoSkyline has joined #ruby
tchebb has joined #ruby
recycle has joined #ruby
lampe2 has quit [Ping timeout: 245 seconds]
<chare> so you guys just gonna cave into the credit card companies and financial system without a fight
jasonLaster has quit [Ping timeout: 260 seconds]
<apeiros_> chare: yo da rebell!
kekko has joined #ruby
<kekko> ciao
<kekko> !list
kekko has left #ruby [#ruby]
<chare> apeiros_ you making fun of me!
<oddmunds> du er fremdeles ung
<oddmunds> haha
<oddmunds> wrong window
<apeiros_> chare: on the danger of going OT - what's wrong with CC companies? What's wrong with financial system? (not that I I'd think there was nothing wrong)
<apeiros_> oddmunds: what's that? ewok cybersex innuendo?
jonathanwallace has quit [Remote host closed the connection]
justsee has joined #ruby
recycle has quit [Remote host closed the connection]
Z_Mass has joined #ruby
justsee has quit [Client Quit]
<shevy> lol
jonathanwallace has joined #ruby
alindeman has joined #ruby
<shevy> chare you came up with a real alternative yet?
<oddmunds> apeiros_: not ewok
<chare> shevy you given up too?
<shevy> chare how can I give up on something I never started with?
<apeiros_> oddmunds: haha, but the rest was right? :D
<oddmunds> hehe
<shevy> no paypal no creditcard no anything. I do however use cash
<chare> why you guys not even trying bitcoin
mohits has quit [Ping timeout: 256 seconds]
<apeiros_> why should I? I have no use case for it and as far as I grasp it, its only current purpose is flushing your money down the toilet.
gmci has quit [Quit: Computer has gone to sleep.]
<shevy> chare bitcoin is like the ideal scam idea
dangerousdave has quit [Ping timeout: 276 seconds]
gmci has joined #ruby
<chare> bitcoins work
jonathanwallace has quit [Ping timeout: 268 seconds]
<oddmunds> chare: why are you trying to convert people into bitcoining?
<shevy> it surely works for those who can pocket away the difference
<apeiros_> chare: for a very broad definition of 'work'
<chare> why you guys hate bitcoin?
<apeiros_> I don't hate it. I just don't consider it viable.
<chare> because it works...
<apeiros_> chare: you're asking many questions. care to answer mine?
<apeiros_> >> apeiros_: chare: on the danger of going OT - what's wrong with CC companies? What's wrong with financial system? (not that I I'd think there was nothing wrong)
<al2o3cr> -e:1:in `eval': (eval):1: syntax error, unexpected ':', expecting $end (SyntaxError), apeiros_: chare: on the danger of goin..., ^, from -e:1:in `<main>'
sebicas has left #ruby [#ruby]
<apeiros_> gah al2o3cr, shut up :-p
FlowState has quit [Quit: Ex-Chat]
<chare> apeiros so you serve the financial system?
<apeiros_> chare: that's not an answer. and the question is not relevant.
chrismcg is now known as zz_chrismcg
<shevy> now I understand
<shevy> chare you are a bitcoin troll!
wargasm has joined #ruby
kirun has quit [Quit: Client exiting]
<chare> so shevy you also work for financial system?
<shevy> chare I work for everyone but not for trolls like you
c0rn_ has joined #ruby
<apeiros_> chare: still waiting for an answer…
mklappstuhl has quit [Ping timeout: 276 seconds]
<chare> apeiros: you like the financial system?
<apeiros_> chare: still not an answer. still not a relevant question.
<apeiros_> if you just troll, stop it.
mklappstuhl has joined #ruby
arturaz has quit [Remote host closed the connection]
fridim_ has quit [Remote host closed the connection]
shadoi has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
<chare> apeiros you can't stop bitcoin
shadoi1 has joined #ruby
<shevy> chare you are a bad troll
poga has quit [Remote host closed the connection]
<apeiros_> hm, interesting
c0rn_ has quit []
vitor-br has joined #ruby
yoklov has joined #ruby
<apeiros_> I don't intend to stop bitcoin. I intend and can stop trolls, though.
Vendethiel has quit [Quit: I'll be back]
<shevy> test
chare has left #ruby [#ruby]
<shevy> wheeee... ruby-gnome 1.1.4 works
[Neurotic] has joined #ruby
jonathanwallace has joined #ruby
Quadrant has quit [Read error: Connection reset by peer]
greenysan has quit [Ping timeout: 272 seconds]
luxurymode has joined #ruby
Quadrant has joined #ruby
mrdodo has quit [Remote host closed the connection]
MarGarina has quit [Ping timeout: 265 seconds]
Goles has joined #ruby
noyb has quit [Ping timeout: 268 seconds]
TorpedoSkyline has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
igotnolegs has quit [Quit: Computer has gone to sleep.]
pskosinski has quit [Quit: http://www.redeclipse.net -- Fast-paced online FPS]
TorpedoSkyline has joined #ruby
und3f has joined #ruby
choffstein has quit [Remote host closed the connection]
fastred has quit [Quit: fastred]
ken_barber has quit [Remote host closed the connection]
jrajav has quit [Quit: The best darkness is strange and surprising]
randomautomator has joined #ruby
randomau_ has joined #ruby
T-Gunn has joined #ruby
c0rn_ has joined #ruby
havenn has quit [Remote host closed the connection]
TandemAdam has joined #ruby
emmanuelux has quit [Ping timeout: 265 seconds]
noyb has joined #ruby
luckyruby has quit [Remote host closed the connection]
havenn has joined #ruby
dtribble has quit [Quit: HydraIRC -> http://www.hydrairc.com <- The professional IRC Client :D]
jasonLaster has joined #ruby
randomautomator has quit [Ping timeout: 265 seconds]
jonathan_ has joined #ruby
cakehero has quit [Quit: Leaving...]
jonathanwallace has quit [Ping timeout: 240 seconds]
mklappstuhl has quit [Ping timeout: 252 seconds]
justinmcp has joined #ruby
justinmcp has quit [Remote host closed the connection]
Foxandxss has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
noyb has quit [Ping timeout: 246 seconds]
choffstein has joined #ruby
tayy_ has joined #ruby
deryl has quit [Quit: deryl]
conorwade has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ken_barber has joined #ruby
fantazo has quit [Remote host closed the connection]
banisterfiend has quit [Read error: Connection reset by peer]
tayy has quit [Ping timeout: 252 seconds]
banisterfiend has joined #ruby
khakimov has joined #ruby
iMe has quit [Quit: iMe has left the building….]
Criztian has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
ScottNYC has joined #ruby
Criztian has joined #ruby
justsee has joined #ruby
justsee has quit [Client Quit]
Jake232 has quit [Quit: Computer has gone to sleep.]
tomsthumb_ has quit [Quit: Leaving.]
dev_ryan_ has joined #ruby
bgupta has quit [Ping timeout: 245 seconds]
Criztian has quit [Ping timeout: 260 seconds]
mohits has joined #ruby
mohits has joined #ruby
mohits has quit [Changing host]
BlakeRG has joined #ruby
TheLZA has joined #ruby
TheLZA has quit [Max SendQ exceeded]
banisterfiend has quit [Read error: Connection reset by peer]
TheLZA has joined #ruby
dpk has quit [Quit: Asleep at the keyboard.]
TheLZA has quit [Max SendQ exceeded]
ken_barber has quit [Remote host closed the connection]
banisterfiend has joined #ruby
TorpedoSkyline has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Bosma has quit [Quit: leaving]
TheLZA has joined #ruby
<BlakeRG> whats the equivalent of PHP's htmlspecialchars() for ruby?
liluo has joined #ruby
BlakeRG has quit [Quit: Leaving.]
dev_ryan70 has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
jjang has joined #ruby
Jay_Levitt has joined #ruby
gfontenot has joined #ruby
havenn has quit [Remote host closed the connection]
dev_ryan70 has quit [Remote host closed the connection]
Markvilla has joined #ruby
xbayrockx has quit []
Z_Mass has quit [Ping timeout: 276 seconds]
lkba has joined #ruby
Markvilla has quit [Client Quit]
T-Gunn has quit [Ping timeout: 250 seconds]
Booya_ has joined #ruby
gfontenot has quit []
Booya_ has quit [Client Quit]
und3f has quit [Quit: Leaving.]
TorpedoSkyline has joined #ruby
nwest has joined #ruby
Criztian has joined #ruby
Criztian has quit [Remote host closed the connection]
flip_digits has joined #ruby
elaptics is now known as elaptics`away
carrythe1ero is now known as carrythezero
ken_barber has joined #ruby
elaptics`away is now known as elaptics
ephemerian has joined #ruby
lianoshana_ has joined #ruby
ken_barber has quit [Ping timeout: 240 seconds]
greenysan has joined #ruby
moshee has quit [Ping timeout: 272 seconds]
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
havenn has joined #ruby
greenysan has quit [Ping timeout: 244 seconds]
gmci has quit [Quit: Computer has gone to sleep.]
havenn_ has joined #ruby
gmci has joined #ruby
mrdodo has joined #ruby
qwerxy has joined #ruby
s1n4 has joined #ruby