havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
salasrod has quit [Read error: Connection reset by peer]
noobineer has quit [Quit: Leaving]
mynameisdebian has quit [Remote host closed the connection]
cagomez has quit [Remote host closed the connection]
cyberg has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 260 seconds]
Guest85563 has quit [Quit: leaving]
jcarl43 has quit [Quit: WeeChat 2.1]
mynameisdebian has joined #ruby
voker57 has quit [Remote host closed the connection]
noobineer has joined #ruby
pauliesaint_ has joined #ruby
pauliesaint has quit [Ping timeout: 240 seconds]
pauliesaint_ is now known as pauliesaint
voker57 has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
quobo has quit [Quit: Connection closed for inactivity]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r29v has quit [Quit: r29v]
jhack has quit [Quit: jhack]
jhack has joined #ruby
spiette has quit [Quit: ZNC 1.7.0 - https://znc.in]
spiette has joined #ruby
noobineer has quit [Ping timeout: 240 seconds]
willthechill has quit [Ping timeout: 265 seconds]
whippythellama has quit [Ping timeout: 240 seconds]
jhack has quit [Client Quit]
jhack has joined #ruby
lxsameer has joined #ruby
jhack has quit [Client Quit]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros__ has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 265 seconds]
Guest56583 has quit [Remote host closed the connection]
tpendragon has quit [Remote host closed the connection]
bier has quit [Ping timeout: 248 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
whippythellama has joined #ruby
bier has joined #ruby
lxsameer has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
eckhardt_ has joined #ruby
giraffe has joined #ruby
giraffe is now known as Guest76646
tpendragon has joined #ruby
jhack has joined #ruby
jhack has quit [Client Quit]
jhack has joined #ruby
jhack has joined #ruby
jhack has quit [Changing host]
apeiros has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
jasmith has joined #ruby
FernandoBasso has quit [Quit: Leaving]
whippythellama has quit [Quit: WeeChat 1.4]
salasrod has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noobineer has joined #ruby
lxsameer has joined #ruby
npgm has joined #ruby
noobineer has quit [Read error: Connection reset by peer]
sylario has quit [Quit: Connection closed for inactivity]
tdy has quit [Ping timeout: 264 seconds]
noobineer has joined #ruby
cthulchu has quit [Ping timeout: 240 seconds]
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby
noobineer has quit [Remote host closed the connection]
apeiros has joined #ruby
willthechill has joined #ruby
apeiros has quit [Ping timeout: 256 seconds]
noobineer has joined #ruby
zachk has quit [Quit: Leaving]
white_lilies has joined #ruby
pr0ton has quit [Quit: pr0ton]
tty has joined #ruby
focodev has joined #ruby
<focodev> what's up you ruby hipsters.. I have a rails app with two models... artists and albums... I run rails g createjointable artists albums and I get Artists_Albums table.. I see it in my postgres database.
<focodev> yet when I serve my app I get PG::UndefinedTable: ERROR: relation "albums_artists" does not exist
<focodev> and yes I have run rails db:migrate
akkiguru has joined #ruby
<focodev> nevermind... rails used capital letters for the join table and yet the SQL generated to grab my models out of the db was using lower case letters for the join table... why rails why.. I didn't do that shit, so why did you?
voiceftp has joined #ruby
bmurt has joined #ruby
apeiros has joined #ruby
tdy has joined #ruby
infernix has quit [Ping timeout: 276 seconds]
apeiros has quit [Ping timeout: 260 seconds]
lystra_ has quit [Remote host closed the connection]
MagePsycho has quit [Ping timeout: 244 seconds]
kryptoz has joined #ruby
nicht has quit [Ping timeout: 276 seconds]
kryptoz has quit [Remote host closed the connection]
postmodern has joined #ruby
alfiemax has joined #ruby
Xiti` has joined #ruby
focodev has quit [Quit: Page closed]
voice_ftp has joined #ruby
tenderlove has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kenichi_ has joined #ruby
m27frogy_ has joined #ruby
Kilobyte22 has joined #ruby
caw_________ has joined #ruby
shinnya_ has joined #ruby
DTZUZU2 has joined #ruby
stairmast0r_ has joined #ruby
duderono_ has joined #ruby
foamz_ has joined #ruby
jhill_ has joined #ruby
postmodern_ has joined #ruby
akkiguru_ has joined #ruby
alfiemax has quit [Ping timeout: 244 seconds]
MagePsycho has joined #ruby
nibbo_ has joined #ruby
tw1sted has joined #ruby
SirFunk_ has joined #ruby
pisculic1i has joined #ruby
connor_g1odwolf has joined #ruby
ule_ has joined #ruby
mrBen2k2k2k has joined #ruby
shaman42_ has joined #ruby
asio_ has joined #ruby
ptx0_ has joined #ruby
justinmcp has joined #ruby
kapil___ has joined #ruby
yosafbridge` has joined #ruby
ptx0_ has quit [Changing host]
ptx0_ has joined #ruby
Cthulu202 has joined #ruby
awx_ has joined #ruby
jraavis has joined #ruby
diego2 has joined #ruby
octomanc1 has joined #ruby
lxsameer has quit [Ping timeout: 264 seconds]
ianmalcolm_ has joined #ruby
diego2 has quit [Client Quit]
Neptu_ has joined #ruby
KramerC_ has joined #ruby
ianmalcolm has quit [Ping timeout: 240 seconds]
SirFunk has quit [Ping timeout: 240 seconds]
caw________ has quit [Ping timeout: 240 seconds]
foamz has quit [Ping timeout: 240 seconds]
dviola has quit [Ping timeout: 240 seconds]
kenichi has quit [Ping timeout: 240 seconds]
harmaahylje has quit [Ping timeout: 240 seconds]
Neptu has quit [Ping timeout: 240 seconds]
shaman42 has quit [Ping timeout: 240 seconds]
olblak has joined #ruby
zumbi has joined #ruby
wkoszek_ has joined #ruby
mluts has quit [Ping timeout: 240 seconds]
pisculichi has quit [Ping timeout: 240 seconds]
octomancer has quit [Ping timeout: 240 seconds]
voiceftp has quit [Ping timeout: 240 seconds]
akkiguru has quit [Ping timeout: 240 seconds]
ule has quit [Ping timeout: 240 seconds]
Xiti has quit [Ping timeout: 240 seconds]
duderonomy has quit [Ping timeout: 240 seconds]
stairmast0r has quit [Ping timeout: 240 seconds]
Cthulu201 has quit [Ping timeout: 240 seconds]
leafyleong has quit [Ping timeout: 240 seconds]
tw1sted_ has quit [Ping timeout: 240 seconds]
Kilo`byte has quit [Ping timeout: 240 seconds]
justinmcp_ has quit [Ping timeout: 240 seconds]
mkaito_ has quit [Ping timeout: 240 seconds]
zumbi has quit [Ping timeout: 240 seconds]
jmcgnh has quit [Ping timeout: 240 seconds]
olblak has quit [Ping timeout: 240 seconds]
ptx0 has quit [Ping timeout: 240 seconds]
jhill has quit [Ping timeout: 240 seconds]
paraxial has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 260 seconds]
m27frogy has quit [Ping timeout: 260 seconds]
booboy has quit [Ping timeout: 260 seconds]
yosafbridge has quit [Ping timeout: 260 seconds]
coffeecupp__ has quit [Ping timeout: 260 seconds]
klaas has quit [Ping timeout: 260 seconds]
nibbo has quit [Ping timeout: 260 seconds]
miah has quit [Ping timeout: 260 seconds]
snapcase has quit [Ping timeout: 260 seconds]
kiki_lamb has quit [Ping timeout: 260 seconds]
olspookishmagus has joined #ruby
klaas has joined #ruby
mluts_ has joined #ruby
kapil___ has joined #ruby
coffeecupp__ has joined #ruby
jhill_ has joined #ruby
foamz_ has joined #ruby
nibbo_ has joined #ruby
caw_________ has joined #ruby
DTZUZU has quit [Ping timeout: 260 seconds]
asio has quit [Ping timeout: 260 seconds]
connor_goodwolf has quit [Ping timeout: 260 seconds]
aloy has quit [Ping timeout: 260 seconds]
BTRE has quit [Ping timeout: 260 seconds]
Tharbakim has quit [Ping timeout: 260 seconds]
ablackack has quit [Ping timeout: 260 seconds]
awx has quit [Ping timeout: 260 seconds]
zxq2 has quit [Ping timeout: 260 seconds]
avelldiroll has quit [Ping timeout: 260 seconds]
r3m has quit [Ping timeout: 260 seconds]
jp has quit [Ping timeout: 260 seconds]
volix has quit [Ping timeout: 260 seconds]
wkoszek has quit [Ping timeout: 260 seconds]
arahael has quit [Ping timeout: 260 seconds]
postmodern has quit [Ping timeout: 260 seconds]
RougeR has quit [Ping timeout: 260 seconds]
Guest96065 has quit [Ping timeout: 260 seconds]
cgfbee has quit [Ping timeout: 260 seconds]
KramerC has quit [Ping timeout: 260 seconds]
shadeslayer has quit [Ping timeout: 260 seconds]
thejoecarroll_ has quit [Ping timeout: 260 seconds]
_habnabit has quit [Ping timeout: 260 seconds]
KrzaQ has quit [Ping timeout: 260 seconds]
caw_________ has quit [Changing host]
jhill_ has quit [Changing host]
foamz_ has quit [Changing host]
nibbo_ has quit [Changing host]
kapil___ has quit [Changing host]
KramerC_ has joined #ruby
KramerC_ has quit [Changing host]
diego2 has joined #ruby
foamz_ is now known as foamz
thejoecarroll has joined #ruby
KramerC_ is now known as KramerC
RougeT430 has joined #ruby
olblak has quit [*.net *.split]
zumbi has quit [*.net *.split]
wkoszek_ has quit [*.net *.split]
leafyleong has joined #ruby
Tharbakim has joined #ruby
volix has joined #ruby
avelldiroll has joined #ruby
olspookishmagus is now known as Guest41435
camilasan has quit [Ping timeout: 256 seconds]
KrzaQ has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
diego2 is now known as dviola
cgfbee has joined #ruby
avelldiroll has quit [Changing host]
avelldiroll has joined #ruby
infernix has joined #ruby
mkaito_ has joined #ruby
volix has quit [Changing host]
volix has joined #ruby
zumbi has joined #ruby
snapcase has joined #ruby
kiki_lamb has joined #ruby
bier has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
alfiemax has joined #ruby
Tharbakim has quit [Changing host]
Tharbakim has joined #ruby
olblak has joined #ruby
wkoszek_ has joined #ruby
gell5 has joined #ruby
<zenspider> ruby... hipsters...
<zenspider> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<zenspider> !rails
lxsameer is now known as Guest84006
paraxial has joined #ruby
jmcgnh has joined #ruby
aloy has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
lytol has quit [Remote host closed the connection]
_habnabit has joined #ruby
aloy is now known as Guest52147
jp has joined #ruby
bier has joined #ruby
cthulchu has joined #ruby
ablackack has joined #ruby
bmurt has joined #ruby
camilasan has joined #ruby
shadeslayer has joined #ruby
booboy has joined #ruby
arahael has joined #ruby
miah has joined #ruby
harmaahylje has joined #ruby
cthulchu_ has joined #ruby
cthu| has joined #ruby
cthulchu has quit [Ping timeout: 240 seconds]
cthulchu_ has quit [Ping timeout: 240 seconds]
gell5 has quit [Remote host closed the connection]
gell5 has joined #ruby
apeiros has joined #ruby
kryptoz has joined #ruby
gell5 has quit [Ping timeout: 240 seconds]
apeiros has quit [Ping timeout: 240 seconds]
BTRE has joined #ruby
Guest84006 has quit [Ping timeout: 240 seconds]
gell5 has joined #ruby
nicht has joined #ruby
<salasrod> +
Guest84006 has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
gell5 has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 276 seconds]
braincrash has quit [Quit: bye bye]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cthulchu_ has joined #ruby
Guest84006 has quit [Ping timeout: 244 seconds]
cthu| has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
r29v has joined #ruby
jraavis has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Guest84006 has joined #ruby
noobineer has quit [Ping timeout: 244 seconds]
jraavis has joined #ruby
kryptoz has quit [Remote host closed the connection]
r29v has quit [Quit: r29v]
apeiros has joined #ruby
ptx0_ is now known as ptx0
Guest84006 has quit [Ping timeout: 244 seconds]
alfiemax has joined #ruby
axsuul has joined #ruby
apeiros has quit [Ping timeout: 268 seconds]
kenichi_ is now known as kenichi
Guest84006 has joined #ruby
Guest80173 has quit [Read error: Connection reset by peer]
salasrod has quit [Remote host closed the connection]
Nicmavr has joined #ruby
Nicmavr is now known as Guest65812
gix has joined #ruby
gix- has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
tenderlove has joined #ruby
chkhanch has joined #ruby
r29v has joined #ruby
white_lilies has quit [Ping timeout: 256 seconds]
jraavis has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
Guest84006 has quit [Ping timeout: 240 seconds]
solocshaw has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
gell5 has joined #ruby
nicht has quit [Ping timeout: 256 seconds]
solocshaw has quit [Ping timeout: 264 seconds]
gell5 has quit [Ping timeout: 264 seconds]
Guest84006 has joined #ruby
solocshaw has joined #ruby
tenderlove has quit [Remote host closed the connection]
donofrio_ has quit [Remote host closed the connection]
Mrgoose2 has quit [Ping timeout: 240 seconds]
RougeT430 has quit [Ping timeout: 256 seconds]
apeiros has joined #ruby
SeepingN has joined #ruby
kryptoz has joined #ruby
dellavg has joined #ruby
kryptoz has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 260 seconds]
cthulchu_ has quit [Ping timeout: 240 seconds]
dellavg has quit [Client Quit]
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
dellavg has joined #ruby
paradisaeidae_ has quit [Client Quit]
paradisaeidae has quit [Client Quit]
starseed0000 has joined #ruby
Eiam has quit [Ping timeout: 276 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
alfiemax_ has joined #ruby
AJA4350 has quit [Quit: AJA4350]
alfiemax has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
pisculic1i is now known as pisculichi
pisculichi has quit [Changing host]
pisculichi has joined #ruby
Guest84006 has quit [Ping timeout: 244 seconds]
solocshaw has joined #ruby
darkhanb has joined #ruby
Guest84006 has joined #ruby
dviola has quit [Quit: WeeChat 2.1]
anisha has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
Guest84006 has quit [Ping timeout: 260 seconds]
apeiros has quit [Remote host closed the connection]
akkiguru_ has quit [Ping timeout: 240 seconds]
Guest84006 has joined #ruby
Inline_ has quit [Quit: Leaving]
amar has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cadillac_ has quit [Read error: Connection reset by peer]
cadillac_ has joined #ruby
amar has quit [Ping timeout: 244 seconds]
darkhanb has quit [Ping timeout: 244 seconds]
za1b1tsu has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
Guest84006 has quit [Ping timeout: 268 seconds]
cadillac_ has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
Guest84006 has joined #ruby
cadillac__ has joined #ruby
mynameis_ has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
cadillac__ is now known as cadillac_
SeepingN has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
starseed0000 has quit [Ping timeout: 240 seconds]
r3m has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
mtkd has joined #ruby
tenderlove has quit [Ping timeout: 265 seconds]
cadillac_ has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
cadillac_ has joined #ruby
tenderlove has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
mynameis_ has quit [Remote host closed the connection]
mynameisdebian has joined #ruby
apeiros has joined #ruby
aupadhye has joined #ruby
tenderlove has quit [Remote host closed the connection]
reber has joined #ruby
tenderlove has joined #ruby
cadillac_ has quit [Ping timeout: 268 seconds]
cadillac_ has joined #ruby
gell5 has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
tenderlove has quit [Ping timeout: 240 seconds]
akkiguru_ has joined #ruby
cadillac_ has joined #ruby
gell5 has quit [Ping timeout: 240 seconds]
mynameisdebian has quit [Remote host closed the connection]
akkiguru_ has quit [Ping timeout: 264 seconds]
ur5us has quit [Remote host closed the connection]
cadillac_ has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
cadillac_ has joined #ruby
Guest84006 has quit [Ping timeout: 244 seconds]
sidx64 has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
Mrgoose has joined #ruby
Technato1 has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
Guest84006 has joined #ruby
troys has quit [Quit: Bye]
nertzy has quit [Ping timeout: 276 seconds]
pabs has quit [Ping timeout: 255 seconds]
sauvin has joined #ruby
pabs has joined #ruby
akkiguru_ has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
postmodern__ has joined #ruby
postmodern_ has quit [Read error: Connection reset by peer]
za1b1tsu has quit [Ping timeout: 264 seconds]
za1b1tsu has joined #ruby
rippa has joined #ruby
cadillac_ has joined #ruby
tenderlove has joined #ruby
duderono_ has quit [Ping timeout: 248 seconds]
go|dfish has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
schleppel has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
Guest84006 has quit [Ping timeout: 244 seconds]
konsolebox has quit [Ping timeout: 244 seconds]
tenderlove has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
konsolebox has joined #ruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby
go|dfish has joined #ruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
Guest84006 has joined #ruby
shinnya_ has quit [Ping timeout: 248 seconds]
Pupeno__ has joined #ruby
Pupeno_ has quit [Ping timeout: 244 seconds]
Bloob_ has joined #ruby
<Bloob_> hi everyone ! im a total noob with ruby (I never studied it) and i did not get through a simple blocking thing
<Bloob_> can anyone help me to convert a data: {"current":260,"value":260,"points":[{"x":1,"y":239.0},{"x":2,"y":249.0},{"x":3,"y":241.0},"id":"Icng2-testicinga-procs","updatedAt":1530796631030}
<Bloob_> into data: {"current":260,"value":260,"points":[239,249,241], "id":"Icng2-testicinga-procs","updatedAt":1530796631030}
<Bloob_> i just want the y value separated by comma in the points variable;.
za1b1tsu has quit [Ping timeout: 268 seconds]
<Bloob_> i can provide code and help as long anyone answer me ^-^
<tbuehlmann> so convert [{"x":1,"y":239.0},{"x":2,"y":249.0},{"x":3,"y":241.0}] into [239, 249, 241], right?
<Bloob_> yes thats a way to do what i want
<Bloob_> can i explain you my all process ? because i think there's a simpler way to do it if you know the context
<tbuehlmann> not having too much time, but sure, go ahead. maybe there are more people reading
<Bloob_> do you know dashing ?
dionysus69 has joined #ruby
<Bloob_> i'm currently using a job (file that goes for information and return it in an "event") in ruby which is working great. It takes data from a Graphite (time series database)
<Bloob_> the output of what it takes is {"current":260,"value":260,"points":[{"x":1,"y":239.0},{"x":2,"y":249.0},{"x":3,"y":241.0},"id":"Icng2-testicinga-procs","updatedAt":1530796631030}
<Bloob_> but i need an other event to be sent, something like [239, 249, 241]
harmaahylje has quit [Ping timeout: 264 seconds]
<Bloob_> so 1 - i change what the job is taking from graphite
<Bloob_> 2- i do what you said : i convert the output into a new one
<Bloob_> job graphite.rb : https://pastebin.com/zMG3Fy05
<ruby[bot]> Bloob_: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<Bloob_> oh, sorry
andikr has joined #ruby
TomyWork has joined #ruby
yohji has joined #ruby
Tempesta_ is now known as Tempesta
Tempesta has quit [Changing host]
Tempesta has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alem0lars has joined #ruby
aufi has joined #ruby
za1b1tsu has joined #ruby
sidx64 has joined #ruby
<tbuehlmann> well, you can convert that array by calling .map { |element| element[:y] }
<Bloob_> literally ? because i dont know a damn thing about perl
Tempesta has quit [Quit: See ya!]
<Bloob_> i'm about to copy paste as the best place i can find
<Bloob_> myArray.map{ |element| element[:y] }
<Bloob_> ??
<tbuehlmann> try it in a console: my_array = [{x: 1, y: 239.0}, {x: 2,y: 249.0}, {x: 3, y: 241.0}]; my_array.map { |element| element[:y] } # => [239.0, 249.0, 241.0]
clemens3 has joined #ruby
Dbugger has joined #ruby
Technato1 has quit [Ping timeout: 260 seconds]
Guest52147 has quit [Quit: WeeChat 2.1]
aloy has joined #ruby
Technato1 has joined #ruby
DarthGandalf has joined #ruby
claudiuinberlin has joined #ruby
<baweaver> graphite_rows.map(&Xf.trace('y').get)
<baweaver> :D
ams__ has joined #ruby
Burgestrand has joined #ruby
ams__ has quit [Client Quit]
ams__ has joined #ruby
<Bloob_> undefined local variable or method `point' for #<Graphite:0x000000024c7af0>
ByronJohnson has quit [Ping timeout: 264 seconds]
<Bloob_> ^^'
<Bloob_> baweaver : it seems to be a good trick, where should i use it ?
ByronJohnson has joined #ruby
biberu has joined #ruby
DarthGandalf has quit [Ping timeout: 276 seconds]
<baweaver> It's a gem called Xf. That said simpler is probably better for now.
<tbuehlmann> ^
<Bloob_> ok, i know how to install a gem but i repeat, i dont know how to use any form of code in ruby. not even the simpliest
<Bloob_> i'm using code i found on the internet and i'm currently trying to adapt it. What you send me seems to be a nice feature bu i dont feel like i will be able to use it
sphenxes has joined #ruby
alfiemax has joined #ruby
blackmesa has joined #ruby
Technato1 has quit [Ping timeout: 260 seconds]
<Bloob_> i did it !!! thank you for help guys
<Bloob_> it was a "simple" points.map!{|element| element[:y]}
<tbuehlmann> \o/
chmurifree is now known as chmuri
DarthGandalf has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
Azure|dc has joined #ruby
Azure has quit [Ping timeout: 268 seconds]
za1b1tsu has quit [Ping timeout: 260 seconds]
akkiguru_ has quit [Ping timeout: 264 seconds]
Some-body_ has joined #ruby
sticaz has quit [Quit: WeeChat 2.0.1]
sticaz has joined #ruby
DarthGandalf has quit [Ping timeout: 265 seconds]
Some-body_ is now known as DarthGandalf
amar has joined #ruby
Fridtjof has quit [Ping timeout: 240 seconds]
rupam123456 has quit [Ping timeout: 240 seconds]
amar_ has joined #ruby
amar has quit [Read error: Connection reset by peer]
Biohazard_ has quit [Ping timeout: 265 seconds]
Technato1 has joined #ruby
gell5 has joined #ruby
nicesignal has quit [Ping timeout: 264 seconds]
sticaz has quit [Quit: toodles.]
sticaz has joined #ruby
shinnya has joined #ruby
akkiguru_ has joined #ruby
qba73 has joined #ruby
ellcs has joined #ruby
gell5 has quit [Ping timeout: 240 seconds]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Some-body_ has joined #ruby
DarthGandalf has quit [Ping timeout: 264 seconds]
Some-body_ is now known as DarthGandalf
rupam123456 has joined #ruby
riton has left #ruby ["WeeChat 2.1"]
za1b1tsu has joined #ruby
rupam123456 has quit [Ping timeout: 264 seconds]
Beams has joined #ruby
Fridtjof has joined #ruby
Biohazard has joined #ruby
ciscam has quit [Ping timeout: 244 seconds]
ciscam has joined #ruby
Beams has quit [Quit: .]
alex`` has joined #ruby
za1b1tsu has quit [Quit: WeeChat 2.1]
Beams has joined #ruby
kryptoz has joined #ruby
mikecmpbll has joined #ruby
za1b1tsu has joined #ruby
blackmesa has quit [Quit: WeeChat 2.1]
sidx64 has joined #ruby
sphenxes has quit [Quit: Leaving]
sphenxes has joined #ruby
sphenxes has quit [Max SendQ exceeded]
pauliesaint has quit [Ping timeout: 240 seconds]
Technato1 has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samosaphile> lupine:
Technato1 has joined #ruby
nicesignal has joined #ruby
megamos has joined #ruby
Beams has quit [Quit: .]
Beams has joined #ruby
pauliesaint has joined #ruby
venmx has joined #ruby
za1b1tsu has quit [Ping timeout: 244 seconds]
za1b1tsu has joined #ruby
sylario has joined #ruby
DarthGandalf has quit [Ping timeout: 260 seconds]
megamos has quit [Remote host closed the connection]
DarthGandalf has joined #ruby
sidx64 has quit [Quit: Textual IRC Client: www.textualapp.com]
sidx64 has joined #ruby
<Bloob_> Good morning everyone ! Is someone available for 2 minutes of his precious time?
Some-body_ has joined #ruby
DarthGandalf has quit [Ping timeout: 244 seconds]
Some-body_ is now known as DarthGandalf
pauliesaint has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
alfiemax has quit [Remote host closed the connection]
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
arne has joined #ruby
<arne> can anyone lead me into a good direction for generating captchas?
alfiemax has joined #ruby
nowhere_man has joined #ruby
duderonomy has joined #ruby
<Bloob_> Hey, i would like labels[] to have something like [1,2,3,4,5] https://gist.github.com/bloobXcinga/c1f6274b3242bb8f4984100dbe5debd7 can anyone help me with this easy thing ?
nima_m has joined #ruby
nyuszika7h_ is now known as nyuszika7h
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has joined #ruby
<arne> like.. labels << [item[:count]]
<arne> ?
<arne> labels << item[:count]*
za1b1tsu has quit [Ping timeout: 240 seconds]
<Bloob_> ooooooooh yes it seems right
<arne> lul
<Bloob_> i got an error : no implicit conversion of Symbol into Integer ???
<arne> but your code is odd, does item look like this? {0=>something1,:value=>something2,:count=>something3}
Azure|dc has quit [Ping timeout: 264 seconds]
<arne> well, item is an array i guess
<arne> how does "item" look
<arne> is it [{:count=>3},{:value=>2}]
<arne> ?
<Bloob_> i dont know exactly
<arne> well print it in line 4
<arne> p item
<Bloob_> im currently taking datas from a graph
<Bloob_> Y is the Y axe
<Bloob_> and count the X axe
<arne> pls show us "datapoints" otherwise it's hard to help you
tenderlove has joined #ruby
sidx64 has joined #ruby
<Bloob_> sorry, pastebin again https://pastebin.com/zMG3Fy05
<ruby[bot]> Bloob_: as I told you already, please use https://gist.github.com
tenderlove has quit [Remote host closed the connection]
<Bloob_> it is the original code. i'm working line 57
<Bloob_> i added the labels[] because i want it to be [1,2,3,4,5] (as much as it can find y value)
<arne> it doesn't help really
<arne> just print datapoints
<Bloob_> to re-graph it somewhere else
<Bloob_> data: {"datasets":[{"label":"First dataset","data":[{"y":255.0},{"y":240.0},{"y":245.0},{"y":232.0},{"y":240.0},{"y":232.0},{"y":239.0},{"y":245.0},{"y":236.0},{"y":238.0},{"y":234.0},{"y":235.0},{"y":233.0},{"y":249.0},{"y":245.0},{"y":247.0},{"y":235.0},{"y":238.0},{"y":237.0},{"y":234.0},{"y":245.0},{"y":231.0},{"y":235.0},{"y":237.0},{"y":240.0},{"y":240.0},{"y":233.0},{"y":234.0},{"y":238.0},{"y":245.0},{"y":232.0},{"y":235.0},{"y"
<Bloob_> too long
<Bloob_> wait
<arne> so, what info you want to extract from that?
<arne> only "data"?
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
dionysus70 is now known as dionysus69
lupine has quit [Ping timeout: 245 seconds]
<Bloob_> i managed to get the y value as i wanted to
<arne> i guess that's what get_value does?
<Bloob_> yep
<Bloob_> i need to add a variable ( labels[] ) to increment from 1 to 60
<Bloob_> as i get 60 y values
mikecmpbll has joined #ruby
<Bloob_> i just need to set a simple do boucle with an incremented variable in it
<Bloob_> which result should be labels=[1,2,3,4,5]
<Bloob_> i think is it a really simple thing but i always get an error when i try different ways to assign these [1.2.3.4]
<arne> ... well
<arne> labels << count
<arne> maybe :D ?
<arne> since count is a local variable there, and it gets incremented a line blow
tenderlove has joined #ruby
<Bloob_> ... yes, you are totally right
<Bloob_> i don't understand, i must have try it before
<Bloob_> that the first thing i did ..
<arne> :>
<Bloob_> thank you anyway for helping total noob
tenderlove has quit [Remote host closed the connection]
<arne> it's fine, that code is super confusing, and the json object aswell
<Bloob_> haha yes it is
<Bloob_> i would love to modify it to make it clear but ... as you can see, i'm a bad developper
<arne> im sure it will work out fine
<Bloob_> it will. thanks again.
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus70 has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
chmuri has quit [Excess Flood]
dionysus69 has quit [Ping timeout: 260 seconds]
dionysus70 is now known as dionysus69
tenderlove has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
<arne> is there maybe something like a "captchaPrint"
<arne> like, i give a function an input
<arne> "a94jn" and it amkes a captcha out of it? :D
tenderlove has quit [Remote host closed the connection]
chmurifree has joined #ruby
<Bloob_> i guess you had a look at https://github.com/kyledayton/rcaptcha
<Bloob_> and every gist captcha related
<arne> that's great
<arne> thanks
<Bloob_> hahahaha
<Bloob_> i know nothing about what i gave you but hope it will help you
<arne> well i just googled gems, and they all did weird stuff
<arne> this one looks like what i want
NL3limin4t0r has joined #ruby
tenderlove has joined #ruby
<Bloob_> i googled " ruby captcha generator "
<arne> i guess i was missing the generator part :)
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: inabit. zz.]
<arne> why are we living in a world with bots
<arne> so annoying
alfiemax has quit [Remote host closed the connection]
elomatreb has quit [Ping timeout: 256 seconds]
<Bloob_> and why captcha are still asking me to select cars after 3 entire captcha (more than 45seconds wasted)
<arne> well, are u behind a tor node? because that never happens to me
<Bloob_> i'm not. but usually, the captchas i get let me click on a square then is turns white and it takes 4 secondes to load the next image. thats annoying as fck
<Bloob_> when you have 4 images to wait to load and then, you click "verify captcha" and you have to do it one more time ?.
za1b1tsu has joined #ruby
<Bloob_> there is better way to verify if someone is human, captchas are not as viable as before
<arne> BACK TO TOPIC
<Bloob_> ^^
arne is now known as Bish
<Bish> >> "Hellö".each_byte.to_a.map(&:chr).join
<ruby[bot]> Bish: # => "Hell\xC3\xB6" (https://eval.in/1034217)
GodFather has quit [Ping timeout: 256 seconds]
<Bish> how does one tackle that problem?
sidx64 has joined #ruby
<Bish> ... i guess pack can do that.. nvm
jottr has joined #ruby
alfiemax has joined #ruby
<Bish> why is the encoding of a 88.chr US-ASCII anyways
<Bish> oh, because chr is only for ascii, i see myself out
za1b1tsu has quit [Ping timeout: 248 seconds]
gell5 has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> Bish: what problem?
<apeiros> >> "Hellö".each_byte.to_a.map(&:chr).join.force_encoding('utf-8')
<ruby[bot]> apeiros: # => "Hellö" (https://eval.in/1034221)
<Bish> i figured.
gell5 has quit [Ping timeout: 240 seconds]
<apeiros> also yeah, .pack("C*") >>> .map(&:chr).join
<Bish> well, doesn't sound right to have a broken string to tell it's it's whole again
<apeiros> you have a misunderstanding there
<apeiros> the string isn't broken
<Bish> well, for a moment it is, it's just not used in that time :p
<apeiros> no, not even for a moment.
<Bish> well, if you take the bits of a float, and put it into an integer, put it back into a float, then the integer one would still be broken, wouldn't it
<Bish> just thought there was a cleaner version
<apeiros> that's not really a good comparison
<Bish> because those are 2 types?
<apeiros> no, because the mechanisms differ
<Bish> how so
<apeiros> you have a string with an encoding. you break it up into something which can't preserve the encoding, you put it back together, so the encoding is binary.
<apeiros> and all you tell ruby is that you know that the encoding actually is utf-8, and not binary.
<apeiros> it's knowledge which you have to provide. hence the force_encoding.
<Bish> but force always sounds unclean
<apeiros> that's your perception.
<Bish> well, if you have to force something
sidx64 has joined #ruby
<apeiros> yeah, I'm not going to argue about your perception. that's kinda your own problem.
<Bish> there was something "wrong".. why would anyone "force" something.. if it wasn't supposed to be that way in the first place
<konsolebox> Bish: in some way i agree. #forced
<apeiros> what it does is inform ruby which encoding an array of bytes uses.
<Bish> describing it what it does is not an argument
<apeiros> if you want to hang yourself up about the naming of the method, well, d'uh. up to you.
<konsolebox> Bish: but seriously there is eventually a default choice of configuration that has to be made, hence forced configuration is needed sometimes
<Bish> i don't mind about the name.. the name is implied by what it does
nowhere_man has quit [Ping timeout: 265 seconds]
<Bish> the unclean nature of it .. made it named "force"
alfiemax has quit [Remote host closed the connection]
<apeiros> eh, yeah, that's bullshit.
Technato1 has quit [Ping timeout: 256 seconds]
Technato1 has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
<zenspider> forcing the encoding IS unclean. It might be wrong and you can wind up with an invalid string. Not sure why you're so hung up on the naming tho
<zenspider> force seems fine to me
<Bish> no the naming is perfect for what it does, because it is unclean :D
<zenspider> I've used it before mostly when I don't actually know the encoding, so I try out the encodings in stastistically most likely order until I get one where #valid_encoding? is true
<Bish> yeah... maybe that.s the reason why i hate it
<apeiros> well, every single-byte encoding will always give you valid_encoding?
<Bish> because whenever code includes force_encoding.. you fixed that piece of code multiple times..
<Bish> zenspider: charlock_holmes and mojibake are good
<apeiros> and there's plenty of cases where you have to read data to determine the encoding. most common case nowadays: http. you read. extract the encoding. set the encoding.
<zenspider> I used charlock to figure out the statistics of it
<Bish> ... well, charlock also provides setting it
<apeiros> of course you can also just stick to binary all the time with such data. however, that's far from the string being "broken".
elomatreb has joined #ruby
<zenspider> yeah... but at least in that case, the http header encoding is previously defined.
<Bish> with charlock_holmes/string
<Bish> what zenspider said
<zenspider> charlock is slow. I didn't want to deal with it
nima_m has quit [Ping timeout: 260 seconds]
<zenspider> so I did the maths and figured out the most likely encodings. 95% of ruby files are still ASCII anyhow
<zenspider> do some extra work on the other 5% but do it fast
<apeiros> charlock reproducibly returned false charsets for where I wanted to use it. so, I guess, good luck with that?
<zenspider> how/why?
<Bish> apeiros: well, do you never work with broken input?
<zenspider> were they actually invalid?
<apeiros> no idea for the why.
<apeiros> Bish: all the time.
<apeiros> but encodings isn't one of my problems.
<Bish> well, charlock worked for me, detected/transformed the weirdest things
<apeiros> it's limited to utf-8, macroman and windows-1252 in my case. and I can detect those with a high probability without charlock too.
sticaz has quit [Quit: toodles.]
<zenspider> I have a date with a jackhammer at 8:30am...
* zenspider heads to bed
<apeiros> sleep tight
<Bish> gn
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sticaz has joined #ruby
rawste has joined #ruby
sticaz has quit [Client Quit]
dalpo has joined #ruby
<dalpo> hi
cyberg has joined #ruby
Beams has quit [Quit: .]
Beams has joined #ruby
alfiemax has joined #ruby
nowhere_man has joined #ruby
amar_ has quit [Remote host closed the connection]
amar_ has joined #ruby
Cthulu202 has quit [Quit: Nowhere special. I always wanted to go there.]
FernandoBasso has joined #ruby
jottr has joined #ruby
akkiguru_ has quit [Ping timeout: 265 seconds]
Technato1 has quit [Ping timeout: 265 seconds]
Technato1 has joined #ruby
amar_ has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
Cthulu201 has joined #ruby
amar_ has joined #ruby
ur5us has joined #ruby
<Bish> dalpo: hi
fernandobasso_ has joined #ruby
FernandoBasso has quit [Ping timeout: 252 seconds]
sticaz has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
ur5us has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Beams has quit [Quit: .]
Xiti` has quit [Quit: Xiti`]
ur5us has quit [Remote host closed the connection]
Xiti has joined #ruby
ur5us has joined #ruby
alcroito has joined #ruby
alcroito has left #ruby ["Textual IRC Client: www.textualapp.com"]
sidx64 has joined #ruby
Beams has joined #ruby
pauliesaint has joined #ruby
shinnya has joined #ruby
sticaz has quit [Quit: toodles.]
sticaz has joined #ruby
ur5us has quit [Ping timeout: 268 seconds]
sidx64 has quit [Client Quit]
sidx64 has joined #ruby
guille-moe has joined #ruby
postmodern__ has quit [Quit: Leaving]
postmodern has joined #ruby
amar_ has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
amar_ has joined #ruby
pauliesaint has quit [Ping timeout: 240 seconds]
<darix> apeiros: people still using anything else besides utf-8 or maybe utf-16 should be spanked anyway :P
<apeiros> yes. binary or unicode. everything else demands punishment.
<apeiros> (with some rather rare exceptions)
amar_ has quit [Remote host closed the connection]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amar_ has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
AJA4350 has joined #ruby
amar_ has quit [Remote host closed the connection]
amar_ has joined #ruby
Beams has quit [Quit: .]
amar_ has quit [Read error: Connection reset by peer]
amar_ has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
Bish has quit [Quit: leaving]
postmodern has quit [Quit: Leaving]
ldnunes has joined #ruby
amar_ has quit [Remote host closed the connection]
zapata has quit [Read error: Connection reset by peer]
amar_ has joined #ruby
sidx64 has joined #ruby
zapata has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apparition has joined #ruby
claudiuinberlin has joined #ruby
Beams has joined #ruby
jrafanie has joined #ruby
alfiemax has joined #ruby
alfiemax_ has joined #ruby
GodFather has joined #ruby
lunarkitty7 has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
conta has joined #ruby
YokoBR has joined #ruby
<YokoBR> hi there
<YokoBR> please, I need help with nginx + passenger
psychicist__ has joined #ruby
<YokoBR> I'm migrating an app from a server to another, but I can't set up it running on passenger. It runs fine if I run rails server. This is my nginx config: https://gist.github.com/jersobh/23e1400dc6071e1dea070598145e8409
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 265 seconds]
qba73 has quit [Ping timeout: 240 seconds]
gell5 has joined #ruby
YokoBR has quit [Quit: Page closed]
gell5 has quit [Ping timeout: 276 seconds]
synthroid has joined #ruby
rwb has quit [Ping timeout: 264 seconds]
ldepandis has joined #ruby
lunarkitty7 has joined #ruby
alfiemax_ has quit [Ping timeout: 268 seconds]
sidx64 has joined #ruby
alex`` has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
GodFather has joined #ruby
Beams has quit [Quit: .]
MatrixBridge has joined #ruby
MatrixBridge has left #ruby ["User left"]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jraavis has joined #ruby
griffindy has joined #ruby
amar_ has quit [Ping timeout: 260 seconds]
sidx64 has joined #ruby
tenderlove has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 265 seconds]
tenderlove has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
bak1an has joined #ruby
tenderlove has joined #ruby
epistrephein has joined #ruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby
za1b1tsu has joined #ruby
tenderlove has quit [Remote host closed the connection]
Beams has joined #ruby
Beams has quit [Client Quit]
jottr has joined #ruby
tenderlove has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
GodFather has joined #ruby
bkxd has joined #ruby
nowhere_man has joined #ruby
Beams has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #ruby
qba73 has joined #ruby
rwb has joined #ruby
sidx64 has joined #ruby
alex`` has quit [Ping timeout: 240 seconds]
jhill_ is now known as jhill
dionysus69 has quit [Quit: dionysus69]
alex`` has joined #ruby
fmcgeough has joined #ruby
sphenxes has joined #ruby
gell5 has joined #ruby
gell5 has quit [Read error: Connection reset by peer]
gell5 has joined #ruby
Asher has quit [Ping timeout: 256 seconds]
mikecmpbll has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 268 seconds]
alex`` has quit [Quit: WeeChat 2.1]
bkxd has joined #ruby
tenderlove has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tenderlove has quit [Remote host closed the connection]
alem0lars has quit [Ping timeout: 276 seconds]
sidx64 has joined #ruby
Es0teric has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
jraavis has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
pauliesaint has joined #ruby
qba73 has quit []
amar_ has joined #ruby
kryptoz has quit [Remote host closed the connection]
rawste has quit [Quit: Sleep....]
bkxd has joined #ruby
jraavis has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
tenderlove has joined #ruby
Pupeno_ has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
Pupeno__ has quit [Ping timeout: 240 seconds]
rawste has joined #ruby
depesz has left #ruby ["WeeChat 2.1"]
shinnya has joined #ruby
psychicist__ has quit [Ping timeout: 244 seconds]
alfiemax has quit [Remote host closed the connection]
soniya29 has joined #ruby
soniya29_ has joined #ruby
psychicist__ has joined #ruby
conta has quit [Quit: conta]
Technato1 has quit [Ping timeout: 260 seconds]
Technato1 has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
Beams has quit [Quit: .]
Asher has joined #ruby
Asher is now known as Guest75528
Bloob_ has quit [Ping timeout: 252 seconds]
jottr has joined #ruby
sphenxes has quit [Quit: Leaving]
Guest75528 has quit [Client Quit]
lupine has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
lupine has quit [Ping timeout: 240 seconds]
kryptoz has joined #ruby
lupine has joined #ruby
gell5 has quit [Read error: Connection reset by peer]
conta has joined #ruby
tenderlove has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
nowhere_man has quit [Ping timeout: 240 seconds]
Sina has joined #ruby
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
faces has quit [Ping timeout: 240 seconds]
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tenderlove has joined #ruby
nowhere_man has joined #ruby
yokel has quit [Ping timeout: 264 seconds]
GodFather has joined #ruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
conta has quit [Ping timeout: 240 seconds]
sidx64 has joined #ruby
yokel has joined #ruby
Zaab1t has joined #ruby
tenderlove has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
Mike11 has joined #ruby
jraavis has quit [Read error: Connection reset by peer]
sidx64 has quit [Client Quit]
vondruch has quit [Quit: vondruch]
jrafanie has joined #ruby
andy_ has joined #ruby
sidx64 has joined #ruby
sidx64 has quit [Client Quit]
vondruch has joined #ruby
<andy_> is ruby 2.5 faster than 2.4?
Guest65812 has quit [Read error: Connection reset by peer]
sidx64 has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
vondruch has quit [Client Quit]
Nicmavr has joined #ruby
tvw has joined #ruby
Nicmavr is now known as Guest18491
griffindy has quit [Quit: Textual IRC Client: www.textualapp.com]
tenderlove has joined #ruby
faces has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
mjacob has joined #ruby
tenderlove has quit [Remote host closed the connection]
<mjacob> on which level does the string indexing (and size etc.) work? unicode code points?
<apeiros> what string indexing?
tenderlove has joined #ruby
<mjacob> e.g. a[1] where a is a string
<apeiros> andy_: as far as I'm aware, every new ruby version since 2.2 has mostly improved performance.
<apeiros> mjacob: String#[] is a character based operation.
tenderlove has quit [Read error: Connection reset by peer]
<mjacob> apeiros: sure, but what's a character?
tenderlove has joined #ruby
conta has joined #ruby
<apeiros> I'd refer you to the unicode definition of it
RougeR has joined #ruby
RougeR has quit [Changing host]
RougeR has joined #ruby
tenderlove has quit [Remote host closed the connection]
epistrephein has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
Beams has joined #ruby
Rapture has joined #ruby
amar_ has quit [Remote host closed the connection]
bmurt has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
conta has quit [Ping timeout: 240 seconds]
tdy has quit [Ping timeout: 248 seconds]
Zaab1t has quit [Quit: Zaab1t]
synthroid has quit [Remote host closed the connection]
andy_ has left #ruby ["Leaving"]
alem0lars has joined #ruby
tenderlove has joined #ruby
TomyWork has joined #ruby
dviola has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
kryptoz has quit [Remote host closed the connection]
kryptoz has joined #ruby
tdy has joined #ruby
griffindy has joined #ruby
tenderlove has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
kryptoz has quit [Remote host closed the connection]
conta has joined #ruby
Technato1 has quit [Ping timeout: 240 seconds]
GodFather has quit [Ping timeout: 276 seconds]
white_lilies has joined #ruby
<darix> mjacob: maybe use "".codeporints "".chars "".bytes
<darix> depending what you want
GodFather has joined #ruby
Technato1 has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
white_lilies has quit [Ping timeout: 264 seconds]
bkxd has joined #ruby
Beams has quit [Quit: .]
GodFather has quit [Ping timeout: 276 seconds]
nowhere_man has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
kryptoz has joined #ruby
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
tenderlove has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
Beams has joined #ruby
Burgestrand has quit [Quit: Closing time!]
amar_ has joined #ruby
conta has quit [Quit: conta]
Asher has joined #ruby
conta has joined #ruby
<mjacob> darix: thank you, that's in general a good idea! however i still don't quite understand what the chars method does exactly...
GodFather has joined #ruby
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 244 seconds]
r29v has quit [Quit: r29v]
chouhoulis has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 260 seconds]
shinnya has joined #ruby
nowhereman_ has quit [Ping timeout: 240 seconds]
synthroi_ has joined #ruby
synthroid has quit [Ping timeout: 260 seconds]
synthro__ has joined #ruby
<havenwood> don't forget!: "".grapheme_clusters
<havenwood> >> '🇫🇮'[0] # mjacob
<ruby[bot]> havenwood: # => "🇫" (https://eval.in/1034388)
<havenwood> >> '🇫🇮'.bytes
<ruby[bot]> havenwood: # => [240, 159, 135, 171, 240, 159, 135, 174] (https://eval.in/1034389)
<havenwood> >> '🇫🇮'.codepoints
<ruby[bot]> havenwood: # => [127467, 127470] (https://eval.in/1034390)
<havenwood> >> 127467.chr 'utf-8'
<ruby[bot]> havenwood: # => "🇫" (https://eval.in/1034391)
<havenwood> mjacob: TL;DR: codepoints
<havenwood> >> '🇫🇮'.chars
<ruby[bot]> havenwood: # => ["🇫", "🇮"] (https://eval.in/1034392)
<havenwood> Which is the same thing as chars.
mikecmpbll has quit [Quit: inabit. zz.]
synthroi_ has quit [Ping timeout: 264 seconds]
<havenwood> >> '🇫🇮'.chars == '🇫🇮'.codepoints.map { |codepoint| codepoint.chr 'utf-8' }
<ruby[bot]> havenwood: # => true (https://eval.in/1034393)
aufi has quit [Quit: Leaving]
<mjacob> it seems like it depends on the encoding of the string...
<apeiros> the encoding defines how bytes map to characters, yes.
TomyWork has quit [Ping timeout: 240 seconds]
<apeiros> (and vice versa)
tcopeland has joined #ruby
soniya29_ has quit [Ping timeout: 276 seconds]
soniya29 has quit [Ping timeout: 276 seconds]
alex`` has joined #ruby
zleap has joined #ruby
MzrE has joined #ruby
chkhanch has quit [Ping timeout: 240 seconds]
fmcgeough has quit [Remote host closed the connection]
<mjacob> nevermind my last message
andi has quit [Remote host closed the connection]
<mjacob> my actual question is: is there a way to have a string s where `s.chars.size != s.codepoints.size`?
fluxAeon has joined #ruby
r29v has joined #ruby
Technato1 has quit [Ping timeout: 265 seconds]
Technato1 has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
nowhereman_ has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
jhack has quit [Read error: Connection reset by peer]
jhack has joined #ruby
jhack has joined #ruby
jhack has quit [Changing host]
quobo has joined #ruby
r29v has quit [Quit: r29v]
salasrod has joined #ruby
r29v has joined #ruby
r29v has quit [Client Quit]
dviola has quit [Quit: WeeChat 2.1]
za1b1tsu has quit [Quit: WeeChat 2.1]
r29v has joined #ruby
jottr has joined #ruby
za1b1tsu has joined #ruby
apparition has quit [Quit: Bye]
tenderlove has quit [Ping timeout: 260 seconds]
<havenwood> mjacob: Those are both: s.size
<mjacob> havenwood: always?
npgm has quit [Quit: Connection closed for inactivity]
gnufied has quit [Quit: Leaving]
soniya29 has joined #ruby
soniya29_ has joined #ruby
noobineer has joined #ruby
dviola has joined #ruby
gnufied has joined #ruby
<havenwood> mjacob: yes
GodFather has joined #ruby
<havenwood> mjacob: codepoints are the ordinal of each character
<havenwood> mjacob: size counts characters
troys has joined #ruby
tenderlove has joined #ruby
<mjacob> indeed, the size should be the same
<mjacob> also, is `s.chars.map { |c| c.ord } == s.codepoints` always true? the code paths for this look a bit different
zleap has quit [Quit: WeeChat 2.1]
amar__ has joined #ruby
amar_ has quit [Ping timeout: 244 seconds]
ptx0 has quit [Quit: Changing server]
ptx0 has joined #ruby
dviola has quit [Quit: WeeChat 2.1]
akaiiro has quit [Remote host closed the connection]
<dorian> hey can anybody point to best practices for dealing with namespace collisions? specifically if you define module/class Foo::Bar and thus module Foo, but there is a class Foo hanging out somewhere else?
<havenwood> mjacob: i can't think of a case where the ordinals of the characters would differ from the codepoints. i have to relocate at the moment, but i'll follow the code later to double check.
amar_ has joined #ruby
dviola has joined #ruby
jcarl43 has joined #ruby
<havenwood> dorian: Matz has mentioned that namespace improvements are something he has in mind for the future.
<mjacob> havenwood: thank you!
<havenwood> dorian: There's no way to have a class and module of the same name though. You have to rename one of them.
jottr has quit [Ping timeout: 244 seconds]
<dorian> yeah i don't really care whether Foo is a module or class,
sidx64 has quit [Quit: Textual IRC Client: www.textualapp.com]
<dorian> i just don't want it to collide when i load my own module
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
alem0lars has quit [Quit: Leaving]
amar__ has quit [Ping timeout: 244 seconds]
tolerablyjake has joined #ruby
soniya29_ has quit [Ping timeout: 240 seconds]
soniya29 has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
za1b1tsu has quit [Quit: WeeChat 2.1]
za1b1tsu has joined #ruby
<dorian> i just did something like unless Module.const_defined? 'Foo'; module Foo; end; end
<dorian> seems to work?
Beams has quit [Quit: .]
GodFather has quit [Ping timeout: 240 seconds]
yokel has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
bkxd has joined #ruby
yokel has joined #ruby
mtkd has quit []
r29v has quit [Quit: r29v]
venmx has quit [Ping timeout: 240 seconds]
salasrod has quit [Remote host closed the connection]
Inline has joined #ruby
andikr has quit [Remote host closed the connection]
daed has quit [Remote host closed the connection]
Mike11 has quit [Quit: Leaving.]
GodFather has joined #ruby
punnie has joined #ruby
tdy has joined #ruby
<Demos[m]> if I have a class defined over multiple files can I tell yard which is the correct file to pull top-level docs from
punnie has left #ruby [#ruby]
<Demos[m]> I can just not comment on the other files but that generates rubocop warnings
tcopeland has quit [Quit: tcopeland]
<Demos[m]> also how can I suppress rubocop warnings where I have an attr_accessor then later a method overriding either the getter or setter
<Demos[m]> if I just comment the getter and setter then yard will generate a new symbol in the docs, which isn't really what I want
shinnya has quit [Ping timeout: 260 seconds]
alem0lars_ has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
alem0lars has quit [Ping timeout: 264 seconds]
guille-moe has quit [Ping timeout: 264 seconds]
Mia has quit [Read error: Connection reset by peer]
Asher has quit [Quit: Leaving.]
mtkd has joined #ruby
sticaz has quit [Ping timeout: 240 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Pupeno_ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
alem0lars__ has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
MzrE has quit [Quit: Leaving]
jottr has joined #ruby
tdy has quit [Ping timeout: 264 seconds]
alem0lars_ has quit [Ping timeout: 240 seconds]
soniya29_ has joined #ruby
soniya29 has joined #ruby
apeiros has quit []
hakusaro has joined #ruby
graphene has joined #ruby
kryptoz has quit [Remote host closed the connection]
cheater has joined #ruby
kryptoz has joined #ruby
dbugger_ has joined #ruby
kryptoz has quit [Remote host closed the connection]
kryptoz has joined #ruby
kryptoz has quit [Read error: Connection reset by peer]
yohji has quit [Remote host closed the connection]
rawste has quit [Quit: Sleep....]
<hakusaro> If you have an Array of Arrays, like dr = Array.new(3, Array.new(3, "f")) and you set dr[0][0] = "z", why does every 0th item become "z" and not just the item at [0] of the [0]th array?
Dbugger has quit [Ping timeout: 265 seconds]
Guest84006 has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
ldepandis has quit [Ping timeout: 260 seconds]
<havenwood> hakusaro: Because your Array contains a single other Array, three times.
GodFather has joined #ruby
<havenwood> hakusaro: Compare with: Array.new(3) { Array.new(3, "f") }
<havenwood> hakusaro: ^ That is an Array that contains three different Arrays.
alem0lars__ has quit [Quit: Leaving]
<havenwood> >> Array.new(3, Array.new(3, "f")).map(&:object_id).uniq
hakusaro has quit [Ping timeout: 252 seconds]
<ruby[bot]> havenwood: # => [544427400] (https://eval.in/1034421)
alem0lars has joined #ruby
<havenwood> >> Array.new(3) { Array.new(3, "f") }.uniq
<ruby[bot]> havenwood: # => [["f", "f", "f"]] (https://eval.in/1034422)
<havenwood> >> Array.new(3) { Array.new(3, "f") }.map(&:object_id).uniq
<ruby[bot]> havenwood: # => [552619260, 552619240, 552619220] (https://eval.in/1034423)
Guest84006 has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
Guest84006 has quit [Ping timeout: 264 seconds]
nowhereman_ has quit [Ping timeout: 265 seconds]
Asher has joined #ruby
Technato1 has quit [Ping timeout: 260 seconds]
solocshaw has quit [Ping timeout: 276 seconds]
Eiam has joined #ruby
konsolebox has joined #ruby
Guest84006 has joined #ruby
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
Guest84006 has quit [Ping timeout: 240 seconds]
ferr has quit [Quit: WeeChat 2.1]
Guest84006 has joined #ruby
soniya29_ has quit [Quit: Leaving]
soniya29 has quit [Quit: Leaving]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest84006 has quit [Ping timeout: 240 seconds]
zxq2 has joined #ruby
za1b1tsu has quit [Ping timeout: 256 seconds]
<zxq2> when using inheritance if i want to simply add code to the constructor method of the superclass in the derived class without completely replacing it, can i do this?
<zxq2> if that's not clear: i want the derived class to inherit the superclass's constructor and to modify in the derived class, instead of rewriting the whole thing
<samosaphile> havenwood: i liked that spidr crawler gem you linked to yesterday .. the only problem i'm having with it is, it seems to do a breadth first search (meaning scan all folders in higher level directories) before moving to lower levels. Need to somehow make it depth first (i.e. crawl deep first then move on) but not too sure how
Guest84006 has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
apeiros_ has joined #ruby
ellcs1 has joined #ruby
Guest84006 has quit [Ping timeout: 265 seconds]
ule_ is now known as ule
ule has quit [Changing host]
ule has joined #ruby
sameerynho has joined #ruby
eckhardt_ has joined #ruby
Guest84006 has joined #ruby
nowhere_man has joined #ruby
Guest84006 has quit [Ping timeout: 248 seconds]
Guest84006 has joined #ruby
mtkd has quit []
ellcs is now known as Guest155
ellcs1 is now known as ellcs
Guest155 has quit [Killed (rajaniemi.freenode.net (Nickname regained by services))]
<havenwood> samosaphile: You need to crawl it depth first, or just do whatever you're doing depth first?
ellcs1 has joined #ruby
<zxq2> duh super
<havenwood> samosaphile: That doesn't seem to me like something that'd be easy to add to spidr.
rawste has joined #ruby
<havenwood> zxq2: Aye, super is handy!
Guest84006 has quit [Ping timeout: 240 seconds]
<havenwood> zxq2: Just saw your question, but here are some interesting things about super args: https://gist.github.com/havenwood/3ca22b3e03a16509708002d6c3c13562
<havenwood> &nil
<zxq2> thanks
RougeR has quit [Ping timeout: 260 seconds]
lytol has joined #ruby
Guest84006 has joined #ruby
mynameisdebian has joined #ruby
<samosaphile> havenwood: not sure what the difference is or if i understand you question correctly .. basically that site, the directory goes like: Day folders -> Name folders -> Contents (.rep file, .txt file, .jpg files) .. but I only need to read .txt files (ignore everything else)
fluxAeon has quit [Ping timeout: 260 seconds]
nowhere_man has quit [Ping timeout: 240 seconds]
Guest84006 has quit [Ping timeout: 244 seconds]
<samosaphile> havenwood: right now, it tries to download (or print I mean) all like Day folders first, then all name folders first ... before getting to actual contents (.txt files)
<samosaphile> maybe you're right not easy to add..
AndroidKitKat is now known as AppleiPhone
AppleiPhone is now known as AndroidKitKat
Guest84006 has joined #ruby
mikecmpbll has joined #ruby
mitescugd has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
rawste has quit [Quit: Sleep....]
pauliesaint has quit [Ping timeout: 244 seconds]
Guest84006 has quit [Ping timeout: 260 seconds]
pauliesaint has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
moei has quit [Quit: Leaving...]
Rapture has joined #ruby
tdy has joined #ruby
Guest84006 has joined #ruby
Guest84006 has quit [Ping timeout: 264 seconds]
sauvin has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
pr0ton has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest84006 has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
mtkd has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Guest84006 has quit [Ping timeout: 260 seconds]
ellcs has quit [Ping timeout: 240 seconds]
tdy has joined #ruby
moei has joined #ruby
eckhardt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
zachk has joined #ruby
zachk has quit [Changing host]
zachk has joined #ruby
claudiuinberlin has joined #ruby
solocshaw has joined #ruby
Guest84006 has joined #ruby
pr0ton has left #ruby [#ruby]
solocshaw1 has joined #ruby
ianmalcolm_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
ianmalcolm has joined #ruby
ianmalcolm has joined #ruby
ianmalcolm has quit [Changing host]
alem0lars has quit [Quit: Leaving]
solocshaw has quit [Ping timeout: 260 seconds]
solocshaw1 is now known as solocshaw
Guest84006 has quit [Ping timeout: 240 seconds]
alem0lars has joined #ruby
Guest84006 has joined #ruby
starseed0000 has joined #ruby
mtkd has quit []
Guest84006 has quit [Ping timeout: 256 seconds]
za1b1tsu has joined #ruby
Guest84006 has joined #ruby
ellcs has joined #ruby
Guest84006 has quit [Ping timeout: 240 seconds]
<samosaphile> lupine:
Guest84006 has joined #ruby
conta has quit [Quit: conta]
Guest84006 has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
ldnunes has quit [Ping timeout: 244 seconds]
tenderlove has quit [Remote host closed the connection]
Guest84006 has joined #ruby
tenderlove has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
eckhardt_ has joined #ruby
Guest84006 has quit [Ping timeout: 260 seconds]
desperek has joined #ruby
Guest84006 has joined #ruby
ldnunes has joined #ruby
Guest84006 has quit [Ping timeout: 248 seconds]
mikecmpbll has joined #ruby
biberu has quit []
fernandobasso_ has quit [Quit: Page closed]
Guest84006 has joined #ruby
dimino has joined #ruby
<dimino> hey I'm not super familiar with ruby, but I want to run some tests for this project but I'm not sure how to get the dependencies working -- I've run "bundle" and then tried "rake test" but it's not finding the deps
mtkd has joined #ruby
<havenwood> dimino: try: bundle exec rake
<dimino> ah ok
<havenwood> dimino: (There's an rspec task that's default.)
<havenwood> There's no test task.
Guest84006 has quit [Ping timeout: 240 seconds]
<dimino> that worked -- thanks
<havenwood> np
<dimino> yeah this is a lot of new stuff, I need to read more heh
akaiiro has joined #ruby
cjkinni has joined #ruby
Guest84006 has joined #ruby
beowuff has joined #ruby
Guest84006 has quit [Ping timeout: 260 seconds]
Guest84006 has joined #ruby
DarthGandalf has quit [Ping timeout: 264 seconds]
pauliesaint__ has joined #ruby
pauliesaint has quit [Ping timeout: 244 seconds]
pauliesaint__ is now known as pauliesaint
Guest84006 has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
alem0lars has quit [Ping timeout: 260 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest84006 has joined #ruby
claudiuinberlin has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
quobo has quit [Quit: Connection closed for inactivity]
Guest84006 has quit [Ping timeout: 240 seconds]
anisha has quit [Read error: Connection reset by peer]
havenwood has quit [Quit: ZNC 1.7.0 - https://znc.in]
dellavg has quit [Ping timeout: 260 seconds]
samosaphile has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
havenwood has joined #ruby
havenwood has quit [Changing host]
beefjoe has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tty has quit [Quit: tty]
eblip has quit [Quit: WeeChat 2.0.1]
rwb has quit [Ping timeout: 260 seconds]
Guest84006 has joined #ruby
anisha has joined #ruby
mtkd has quit []
Guest84006 has quit [Ping timeout: 244 seconds]
Mike11 has joined #ruby
\void has joined #ruby
tolerablyjake has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
Guest84006 has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
havenwood has quit [Quit: ZNC 1.7.0 - https://znc.in]
beowuff has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
dbugger_ is now known as Dbugger
havenwood has joined #ruby
havenwood has quit [Changing host]
havenwood has joined #ruby
quobo has joined #ruby
Guest84006 has quit [Ping timeout: 256 seconds]
DarthGandalf has joined #ruby
za1b1tsu has quit [Ping timeout: 256 seconds]
beowuff has joined #ruby
Guest84006 has joined #ruby
Zaab1t has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
schleppel has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Guest84006 has quit [Ping timeout: 260 seconds]
clemens3 has joined #ruby
psychicist__ has quit [Ping timeout: 240 seconds]
synthro__ has quit []
alfiemax has joined #ruby
Guest84006 has joined #ruby
GodFather has joined #ruby
manakanapa has joined #ruby
Guest84006 has quit [Ping timeout: 260 seconds]
jenrzzz_ has joined #ruby
wald0 has joined #ruby
Guest84006 has joined #ruby
DarthGandalf has quit [Ping timeout: 244 seconds]
GodFather has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DarthGandalf has joined #ruby
manakanapa has quit [Quit: The Lounge - https://thelounge.chat]
ur5us has joined #ruby
beefjoe has quit [Remote host closed the connection]
Guest84006 has quit [Ping timeout: 244 seconds]
za1b1tsu has joined #ruby
manakanapa has joined #ruby
Guest84006 has joined #ruby
ohcibi has quit [Remote host closed the connection]
cagomez has joined #ruby
Guest84006 has quit [Ping timeout: 260 seconds]
DarthGandalf has quit [Ping timeout: 244 seconds]
DarthGandalf has joined #ruby
alfiemax has quit [Remote host closed the connection]
Guest84006 has joined #ruby
Guest84006 has quit [Ping timeout: 260 seconds]
za1b1tsu has quit [Ping timeout: 260 seconds]
za1b1tsu has joined #ruby
shinnya has joined #ruby
Guest84006 has joined #ruby
Guest84006 has quit [Ping timeout: 244 seconds]
jenrzzz_ has quit [Ping timeout: 244 seconds]
knight33 has joined #ruby
Guest84006 has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest84006 has quit [Ping timeout: 240 seconds]
tolerablyjake has joined #ruby
ohcibi has joined #ruby
Guest84006 has joined #ruby
amar_ has quit [Remote host closed the connection]
Guest84006 has quit [Ping timeout: 240 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
tolerablyjake has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest84006 has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zenspider> havenwood: why do/did you recommend spidr? I'm checking it out out of curiosity and it seems slow as fuck to me. like REALLY slow.
<zenspider> rough guess... proportional or worse to number of links on a page
ivanskie has joined #ruby
<zenspider> it hits my sitemap page and literally sits there for ~8 seconds
Guest84006 has quit [Ping timeout: 260 seconds]
Mrgoose has quit [Ping timeout: 240 seconds]
<zenspider> I'm wondering if I'm missing something here... I'm using a snippet from the readme to print broken links
<zenspider> I think it is parsing an audio file now. :P
<havenwood> zenspider: I point people to it when I get the impression they're trying to create a crawler rather than use one, since it's simpler than something fancy and multithreaded like anemone.
<havenwood> Also, fewer tentacles.
rwb has joined #ruby
Guest84006 has joined #ruby
GodFather has joined #ruby
<zenspider> I've been using a modified version of the spider that ships with mechanize... It's been drifting tho, so I need to bring it into my project properly and ship with it.
<zenspider> but it was MUUUCH faster
alfiemax has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
Guest84006 has quit [Ping timeout: 260 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
traumschule has joined #ruby
Guest84006 has joined #ruby
* traumschule has issues to understand /var/lib/gems/2.5.0/gems/tilt-2.0.8/lib/tilt/haml.rb:77: warning: Haml::Engine#precompiled_method_return_value at
<traumschule> /usr/lib/ruby/2.5.0/forwardable.rb:157 forwarding to private method Haml::Compiler#precompiled_method_return_val
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
dimino has quit [Quit: Leaving...]
ByronJohnson has quit [Ping timeout: 260 seconds]
<traumschule> it's raised by amber server. does it mean that precompiled_method_return_val was privatized?
<zenspider> IDGI... I switched back to the mechanize spider and it is SO fast in comparison
<zenspider> they both use nokogiri tho... so I'm confused
ByronJohnson has joined #ruby
<zenspider> traumschule: that's not raised. that's warned.
<traumschule> true, but a bit too often.
<traumschule> i'd like to submit a patch to tilt. what do you suggest?
Guest84006 has quit [Ping timeout: 264 seconds]
<zenspider> looking at the code... this seems to be a straight call inside an instance eval but I'm not willing to chase this further. Should be straight forward to fix
<zenspider> yeah. I'd patch it up and send them a PR
<zenspider> maybe you're running with -w and they usually don't?
postmodern has joined #ruby
* traumschule needs to check what amber does
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mike11 has quit [Quit: Leaving.]
knight33 has joined #ruby
Guest84006 has joined #ruby
salasrod has joined #ruby
Guest84006 has quit [Ping timeout: 264 seconds]
Dbugger has quit [Quit: Leaving]
c0ncealed2 has quit [Remote host closed the connection]
crankharder has quit [Remote host closed the connection]
c0ncealed2 has joined #ruby
Guest84006 has joined #ruby
sticaz has joined #ruby
ldnunes has quit [Quit: Leaving]
sticaz has quit [Client Quit]
<traumschule> nice, updating haml did it (4.0.7->5.0.4)
sticaz has joined #ruby
Guest84006 has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
Guest84006 has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
DarthGandalf has quit [Ping timeout: 240 seconds]
za1b1tsu has quit [Ping timeout: 240 seconds]
Guest84006 has quit [Ping timeout: 264 seconds]
wald0 has quit [Quit: Lost terminal]
za1b1tsu has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
ellcs has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
Guest84006 has joined #ruby
Guest84006 has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
desperek has quit [Quit: xoxo]
Guest84006 has joined #ruby
DarthGandalf has joined #ruby
pr0ton has joined #ruby
Guest84006 has quit [Ping timeout: 240 seconds]
reber has quit [Remote host closed the connection]
<zenspider> or that
bak1an has joined #ruby
Guest84006 has joined #ruby
DarthGandalf has quit [Ping timeout: 260 seconds]
Guest84006 has quit [Ping timeout: 244 seconds]
DarthGandalf has joined #ruby
Guest84006 has joined #ruby
mynameisdebian has joined #ruby
Guest84006 has quit [Ping timeout: 244 seconds]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
Guest84006 has joined #ruby
za1b1tsu has quit [Ping timeout: 268 seconds]
tdy has quit [Ping timeout: 268 seconds]
pen has joined #ruby
desperek has joined #ruby
AKPWD has quit [Ping timeout: 268 seconds]
Guest84006 has quit [Ping timeout: 240 seconds]
AKPWD has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
Guest84006 has joined #ruby
Some-body_ has joined #ruby
connor_g1odwolf has quit [Quit: leaving]
connor_goodwolf has joined #ruby
DarthGandalf has quit [Ping timeout: 260 seconds]
Some-body_ is now known as DarthGandalf