<h0rrorvacui>
he is probably doing something like this
predator217 has joined #ruby
<h0rrorvacui>
>> a = 1; print (a + "hello")
<eval-in>
h0rrorvacui => String can't be coerced into Fixnum (TypeError) ... (https://eval.in/82671)
zigomir has quit [Remote host closed the connection]
drago777 has quit [Ping timeout: 240 seconds]
<canton7>
yeah
<h0rrorvacui>
very java-ish
<canton7>
jxport, in that case, a + 'hello' is evaluated before print gets its hands on it, so print has nothing to do with calling or not calling #to_s there
drago777 has joined #ruby
petey has quit [Remote host closed the connection]
ckinni has joined #ruby
petey has joined #ruby
predator117 has quit [Ping timeout: 260 seconds]
<jxport>
canton7: is that the nature of print, itself?
<jxport>
h0rrorvacui: what would be /not/ so 'java-ish'?
<canton7>
'print' will call #to_s on whatever its given is my understanding, yes
<canton7>
that made me laugh and cringe at the same time
ss__ has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 272 seconds]
nhhagen has joined #ruby
<h0rrorvacui>
makes me appreciate other languages
<apeiros_unid>
php - pretty horrible ???
<canton7>
pretty horrible preprocessor
<canton7>
better than php hypertext preprocessor :P
<apeiros_unid>
^^
braincrash has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
S0da has quit [Remote host closed the connection]
Elhu has quit [Ping timeout: 240 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bricker_ has joined #ruby
<jxport>
canton7: that is amazing. I have bookmarked this to show some of the freakish PHP devouts I work with
<h0rrorvacui>
I remember reading somewhere that there is a conspiracy that php is hindered on purpose so that the Zend guys make more money.
Elhu has joined #ruby
S0da has joined #ruby
<h0rrorvacui>
It sounds crazy but I kinda like a good conspiracy.
wjimenez5271 has quit [Read error: Connection reset by peer]
Sawbones has quit []
<jxport>
Same. What's the actual status of PHP as a project, source control wise?
bricker_ has quit [Client Quit]
<jxport>
Is the project and its code/structure being ruled by an iron rod by someone that's resilient to change etc. ?
bricker has quit [Ping timeout: 272 seconds]
<h0rrorvacui>
Seems so but idk tbh.
vlad_starkov has joined #ruby
<canton7>
iirc, votes by a committe who really, really hate new stuff
hogeo has joined #ruby
tomjoro has quit [Remote host closed the connection]
kep has quit [Quit: WeeChat 0.4.2]
wjimenez5271 has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Read error: Connection reset by peer]
banister has joined #ruby
hamakn has quit [Remote host closed the connection]
nhhagen_ has joined #ruby
nhhagen_ has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
nhhagen has quit [Ping timeout: 246 seconds]
jonathanwallace has joined #ruby
komodo has joined #ruby
Hanmac1 has joined #ruby
haukur has joined #ruby
<haukur>
I'm trying to write a DSL that has nested blocks, how do I accomplish that? the inner blocks don't seem to be run
<apeiros_unid>
canton7: re your link about php internals - IMO not that horrible. but IFF they'd replaced that like around 1996 and began deprecating inconsistent function names along with it…
Hanmac has quit [Ping timeout: 272 seconds]
<apeiros_unid>
haukur: well, you're in charge of running them
<apeiros_unid>
haukur: the method taking the block must invoke it
<haukur>
apeiros_unid: okay, how?
<h0rrorvacui>
.call
vlad_starkov has joined #ruby
<haukur>
h0rrorvacui: I'm not sure where I would do that
larissa has joined #ruby
lnormous has quit [Remote host closed the connection]
Astralum has quit [Ping timeout: 272 seconds]
<apeiros_unid>
haukur: as all blocks - you either use yield or you capture them as a Proc (via &block arg) and call it / pass it on to something which calls it.
Barrin6 has quit [Quit: Leaving]
<apeiros_unid>
haukur: again - in the method which receives the block
<apeiros_unid>
since that's the one responsible for actually invoking the block
robert_ has quit [Quit: Connection reset by traffic clause.]
<haukur>
so the outer block method should be calling the inner methods?
Hanmac has joined #ruby
bklane has quit [Remote host closed the connection]
<apeiros_unid>
no. and that's not what I said either.
phipes has quit []
<apeiros_unid>
the inner block doesn't care that there is an outer block
<apeiros_unid>
neither does the outer block care that there is an inner
<apeiros_unid>
the rules for "inner" blocks are all the same as for outer blocks
bklane has joined #ruby
<apeiros_unid>
so if you managed to get the outer block to run, then you shouldn't really have any trouble running the inner blocks…
hogeo has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 267 seconds]
<haukur>
apeiros_unid: okay, thanks!
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Steven_ has joined #ruby
komodo has quit [Ping timeout: 240 seconds]
colonolGron has quit [Quit: Lost terminal]
mojjojo has joined #ruby
hogeo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
hamakn has joined #ruby
jtal has joined #ruby
senj has joined #ruby
<jtal>
I just installed rvm, gem, rails; created a new project, tried to start it up
<jtal>
and I get an error could not find a javascript runtime
<jtal>
I havent written any code or done any config
<h0rrorvacui>
jtal you have a lot of options
Steven_ has quit [Ping timeout: 260 seconds]
<h0rrorvacui>
install node
<h0rrorvacui>
is one
Elhu has quit [Quit: Computer has gone to sleep.]
<jtal>
ok, it seems to be starting up now
<jtal>
is it not a dependency because you might want a different one?
<jtal>
I dont even know of another
<h0rrorvacui>
jtal
<h0rrorvacui>
you can also use the ruby racer
<h0rrorvacui>
just uncomment it in your Gemfile
spider-mario has quit [Read error: Connection reset by peer]
<mdev>
jtal I think they mean ruby devs jumping ship to do node.js instead
<mdev>
idk
<jtal>
thats weird, I dont see them as having the same purpose
<apeiros_unid>
haukur: you're welcome, have fun ;-)
<jtal>
I write little things when its important to get done quick rather than be something I can rely on for the next several years
<mdev>
jtal well with node.js lets you us js server side as well as client
<mdev>
so touches both sides
jamesaanderson has joined #ruby
<jtal>
yeah, I'm just saying I cant imagine doing a big production project in node
<jtal>
although I havent done one in rails yet so we'll see :>
<mdev>
me either, I recently replaced 800 lines of C code with < 100 lines in node.js for a simple networking project for a client, but javascript for me is far too limiting for most things, given the callback nature and no multi-threads
io_syl has quit []
<h0rrorvacui>
node.js is lucrative to startups because if they are lucky they can hire for full stack javascript developers.
<mdev>
ruby seems like it'd be more indepth
RoryHughes has quit []
clamstar_ has quit [Quit: Computer has gone to sleep.]
bklane has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dysruption has quit [Quit: Dysruption]
<h0rrorvacui>
and by lucky I mean competent javascript developers
Mars` has quit [Remote host closed the connection]
<jtal>
hm I wonder what they use for db layer
Mars` has joined #ruby
<mdev>
not sure
mary5030 has quit [Remote host closed the connection]
<mdev>
node.js at least has built in stuff I never really researched it
<jtal>
thats the main thing drawing me to rails I guess; I have been using play and an ORM that is starting to disappear into thin air
Mars` has quit [Read error: Connection reset by peer]
<h0rrorvacui>
I don't like spending much time in javascript though so don't ask me anything about it
<jtal>
huh interesting
Megtastique has quit []
<jxport>
ok hmm
<jxport>
so i think i've implemented game of life
culturel_ has joined #ruby
predator117 has joined #ruby
<mdev>
h0rrorvacui I take it you don't do any front-end dev work :)
mary5030 has joined #ruby
<h0rrorvacui>
nope
<h0rrorvacui>
lol
culturel_ has quit [Client Quit]
<mdev>
for awhile i did lot of stuff in raw javascript, was incredibly dumb given how easy and powerful jquery is, and lets you do so much more with much little effort
jamblack has quit [Quit: jamblack]
robustus has quit [Ping timeout: 245 seconds]
<mdev>
i'm very new to ruby
hogeo has quit [Remote host closed the connection]
clamstar_ has joined #ruby
michaeldeol has joined #ruby
deol has quit [Read error: Connection reset by peer]
robustus has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
haukur has quit []
nhhagen has joined #ruby
mojjojo has joined #ruby
heftig has quit [Quit: Quitting]
nari has joined #ruby
kitak has quit [Read error: Connection reset by peer]
jtal has left #ruby [#ruby]
kitak has joined #ruby
jamblack has joined #ruby
<mdev>
ruby jobs seem to pop up on elance so figured i'd learn the language
nanoyak has joined #ruby
<mdev>
some companies when they get their mind set on ruby, it's all about ruby, I don't really see that much with php
<h0rrorvacui>
I don't know I've seen some php zealots as well. I do believe the cooler looking places to work seem to be node.js/ruby/django shops
<h0rrorvacui>
Besides would you rather look at php or javascript/ruby/python?
heftig has joined #ruby
<h0rrorvacui>
Maybe not good to lump javascript with ruby and python
nhhagen has quit [Ping timeout: 264 seconds]
mojjojo has quit [Quit: mojjojo]
dkamioka has quit [Remote host closed the connection]
jamblack has quit [Client Quit]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkamioka has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
<Zhwazi>
I would much rather learn any of the latter three than the first of the four
jonathanwallace has joined #ruby
michaeldeol has quit [Remote host closed the connection]
hogeo has joined #ruby
jamesaxl_ has quit [Ping timeout: 240 seconds]
joaoh82 has joined #ruby
1JTABLDLJ has joined #ruby
1JTABLDLJ is now known as blarghmatey
dkamioka has quit [Ping timeout: 272 seconds]
yshh has joined #ruby
mikepack has joined #ruby
bklane has joined #ruby
subbyyy_ has joined #ruby
clamstar_ has quit [Quit: Computer has gone to sleep.]
zigomir has joined #ruby
lyanchih has joined #ruby
joaoh82 has quit [Ping timeout: 252 seconds]
mikepack has quit [Ping timeout: 252 seconds]
CaptainJet has quit [Read error: Connection reset by peer]
arrow1 has joined #ruby
mary5030 has quit [Remote host closed the connection]
zigomir has quit [Ping timeout: 252 seconds]
mary5030 has joined #ruby
lupine has quit [Ping timeout: 246 seconds]
CaptainJet has joined #ruby
lyanchih has quit [Quit: lyanchih]
iliketur_ has joined #ruby
ephemerian has quit [Quit: Leaving.]
phipes has joined #ruby
iliketur_ has quit [Client Quit]
mojjojo has joined #ruby
gja has joined #ruby
mary5030 has quit [Remote host closed the connection]
lyanchih has joined #ruby
vlad_starkov has joined #ruby
vpretzel has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
arrow1 is now known as amelia_
carif has joined #ruby
jamesaanderson has joined #ruby
charliesome has joined #ruby
amelia_ is now known as arrow1
lessless has quit [Remote host closed the connection]
Megtastique has joined #ruby
kitak has quit [Remote host closed the connection]
carif has quit [Max SendQ exceeded]
kitak has joined #ruby
tylersmith has quit [Ping timeout: 240 seconds]
vikhyat has joined #ruby
tylersmith has joined #ruby
lessless has joined #ruby
<shevy>
mdev because ruby is elegant
<shevy>
unlike php which is burned spaghetti
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vikhyat_ has quit [Ping timeout: 272 seconds]
mojjojo has quit [Quit: mojjojo]
<h0rrorvacui>
I think you figured out why php is so prolific. It looks like a flying spaghetti monster and therefore people mistook it for a religion.
senj has quit [Quit: so it goes]
arrow1 has left #ruby [#ruby]
<shevy>
hehe
<shevy>
and it's easy to use on the web!
<shevy>
unlike plain ruby out of the box which sucks for the web
<h0rrorvacui>
that too
amacgregor has quit [Read error: Connection reset by peer]
MattStratton has joined #ruby
cow_ has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
cbetta_afk is now known as cbetta
carif has joined #ruby
bklane has quit [Remote host closed the connection]
freerobby has joined #ruby
freerobby has quit [Client Quit]
ambushsabre has joined #ruby
lukec has quit [Quit: lukec]
subbyyy_ has quit [Quit: none 0.4.2]
bklane_ has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Mars` has quit [Remote host closed the connection]
soba has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
gigetoo has quit [Remote host closed the connection]
cbetta is now known as cbetta_afk
Mars` has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mars` has quit [Remote host closed the connection]
nhhagen has joined #ruby
gigetoo has joined #ruby
<shevy>
hmmm
cbetta_afk is now known as cbetta
dkamioka has joined #ruby
psyl0n has joined #ruby
vikhyat_ has joined #ruby
flubba_ has quit [Read error: Connection reset by peer]
nhhagen has quit [Ping timeout: 272 seconds]
bubbajones has quit [Ping timeout: 252 seconds]
flubba has joined #ruby
Hanmac1 has joined #ruby
vikhyat has quit [Ping timeout: 252 seconds]
dkamioka has quit [Read error: No route to host]
dkamioka has joined #ruby
bubbajones has joined #ruby
freerobby has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
Mars` has joined #ruby
dkamioka has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
vikhyat has joined #ruby
bogeyd6 has quit [Ping timeout: 272 seconds]
vikhyat_ has quit [Ping timeout: 248 seconds]
petey has joined #ruby
bogeyd6 has joined #ruby
vlad_starkov has joined #ruby
habhooB is now known as Boohbah
dkamioka has quit [Ping timeout: 264 seconds]
Rylee has quit [Remote host closed the connection]
joaoh82 has joined #ruby
petey has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
jamesaanderson has joined #ruby
nfk has quit [Quit: yawn]
vikhyat_ has joined #ruby
petey has joined #ruby
bklane_ has quit [Remote host closed the connection]
zeropx has quit [Quit: has left the room … Or did he?]
bklane has joined #ruby
joaoh82 has quit [Ping timeout: 246 seconds]
nari has quit [Ping timeout: 248 seconds]
vikhyat has quit [Ping timeout: 240 seconds]
bklane_ has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shedd has joined #ruby
vikhyat has joined #ruby
robert_ has joined #ruby
threesome has quit [Ping timeout: 252 seconds]
bklane has quit [Ping timeout: 240 seconds]
vikhyat_ has quit [Ping timeout: 272 seconds]
robert_ has quit [Max SendQ exceeded]
Rylee has joined #ruby
octoberry has joined #ruby
vpretzel has joined #ruby
gja has joined #ruby
shedd has quit [Ping timeout: 264 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamesaanderson has joined #ruby
vikhyat_ has joined #ruby
vikhyat has quit [Ping timeout: 272 seconds]
Megtastique has quit []
Nss has quit [Ping timeout: 260 seconds]
mercwithamouth has quit [Ping timeout: 240 seconds]
gja has quit [Quit: This computer has gone to sleep]
Mars` has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
nari has joined #ruby
lyanchih has quit [Ping timeout: 240 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
Megtastique has joined #ruby
lyanchih has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
sivsushruth has joined #ruby
jamesaanderson has joined #ruby
nanoyak has joined #ruby
hogeo has quit [Remote host closed the connection]
jaimef_ is now known as jaimef
iliketur_ has joined #ruby
ambushsabre has quit [Quit: rip]
iliketur_ has quit [Client Quit]
psyl0n has quit [Remote host closed the connection]
hogeo has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
Rickmasta has quit [Ping timeout: 246 seconds]
Sthebig has quit [Ping timeout: 245 seconds]
ambushsabre has joined #ruby
nhhagen has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
s2013 has joined #ruby
Sthebig has joined #ruby
petey has quit [Remote host closed the connection]
nhhagen has quit [Ping timeout: 246 seconds]
kitak_ has joined #ruby
Hanmac1 has quit [Ping timeout: 246 seconds]
kitak_ has quit [Remote host closed the connection]
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
mklappstuhl has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
dkamioka has joined #ruby
Rickmasta has joined #ruby
Brolen has joined #ruby
mklappst_ has joined #ruby
vlad_starkov has joined #ruby
mikepack has joined #ruby
mklappstuhl has quit [Ping timeout: 260 seconds]
krakenr has joined #ruby
dkamioka has quit [Ping timeout: 272 seconds]
<krakenr>
I have a question on open uri vs net-http
cj3kim has joined #ruby
mr_snowf1ake has quit [Ping timeout: 252 seconds]
<krakenr>
the headers I'm getting back are different when I use open uri vs net-http; open uri is missing a few headers
lyanchih has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
deol has joined #ruby
Hanmac has joined #ruby
s2013 has quit [Remote host closed the connection]
Brolen has quit [Quit: Brolen]
deol has quit [Ping timeout: 272 seconds]
bogeyd6_ has joined #ruby
ioNull has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bogeyd6 has quit [Ping timeout: 272 seconds]
hogeo has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
hogeo has joined #ruby
falood has joined #ruby
mklappst_ has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
mgberlin has joined #ruby
ioNull has quit [Ping timeout: 240 seconds]
ioNull has joined #ruby
s2013 has joined #ruby
Rickmasta has quit [Ping timeout: 272 seconds]
sivsushruth has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Landshark753 has joined #ruby
Landshark753 has quit [Max SendQ exceeded]
Landshark753 has joined #ruby
Landshark753 has quit [Max SendQ exceeded]
hogeo has quit [Ping timeout: 272 seconds]
Landshark753 has joined #ruby
ioNull has quit [Quit: Computer has gone to sleep.]
banister has quit [Read error: Connection timed out]
nanoyak has quit [Quit: Computer has gone to sleep.]
mgberlin has quit [Quit: mgberlin]
deol has joined #ruby
Rickmasta has joined #ruby
cow_ has quit [Remote host closed the connection]
Megtastique has quit []
deol has quit [Ping timeout: 272 seconds]
mary5030 has joined #ruby
prc has quit [Quit: Leaving.]
phipes has quit [Remote host closed the connection]
hogeo has joined #ruby
iliketur_ has joined #ruby
nhhagen has joined #ruby
mary5030 has quit [Remote host closed the connection]
hogeo has quit [Ping timeout: 240 seconds]
Landshark753 has quit [Read error: No route to host]
primenum has quit [Ping timeout: 240 seconds]
gquental has quit [Read error: Connection reset by peer]
flame_ has quit [Quit: Computer has gone to sleep.]
dkamioka has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
mary5030 has joined #ruby
estebistec has joined #ruby
nisstyre has joined #ruby
psyl0n has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
Brolen has joined #ruby
braincrash has joined #ruby
hogeo has joined #ruby
Landshark753 has joined #ruby
dkamioka has quit [Ping timeout: 272 seconds]
mikepack has quit [Remote host closed the connection]
unstable has joined #ruby
Brolen has quit [Client Quit]
vikhyat has joined #ruby
pleal has joined #ruby
vlad_starkov has joined #ruby
saarinen has joined #ruby
vikhyat_ has quit [Ping timeout: 252 seconds]
phipes has joined #ruby
hogeo has quit [Ping timeout: 272 seconds]
octoberry has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
gquental has joined #ruby
samul has quit [Remote host closed the connection]
kooper has joined #ruby
hogeo has quit [Ping timeout: 240 seconds]
tropicalmug has joined #ruby
agjacome has quit [Ping timeout: 264 seconds]
<kooper>
how do I find out which libraries are being used to compile an rvm installed ruby?
tharindu has joined #ruby
wayt has joined #ruby
stryek has quit [Quit: Leaving]
jamesaanderson has joined #ruby
<jrobeson>
kooper, asking in #rvm would likely get a better response if google doesn't help
phipes has quit [Remote host closed the connection]
cow_ has joined #ruby
osvico has quit []
Fuzai has joined #ruby
<Fuzai>
is there a way to delete the file behind an open file based on its open file handle?
saarinen has quit [Quit: saarinen]
ambushsabre has quit [Quit: rip]
phipes has joined #ruby
hamakn has quit [Remote host closed the connection]
tropicalmug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hamakn has joined #ruby
tyl has joined #ruby
freerobby has quit [Quit: Leaving.]
tropicalmug has joined #ruby
bogeyd6_ has quit [Ping timeout: 240 seconds]
tyl has quit [Client Quit]
saarinen has joined #ruby
phipes has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby
bogeyd6_ has joined #ruby
saarinen has quit [Client Quit]
<unstable>
Fuzai: Are you using temp file? or you just want to delete any file?
<pontiki>
...
Brolen has joined #ruby
mklappstuhl has joined #ruby
<Fuzai>
it's a temp file handle passed to me by sinatra
hamakn has quit [Ping timeout: 240 seconds]
hogeo has quit [Ping timeout: 272 seconds]
<Fuzai>
i want to delete it after i've used it for reading
larissa has quit [Quit: Leaving]
mary5030 has quit [Remote host closed the connection]
clamstar_ has quit [Quit: Computer has gone to sleep.]
aryaching has quit [Ping timeout: 260 seconds]
Kricir has joined #ruby
vlad_starkov has joined #ruby
clamstar_ has joined #ruby
clamstar_ has quit [Max SendQ exceeded]
LexicalScope has quit [Ping timeout: 260 seconds]
vikhyat has quit [Ping timeout: 272 seconds]
clamstar_ has joined #ruby
vikhyat has joined #ruby
mpereira has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
brandonblack has joined #ruby
clamstar_ has quit [Client Quit]
brandonblack has quit [Ping timeout: 272 seconds]
weems has quit [Read error: Connection reset by peer]
mengu has joined #ruby
<mr_snowf1ake>
h0rrorvacui, i'm quoting you on that flying spaghetti monster
<mr_snowf1ake>
comment
<h0rrorvacui>
its public domain :P
<mr_snowf1ake>
and let's ignore the fact that that comment was from hours and hours ago :P
<mr_snowf1ake>
excellent :)
maxmander has quit [Ping timeout: 260 seconds]
levity_island has joined #ruby
mpereira has joined #ruby
lukec has joined #ruby
Vivekananda has quit [Read error: Connection reset by peer]
vikhyat has quit [Remote host closed the connection]
brandonblack has joined #ruby
vlad_starkov has joined #ruby
blarghmatey has quit [Ping timeout: 240 seconds]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyl has joined #ruby
brandonblack is now known as brandonbl
Davey has joined #ruby
maxmanders has joined #ruby
levity_island has quit [Quit: levity_island]
s2013 has left #ruby ["Leaving"]
nisstyre has quit [Quit: Leaving]
bluOxigen has joined #ruby
levity_island has joined #ruby
browndawg1 has joined #ruby
b00stfr3ak has joined #ruby
browndawg has quit [Ping timeout: 252 seconds]
<b00stfr3ak>
I have a class file that will load the appropriate database gem(pg,mysql,sqlite) but when I require './filename' it calls all gems. Is there a way to only call the gem when the class is called?
lukec has quit [Quit: lukec]
OdNairy has joined #ruby
jamesaanderson has joined #ruby
synergy has quit [Read error: Connection reset by peer]
io_syl has joined #ruby
tyl has quit [Ping timeout: 252 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
weems has joined #ruby
tyl has joined #ruby
wiiw has joined #ruby
<wiiw>
a = [Time.now].to_json ; JSON.parse(a).class != Time # why ?
tyl has quit [Ping timeout: 260 seconds]
<wiiw>
a = [Time.now].to_json ; b=JSON.parse(a) ; b[0].class != Time # why ?
<mr_snowf1ake>
wiiw, because the output type of JSON.parse is of type String
<mr_snowf1ake>
are you trying to get a Time object out?
<wiiw>
mr_snowf1ake: yes
DropsOfSerenity has joined #ruby
DropsOfSerenity has quit [Max SendQ exceeded]
<mr_snowf1ake>
a = [Time.now].to_json ; b=Time.new(JSON.parse(a))
<mr_snowf1ake>
sorry, typo
DropsOfSerenity has joined #ruby
<wiiw>
mr_snowf1ake: why use Time.new ?
<mr_snowf1ake>
wiiw: a = [Time.now].to_json ; b=Time.new(JSON.parse(a)[0])
nhhagen has joined #ruby
<mr_snowf1ake>
oh
<mr_snowf1ake>
hmm
<mr_snowf1ake>
that's still wrong
<mr_snowf1ake>
sorry, just tried it, the output was not right... one sec...
dseitz has joined #ruby
petey has joined #ruby
<wiiw>
require 'time' ; Time.parse b[0]
r0bby_ is now known as robbyoconnor
<mr_snowf1ake>
wiiw, sorry, yeah, that's right
<wiiw>
...
<mr_snowf1ake>
:P
vikhyat has joined #ruby
<wiiw>
a = [Time.now].to_yaml ; b = YAML.load a ; b[0].class # guess b[0].class ?
nhhagen has quit [Ping timeout: 246 seconds]
mikepack has quit [Remote host closed the connection]
<wiiw>
b[0].class == Time
itsdavem has joined #ruby
petey has quit [Ping timeout: 240 seconds]
tyl has joined #ruby
itsdavem has quit [Client Quit]
tropicalmug has joined #ruby
<mr_snowf1ake>
but you wouldn't expect that behavior for YAML.parse
h0rrorvacui has quit [Ping timeout: 264 seconds]
andredieb has quit [Remote host closed the connection]
<mr_snowf1ake>
though JSON.load doesn't do that either
Shidash1 has joined #ruby
Shidash has quit [Read error: Connection reset by peer]
DrShoggoth has quit [Ping timeout: 264 seconds]
parduse has joined #ruby
<wiiw>
mr_snowf1ake: JSON.load give me a String , not Time . YAML.load is right.
<mr_snowf1ake>
wiiw, yes
<mr_snowf1ake>
is it just me, or does the documentation for JSON.load makes it seem like it should return a Time object?
<wiiw>
mr_snowf1ake: sure
primenum has joined #ruby
Shidash1 is now known as Shidash
DrShoggoth has joined #ruby
gja has joined #ruby
mobius has quit [Quit: lol dongs]
<mr_snowf1ake>
so wiiw, your original question was with regards to this inconsistency?
SeySayux has quit [Read error: Operation timed out]
randomnick_ has quit [Quit: Leaving]
DrShoggoth has quit [Ping timeout: 248 seconds]
artm has quit [Quit: Ex-Chat]
shredding has joined #ruby
SeySayux has joined #ruby
tspike has quit [Ping timeout: 264 seconds]
tylersmith has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
shredding has quit [Client Quit]
deol has joined #ruby
shredding has joined #ruby
shredding has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
conner has quit [Ping timeout: 248 seconds]
DrShoggoth has quit [Max SendQ exceeded]
DrShoggoth has joined #ruby
wiiw has quit [Remote host closed the connection]
monkegjinni has joined #ruby
deol has quit [Ping timeout: 246 seconds]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
klaut has joined #ruby
charliesome has joined #ruby
DrShoggoth has quit [Max SendQ exceeded]
RoryHughes has quit []
RoryHughes has joined #ruby
b00stfr3ak has quit [Ping timeout: 260 seconds]
RoryHughes has quit [Client Quit]
mengu has quit [Remote host closed the connection]
nhhagen has joined #ruby
petey has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
komodo_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
komodo has quit [Ping timeout: 248 seconds]
ioNull has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
flubba has joined #ruby
petey has quit [Ping timeout: 272 seconds]
wildroman2 has joined #ruby
flubba has quit [Read error: Connection reset by peer]
Elhu has joined #ruby
flubba has joined #ruby
SergeyPenkin has joined #ruby
carraroj has joined #ruby
flubba has quit [Remote host closed the connection]
flubba has joined #ruby
nhhagen has joined #ruby
ewnd9 has joined #ruby
RoryHughes has joined #ruby
joaoh82 has joined #ruby
DrShoggoth has joined #ruby
workmad3 has quit [Ping timeout: 272 seconds]
kung has joined #ruby
rickruby_ has joined #ruby
rickruby has quit []
rickruby_ has quit [Client Quit]
joaoh82 has quit [Ping timeout: 248 seconds]
Alina-malina has quit [Quit: Leaving]
Alina-malina has joined #ruby
claymore has joined #ruby
yshh has quit [Remote host closed the connection]
maoko has joined #ruby
RoryHughes has quit []
claymore has quit [Quit: Leaving]
drumusician has quit [Ping timeout: 246 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
relix has joined #ruby
pleal has joined #ruby
prc has joined #ruby
lyanchih has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Elhu has quit [Quit: Computer has gone to sleep.]
Elhu has joined #ruby
sayan has quit [Ping timeout: 272 seconds]
pleal has quit [Ping timeout: 260 seconds]
Yan__ has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
maoko has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
Seich has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Read error: Connection reset by peer]
deol has joined #ruby
shedd has joined #ruby
kooper has joined #ruby
nari has quit [Ping timeout: 264 seconds]
carraroj has quit [Ping timeout: 264 seconds]
brandonbl has quit [Ping timeout: 240 seconds]
shedd has quit [Ping timeout: 264 seconds]
deol has quit [Ping timeout: 272 seconds]
marr has joined #ruby
kooper has quit [Ping timeout: 272 seconds]
marwinism has quit [Ping timeout: 245 seconds]
marwinism has joined #ruby
brandonblack has joined #ruby
tylersmith has joined #ruby
juarlex has joined #ruby
charliesome has quit [Ping timeout: 240 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
charliesome has joined #ruby
browndawg1 has quit [Ping timeout: 240 seconds]
_bart has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
Steven__ has joined #ruby
<hakunin>
I wonder does ruby have an array method that returns an element you supply if it's in the array or nil? Something like [:foo, :bar].get(:foo) # => :foo, [:foo, :bar].get(:x) # => nil, without the whole [:foo, :bar].find{|e| e == :foo} or :foo if [:foo, :bar].include?(:foo)?
tylersmith has quit [Ping timeout: 264 seconds]
nicoulaj has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
juarlex has quit [Ping timeout: 248 seconds]
<hakunin>
seems too simple an operation for such complex expression…
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
browndawg has joined #ruby
siwica has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
xiphias has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
nhhagen has joined #ruby
ludar has joined #ruby
wildroman2 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
joaoh82 has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
falood has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
falood has joined #ruby
DrShoggoth has quit [Ping timeout: 252 seconds]
io_syl has quit []
<SergeyPenkin>
What is bundler setup? I am trying to run an application on RoR and getting the error 'cannot load such file -- bundler/setup'
vlad_starkov has joined #ruby
<SergeyPenkin>
I am a newbie in Ruby, please do not throw feces at me.
joaoh82 has quit [Ping timeout: 272 seconds]
DropsOfSerenity has quit [Quit: Peace.]
<Hanmac>
SergeyPenkin: #bundler #rubyonrails
falood has quit [Ping timeout: 272 seconds]
komodo_ has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cow_ has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
OdNairy has joined #ruby
mojjojo has joined #ruby
randomnick_ has joined #ruby
randomnick_ has quit [Client Quit]
nanoyak has joined #ruby
Kricir has quit [Remote host closed the connection]
nhhagen has quit [Remote host closed the connection]
marr has quit []
RoryHughes has joined #ruby
DrShoggoth has joined #ruby
Kricir has joined #ruby
Nss has joined #ruby
phipes has joined #ruby
kitak has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
kitak has joined #ruby
spider-mario has joined #ruby
siwica has quit [Quit: siwica]
nari has joined #ruby
siwica has joined #ruby
Deele has joined #ruby
monkegjinni has joined #ruby
levity_island has quit [Quit: levity_island]
shevy has quit [Ping timeout: 272 seconds]
mklappst_ has joined #ruby
Kricir has quit [Remote host closed the connection]
monkegjinni has quit [Client Quit]
mklappstuhl has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
jibi has quit [Quit: bb.]
RoryHughes has quit []
maoko has joined #ruby
shedd has joined #ruby
mojjojo has quit [Quit: mojjojo]
deol has joined #ruby
Shidash4 has quit [Ping timeout: 246 seconds]
Jetchisel has joined #ruby
DrShoggoth has quit [Ping timeout: 259 seconds]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
shedd has quit [Ping timeout: 264 seconds]
jamesaanderson has joined #ruby
deol has quit [Ping timeout: 240 seconds]
jibi has joined #ruby
lyanchih has quit [Ping timeout: 272 seconds]
cbetta_afk is now known as cbetta
DrShoggoth has joined #ruby
robbyoconnor has quit [Ping timeout: 264 seconds]
robbyoconnor has joined #ruby
dyellowhelll has joined #ruby
dyellowhelll is now known as ludarr
ludar has quit [Ping timeout: 240 seconds]
Elhu has joined #ruby
shevy has joined #ruby
Seich has joined #ruby
kitak_ has joined #ruby
<shevy>
test
<alexherbo2>
is there an equivalent of Regexp#scan which returns MatchData llist, instead of String llist?
petey has joined #ruby
<shevy>
SergeyPenkin are you a human being
<shevy>
alexherbo2 hmm how about using []
RoryHughes has joined #ruby
<SergeyPenkin>
shevy, are you a gay?
<DouweM>
SergeyPenkin: mind your manners
<shevy>
though actually
<shevy>
that won't return an array
<shevy>
probably there is not
<shevy>
SergeyPenkin oh I just wondered because you keep on adding "I am a newbie"
kitak has quit [Ping timeout: 245 seconds]
Seich has quit [Ping timeout: 240 seconds]
RoryHughes has quit [Max SendQ exceeded]
<SergeyPenkin>
DouweM, what's the matter? I am just asking.
RoryHughes has joined #ruby
<SergeyPenkin>
Don't tell me about manner.
<DouweM>
SergeyPenkin: I doubt you were actually interested in shevy's sexuality
<apeiros_unid>
I never knew my password. That's what I have a keychain for. But my laptop with the keychain on it is currently in repair and the backup is a bit difficult to access ATM.
mojjojo has quit [Quit: mojjojo]
mojjojo has joined #ruby
joaoh82 has quit [Ping timeout: 274 seconds]
wildroman2 has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 272 seconds]
Faris has quit [Ping timeout: 248 seconds]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
flubba has quit [Remote host closed the connection]
flubba has joined #ruby
jgrevich has quit [Quit: jgrevich]
ludar has joined #ruby
robertjpayne has left #ruby [#ruby]
ludarr has quit [Ping timeout: 272 seconds]
flubba has quit [Ping timeout: 272 seconds]
flubba_ has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
drago777 has quit [Ping timeout: 240 seconds]
drago777- has joined #ruby
nhhagen has joined #ruby
nhhagen has quit [Read error: No buffer space available]
nhhagen has joined #ruby
DrShoggoth has quit [Ping timeout: 272 seconds]
cow_ has joined #ruby
noop has joined #ruby
mjburgess has joined #ruby
johnmilton has joined #ruby
cow_ has quit [Ping timeout: 272 seconds]
cow_ has joined #ruby
agjacome has joined #ruby
noop has quit [Ping timeout: 264 seconds]
mjburgess` has joined #ruby
mjburgess has quit [Disconnected by services]
noop has joined #ruby
mjburgess` is now known as mjburgess
DrShoggoth has joined #ruby
agjacome has quit [Ping timeout: 248 seconds]
agjacome has joined #ruby
deol has joined #ruby
_bart has quit [Remote host closed the connection]
Jake232_ has joined #ruby
Jake232_ has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
deol has quit [Ping timeout: 272 seconds]
mjburgess has quit [Ping timeout: 240 seconds]
ludarr has joined #ruby
yshh has joined #ruby
Spami has joined #ruby
lessless has quit [Ping timeout: 240 seconds]
kitak_ has quit [Remote host closed the connection]
<Hanmac>
you dont need self. at this place but it does not hurt
Spami has joined #ruby
<Hanmac>
apeiros_unid: i think MatchData#captures is broken when a regexp has both named and unnamed capture groups
Nahra has joined #ruby
DrShoggoth has joined #ruby
deol has quit [Ping timeout: 272 seconds]
eka has joined #ruby
hogeo has quit [Remote host closed the connection]
kep has joined #ruby
flubba_ has quit [Write error: Broken pipe]
Spami has quit [Quit: This computer has gone to sleep]
<shevy>
anyone of you being a super good user of sublime text
flubba has joined #ruby
petey has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
noop has quit [Ping timeout: 240 seconds]
<DouweM>
shevy: I'm definitely not, but what's your question?
wildroman2 has joined #ruby
DrShoggoth has quit [Ping timeout: 264 seconds]
<shevy>
DouweM I need a smart guy using sublime ;) I need to estimate whether switching to another editor is worth it. my current one is rather limited, it's now becoming clearer when I want to edit large files with parsing of the buffer and assigning colours to that buffer - a file with like 12.000 lines, a total of 1.2 MB, takes about ... 20 seconds to load up
ss_ has joined #ruby
<pontiki>
you are editing a 1.2 MB file??
<pontiki>
why?
<pontiki>
no editor is going to work with that quickly
<shevy>
pontiki man please
<shevy>
pontiki vim loads up like instantly
<shevy>
and my editor does the same if the colour parsing isn't enabled
<pontiki>
vim is loading a fraction
<shevy>
please man
flubba has quit [Ping timeout: 240 seconds]
wayt has quit [Remote host closed the connection]
<yxhuvud>
emacs handles that fine as long as it is not on one long line.
psyl0n has joined #ruby
petey has quit [Ping timeout: 272 seconds]
<yxhuvud>
actually 1mb is probably not big enough to be really troublesome.
phipes has quit [Read error: Connection reset by peer]
apeiros_unid has quit [Remote host closed the connection]
shime has joined #ruby
pitcavage has joined #ruby
<shevy>
DouweM what editor are you using when modifying ruby files?
<DouweM>
shevy: Sublime
<DouweM>
shevy: I never have to work with 1.2MB files though, so I have no idea how it would perform in that situation
lessless has quit [Ping timeout: 240 seconds]
<shevy>
hehe... I also have another one that is 14M
<DouweM>
what the hell kind of files are you working with?
<shevy>
all of them!
<shevy>
there are small ones and large ones
<shevy>
actually, the 14MB one is a log file
lessless has joined #ruby
<shevy>
the 1.2 one is a ruby module which gets auto-populated with new data
tkuchiki has quit [Remote host closed the connection]
tyl has quit [Ping timeout: 260 seconds]
<DouweM>
shevy: wait, you have a .rb file that is autopopulated with new data? Why are you storing the data inside the file? Why not use a different file or even a database?
<shevy>
how would you get the data again?
nhhagen has quit [Remote host closed the connection]
shime has quit [Ping timeout: 240 seconds]
tyl has joined #ruby
<DouweM>
shevy: read the file using Ruby? I would really need to see an example though
nhhagen has joined #ruby
<shevy>
DouweM you mean with File.readlines() ?
<DouweM>
or any other File method
DrShoggoth has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
_5kg has quit [Ping timeout: 246 seconds]
<shevy>
hmm one problem is that the file is split up into several sub-categories so I would have to manually parse the data that any File method would give me
_5kg has joined #ruby
tatsu has quit [Quit: Konversation terminated!]
<shevy>
and if I would use something like sqlite, I would lose the ability to modify that file directly in an editor. It does not only get autopopulated sometimes, I also sometimes manually modify it
nhhagen has quit [Ping timeout: 252 seconds]
Czupa has joined #ruby
nhhagen has joined #ruby
stardivi` has joined #ruby
ambushsabre has joined #ruby
psyl0n has quit [Remote host closed the connection]
browndawg has joined #ruby
hogeo has joined #ruby
tyl has quit [Ping timeout: 248 seconds]
stardiviner has quit [Ping timeout: 272 seconds]
zigomir has joined #ruby
RoryHughes has quit []
RoryHughes has joined #ruby
RoryHughes has quit [Client Quit]
kep has quit [Quit: WeeChat 0.4.2]
stardivi` has quit [Ping timeout: 248 seconds]
tyl has joined #ruby
hogeo has quit [Ping timeout: 240 seconds]
lyanchih has joined #ruby
cusco has left #ruby [#ruby]
Xeago has joined #ruby
Nss has quit [Read error: Operation timed out]
Guedes0 has joined #ruby
zigomir has quit [Remote host closed the connection]
psyl0n has joined #ruby
Guedes0 has left #ruby [#ruby]
Steven__ has quit [Remote host closed the connection]
sickweezle has quit [Ping timeout: 240 seconds]
sickweezle has joined #ruby
DrShoggoth has quit [Ping timeout: 264 seconds]
Brolen has joined #ruby
sickweezle is now known as Guest48494
DrShoggoth has joined #ruby
siwica has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
nhhagen has quit [Remote host closed the connection]
Brolen has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
deol has joined #ruby
bnjamin has joined #ruby
hogeo has joined #ruby
<kure>
Damn, I'm running ruby 1.9.1 on Windows and even when requiring 'net/http' it gives this shitty NameError on Net::ReadTImeout
<kure>
Linux/MacOSX works alright
deol has quit [Ping timeout: 240 seconds]
popl has quit [Ping timeout: 264 seconds]
lyanchih has quit [Quit: lyanchih]
vikhyat has joined #ruby
lyanchih has joined #ruby
hogeo has quit [Ping timeout: 272 seconds]
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
Megtastique has joined #ruby
juarlex has joined #ruby
m8 has joined #ruby
drago777- has quit [Ping timeout: 240 seconds]
drago777 has joined #ruby
klaut has quit [Remote host closed the connection]
kooper has joined #ruby
nhhagen has joined #ruby
Megtastique has quit [Client Quit]
juarlex has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 272 seconds]
Megtastique has joined #ruby
Megtastique has quit [Client Quit]
mengu has quit [Remote host closed the connection]
ambushsabre has quit [Quit: rip]
mengu has joined #ruby
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrShoggoth has quit [Ping timeout: 240 seconds]
gja has joined #ruby
agjacome_ has joined #ruby
nhhagen has quit [Ping timeout: 248 seconds]
Xeago has joined #ruby
hogeo has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
agjacome has quit [Ping timeout: 264 seconds]
hogeo has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
tangrim has joined #ruby
<tangrim>
hey folks...is there any good docu / tutorial for ajax on rails ?
Xeago has quit [Ping timeout: 272 seconds]
wildroman2 has quit [Remote host closed the connection]
nomenkun has joined #ruby
Xeago has joined #ruby
bnjamin has quit [Remote host closed the connection]
aryaching has joined #ruby
bnjamin has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
Hanmac has joined #ruby
vlad_starkov has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
Hanmac1 has quit [Ping timeout: 252 seconds]
<Hanmac>
tangrim: #rubyonrails
bluOxigen has quit [Ping timeout: 252 seconds]
<tangrim>
Hanmac: i asked there no reply yet
SergeyPenkin has quit [Ping timeout: 264 seconds]
<Hanmac>
kure show me your gist, and compare the versions from windows and the other, maybe the linux version is newer than the windows one?
vikhyat_ has joined #ruby
pagios has quit [Quit: I'm using a Free IRC Bouncer from BNC4FREE - http://bnc4free.com/]
<kure>
Hanmac, thanks for the attention! It's the same version - I'm making a gem `quickpress` and the Net part works fine there. I'll go grab it
pagioss has joined #ruby
<Hanmac>
kure: are you sure about the version? try "ruby -v"
vikhyat has quit [Ping timeout: 248 seconds]
<kure>
Hanmac, you were right! On linux is 2.0.0 and on windows is 1.9.3
<Hanmac>
tangrim: and why do you think that we have earlier answers? its like asking about "green" in the "#green" channel and then ask in the "#red" channel because the other didnt answer fast enough :-
Seich has quit [Quit: Computer has gone to sleep.]
jamesaanderson has quit [Max SendQ exceeded]
juarlex has joined #ruby
ludar has quit [Ping timeout: 264 seconds]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
jamesaanderson has quit [Client Quit]
ludar has joined #ruby
nhhagen has joined #ruby
juarlex has quit [Ping timeout: 260 seconds]
primenum has quit [Ping timeout: 264 seconds]
pyrac has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
gja has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
mjburgess has joined #ruby
gja has quit [Client Quit]
mojjojo has quit [Quit: mojjojo]
habanany has quit [Ping timeout: 264 seconds]
mojjojo has joined #ruby
freerobby has joined #ruby
tspike has quit [Ping timeout: 248 seconds]
alexherbo2 has joined #ruby
zoldar has left #ruby [#ruby]
Speed has joined #ruby
mojjojo has quit [Client Quit]
levity_island has joined #ruby
mojjojo has joined #ruby
hogeo has joined #ruby
Spami has joined #ruby
mojjojo has quit [Client Quit]
vlad_starkov has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
Elhu has joined #ruby
hogeo has quit [Ping timeout: 272 seconds]
drago777 has joined #ruby
sailias has quit [Ping timeout: 260 seconds]
ludarr has joined #ruby
ludar has quit [Ping timeout: 272 seconds]
Steven_ has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
TomRone has joined #ruby
Monie has joined #ruby
DouweM has quit [Read error: Connection reset by peer]
ace_striker has quit [Ping timeout: 272 seconds]
jamesaxl has joined #ruby
cbetta_afk is now known as cbetta
Steven_ has quit [Ping timeout: 272 seconds]
clamstar_ has joined #ruby
wildroman2 has quit [Remote host closed the connection]
joschi has quit [Ping timeout: 265 seconds]
ludarr has quit [Read error: No buffer space available]
dkamioka has quit [Remote host closed the connection]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
tylersmith has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
shime has joined #ruby
joschi has joined #ruby
zigomir has joined #ruby
clamstar_ has quit [Quit: Computer has gone to sleep.]
kep has joined #ruby
Hanmac has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
cbetta is now known as cbetta_afk
freerobby has quit [Quit: Leaving.]
Spami has quit [Quit: This computer has gone to sleep]
ringaroses has quit [Ping timeout: 260 seconds]
drago777 has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
Neomex has quit [Quit: Neomex]
zigomir has quit [Ping timeout: 260 seconds]
ringaroses has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
boboc has joined #ruby
deol has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
deol has quit [Ping timeout: 246 seconds]
yshh has joined #ruby
jonathanwallace1 has joined #ruby
Asher1 has joined #ruby
Asher has quit [Ping timeout: 252 seconds]
jonathanwallace has quit [Ping timeout: 272 seconds]
Neomex has joined #ruby
clamstar_ has joined #ruby
waxjar_ is now known as waxjar
Spami has joined #ruby
nhhagen has joined #ruby
kate_r has joined #ruby
<kate_r>
with oauth2, would it be relevant if the API is to be used by the developer's own app? that is, client ID would seem to be redundant because there's only one available client. is oauth2 needed if the client is to be trusted?
Spami has quit [Max SendQ exceeded]
dkamioka has joined #ruby
clamstar_ has quit [Ping timeout: 264 seconds]
drumusician has joined #ruby
nhhagen has quit [Ping timeout: 246 seconds]
iliketur_ has joined #ruby
iliketur_ has quit [Max SendQ exceeded]
dkamioka has quit [Read error: Connection reset by peer]
Monie has quit [Remote host closed the connection]
dkamioka has joined #ruby
Monie has joined #ruby
iliketur_ has joined #ruby
clamstar_ has joined #ruby
dkamioka has quit [Read error: No route to host]
jonathanwallace1 has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
wildroman3 has joined #ruby
Asher1 has quit [Quit: Leaving.]
Asher has joined #ruby
hogeo has joined #ruby
wildroman2 has quit [Ping timeout: 252 seconds]
bluOxigen has joined #ruby
havenwood has quit [Remote host closed the connection]
thebigshow has quit [Read error: Connection reset by peer]
wildroman3 has quit [Ping timeout: 248 seconds]
dkamioka has quit [Ping timeout: 264 seconds]
drumusician has quit [Ping timeout: 272 seconds]
Norrin has quit [Excess Flood]
vlad_starkov has joined #ruby
shedd has joined #ruby
thebigshow has joined #ruby
Dysruption has joined #ruby
hogeo has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
fire has quit [Quit: WeeChat 0.4.1]
snath has quit [Ping timeout: 246 seconds]
clamstar_ has quit [Quit: Computer has gone to sleep.]
carraroj has joined #ruby
Norrin has joined #ruby
thebigshow has quit [Read error: Connection reset by peer]
zigomir has quit [Ping timeout: 252 seconds]
shedd has quit [Ping timeout: 272 seconds]
SHyx0rmZ has joined #ruby
johnmilton has quit [Remote host closed the connection]
nanoyak has joined #ruby
clamstar_ has joined #ruby
LaPetiteFromage has joined #ruby
Guest48494 is now known as sickweezle
Olipro has joined #ruby
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
joaoh82 has quit [Remote host closed the connection]
cbetta_afk is now known as cbetta
freerobby has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
clamstar_ has quit [Quit: Computer has gone to sleep.]
flubba has quit [Remote host closed the connection]
flubba has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
freerobby1 has quit [Ping timeout: 240 seconds]
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
clamstar_ has joined #ruby
clamstar_ has quit [Client Quit]
Mars` has joined #ruby
Hanmac1 has quit [Ping timeout: 248 seconds]
Hanmac has joined #ruby
flubba has quit [Ping timeout: 240 seconds]
carraroj has quit [Quit: Konversation terminated!]
vlad_starkov has quit [Read error: Connection reset by peer]
mjburgess has quit [Remote host closed the connection]
BifMeister has joined #ruby
NorrinRadd has joined #ruby
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
deol has joined #ruby
Norrin has quit [Quit: Deuces!]
NorrinRadd is now known as Norrin
samsonasu has quit [Quit: samsonasu]
Dysruption has quit [Quit: Dysruption]
CaptainJet has joined #ruby
havenwood has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
wildroman2 has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
DrShoggoth has quit [Ping timeout: 272 seconds]
deol has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Quit: WeeChat 0.4.2]
RoryHughes has quit []
Dysruption has joined #ruby
Jake232_ has joined #ruby
juarlex has joined #ruby
cj3kim has joined #ruby
RoryHughes has joined #ruby
LaPetiteFromage has quit [Ping timeout: 272 seconds]
DrShoggoth has joined #ruby
juarlex has quit [Ping timeout: 246 seconds]
nhhagen has joined #ruby
joaoh82 has joined #ruby
havenwood has quit [Remote host closed the connection]
deol has joined #ruby
joaoh82 has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
jgrevich has joined #ruby
nhhagen_ has joined #ruby
skaflem has quit [Quit: Leaving]
DrShoggoth has quit [Ping timeout: 240 seconds]
nhhagen has quit [Ping timeout: 246 seconds]
dkamioka has joined #ruby
h0rrorvacui has joined #ruby
etel has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
Neomex has quit [Quit: Neomex]
dkamioka has quit [Ping timeout: 252 seconds]
Steven_ has joined #ruby
hogeo has joined #ruby
mgberlin has joined #ruby
Steven_ has quit [Read error: Operation timed out]
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
hogeo has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
shedd has joined #ruby
prc has joined #ruby
bnjamin has quit [Remote host closed the connection]
bnjamin has joined #ruby
pleal has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
shedd has quit [Ping timeout: 246 seconds]
DrShoggoth has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
cbetta is now known as cbetta_afk
DrShoggoth has quit [Excess Flood]
atmosx has joined #ruby
DrShoggoth has joined #ruby
Olipro has quit [Ping timeout: 246 seconds]
alexherbo2 has joined #ruby
flubba has joined #ruby
<lewix>
merry christmas
deol has quit [Remote host closed the connection]
Olipro has joined #ruby
iliketur_ has joined #ruby
deol has joined #ruby
bobdobbs has quit [Read error: Connection reset by peer]
Seich has quit [Quit: Computer has gone to sleep.]
cape2005 has left #ruby [#ruby]
jamesaxl_ has joined #ruby
joaoh82 has quit [Ping timeout: 248 seconds]
iliketur_ has quit [Client Quit]
jamesaxl has quit [Ping timeout: 272 seconds]
cj3kim has quit [Remote host closed the connection]
moses has joined #ruby
DrShoggoth has quit [Ping timeout: 272 seconds]
m-o-s has joined #ruby
cbetta_afk is now known as cbetta
dkamioka has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.2]
postmodern has joined #ruby
bnjamin has joined #ruby
Mars` has joined #ruby
DrShoggoth has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
hogeo has quit [Ping timeout: 272 seconds]
LexicalScope has quit [Ping timeout: 272 seconds]
CaptainJet has quit [Read error: Connection reset by peer]
p8952 has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 272 seconds]
DrShoggoth has quit [Ping timeout: 252 seconds]
CaptainJet has joined #ruby
Solnse has joined #ruby
pskosinski has quit [Remote host closed the connection]
Mars` has quit [Ping timeout: 252 seconds]
andyd has left #ruby [#ruby]
ringaroses has quit [Quit: Leaving]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deol has joined #ruby
pyrac has quit [Quit: pyrac]
DrShoggoth has joined #ruby
<shevy>
any of you guys here using ruby-gnome?
klaut has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Steven_ has joined #ruby
deol has quit [Ping timeout: 240 seconds]
reach has joined #ruby
lkba has joined #ruby
p8952 has joined #ruby
klaut has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
nicoulaj has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
lukec has joined #ruby
pskosinski has joined #ruby
<unstable>
shevy: nope, I looked into ruby bindings for fun. Though it seems like the lag to keep up with the latest widget libraries is too high.
Czupa has quit [Ping timeout: 260 seconds]
<unstable>
My suspicion is you need to pick a library/binding set that is widely used, by a main stream/reputable source.. to guarantee your project components don't go defunkt.
shime has quit [Ping timeout: 260 seconds]
<unstable>
eg, pygtk/pyqt are in ubuntu by default iirc. So those are likely to live on for awhile.
mrnugget has quit [Quit: mrnugget]
<unstable>
I don't even think anything in the default ubuntu relies on ruby
<unstable>
I think that doesn't use the latest version of qt last I checked.
aspires has joined #ruby
<unstable>
versus pyqt which has qt4 and qt5, iirc.
<shevy>
yeah unstable
colonolGron has quit [Ping timeout: 240 seconds]
allsystemsarego has quit [Quit: Leaving]
colonolGron has joined #ruby
<unstable>
pyqt won wrt the network effect afaict
DrShoggoth has quit [Ping timeout: 272 seconds]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
<shevy>
:(
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
workmad3 has joined #ruby
jamesaanderson has joined #ruby
sheap has joined #ruby
abyss__ has joined #ruby
canton7 has quit [Remote host closed the connection]
abyss__ has left #ruby [#ruby]
DrShoggoth has joined #ruby
canton7 has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
juarlex has joined #ruby
workmad3 has joined #ruby
jamesaxl_ has quit [Remote host closed the connection]
jamesaxl has joined #ruby
klaut has joined #ruby
zigomir has joined #ruby
aryko has left #ruby [#ruby]
aryko has joined #ruby
ambushsabre has joined #ruby
juarlex has quit [Ping timeout: 248 seconds]
vlad_sta_ has joined #ruby
sheap has quit [Quit: leaving]
vlad_starkov has quit [Ping timeout: 240 seconds]
rationalrevolt has joined #ruby
ambushsabre has quit [Client Quit]
m-o-s_ has joined #ruby
dkamioka has joined #ruby
nanoyak has joined #ruby
aspires has quit []
pskosinski has quit [Remote host closed the connection]
alex88 has joined #ruby
michael_____ has quit [Quit: michael_____]
ambushsabre has joined #ruby
kep has quit [Ping timeout: 264 seconds]
m-o-s has quit [Ping timeout: 252 seconds]
<alex88>
hi guys, I've this line googleResponse.answer.map { |answer| answer[2].kind_of? IN::A ? answer[2].address.to_s : answer[2].to_s } and I'm getting undefined method `address' for #<Resolv::DNS::Resource::IN::CNAME>, why is it calling address for the class which isn't an IN::A?
kep has joined #ruby
m-o-s_ has quit [Ping timeout: 252 seconds]
pskosinski has joined #ruby
dkamioka has quit [Ping timeout: 240 seconds]
nhhagen_ has quit [Remote host closed the connection]
jamesaxl has quit [Ping timeout: 240 seconds]
jamesaxl has joined #ruby
hogeo has joined #ruby
<pontiki>
alex88: it's not
<alex88>
pontiki: now I'm getting kind_of?': class or module required (TypeError) on a Resolv::DNS::Resource::IN::A object, maybe I'm confused about some things :D
<pontiki>
but i'd throw some parents around the kind_of? argument
io_syl has quit []
<pontiki>
so: kind_of?(IN::A)
aryko has quit [Quit: aryko]
<pontiki>
i think you're getting an operator precedence syntax error
CaptainJet has quit [Remote host closed the connection]
<alex88>
you are right man
<alex88>
that worked perfectly ;)
<alex88>
thanks a lot!
<pontiki>
parens* .. not parents :) lol
nanoyak has quit [Quit: Computer has gone to sleep.]
CaptainJet has joined #ruby
<shevy>
so you throw your parents around
<shevy>
rather brutal of you man
<pontiki>
blv i just corrected that girl
<alex88>
lol
hogeo has quit [Ping timeout: 272 seconds]
Xeago has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
lkba has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
aspires has joined #ruby
ambushsabre has quit [Quit: rip]
ozkan has joined #ruby
Hanmac1 has joined #ruby
bbloom has joined #ruby
kep has quit [Quit: WeeChat 0.4.2]
drumusician has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
Mars` has joined #ruby
pleal has quit [Quit: Leaving...]
emocakes has joined #ruby
nhhagen has joined #ruby
<shevy>
Hanmac1, why aren't you using ruby-gnome btw? or rather why are you using wxwidgets
<shevy>
ack
<Hanmac1>
i dont remember the reason anymore ...
<shevy>
rubyforge.org
<shevy>
"RubyForge will be shutting down on May 15 2014."
<emocakes>
merry xmas shevy <3
<shevy>
hey emocakes
<shevy>
merry emoxmas!
<emocakes>
n'awww
marr has joined #ruby
Speed has joined #ruby
io_syl has joined #ruby
io_syl has quit [Max SendQ exceeded]
io_syl has joined #ruby
<shevy>
in australia presents are brought not by santa but by kangaroos right?
<emocakes>
what do you mean in australia?
<emocakes>
isnt it that way everywhere else?
<emocakes>
:o
tyl has joined #ruby
agjacome_ has quit [Quit: leaving]
p8952 has quit [Ping timeout: 264 seconds]
<shevy>
no ... in europe they dress up old fat hobos as santas and send them around town ... :P
<emocakes>
ohh
jamesaxl has quit [Read error: Connection reset by peer]
Elhu has quit [Quit: Computer has gone to sleep.]
<shevy>
how do you guys document a method in a .rb file
<havenwood>
shevy: with the code itself
<havenwood>
:P
vlad_sta_ has quit [Remote host closed the connection]
drumusician has quit [Read error: Connection reset by peer]
<shevy>
yeah, I meant
jamesaxl has joined #ruby
nhhagen has quit [Remote host closed the connection]
drumusician has joined #ruby
<shevy>
do you use something like a standard template? some convention? like "title of the method first, synopsis of arguments + explanation next, finally the description of what it does, then a newline or decorator"
<havenwood>
Nowaker: Are you sure you're in 2.1 not 1.8? :P
<havenwood>
Nowaker: RUBY_VERSION
shime has joined #ruby
mojjojo has joined #ruby
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
Pradyumna has joined #ruby
<havenwood>
Nowaker: It does work in 2.1 but you'd expect the error you got in 1.8.
Pradyumna has left #ruby [#ruby]
n88 has quit [Changing host]
n88 has joined #ruby
rubydubee_ has joined #ruby
alex88 has quit [Quit: Leaving...]
vlad_starkov has quit [Remote host closed the connection]
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
<Nowaker>
havenwood: actually, it works, just checked it. but when I check the source of ConditionVariable, I clearly see this: def wait(timeout = nil)