<Blizzy>
I mean, what does the POST request look like.
yetanotherdave has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Remote host closed the connection]
<shevy>
you do this in your .rb file or?
<shevy>
sinatra has "get" and "post"
tkuchiki has joined #ruby
<shevy>
post '/' do
<shevy>
"Triggered via POST"
<shevy>
end
<shevy>
have you blindly been simply typing Post in irb
Braislav has left #ruby [#ruby]
<shevy>
and then concluded that it does not work ;)
<shevy>
by the way, the default convention is
<shevy>
name of project here
Kilo`byte has joined #ruby
<Blizzy>
I meant the POST request of the bot.
<shevy>
name of project <-- as constant
<shevy>
POST request of the bot?
ghr has quit [Ping timeout: 264 seconds]
<Blizzy>
how does the bot retrieve the information of the eval.in website?
byprdct has quit [Read error: Connection reset by peer]
lemur has quit [Ping timeout: 265 seconds]
lemur has joined #ruby
aspires has quit []
jasooon has joined #ruby
User458764 has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lewix has joined #ruby
<benzrf>
Blizzy: it made by same guy
byprdct has joined #ruby
IceDragon has joined #ruby
<Blizzy>
oh ok.
adamnbowen has joined #ruby
Phonetiki has joined #ruby
User4587_ has quit [Ping timeout: 245 seconds]
<Phonetiki>
rehi
tvw has quit []
lemur has quit [Ping timeout: 244 seconds]
billy_ran_away is now known as billy_wants_in_g
billy_wants_in_g is now known as billy_likes_git
lemur has joined #ruby
bricker`work has quit [Ping timeout: 258 seconds]
Boohbah has joined #ruby
hmsimha has quit [Ping timeout: 240 seconds]
Vezz has joined #ruby
bricker`work has joined #ruby
moritzs has joined #ruby
Lewix has quit [Remote host closed the connection]
byprdct_ has joined #ruby
byprdct_ has quit [Max SendQ exceeded]
Lewix has joined #ruby
byprdct_ has joined #ruby
User4587_ has joined #ruby
bricker`work has quit [Ping timeout: 250 seconds]
omosoj has quit [Ping timeout: 250 seconds]
fabrice31 has joined #ruby
bruno- has joined #ruby
byprdct has quit [Ping timeout: 264 seconds]
Phonetiki has quit [Quit: Disconnected]
rpag has quit [Ping timeout: 245 seconds]
crazydiamond has quit [Ping timeout: 264 seconds]
adamnbowen has quit [Read error: Connection reset by peer]
omosoj has joined #ruby
iliketurtles has joined #ruby
billy_likes_git has left #ruby ["Textual IRC Client: www.textualapp.com"]
lemur has quit [Ping timeout: 265 seconds]
PanPan has joined #ruby
User458764 has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
Lewix has quit [Ping timeout: 256 seconds]
Channel6 has quit [Quit: Leaving]
renderful has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
bruno- has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
jimbach has joined #ruby
tkuchiki has joined #ruby
iliketurtles has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
narcan has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renderful has quit [Ping timeout: 255 seconds]
porfa has joined #ruby
User458764 has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
hamakn has joined #ruby
Lewix has joined #ruby
yfeldblum has joined #ruby
User4587_ has quit [Ping timeout: 244 seconds]
ChiyoOoOoOoOo has joined #ruby
iliketur_ has joined #ruby
<porfa>
hello, im new to scripting and im wondering how i can run a ruby script and send a parameter with it, like “test.rb www.site.com” ? currently im editing the script everytime i need to change the “ url = ‘www.site.com’
fuhgeddaboudit has joined #ruby
<pipework>
porfa: Look at ARGV
<porfa>
thank you!
iliketurtles has quit [Ping timeout: 256 seconds]
iliketur_ has quit [Remote host closed the connection]
iliketurtles has joined #ruby
graydot has quit [Quit: graydot]
Takle has quit [Remote host closed the connection]
dgpalmer has joined #ruby
dgpalmer has left #ruby [#ruby]
yakko has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
iliketurtles has quit [Client Quit]
lw has quit [Quit: s]
yakko has joined #ruby
User4587_ has joined #ruby
lemur has joined #ruby
davasaurous has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
patrick99e99 has joined #ruby
charliesome has joined #ruby
wallerdev has quit [Quit: wallerdev]
DrCode has quit [Ping timeout: 246 seconds]
Takle has quit [Remote host closed the connection]
yakko has quit [Read error: Connection reset by peer]
Vezz has quit [Ping timeout: 256 seconds]
DrCode has joined #ruby
yakko has joined #ruby
robbyoconnor has joined #ruby
Channel6 has joined #ruby
djbkd has quit [Quit: My people need me...]
bmurt has quit []
lemur has quit [Ping timeout: 265 seconds]
lampd1 has joined #ruby
Joufflu has joined #ruby
marr has quit [Ping timeout: 256 seconds]
lemur has joined #ruby
Spami has joined #ruby
Mia has quit [Read error: Connection reset by peer]
chrishough has joined #ruby
rshetty has quit [Remote host closed the connection]
dkb20k has joined #ruby
Mia has joined #ruby
User458764 has joined #ruby
rshetty has joined #ruby
starless has joined #ruby
Hijiri has quit [Ping timeout: 244 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
omosoj has quit [Quit: leaving]
User4587_ has quit [Ping timeout: 258 seconds]
Hijiri has joined #ruby
Joufflu is now known as diiot
diiot is now known as Joufflu
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
robustus has quit [Read error: Connection reset by peer]
ghr has joined #ruby
lemur has quit [Ping timeout: 265 seconds]
lemur has joined #ruby
<shevy>
ok
<shevy>
I'm gonna install ruby on a windows machine soon!!!
Hijiri has quit [Ping timeout: 260 seconds]
Lewix has quit [Ping timeout: 255 seconds]
rshetty has quit [Remote host closed the connection]
<postmodern>
oh i think another middleware is logging them
michaeldeol has joined #ruby
<shevy>
aha!
<shevy>
an intercepter!
<shevy>
kill that bastard
VanillaGoat__ has quit [Ping timeout: 255 seconds]
nonks has quit [Ping timeout: 246 seconds]
jimbach has joined #ruby
User458764 has joined #ruby
optiz0r has quit [Ping timeout: 258 seconds]
adriancb has joined #ruby
c0rn has joined #ruby
User4587_ has quit [Ping timeout: 250 seconds]
<shevy>
postmodern what are you building with sinatra?
sailias has quit [Quit: Leaving.]
abuzze has joined #ruby
Oliver___ has joined #ruby
pauly_oc has joined #ruby
Oliver___ is now known as oliverhuang
ChiyoOoOoOoOo has left #ruby [#ruby]
davedev24_ has quit [Read error: Connection reset by peer]
adriancb has quit [Ping timeout: 244 seconds]
tuelz has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
c0rn has quit [Client Quit]
reinaldob has joined #ruby
oliverhuang has quit [Quit: Leaving...]
abuzze has quit [Ping timeout: 255 seconds]
oliverhuang has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
rockdon_ has joined #ruby
doug1 has joined #ruby
Takle has joined #ruby
oliverhuang has quit [Client Quit]
User4587_ has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
reinaldob has quit [Ping timeout: 272 seconds]
magic is now known as magic_pumpkin
sailias has joined #ruby
Takle has quit [Ping timeout: 255 seconds]
User458764 has quit [Ping timeout: 256 seconds]
magic_pumpkin is now known as MagicalPumpkin
moritzs has quit [Remote host closed the connection]
starkhalo has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
tyll has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
kaspergrubbe has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has joined #ruby
jimbach has quit [Remote host closed the connection]
kireevco has quit [Max SendQ exceeded]
Eiam has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
kireevco has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
ghr has joined #ruby
mary5030 has quit [Remote host closed the connection]
tyll_ has quit [Ping timeout: 264 seconds]
existensil has quit [Quit: WeeChat 0.4.2]
msmith_ has quit [Remote host closed the connection]
User4587_ has quit [Ping timeout: 260 seconds]
n_blownapart has joined #ruby
Danibal has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 265 seconds]
radic has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has joined #ruby
TripTastic is now known as JBreit
JBreit has left #ruby ["Leaving"]
radic_ has quit [Ping timeout: 245 seconds]
bruno- has joined #ruby
jjasonclark has joined #ruby
tuelz has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
User4587_ has joined #ruby
Hijiri has quit [Ping timeout: 256 seconds]
jjasonclark has quit [Client Quit]
jenrzzz has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
User458764 has quit [Ping timeout: 264 seconds]
Hijiri has joined #ruby
tuelz has quit [Ping timeout: 256 seconds]
jaequery has joined #ruby
<shevy>
I understand the basics of sinatra but I have a hard time extending things with it
mary5030 has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
jimbach has joined #ruby
jimbach has quit [Remote host closed the connection]
jasooon has joined #ruby
charliesome has quit [Quit: zzz]
User458764 has joined #ruby
jjasonclark has joined #ruby
jjasonclark has quit [Client Quit]
AlexRussia has quit [Ping timeout: 244 seconds]
User4587_ has quit [Ping timeout: 245 seconds]
AlexRussia has joined #ruby
chipotle has quit [Quit: cya]
xcesariox has joined #ruby
rpag has joined #ruby
magic_ has joined #ruby
arescorpio has quit [Ping timeout: 245 seconds]
optiz0r has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d0ugb has joined #ruby
magic__ has quit [Ping timeout: 258 seconds]
nonks has joined #ruby
robbyoconnor has joined #ruby
User4587_ has joined #ruby
charliesome has joined #ruby
sailias has quit [Quit: Leaving.]
robbyoconnor has quit [Read error: Connection reset by peer]
r0bby has joined #ruby
d0ugb has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 258 seconds]
nonks has quit [Ping timeout: 246 seconds]
Wolland has joined #ruby
IceDragon has quit [Quit: Space~~~]
pyon has quit [Ping timeout: 245 seconds]
ARCADIVS has joined #ruby
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Neozonz has quit [Quit: Leaving]
Wolland has quit [Client Quit]
chrishough has joined #ruby
echooo has joined #ruby
echooo1 has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby
User458764 has joined #ruby
rockdon_ has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 272 seconds]
User4587_ has quit [Ping timeout: 255 seconds]
suy|BNC has quit [Ping timeout: 265 seconds]
<porfa>
hey can i make nokogiri click a link it finds and fetch the destination url?
starless has quit [Ping timeout: 264 seconds]
jasooon has quit [Ping timeout: 264 seconds]
arescorpio has joined #ruby
<rpag>
mechanize can do that
zorak8 has joined #ruby
<rpag>
nokogiri parses xml/html, doesn't make requests
jusmyth has joined #ruby
jusmyth has left #ruby [#ruby]
<porfa>
thanks for the tip!
<rpag>
sure
x1337807x has joined #ruby
<porfa>
i am new to this data scraping i am doing, i have never used any sort of programing before so i am learning alot, could you tell me if i should keep on using nokogiri or mechanize can do all the stuff i need?
User4587_ has joined #ruby
r0bby_ has joined #ruby
r0bby has quit [Ping timeout: 255 seconds]
<Oberon4278>
So I just barely installed Ruby on my Windows machine, and the first time I fire up the interactive.... thingie, I get "DL is deprecated, please use Fiddle."
<Oberon4278>
What are DL and Fiddle, and how can I make the upgrade / change?
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bricker`work has joined #ruby
<pipework>
Oh dear. Windows and ruby. I've got to go iron my socks.
kyb3r_ has joined #ruby
<benzrf>
>windows
<benzrf>
instal gentoo
User458764 has quit [Ping timeout: 256 seconds]
<pipework>
lol
<benzrf>
bye
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gsd_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mastr_bennett[x] has quit [Ping timeout: 250 seconds]
<rpag>
rigel, ive never ran into a problem of blocks being hard to debug
Channel6 has quit [Quit: Leaving]
AlexRussia has joined #ruby
arup_r has quit [Quit: Leaving.]
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuelz has quit [Ping timeout: 255 seconds]
User4587_ has joined #ruby
michaeldeol has joined #ruby
Joufflu has quit [Quit: Leaving]
Joufflu has joined #ruby
User458764 has quit [Ping timeout: 265 seconds]
mbr__ has joined #ruby
mary5030 has quit [Remote host closed the connection]
<porfa>
how do i make nokogiri return me the link value instead of the text to that said link? for ie: ( puts doc.xpath('//*[(@id = "Downloads")]//*[(((count(preceding-sibling::*) + 1) = 11) and parent::*)]//a ').text ) gets me “filelink.jpg” and what i am looking for is “www.balblbla.com/filelink.jpg”
arescorpio has quit [Excess Flood]
mbr has quit [Ping timeout: 256 seconds]
maestrojed has joined #ruby
patrick99e99 has quit [Ping timeout: 265 seconds]
matti has quit [Ping timeout: 256 seconds]
Boohbah has quit [Ping timeout: 246 seconds]
roger_rabbit has quit [Quit: WeeChat 0.3.8]
<sevenseacat>
what is the actual HTML for the link?
<sevenseacat>
because if its just to 'filelink.jpg', you'll have to prepend the rest manually
<porfa>
hey sevenseacat like you said, ( doc.xpath('//*[(@id = "Downloads")]//*[(((count(preceding-sibling::*) + 1) = 11) and parent::*)]//a ')[0]["href"] ) it outputs me “ /doc.ashx?416628 “
User4587_ has quit [Ping timeout: 244 seconds]
r0bby_ has quit [Ping timeout: 244 seconds]
abuzze has quit [Ping timeout: 245 seconds]
<porfa>
how do i add the “url = www.testing.com” to the output ?
robbyoconnor has quit [Client Quit]
byprdct_ has quit [Read error: Connection reset by peer]
govg has joined #ruby
lw has joined #ruby
byprdct has joined #ruby
vickleford has quit [Quit: vickleford]
doug1 has joined #ruby
ndrei has joined #ruby
Channel6 has joined #ruby
wjimenez5271 has joined #ruby
wjimenez5271 has quit [Client Quit]
charliesome has quit [Quit: zzz]
jusmyth1 has joined #ruby
oo_ has joined #ruby
User4587_ has joined #ruby
User458764 has quit [Ping timeout: 244 seconds]
byprdct has quit [Read error: Connection reset by peer]
red_horned_rihno has quit [Read error: Connection reset by peer]
ylluminarious has quit [Quit: Leaving...]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
gsd has joined #ruby
bluOxigen has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
fawefeawfewa has joined #ruby
Alina-malina has joined #ruby
byprdct has joined #ruby
gsd has quit [Client Quit]
nonks has joined #ruby
frem has quit [Remote host closed the connection]
beneggett has joined #ruby
linojon has quit [Quit: linojon]
nonks has quit [Ping timeout: 246 seconds]
User458764 has joined #ruby
fabrice31 has joined #ruby
icebourg has joined #ruby
doug1 has quit [Ping timeout: 255 seconds]
lw has quit [Read error: Connection reset by peer]
Eiam has joined #ruby
User4587_ has quit [Ping timeout: 265 seconds]
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #ruby
gsd has joined #ruby
gsd has quit [Client Quit]
jasooon has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Quit: Leaving...]
User4587_ has joined #ruby
byprdct_ has joined #ruby
sinequanon has joined #ruby
User458764 has quit [Ping timeout: 255 seconds]
byprdct has quit [Ping timeout: 244 seconds]
michael3 has joined #ruby
jasooon has quit [Ping timeout: 260 seconds]
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuelz has joined #ruby
phutchins has joined #ruby
levity_island has joined #ruby
davasaurous has quit [Remote host closed the connection]
Morkel has joined #ruby
lampd1 has quit []
tuelz has quit [Ping timeout: 240 seconds]
philwantsfish has quit [Ping timeout: 256 seconds]
phutchins has quit [Ping timeout: 240 seconds]
zorak8 has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
User4587_ has quit [Ping timeout: 250 seconds]
byprdct_ has quit []
Eiam has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
michael3 has quit [Ping timeout: 244 seconds]
davasaurous has joined #ruby
anaeem___ has joined #ruby
kireevco has quit [Quit: Leaving.]
techsethi has joined #ruby
diegovio1 has joined #ruby
renderful has joined #ruby
davasaurous has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 264 seconds]
diegovio1 is now known as diegoviola
anaeem1_ has quit [Ping timeout: 260 seconds]
davasaurous has joined #ruby
Channel6 has quit [Quit: Leaving]
mistermocha has joined #ruby
renderful has quit [Ping timeout: 258 seconds]
ndrst has quit [Ping timeout: 265 seconds]
seitensei has quit [Read error: Connection reset by peer]
jusmyth2 has joined #ruby
jusmyth2 has quit [Client Quit]
seitensei has joined #ruby
starkhalo has quit [Read error: Connection reset by peer]
starkhalo has joined #ruby
foooobear has quit [Quit: (null)]
jusmyth1 has quit [Ping timeout: 256 seconds]
kamilc__ has joined #ruby
jusmyth1 has joined #ruby
jusmyth1 has quit [Client Quit]
<shevy>
sevenseacat it's a link to a mouse, you can click it!
arup_r has joined #ruby
techsethi has quit [Quit: techsethi]
crazydiamond has joined #ruby
doug1 has joined #ruby
gsd has joined #ruby
gsd has quit [Client Quit]
tlarevo has joined #ruby
havenwood has joined #ruby
doug1 has quit [Ping timeout: 264 seconds]
existensil has joined #ruby
starless has joined #ruby
Takle has joined #ruby
mikepack has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 265 seconds]
hamakn has joined #ruby
beneggett has quit [Remote host closed the connection]
nonks has joined #ruby
davasaurous has quit [Remote host closed the connection]
tenseiten has joined #ruby
seitensei has quit [Ping timeout: 255 seconds]
Joufflu has quit [Quit: Leaving]
caugello|afk is now known as kartouch
<porfa>
can anyone help me out in ruby/nokogiri ? im getting this output “GOOD” from “ doc.xpath(' //*[(@id = "_c3890_uxHeaderBox")] ').collect {|node| node.text.strip} “ but i want it to add “, you made it!” to the output..
<sevenseacat>
porfa: you can easily append strings together in ruby.
nonks has quit [Ping timeout: 246 seconds]
<porfa>
“append strings” thank you ! the language barrier is the worst when i need to google search
<shevy>
your encoding is weird porfa
<shevy>
€�
<porfa>
earlier today i was asking in “”freenode “does anyone knows what to use to obtain certain specific text data from a website? like i wanna say “hey get me the stuff after this div” and it would?” no one could help me out but someone said something about a “web scraper” so i found out about ruby..
rahult has joined #ruby
<porfa>
what do you mean? my irc client encoding?
<shevy>
yeah
<shevy>
there are funny chars, lemme screenshot it
Morkel_ has joined #ruby
starkhallo has joined #ruby
Morkel has quit [Ping timeout: 245 seconds]
Morkel_ is now known as Morkel
<porfa>
im using osx / colloquy … :( i only used mirc and irsii in myw whole life
starkhalo has quit [Read error: Connection reset by peer]
itsafreecountry has joined #ruby
<headius>
havenwood: truffle is pretty interesting, but even without truffle we have a completely new compiler framework...we may give truffle a run for it
<headius>
and there's my completely random hours-later reply for the evening... ttfn
<shevy>
porfa yeah but there are other osx users here as well and I don't get weird chars. anyway
<itsafreecountry>
Does anyone know how I can write RSpec test for omniauth callback controller when the user CANCELS it upon signing up?
<porfa>
whoa~~~looks like irc mahjong
<shevy>
porfa you can use ruby open-uri, and open(URL_HERE), and parse the content you receive there
oleo__ has quit [Quit: Verlassend]
<headius>
porfa: mIRC rocks
<shevy>
so that is step 1 - obtain that string/data
<shevy>
when you have the string, you have to parse that mess for step 2
<headius>
that was my first IRC client... I miss /trout
<porfa>
i’ve alredy worked that part out! and step is alredy done, the parsing… not i need to formating part and then if possible an output to a file!
<shevy>
headius yeah, mine too - I remember we used to play perl webgames and used mIRC to coordinate our guild-action for play
<headius>
oh nice
<shevy>
the 9/11 attack I remember because I was mIRC-ing when someone mentioned "America is under attack"
<porfa>
that takes me back… /trout
<headius>
I got in trouble at my university for downloading warez off some underground network
<headius>
I was just stupid
<porfa>
the 911.. i remember that day too, i was on irc too that morning.
<shevy>
porfa ok good - you already have splitted up the tasks into smaller components
<porfa>
shevy: !!! :)
<shevy>
I don't know for a simple way to obtain a particular div; I guess people may recommend nokogiri. I would probably use a regex, like one used in .scan, and somehow find that div (probably it has a unique id?)
<shevy>
or do you simply need just the part of the string after the particular div
<headius>
damn you nokogiri for being the go-to answer
<porfa>
im using nokogiri and xpath, it’s working amazing!
<shevy>
then you only need to find out the position
<shevy>
big_fat_string[position_here..-1]
<shevy>
aha good
<shevy>
I hate XML too much to use xpath
<porfa>
i use that selectorgadget to get my xpaths.. it’s so easy …!
godd2 has joined #ruby
starless has quit [Quit: WeeChat 1.0.1]
anaeem___ has quit [Remote host closed the connection]
<porfa>
i have changed my encoding from utf-8 to ?western (ascii)? i hope its ok now
<itsafreecountry>
How do I say for rspec to CANCEL the signup?
<itsafreecountry>
sign_in fb_user get :facebook expect(response).to redirect_to rooth_path
<itsafreecountry>
like by clicking sign in fb will ask to proceed or not
<itsafreecountry>
then i want to cancel
<sevenseacat>
itsafreecountry: you stub out the response from facebook
anaeem1 has joined #ruby
<sevenseacat>
to be a cancel response
<shevy>
porfa haha awesome
<shevy>
let me make a screenshot
<shevy>
shevegen.square7.ch/screenshot.png
<shevy>
porfa notice how the weird block chars suddenly are gone - but that ? confuses me hahahaha
<shevy>
IRC can be very entertaining
<porfa>
oh that was ust my typo, sorry about that hah
tuelz has joined #ruby
<porfa>
well im googling on how to append strings on ruby!
<godd2>
+ or <<
abuzze has joined #ruby
<shevy>
yes
<shevy>
+= or <<
<shevy>
or ble = 'yippie'; foo = 'bla'+ble
<shevy>
porfa << is faster than +=
tuelz has quit [Ping timeout: 256 seconds]
tokik has joined #ruby
patric100e99 has joined #ruby
abuzze has quit [Ping timeout: 250 seconds]
n_blownapart has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
patric100e99 has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<porfa>
lol2=doc.xpath(' //*[(@id = "Gegevens")]//p ').collect {|node| node.text.strip} ?? now when i puts lol<<lol2 it gives the lol ouput in one line, and the lol2 in a newline
robbyoconnor has joined #ruby
hmsimha has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<godd2>
step 1: gem install pry, step 2: on line three add require 'pry', step 3: line 29 add binding.pry
icebourg has quit []
<godd2>
then when you run your code, ruby will stop at the place you put 'binding.pry' and you can check what variables hold what values at that moment
<porfa>
ty very much, i?ll try to analize the output the best i can
mengu has joined #ruby
noop has joined #ruby
kt has joined #ruby
jaequery has quit [Ping timeout: 265 seconds]
<godd2>
pry is a very usefull debugging gem
<godd2>
A++ would recomment
<porfa>
sorry im looking at it, im clueless i only see my code
<godd2>
recommend*
<porfa>
it?s alredy installed and i?ll leave it that way as i cotinue learning this ruby language im sure it will be quite usefull
<godd2>
pry is useful for learning ruby
<pipework>
Pry is useful for many things.
<porfa>
[1] pry(main)>
<porfa>
how do i fetch the values now?
nonks has quit [Ping timeout: 246 seconds]
<pipework>
It probably upsets shevy to no end that it includes methods to read documentation.
lolmaus has joined #ruby
<porfa>
hah
jjasonclark has quit [Quit: jjasonclark]
jaequery has joined #ruby
<godd2>
profa just type the variable name and press enter
<godd2>
its just like irb
<pipework>
porfa: Do you know what a REPL is?
<porfa>
no but wiki does, im reading it
<pipework>
porfa: It's like a console for a programming language runtime.
subraminion has joined #ruby
fabrice31 has joined #ruby
andrewlio has joined #ruby
<porfa>
[1] pry(main)>
nyanz has quit [Read error: Connection reset by peer]
<pipework>
porfa: You know irb, right?
<porfa>
yes, ive rested my commands there before making the .rb file
<godd2>
porfa just type 2 + 2 and press enter
<porfa>
tested*
<pipework>
porfa: pry is like irb.
<pipework>
Except you can use it to easily drop into any part of any program by calling `binding.pry` inside the source.
<godd2>
pry will execute any line of ruby you type into it.
<godd2>
also, typing help will list things you can do in pry
postmodern has quit [Quit: Leaving]
<godd2>
and you can actually navigate into objects and inspect them from the inside.
<godd2>
much the same way you navigate files and folders.
TPBallbag has quit [Ping timeout: 245 seconds]
Lewix has quit [Remote host closed the connection]
<porfa>
i got it!! i made it atleast in the psy shell its working
kaspergrubbe has quit [Ping timeout: 244 seconds]
apeiros has quit [Ping timeout: 264 seconds]
<porfa>
it tastes so good i could get used to this
dseitz has quit [Quit: night]
<godd2>
hehe, well some would consider it a "developement smell" to be good at your debugging tools, but I say as long as you're learning, all the better :)
jasooon has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
anarang has joined #ruby
duncannz has quit [Remote host closed the connection]
bigkevmcd has joined #ruby
duncannz has joined #ruby
rahult is now known as rahult_
<arup_r>
Hi.. Anyone using Amazon dynamoDB ?
andikr has joined #ruby
mbr__ is now known as mbr
jasooon has quit [Ping timeout: 244 seconds]
<arup_r>
I am not sure the JSON API version number of DynamoDB...
<arup_r>
Any pointer ?
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<godd2>
what that says is "i want everything from the 6th character to the last character"
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
diegoviola has quit [Quit: WeeChat 1.0.1]
eat_multi has joined #ruby
ramfjord has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
cmxu has joined #ruby
cmxu has quit [Max SendQ exceeded]
Gunni has left #ruby ["Leaving"]
nonks has joined #ruby
alem0lars|away is now known as alem0lars
tokik has quit [Ping timeout: 272 seconds]
agjacome has quit [Quit: leaving]
pyon has quit [Quit: stupid emacs]
klaut has joined #ruby
pyon has joined #ruby
apeiros has joined #ruby
jenrzzz has joined #ruby
jaequery has joined #ruby
kp666 has joined #ruby
sinequanon has quit []
nonks has quit [Ping timeout: 246 seconds]
tokik has joined #ruby
timonv_ has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
timonv_ has joined #ruby
rshetty has quit [Remote host closed the connection]
chipotle has joined #ruby
_5kg has joined #ruby
chipotle has quit [Client Quit]
timonv_ has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
timonv_ has joined #ruby
chipotle has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
knight2 has joined #ruby
chipotle has quit [Client Quit]
<knight2>
Your Ruby version is 2.1.3, but your Gemfile specified 2.1.4
<knight2>
But my .ruby-version is ruby-2.1.4, my Gemfile has 2.1.4, and my current ruby -v shows 2.1.4
nyanz has quit []
chipotle has joined #ruby
chipotle has quit [Client Quit]
gw01f has quit [Remote host closed the connection]
chipotle has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<knight2>
Oh damn, just solved it. Had to run "spring stop"
chipotle has quit [Client Quit]
jack_rabbit has joined #ruby
chipotle has joined #ruby
jheg has joined #ruby
ephemerian has joined #ruby
chipotle has quit [Client Quit]
tesuji has joined #ruby
chipotle has joined #ruby
_tpavel has joined #ruby
chipotle has quit [Client Quit]
timonv_ has quit [Remote host closed the connection]
jusmyth has joined #ruby
chipotle has joined #ruby
<porfa>
hmmm so in my script i have an array for img1 through img9 and for this URL i am using to test the script it works fine, because the product page i am scraping has 9 pictures of the product, but i tried on a page that only has 7 pictures and the script breaks, how to prevent it from breaking when certain instruction is not possible?
VanillaGoat_ has quit [Read error: Connection reset by peer]
tesuji has quit [Read error: Connection reset by peer]
chipotle has quit [Client Quit]
<porfa>
lets say it tries to fetch img8 but there is none, instead of quiting i want it to try img9 and then carry on with the other operations
VanillaGoat_ has joined #ruby
Oberon4278 has quit [Ping timeout: 245 seconds]
chipotle has joined #ruby
chipotle has quit [Client Quit]
<apeiros>
porfa: proper way: check for how many images are there and fetch that many. less proper way: rescue the exception raised.
doug1 has joined #ruby
chipotle has joined #ruby
chipotle has quit [Client Quit]
ta has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
timonv_ has joined #ruby
chipotle has quit [Client Quit]
qba73 has joined #ruby
chipotle has joined #ruby
chipotle has quit [Client Quit]
doug1 has quit [Ping timeout: 264 seconds]
last_staff has quit [Read error: Connection reset by peer]
jusmyth has left #ruby [#ruby]
Hanmac has joined #ruby
jack_rabbit has quit [Ping timeout: 258 seconds]
jheg has quit [Quit: jheg]
last_staff has joined #ruby
_tpavel has quit [Quit: Leaving]
jasooon has joined #ruby
tesuji has joined #ruby
moritzs has joined #ruby
ki0 has joined #ruby
<porfa>
apeiros: i have been reading why such thing shouldn?t be done, but since this is a really small script i will go with th exeception raised method, though i have no idea how to do it
TomyWork has joined #ruby
tvw has joined #ruby
ta has joined #ruby
reinaldob has joined #ruby
moritzs has quit [Remote host closed the connection]
end_guy has quit [Remote host closed the connection]
jasooon has quit [Ping timeout: 265 seconds]
end_guy has joined #ruby
Macaveli has joined #ruby
tuelz has joined #ruby
timonv_ has quit [Remote host closed the connection]
reinaldob has quit [Ping timeout: 245 seconds]
nrsk has joined #ruby
nfk has joined #ruby
t_p has joined #ruby
alex88 has joined #ruby
oo_ has quit [Remote host closed the connection]
srenatus has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
almostworking has joined #ruby
codecop has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby
chipotle has joined #ruby
tlarevo_ has quit [Read error: Connection reset by peer]
dANO_ has joined #ruby
nilemptyblank has quit [Quit: Page closed]
Xeago_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
maasha has joined #ruby
bigimot has left #ruby [#ruby]
Hijiri has quit [Ping timeout: 265 seconds]
shredding has quit [Quit: shredding]
<maasha>
Ruby friendly HTML grid framework for static pages?
visof has joined #ruby
Hijiri has joined #ruby
william3_ has joined #ruby
ptrrr has quit [Quit: ptrrr]
dANO__ has quit [Ping timeout: 265 seconds]
<maasha>
I have played around with bootstrap before, and I am currently looking at lemonade.
jottr has quit [Ping timeout: 245 seconds]
<shevy>
hey atmosx
<atmosx>
hey shevy how's life?
<atmosx>
I'm at the library should be studying diabetes but I'm trying to build-up a speedy continous testing environment! :-P
<atmosx>
how r u?
<shevy>
atmosx ah not too good, not too awful either. got home from an exam in zoology just now, now I am contemplating what next to do
Takle has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hanmac1 has quit [Ping timeout: 256 seconds]
Maximo_ has joined #ruby
<shevy>
yeah I have to study as well but right now I am procrastinating again :P
shredding has joined #ruby
robbyoconnor has quit [Excess Flood]
<shevy>
atmosx my concentration drops down in a library right half an hour after reading stuff
robbyoconnor has joined #ruby
<shevy>
then reading becomes boring
AlSquirrel has joined #ruby
luminor has quit []
<shevy>
so I changed things, I try to not read but instead scan for new information, as much and as quickly as possible and note it down
jgrevich has quit [Quit: jgrevich]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Maximo_ has left #ruby ["★"]
sigurding has quit [Quit: sigurding]
reinaldob has joined #ruby
jgrevich has joined #ruby
Hanmac has joined #ruby
ldnunes has joined #ruby
<atmosx>
I like reading in the library
<atmosx>
generally speaking it helps
danjordan has joined #ruby
<atmosx>
my problem however is, if I can use guard to re-launch foreman instead of rerun
<atmosx>
hehe
<shevy>
hehehe
tlarevo has joined #ruby
dangerousdave has joined #ruby
alem0lars is now known as alem0lars|away
Xeago has joined #ruby
sk87 has joined #ruby
tlarevo_ has joined #ruby
nemesit|znc has joined #ruby
Xeago has quit [Remote host closed the connection]
kaspergr_ has joined #ruby
ylluminarious has joined #ruby
<atmosx>
guard-shotgun does just that
<atmosx>
I think I'm about to finnish...
tlarevo has quit [Ping timeout: 255 seconds]
mattmcclure has quit [Quit: Connection closed for inactivity]
alem0lars|away is now known as alem0lars
kaspergrubbe has quit [Ping timeout: 256 seconds]
<shevy>
finnish?
<shevy>
where people from suomi live? :D or finish hehe
doodlehaus has joined #ruby
rshetty has quit [Ping timeout: 256 seconds]
ylluminarious has quit [Ping timeout: 256 seconds]
WormDr1nk has quit [Quit: Leaving]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has joined #ruby
alem0lars is now known as alem0lars|away
workmad3 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CaptainHeavy has quit [Ping timeout: 250 seconds]
adamnbowen has joined #ruby
KucukMubasir has quit [Quit: KucukMubasir]
jgrevich has quit [Quit: jgrevich]
fsapo has joined #ruby
Hanmac has quit [Ping timeout: 256 seconds]
abuzze_ has quit [Ping timeout: 256 seconds]
<atmosx>
yeah
<atmosx>
finish
<atmosx>
lol
abuzze has joined #ruby
<atmosx>
but finnish is cool too
<atmosx>
I like Finland
arup_r has quit [Remote host closed the connection]
adamnbowen has quit [Max SendQ exceeded]
<atmosx>
never been lol but small country ice everywhere can't go wrong
chipotle has quit [Quit: cya]
Spami has joined #ruby
tvw has quit []
doodlehaus has quit []
TPBallbag has quit [Remote host closed the connection]
TPBallbag has joined #ruby
sigurding has joined #ruby
ghr has joined #ruby
<Psy-Q>
the ice melts in summer
mg^ has quit [Ping timeout: 245 seconds]
<Psy-Q>
this summer was the horror in finland, really hot
dkb20k_ has joined #ruby
<j416>
Psy-Q: lol, yeah right.
<j416>
Psy-Q: @ summer in finland
<Psy-Q>
j416: were you there this summer?
mg^ has joined #ruby
<j416>
various places
<Psy-Q>
i was only in helsinki, it killed me already
<j416>
hehe
<Psy-Q>
and the hotel had the window opening to some sort of industrial device that pushed more heat into the room
<j416>
heat is subjective I suppose
<Psy-Q>
yeah :) it was 30+ sometimes, though
kaspergr_ has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
<Psy-Q>
a few summers ago at tuska festival it was 34 as well, that was extreme
<j416>
but I agree that when it becomes hot in our countries (I'm on the other side of the water from you) the means we have to deal with it are quite poor, compared to countries with hotter climate
kaspergrubbe has joined #ruby
<Psy-Q>
ah, i just go to finland regularly. i'm in switzerland, where we had the wettest coldest summer in recorded history
<j416>
ah :)
<j416>
hehe
<Psy-Q>
so going to finland was like going on some sort of beach vacation
Xeago_ has joined #ruby
dkb20k has quit [Ping timeout: 250 seconds]
<j416>
I spend a lot of time in .jp and summers there are like... you can't walk 500 metres without wanting to take a shower
iamayam has quit [Ping timeout: 245 seconds]
<j416>
after getting used to that I've come to think our hot summers are rather pleasant :P
kaspergr_ has joined #ruby
tesuji has quit [Ping timeout: 255 seconds]
pyon has quit [Quit: And the battle will rage until only the Raichu prevail!]
ghr has quit [Ping timeout: 265 seconds]
jasooon has joined #ruby
doug1 has joined #ruby
<Psy-Q>
hehe. a friend invited me to japan for next summer. i don't wanna go in that case
<Psy-Q>
since i'll be in canada during winter as well, that'll be some contrast
mozzarella has quit [Quit: WeeChat 1.1-dev]
<j416>
don't worry
<j416>
it's hot as hell at times
<j416>
but everyone is in the same situation
Xeago has quit [Ping timeout: 265 seconds]
<j416>
so the moment you're thinking blimey, my t-shirt is all wet now from me sweating
kamilc__ has quit [Quit: Leaving...]
Hanmac has joined #ruby
<j416>
you realise that's true for most of the other people as well :P
kaspergrubbe has quit [Ping timeout: 265 seconds]
sigurding has quit [Quit: sigurding]
<j416>
and apart from that detail, summers in japan are realky quite nice.
<j416>
really*
_1_Nirmal has joined #ruby
nonks has joined #ruby
<_1_Nirmal>
hii
<j416>
Psy-Q: but, spring is a nicer season to visit.
<j416>
</ot>
fabrice31 has quit [Remote host closed the connection]
Abhijit has joined #ruby
<Abhijit>
whats the best way to execute remote commands via program? other than bash ssh. does ruby has some nice module?
_1_Nirmal has quit [Client Quit]
doug1 has quit [Ping timeout: 265 seconds]
jasooon has quit [Ping timeout: 244 seconds]
<workmad3>
Abhijit: well, there's net/ssh, or you could potentially investigate distributed-ruby
<Abhijit>
ok
oo_ has quit [Remote host closed the connection]
sandelius has joined #ruby
oo_ has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
Hanmac has quit [Read error: Connection reset by peer]
davedev24_ has quit []
mozzarella has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
davedev24_ has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
joonty1 has joined #ruby
Xeago_ has quit [Remote host closed the connection]
abuzze has quit [Remote host closed the connection]
dangerousdave has joined #ruby
abuzze has joined #ruby
joonty1 is now known as joonty
tuelz has quit [Quit: WeeChat 1.0]
arup_r has joined #ruby
shredding has quit [Quit: shredding]
sprihodko has joined #ruby
bluenemo has joined #ruby
abuzze_ has joined #ruby
moritzs has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
shredding has joined #ruby
fabrice31 has joined #ruby
shredding has quit [Client Quit]
nemesit|znc has quit [Quit: quit]
nemesit|znc has joined #ruby
chthon has quit [Ping timeout: 245 seconds]
gsd has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gsd has quit [Client Quit]
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
<Psy-Q>
j416: ye, sakura and all! </ot> too
arup_r has quit [Remote host closed the connection]
Rhainur has quit [Quit: Leaving.]
iamayam has joined #ruby
Hijiri has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adriancb has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jheg has quit [Quit: jheg]
danijoo has quit [Read error: Connection reset by peer]
Hijiri has joined #ruby
danijoo has joined #ruby
sk87 has joined #ruby
atmosx has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 255 seconds]
sprihodko has quit [Quit: (null)]
ta has quit [Read error: Connection reset by peer]
nateberkopec has quit [Read error: Connection reset by peer]
Darryl_ has joined #ruby
moritzs has quit [Ping timeout: 272 seconds]
dkb20k_ has quit []
dkb20k has joined #ruby
paulfm has joined #ruby
jottr has joined #ruby
dangerousdave has joined #ruby
red_horned_rihno has quit [Read error: Connection reset by peer]
slap_stick has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
ptrrr has joined #ruby
ptrrr has quit [Client Quit]
vt102 has joined #ruby
mityaz has quit [Quit: Leaving]
ghr has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 is now known as wm3|away
nrsk has quit [Ping timeout: 256 seconds]
mityaz has joined #ruby
phutchins has joined #ruby
michaelchum_ has quit [Quit: Connection closed for inactivity]
ghr has quit [Ping timeout: 272 seconds]
jheg has joined #ruby
jasooon has joined #ruby
tvw has joined #ruby
yeticry has quit [Ping timeout: 250 seconds]
mskaesz has joined #ruby
maasha has quit [Ping timeout: 246 seconds]
yeticry has joined #ruby
dkphenom has joined #ruby
Jackneill has joined #ruby
mkaesz has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Remote host closed the connection]
patteh has quit [Remote host closed the connection]
patteh has joined #ruby
jasooon has quit [Ping timeout: 256 seconds]
jespada has joined #ruby
jjasonclark has joined #ruby
aclearman037 has joined #ruby
patric100e99 has joined #ruby
CaptainHeavy has joined #ruby
Takle has quit [Remote host closed the connection]
starkhallo has joined #ruby
phutchins has quit [Ping timeout: 272 seconds]
sevenseacat has joined #ruby
abuzze has joined #ruby
echooo has quit [Quit: echooo]
patric100e99 has quit [Ping timeout: 245 seconds]
_JamieD_ has quit [Ping timeout: 256 seconds]
nrsk has joined #ruby
AlexRussia has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
Abhijit has quit [Quit: Leaving]
ringaring has quit [Ping timeout: 265 seconds]
rbrs has quit [Quit: Leaving]
chipotle has quit [Client Quit]
lemur has quit [Read error: Connection reset by peer]
chthon has joined #ruby
abuzze_ has quit [Ping timeout: 240 seconds]
lemur has joined #ruby
himsin has quit [Quit: himsin]
jjasonclark has quit [Quit: jjasonclark]
atmosx has joined #ruby
<atmosx>
hm
arup_r has joined #ruby
<atmosx>
when I load 'pry' I read the database of the 'test' env instead of the 'dev' env
_JamieD_ has joined #ruby
<atmosx>
It's almost two days that I do configuration instead of coding
<atmosx>
blah
phutchins has joined #ruby
danjordan has quit [Quit: danjordan]
Hanmac has joined #ruby
arup_r has quit [Remote host closed the connection]
guyz is now known as daynaskully
danjordan has joined #ruby
oo_ has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
pyon has joined #ruby
vyorkin has joined #ruby
anaeem___ has joined #ruby
rshetty has joined #ruby
slap_stick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1 has quit [Read error: Connection reset by peer]
tier has joined #ruby
robbyoconnor has quit [Ping timeout: 244 seconds]
livingstn has joined #ruby
fmcgeough has joined #ruby
D9 has quit [Ping timeout: 264 seconds]
DLSteve has joined #ruby
<waxjar>
i've got a few classes that need to behave differently depending on a piece of information that's only available at runtime. how would you handle that?
rshetty has quit [Remote host closed the connection]
DLSteve_ has quit [Ping timeout: 272 seconds]
wald0 has joined #ruby
danjordan has joined #ruby
abuzze has quit [Ping timeout: 256 seconds]
spyderman4g63 has joined #ruby
max96at is now known as max96at|off
<jhass>
waxjar: I prefer delegation since that doesn't void method caches
yfeldblum has joined #ruby
dkb20k has quit [Read error: Connection reset by peer]
<jhass>
and allows you to even change the target after instantiation and passing around
dkb20k has joined #ruby
<waxjar>
can you delegate at runtime?
bmurt has joined #ruby
<jhass>
of course
arup_r has joined #ruby
<jhass>
Look at SimpleDelegator in delegate stdlib
yfeldblu_ has joined #ruby
<rpag>
waxjar, its ruby, everything happens at runtime :-P
anaeem___ has quit [Remote host closed the connection]
<waxjar>
ah, fair enough, what I mean is on the instance level
yfeldblum has quit [Ping timeout: 245 seconds]
<jhass>
did you look at SimpleDelegator yet? The examples make that pretty clear
AlexRussia has joined #ruby
yfeldblu_ has quit [Ping timeout: 256 seconds]
<waxjar>
yeah, that might work, thx :)
zB0hs has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<waxjar>
it's a bit shitty, because some of the "implementations" might have extra methods, dunno how i'm gonna handle that
mskaesz has quit [Ping timeout: 265 seconds]
<jhass>
if you remove the abstraction and explain your real problem someone might have a nice idea
dangerousdave has joined #ruby
jjasonclark has joined #ruby
<waxjar>
an IRC client library. an example: some servers support half-ops, some don't, some implement rfc1459, some implement 2812
livathinos has quit [Remote host closed the connection]
<waxjar>
it's a mess :(
abuzze has joined #ruby
<jhass>
mmh, what does it do that cinch doesn't? aka why reinvent the wheel? :)
arup_r has quit []
mengu has joined #ruby
mengu has joined #ruby
<waxjar>
for fun :)
jjasonclark has quit [Client Quit]
<jhass>
I probably wouldn't try to hide the distinctions from the user
CaptainHeavy has quit [Ping timeout: 245 seconds]
dmuff has quit [Quit: This computer has gone to sleep]
siwica has joined #ruby
<jhass>
you want to connect to FooIRCD? client = FooIRCDClient.new(...) You want to connect to BarIRCD? client = BarIRCD.new(...)
Macaveli has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
<jhass>
then it's clear that they might share a common base interface, but just because a method exists on one, it doesn't need to do so on the other
Macaveli has quit [Client Quit]
<jhass>
"if you want to be able to swap quickly, only use the base interface, but it's your job"
Macaveli has joined #ruby
danjordan has quit [Quit: danjordan]
psy_ has joined #ruby
<waxjar>
hmm, that seems a lot easier to implement
danjordan has joined #ruby
<jhass>
the other possibility would be to have all methods on all implementations (the base interface even) and raise NotSupported exceptions all over the place
Danibal has joined #ruby
vyorkin has quit [Quit: WeeChat 1.0.1]
<jhass>
which would be slightly better than NoMethodErrors
toordog has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
taptapdan has quit [Quit: taptapdan]
<waxjar>
of course, you'd have to know which ircd you're going to connect to, and that's not really possible until you've connected to it :|
<jhass>
I'd claim it is
_2easy has quit [Quit: Lost terminal]
jerius has joined #ruby
it0a has joined #ruby
<jhass>
In that scheme you could share the base functionality in a parent class and have that work on all ircd's
<jhass>
so that if you don't care about the special features you just client = Client.new(...)
<waxjar>
no, i meant your first example FooIRCd.new, etc :)
<jhass>
yes
nrsk has quit [Ping timeout: 256 seconds]
<jhass>
"oh, that network I'm connecting to is fooircd and I want to use its halfops feature! *goes and replaces Client.new by FooIRCDClient.new"
ghr has quit [Ping timeout: 265 seconds]
<jhass>
though since it only happens once at program boot, using extend on an instance is actually justifiable, you just hide the details from the user
<jhass>
so then the question then becomes how you make clear that it NoMethodErrors or not depending on the network you connect to
rkalfane has joined #ruby
<jhass>
which can be improved with the NotSupported execeptions approach to communicate clearer, but remains trial and error since it's hard to write docs for
<rpag>
i would just use method_missing to delegate onto One/Two
hackeron has quit [Ping timeout: 264 seconds]
hackeron has joined #ruby
<waxjar>
hmm, yeah. i think that's the best I'm gonna get. thx jhass :)
<jhass>
rpag: SimpleDelegator does exactly that, except it already has the most common mistakes when doing so already covered
<rpag>
yeah, i prefer to not use delegator in the stdlib because method_missing is more transparent and it isn't that hard to implement method_missing as a delegate
jasooon has joined #ruby
<rpag>
i find method_missing to be more transparent
<i42n>
jhass: thanks for your help. I could fix it. Now it runs 500% faster.
ta has joined #ruby
<jhass>
workmad3: sheepman doesn't that mean it's undefined in cp1251 too?
devdazed has joined #ruby
<workmad3>
jhass: it could do... no idea :)
Takle has joined #ruby
jusmyth has left #ruby [#ruby]
o0oo0o has quit [Ping timeout: 246 seconds]
ptrrr has joined #ruby
<jhass>
sheepman: I'd verify you're reading the file in the right encoding in the first place. If you do the file is broken. You can workaround by using String#encode with its undef, replace etc. options
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<jhass>
or String#scrub if you're on a recent ruby
doug1 has joined #ruby
<workmad3>
jhass: String#encode transcodes the bytes and will error if there's something it can't convert
<fenak>
sometimes i get really frustrated with all this encoding stuff after i upgraded ruby.. lol
<jhass>
workmad3: it has options to do replacement
<jhass>
instead
Takle has quit [Ping timeout: 245 seconds]
<workmad3>
oh yeah...
* workmad3
forgets the capabilities of encode at times
<workmad3>
comes from trying to never touch anything other than utf-8 :)
zorak8 has quit [Ping timeout: 264 seconds]
<workmad3>
sheepman: converting to utf-16 would have the same problem... there's an undefined character in there that can't be converted to another encoding ;)
theRoUS has quit [Changing host]
theRoUS has joined #ruby
<jhass>
sheepman: your file is not valid cp1251, simple as that
<sheepman>
hmmm wish i could just track it down but the error doesn't give any clues to what line its on
<sheepman>
the character i mean
<jhass>
sheepman: open it in an hex editor and search for it
<sheepman>
good plan!
<sheepman>
thanks guys :)
<workmad3>
fenak: I get frustrated that so much of the world still defaults to crap like ISO8859-* or Windows-* encodings :)
<jhass>
>> "☃"
<jhass>
still not :(
<workmad3>
nrsk has quit [Ping timeout: 256 seconds]
mary5030 has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
Takle has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alem0lars|away is now known as alem0lars
t_mmyv has joined #ruby
doug1 has quit [Ping timeout: 245 seconds]
benzrf is now known as benzrf|offline
kj__ has quit [Quit: Page closed]
<fenak>
workmad3: yeah.. and here in Brazil iso-8859-1 is SOOOO common!
ggherdov_ has joined #ruby
ggherdov_ has quit [Changing host]
ggherdov_ has joined #ruby
<fenak>
workmad3: the world should be utf-8...
ggherdov_ is now known as ggherdov
<jhass>
does windows default to utf-8 yet?
ndrei has quit [Quit: Lost terminal]
<apeiros>
sadly zxing's qr code reader defaults to utf-8 too. made it a bit difficult to read binary data.
Timgauthier is now known as timgauthier_away
<fenak>
jhass: hmm.. i don't think so.. until 7 i think it wasnt
anaeem1 has joined #ruby
diegovio1 has joined #ruby
diegovio1 is now known as dviola
<jhass>
there's your problem
mkaesz has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
ghr has joined #ruby
Xeago_ has joined #ruby
charliesome has joined #ruby
renderful has joined #ruby
Kricir has joined #ruby
hackeron has quit [Ping timeout: 240 seconds]
Akuma has quit [Quit: So long sukkas!]
<fenak>
jhass: yeah.. that's true.. i work with email.. i use linux, but the world keeps sending emails encoded in every possible way..
benzrf|offline is now known as benzrf
hackeron has joined #ruby
<fenak>
jhass: and it's not uncommon that the email itself arrives bad formatted.. or with bad encoding..
mskaesz has quit [Ping timeout: 240 seconds]
<fenak>
jhass: or lying about its encoding.. lol..
Akuma has joined #ruby
momomomomo has joined #ruby
<jhass>
well, email does provide capabilities to properly declare encoding at least, there the MUAs are to blame
Xeago has quit [Ping timeout: 255 seconds]
dkb20k has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 264 seconds]
<fenak>
you see, there are RFCs for this, and a lot of people/systems dont care..
<shevy>
oh encodings!
<shevy>
what did jhass say about one encoding in particular ... :-)
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkb20k has joined #ruby
<fenak>
there are emails sent that comes from php mailers coded really bad that are very strange.. lol
<fenak>
but.. encodings..
nug has joined #ruby
<shevy>
hey don't worry
<shevy>
not even the bot here can deal with encodings properly
<eval-in__>
havenwood => /tmp/execpad-6a1be63d89f4/source-6a1be63d89f4:2:in `<main>': Use RbConfig instead of obsolete and deprecated Config. ... (https://eval.in/215291)
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
mrsolo has quit [Client Quit]
sk87 has joined #ruby
marienz has joined #ruby
arya_ching has quit [Read error: Connection reset by peer]
seanosaur has joined #ruby
amundj has quit [Ping timeout: 258 seconds]
arya_ching has joined #ruby
Timgauthier has joined #ruby
<foureight84>
what do you guys recommend using on your dev env to reload ruby code if you have unicorn and nginx running? i'm trying to get rerun to send HUP signal but doesn't seem to be working. rerun -s HUP "unicorn -D -c /var/www/ruby/unicorn.rb -E development"
apeiros has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
rkalfane has joined #ruby
snath has joined #ruby
dseitz has quit [Quit: nap sounds good]
Lewix has joined #ruby
lmickh has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
CaptainHeavy has quit [Remote host closed the connection]
danijoo_ has joined #ruby
mrsolo has joined #ruby
o0oo0o has joined #ruby
aspires has joined #ruby
dmuff has quit [Quit: This computer has gone to sleep]
govg has joined #ruby
jfran has joined #ruby
rafadc has joined #ruby
D9 has joined #ruby
govg is now known as Guest6965
Guest6965 has quit [Client Quit]
nateberkopec has joined #ruby
govg_ has joined #ruby
troulouliou_dev has joined #ruby
o0oo0o has quit [Ping timeout: 246 seconds]
amaterasu48 has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noop has quit [Ping timeout: 265 seconds]
mahtennek has joined #ruby
<pontiki>
i don't use either of those in dev/test :/
hololeap has joined #ruby
momomomomo has joined #ruby
<hololeap>
i want to have a "rescue" clause that matches multiple exception classes and for each one passes the exception to the variable "e"
mahtennek has quit [Client Quit]
Jarboe has joined #ruby
<hololeap>
how would i write this?
Juanchito has quit [Quit: Connection closed for inactivity]
<hololeap>
is it `rescue ExceptionOne, ExceptionTwo, ExceptionThree => e`
amaterasu48 has left #ruby [#ruby]
<hololeap>
or is it `rescue ExceptionOne => e, ExceptionTwo => e, ExceptionThre => e`
foureight84 has quit [Ping timeout: 246 seconds]
seanosaur has quit [Read error: Connection reset by peer]
<apeiros>
as you can see, in the former case, both Foo::Bar and Foo are part of the nesting and are searched for constants. in the latter case, only Foo::Bar is part of the nesting and searched for constants.
skolman_ has joined #ruby
gaganjyot has quit [Ping timeout: 255 seconds]
<apeiros>
typo, Class instead of class
<eam>
ah
<eam>
>> class Foo; class Exception; class Bar < Exception; end; end; end; Foo::Exception::Bar.superclass
<hololeap>
i just don't understand it fully. why does it matter if you define it as `class Foo; class Bar` as opposed to `class Foo::Bar`? is there any good resource i can look at that explains this?
<skolman_>
Anyone here has a ticket for the ruby conference?
kireevco has quit [Read error: Connection reset by peer]
terlar has quit [Quit: WeeChat 1.0.1]
larissa has quit [Quit: Leaving]
theotherstupidgu has joined #ruby
aspires has joined #ruby
mityaz has quit [Quit: Leaving]
kireevco has joined #ruby
benzrf|offline is now known as benzrf
rshetty has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 240 seconds]
Dude007 has quit [Remote host closed the connection]
psy_ has quit [Ping timeout: 256 seconds]
beneggett has quit [Ping timeout: 265 seconds]
larissa has joined #ruby
beneggett has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jusmyth has joined #ruby
bricker`1ork has joined #ruby
joonty has quit [Quit: Leaving]
adriancb has joined #ruby
mfmfmfmfmfmf has joined #ruby
sailias has joined #ruby
kt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bricker`work has quit [Ping timeout: 256 seconds]
elcuervo has quit [Ping timeout: 245 seconds]
jheg has quit [Quit: jheg]
iamjarvo has joined #ruby
maletor has joined #ruby
jusmyth has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
avelldiroll has quit [Quit: WeeChat 0.3.8]
hackeron has quit [Ping timeout: 244 seconds]
tier has joined #ruby
hackeron has joined #ruby
bricker`1ork is now known as bricker
louism2wash has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
<louism2wash>
hey guys, how would I pipe a txt file into a ruby script in the command line? I am using 'file.txt | ruby_file.rb' and inside my ruby_file I am reading from stdin. However I get the message that 'ruby_file.rb command cannot be found'
<bricker>
I'm getting EINVAL - Invalid Argument when trying FileUtils.chown("somebody", "something", "/path/to/some/file.png"), has anybody seen this before?
Takle has joined #ruby
Takle_ has quit [Read error: Connection reset by peer]
kaspergr_ has quit [Read error: Connection reset by peer]
jottr has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
kaspergrubbe has joined #ruby
DrShoggoth has quit [Quit: Leaving]
<jhass>
louism2wash: either add a shebang and mark the script as executable or use | ruby ruby_file.rb
<bricker>
I get it when running the command in bash too
icarus has joined #ruby
PierreRambaud has quit [Quit: Quitte]
timonv_ has quit [Remote host closed the connection]
Hobogrammer has quit [Read error: Connection reset by peer]
<bricker>
oh, it has to do with the NFS mount
<louism2wash>
awesome, thanks guys
ptrrr has quit [Quit: ptrrr]
noop has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pupeno has joined #ruby
chthon has quit [Ping timeout: 265 seconds]
nonks has quit [Ping timeout: 246 seconds]
ramfjord has quit [Quit: Lost terminal]
Dude007 has joined #ruby
Pupeno_ has quit [Ping timeout: 265 seconds]
jottr_ has joined #ruby
jottr has quit [Read error: Connection reset by peer]
jasooon has joined #ruby
mkaesz has quit [Quit: Leaving...]
beneggett has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arya_ching_ has joined #ruby
elfuego has joined #ruby
avelldiroll has joined #ruby
Kricir has quit [Remote host closed the connection]
<elfuego>
how do I escape a string in a variable?
fabrice31 has joined #ruby
arya_ching has quit [Ping timeout: 265 seconds]
Kricir has joined #ruby
<jhass>
elfuego: "escape"?
<elfuego>
I am storing a directory location in the variable e.g. /var/lib/app elfuego
nonks has joined #ruby
Vile` has joined #ruby
<elfuego>
jhass:
arya_ching_ is now known as arya_ching
<jhass>
and?
Pupeno_ has joined #ruby
<kireevco>
elfuego: why do you need to escape it?
<jhass>
escape it how even?
jasooon has quit [Ping timeout: 244 seconds]
kaspergrubbe has quit [Remote host closed the connection]
louism2wash has quit [Quit: This computer has gone to sleep]
dmuff has left #ruby ["Leaving"]
<j2p2>
oh
dmuff has joined #ruby
<j2p2>
use "'s
<j2p2>
and do \
<j2p2>
wait you shouldn't need that for that slash
<j2p2>
ignore me
<dmuff>
Im having problems installing nokogiri
<j2p2>
what kind of problems
<elfuego>
when I put it as a string literial in the code it works fine, but when I read the directory location from an environment variable the code doesn’t work
<dmuff>
getting "libxml2 is missing"
<dmuff>
anyone had this before? seems like a common problem
fabrice31 has quit [Ping timeout: 250 seconds]
<elfuego>
I am totally new to ruby, but the concept is the same for other programming languages jhass kireevco
Takle has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 272 seconds]
<jhass>
elfuego: "doesn't work"
Kricir has quit [Ping timeout: 256 seconds]
<jhass>
you claim to be a programmer, you can do better than that
mrsolo has quit [Read error: Connection reset by peer]
<jhass>
dmuff: well, do you have libxml2 and its dev headers installed?
_2_yoursexylover has joined #ruby
gaganjyot has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
<jhass>
elfuego: and no, "escape" is not a well defined operation, it heavily depends on the target context
drkyro has joined #ruby
<apeiros>
prisons!
neoxquick has joined #ruby
iamjarvo has quit [Remote host closed the connection]
<apeiros>
though, isn't that a source context?
Kricir has joined #ruby
<jhass>
well, it has an implied target context
toordog has quit [Ping timeout: 244 seconds]
_2_yoursexylover has quit [Read error: Connection reset by peer]
carraroj has quit [Quit: Konversation terminated!]
danjordan has quit [Quit: danjordan]
jokke has quit [Quit: WeeChat 1.0.1]
<dmuff>
jhass: yes I think so
sepp2k has quit [Quit: Konversation terminated!]
Takle has joined #ruby
ringaring has quit [Quit: Leaving]
jokke has joined #ruby
sailias has quit [Quit: Leaving.]
<Areessell>
Is there a difference between a format and an encoding?
<apeiros>
is there anything similar between format and encoding?
bluOxigen has joined #ruby
<dmuff>
Ive tried to install, specifying the path using --with-xml2-include
blueOxigen has quit [Ping timeout: 256 seconds]
AlSquirrel has quit [Quit: This computer has gone to sleep]
allcentury has joined #ruby
<Areessell>
I don't really know. Is transforming data like { first: 'John', last: 'Doe' } into a string such as "john.doe" referred to encoding or formatting?
chrishough has joined #ruby
<jhass>
certainly not encoding
blueOxigen has joined #ruby
<fenak>
Areessell: I don't know if it would be corret saying a Hash -> String is a formatting too.
<apeiros>
Areessell: that's called serialization or marshalling
sailias has joined #ruby
Takle has quit [Ping timeout: 256 seconds]
<apeiros>
fenak: IMO no, that's not formatting. formatting is something you do with scalar -> scalar. most often string -> string.
o0oo0o has joined #ruby
<fenak>
Areessell: maybe a transformation or a kind of convertion? lol
<dmuff>
I have verified that all these paths exist
sailias has quit [Client Quit]
AlSquirrel has joined #ruby
<wallerdev>
thats quite the install command lol
<fenak>
benzrf: with a serialization i should be able do reconstruct the same object deserializing it, no?
sinequanon has joined #ruby
havenwood has quit [Remote host closed the connection]
<Areessell>
That might not always be the case.
<Areessell>
For example, base64
AlSquirrel has quit [Remote host closed the connection]
rubyonrailed has joined #ruby
<apeiros>
base64 is a case of encoding
bluOxigen has quit [Ping timeout: 264 seconds]
AlSquirrel has joined #ruby
<fenak>
exactly
IcyDragon is now known as IceDragon
moritzschaefer has joined #ruby
<apeiros>
not formatting, not serialization
<fenak>
i wouldnt call that serialization, since i'm losing information and therefore cannot reconstruct this over the wire..
<apeiros>
for a base64 encoding, you already need your data serialized
<Areessell>
Here's where I get confused. I've seen data formats, data encodings, file formats, and file encodings.
<dmuff>
yea, its ridiculously long lol
rafadc has joined #ruby
<fenak>
apeiros: could we call it conversion?
Lewix has quit [Remote host closed the connection]
AlSquirrel has quit [Client Quit]
<rubyonrailed>
I need some help with hashes. I have a hash that looks like this: {14=>1, 12=>1} But the keys and values will always be different and could have more. How do I grab them in pairs, for example; I want the key 14 and value 1 and want to be able to use them in my program
<fenak>
not quite right either.. lol..
<Areessell>
For example, WAV files are RIFF files which is a binary format/encoding, holding chunks of Hash-like data. One of the chunks has the audio data. But this audio data is also formatted/encoded in LPCM, 32-bit floats, etc.
o0oo0o has quit [Ping timeout: 246 seconds]
<Areessell>
Is the file a format and the audio data an encoding? Are they the same? Or both a case of serialzation?
<Areessell>
It's damn confusing
moritzs has quit [Ping timeout: 245 seconds]
Dude007 has quit [Remote host closed the connection]
<pontiki>
okay, i'm now adding codecs to the list of things i hate
sailias has joined #ruby
<pontiki>
timezones, character sets, and codecs
jokke has quit [Quit: WeeChat 1.0.1]
<Areessell>
Pretty spot on list
<fenak>
rubyonrailed: you could iterate it with each |k, v| or each_pair
<fenak>
rubyonrailed: with each_pair you have an array of [key, value] for each iteration
<rubyonrailed>
Thanks
jokke has joined #ruby
awarner_ has quit [Ping timeout: 244 seconds]
awarner has joined #ruby
emmesswhy has quit [Quit: Leaving]
francisfish has quit [Remote host closed the connection]
awarner has quit [Client Quit]
nonks has joined #ruby
Hijiri has quit [Ping timeout: 256 seconds]
tvw has quit []
carraroj has joined #ruby
hmsimha_ has quit [Ping timeout: 264 seconds]
reinaldob has quit [Remote host closed the connection]
Takle has joined #ruby
fenak has quit [Remote host closed the connection]
skolman_ has quit [Ping timeout: 264 seconds]
rj46 has joined #ruby
Guest71350 has quit [Remote host closed the connection]
Timgauthier is now known as timgauthier_away
nonks has quit [Ping timeout: 246 seconds]
davejlong has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ducklobster>
can anyone point me to what the scoping rules are for this type of thing?
<ducklobster>
and is the solution to do something like a.dup.each ...
crazydiamond has joined #ruby
Areessell has quit [Quit: (null)]
<jhass>
ducklobster: v is a local variable, you assign the local variable a new value, that's all
<eam>
what kind of escaping?
<eam>
whoops, mischan
dab has quit [Quit: WeeChat 1.0.1]
thumpba has quit [Ping timeout: 260 seconds]
<Sou|cutter>
ducklobster: that's... not scoping really
<jhass>
ducklobster: whereas []= is a method call, it happens on the object v points to
<ducklobster>
jhass: yes, but in the second example, the value isnt locally changed
<ducklobster>
jhass: ohhh
fabrice31 has joined #ruby
n_blownapart has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ducklobster>
jhass: that makes sense, i didn't consider []= as a method call but a memory access of sorts
<pipework>
ducklobster: Then you'd be wrong.
<jhass>
it's a method call, you can even define it for your own objects
<ducklobster>
also that #dup solution I presented does not work
Akuma has quit [Remote host closed the connection]
<Sou|cutter>
what are you trying to do?
nonks has joined #ruby
<ducklobster>
Basically make anything I do in the #each loop immutable
jasooon has joined #ruby
thumpba has joined #ruby
<ducklobster>
I mean now that I know about the scoping and []= I can avoid it
<jhass>
yeah, chances are Enumerable, Hash or Array provide better means for what you're actually trying to do than assigning inside an each loop
<Sou|cutter>
if the v object is mutable, you just have to avoid doing things that mutate it
Akuma has joined #ruby
<ducklobster>
thanks for the help guys!
<Sou|cutter>
just because you have a reference to it within the block doesn't mean you have a whole separate object. It's a variable pointing to the same object
freezey has joined #ruby
fenak has quit [Ping timeout: 255 seconds]
benzrf|offline is now known as benzrf
<ducklobster>
yeah, I am a bit fuzzy on when things are references and when they are their own ownject
<ducklobster>
object*
<jhass>
it's always the same
<rj46>
if kernel is hardened grsec/pax and i use RBEnv to start e.g jekyll serve should I add pax flags to ~/.rbenv/ruby-version
<jhass>
variables and parameters are always references
<rj46>
and its gems ?
prasselpikachu has joined #ruby
fenak has joined #ruby
maestrojed has quit [Ping timeout: 255 seconds]
Akuma has quit [Client Quit]
michaeldeol has joined #ruby
<ducklobster>
by parameters you mean those passed to a method?
Kilo`byte has joined #ruby
<jhass>
or those passed to a block
jasooon has quit [Ping timeout: 240 seconds]
<jhass>
the only difference between locals and parameters is where their definitions are, so it's actually not even a very useful distinction in ruby
moritzschaefer has joined #ruby
<jhass>
in fact local_variables returns params too
Dude007 has joined #ruby
klaut has joined #ruby
<apeiros>
params are locals
kireevco has quit [Quit: Leaving.]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rshetty has joined #ruby
<ducklobster>
i see
blasius has joined #ruby
klaut_ has quit [Ping timeout: 265 seconds]
<apeiros>
the only thing in code which are "their own object" are literals
byprdct_ has joined #ruby
danman has joined #ruby
fenak has quit [Remote host closed the connection]
byprdct has quit [Ping timeout: 272 seconds]
sinkensabe has quit [Remote host closed the connection]
Akuma has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klaut has quit [Read error: Connection reset by peer]
o0oo0o has joined #ruby
klaut has joined #ruby
anaeem1 has quit [Remote host closed the connection]
moritzschaefer has quit [Remote host closed the connection]
thebastl has joined #ruby
fenak has joined #ruby
<thebastl>
hi any advise on a gui toolkit for ruby?
gregf has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
phutchins has quit [Ping timeout: 264 seconds]
allcentury has quit [Ping timeout: 272 seconds]
<thebastl>
i already googled ;) everythings seems inactive or not worth the time
jrdnull has quit [Ping timeout: 250 seconds]
benzrf is now known as benzrf|offline
o0oo0o has quit [Ping timeout: 246 seconds]
spstarr has joined #ruby
livingstn has quit []
<spstarr>
How to split a string if there is a numeric value in it?
<spstarr>
ie: "Level2".split(...)
<spstarr>
so split string if there is a number
<spstarr>
regex
<jhass>
/\d/ ?
bricker has quit [Ping timeout: 245 seconds]
momomomomo has quit [Ping timeout: 258 seconds]
<j2p2>
^
codecop has quit [Remote host closed the connection]
<soahccc>
scan if you would like to keep the actual number
thebastl has quit [Quit: Leaving]
<j2p2>
thebast1 there is 'shoes'
<j2p2>
you have to run it in kind of its own environment for it to work though
Spoopi_Uli is now known as Draculrike
shazaum has joined #ruby
carraroj has left #ruby ["Konversation terminated!"]
<spstarr>
well, the result should be str = "level2".split(/\d/)
<spstarr>
str[0] = 'level', str[1] = '2'
ptrrr has quit [Quit: ptrrr]
<spstarr>
str = "level2".split(/\d/) puts str <-- shows only 'level'
riceandbeans has quit [Quit: leaving]
<spstarr>
so str is not showing both parts of split
anaeem1 has joined #ruby
byprdct has joined #ruby
<spstarr>
or use .scan()?
levity_island has joined #ruby
blasius has quit []
bricker`work has joined #ruby
byprdct_ has quit [Ping timeout: 256 seconds]
<spstarr>
str = "level2".scan(/\d+|[A-Za-z]+/)
chrishough has quit [Ping timeout: 244 seconds]
larissa has quit [Quit: Leaving]
riceandbeans has joined #ruby
chrishough has joined #ruby
rodfersou has quit [Quit: leaving]
fenak has quit [Ping timeout: 256 seconds]
<siwica>
what do you think would be the benefits of ruby over python?
red_horned_rihno has quit [Ping timeout: 244 seconds]
cndiv has joined #ruby
lsmola has joined #ruby
red_horned_rihno has joined #ruby
jxf has quit [Ping timeout: 255 seconds]
<havenwood>
siwica: chunky bacon and foxes whilst saving two letters
<apeiros>
your resume is 2 chars shorter
<apeiros>
^5 havenwood
<havenwood>
apeiros: hehe :)
<j2p2>
also you can say "look at this gem" and people won't hate you
<riceandbeans>
ruby is cleaner and easier to read
gaganjyot has quit [Quit: Leaving]
tlarevo has quit [Remote host closed the connection]
<havenwood>
fewer snakes
<apeiros>
no issues with "python 3000 vs. python 2"
<riceandbeans>
yeah but ruby breaks on minors
<riceandbeans>
that's a stupid argument
<riceandbeans>
1.8 -> 1.9
<apeiros>
riceandbeans: so what? it's still "use the newest ruby" :-p
Draculrike is now known as Spoopi_Uli
<riceandbeans>
2.0-> 2.1
tlarevo has joined #ruby
<havenwood>
riceandbeans: 1.8 is dead, live in the now!
<apeiros>
riceandbeans: also, "breaks on minors" is a stupid argument
<apeiros>
1.8-2.1 were not semver
<riceandbeans>
breaking on major revisions is less bad than breaking on minor revisions
Spoopi_Uli is now known as Draculrike
<j2p2>
can't you see what's going on? that's a python spy trying to tear us apart
<apeiros>
so it's utterly pointless to point at digit position.
<riceandbeans>
that makes us look worse
BackEndCoder is now known as SpookyEndCoder
<j2p2>
and cause infighting
Lewix has joined #ruby
<riceandbeans>
I don't like python, but that's a bad arguing point for ruby is all I'm saying
<j2p2>
:p
<apeiros>
riceandbeans: the point is only valid if the project actually says it's semver. which ruby explicitly did not. baseless argument.
<havenwood>
riceandbeans: that's talking about a pre-semantic versioning version of Ruby that the community has agreed to leave in the dust though. better than the python 2/3 debacle by a stretch i think.
chrishough has quit [Ping timeout: 264 seconds]
<riceandbeans>
no it's not
<apeiros>
yes it is.
<riceandbeans>
2.0 -> 2.1 had the same issues
<riceandbeans>
but not as extreme
<apeiros>
2.0 was not semver either
yfeldblum has joined #ruby
<riceandbeans>
hell 1.9.1 to 1.9.3 broke things
<apeiros>
I guess that's a difficult to understand thing…
KC9YDN has joined #ruby
spyderman4g63 has quit []
<havenwood>
riceandbeans: 1.9.1 wasn't a stable release
<havenwood>
riceandbeans: ever
anaeem1 has quit [Read error: Connection reset by peer]
<apeiros>
yeah, I see, you don't understand that there are other schemes than semver. good thing I have no intention talking to walls.
anaeem1_ has joined #ruby
maletor has joined #ruby
tlarevo has quit [Ping timeout: 256 seconds]
sinequanon has quit [Remote host closed the connection]
<havenwood>
riceandbeans: Starting with Ruby 2.1.0 it's semantic versioning going forward. *In the past* the Ruby 1.9.1 was not a stable release, 1.9.2 and 1.9.3 were by many seen as a kind of release candidate for 2.0.0. Now we're in better days, where things are semantically versioned and the older versions have expiry dates approaching.
jenrzzz has joined #ruby
nonks has joined #ruby
jaequery has joined #ruby
ghr has joined #ruby
jaequery has quit [Max SendQ exceeded]
<havenwood>
riceandbeans: Point just being that there's a nice clean optimistic path forward. Things weren't perfect but they've gotten better and better to the point that we have a clear path out of the muck.
anaeem1_ has quit [Remote host closed the connection]
<havenwood>
riceandbeans: Python is well-mired.
jaequery has joined #ruby
n_blownapart has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
ldnunes has quit [Quit: Leaving]
chrishough has joined #ruby
sinequanon has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
davejlong has quit []
<havenwood>
siwica: what now, benefits of emacs over vim?!? :P
anaeem1 has joined #ruby
fsapo has quit [Remote host closed the connection]
<siwica>
havenwood: no need for discussion there
ghr has quit [Ping timeout: 250 seconds]
<siwica>
clear win for the first candidate ;)
TeresaP has joined #ruby
<apeiros>
is preemptive banning ethical? :)
jxf has joined #ruby
zB0hs has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<TeresaP>
Me? o_O
j_mcnally has joined #ruby
anaeem1 has quit [Remote host closed the connection]
elfuego has left #ruby [#ruby]
aspires has joined #ruby
<apeiros>
TeresaP: you what? preemptive banning? no, havenwood, for inciting editor flamewars ;-)
sinequanon has quit [Remote host closed the connection]
<TeresaP>
apeiros I thought you were talking about banning me for some reason, haha
<TeresaP>
I just joined
jaequery has quit [Ping timeout: 250 seconds]
<apeiros>
ah well, yes, banning innocent recent joiners is a hobby of mine.
adriancb has joined #ruby
sigurding has quit [Quit: sigurding]
aspires has quit [Client Quit]
russt has quit [Quit: russt]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
<siwica>
recent joiners who don't introduce themselves and contribute a good joke or poem will be banned without prior notification!
Danibal has quit []
<TeresaP>
lol you never know
<siwica>
you have 5 minutes ;)
<apeiros>
siwica: you ruined it! you gave prior notification!
aspires has joined #ruby
<siwica>
I thought I make an exception as the rule is fairly new
<apeiros>
new? I'm doing this for half a century now…
<siwica>
contributing poems?
fred-inRio has joined #ruby
<TeresaP>
haha
fmcgeough has quit [Quit: fmcgeough]
renderful has quit [Remote host closed the connection]
<riceandbeans>
I would rather use perl and ruby over python any day
shazaum has quit [Quit: Leaving]
fenak has joined #ruby
<havenwood>
Knock knock.
aspires has quit []
kireevco has quit [Read error: Connection reset by peer]
<apeiros>
who's there?
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
To
<apeiros>
to who?
<havenwood>
To whom**
<apeiros>
to whom?
<havenwood>
Oh, that's the whole joke. :(
<TeresaP>
Sorry for the newbie question, but how does one Extend a class? Someone asked me specifically to "extend" it which I thought was reserved for modules.
<havenwood>
Just pedantic. >.>
<apeiros>
oh :(
<apeiros>
I don't get it :-|
jasooon has joined #ruby
Neozonz has quit [Ping timeout: 258 seconds]
<apeiros>
TeresaP: every object can be extended. see Object#extend
<havenwood>
I think I just shouldn't tell jokes. That's the typical reception.
xymbol has quit [Quit: Be back later ...]
KC9YDN has quit [Remote host closed the connection]
Vile` has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
bluenemo has quit [Quit: Verlassend]
<siwica>
I am still puzzled about the "joke"?
jaequery has joined #ruby
CaptainHeavy has quit [Remote host closed the connection]
jaequery has quit [Max SendQ exceeded]
jaequery has joined #ruby
<TeresaP>
Sorry, but what if there are no modules at all. Both of those examples involved modules.
<havenwood>
siwica: To get a person to say "to who?" so you can pretend to be pedantically correcting them with "to whom?", maybe in-person delivery is requisite.
<Hanmac>
TeresaP: you can only extend and include Modules, but you can extend that Modules into Classes
elaptics is now known as elaptics`away
<apeiros>
TeresaP: maybe the person uses wrong terminology and means subclassing
Vile` has joined #ruby
<apeiros>
i.e., class Foo < Bar
devdazed has quit [Read error: Connection reset by peer]
jottr has quit [Read error: Connection reset by peer]
<apeiros>
in some languages, that is called "Foo extends Bar". the terminology should be avoided in ruby due to Object#extend's existence
<TeresaP>
You're probably right apeiros
revoohc has quit [Quit: revoohc]
adriancb has joined #ruby
jottr has joined #ruby
jasooon has quit [Ping timeout: 250 seconds]
adriancb has quit [Remote host closed the connection]
devdazed has joined #ruby
<siwica>
havenwood: lol
Aova has quit [Ping timeout: 265 seconds]
Lewix has quit [Remote host closed the connection]
mfmfmfmfmfmf has joined #ruby
<apeiros>
havenwood: maybe native english speakers are a prerequisite
Linell has joined #ruby
dkb20k has joined #ruby
<TeresaP>
Unfortunately when I do that, I get superclass must be a Class (NilClass given)
byprdct_ has joined #ruby
anaeem1_ has joined #ruby
Aova has joined #ruby
<apeiros>
TeresaP: gist your code please. and maybe provide more context.
byprdct has quit [Ping timeout: 245 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hijiri has quit [Quit: WeeChat 1.0.1]
<siwica>
TeresaP: have you defined a superclass? Maybe forgotten to include the respective file?
nfk has quit [Quit: yawn]
tier has quit [Remote host closed the connection]
<siwica>
apeiros: I am German but after the explanations I got it
visof has quit [Ping timeout: 258 seconds]
dkb20k has quit [Ping timeout: 240 seconds]
mistermocha has quit [Remote host closed the connection]
moritzschaefer has joined #ruby
bmurt has quit []
n_blownapart has joined #ruby
nfk has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
moritzschaefer has quit [Remote host closed the connection]
<apeiros>
TeresaP: class SomeClass < AnotherClass < Calabash::IBase # this is what raises. what is it supposed to do?
<TeresaP>
What is what supposed to do
graft has quit [Ping timeout: 256 seconds]
<apeiros>
that piece of code
jaequery has joined #ruby
<TeresaP>
Well the SomeClass is my class, and it uses code from AnotherClass
<apeiros>
so SomeClass inherits from AnotherClass. ok. and what's the < Calabash::IBase supposed to do? multiple inheritance?
<TeresaP>
The guy who asked me to 'extend' Calabash::IBase asked me to do that because of a problem with using screenshot_and_embed there
Hobogrammer has quit [Ping timeout: 244 seconds]
<TeresaP>
So in order to do that, I have to use multiple inheritance, as I am already inheriting
<apeiros>
I think the easier route is that you just ask that guy what precisely he meant :)
<apeiros>
well, multiple inheritance doesn't exist in ruby
<TeresaP>
well, damn
<apeiros>
a class inherits from precisely one class
<apeiros>
you can include an arbitrary number of modules
<TeresaP>
What if I have AnotherClass inherit from the Calabash::Ibase one?
<apeiros>
that's possible
<TeresaP>
ok, I'll give that a shot
<apeiros>
then SomeClass' ancestry is SomeClass, AnotherClass, Calabash::Ibase
<apeiros>
I'd ask for clarification
andikr has quit [Remote host closed the connection]
pdtpatrick_ has quit [Quit: pdtpatrick_]
freezey has quit [Remote host closed the connection]
<TeresaP>
Well, the original problem is still happening, but I no longer see the more recent error message I posted about :)
<TeresaP>
Thanks
freezey has joined #ruby
<siwica>
You should probably now exactly what you do and and ask him in any case. I suspect thats the way software projects get unmaintainable if one just tries to make it work somehow.
<siwica>
*know
<TeresaP>
He lives overseas so trying various things for a few minutes to see what fixes the original problem is my best bet
<TeresaP>
I'm going to respond with what I tried and ask him if that's what he means, though
noop has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
luminor has joined #ruby
stephenwithav has joined #ruby
n_blownapart has quit []
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
<bricker`work>
postmodern et al, to uninstall a ruby with ruby-install do I just rm -rf ~/.rubies/ruby-1.9.3 etc?
freerobby has quit [Quit: Leaving.]
devdazed has quit [Quit: Computer has gone to sleep.]
graft has quit [Ping timeout: 256 seconds]
fred-inRio is now known as devFrederick
<waxjar>
yep
<bricker`work>
thanks
sinequanon has joined #ruby
linojon has quit [Quit: linojon]
freezey has joined #ruby
pietr0 has quit [Quit: pietr0]
vickleford has quit [Remote host closed the connection]
pdtpatrick_ has joined #ruby
dkb20k has joined #ruby
nonks has joined #ruby
lampd1 has joined #ruby
havenwood has joined #ruby
freezey has quit [Ping timeout: 255 seconds]
graft has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
michael3 has joined #ruby
Takle has quit [Remote host closed the connection]
TinkerTyper has quit [Ping timeout: 245 seconds]
musl has quit [Quit: WeeChat 1.0.1]
dkb20k has quit [Ping timeout: 244 seconds]
musl has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
icarus has quit [Remote host closed the connection]
jasooon has joined #ruby
<stephenwithav>
Is there an equivalent rvm command to rake install? (I've never used ruby before.)
sinequanon has quit [Remote host closed the connection]
Channel6 has joined #ruby
danman has joined #ruby
<havenwood>
stephenwithav: it'd be still be rake install
klaut has quit [Remote host closed the connection]
pietr0 has joined #ruby
Takle has joined #ruby
jasooon has quit [Ping timeout: 244 seconds]
michael3 has quit [Ping timeout: 250 seconds]
Hobogrammer has joined #ruby
hmsimha_ has joined #ruby
sinequanon has joined #ruby
ClarusCogitatio has quit [Ping timeout: 272 seconds]
graydot has joined #ruby
blackmesa has joined #ruby
skolman has quit [Remote host closed the connection]
volty has joined #ruby
wm3|busy has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
<stephenwithav>
thanks, havenwood. now to find rake (after gem install rake) so I can add it to my path.
jimbach has quit [Remote host closed the connection]
Insanity133 has joined #ruby
Insanity133 has quit [Remote host closed the connection]
Scotteh has joined #ruby
<stephenwithav>
odd, rake executes when I'm me, but not with sudo.
alvaro_o has joined #ruby
havenwood has quit []
charliesome has joined #ruby
wm3|busy has joined #ruby
adriancb has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nisstyre is now known as nisscream
<volty>
sudo echo $PATH
skolman has joined #ruby
it0a has joined #ruby
charliesome has quit [Client Quit]
yokel has quit [Ping timeout: 272 seconds]
<volty>
nop, sudo su, and then check path and env
wallerdev has quit [Quit: wallerdev]
troulouliou_dev has joined #ruby
yokel has joined #ruby
Insanity133 has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
devFrederick has quit [Read error: Connection reset by peer]
<volty>
sudo which rake, if not found you miss path setup for root
skolman has quit [Ping timeout: 255 seconds]
Insanity133 has quit [Remote host closed the connection]
jimbach has joined #ruby
michael3 has joined #ruby
rockdon_ has joined #ruby
rubie has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wm3|busy is now known as workmad3
mary5030 has joined #ruby
hamakn has joined #ruby
snath has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
ghr has joined #ruby
jimbach has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
hamakn has quit [Ping timeout: 255 seconds]
gizmore has joined #ruby
claymore has quit [Quit: Leaving]
hmsimha_ has quit [Ping timeout: 244 seconds]
<rubie>
hi all: im looking to optimize this code, which will add all prime numbers below 2million. my computer is having a problem processing this beastly inefficient program https://gist.github.com/gabrie30/1f0ae2114977a3510718
akamel has joined #ruby
sinequanon has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 256 seconds]
<volty>
you should google for algorithms on finding primes
jheg has quit [Quit: jheg]
<gizmore>
is an approximate result enough?
<siwica>
rubie: looking at your code this is not a ruby question but rather a question of finding a good algorithm
adriancb has quit [Remote host closed the connection]
govg_ has quit [Ping timeout: 244 seconds]
adriancb has joined #ruby
<rubie>
this will keep me busy enough to stay away from the candy tonight
jimbach has joined #ruby
<gizmore>
the easiest optimization is the +2+4+2 technique, and only test up to sqrt
henesy has joined #ruby
zorak8 has joined #ruby
ptrrr has quit [Client Quit]
snath has joined #ruby
nfk has quit [Quit: yawn]
freezey has quit [Ping timeout: 265 seconds]
deric_skibotn has quit [Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344]]
<siwica>
rubie: I just had to buy some grocery and was using the tram to get home from the supermarket. Almost back a guy vomited sitting almost next to me in the tram. That's enough reason for me to not leave the house anymore for the halloween bullshit tonight. :)
nfk has joined #ruby
sinequanon has joined #ruby
diegoviola has quit [Remote host closed the connection]
<rubie>
haha its spooky out there
ItSANgo has joined #ruby
jaequery has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
Caerbannog has joined #ruby
nonks has joined #ruby
luminor has quit []
taptapdan has quit [Quit: taptapdan]
sinequanon has quit [Ping timeout: 264 seconds]
Pupeno has joined #ruby
shiru has joined #ruby
ghostmoth has quit [Ping timeout: 245 seconds]
nonks has quit [Ping timeout: 246 seconds]
Pupeno_ has quit [Ping timeout: 244 seconds]
nfk has quit [Quit: yawn]
nobitanobi has joined #ruby
oleo is now known as Guest59845
oleo__ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has quit [Read error: Connection reset by peer]
oleo__ has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
Jackneill has quit [Remote host closed the connection]
oleo__ has joined #ruby
jasooon has joined #ruby
oleo__ is now known as oleo
Guest59845 has quit [Ping timeout: 264 seconds]
afhammad has joined #ruby
towski has quit [Read error: Connection reset by peer]
jasooon has quit [Ping timeout: 245 seconds]
o0oo0o has joined #ruby
porfa has joined #ruby
shiru has quit [Ping timeout: 245 seconds]
vectra has joined #ruby
yfeldblum has joined #ruby
mfmfmfmfmfmf has quit [Remote host closed the connection]
Takle has joined #ruby
jhwhite has joined #ruby
Pupeno_ has joined #ruby
skolman_ has quit [Remote host closed the connection]