rbennacer has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 248 seconds]
PedramT has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
jaequery has joined #ruby
bronson has joined #ruby
WhoLettum has quit [Ping timeout: 252 seconds]
sp4rrow has quit [Quit: Textual]
joonty has joined #ruby
joonty has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 248 seconds]
jaequery has quit [Ping timeout: 244 seconds]
uglybandersnatch has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 252 seconds]
stannard has quit [Remote host closed the connection]
htmldrum has quit [Ping timeout: 276 seconds]
arlek has quit [Ping timeout: 268 seconds]
astrobun_ has joined #ruby
halfamind has joined #ruby
htmldrum has joined #ruby
djbkd_ has quit [Remote host closed the connection]
wilbert has joined #ruby
liquid-silence has joined #ruby
liquid-silence has joined #ruby
Pathfinder has quit [Ping timeout: 260 seconds]
stannard has joined #ruby
godzillaenlacasa has quit [Quit: ZZZZZ....]
astrobun_ has quit [Remote host closed the connection]
astrobun_ has joined #ruby
stannard has quit [Ping timeout: 250 seconds]
astrobun_ has quit [Read error: Connection reset by peer]
astrobun_ has joined #ruby
halfamind has quit [Quit: Leaving.]
Guest34101 has joined #ruby
Chagel has joined #ruby
blandflakes has joined #ruby
liquid-silence has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
liquid-silence has joined #ruby
liquid-silence has quit [Changing host]
liquid-silence has joined #ruby
awasum has joined #ruby
symm- has quit [Ping timeout: 260 seconds]
mistermo_ has joined #ruby
p1k has joined #ruby
kies has joined #ruby
Chagel_ has joined #ruby
steffkes has quit [Ping timeout: 248 seconds]
lyoshajapan has quit [Remote host closed the connection]
fedexo has quit [Ping timeout: 240 seconds]
Chagel has quit [Ping timeout: 264 seconds]
Sucks has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
mistermo_ has quit [Ping timeout: 276 seconds]
DmitryBochkarev has joined #ruby
Chagel_ has quit [Remote host closed the connection]
ziyadb has quit [Quit: Connection closed for inactivity]
arlek has joined #ruby
df- is now known as df
ghr has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
Chagel has joined #ruby
Antiarc_ has joined #ruby
Antiarc has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
BtcBen has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
nhhc has quit [Ping timeout: 276 seconds]
kam270 has quit [Ping timeout: 240 seconds]
lyoshajapan has joined #ruby
bricker has quit [Ping timeout: 244 seconds]
astrobun_ has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.4]
RegulationD has quit [Ping timeout: 244 seconds]
subosito has joined #ruby
fullof___ has quit [Remote host closed the connection]
mbff has joined #ruby
fullofcaffeine has joined #ruby
arescorpio has joined #ruby
tubuliferous has joined #ruby
RoobieNoobie has quit [Remote host closed the connection]
<mbff>
Hello! I am have created a migration that creates a table. How can I prevent changes to the primary key and the timestamp columns? Surely it is typical to have "normal" columns and columns that are readonly/for the purpose of the db
RoobieNoobie has joined #ruby
awasum has quit [Quit: Leaving]
FaPiao|Rejected is now known as FaPiao
ramfjord has quit [Ping timeout: 244 seconds]
awasum has joined #ruby
learnprogramming has joined #ruby
learnprogramming has left #ruby [#ruby]
fullofcaffeine has quit [Ping timeout: 240 seconds]
armando has joined #ruby
gbgdev has joined #ruby
RoobieNoobie has quit [Ping timeout: 268 seconds]
fullofcaffeine has joined #ruby
jyaworski has joined #ruby
_djbkd has joined #ruby
tubuliferous has quit [Ping timeout: 264 seconds]
gumunculus has joined #ruby
halfamind has joined #ruby
A124 has quit [Read error: Connection reset by peer]
halfamind has quit [Read error: Connection reset by peer]
halfamind has joined #ruby
fullofcaffeine has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
sysodaff has quit [Ping timeout: 248 seconds]
peteykun has joined #ruby
awasum has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
htmldrum has joined #ruby
braincrash has quit [Quit: bye bye]
fullofcaffeine has joined #ruby
baweaver has joined #ruby
duckpuppy has quit [Ping timeout: 276 seconds]
halfamind has quit [Quit: Leaving.]
ascarter has joined #ruby
Chagel has quit [Remote host closed the connection]
lyoshajapan has quit [Read error: Connection timed out]
Chagel has joined #ruby
lyoshajapan has joined #ruby
fullofcaffeine has quit [Ping timeout: 248 seconds]
Spami has quit [Quit: This computer has gone to sleep]
braincrash has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
lyoshajapan has quit [Ping timeout: 260 seconds]
systemsgotyou has quit [Read error: Connection reset by peer]
systemsgotyou has joined #ruby
dcunit3d has joined #ruby
yqt has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
preyalone has quit [Quit: Connection closed for inactivity]
fullofcaffeine has joined #ruby
x77686d has quit [Quit: x77686d]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
lyoshajapan has joined #ruby
Chagel has quit [Remote host closed the connection]
treaki__ has joined #ruby
lyoshajapan has quit [Ping timeout: 248 seconds]
Azure|dc has joined #ruby
Chagel has joined #ruby
treaki_ has quit [Ping timeout: 260 seconds]
terminal_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lyoshajapan has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
arlek has quit [Ping timeout: 248 seconds]
Azure has quit [Ping timeout: 268 seconds]
halfamind has joined #ruby
arescorpio has quit [Quit: Leaving.]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
halfamind has quit [Client Quit]
lyoshajapan has quit [Ping timeout: 260 seconds]
jpfuentes2 has joined #ruby
lyoshajapan has joined #ruby
Chagel has quit [Ping timeout: 276 seconds]
Azure|dc has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
lyoshajapan has quit [Ping timeout: 240 seconds]
patrick_star_2 has quit [Quit: Leaving]
RegulationD has joined #ruby
aupadhye has joined #ruby
lyoshajapan has joined #ruby
_djbkd has quit [Ping timeout: 260 seconds]
kp666 has quit [Ping timeout: 240 seconds]
victor_ has quit [Ping timeout: 244 seconds]
<aupadhye>
=-\
Swervz has joined #ruby
_djbkd has joined #ruby
Swervz has quit [Changing host]
Swervz has joined #ruby
_djbkd has quit [Remote host closed the connection]
pwnd_nsfw` has joined #ruby
gix has quit [Ping timeout: 240 seconds]
golgaroth has quit [Quit: Connection closed for inactivity]
duckpuppy has joined #ruby
rkazak has quit [Read error: Connection reset by peer]
<Swervz>
Hi please could someone help me getting this project working https://github.com/nikhgupta/scrapix I have never used ruby before so im not sure where to start.
rkazak has joined #ruby
lyoshajapan has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 264 seconds]
sirecote has quit [Ping timeout: 276 seconds]
D9 has quit [Ping timeout: 276 seconds]
gsingh93 has quit [Ping timeout: 276 seconds]
Musashi007 has quit [Quit: Musashi007]
iamvery has quit [Ping timeout: 244 seconds]
Dreamer3 has quit [Ping timeout: 244 seconds]
maxmanders_ has quit [Ping timeout: 276 seconds]
tw1sted has quit [Quit: No Ping reply in 180 seconds.]
pwnd_nsfw has quit [Ping timeout: 250 seconds]
duncannz has joined #ruby
trosborn has joined #ruby
gix has joined #ruby
Musashi007 has joined #ruby
JoshL has quit [Ping timeout: 276 seconds]
nug has quit [Ping timeout: 276 seconds]
duncannz has quit [Max SendQ exceeded]
r4z3r has quit [Ping timeout: 246 seconds]
shadeslayer has quit [Quit: No Ping reply in 180 seconds.]
jtperreault has quit [Ping timeout: 246 seconds]
duncannz has joined #ruby
speakingcode has quit [Ping timeout: 276 seconds]
clamstar has quit [Ping timeout: 276 seconds]
giraffe has quit [Ping timeout: 276 seconds]
tw1sted has joined #ruby
Dreamer3 has joined #ruby
JoshL has joined #ruby
sirecote has joined #ruby
gsingh93 has joined #ruby
jaequery has quit [Max SendQ exceeded]
speakingcode has joined #ruby
gnarld_ has joined #ruby
duncannz has quit [Max SendQ exceeded]
mg^ has quit [Ping timeout: 276 seconds]
jtdoncas has quit [Ping timeout: 276 seconds]
duncannz has joined #ruby
bricker has joined #ruby
darkf has quit [Read error: Connection reset by peer]
iamvery has joined #ruby
joast has quit [Ping timeout: 244 seconds]
slash_nick has quit [Ping timeout: 276 seconds]
jaequery has joined #ruby
D9 has joined #ruby
configged- has quit [Read error: Connection reset by peer]
slash_nick has joined #ruby
hxegon has quit [Quit: BRB]
Kuukunen- has quit [Ping timeout: 244 seconds]
shadeslayer has joined #ruby
theRoUS has quit [Ping timeout: 276 seconds]
Kuukunen has joined #ruby
C0deMaver1ck has quit [Ping timeout: 276 seconds]
Lorn has quit [Ping timeout: 276 seconds]
tsunamie has quit [Ping timeout: 276 seconds]
r4z3r has joined #ruby
maxmanders has joined #ruby
gnarld_ is now known as nug
pwnd_nsfw` has quit [Remote host closed the connection]
theRoUS has joined #ruby
pwnd_nsfw` has joined #ruby
BrianJ has quit [Ping timeout: 244 seconds]
CloCkWeRX has quit [Ping timeout: 240 seconds]
Lorn has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
C0deMaver1ck has joined #ruby
moshee has quit [Ping timeout: 276 seconds]
C0deMaver1ck is now known as Guest73810
rohit has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
giraffe has joined #ruby
jenrzzz has joined #ruby
lyoshajapan has joined #ruby
yfeldblum has joined #ruby
whippythellama has quit [Quit: WeeChat 1.2]
darkf has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
mg^ has joined #ruby
kpwarr has quit [Ping timeout: 276 seconds]
nitrix has quit [Read error: Connection timed out]
kpwarr has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
lyoshajapan has quit [Ping timeout: 240 seconds]
fullofcaffeine has joined #ruby
clamstar has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
fullofcaffeine has joined #ruby
fullofcaffeine has quit [Read error: Connection reset by peer]
fullofcaffeine has joined #ruby
lyoshajapan has joined #ruby
djbkd has quit [Read error: Connection timed out]
Swervz has quit [Ping timeout: 240 seconds]
wreet has quit [Ping timeout: 240 seconds]
joast has joined #ruby
trosborn has quit [Quit: trosborn]
Guest92480 has joined #ruby
ta_ has joined #ruby
fullofcaffeine has quit [Ping timeout: 260 seconds]
sauvin has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
FaPiao has quit [Remote host closed the connection]
p1k has left #ruby ["WeeChat 1.4"]
bricker has quit [Ping timeout: 268 seconds]
lyoshajapan has quit [Ping timeout: 276 seconds]
lyoshajapan has joined #ruby
stannard has joined #ruby
CloCkWeRX has joined #ruby
Chagel has joined #ruby
ohaibbq has quit [Read error: Connection timed out]
ohaibbq has joined #ruby
rohit has quit [Quit: Leaving]
rohit has joined #ruby
amclain has quit [Quit: Leaving]
djbkd has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lyoshajapan has quit [Ping timeout: 244 seconds]
astrobun_ has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 240 seconds]
zast has quit [Remote host closed the connection]
stannard has quit [Ping timeout: 248 seconds]
Chagel_ has joined #ruby
Chagel has quit [Ping timeout: 264 seconds]
Xiti has quit [Quit: Xiti]
jpfuentes2 has joined #ruby
Musashi007 has joined #ruby
Blaguvest has quit []
i8igmac has quit [Ping timeout: 244 seconds]
Rodya_ has joined #ruby
i8igmac has joined #ruby
duckpuppy has joined #ruby
yfeldblum has quit [Remote host closed the connection]
joast has quit [Read error: Connection timed out]
saneax_AFK is now known as saneax
victor_ has joined #ruby
lyoshajapan has joined #ruby
PedramT has joined #ruby
lyoshajapan has quit [Ping timeout: 250 seconds]
<TheCubeLord>
Swervz: Have You Used or Have Any Books
lvn has joined #ruby
joast has joined #ruby
lyoshajapan has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
Musashi007 has quit [Quit: Musashi007]
PedramT has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 240 seconds]
CloCkWeRX has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
duckpuppy has quit [Ping timeout: 268 seconds]
duckpuppy has joined #ruby
noService has joined #ruby
rohit has quit [Ping timeout: 260 seconds]
y2mq37 has quit [Quit: Leaving]
Musashi007 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stryek has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
janmejay has joined #ruby
<janmejay>
i want to read html in my rails app wich i upload there . how can we do that?
astrobun_ has joined #ruby
joast has quit [Read error: Connection timed out]
<janmejay>
i want to read html in my rails app wich i upload there . how can we do that?
<janmejay>
is there anyone?
<Nilium>
You should probably ask in the #rubyonrails channel.
tsunamie has joined #ruby
Musashi007 has quit [Quit: Musashi007]
skade has joined #ruby
<janmejay>
Nilium: that channel needs resitererd user
<Nilium>
So do that.
liquid-silence has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
uglybandersnatch has quit [Ping timeout: 260 seconds]
rohit has joined #ruby
trosborn has joined #ruby
trosborn has quit [Client Quit]
bronson has joined #ruby
stryek has joined #ruby
mdih has quit [Read error: Connection reset by peer]
TheCubeLord has quit [Quit: Leaving]
lyoshajapan has quit []
CloCkWeRX has joined #ruby
rohit has quit [Quit: Leaving]
bronson has quit [Ping timeout: 252 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 260 seconds]
liquid-silence has joined #ruby
liquid-silence has joined #ruby
AlexRussia has quit [Ping timeout: 264 seconds]
ReK2 has quit [Quit: Konversation terminated!]
ta_ has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
Chagel_ has quit [Remote host closed the connection]
tref has joined #ruby
cibs has joined #ruby
Rahul_Roy has joined #ruby
janmejay has quit [Quit: Leaving]
uglybandersnatch has joined #ruby
<tref>
is there a way to alias the ruby ** exponent operator?
decaff has quit [Ping timeout: 248 seconds]
Chagel has joined #ruby
duckpuppy has joined #ruby
ta_ has quit [Remote host closed the connection]
<Ox0dea>
tref: Could you clarify?
ta_ has joined #ruby
<tref>
Yeah, one sec I’ll post
<tref>
what’s the web app where you can post and run ruby code? I paired with someone on it yesterday
<Ox0dea>
tref: I'm not sure I understand how you figure aliasing is the fix?
ta_ has quit [Ping timeout: 240 seconds]
<tref>
Ox0dea: since * is iterating before ** its taking expressions like “4**3” and splitting them to [“4”, “”, “3”] instead of [“4”, “3”]
<tref>
Ox0dea: if you trace through the code you’ll see
avenj has quit [Ping timeout: 268 seconds]
<Ox0dea>
tref: Got that. How does aliasing come into the picture?
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
<tref>
so if something like Fixnum#_ was used instead of Fixnum#** there wouldnt be that collision
<tref>
Ox0dea: ^
<Ox0dea>
tref: Better than replacing "**" with something arbitrary to avoid the collision would be to properly parse the input.
jtperreault has joined #ruby
<tref>
Ox0dea: could you be more specifi
stryek has joined #ruby
mrgrieves has joined #ruby
RegulationD has quit [Ping timeout: 268 seconds]
<Ox0dea>
tref: If you want an immediate "fix" to the problem you've run into, #split can be passed a regular expression, and there are plenty of ways to match "*" without inadvertently matching "**" as well.
Rodya_ has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 252 seconds]
<Ox0dea>
tref: An RPN calculator is practically a one-liner in Ruby. It's possible to evaluate infix directly, but you essentially end up maintaining your own stack anyway. Converting to RPN and evaluating that is more joy.
<tref>
I’ll look into that then
jas02 has joined #ruby
skade has joined #ruby
bluOxigen_ has quit []
jas02 has left #ruby [#ruby]
scepticulous has joined #ruby
Musashi007 has joined #ruby
<Ox0dea>
tref: For reference, then, #** is a method and can be aliased like any other.
ta_ has joined #ruby
stryek has quit [Ping timeout: 252 seconds]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
stryek has joined #ruby
<tref>
Ox0dea: can you provide an example of that? I tried to alias it to underscore but it didnt work
<Ox0dea>
>> class Fixnum; alias pow **; end; 4.pow 3 # tref
uglybandersnatch has quit [Ping timeout: 260 seconds]
devbug has joined #ruby
Trynemjoel has quit [Ping timeout: 244 seconds]
Don_John has quit [Read error: Connection reset by peer]
Musashi007 has quit [Quit: Musashi007]
KnownSyntax has quit [Ping timeout: 244 seconds]
mhoungbo has joined #ruby
Trynemjoel has joined #ruby
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
Chagel has joined #ruby
hightower2 has joined #ruby
Chagel_ has quit [Ping timeout: 240 seconds]
<Ox0dea>
tref: Just so you know, postfix notation is so simple that you can write an RPN calculator in Ruby without using any letters or numbers: https://eval.in/538462
_djbkd has quit [Remote host closed the connection]
devbug_ has joined #ruby
kam270 has joined #ruby
emilkarl has joined #ruby
Chagel_ has joined #ruby
vdamewood has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
kam270 has quit [Max SendQ exceeded]
Chagel has quit [Ping timeout: 244 seconds]
kam270 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
firstdayonthejob has joined #ruby
sandelius has joined #ruby
<tref>
Ox0dea: hold on I have to check this out
kam270 has quit [Max SendQ exceeded]
<tref>
that’s pretty crypric
<tref>
cryptic*
<Ox0dea>
tref: Yes, I guess that was probably intended.
kam270 has joined #ruby
reprazent has joined #ruby
Musashi007 has joined #ruby
<tref>
Ox0dea: I stll have to get my expression into RPN
<Ox0dea>
It's pretty great that you can write Ruby even if all your alphabetical keys are dead.
<Ox0dea>
tref: Aye, shunting yard is a little more involved than an RPN calculator, but not by much.
jaruga has joined #ruby
jaruga is now known as jaruga_
<tref>
Ox0dea: at this point im having a hard enough time with a regex that matches two asterix’s
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaruga_ has quit [Client Quit]
<Ox0dea>
tref: Using regular expressions is really not the right approach here.
jaruga has joined #ruby
jaruga is now known as jaruga_
Disavowed has joined #ruby
<Ox0dea>
I offered that as a bad solution because I trusted you to choose the good one. :x
solocshaw has joined #ruby
<tref>
Ox0dea: well Im stuck with the age-old dillema. I don’t think I’ll be able to comprehend and implement the RPN solution before my deadline
<tref>
of an hour ago lol
Rodya_ has joined #ruby
<Disavowed>
Morning all. New to Ruby and struggling with Rspec. Could anyone tell me how to debug this: expected #<String:70108787048520> => "Test" got #<String:70108787048600> => "Test"
bluOxigen has joined #ruby
<Ox0dea>
Disavowed: Use #eq.
<Disavowed>
0x0dea: Damnit! I had 'equal'! Thank you so much!
<Ox0dea>
Disavowed: Happy to help.
Ishido has joined #ruby
bricker has joined #ruby
codecop has joined #ruby
codecop_ has joined #ruby
aswen has joined #ruby
symm- has joined #ruby
davee_ has joined #ruby
pawnbox has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
codecop_ has quit [Quit: Išeinu]
spintronic has joined #ruby
spintronic has quit [Remote host closed the connection]
blackgoat has quit [Quit: WeeChat 1.4]
PlasmaStar has quit [Ping timeout: 248 seconds]
skade has quit [Quit: Computer has gone to sleep.]
noServic1 has joined #ruby
duckpuppy has joined #ruby
baweaver has quit [Remote host closed the connection]
PlasmaStar has joined #ruby
noService has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby
merida_ has quit [Remote host closed the connection]
astrobun_ has quit [Remote host closed the connection]
merida_ has joined #ruby
merida__ has joined #ruby
merida has quit [Read error: Connection reset by peer]
duckpuppy has quit [Ping timeout: 244 seconds]
astrobun_ has joined #ruby
jaruga_ has quit [Quit: jaruga_]
Disavowed has quit [Ping timeout: 240 seconds]
jaruga has joined #ruby
jaruga is now known as jaruga_
Chagel has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
merida__ has quit [Remote host closed the connection]
Chagel_ has quit [Ping timeout: 248 seconds]
merida_ has quit [Ping timeout: 252 seconds]
krz has joined #ruby
puptime has quit [Quit: gone]
e has joined #ruby
postmodern has quit [Quit: Leaving]
vondruch has joined #ruby
TomyWork has joined #ruby
htmldrum has joined #ruby
pawnbox has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
maner has joined #ruby
bluOxigen has joined #ruby
astrobun_ has quit [Remote host closed the connection]
BtcBen has quit [Ping timeout: 252 seconds]
Dimik has quit [Ping timeout: 244 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toretore has quit [Ping timeout: 246 seconds]
skade has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
tjbiddle has quit [Quit: tjbiddle]
pwnd_nsfw` is now known as pwnd_nsfw
ixti has joined #ruby
[dmp] has quit [Quit: WeeChat 1.3]
rdark has joined #ruby
e has quit [Excess Flood]
e has joined #ruby
ohaibbq has quit [Quit: Leaving...]
[dmp] has joined #ruby
firstdayonthejob has quit [Ping timeout: 260 seconds]
Chagel has quit [Remote host closed the connection]
_blizzy_ has quit [Quit: Leaving]
trosborn has joined #ruby
ixti has quit [Quit: WeeChat 1.4]
avenj has joined #ruby
Chagel has joined #ruby
matp has quit [Ping timeout: 252 seconds]
noServic1 has quit [Ping timeout: 246 seconds]
marr has joined #ruby
noService has joined #ruby
matp has joined #ruby
RegulationD has joined #ruby
Musashi007 has quit [Quit: Musashi007]
solocshaw has quit [Ping timeout: 244 seconds]
doublemalt_ has joined #ruby
terlar has joined #ruby
charlemagne has joined #ruby
trosborn has quit [Quit: trosborn]
RegulationD has quit [Ping timeout: 246 seconds]
DoubleMalt has quit [Ping timeout: 250 seconds]
doublemalt_ has quit [Remote host closed the connection]
Couch has joined #ruby
trosborn has joined #ruby
trosborn has quit [Client Quit]
victor_ has quit [Quit: leaving]
baweaver has joined #ruby
futilegames has joined #ruby
bronson has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
matp has quit [Ping timeout: 250 seconds]
baweaver has quit [Ping timeout: 250 seconds]
futilegames has quit [Ping timeout: 248 seconds]
SCHAAP137 has joined #ruby
mikecmpbll has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
PedramT has joined #ruby
merida has joined #ruby
merida_ has joined #ruby
uglybandersnatch has joined #ruby
darkf has quit [Quit: Leaving]
matp has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
sandelius has joined #ruby
GioVdK has joined #ruby
sandelius has quit [Client Quit]
minimalism has quit [Ping timeout: 244 seconds]
PedramT has quit [Ping timeout: 250 seconds]
uglybandersnatch has quit [Ping timeout: 240 seconds]
reprazent has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charlemagne has quit [Ping timeout: 246 seconds]
uglybandersnatch has joined #ruby
igam has joined #ruby
aryaching has joined #ruby
neanderslob has quit [Ping timeout: 240 seconds]
gbgdev_ has joined #ruby
sepp2k has joined #ruby
steffkes has joined #ruby
steffkes has joined #ruby
reprazent has joined #ruby
reprazent has quit [Remote host closed the connection]
stannard has joined #ruby
neanderslob_ has joined #ruby
reprazent has joined #ruby
Musashi007 has joined #ruby
woo has joined #ruby
steffkes has quit [Read error: Connection reset by peer]
mrgrieves has joined #ruby
stannard has quit [Ping timeout: 250 seconds]
atmosx has joined #ruby
gbgdev_ has quit [Remote host closed the connection]
duncannz has quit [Remote host closed the connection]
tref has quit [Quit: tref]
Musashi007 has quit [Quit: Musashi007]
reprazent has quit [Ping timeout: 276 seconds]
skydiver has quit [Quit: WeeChat 1.4]
mfaeh has joined #ruby
Rodya_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
reprazent has joined #ruby
joonty has joined #ruby
minimalism has joined #ruby
Didac has joined #ruby
mdw has joined #ruby
steffkes has joined #ruby
jgt has quit [Ping timeout: 264 seconds]
crdpink has quit [Quit: q term]
reprazent has quit [Ping timeout: 240 seconds]
dgncn has quit [Excess Flood]
acalewin has joined #ruby
reprazen_ has joined #ruby
steffkes has quit [Read error: Connection reset by peer]
dgncn has joined #ruby
mdw has quit [Client Quit]
PedramT has joined #ruby
crdpink has joined #ruby
tvw has quit [Remote host closed the connection]
aryaching has quit []
Musashi007 has joined #ruby
htmldrum has joined #ruby
uglybandersnatch has quit [Ping timeout: 250 seconds]
_lazarevsky has joined #ruby
<_lazarevsky>
howdy all
trosborn has joined #ruby
trosborn has quit [Client Quit]
<ujjain>
Can somebody help me fix this error? no implicit conversion of String into Integer" (using ==) (RSpec::Expectations::ExpectationNotMetError) - http://pastebin.com/7HR1ceYR
<ujjain>
Can somebody help me fix this error? no implicit conversion of String into Integer" (using ==) (RSpec::Expectations::ExpectationNotMetError) - Source: https://gist.github.com/ujjain/42ed3507e6c0465658e3
devbug_ has quit [Ping timeout: 248 seconds]
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 248 seconds]
evidex has joined #ruby
biberu has joined #ruby
reprazen_ has quit [Read error: Connection reset by peer]
Chagel has quit [Remote host closed the connection]
woo has joined #ruby
_lazarevsky has quit [Ping timeout: 252 seconds]
fgvfpr has joined #ruby
pawnbox has joined #ruby
maner has quit [Ping timeout: 252 seconds]
reprazent has joined #ruby
steffkes has joined #ruby
reprazent has quit [Read error: Connection reset by peer]
charlemagne has joined #ruby
<ujjain>
what is #{} in ruby?
reprazent has joined #ruby
Chagel has joined #ruby
haraoka has quit [Ping timeout: 244 seconds]
_lazarevsky has joined #ruby
<_lazarevsky>
I need help parsing a string
<hightower2>
ujjain, way to interpolate within strings... e.g. puts "I have #{ number } tasks"
<_lazarevsky>
name = "com.app.NAMESPACE.costoptimizer.key";
<_lazarevsky>
the first one should return -> com.app.NAMESPACE.costoptimizer.key
<scepticulous>
ujjain: which line does the error origin from? the message mentions == , so maybe stage or livecycle_settings['livecycle_state'] is not a string ?
<_lazarevsky>
the second one should return -> com.app.NAMESPACE.llm.database.root
<_lazarevsky>
I have grep-ed my git project for com.app.NAMESPACE and got thousands of results
<_lazarevsky>
now I wanna remove all the noise and just keep the full package name
<_lazarevsky>
could someone please give me some pointers? I guess the heuristic should be:
<_lazarevsky>
1) find com.app.NAMESPACE and keep going until you reach a character which is different to a letter or a .
<_lazarevsky>
does that make sense?
charlemagne has quit [Ping timeout: 260 seconds]
<_lazarevsky>
thanks
krz has quit [Ping timeout: 244 seconds]
Chagel has quit [Ping timeout: 260 seconds]
platzhirsch has joined #ruby
<ujjain>
scepticulous , thanks, I replaced the array by [0] and [1] and it works now
PedramT has quit [Remote host closed the connection]
toaoMgeorge has quit [Read error: Connection reset by peer]
kobain has joined #ruby
jottr_ has joined #ruby
ChiefAlexander has quit [Quit: Leaving...]
joonty has joined #ruby
kerp_ has joined #ruby
stannard has joined #ruby
noService has joined #ruby
<kerp_>
Hi all, does anybody know if the ncursesw gem supports PADs? I was unable to find any resources on the topic...
idletask has quit [Quit: .]
ChiefAlexander has joined #ruby
tomatoes has joined #ruby
oz has quit [Read error: Connection reset by peer]
stannard has quit [Remote host closed the connection]
kies has quit [Ping timeout: 260 seconds]
skade has quit [Quit: Computer has gone to sleep.]
htmldrum has joined #ruby
malconis has joined #ruby
oz has joined #ruby
skade has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
malconis has quit [Remote host closed the connection]
Snowy has joined #ruby
DoubleMalt has joined #ruby
_stu_ has joined #ruby
malconis has joined #ruby
decoponio has joined #ruby
nennes has joined #ruby
Rodya_ has joined #ruby
Ropeney has joined #ruby
Snowy_ has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
kerp_ has quit []
codecop has quit [Remote host closed the connection]
reprazent has joined #ruby
jottr_ is now known as jottr
reprazen_ has joined #ruby
cdg has joined #ruby
nfk|laptop has joined #ruby
yeticry_ has quit [Read error: Connection reset by peer]
Rodya_ has quit [Ping timeout: 260 seconds]
yeticry has joined #ruby
bluOxigen_ has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bluOxigen has quit [Ping timeout: 246 seconds]
kam270 has quit [Ping timeout: 260 seconds]
reprazent has quit [Ping timeout: 264 seconds]
griffindy has joined #ruby
callen92 has joined #ruby
RoobieNoobie has joined #ruby
agit0 has joined #ruby
swills has joined #ruby
`tim` has joined #ruby
stannard has joined #ruby
grill has joined #ruby
bricker has joined #ruby
htmldrum has quit [Ping timeout: 248 seconds]
wreet has quit [Quit: Leaving]
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
frustrum has quit [Read error: Connection reset by peer]
n008f4g_ has joined #ruby
frustrum has joined #ruby
bricker has quit [Ping timeout: 244 seconds]
atmosx has quit [Quit: This is aparting message!]
jrafanie has joined #ruby
duckpuppy has joined #ruby
Ropeney has joined #ruby
krz has joined #ruby
DaniG2k has joined #ruby
mattwashere has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
_blizzy_ has quit [Quit: Leaving]
jottr has quit [Ping timeout: 248 seconds]
peteykun has quit [Quit: Leaving]
mattwashere has quit [Read error: Connection reset by peer]
mattwash_ has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
mattwash_ has quit [Client Quit]
DmitryBochkarev has joined #ruby
reprazen_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest34101 has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
reprazent has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
jottr has joined #ruby
reprazen_ has joined #ruby
Guest34101 has quit [Ping timeout: 248 seconds]
ChiefAlexander has joined #ruby
reprazent has quit [Ping timeout: 244 seconds]
blandflakes has joined #ruby
chouhoulis has joined #ruby
blandflakes has quit [Client Quit]
shredding has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
jyaworski has joined #ruby
blandflakes has joined #ruby
axl_ has joined #ruby
whippythellama has joined #ruby
duckpuppy has joined #ruby
fullofcaffeine has joined #ruby
guardian has quit [Quit: Coyote finally caught me]
guardian has joined #ruby
Mon_Ouie has joined #ruby
kies has joined #ruby
matp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Yiota has joined #ruby
niko has quit [Read error: Connection reset by peer]
niko has joined #ruby
spiman_ has quit []
davee_ has quit [Ping timeout: 248 seconds]
sesquipedalian has quit [Ping timeout: 264 seconds]
tjohnson has joined #ruby
<shevy>
will ruby perserve
mfaeh has quit []
mostlybadfly has joined #ruby
Karix has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
n008f4g_ has quit [Ping timeout: 248 seconds]
Karix has quit [Client Quit]
tubuliferous_ has joined #ruby
RoobieNoobie has quit [Remote host closed the connection]
Karix has joined #ruby
allcentury has joined #ruby
tenderlo_ has joined #ruby
Prominent has quit [Ping timeout: 244 seconds]
Azure|dc has quit [Ping timeout: 248 seconds]
woo has joined #ruby
Prominent has joined #ruby
matp has joined #ruby
Rodya_ has joined #ruby
Vlat- has quit [Quit: Vlat-]
tubuliferous_ has quit [Ping timeout: 268 seconds]
alexherbo2 has joined #ruby
jyaworski has quit [Quit: jyaworski]
Rodya_ has quit [Ping timeout: 268 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest92480 has quit [Changing host]
Guest92480 has joined #ruby
mallu has joined #ruby
oquidave has quit [Quit: Konversation terminated!]
tekk has joined #ruby
jpfuentes2 has joined #ruby
Guest92480 is now known as nitrix
Chagel has quit [Ping timeout: 268 seconds]
cpup has quit [Ping timeout: 260 seconds]
cpup has joined #ruby
zast has joined #ruby
davedev24 has joined #ruby
agit0 has joined #ruby
Snowy_ is now known as Ballk_
rippa has joined #ruby
jottr_ has joined #ruby
Vlat- has joined #ruby
Ballk_ is now known as Snowy
Snowy is now known as Ballk_
AlexRussia has joined #ruby
Ballk_ is now known as Snowy
vdamewood has quit [Quit: Life beckons.]
jottr has quit [Ping timeout: 268 seconds]
<n1colas>
Hello
Mon_Ouie has quit [Ping timeout: 244 seconds]
bricker has joined #ruby
tamole has joined #ruby
marr has quit [Ping timeout: 260 seconds]
krz has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
noway_ has joined #ruby
tubuliferous_ has joined #ruby
dcunit3d has quit [Ping timeout: 250 seconds]
jottr_ has quit [Ping timeout: 240 seconds]
CasBaIT has joined #ruby
jyaworski has joined #ruby
CasBaIT has quit [Client Quit]
krz has joined #ruby
jottr has joined #ruby
norc has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
hs366 has quit [Quit: Leaving]
bezhermoso has joined #ruby
davedev2_ has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
synthroid has quit [Remote host closed the connection]
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
terminalrecluse has joined #ruby
_stu_ has quit [Quit: _stu_]
davedev24 has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
woo has joined #ruby
Prominent has quit [Read error: Connection reset by peer]
rodfersou is now known as rodfersou|lunch
bronson has quit [Ping timeout: 252 seconds]
davedev__ has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
x77686d has joined #ruby
<Bish>
n1colas: HELLO
davedev2_ has quit [Ping timeout: 248 seconds]
tubuliferous_ has quit [Ping timeout: 268 seconds]
tk___ has quit [Quit: ばいばい]
sesquipedalian has joined #ruby
davedev24 has quit [Ping timeout: 268 seconds]
_blizzy_ has joined #ruby
Chagel has joined #ruby
fuzzyhorns has joined #ruby
noService has quit [Changing host]
noService has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
speakingcode has quit [Remote host closed the connection]
shredding has quit [Ping timeout: 248 seconds]
fexilal has quit [Ping timeout: 276 seconds]
aryaching has joined #ruby
dikaio has joined #ruby
nennes has quit [Read error: Connection reset by peer]
idletask has joined #ruby
hxegon has joined #ruby
JakFrist has joined #ruby
nfk|laptop has quit [Quit: yawn]
nerium has joined #ruby
Guest34101 has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eljimmy has joined #ruby
tvw has quit [Remote host closed the connection]
uglybandersnatch has joined #ruby
jpfuentes2 has joined #ruby
jottr has quit [Read error: Connection reset by peer]
halfamind has quit [Quit: Leaving.]
johnmilton has joined #ruby
Prominent has joined #ruby
Guest34101 has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
mhoungbo has quit [Ping timeout: 246 seconds]
uglybandersnatch has quit [Ping timeout: 276 seconds]
TomyLobo has joined #ruby
ukazap has joined #ruby
jyaworski has quit [Quit: jyaworski]
bezhermoso has quit [Quit: Zzzzz...]
lvn has quit [Ping timeout: 240 seconds]
kedare has quit [Quit: WeeChat 1.3]
TheCubeLord has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
halfamind1 has joined #ruby
marxarelli has joined #ruby
aganov has quit [Remote host closed the connection]
noService has quit [Ping timeout: 246 seconds]
bweston92 has joined #ruby
Prominent has quit [Ping timeout: 240 seconds]
Ishido has joined #ruby
zarubin has joined #ruby
noService has joined #ruby
alexherbo2 has quit [Ping timeout: 252 seconds]
FooMunki has joined #ruby
DaniG2k has quit [Quit: leaving]
TheCubeLord has quit [Quit: Leaving]
scepticulous has quit [Ping timeout: 268 seconds]
skade has quit [Quit: Computer has gone to sleep.]
djbkd has quit [Quit: Leaving...]
mhoungbo has joined #ruby
hxegon is now known as hxegon_AFK
marr has joined #ruby
[Butch] has joined #ruby
jottr has joined #ruby
aryaching has quit [Read error: No route to host]
hxegon_AFK is now known as hxegon
noService has quit [Client Quit]
Chagel has quit [Ping timeout: 276 seconds]
decaff has joined #ruby
rkazak has joined #ruby
DarkBushido has quit [Remote host closed the connection]
myntcake has joined #ruby
DarkBushido has joined #ruby
DarkBushido has quit [Changing host]
DarkBushido has joined #ruby
<myntcake>
has anyone here tried the launch school(previously Tealeaf academy) program? what do you guys think of it?
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gbgdev has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
aspiers has quit [Quit: WeeChat 1.3]
mistermocha has joined #ruby
bezhermoso has joined #ruby
stardiviner has joined #ruby
aspiers has joined #ruby
amclain has joined #ruby
jpfuentes2 has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
bigmyx has joined #ruby
DarkBushido has left #ruby ["Leaving..."]
DarkBushido has joined #ruby
reprazen_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mfaeh has joined #ruby
_stu_ has joined #ruby
hxegon has quit [Quit: BRB]
matp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devbug has joined #ruby
gbgdev has quit [Ping timeout: 260 seconds]
whippythellama has quit [Ping timeout: 264 seconds]
<bigmyx>
hey folks, I am trying to use Chef's git resource as described here: https://docs.chef.io/resource_git.html, when I try to pass a hash to environment method in the block like this : `environment { 'VAR' => 'whatever' }` - I got error: `syntax error, unexpected =>, expecting '}'`
reprazent has joined #ruby
<adaedra>
try adding parenthesis.
fuzzyhorns has left #ruby [#ruby]
<adaedra>
{ } is considered as block parameter in this context.
alexherbo2 has joined #ruby
reprazent has quit [Client Quit]
freakcoder has joined #ruby
merida has joined #ruby
merida_ has joined #ruby
kith has quit [Quit: kith]
devbug has quit [Ping timeout: 264 seconds]
davee_ has joined #ruby
aryaching has joined #ruby
<bigmyx>
adaedra: what would be the correct syntax than?
<adaedra>
either `foo 'a' => 'b'`, either foo({'a' => 'b'})`
arlek has joined #ruby
rkazak has quit [Ping timeout: 250 seconds]
matp has joined #ruby
shredding has joined #ruby
niko has quit [Remote host closed the connection]
<bigmyx>
adaedra: got it, thanks
synthroid has joined #ruby
ukazap has quit [Quit: See you all.]
bob434 has joined #ruby
wldcordeiro has quit [Ping timeout: 264 seconds]
_stu_ has quit [Quit: _stu_]
Spami has quit [Read error: Connection reset by peer]
jaiks has quit [Remote host closed the connection]
whippythellama has joined #ruby
Spami has joined #ruby
dhollinger has joined #ruby
barberj has joined #ruby
barberj has quit [Client Quit]
spiman has joined #ruby
PedramT has joined #ruby
saneax_AFK is now known as saneax
TheCubeLord has joined #ruby
BtcBen has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
danielwzd has joined #ruby
hxegon has joined #ruby
gbgdev has joined #ruby
d0nn1e has quit [Ping timeout: 250 seconds]
noway_ has quit [Read error: No route to host]
crunk_bear has joined #ruby
noway_ has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d0nn1e has joined #ruby
rodfersou|lunch is now known as rodfersou
hightower3 has joined #ruby
aufi has quit [Quit: Konversation terminated!]
<nano->
drbrain: excellent, thanks!
sepp2k has quit [Quit: Leaving.]
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
symm- has joined #ruby
hightower2 has quit [Ping timeout: 276 seconds]
Snowy has quit [Quit: ragequit]
aryaching has quit [Ping timeout: 246 seconds]
<shevy>
does anyone know if there is some direct link to that ruby contributor's convention or agreement? that thing that is new and I think not more than 3 months old or so
b|ackwolf has joined #ruby
PedramT has quit [Remote host closed the connection]
jpfuentes2 has joined #ruby
<b|ackwolf>
how important enumerator is in Ruby world?
Dimik has joined #ruby
<shevy>
b|ackwolf very, just look at what you can do with them
<shevy>
you have ... .each .each_with_index .inspect .next .size .with_object
Spami has quit [Quit: Leaving]
gbgdev has quit [Remote host closed the connection]
joonty has quit [Ping timeout: 264 seconds]
stunder001 has joined #ruby
maletor has joined #ruby
PedramT has joined #ruby
mhoungbo has quit [Ping timeout: 244 seconds]
Rodya_ has joined #ruby
the_drow has joined #ruby
aryaching has joined #ruby
binaryplease has joined #ruby
mrgrieves has quit [Ping timeout: 252 seconds]
bluOxigen_ has quit [Ping timeout: 264 seconds]
<b|ackwolf>
shevy, thanks. I'm reading "The Well-Grounded Rubyist" chapter 10 and I think I don't get the idea. should I continue to read or step back and read again?
Spami has joined #ruby
PedramT has quit [Remote host closed the connection]
<x77686d>
Does anybody know the rationale behind String#each being removed in 1.9?
<darix>
x77686d: what do you want to do?
<darix>
x77686d: there is s.each_byte s.each_char s.each_codepoint s.each_line
<darix>
depending on what you want to do
<x77686d>
produce s[0], s[1], ...
Rodya_ has quit [Ping timeout: 244 seconds]
<darix>
well you want bytes? chars or codepoints?
<darix>
s.bytes[1] s.chars[1] s.codepoints[1]
mostlybadfly has quit [Quit: Connection closed for inactivity]
terminalrecluse has joined #ruby
danielwzd has quit [Quit: Leaving]
wldcordeiro has joined #ruby
Couch has quit [Ping timeout: 276 seconds]
<x77686d>
I want whatever s[0], s[1], ..., produces, just like Array#each produces a[0], a[1], ... :)
<adaedra>
it says "character", so I guess you want each_char
<x77686d>
I understand the distinctions but it seems like removing String#each broke a reasonable behavior and I'm wanting to see what Matz' thinking was.
PedramT has joined #ruby
bronson has joined #ruby
jaequery has joined #ruby
jaequery has quit [Remote host closed the connection]
<adaedra>
iirc, 1.9 added Unicode support, and in the same time distinction between the three categories above. #each may have feeled too ambiguous.
tomatoes has quit [Read error: Connection reset by peer]
tomatoes has joined #ruby
gbgdev has joined #ruby
<Ox0dea>
x77686d: String is not Enumerable.
<shevy>
b|ackwolf I don't know the chapter, more important than the chapter is that you can iterate through a collection thanks to enumerator
terlar has quit [Ping timeout: 260 seconds]
mhoungbo has joined #ruby
<shevy>
damn unicode breaking old behaviour!
<Ox0dea>
x77686d: To clarify, the existence of String#each implies that, say, String#map should "do the right thing", but there's no clear definition thereof.
pawnbox has joined #ruby
<adaedra>
shevy: damn unicode fixing bad behavior!
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
aryaching has quit [Ping timeout: 244 seconds]
jpfuentes2 has joined #ruby
ramfjord has joined #ruby
tommd has joined #ruby
<Ox0dea>
b|ackwolf: I'd strongly advise against proceeding until you've got the general idea.
RegulationD has quit [Ping timeout: 248 seconds]
* pipework
salutes General Idea
Mon_Ouie has joined #ruby
lurch_ has quit [Quit: lurch_]
Alayde has joined #ruby
Alayde has left #ruby [#ruby]
lurch_ has joined #ruby
<b|ackwolf>
Ox0dea, thanks for your mention.
thenextmogul has joined #ruby
blackms has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 260 seconds]
aryaching has joined #ruby
Rodya_ has joined #ruby
gizmore has joined #ruby
merida_ has quit [Remote host closed the connection]
saneax is now known as saneax_AFK
Sucks has joined #ruby
merida_ has joined #ruby
pawnbox has joined #ruby
tvw has joined #ruby
<Ox0dea>
b|ackwolf: Enumerators give you external iteration (arbitrary control of the loop with something more versatile than an index) and "internal construction", to put it to a phrase. Array on steroids, give or take.
shredding has quit [Ping timeout: 276 seconds]
freakcoder has quit [Quit: Leaving.]
freakcoder has joined #ruby
mikecmpbll has quit [Ping timeout: 244 seconds]
lurch_ has quit [Ping timeout: 260 seconds]
<Ox0dea>
Lazy and infinite sequences as well, because Ruby is secretly a functional programming language. :P
<shevy>
such pretty words ... Array on steroids :D
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
choke has joined #ruby
rodfersou is now known as rodfersou|afk
arlek has quit [Ping timeout: 240 seconds]
`tim` has joined #ruby
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
yuung has joined #ruby
Sucks has quit [Ping timeout: 246 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
<yuung>
i have a string and an array of words i'd like to replace within that string. does ruby have a method for this or am i going to have to iterate over the array?
<yuung>
for ex, `"this is my string", ["is", "string"] should be replaced ["IS", "STRING"] respectively
ponga has quit [Quit: Connection closed for inactivity]
rodfersou|afk is now known as rodfersou
bob434 has quit [Quit: This computer has gone to sleep]
bob434 has joined #ruby
evidex has quit [Quit: leaving]
joonty has quit [Ping timeout: 240 seconds]
evidex has joined #ruby
bronson has quit [Remote host closed the connection]
niko has joined #ruby
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Meow-J has quit [Quit: Connection closed for inactivity]
ohaibbq has joined #ruby
merida_ has quit [Ping timeout: 244 seconds]
graffix222 has joined #ruby
pawnbox has joined #ruby
merida has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox_ has joined #ruby
PaulCapestany has quit [Quit: .]
jpfuentes2 has joined #ruby
graffix has quit [Ping timeout: 276 seconds]
graffix222 is now known as graffix
binaryplease has joined #ruby
PaulCapestany has joined #ruby
troulouliou_div2 has joined #ruby
Guest34101 has joined #ruby
Xiti has joined #ruby
bronson has joined #ruby
<halfamind1>
Puma question: I'm running with 2 workers and my config includes `directory` and `prune_bundler` entries. Occasionally, I see an old worker process stick around after a deploy. Output of `ps axjf` looks like: https://gist.github.com/joeyAghion/f7c65ad7b528531f03f7
<shevy>
pumas run faster than humans but as long as you runf aster than your two co-workers, you should be safe
<eam>
0xffff88007ad4bf38
Chagel has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
Xiti has quit [Read error: Connection reset by peer]
bob434 has quit [Quit: This computer has gone to sleep]
ferr has quit [Quit: WeeChat 1.4]
Marsupermammal has joined #ruby
Chagel has quit [Ping timeout: 244 seconds]
troulouliou_div2 has quit [Ping timeout: 276 seconds]
firstdayonthejob has joined #ruby
bob434 has joined #ruby
<halfamind1>
Lol thanks shevy. But seriously, I'm stumped.
sneakerhax has joined #ruby
bigkevmcd has quit [Quit: outta here]
Marsupermammal has quit [Ping timeout: 248 seconds]
bob434 has quit [Client Quit]
howard_ has joined #ruby
DexterLB has quit [Ping timeout: 276 seconds]
BtcBen has quit [Ping timeout: 252 seconds]
allcentury has quit [Quit: WeeChat 1.2]
DexterLB has joined #ruby
<hanmac>
shevy, but humans are better to run in curves, pumas can't keep up with that ,P
yqt has joined #ruby
BtcBen has joined #ruby
dcunit3d has joined #ruby
<eam>
we don't even know if humans *can* run in curves, since it's still undecided whether the universe is discrete or continuous
kies has quit [Ping timeout: 250 seconds]
weemsledeux has joined #ruby
davedev__ has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
<workmad3>
eam: we're better at running in either curves, or discrete approximations of curves, depending on which statement is true at the finest resolution of reality
PaulCapestany has quit [Quit: .]
neilhwatson has joined #ruby
<workmad3>
shevy: what happens if you're being chased by a pack of 3 pumas, and you only have 2 co-workers?
davedev24 has joined #ruby
<eam>
without some kind of evidence that reality exist I'm going to have to reject this whole train of thought
<eam>
non-circular evidence please
<workmad3>
eam: if reality doesn't exist, it's still interesting to examine what exactly it is that doesn't exist
ramfjord has joined #ruby
hxegon is now known as hxegon_AFK
PaulCapestany has joined #ruby
<workmad3>
eam: and why it doesn't exist in the specific way that is observed
mrsolo has quit [Ping timeout: 264 seconds]
ckrailo has quit [Ping timeout: 264 seconds]
zast has left #ruby [#ruby]
mhoungbo has quit [Ping timeout: 268 seconds]
mrsolo has joined #ruby
ckrailo has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 260 seconds]
atmosx has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arlek has joined #ruby
pawnbox_ has joined #ruby
fgvfpr has quit [Remote host closed the connection]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
chouhoulis has joined #ruby
djbkd has quit [Remote host closed the connection]
hxegon_AFK is now known as hxegon
whippythellama has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
chouhoulis has quit [Remote host closed the connection]
pwnd_nsfw has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
cdg has quit [Remote host closed the connection]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
mhoungbo has joined #ruby
baweaver has quit [Remote host closed the connection]
slawrence00 has joined #ruby
baweaver has joined #ruby
awasum has joined #ruby
atmosx has quit [Quit: This is aparting message!]
shadoi has joined #ruby
tref has joined #ruby
mhoungbo has quit [Ping timeout: 248 seconds]
mleung has joined #ruby
howard_ has quit [Quit: Leaving...]
Eiam has joined #ruby
BtcBen has quit [Ping timeout: 252 seconds]
last_staff has quit [Quit: last_staff]
<grill>
how exactly do i set the initial value of an attr_reader :some_attr
TomyLobo has quit [Ping timeout: 264 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<workmad3>
grill: in the `initialize` method, just assign to `@some_attr`
<grill>
interesting
bkulbida has joined #ruby
mostlybadfly has joined #ruby
<apeiros>
grill: note that all that attr_reader does is create a method for you
<grill>
yes
<grill>
i just wasn't sure where to set the value
BtcBen has joined #ruby
nofxx has joined #ruby
nofxx has joined #ruby
<apeiros>
i.e. it's not "attr_reader :some_attr" which has a value, but the corresponding ivar @some_attr
last_staff has joined #ruby
tref has quit [Quit: tref]
Guest5 has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
Guest5 has quit [Client Quit]
yuung has quit [Ping timeout: 250 seconds]
PedramT has quit [Remote host closed the connection]
Guest5 has joined #ruby
rdark has quit [Ping timeout: 260 seconds]
tjvc has quit [Quit: Leaving]
`tim` has joined #ruby
Guest5 has quit [Client Quit]
agit0 has joined #ruby
Parker0 has joined #ruby
agit0 has quit [Client Quit]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
nanoz has joined #ruby
tonyynot has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
tomatoes has quit [Ping timeout: 268 seconds]
RegulationD has joined #ruby
<shevy>
halfamind1 did you try in the ruby on rails channel yet? usually the percentage of people using webserver-related things would be higher than on #ruby
maletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ohaibbq has quit [Quit: Leaving...]
Guest38 has joined #ruby
djbkd has quit [Remote host closed the connection]
<shevy>
workmad3 cats are lazy, they'll settle for the first-to-go-down!
<shevy>
grill one day we may have attr* with question marks!
PedramT has joined #ruby
Xiti has joined #ruby
djbkd has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
t-ask has quit [Ping timeout: 268 seconds]
djbkd has quit [Read error: Connection reset by peer]
darkf has joined #ruby
djbkd has joined #ruby
yuung has joined #ruby
kies has joined #ruby
lemur has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
codecop has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
mistermocha has quit [Remote host closed the connection]
BSaboia has joined #ruby
lemur has quit [Ping timeout: 250 seconds]
<adgtl>
What's best way to write pmap in Ruby?
SCHAAP137 has joined #ruby
evidex has quit [Ping timeout: 250 seconds]
maletor has joined #ruby
krz has quit [Quit: WeeChat 1.2]
<apeiros>
a) define best, b) what's pmap?
djbkd has joined #ruby
yuung has quit [Ping timeout: 268 seconds]
chrisseaton has quit [Ping timeout: 264 seconds]
tonini has quit [Ping timeout: 264 seconds]
Ox0dea has quit [Ping timeout: 250 seconds]
chrisseaton has joined #ruby
<baweaver>
memory map of processes if they're talking unix
mikar has quit [Quit: Connection closed for inactivity]
uglybandersnatch has joined #ruby
axl_ has quit [Ping timeout: 268 seconds]
axl__ is now known as axl_
<baweaver>
including looking at the source and trying to reimplement it from there.
mistermocha has quit [Ping timeout: 252 seconds]
stunder001 has quit [Ping timeout: 276 seconds]
spider-mario has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
halfamind1 has quit [Read error: Connection reset by peer]
diego4 has joined #ruby
halfamind has joined #ruby
axl_ has quit [Client Quit]
bluOxigen has joined #ruby
diego4 has quit [Changing host]
diego4 has joined #ruby
diegoviola is now known as Guest66753
diego4 is now known as diegoviola
nanoz has quit [Ping timeout: 248 seconds]
uglybandersnatch has quit [Ping timeout: 244 seconds]
mrsolo has quit [Ping timeout: 264 seconds]
jabreity has quit [Ping timeout: 264 seconds]
Guest66753 has quit [Ping timeout: 246 seconds]
<adgtl>
baweaver: yes
kirun has joined #ruby
<baweaver>
what code do you have so far?
jabreity has joined #ruby
bkulbida has quit [Quit: leaving]
<adgtl>
baweaver: i mean, pmap can be easily writen elixir or is there in clojure. Is there any standard implementation with Ruby and threads that's legit
mrsolo has joined #ruby
nerium has quit [Quit: nerium]
<baweaver>
Normally parallel and async in ruby is a bad idea. Very rarely done well
pawnbox has quit [Ping timeout: 244 seconds]
theRealGent has joined #ruby
<baweaver>
If you're getting to a point where you _need_ it then it's probably time to try one of those other languages.
bricker_ has joined #ruby
<theRealGent>
Hello. Could anyone recommend the best solution to quickly installing ruby so I can use jekyll? Preferably something that doesn't modify my cd command :)
PedramT has quit [Remote host closed the connection]
mdw has quit [Quit: Sleeping Zzzzz]
<shevy>
theRealGent: wget ftp://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.xz; tar xf ruby*xz; cd ruby*2.3*; ./configure --prefix=/usr # or any other prefix like into the home dir as done by e. g. RVM
Xeago has joined #ruby
baweaver has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 248 seconds]
diegoviola has quit [Ping timeout: 246 seconds]
ta_ has joined #ruby
andikr has quit [Remote host closed the connection]
bob434 has quit [Quit: This computer has gone to sleep]
stunder001 has joined #ruby
callen92 has joined #ruby
ready has quit [Quit: Leaving]
TheCubeLord has quit [Remote host closed the connection]
skweek has joined #ruby
atmosx has joined #ruby
jottr has quit [Quit: WeeChat 1.4]
Musashi007 has quit [Quit: Musashi007]
wldcordeiro has quit [Ping timeout: 276 seconds]
intrigueD has joined #ruby
moeabdol1 has quit [Quit: WeeChat 1.4]
stunder001 has quit [Ping timeout: 276 seconds]
PedramT has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
stunder001 has joined #ruby
moeabdol has joined #ruby
Xeago has quit [Remote host closed the connection]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
ohaibbq has joined #ruby
lkba has quit [Remote host closed the connection]
Xeago has joined #ruby
lkba has joined #ruby
PedramT has quit [Client Quit]
Xeago has quit [Remote host closed the connection]
PedramT has joined #ruby
marxarelli is now known as marxarelli|afk
kies has quit [Ping timeout: 248 seconds]
ChiefAlexander has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
haylon has quit [Quit: WeeChat 1.4]
norc has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
codecop has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
<darix>
neilhwatson: use the packages that come with your distro?
<neilhwatson>
He said he wanted a newer version.
roshanavand has joined #ruby
<darix>
an ubuntu still with 1.9
<darix>
sounds old
mdw has joined #ruby
<neilhwatson>
Very, even debian stable is at 2+
gbgdev has quit [Remote host closed the connection]
danielwzd has joined #ruby
johnmilton has quit [Quit: Namaste]
pawnbox has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
<darix>
new lts is coming next month
<darix>
if i recall correctly
neilhwatson has quit [Quit: leaving]
duckpuppy has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
kies has joined #ruby
djbkd has joined #ruby
replay has joined #ruby
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_ht has quit [Quit: leaving]
wldcordeiro has joined #ruby
PedramT has quit [Remote host closed the connection]
Gadgetoid has left #ruby [#ruby]
baweaver has joined #ruby
musl has quit [Quit: WeeChat 1.3]
stunder001 has quit [Ping timeout: 268 seconds]
baweaver has quit [Remote host closed the connection]
PedramT has joined #ruby
_ht has joined #ruby
codecop has joined #ruby
DOK_23123123qq has joined #ruby
Snowy has joined #ruby
devbug has joined #ruby
<shevy>
debian is the king of the snails! only beaten by centos
baweaver has joined #ruby
stunder001 has joined #ruby
hahuang65 has quit [Ping timeout: 248 seconds]
hinbody has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
Xeago has joined #ruby
duncannz has joined #ruby
washt has quit [Ping timeout: 240 seconds]
uglybandersnatch has quit [Ping timeout: 244 seconds]
freerobby has quit [Quit: Leaving.]
ta_ has quit [Ping timeout: 246 seconds]
baweaver has quit [Remote host closed the connection]
huddy has quit [Quit: Connection closed for inactivity]
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Dysp>
Hi guys. I am very much new to Ruby and trying to understand it. I can't see what I am doing wrong here, I hope someone will enlighten me. I'm using Shoes. https://gist.github.com/anonymous/5accc447006a07e31b0a
RegulationD has joined #ruby
<bronson>
shevy: "brewed with only 300 lines of Ruby code" dunno why he didn't just go for 100 lines, only take a few more semicolons.
<bronson>
how big was it after rubocop was done?
tomatoes has joined #ruby
SG045734 has quit [Ping timeout: 244 seconds]
<bronson>
omg, Shoes is still a thing? that's awesome!
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Dysp>
Haha. Trying to create a program that can help me handle tedious data-analyzing
<bronson>
Dysp: no idea what's going wrong... Care to share a bit more?
<Dysp>
As of now we are just copy/pasting between excel sheets.
<Dysp>
I'm simply trying to make a button. When I press it I want it to read a file and post the content.
mdw_ has quit [Quit: Sleeping Zzzzz]
<Dysp>
And I can actually get that to work if I just place it all inside the button code block. But, then to challenge myself a bit, I wanted to make it so that the button just loads the file and content; and another block would the post it. I get nothing. Not even errors :(
crowell has quit [Ping timeout: 240 seconds]
stunder001 has joined #ruby
<bronson>
so what code did you paste?
<Dysp>
Sorry?
<bronson>
your indentation is weird. you realize your click handler only has two lines of Ruby right?
Cohedrin has joined #ruby
<Dysp>
Identation? Like how it looks?
<Dysp>
Im totally new to programming
<bronson>
like line 11 is indented, but I don't know why it would be.
baweaver has quit [Remote host closed the connection]
<bronson>
@b1.click could be rewritten like this: @b1.click { f = File.open("tester.txt", "r"); @text = f.read }
<Dysp>
What is the function of the semicolon there?
millerti has joined #ruby
<bronson>
also, fwiw, you can just do @text = File.read('tester.txt', 'r')
stunder001 has quit [Ping timeout: 246 seconds]
<bronson>
the semicolon separates statements, like a newline
<bronson>
I just used it because pasting multiple lines on IRC is irritating
nerium has joined #ruby
<Dysp>
Sure it is. I'll remember that.
<bronson>
My point is that your indentation indicates that @b1.click's block is ~15 lines long, but your code shows it's only 2 lines long (lines 7 and 8)
<Dysp>
I guess is that it actually reads the file, but doesn't 'refresh' to actually paste the content. But I then don't know how to make it do that.
minimalism has joined #ruby
<shevy>
bronson it was not much bigger... perhaps +60 lines or so, putting some methods onto more lines or those weird huge hash constants onto several lines
<shevy>
but some other errors were not corrected like wrong indent
mhoungbo has joined #ruby
stunder001 has joined #ruby
<shevy>
what gets me is how this guy could have used like 80 $variables
<bronson>
shevy: ha, time for some more rubocop rules. "error: more than four globals used in one file"
<shevy>
I can't tell whether he was deliberately trolling or not... because the weird thing is, his old code still works on ruby 2.x and current ruby-gtk bindings too