<cj>
The folks who have been here longer than me are listed here.
<cj>
I'll be "Da_Man" in that line-up :-)
Antiarc has joined #ruby
<cj>
a bunch of them are still hanging out on #linpeople
eregi has joined #ruby
chouhoulis has joined #ruby
kam270 has joined #ruby
minimalism has joined #ruby
mattwildig has joined #ruby
adgtl has joined #ruby
hplar has quit [Ping timeout: 248 seconds]
ICantCook has joined #ruby
skade has joined #ruby
william3 has quit [Remote host closed the connection]
eregi has quit [Ping timeout: 268 seconds]
adgtl has quit [Client Quit]
chouhoulis has quit [Ping timeout: 276 seconds]
mattwildig has quit [Ping timeout: 276 seconds]
<shevy>
oh yeah
<shevy>
I'd wish I would have been there when ruby 1.0 was out
skade has quit [Ping timeout: 268 seconds]
flughafen_ has joined #ruby
Moosashi has quit [Quit: Moosashi]
ohaibbq_ has joined #ruby
brijesh has quit [Ping timeout: 276 seconds]
ohaibbq has quit [Ping timeout: 268 seconds]
Moosashi has joined #ruby
fantazo has joined #ruby
bronson has joined #ruby
<baweaver>
....is it bad that I know who Da_Man is?
<baweaver>
cj__: ^
blackmes1 has joined #ruby
<baweaver>
I remember him saying that was one of his aliases way back when.
counterapparatus has quit [Ping timeout: 248 seconds]
<baweaver>
shevy: I work with Da_Man
aryaching has quit [Read error: Connection reset by peer]
rsc___ has quit [Quit: rsc___]
robbyoconnor has quit [Ping timeout: 246 seconds]
william3 has joined #ruby
william3 has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
bronson has quit [Ping timeout: 246 seconds]
<shevy>
hah
robbyoconnor has joined #ruby
hplar has joined #ruby
tristanp has joined #ruby
aryaching has joined #ruby
spuk has quit [Ping timeout: 276 seconds]
aagdbl has joined #ruby
charlemagne has joined #ruby
duckpupp1 has joined #ruby
thevaliantx has joined #ruby
vdamewood has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
mlehrer has joined #ruby
graphettion has quit [Remote host closed the connection]
duckpupp1 has quit [Ping timeout: 248 seconds]
trosborn has joined #ruby
dlitvak has joined #ruby
<thevaliantx>
re-ordered my Well Grounded Rubyist book a couple of days ago, and started working through a Learn Ruby The Hard Way tutorial yesterday. Not sure if Ruby is an appropriate language for me to learn, but I'm in love with all the pretty pictures of rubies on ruby books, and Ruby being an OOP language maybe it will be the right one for me to cut my teeth in learning OOP :)
astrobun_ has joined #ruby
ziyadb has joined #ruby
ta has quit [Disconnected by services]
<cj>
baweaver: oh? you work at the Linux Foundation, too?
ta_ has joined #ruby
dlitvak has quit [Ping timeout: 276 seconds]
<baweaver>
I know a guy who goes by Da_Man who's been around that long
Dimik has joined #ruby
thevaliantx has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<cj>
ah. not me, though?
thevaliantx has joined #ruby
<baweaver>
Not unless you're in SF and are named Darren
ur5us has quit [Remote host closed the connection]
<cj>
nope. I'm on Orcas Island and I'm named cj
trosborn has quit [Quit: trosborn]
bkxd has joined #ruby
elifoster has quit [Ping timeout: 260 seconds]
<baweaver>
I've just heard him mention the name, so who knows.
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
<cj>
It's not a unique name. I'm sure there are others who use it :-)
robbyoconnor has quit [Client Quit]
terminal_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver>
yeah, especially early on in the years
<baweaver>
I remember him bragging about having one of the first domain names registered at one point
<baweaver>
where first is first 1000 or so I think
blackmes1 has quit [Ping timeout: 268 seconds]
<baweaver>
about the same with my boss and his old habit of buying a ton of french domains.
bkxd has quit [Ping timeout: 276 seconds]
Moosashi has quit [Quit: Moosashi]
ur5us has joined #ruby
flughafen_ has quit [Ping timeout: 246 seconds]
LoneHerm_ has joined #ruby
dextertzu has quit [Ping timeout: 260 seconds]
b|ackwolf has quit [Ping timeout: 248 seconds]
fullofcaffeine has joined #ruby
_ht has joined #ruby
b|ackwolf has joined #ruby
mhoungbo has quit [Remote host closed the connection]
eregi has joined #ruby
robbyoconnor has joined #ruby
chouhoulis has joined #ruby
shanemcd_ has joined #ruby
terminal_ has joined #ruby
allcentury has joined #ruby
terminal_ has quit [Client Quit]
fantazo has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 248 seconds]
eregi has quit [Ping timeout: 248 seconds]
shanemcd_ has quit [Ping timeout: 246 seconds]
eregi has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 276 seconds]
fullofcaffeine has joined #ruby
arlek has quit [Ping timeout: 248 seconds]
fullofca_ has joined #ruby
ta_ has quit [Remote host closed the connection]
LoneHerm_ has quit [Remote host closed the connection]
safe has quit [Quit: Leaving]
LoneHerm_ has joined #ruby
fullofcaffeine has quit [Ping timeout: 248 seconds]
crystal77 has joined #ruby
<crystal77>
Was going to ask in #rbenv, but nobody is there. What exactly does this PR do? https://github.com/rbenv/rbenv/issues/384 - I thought it means rehash would be auto, but we still have to do it manually after every gem install.
kies^ has quit [Quit: baaaaiiiiiiiiiii~]
saneax is now known as saneax_AFK
TheMoonMaster has quit [Ping timeout: 276 seconds]
charlemagne has quit [Ping timeout: 250 seconds]
flughafen_ has joined #ruby
<ropeney>
do you crystal77 ? I never seem to have to
<cj>
do you use bash? zsh?
<ropeney>
cj, me? both
<cj>
and you have to rehash in neither?
<baweaver>
I'm a heretic, I still use RVM
<ropeney>
cj, i believe it does the rehash on starting of a shell, but i have installed gems from command line plenty and not needed to - or have never noticed that i was meant to
LoneHerm_ has quit [Remote host closed the connection]
allcentury has joined #ruby
TheMoonMaster has joined #ruby
TheMoonMaster has joined #ruby
<crystal77>
I use Fish. Got tired of bash/zsh years ago.
allcentury has quit [Ping timeout: 276 seconds]
solars has joined #ruby
<ropeney>
crystal77, guess i've never felt the need to move away
lyoshajapan has joined #ruby
stannard has joined #ruby
Macaveli has joined #ruby
duckpupp1 has joined #ruby
allcentury has joined #ruby
anisha has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fedexo has quit [Ping timeout: 268 seconds]
eregi has quit [Ping timeout: 276 seconds]
stannard has quit [Ping timeout: 248 seconds]
fullofca_ has quit [Remote host closed the connection]
duckpupp1 has quit [Ping timeout: 260 seconds]
allcentury has quit [Ping timeout: 260 seconds]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dextertzu has joined #ruby
rigel_ has joined #ruby
thevaliantx has quit [Quit: Leaving]
uglybandersnatch has quit [Ping timeout: 260 seconds]
terminal_ has joined #ruby
robbyoconnor has quit [Ping timeout: 276 seconds]
atmosx has quit [Quit: This is aparting message!]
chipotle has quit [Ping timeout: 276 seconds]
Guest34101 has joined #ruby
blackmes1 has joined #ruby
jayc0b0 has joined #ruby
Tempesta has quit [Quit: See ya!]
eregi has joined #ruby
noodle has quit [Ping timeout: 276 seconds]
scepticulous has joined #ruby
pawnbox has quit [Remote host closed the connection]
uglybandersnatch has joined #ruby
pawnbox has joined #ruby
dlitvak has joined #ruby
UtkarshRay has joined #ruby
eregi has quit [Ping timeout: 260 seconds]
lsmola has joined #ruby
Guest34101 has quit [Ping timeout: 246 seconds]
kies^ has joined #ruby
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
uglybandersnatch has quit [Ping timeout: 246 seconds]
Morrolan has quit [Quit: ZNC: Shutting down.]
robbyoconnor has joined #ruby
skade has joined #ruby
eregi has joined #ruby
Morrolan has joined #ruby
sandstrom has joined #ruby
terminal_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
noodle has joined #ruby
chouhoulis has joined #ruby
mattwildig has joined #ruby
r0bby_ has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 276 seconds]
mattwildig has quit [Ping timeout: 248 seconds]
dlitvak has quit [Remote host closed the connection]
karapetyan has joined #ruby
rigel_ has quit [Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160209234627]]
vondruch_ has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
firstdayonthejob has joined #ruby
allcentury has joined #ruby
eregi has quit [Ping timeout: 248 seconds]
<lyoshajapan>
Hey :-) I got a very curious problem. Some of my specs started failing, and rspec shows that they did fail, but it doesnt say why explicitly
janmejay has joined #ruby
andikr has joined #ruby
<janmejay>
i want o make a ruby script which shows the status of all machine (on/off) runnig on same public ip
<janmejay>
any roadmap how to approach
LoneHerm_ has joined #ruby
kam270 has quit [Ping timeout: 260 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
eregi has joined #ruby
allcentury has quit [Ping timeout: 276 seconds]
<hanmac>
lyoshajapan: rspec should show the reason why the specific spec does fail ... otherwise can you give us a link to your specs?
charlemagne has joined #ruby
astrobun_ has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
polysics has joined #ruby
saneax_AFK is now known as saneax
eregi has quit [Ping timeout: 260 seconds]
anisha has quit [Quit: Leaving]
anisha has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
bigkevmcd has joined #ruby
sandstrom has joined #ruby
dlitvak has joined #ruby
binaryplease has joined #ruby
sandstrom has quit [Client Quit]
duckpupp1 has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
baweaver has quit []
kam270 has joined #ruby
ohaibbq_ has quit [Remote host closed the connection]
Abrin has quit [Ping timeout: 246 seconds]
biberu has joined #ruby
astrobun_ has joined #ruby
duckpupp1 has quit [Ping timeout: 276 seconds]
majoh_ is now known as majoh
kam270 has quit [Max SendQ exceeded]
yokel has quit [Remote host closed the connection]
Pupeno has joined #ruby
Pupeno has joined #ruby
kam270 has joined #ruby
ledestin has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Remote host closed the connection]
fckyoufreenode has joined #ruby
yokel has joined #ruby
ur5us has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 250 seconds]
moeabdol2 has joined #ruby
dojobo has quit [Ping timeout: 276 seconds]
<janmejay>
i want o make a ruby script which shows the status of all machine (on/off) runnig on same public ip
<janmejay>
any roadmap how to approach
wwwbukolaycom has quit [Ping timeout: 250 seconds]
dlitvak has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
dojobo has joined #ruby
sandstrom has joined #ruby
karapetyan has joined #ruby
yokel has quit [Remote host closed the connection]
bkxd has joined #ruby
dojobo has quit [Client Quit]
yokel has joined #ruby
codecop has joined #ruby
Guest63537 is now known as olspookishmagus
LoneHerm_ has joined #ruby
binaryplease has quit [Ping timeout: 260 seconds]
jas02 has joined #ruby
zeroDivisible has quit [Ping timeout: 276 seconds]
LoneHer__ has joined #ruby
lightheaded has joined #ruby
LoneHerm_ has quit [Read error: Connection reset by peer]
<janmejay>
is there any gem for knowing the status of remote computers conneted on same local ip address
shanemcd_ has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
LoganG has quit [Read error: Connection reset by peer]
LoganG has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
aufi has joined #ruby
ur5us has joined #ruby
DenSchub has quit [Ping timeout: 260 seconds]
lyoshajapan has quit [Remote host closed the connection]
microt has quit [Ping timeout: 260 seconds]
elaptics`away is now known as elaptics
lxsameer has joined #ruby
DenSchub has joined #ruby
lyoshajapan has joined #ruby
shanemcd_ has quit [Ping timeout: 276 seconds]
microt has joined #ruby
aufi has quit [Quit: Konversation terminated!]
TomyWork has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lukebyrne has quit [Quit: lukebyrne]
janmejay has quit [Ping timeout: 248 seconds]
lightheaded has quit []
aufi has joined #ruby
chouhoulis has joined #ruby
microt has quit [Ping timeout: 276 seconds]
Macaveli has joined #ruby
kent\n has joined #ruby
Pupeno has quit [Remote host closed the connection]
vondruch has joined #ruby
elaptics is now known as elaptics`away
chouhoulis has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby
lukebyrne has joined #ruby
firstdayonthejob has quit [Ping timeout: 276 seconds]
lukebyrne has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
last_staff has joined #ruby
LoneHer__ has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
blackmes1 has joined #ruby
ixti has quit [Quit: WeeChat 1.4]
microt has joined #ruby
lsmola has quit [Quit: Leaving]
eregi has joined #ruby
antgel has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
Pupeno has joined #ruby
Vingador has joined #ruby
dgncn has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
platzhirsch has joined #ruby
atmosx has joined #ruby
Pupeno has quit [Ping timeout: 246 seconds]
Oog has joined #ruby
tesuji has joined #ruby
bronson has joined #ruby
r0bby_ has quit [Ping timeout: 276 seconds]
eregi has quit [Ping timeout: 268 seconds]
blackms has joined #ruby
norc_ has joined #ruby
norc_ has joined #ruby
norc_ has joined #ruby
twintail has quit [Remote host closed the connection]
<norc_>
apeiros: were you the one with that gist about solving unicoding issues?
r0bby_ has joined #ruby
dlitvak has joined #ruby
<apeiros>
norc_: yes, sec…
<apeiros>
(awesome timing btw., just logged into my znc)
<norc_>
:)
dlitvak has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
dlitvak has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
dlitvak has quit [Read error: Connection reset by peer]
william3 has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 248 seconds]
william3 has joined #ruby
lyoshajapan has joined #ruby
<AshleyPerpetual>
ohh
<AshleyPerpetual>
apeiros: what's the neatest way to increment by 1?
<apeiros>
+=1
<AshleyPerpetual>
just += 1?
<AshleyPerpetual>
ok
<apeiros>
also I doubt `ancestor != descendant or ancestor == 0` does what you want.
<lvn>
I don't understand the logic in this code, can't you just loop through both strings at the same time if you're just calculating the hamming distance?
<apeiros>
you seem to be missing a lot of ".length" method calls there.
jeanlinux has joined #ruby
<AshleyPerpetual>
oh yeah I forgot length heh
<apeiros>
and yeah, general code logic seems flawed too.
<AshleyPerpetual>
thanks
<AshleyPerpetual>
how so?
<apeiros>
the two nested each'es almost certainly don't work the way you imagine them to work.
n008f4g_ has joined #ruby
<norc_>
AshleyPerpetual: also do not use the "and"/"or" operators unless you know exactly about their difference. In all likelihood you will want && and || instead.
<AshleyPerpetual>
norc_: k
<apeiros>
AshleyPerpetual: re "how so" - what's the hamming distance of "fooa" and "foob"?
bkxd has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
dlitvak has joined #ruby
<norc_>
AshleyPerpetual: As for the explanation, they have different precendence and are used for control flow (like "if" or "unless") rather than boolean operators.
<lvn>
Assuming that ancestor and descendant are both strings, I would do something like ancestor.split('').zip(descendant.split('')).select { |i| i[0] != i[1] }.length
blackmes1 has joined #ruby
<apeiros>
with the nested comparison it'll be around 12
<lvn>
that's super hacky, but you get the idea
gigetoo has quit [Ping timeout: 260 seconds]
<AshleyPerpetual>
hmm
lyoshajapan has quit [Ping timeout: 260 seconds]
Couch has joined #ruby
<AshleyPerpetual>
I need to learn what zip and select do
<lvn>
basically, ancestor.split('').zip(descendant.split('')) combines the two strings into character pairs (e.g. "aa" and "ab" => [['a', 'a'], ['a', 'b']])
<eip`>
I have a questions, would be happy if somebody could help me
laith has joined #ruby
<adaedra>
eip`: just ask.
<lvn>
and then `select { |i| i[0] != i[1] }` just selects everything from that list for which the characters aren't the same
<eip`>
I have a file system (linux) in a directory on my hd, for example in /mydir/ I have the whole structure /usr /opt /var etc etc
sandstrom has quit [Quit: My computer has gone to sleep.]
william3 has joined #ruby
lyoshajapan has joined #ruby
bronson has joined #ruby
Pumukel has quit [Ping timeout: 268 seconds]
peteyg has quit [Ping timeout: 276 seconds]
binaryplease has joined #ruby
<norc_>
AshleyPerpetual: You can use ri from your terminal too by the way. :)
<norc_>
(Which should be your preferred way, since that will always yield the correct version for whatever Ruby version you are using)
<AshleyPerpetual>
oh cool
<lvn>
I just use google :p
<AshleyPerpetual>
sounds better because im on my terminal anyway - irssi :P
<AshleyPerpetual>
but then I have to ctrl-alt-left arrow to workspace 1 :(
<lvn>
fair enough lol
<norc_>
AshleyPerpetual: Use tmux!
<AshleyPerpetual>
I use tmux!
<AshleyPerpetual>
norc_: I was referring to googling, not ri
<norc_>
Oh well. :-)
<norc_>
Heh.
<AshleyPerpetual>
I have two terminals side by side in tmux - irssi and term... and above that sublime text with two columns - code and test
<AshleyPerpetual>
im on arch linux btw
laith has quit [Quit: Leaving.]
william3 has quit [Remote host closed the connection]
jolts is now known as joltsafk
joltsafk is now known as jolts
<AshleyPerpetual>
s/term/shell/
wwwbukolaycom has quit [K-Lined]
blaxter has quit [Quit: foo]
william3 has joined #ruby
william3 has quit [Remote host closed the connection]
tulak has joined #ruby
william3 has joined #ruby
lyoshajapan has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 246 seconds]
b|ackwolf has quit [Ping timeout: 246 seconds]
blackms has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
mikecmpbll has joined #ruby
duckpupp1 has joined #ruby
uglybandersnatch has quit [Ping timeout: 246 seconds]
eregi has joined #ruby
<lvn>
I personally prefer atom :p
<AshleyPerpetual>
ri Time
<AshleyPerpetual>
Nothing known about Time
<AshleyPerpetual>
profound
<AshleyPerpetual>
lvn: I tried atom but it used wayyyy too much memory
<adaedra>
pacman -S ruby-doc # iirc
<lvn>
That's totally fair lol
<adaedra>
let's not start an editor war here.
<AshleyPerpetual>
im on a virtual machine at an internet cafe... I only have 1.7GB to spare
_joes__ has joined #ruby
<AshleyPerpetual>
im not trying - I prefer atom
b|ackwolf has joined #ruby
<AshleyPerpetual>
it's just the memory usage was way higher
<lvn>
I mostly use it because it looks really nice and I would feel bad switching back to subl
<AshleyPerpetual>
thanks adaedra
<lvn>
Yeah that's totally fair
BtcBen has quit [Ping timeout: 276 seconds]
duckpupp1 has quit [Ping timeout: 276 seconds]
<AshleyPerpetual>
I wonder what a similar editor in ruby would be like
<AshleyPerpetual>
everything is an object after all...
<AshleyPerpetual>
could be interesting
* adaedra
makes AshleyPerpetual an object
<th__>
what's wrong with vi? (:
<workmad3>
vim > vi :P
* AshleyPerpetual
ports adaedra's consciousness into javascript and runs them on ie6
<adaedra>
?offtopic
<ruby[bot]>
this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
<adaedra>
AshleyPerpetual: wow, that's mean
<AshleyPerpetual>
my job is front end web dev, watch what you're turning me into there buddy!
<th__>
you can't find vim on every system but you can count on vi
ElFerna_ has quit [Ping timeout: 276 seconds]
<AshleyPerpetual>
I'm learning ruby to then learn rails
<AshleyPerpetual>
im also new to front end stuff, which is ok because my friend is letting me learn as I go
<lvn>
I don't want to start an argument, but personally I think vim is better than vim.
<AshleyPerpetual>
lol
rodfersou has joined #ruby
<workmad3>
lvn: how to start an argument between programmers - express a preference about editors :)
<AshleyPerpetual>
/Welllll/ it depends what you mean by vim exactly, in each case...
<lvn>
mhm :p
<lvn>
vim as in the household cleaning product
<workmad3>
as AshleyPerpetual is showing, it even works if you express a preference about vim in a room of vim lovers :D
<AshleyPerpetual>
I used to use vim honestly, until I heard about this sublime fad
<AshleyPerpetual>
workmad3: lol
lyoshajapan has joined #ruby
<AshleyPerpetual>
then I tried atom, loved it... until it crashed my vm
<AshleyPerpetual>
dat memory usage
Tempesta has joined #ruby
<workmad3>
vim 4evar!
<AshleyPerpetual>
two chromiums can't compete...
* adaedra
takes the editor discussion and puts it in -offtopic
eregi has quit [Ping timeout: 248 seconds]
* AshleyPerpetual
joins offtopic
<workmad3>
adaedra: gl with that... offtopic in #ruby 4evar!
<adaedra>
workmad3: try me.
<AshleyPerpetual>
*offtopicing intensifies*
TomyWork has quit [Remote host closed the connection]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak has quit [Remote host closed the connection]
<workmad3>
adaedra: ok, I will :)
<AshleyPerpetual>
lol
<AshleyPerpetual>
didn't see that one coming
astrobun_ has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 276 seconds]
<adaedra>
Nice hat, I have the same somewhere.
<workmad3>
:)
<adaedra>
Also, you're hiding from -ops, workmad3?
<workmad3>
oh, I forgot to add it to my autojoin still :(
<adaedra>
:p
lyoshajapan has quit [Ping timeout: 260 seconds]
aganov has joined #ruby
astrobun_ has joined #ruby
blackms has joined #ruby
astrobun_ has quit [Remote host closed the connection]
allcentury has joined #ruby
ebbflowgo has joined #ruby
loechel has joined #ruby
AshleyPerpetual has quit [Quit: leaving]
loechel is now known as Pumukel
jimcroft_ has quit []
<Gasher>
hi everyone, I'm trying to install rbx with rvm, but it doesn't work since it wants to use "llvm". llvm package is version 3.6 that's unsupported, so I installed "llvm-3.5" package instead. however, rvm gets "llvm" package by itself which it doesn't work with
allcentury has quit [Ping timeout: 276 seconds]
jimcroft has joined #ruby
<Gasher>
I'm on Ubuntu 15.10
karapetyan has joined #ruby
p0p0pr37 has joined #ruby
KramerC has quit [Ping timeout: 276 seconds]
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
blackms has quit [Ping timeout: 250 seconds]
<norc_>
Gasher: Want to use RVM specifically?
<Gasher>
well, I'm just using rvm
<Gasher>
I could compile it manually, but that'd be the last resort
<norc_>
Gasher: For rvm you can override the compiler with CC I think.
platzhirsch has joined #ruby
<Gasher>
okaaay
blackms has joined #ruby
mattwildig has joined #ruby
lipoqil has joined #ruby
LoneHermit has joined #ruby
chouhoulis has joined #ruby
<Gasher>
norc_; no idea what you mean
lyoshajapan has joined #ruby
_kfpratt has joined #ruby
Guest22888 is now known as beagles
laith has joined #ruby
karapetyan has quit [Remote host closed the connection]
<Gasher>
I just wanted to see the performance difference between Ruby, Rubinius and Crystal
loechel is now known as Pumukel
TomyWork has joined #ruby
karapetyan has quit [Remote host closed the connection]
<dionysus69>
math question: what curvature should a curve have in order for it to create a perfect circle? and in which units is curvature measured? I know angles are measured in degrees but how can I measure curvature without an angle? I am asking it here because I couldn't find a proper way to google my question
shanemcd_ has joined #ruby
platzhirsch has left #ruby [#ruby]
theRealAlexz has joined #ruby
<darix>
i am sure there is a math channel on freenode
<norc_>
dionysus69: Though since you asked, a circle is just 2*pi, or just tau.
<norc_>
That is the cleanest way to describe a circle mathematically. :O
Spami has quit [Quit: This computer has gone to sleep]
lyoshajapan has quit [Ping timeout: 260 seconds]
trinaldi has joined #ruby
<dionysus69>
I did ask on math channel I thought it was dead :D ok thanks anyways :)
skade has quit [Quit: Computer has gone to sleep.]
shanemcd_ has quit [Ping timeout: 260 seconds]
Guest97959 is now known as awk
augcesar has joined #ruby
M-Kodo has joined #ruby
duckpupp1 has joined #ruby
augcesar has quit [Client Quit]
ruby-lang861 has joined #ruby
verde has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
<Gasher>
darix; i just installed fish on Ubuntu, it has surprisingly easy
Pumukel has joined #ruby
unreal_ is now known as unreal
eregi has joined #ruby
<darix>
apt-get install fish
<darix>
?
dlitvak has joined #ruby
jeanlinux has joined #ruby
Dragooon has joined #ruby
duckpupp1 has quit [Ping timeout: 248 seconds]
<Gasher>
darix; I added through a PPA, not sure if it's in the default repo. to start using it, I just had to use a custom path in my terminal emulato
<Gasher>
r
lyoshajapan has joined #ruby
<darix>
you could also have changed your login shell
ruby-lang861 has quit [Ping timeout: 252 seconds]
ebbflowgo has joined #ruby
Pupeno has quit [Quit: Leaving...]
ebbflowgo has left #ruby [#ruby]
<Gasher>
darix; chsh? then it only works for tty's
<Gasher>
my emulator (gnome-terminal) still used bash
MalcolmReynolds has quit [Max SendQ exceeded]
IanMalcolm has joined #ruby
eregi has quit [Ping timeout: 250 seconds]
william3 has quit [Remote host closed the connection]
lyoshajapan has quit [Ping timeout: 268 seconds]
polysics has quit []
<nocontrol>
does anyone use gollum ?
<nocontrol>
I am getting a silly error: Gollum::InvalidGitRepositoryError
<nocontrol>
I could use some help :)
skade has joined #ruby
<adaedra>
Gasher: chsh should change default shell for everything (but may require a logout/login). Maybe your gnome-terminal is setup to use bash and not default shell.
ebbflowgo has joined #ruby
<Gasher>
I'm guessing it's made to use bash, but that doesn't matter
gaf_ has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
ebbflowgo has left #ruby [#ruby]
BaroMeter has joined #ruby
nocontrol has quit [Remote host closed the connection]
nocontrol has joined #ruby
gaf_ has joined #ruby
ElFerna_ has joined #ruby
Macaveli has joined #ruby
johnmilton has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
binaryplease has joined #ruby
gaf_ has quit [Ping timeout: 248 seconds]
Macaveli has quit [Client Quit]
lele has quit [Ping timeout: 260 seconds]
lele has joined #ruby
M-mistake has joined #ruby
lyoshajapan has joined #ruby
<dionysus69>
is jruby as stable as ruby appart from possible speed differences?
mlehrer has joined #ruby
mlehrer has quit [Client Quit]
mlehrer has joined #ruby
kgutteridge has quit [Quit: kgutteridge]
dkam_ has quit [Quit: Be back later ...]
M-shine has quit [Quit: node-irc says goodbye]
M-mistake has quit [Quit: node-irc says goodbye]
shanemcd has quit [Remote host closed the connection]
gaf_ has joined #ruby
sandstrom has joined #ruby
pawnbox has quit [Remote host closed the connection]
<chrisseaton>
dionysus69: generally yes - if you have any problems or questions there is a dedicated #jruby room where you can get help
MrDoctor has joined #ruby
Mon_Ouie has joined #ruby
tvw has joined #ruby
lsmola has joined #ruby
chouhoulis has joined #ruby
karapetyan has joined #ruby
ElFerna_ has quit [Ping timeout: 246 seconds]
sdothum has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
ElFerna_ has joined #ruby
beast has joined #ruby
kgutteridge has joined #ruby
lyoshajapan has quit [Ping timeout: 276 seconds]
workmad3 has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 246 seconds]
cnr_roxx has joined #ruby
marr has quit [Remote host closed the connection]
pawnbox has joined #ruby
cnrroxx has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
berserk_ren has joined #ruby
karapetyan has quit [Remote host closed the connection]
alexherbo2 has joined #ruby
alexherbo2 has quit [Client Quit]
Spami has joined #ruby
Gasher has quit [Quit: Leaving]
Mon_Ouie has quit [Ping timeout: 246 seconds]
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Vingador has quit [Ping timeout: 276 seconds]
Vingador has joined #ruby
Snowy_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Snowy has quit [Ping timeout: 260 seconds]
mattwildig has joined #ruby
diegoviola has joined #ruby
MrDoctor has quit [Quit: Konversation terminated!]
Snowy_ has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 260 seconds]
Pupp3tm4st3r has joined #ruby
ldnunes has quit [Ping timeout: 248 seconds]
blackms has joined #ruby
laith1 has quit [Ping timeout: 276 seconds]
jeanlinux has quit [Remote host closed the connection]
stannard has joined #ruby
laith has joined #ruby
MrDoctor has joined #ruby
ldnunes has joined #ruby
duckpupp1 has joined #ruby
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
dlitvak has quit [Read error: Connection reset by peer]
dlitvak_ has joined #ruby
stannard has quit [Ping timeout: 276 seconds]
gagrio has quit [Ping timeout: 276 seconds]
eregi has joined #ruby
duckpupp1 has quit [Ping timeout: 260 seconds]
nocontrol has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
nocontrol has joined #ruby
joonty has quit [Ping timeout: 260 seconds]
krzkrzkrz has joined #ruby
cstls has joined #ruby
eregi has quit [Ping timeout: 260 seconds]
nisstyre_ has quit [Ping timeout: 276 seconds]
y2mq37 has quit [Ping timeout: 246 seconds]
jeanlinux has joined #ruby
swills has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
_joes__ has quit [Quit: Connection closed for inactivity]
ctrlrsf has quit [Ping timeout: 268 seconds]
openstruct has joined #ruby
Flipez has quit [Ping timeout: 246 seconds]
synthroid has joined #ruby
Flipez has joined #ruby
chrisarc1nd is now known as chrisarcand
tulak has quit [Remote host closed the connection]
joonty has joined #ruby
marr has joined #ruby
araujo_ has joined #ruby
lyoshajapan has joined #ruby
araujo_ has quit [Max SendQ exceeded]
araujo_ has joined #ruby
xxneolithicxx has joined #ruby
\pub\bash0r has quit [Ping timeout: 268 seconds]
charlemagne has quit [Remote host closed the connection]
araujo has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
araujo_ has quit [Max SendQ exceeded]
moeabdol2 has quit [Quit: WeeChat 1.4]
ctrlrsf has joined #ruby
\pub\bash0r has joined #ruby
DexterLB has quit [Ping timeout: 276 seconds]
lyoshajapan has quit [Ping timeout: 260 seconds]
nocontrol has quit [Ping timeout: 276 seconds]
araujo_ has joined #ruby
DexterLB has joined #ruby
araujo_ has quit [Max SendQ exceeded]
jeanlinu_ has joined #ruby
ropeney has joined #ruby
jeanlinux has quit [Read error: Connection reset by peer]
dkam_ has joined #ruby
vasilakisfil has joined #ruby
nocontrol has joined #ruby
<vasilakisfil>
hello: was there any safe navigation operator in ruby implemented as `.?` ?
<imperator>
apparently that's still not gzip format
binaryplease has quit [Ping timeout: 276 seconds]
ElFerna_ has quit [Ping timeout: 260 seconds]
<apeiros>
you mean as in how to save it to a file with .gzip suffix?
Jardayn has joined #ruby
<apeiros>
errr, .gz
kgutteridge has joined #ruby
idefine has joined #ruby
<imperator>
apeiros, need to test with ActiveSupport::Gzip.decompress
<imperator>
which in turn is calling Zlib::GzipReader.new(StringIO.new(encoded))
pawnbox has joined #ruby
<apeiros>
iirc zlib deflate is not gzip
idefine has quit [Remote host closed the connection]
<imperator>
oh. hrm.
avenj has joined #ruby
<apeiros>
Zlib::Gzip* are for gzip
idefine has joined #ruby
BaroMeter has quit [Quit: Leaving]
<apeiros>
GzipReader/GzipWriter are probably the ones of interest to you
<apeiros>
and I remember them to be rather inconvenient to deal with just strings
k13nox has joined #ruby
<imperator>
yeah, looks like it's not setup for stream compression, gotta use a file :(
whippythellama has joined #ruby
<apeiros>
StringIO worked iirc
idefine has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
<apeiros>
at least I'm pretty sure I've used those in the past without a file
Mon_Ouie has joined #ruby
floatingpoint has joined #ruby
<apeiros>
yupp, works
Pumukel has joined #ruby
<imperator>
ok, thanks
idefine has joined #ruby
<apeiros>
w
<apeiros>
*yw
* apeiros
accidentally the abbreviation
Akuma has joined #ruby
norc has quit [Ping timeout: 252 seconds]
kam270 has quit [Ping timeout: 276 seconds]
podman has joined #ruby
norc_ has quit [Ping timeout: 252 seconds]
alexishuard has joined #ruby
n008f4g_ has joined #ruby
mattwildig has quit [Remote host closed the connection]
alexishuard has joined #ruby
Pupp3tm4st3r has quit [Quit: Leaving...]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
Qureshi has joined #ruby
karapetyan has joined #ruby
Qureshi_ has joined #ruby
tesuji has quit [Ping timeout: 260 seconds]
aufi has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
rodolfowtf has joined #ruby
decoponio has joined #ruby
babblebre has joined #ruby
Qureshi has quit [Ping timeout: 268 seconds]
solars has quit [Ping timeout: 250 seconds]
shanemcd has joined #ruby
anisha has quit [Quit: Leaving]
Gnut has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
flughafen_ has quit [Ping timeout: 260 seconds]
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
pdoherty has quit [Ping timeout: 276 seconds]
zast has joined #ruby
duckpupp1 has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
dkam_ has joined #ruby
shanemcd has quit [Ping timeout: 276 seconds]
dhf has quit [Quit: Connection closed for inactivity]
eregi has joined #ruby
<darix>
imperator: base64 after compression sounds weird
ElFerna_ has joined #ruby
darkf_ has joined #ruby
kies^ has joined #ruby
vbatts|work has left #ruby ["found the other side of the rainbow"]
<imperator>
darix, could be, wasn't sure if that was intrinsic to compression/gzip format or not
vbatts|work has joined #ruby
vbatts|work has left #ruby ["found the other side of the rainbow"]
<imperator>
i'm not that familiar with what goes on under the hood
dkam_ has quit [Ping timeout: 248 seconds]
rdavila has joined #ruby
<darix>
imperator: that feels awkward .. you compress first and then explode the data into base64 again^^
dlitvak has quit [Remote host closed the connection]
eregi has quit [Ping timeout: 260 seconds]
<imperator>
darix, looking at the examples i came across, it looks like they were doing that just to make it printable or something
<imperator>
or maybe that's necessary to go across the wire properly?
idefine has quit [Remote host closed the connection]
<darix>
naw
<darix>
also not required for that
darkf has quit [Ping timeout: 276 seconds]
ready has quit [Ping timeout: 260 seconds]
mfaeh has joined #ruby
<imperator>
hm...my memory may be failing me, but i seem to recall having issues with raw output across the wire, but let me test that
Vingador has quit [Quit: Leaving]
<darix>
depends on the protocol on the line
bubbys has quit [Ping timeout: 260 seconds]
idefine has joined #ruby
dlitvak has joined #ruby
flughafen_ has joined #ruby
kies^ has quit [Ping timeout: 246 seconds]
darkf_ has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
kf has joined #ruby
idefine has quit [Ping timeout: 260 seconds]
idefine_ has joined #ruby
karapetyan has joined #ruby
shanemcd has joined #ruby
mattwildig has joined #ruby
Timberwo|f has joined #ruby
<imperator>
yeah, it comes across the wire as numbers ;)
hxegon has joined #ruby
dopamean_ has quit [Quit: WeeChat 1.3]
<apeiros>
base64 is usually used for non-binary safe carriers
aegis3121 has quit [Ping timeout: 246 seconds]
<apeiros>
like to embed it in html
<darix>
imperator: like any binary. though question is http?
<darix>
proper headers set?
karapetyan has quit [Read error: Connection reset by peer]
<darix>
so if we want to embed apeiros. we will need base64. a lot of base64.
<imperator>
well, this is via the winrm module, so basically i'm running a powershell script remotely, compressing the results on their end, and retrieving the data on my end
shanemcd has quit [Remote host closed the connection]
aegis3121 has joined #ruby
dlitvak has quit [Read error: Connection reset by peer]
<imperator>
looking at the raw output, it's "\r\n108\r\n145\r\n44\r\n255\r\n177\r\n142" and so on
dlitvak has joined #ruby
stannard has quit [Remote host closed the connection]
mary5030 has joined #ruby
stannard has joined #ruby
chouhoulis has joined #ruby
ready has joined #ruby
PaulCapestany has quit [Quit: .]
eregi has joined #ruby
PaulCapestany has joined #ruby
shanemcd has joined #ruby
bubbys has joined #ruby
charlemagne has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
stan has quit [Quit: Leaving]
sandstrom has joined #ruby
codecop has joined #ruby
BTRE has quit [Ping timeout: 260 seconds]
Gasher has joined #ruby
spider-mario has quit [Remote host closed the connection]
darkf has joined #ruby
shanemcd has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
hamed_r has joined #ruby
eregi has quit [Ping timeout: 268 seconds]
<Gasher>
thanks
elifoster has joined #ruby
<Gasher>
in simple words, which one is better / what's different?
chouhoulis has quit [Remote host closed the connection]
<havenwood>
Gasher: Of the two I linked, the first switches between Rubies and the second installs Rubies. They work together.
mephistophocles has quit [Ping timeout: 246 seconds]
<adaedra>
?better
<ruby[bot]>
"Best" and "better" are subjective. Try to use a different term.
<havenwood>
Gasher: RVM, rbenv/ruby-build and chruby/ruby-install are three paths of many that one can take for installing and switching between Rubies.
<adaedra>
rbenv uses a "shim" system, which is some proxy executables that will select the right ruby when running it or a gem command, whereas chruby will update $PATH to point directly to the right binaries.
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
araujo has joined #ruby
augcesar[2] has joined #ruby
augcesar[2] has quit [Client Quit]
rodfersou|lunch is now known as rodfersou
mg^ has joined #ruby
<havenwood>
and ruby-build ships its own openssl but otherwise relies on you for deps and ruby-install uses your package manager for openssl and deps
kgutteridge has joined #ruby
idefine_ has quit [Remote host closed the connection]
eregi has joined #ruby
cabargas has joined #ruby
<havenwood>
for ruby-build you update the tool to get new checksum/version metadata and for ruby-install you sync the latest checksum/version metadata from the ruby-versions repo
rodolfowtf has quit [Quit: No Ping reply in 180 seconds.]
snapcase has quit [Ping timeout: 244 seconds]
snapcase has joined #ruby
rodolfowtf has joined #ruby
k13nox has quit [Quit: Leaving...]
floatingpoint is now known as grill_
grill_ is now known as _grill
fullofcaffeine has quit [Remote host closed the connection]
bronson has joined #ruby
andikr has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
alexishuard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rodolfowtf has quit [Ping timeout: 246 seconds]
marxarelli has joined #ruby
Abrin has joined #ruby
safe has joined #ruby
marxarelli has quit [Client Quit]
trifling-jest has quit [Quit: Leaving]
marxarelli has joined #ruby
last_staff has joined #ruby
verde has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 268 seconds]
allcentury has quit [Ping timeout: 248 seconds]
Abrin is now known as Abrin_AWAY
Couch has quit [Ping timeout: 276 seconds]
idefine has joined #ruby
william3 has quit [Remote host closed the connection]
allcentury has joined #ruby
charlemagne has quit [Read error: Connection reset by peer]
tvw has quit [Read error: Connection reset by peer]
eregi has quit [Ping timeout: 276 seconds]
tvw has joined #ruby
amclain has joined #ruby
verdan has joined #ruby
symm- has joined #ruby
eregi has joined #ruby
william3 has joined #ruby
kf has quit [Remote host closed the connection]
eurialo has joined #ruby
kf has joined #ruby
mfb2 has quit []
tomphp has quit [Ping timeout: 260 seconds]
laith has quit [Quit: Leaving.]
vasilakisfil has quit [Quit: Konversation terminated!]
jottr has joined #ruby
shanemcd has joined #ruby
joonty has quit [Ping timeout: 248 seconds]
gregf has quit [Quit: WeeChat 1.4]
bronson has quit [Remote host closed the connection]
finisherr has joined #ruby
i8igmac has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
mdih has quit [Ping timeout: 268 seconds]
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
idefine has quit [Remote host closed the connection]
LuckyABA has joined #ruby
Eiam has joined #ruby
dkam_ has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
blandflakes has joined #ruby
shanemcd has quit [Remote host closed the connection]
KensoDev has joined #ruby
idefine has joined #ruby
Authenticator has left #ruby [#ruby]
tomphp has joined #ruby
dome22xl has quit [Ping timeout: 276 seconds]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeanlinu_ has quit [Ping timeout: 246 seconds]
triangles2 has quit [Quit: Leaving]
devbug has joined #ruby
benlieb has joined #ruby
nogic has joined #ruby
cj is now known as da_man
nogic has quit [Max SendQ exceeded]
krzkrzkrz has quit [Ping timeout: 250 seconds]
nogic has joined #ruby
cj__ is now known as cj
mlehrer has quit [Quit: Leaving]
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
binaryplease has quit [Ping timeout: 268 seconds]
devbug has quit [Remote host closed the connection]
devbug has joined #ruby
dopie has joined #ruby
mikecmpbll has quit [Ping timeout: 246 seconds]
maletor has joined #ruby
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
pdoherty has joined #ruby
chouhoulis has joined #ruby
solars has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
mark4 has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 276 seconds]
tvw has quit [Ping timeout: 268 seconds]
jeanlinux has joined #ruby
goodcodeguy has joined #ruby
shadeslayer has quit [Ping timeout: 276 seconds]
duckpupp1 has joined #ruby
dstarh has quit [Read error: Connection reset by peer]
<t-richards>
There was one distinct quality I recall; I was browsing the book source on GitHub and I noticed they were generating some very pretty Mac OS-looking decorated irb snippets by using a liquid tag in Jekyll:
<t-richards>
Something along the lines of
<t-richards>
{% irb %}
<Nilium>
Do you remember anything about the writing style?
Snowy has joined #ruby
shadeslayer has joined #ruby
<t-richards>
I'm afraid I don'
<t-richards>
t.
<Nilium>
Guessing it's probably not _why's
synthroid has joined #ruby
<apeiros>
t-richards: pine.fm maybe?
verdan has quit [Remote host closed the connection]
<apeiros>
gotta reload before being able to copy the url after a search. I keep forgetting that :(
counterapparatus has joined #ruby
<t-richards>
Not the pickaxe one either, I'm afraid.
duckpupp1 has quit [Ping timeout: 246 seconds]
<t-richards>
The major visual distinction was that they had irb sessions in the markup (not screenshots) with a window-decoration thing applied to them
zacstewart has joined #ruby
dionysus69 has joined #ruby
<t-richards>
I wish there were a usable code search tool; I'm 99% positive that I saw "{% irb %}" on GitHub after discovering that their book was open-source
Snowy has quit [Remote host closed the connection]
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
counterapparatus has quit [Ping timeout: 276 seconds]
<apeiros>
volty: depending on your OS, there's /proc
<eam>
volty: there are a ton of ways to do it, but it depends on your OS
<Mon_Ouie>
GC.stat has some info
<shevy>
eam everyone loved the real lebowski!
<Mon_Ouie>
(If you mean the ruby process's own memory usage)
<shevy>
cool... I don't think I have used GC.stat before
<shevy>
Mon_Ouie and havenwood are my two main knowledge bases here in #ruby, they know the wild stuff
<shevy>
:heap_tomb_pages
<shevy>
GC.stat even has zombie info!
dionysus69 has quit [Quit: dionysus69]
shanemcd has joined #ruby
dome22xl has quit [Read error: Connection reset by peer]
<volty>
yap, thx Mon_Ouie, thx all
bluOxigen has joined #ruby
dome22xl has joined #ruby
kgutteridge has quit [Quit: kgutteridge]
TomyLobo has joined #ruby
shanemcd has quit [Remote host closed the connection]
mfaeh has quit []
shanemcd has joined #ruby
eip` has left #ruby [#ruby]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
intrigueD has joined #ruby
baweaver has joined #ruby
al2o3-cr has joined #ruby
ElFerna_ has joined #ruby
<volty>
I hope gc.stat relies on os system calls. I have an extension (webkit) that sometimes eats too much memory.
nogic has joined #ruby
pandaant has quit [Remote host closed the connection]
Anderson69s_Deb has quit [Remote host closed the connection]
<volty>
linux here, but I'll need it on win too
<Mon_Ouie>
I don't think it knows about memory usage that isn't due to the size of actual Ruby objects
dionysus69 has joined #ruby
<volty>
ah, thx again, I'll go with apeiros' /proc, and then think about win with ext prog or a small c extension
duncannz has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
dionysus69 has quit [Client Quit]
hakunin_ is now known as hakunin
dkam_ has joined #ruby
blackgoat has joined #ruby
baweaver has quit [Remote host closed the connection]
BSaboia has joined #ruby
ta_ has joined #ruby
freerobby has joined #ruby
volty has quit [Quit: Konversation terminated!]
dkam_ has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
graydot has joined #ruby
dionysus69 has joined #ruby
mattwildig has joined #ruby
rehat has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
joonty has joined #ruby
mattwildig has quit [Read error: Connection reset by peer]
[Butch] has joined #ruby
mattwildig has joined #ruby
andikr has joined #ruby
Gnut_ has joined #ruby
nogic has joined #ruby
nogic has quit [Remote host closed the connection]
Don_John has joined #ruby
bronson has quit [Remote host closed the connection]
stannard has joined #ruby
sandstrom has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
Gnut has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
ta__ has joined #ruby
kgutteridge has joined #ruby
Mia has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
platzhirsch has left #ruby [#ruby]
atmosx has quit [Quit: This is aparting message!]
lakiluki has joined #ruby
ta_ has quit [Ping timeout: 246 seconds]
kgutteridge has quit [Client Quit]
Pumukel has quit [Ping timeout: 260 seconds]
<lakiluki>
Hello guys, I'm new at ruby and I'm trying to make a script that fetches xml data using open-uri. The code looks like this "Nokogiri::XML(open(url))", the problem is the script exites when the http code is 400 (which can happen and I just want it to ignore it), how can I do this?
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gnut has joined #ruby
joonty has quit [Ping timeout: 268 seconds]
duckpupp1 has joined #ruby
djbkd has joined #ruby
baweaver has joined #ruby
nogic has joined #ruby
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nogic has quit [Max SendQ exceeded]
Bounga has quit [Ping timeout: 250 seconds]
nogic has joined #ruby
moeabdol has quit [Quit: WeeChat 1.4]
nogic has quit [Max SendQ exceeded]
lyoshajapan has joined #ruby
nogic has joined #ruby
Gnut_ has quit [Ping timeout: 276 seconds]
<Ox0dea>
lakiluki: Are you sure you don't want to fix whatever's causing you to make bad requests?
kgutteridge has joined #ruby
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
<lakiluki>
0x0dea: Well I'm getting the data from a REST service and "400 Bad request" includes the error code and description in the XML data, and I want to display that.
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<lakiluki>
So yeah, I don't want to fix it
nogic has quit [Max SendQ exceeded]
duckpupp1 has quit [Ping timeout: 268 seconds]
nogic has joined #ruby
dopamean_ has joined #ruby
nogic has quit [Max SendQ exceeded]
<lakiluki>
Ox0dea, quoating again since I misspelt your username in the previous message, the O and 0 are hard to differ haha
<Ox0dea>
lakiluki: Sorry about that. Maybe use a font with a slashed zero. :P
nogic has joined #ruby
sneakerhax has joined #ruby
nogic has quit [Max SendQ exceeded]
<Ox0dea>
In any case, the name of the exception in question is Net::HTTPBadRequest; rescue that and do whatever seems appropriate.
lyoshajapan has quit [Ping timeout: 260 seconds]
kgutteridge has quit [Client Quit]
<lakiluki>
Ox0dea, it actually has a dot in the middle of the zero, but I didn't see it at first, I need to get my eyes checked haha
dionysus69 has quit [Quit: dionysus69]
brijesh has joined #ruby
nogic has joined #ruby
dome22xl has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
dome22xl has joined #ruby
hamed_r has quit [Quit: Leaving]
<Ox0dea>
lakiluki: Nah, you can't be faulted for seeing what's supposed to be a hexadecimal literal as, well, a hexadecimal literal. :P
dionysus69 has joined #ruby
m8 has quit [Quit: Sto andando via]
* apeiros
uses a font with dotted zero
<apeiros>
since slashed zero is actually a different character
dome22xl has quit [Read error: Connection reset by peer]
cdg has quit [Ping timeout: 250 seconds]
<apeiros>
øØ0O # 4 different chars
dome22xl has joined #ruby
<Papierkorb>
That isn't even a slashed zero .. it's a slashed o ..
zotherstupidguy has quit [Ping timeout: 276 seconds]
ferr has quit [Quit: WeeChat 1.4]
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
elifoster has quit [Ping timeout: 268 seconds]
dionysus69 has quit [Quit: dionysus69]
blackmes1 has joined #ruby
dionysus69 has joined #ruby
djbkd has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
ruby329 has joined #ruby
dome22xl has quit [Ping timeout: 276 seconds]
firstdayonthejob has joined #ruby
<adaedra>
tobiasvl: no or dk?
SCHAAP137 has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
<ruby329>
Hey guys, so I have two questions. Are there any major differences for going through files on a windows computer vs a linux computer? Also, how would I go through files on a server instead of my harddrive?
djbkd has joined #ruby
jeanlinux has quit [Ping timeout: 246 seconds]
uglybandersnatch has joined #ruby
cstls has quit [Ping timeout: 248 seconds]
Todd has joined #ruby
<adaedra>
ruby329: there are some differences between Windows an Linux FS (Mainly, Windows use drive letters, C:, D:, etc, where linux has a common root /). It depends on what you need to do.
<tobiasvl>
adaedra: no
alexishuard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros>
no. the bane of yaml.
dopamean_ has quit [Quit: WeeChat 1.3]
<adaedra>
ruby329: for a server, you may want to use something like ftp or sftp (or mount it through smb or nfs and access it like a local fs)
<adaedra>
tobiasvl: I wondered for a second what you were replying negatively to :D
dome22xl has joined #ruby
Pupp3tm4st3r has joined #ruby
ekinmur has joined #ruby
<tobiasvl>
hey, you were the one who asked and presented me with the options!
<adaedra>
HEJ NORGE
kirun has joined #ruby
<tobiasvl>
HEJ HEJ HEMSKT MYCKET HEJ
<Ox0dea>
So many consonants.
aegis3121 has joined #ruby
beast has quit [Quit: Leaving]
bb010g has joined #ruby
<ruby329>
adaedra: I'm not doing anything major, just listing off all of the files, and for ftp/sftp do you have any recommended gems? Lastly, what would be the best way to list all files in a directory including sub directories. I can implement a recursive function, but I suspect ruby might already have something in place.
uglybandersnatch has quit [Ping timeout: 246 seconds]
<ruby[bot]>
havenwood: # => method `foo' for class `#<Class:#<Object:0x413f9350>>' is private (NameError) ...check link for more (https://eval.in/527635)
Matthews_ has quit [Remote host closed the connection]
ss_much has joined #ruby
cnr_roxx has quit [Ping timeout: 248 seconds]
jolts is now known as joltsafk
jordanm has joined #ruby
MatthewsFace has joined #ruby
pawnbox has joined #ruby
ht_ has quit [Quit: Konversation terminated!]
ht_ has joined #ruby
Eiam_ has joined #ruby
<jordanm>
I have a repository with multiple projects. each project is in it's own directory of the root of the project. each one has it's own rakefile, with some minor differences. I already have some common functions shared between rake files, but I would also like to share namespaces and tasks. does rake support any type of inheritance?
InternetFriend has quit [Ping timeout: 252 seconds]
Rodya_ has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.4]
Zackio has joined #ruby
n008f4g_ has joined #ruby
idefine has quit [Remote host closed the connection]
nogic has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
synthroid has quit []
mattwildig has joined #ruby
idefine has joined #ruby
andikr has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
nando293921 has joined #ruby
Guest-ru has quit []
jottr has quit [Read error: Connection reset by peer]
j3r0 has quit [Ping timeout: 246 seconds]
Shaboum has quit [Quit: WeeChat 1.4]
pdoherty has joined #ruby
Snowy has quit [Quit: ragequit]
trinaldi has joined #ruby
kgutteridge has quit [Quit: kgutteridge]
jottr has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
duckpupp1 has joined #ruby
Disavowed has joined #ruby
jottr has quit [Read error: Connection reset by peer]
Pumukel has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
Moosashi has joined #ruby
<Disavowed>
Hey all. New to Ruby so go easy on me. What's the name for something that creates directories and files during a gem install? I'm trying to write one but I'm having trouble finding relevant information.
<shevy>
well it is valid ruby code so you can use everything that ruby allows you to use jordanm but I am not sure if rake itself has any form of extra inheritance-pattern for subdirectories or projects in them
<jordanm>
shevy: thanks
<shevy>
Disavowed is it require 'fileutils'; FileUtils.mkdir_p() ?
<shevy>
or just a recursive copy perhaps... cp_rv or cp_r() and verbose flag... guess cp_rv does not exist :D
<Disavowed>
shevy: Oh wow, don't I feel like an idiot! Thank you so much!
benlieb has quit [Quit: benlieb]
nofxx has quit [Ping timeout: 250 seconds]
duckpupp1 has quit [Ping timeout: 260 seconds]
jottr has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
jottr has quit [Read error: Connection reset by peer]
Moosashi has quit [Client Quit]
nogic has joined #ruby
jottr has joined #ruby
jottr has quit [Read error: Connection reset by peer]
stannard has joined #ruby
<Disavowed>
I'm creating my first Gem - what's the best way to run it while developing? Do I have to build it each time?
<adaedra>
So if you have a binary, `ruby -Ilib bin/mygem`, or if you want to play with it, `pry -Ilib -rmygem` (for requiring it)
j3r0 has joined #ruby
<adaedra>
I think there's also a bundle console command that does the same.
solars_ has quit [Ping timeout: 260 seconds]
skade has joined #ruby
lvn has quit [Ping timeout: 276 seconds]
<shevy>
Disavowed I usually use setup.rb to copy the new one without having to build a new gem and installing it; but this would also be easy with aliases + ruby scripts
<warreng__>
quick regexp question... i have a CSV file that doesn't escape quotes. knowing that fields are comma delimited and strings are wrapped in matching double quotes, can regex convert the string "2015-07-25","Toys"r"us","-17.95" to "2015-07-25","Toys""r""us","-17.95" (notice double "" in "Toys""r""us")?
nando293921 has quit [Ping timeout: 246 seconds]
veduardo has joined #ruby
veduardo has quit [Client Quit]
<warreng__>
likely using lookahead and lookbehind?
<tobiasvl>
warreng__: should work, look into negative lookbehind/lookahead and exclude ," and ",
lakiluki has quit [Remote host closed the connection]
steffkes has joined #ruby
openstruct has quit [Remote host closed the connection]
benlieb has joined #ruby
benlieb has quit [Client Quit]
aegis3121 has quit [Ping timeout: 250 seconds]
<kirillzh>
Ox0dea, thanks a lot!
_grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea>
kirillzh: Sure thing. :)
dfinninger has quit [Remote host closed the connection]
baweaver has joined #ruby
workmad3_ has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
z3uS has quit [Ping timeout: 248 seconds]
jottr_ has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
binaryplease has joined #ruby
Ox0dea is now known as Oxford
gaf_ has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
KnownSyntax has quit [Ping timeout: 246 seconds]
Limix has quit [Quit: Limix]
gaf_ has joined #ruby
z3uS has joined #ruby
KnownSyntax has joined #ruby
Limix has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
impi0us has quit [Ping timeout: 252 seconds]
bronson has joined #ruby
cstls` has quit [Ping timeout: 250 seconds]
elifoster has joined #ruby
cnr_roxx has quit [Ping timeout: 248 seconds]
Limix has quit [Client Quit]
dome22xl has quit [Ping timeout: 252 seconds]
sts has joined #ruby
spider-mario has quit [Remote host closed the connection]
marxarelli is now known as marxarelli|afk
dlitvak has quit [Remote host closed the connection]
Spleeze has quit [Ping timeout: 250 seconds]
<sts>
hello folks. I'd like to setup a yaml config file, which evaluates a key's value in context of my application. eg. path: '/var/www/#{application}' should be expandend later on in the application. how would i best do that?
jeanlinux has joined #ruby
Limix has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
saneax_AFK is now known as saneax
dlitvak has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
<drbrain>
sts: where does application come from?
jeanlinu_ has quit [Ping timeout: 248 seconds]
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
uglybandersnatch has joined #ruby
symm- has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 248 seconds]
treehug88 has quit [Remote host closed the connection]
<sts>
drbrain: from a trusted config file.
<sts>
oh sorry
<sts>
no
<sts>
application context, eg. an instance variable of my class.
<drbrain>
so, kinda, "a different file"?
<drbrain>
and will path almost-always start with "/var/www/" or will it be arbitrary?
QORRiE has quit [Remote host closed the connection]
<drbrain>
… my idea is to have a line like "application_parent_directory: '/var/www/'" and File.join it with application when you need to build the path
<drbrain>
instead of interpolating, which is fraught with peril
<drbrain>
if it's almost-always the same you can provide a default at the spot where you would expand it
<drbrain>
instead of having a giant name like that in the YAML config file
mdih has joined #ruby
<sts>
drbrain: i need to be able to configure the pattern how a directroy structure looks like.
Jardayn has quit [Read error: Connection reset by peer]