jhass changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
whippythellama has quit [Quit: WeeChat 1.4]
supplication has joined #ruby
firstdayonthejob has quit [Ping timeout: 248 seconds]
bjensen82 has quit []
baweaver has quit [Remote host closed the connection]
<Ox0dea> mallu: https://eval.in/529106
rlf has joined #ruby
<rlf> anyone here used nginx + puma for rails?
spuk has joined #ruby
<Ox0dea> ?rails rlf
<ruby[bot]> rlf: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<rlf> thx
rlf has left #ruby [#ruby]
nullwarp has joined #ruby
LoneHermit has quit [Ping timeout: 276 seconds]
Guest34101 has joined #ruby
Azure has quit [Quit: Oops.]
baweaver has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
n008f4g_ has quit [Ping timeout: 276 seconds]
skade has joined #ruby
Don_John has joined #ruby
skade has quit [Client Quit]
n008f4g_ has joined #ruby
idefine has quit [Remote host closed the connection]
devbug_ has joined #ruby
Vingador has joined #ruby
duderono_ has quit [Quit: Textual IRC Client: www.textualapp.com]
devbug has quit [Ping timeout: 268 seconds]
BTRE has quit [Remote host closed the connection]
mallu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
BTRE has joined #ruby
chouhoulis has joined #ruby
baweaver has quit [Remote host closed the connection]
ghormoon has quit [Read error: Connection reset by peer]
deuxcliq_ has joined #ruby
trosborn has quit [Quit: trosborn]
hogetaro_ has joined #ruby
deuxcliq_ has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deuxcliq_ has joined #ruby
IrishGringo has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
baweaver has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
hogetaro has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby
deuxclique has quit [Ping timeout: 240 seconds]
trinaldi has joined #ruby
lipoqil has quit [Quit: Connection closed for inactivity]
veloutin has quit [Ping timeout: 276 seconds]
volty has quit [Quit: Konversation terminated!]
baweaver has quit [Remote host closed the connection]
deuxcliq_ has quit [Ping timeout: 268 seconds]
saneax is now known as saneax_AFK
darix has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
pdoherty has joined #ruby
Don_John has quit [Read error: Connection reset by peer]
idefine has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hayden_ has quit [Quit: Connection closed for inactivity]
joonty has joined #ruby
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mattwildig has quit [Remote host closed the connection]
intrigueD has quit [Remote host closed the connection]
trosborn has joined #ruby
darix has joined #ruby
deuxclique has joined #ruby
trosborn has quit [Client Quit]
baweaver has joined #ruby
griffindy has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
baweaver has quit [Remote host closed the connection]
hahuang61 has joined #ruby
Noxilex has joined #ruby
joonty has quit [Ping timeout: 276 seconds]
deuxclique has quit [Remote host closed the connection]
baweaver has joined #ruby
DLSteve has joined #ruby
Uber|Dragon has quit [Quit: No Reason]
BSaboia has quit [Ping timeout: 260 seconds]
jottr_ is now known as jottr
Uber|Dragon has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
Azure has joined #ruby
duderonomy has joined #ruby
solocshaw has quit [Ping timeout: 248 seconds]
atomical_ has joined #ruby
freerobby has joined #ruby
Spami has joined #ruby
Respek has joined #ruby
darix has quit [Quit: may the packets be with you...]
Rodya_ has joined #ruby
darix has joined #ruby
darix has quit [Client Quit]
darix has joined #ruby
decoponyo has quit [Quit: Leaving...]
atomical has quit [Ping timeout: 276 seconds]
atomica__ has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
Noxilex has quit [Ping timeout: 248 seconds]
the-undefined_ has quit [Quit: Connection closed for inactivity]
atomical has joined #ruby
Rodya_ has quit [Ping timeout: 260 seconds]
atomical_ has quit [Ping timeout: 248 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
FernandoBasso has quit [Quit: Leaving]
ghormoon has joined #ruby
kies^ has joined #ruby
johnmilton has quit [Ping timeout: 244 seconds]
atomica__ has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
makenoise has quit [Remote host closed the connection]
atomical has quit [Ping timeout: 244 seconds]
atomical has joined #ruby
nerium has quit [Quit: nerium]
Guest83414 is now known as James
jenrzzz has joined #ruby
James is now known as Guest49756
rew has joined #ruby
idefine has joined #ruby
solocshaw has joined #ruby
<hightower> Hey, is there a way to see where in the chain of ancestors a particular method is defined (e.g. what the "super" hierarchy looks like)?
eregi has quit [Ping timeout: 264 seconds]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
<Ox0dea> &ri Method#owner @hightower
ReK2 has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
dfockler has joined #ruby
marxarelli is now known as marxarelli|afk
DiabolikFreenode has quit [Max SendQ exceeded]
<hightower> Ox0dea, that'll work, thanks
Diabolik has joined #ruby
<Ox0dea> Sure thing.
jenrzzz has quit [Quit: Lost terminal]
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
sondr3 has joined #ruby
tvw has quit []
benlieb has joined #ruby
nettoweb has joined #ruby
baweaver has quit [Remote host closed the connection]
kam270 has joined #ruby
amargherio has joined #ruby
baweaver has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
agent_white has quit [Quit: bbl]
freerobby has quit [Quit: Leaving.]
last_staff has quit [Remote host closed the connection]
merqlove has quit [Quit: Connection closed for inactivity]
shadoi has quit [Quit: Leaving.]
jottr has quit [Quit: WeeChat 1.4]
chouhoulis has joined #ruby
baweaver has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 248 seconds]
supplication has quit [Ping timeout: 276 seconds]
<Ox0dea> hightower: This is slightly interesting: https://eval.in/529117
Spami has quit [Quit: This computer has gone to sleep]
<hightower> Ox0dea, pretty great
<hightower> Just what I had in mind
<Ox0dea> ^_^
Spami has joined #ruby
kirillzh has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 250 seconds]
krobzaur_ has joined #ruby
krobzaur_ has left #ruby [#ruby]
kirillzh has quit [Read error: Connection reset by peer]
kirillzh has joined #ruby
jenrzzz has joined #ruby
benlieb has quit [Quit: benlieb]
jenrzzz has quit [Client Quit]
jenrzzz has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
amargherio has quit [Remote host closed the connection]
Don_John has joined #ruby
eregi has joined #ruby
baroquebobcat has joined #ruby
dnewkerk has joined #ruby
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
dopamean_ has quit [Ping timeout: 248 seconds]
rodferso1 has quit [Quit: leaving]
shinnya has quit [Ping timeout: 250 seconds]
allcentury has joined #ruby
baroquebobcat has quit [Client Quit]
baroquebobcat has joined #ruby
baroquebobcat has quit [Client Quit]
baroquebobcat has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
_b__ has joined #ruby
idefine has joined #ruby
Jardayn has quit [Ping timeout: 244 seconds]
pdoherty has quit [Ping timeout: 246 seconds]
baroquebobcat has quit [Ping timeout: 264 seconds]
_b__ has quit [Client Quit]
idefine has quit [Ping timeout: 260 seconds]
htmldrum has joined #ruby
elifoster has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
mostlybadfly has joined #ruby
AustinMatherne has quit [Quit: Lost terminal]
AustinMatherne has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
idefine has joined #ruby
aryaching has joined #ruby
DLSteve has joined #ruby
n008f4g_ has quit [Ping timeout: 240 seconds]
dopamean_ has joined #ruby
DynamicMetaFlow has joined #ruby
mattwildig has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
Guest49756 is now known as James
James is now known as Guest24685
duckpuppy has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
arutemu has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
sneakerhax has quit [Ping timeout: 260 seconds]
kam270 has quit [Quit: Leaving]
joonty has joined #ruby
hxegon_ has quit [Ping timeout: 244 seconds]
IrishGringo has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
stannard has quit [Read error: Connection reset by peer]
stannard has joined #ruby
floatingpoint has joined #ruby
braincra- has joined #ruby
UtkarshRay has joined #ruby
danjam1 has quit [Ping timeout: 240 seconds]
braincrash has quit [Ping timeout: 276 seconds]
danjam has joined #ruby
aryaching has quit [Ping timeout: 244 seconds]
aryaching_ has joined #ruby
<slash_nick> neat
uglybandersnatch has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
baweaver has joined #ruby
workmad3_ has joined #ruby
sphex_ has joined #ruby
dcunit3d has joined #ruby
mattp_ has joined #ruby
douglasc_ has joined #ruby
monoprotic has joined #ruby
douglasc_ has quit [Remote host closed the connection]
Azure|dc has joined #ruby
Zarthus_ has joined #ruby
BSaboia has joined #ruby
bakedb has joined #ruby
TheNet has joined #ruby
justinmcp_ has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
ahuman_ has joined #ruby
ericwood_ has joined #ruby
zacts_ has joined #ruby
pushcx_ has joined #ruby
Muz_ has joined #ruby
sts_ has joined #ruby
icey_ has joined #ruby
speaking1ode has joined #ruby
Shapeshi1ter has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
gypsydav15 has joined #ruby
baweaver has quit [Ping timeout: 248 seconds]
benlieb has joined #ruby
crankhar1er has joined #ruby
Sp4rKy_ has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
MuffinPimp_ has joined #ruby
MuffinPimp_ has quit [Remote host closed the connection]
graphettion has joined #ruby
aryaching_ has quit [Remote host closed the connection]
BSaboia has quit [Ping timeout: 252 seconds]
EdwardIII has quit [Ping timeout: 260 seconds]
skakri` has joined #ruby
dfockler has quit [Ping timeout: 248 seconds]
KramerC_ has joined #ruby
rhg331 has joined #ruby
_ko10 has joined #ruby
DenSchub_ has joined #ruby
bogdanteleaga_ has joined #ruby
nlsun_ has joined #ruby
djellemah_ has joined #ruby
lpvb has joined #ruby
Zarthus has quit [Ping timeout: 248 seconds]
diprotic has quit [Ping timeout: 248 seconds]
nlsun has quit [Ping timeout: 248 seconds]
skakri has quit [Ping timeout: 248 seconds]
MuffinPimp has quit [Ping timeout: 248 seconds]
zacts has quit [Ping timeout: 248 seconds]
KramerC has quit [Ping timeout: 248 seconds]
Todd has quit [Ping timeout: 248 seconds]
pushcx has quit [Ping timeout: 248 seconds]
ericwood has quit [Ping timeout: 248 seconds]
mattp__ has quit [Ping timeout: 248 seconds]
Azure has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
douglascorrea has quit [Ping timeout: 248 seconds]
augcesar has quit [Ping timeout: 248 seconds]
lpvb has quit [Ping timeout: 248 seconds]
Sp4rKy has quit [Ping timeout: 248 seconds]
djellemah has quit [Ping timeout: 248 seconds]
bradland has quit [Ping timeout: 248 seconds]
sphex has quit [Ping timeout: 248 seconds]
crankharder has quit [Ping timeout: 248 seconds]
speakingcode has quit [Ping timeout: 248 seconds]
Brando753 has quit [Ping timeout: 248 seconds]
DenSchub has quit [Ping timeout: 248 seconds]
rhg135 has quit [Ping timeout: 248 seconds]
bakedb_ has quit [Ping timeout: 248 seconds]
huyderman has quit [Ping timeout: 248 seconds]
sts has quit [Ping timeout: 248 seconds]
Muz has quit [Ping timeout: 248 seconds]
hightower6 has quit [Ping timeout: 248 seconds]
_ko1 has quit [Ping timeout: 248 seconds]
Shapeshifter has quit [Ping timeout: 248 seconds]
nisstyre_ has quit [Ping timeout: 248 seconds]
Icey has quit [Ping timeout: 248 seconds]
cgfbee has quit [Ping timeout: 248 seconds]
bogdanteleaga has quit [Ping timeout: 248 seconds]
gypsydave5 has quit [Ping timeout: 248 seconds]
ahuman has quit [Ping timeout: 248 seconds]
justinmcp has quit [Ping timeout: 248 seconds]
bogdanteleaga_ is now known as bogdanteleaga
_ko10 has quit [Client Quit]
Sp4rKy_ is now known as Sp4rKy
KramerC_ is now known as KramerC
EdwardIII has joined #ruby
huyderman has joined #ruby
hightower6 has joined #ruby
Brando753 has joined #ruby
Todd has joined #ruby
aryaching has joined #ruby
cgfbee has joined #ruby
Bugboy1028 has quit [Ping timeout: 250 seconds]
_ko1 has joined #ruby
bradland has joined #ruby
rodolfowtf has joined #ruby
Bugboy1028 has joined #ruby
lessless has joined #ruby
arutemu has left #ruby [#ruby]
Chagel has joined #ruby
vikas027 has joined #ruby
htmldrum has quit [Ping timeout: 240 seconds]
gmas has joined #ruby
dopamean_ has quit [Ping timeout: 244 seconds]
idefine has quit [Read error: Connection reset by peer]
InternetFriend has joined #ruby
Chagel has quit [Ping timeout: 248 seconds]
Chagel has joined #ruby
mjc_ has quit [Quit: Connection closed for inactivity]
ur5us has quit [Remote host closed the connection]
TheNet has quit [Quit: Leaving...]
LoneHerm_ has joined #ruby
Rodya_ has joined #ruby
Chagel has quit [Remote host closed the connection]
BSaboia has joined #ruby
patrick99e99 has quit [Quit: Page closed]
Rodya_ has quit [Ping timeout: 240 seconds]
hiljusti has quit [Ping timeout: 252 seconds]
nisstyre_ has joined #ruby
Chagel has joined #ruby
ixti has quit [Ping timeout: 248 seconds]
Spami has quit [Quit: This computer has gone to sleep]
astrobun_ has joined #ruby
blackmesa has joined #ruby
cassioscabral has joined #ruby
idefine has joined #ruby
supplication has joined #ruby
Guest24685 is now known as James
bronson has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 264 seconds]
queequeg1 has joined #ruby
darkf has joined #ruby
Chagel has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
Chagel has joined #ruby
dcunit3d has quit [Ping timeout: 268 seconds]
uglybandersnatch has joined #ruby
matp has quit [Ping timeout: 260 seconds]
Chagel has quit [Remote host closed the connection]
dopamean_ has joined #ruby
Chagel has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
DmitryBochkarev has joined #ruby
mattwildig has quit [Remote host closed the connection]
dcunit3d has joined #ruby
fullofcaffeine has quit [Ping timeout: 244 seconds]
DmitryBochkarev has quit [Client Quit]
fullofcaffeine has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Bugboy1028 has quit [Ping timeout: 250 seconds]
DmitryBochkarev has joined #ruby
Internet1riend has joined #ruby
benlieb has quit [Quit: benlieb]
deuxclique has joined #ruby
idefine has quit [Remote host closed the connection]
dcunit3d has quit [Client Quit]
chouhoulis has joined #ruby
Bugboy1028 has joined #ruby
kp666 has quit [Remote host closed the connection]
ss_much has quit [Quit: Connection closed for inactivity]
Channel6 has joined #ruby
_whitelogger_ has joined #ruby
saltsa has quit [Remote host closed the connection]
Boohbah has quit [Ping timeout: 260 seconds]
funnel has quit [Ping timeout: 260 seconds]
jtperreault has quit [Ping timeout: 260 seconds]
Rasi has quit [Ping timeout: 260 seconds]
majjoha has quit [Ping timeout: 260 seconds]
th__ has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 264 seconds]
fedexo has joined #ruby
e4xit_ has joined #ruby
pwnd_nsfw` has joined #ruby
nertzy2 has joined #ruby
th_ has joined #ruby
matled- has joined #ruby
FooMunki has quit [Quit: FooMunki]
Regulati_ has joined #ruby
_Suntzu has joined #ruby
BlindSight` has joined #ruby
uxp has joined #ruby
heidar_ has joined #ruby
InternetFriend has quit [*.net *.split]
Todd has quit [*.net *.split]
lpvb has quit [*.net *.split]
x77686d_ has joined #ruby
utkarsh has joined #ruby
havenn has joined #ruby
ckrailo_ has joined #ruby
\pub\bash0r_ has joined #ruby
rikai_ has joined #ruby
Eising_ has joined #ruby
diegok has joined #ruby
Kuukunen- has joined #ruby
shortdudey123_ has joined #ruby
tvsutton_ has joined #ruby
mistym- has joined #ruby
spacemud_ has joined #ruby
rhg135 has joined #ruby
[ace]_ has joined #ruby
juanfra_ has joined #ruby
oz` has joined #ruby
gregf1 has joined #ruby
saltsa_ has joined #ruby
Armand has joined #ruby
samuelkadolph_ has joined #ruby
\13k_ has joined #ruby
DefV has joined #ruby
fourq_ has joined #ruby
Fire-Dragon-DoL- has joined #ruby
FifthWall_ has joined #ruby
Dreamer__ has joined #ruby
papercode has joined #ruby
Olipro- has joined #ruby
raenk_ has joined #ruby
jtoy_ has joined #ruby
Prira has joined #ruby
paultreny_ has joined #ruby
tabakhase__ has joined #ruby
xsdg_ has joined #ruby
ardian_ has joined #ruby
mosheee has joined #ruby
Olipro_ has joined #ruby
antranig1 has joined #ruby
ljarvis_ has joined #ruby
jinie_ has joined #ruby
rodolfowtf_ has joined #ruby
joconcepts has joined #ruby
rethi_ has joined #ruby
uglybandersnatc- has joined #ruby
kalleth_ has joined #ruby
jzigmund has joined #ruby
ujjain- has joined #ruby
maxmanders_ has joined #ruby
scottyme- has joined #ruby
mhenrixon_ has joined #ruby
fn2187___ has joined #ruby
miah_ has joined #ruby
queequeg2 has joined #ruby
Radar_ has joined #ruby
Koshian_ has joined #ruby
Armand is now known as Guest61580
Boohbah_ has joined #ruby
BlindSight` is now known as BlindSight
scottyme- is now known as scottymeuk
e4xit_ is now known as e4xit
samuelkadolph_ is now known as samuelkadolph
jinie_ is now known as jinie
Guest61580 is now known as Apocalypse
oz` is now known as oz
voker57 has quit [Changing host]
voker57 has joined #ruby
yokel has joined #ruby
yokel has quit [Changing host]
jtdowney has quit [Changing host]
jtdowney has joined #ruby
_whitelogger has quit [Ping timeout: 260 seconds]
juanfra_ has quit [Client Quit]
spacemud_ is now known as spacemud
greenhat- has joined #ruby
rcs has joined #ruby
matled- is now known as matled
Fire-Dragon-DoL- is now known as Fire-Dragon-DoL
havenwood has quit [Read error: Connection reset by peer]
havenn is now known as havenwood
funnel_ has joined #ruby
<astrobun_> holy
Boohbah_ is now known as Boohbah
thejoecarroll has joined #ruby
wjimenez5271_ has joined #ruby
donnoc_ has joined #ruby
th_ is now known as th__
FifthWall_ is now known as FifthWall
funnel_ is now known as funnel
kp666 has joined #ruby
ckrailo_ is now known as ckrailo
Shidash has joined #ruby
Emmanuel_Chanel has joined #ruby
coffeejunk has joined #ruby
x77686d has quit [Ping timeout: 260 seconds]
x77686d_ is now known as x77686d
shortdudey123_ is now known as shortdudey123
isene has joined #ruby
WebDawg has joined #ruby
timonv1 has joined #ruby
Olipro_ is now known as Olipro
pjaspers has joined #ruby
lannonbr has joined #ruby
go|dfish has joined #ruby
uxp has quit [Ping timeout: 276 seconds]
ohcibi has joined #ruby
uxp has joined #ruby
juanfra has joined #ruby
clamstar has joined #ruby
yorickpeterse has joined #ruby
davedev24 has quit []
lpvb has joined #ruby
Guest121 has quit [Ping timeout: 276 seconds]
Todd has joined #ruby
Guest121 has joined #ruby
spectra has joined #ruby
callumacrae has joined #ruby
dcunit3d has joined #ruby
ericn81 has joined #ruby
davidcelis has joined #ruby
davidcelis has joined #ruby
hightower is now known as hightower4
Guest123456666 has joined #ruby
zapata has joined #ruby
heyimwill has joined #ruby
astrobun_ has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
Mission-Critical has joined #ruby
pawnbox has joined #ruby
eregi has quit [Ping timeout: 276 seconds]
astrobun_ has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
Dragooon has joined #ruby
deuxcliq_ has joined #ruby
sunya7a has joined #ruby
minimalism has quit [Ping timeout: 246 seconds]
Dragooon has quit [Max SendQ exceeded]
agent_white has joined #ruby
deuxclique has quit [Ping timeout: 244 seconds]
trosborn has joined #ruby
DrCode has joined #ruby
Bugboy1028 has quit [Ping timeout: 268 seconds]
livcd has quit [Ping timeout: 246 seconds]
howdoi has joined #ruby
Antiarc has quit [Quit: No Ping reply in 180 seconds.]
devbug_ has quit [Ping timeout: 268 seconds]
livcd has joined #ruby
Rodya_ has joined #ruby
makenoise has joined #ruby
Bugboy1028 has joined #ruby
douglascorrea has joined #ruby
Antiarc has joined #ruby
mclee has joined #ruby
BSaboia has quit [Ping timeout: 248 seconds]
Chagel has quit [Remote host closed the connection]
douglascorrea has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 244 seconds]
matp has joined #ruby
epitron has joined #ruby
Rasi has joined #ruby
duncannz has joined #ruby
DmitryBochkarev has joined #ruby
duncannz has quit [Max SendQ exceeded]
blackmesa has joined #ruby
duncannz has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
Chagel has joined #ruby
Antiarc has quit [Quit: No Ping reply in 180 seconds.]
Dragooon has joined #ruby
bronson has joined #ruby
Guest84405 is now known as James
safe has joined #ruby
Antiarc has joined #ruby
krasnus has joined #ruby
James is now known as Guest2836
krz has joined #ruby
DynamicMetaFlow has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 252 seconds]
jud has joined #ruby
makenoise has quit [Remote host closed the connection]
braincra- has quit [Quit: bye bye]
devbug has joined #ruby
pushcx_ has quit [Changing host]
pushcx has joined #ruby
pushcx_ is now known as pushcx
baweaver has joined #ruby
SpikeMaster has joined #ruby
crystal77 has joined #ruby
pawnbox has quit [Remote host closed the connection]
gix has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
symm- has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
makenoise has joined #ruby
djbkd has quit [Remote host closed the connection]
techietrash_ has quit [Changing host]
techietrash_ has joined #ruby
techietrash_ is now known as techietrash
djbkd has joined #ruby
cassioscabral has quit [Quit: cassioscabral]
braincrash has joined #ruby
gix has joined #ruby
duncannz has quit [Remote host closed the connection]
SpikeMaster has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
chouhoulis has joined #ruby
duncannz has joined #ruby
aryaching has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 248 seconds]
Radar_ is now known as Radar
aryaching has joined #ruby
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 268 seconds]
freerobby has quit [Quit: Leaving.]
minimalism has joined #ruby
y2mq37 has joined #ruby
makenoise has quit [Remote host closed the connection]
dopie has quit [Quit: Lost terminal]
dopie has joined #ruby
paultreny_ has quit [Changing host]
paultreny_ has joined #ruby
paultreny_ is now known as paultreny
dopie has quit [Client Quit]
dopie has joined #ruby
htmldrum has joined #ruby
Bugboy1028 has quit [Ping timeout: 250 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Contigi has joined #ruby
Bugboy1028 has joined #ruby
Chagel has quit [Ping timeout: 248 seconds]
htmldrum has quit [Ping timeout: 252 seconds]
spuk has quit [Ping timeout: 248 seconds]
lvn has joined #ruby
makenoise has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
houhoulis has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
aupadhye has joined #ruby
Chagel has joined #ruby
kp666 has quit [Remote host closed the connection]
pawnbox has joined #ruby
makenoise has quit [Ping timeout: 240 seconds]
zast has joined #ruby
DmitryBochkarev has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
griffindy has quit [Read error: Connection reset by peer]
deuxcliq_ has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
fulgore_ has quit [Ping timeout: 260 seconds]
astrobun_ has quit [Remote host closed the connection]
Internet1riend has quit [Ping timeout: 240 seconds]
sneakerhax has joined #ruby
makenoise has joined #ruby
sdothum has joined #ruby
pawnbox has joined #ruby
douglascorrea has joined #ruby
bronson has joined #ruby
djbkd has joined #ruby
makenoise has quit [Ping timeout: 240 seconds]
eregi has joined #ruby
douglascorrea has quit [Ping timeout: 260 seconds]
vikas027 has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
Guest2836 is now known as James
InternetFriend has joined #ruby
James is now known as Guest70955
Chagel_ has joined #ruby
<hightower4> Is there a way, in runtime, to change the parent class of a class?
Chagel has quit [Ping timeout: 250 seconds]
Respek has quit [Quit: gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 244 seconds]
astrobun_ has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<Ox0dea> hightower4: https://eval.in/529164
<Ox0dea> But that's terrifying.
<hightower4> Haha
<hightower4> Impressive
mattwildig has joined #ruby
<Ox0dea> "Impossible" is my trigger word.
InternetFriend has quit [Ping timeout: 240 seconds]
ahuman_ is now known as ahuman
trosborn has quit [Quit: trosborn]
shanemcd has joined #ruby
<Ox0dea> I suppose SIZEOF_UINTPTR_T is more likely to be the correct value on more systems, but this is otherwise a pretty "robust" way to do it, scarily enough.
trosborn has joined #ruby
<Ox0dea> Internally, RClass is just an RBasic immediately followed by a VALUE, the latter being a pointer to the superclass.
agent_white has quit [Quit: backlater]
<Ox0dea> I don't think that's liable to have changed since 1.0 or so.
<Ox0dea> s/pointer/reference/
bMalum has joined #ruby
Bugboy1028 has quit [Ping timeout: 240 seconds]
<shevy> that reminds me of evil.rb
mattwildig has quit [Ping timeout: 248 seconds]
sondr3 has quit [Ping timeout: 248 seconds]
Bugboy1028 has joined #ruby
bMalum has quit [Client Quit]
<Ox0dea> evil.rb was the hardcore mode that Fiddle softened up quite nicely.
chouhoulis has joined #ruby
Uber|Dragon has left #ruby [#ruby]
Uber|Dragon has joined #ruby
<Ox0dea> Now that I think on it, why on earth isn't Fiddle::SIZEOF_VALUE a thing?
shanemcd has quit [Ping timeout: 244 seconds]
moeabdol has joined #ruby
baweaver has quit [Remote host closed the connection]
Vingador has quit [Ping timeout: 244 seconds]
youch has joined #ruby
kenndel_ has quit [Read error: Connection reset by peer]
Contigi has quit [Read error: Connection reset by peer]
adgtl has joined #ruby
Contigi has joined #ruby
dubalubdub has joined #ruby
ericn81 has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
djellemah_ is now known as djellemah
harryh has quit [Quit: Textual IRC Client: www.textualapp.com]
jtperreault has joined #ruby
trosborn has quit [Quit: trosborn]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
majjoha has joined #ruby
Guest21405 has joined #ruby
sq271 has quit [Ping timeout: 276 seconds]
saneax_AFK is now known as saneax
sq271 has joined #ruby
nickjj_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
Jammy_Work has joined #ruby
htmldrum has joined #ruby
pawnbox has joined #ruby
nickjj has quit [Ping timeout: 268 seconds]
Hammy_Work has quit [Ping timeout: 268 seconds]
LoneHerm_ has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
DmitryBochkarev has joined #ruby
htmldrum has quit [Ping timeout: 276 seconds]
steffkes has joined #ruby
LoneHerm_ has quit [Ping timeout: 244 seconds]
DmitryBochkarev has quit [Client Quit]
Sammichmaker has joined #ruby
Chagel_ has quit [Remote host closed the connection]
Chagel has joined #ruby
Channel6 has quit [Quit: Leaving]
bronson has quit [Remote host closed the connection]
ramfjord has joined #ruby
astrobun_ has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 244 seconds]
coyo has joined #ruby
coyo has joined #ruby
Rodya_ has joined #ruby
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_whitelogger_ has quit [Excess Flood]
_whitelogger has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
safe has quit [Quit: Leaving]
graphettion has quit [Remote host closed the connection]
baweaver has joined #ruby
Rodya_ has quit [Ping timeout: 260 seconds]
astrobun_ has joined #ruby
youch has quit [Ping timeout: 244 seconds]
zast has quit [Remote host closed the connection]
s00pcan has quit [Ping timeout: 276 seconds]
s00pcan has joined #ruby
holyGlitch has left #ruby [#ruby]
Guest70955 is now known as James
James is now known as Guest68721
blackmesa has joined #ruby
Bugboy1028 has quit [Ping timeout: 268 seconds]
rodolfowtf has joined #ruby
rodolfowtf_ has quit [Read error: Connection reset by peer]
Bugboy1028 has joined #ruby
sauvin has joined #ruby
lvn has quit [Ping timeout: 276 seconds]
trosborn has joined #ruby
astrobun_ has quit [Remote host closed the connection]
astrobun_ has joined #ruby
dionysus69 has joined #ruby
humblespoon has quit [Quit: Page closed]
blackmesa has quit [Ping timeout: 248 seconds]
idefine has joined #ruby
symm- has joined #ruby
moeabdol has joined #ruby
Don_John has quit [Read error: Connection reset by peer]
ropeney has joined #ruby
adgtl has quit [Remote host closed the connection]
kirillzh has quit [Quit: Textual IRC Client: www.textualapp.com]
adgtl has joined #ruby
moeabdol has quit [Client Quit]
jayc0b0 has joined #ruby
skade has joined #ruby
moeabdol has joined #ruby
kirillzh has joined #ruby
idefine has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
x77686d has quit [Quit: x77686d]
kies has quit [Ping timeout: 276 seconds]
kies^ has quit [Ping timeout: 268 seconds]
tjbiddle has joined #ruby
chouhoulis has quit [Ping timeout: 264 seconds]
the_drow has joined #ruby
_wwwbukolaycom has quit [Ping timeout: 260 seconds]
Chagel has quit [Remote host closed the connection]
Bugboy1028 has quit [Ping timeout: 240 seconds]
ta_ has quit [Remote host closed the connection]
Bugboy1028 has joined #ruby
Chagel has joined #ruby
kies^ has joined #ruby
LoneHermit has joined #ruby
norc has joined #ruby
whyldfire has joined #ruby
Guest123456666 has quit [Quit: Textual IRC Client: www.textualapp.com]
<whyldfire> Hi
<norc> Hello whyldfire.
<whyldfire> Are you familiar with the rails framework?
<whyldfire> Hello norc
<antranig1> mornings :#
nk121 has quit [Quit: moo]
<norc> whyldfire: Yes and you might want to take this to #rubyonrails
antranig1 is now known as antranigv
<whyldfire> oh! thank you
<norc> Good morning antranigv.
hxegon has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
whyldfire has left #ruby [#ruby]
bronson has joined #ruby
houhoulis has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 252 seconds]
mrp has joined #ruby
<mrp> hi
<mrp> i'm new to rails
rodolfowtf has quit [Remote host closed the connection]
<mrp> also ruby
<mrp> pls help me
<mrp> what's the differnce between include and require in ruby
<shevy> mrp come on man
czerasz has quit [Ping timeout: 244 seconds]
mrp has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
moeabdol has quit [Read error: Connection reset by peer]
moeabdol has joined #ruby
douglascorrea has joined #ruby
intrigueD has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<baweaver> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
hk238 has joined #ruby
<hk238> hello ^^
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thevaliantx has joined #ruby
douglascorrea has quit [Ping timeout: 240 seconds]
<antranigv> yea, I had this feeling that most of Ruby programmers use Rails. I hope I'm wrong :))
<norc> antranigv: Rails has certainly helped with the popularity of Ruby without a doubt.
<antranigv> norc: mhm! even my favorite Diaspora is written using Rails ^^
skade has joined #ruby
Guest68721 is now known as James
James is now known as Guest26786
the_drow has joined #ruby
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> how many bug or issue trackers would exist for ruby? I know of redmine I think... but is there something simpler? ideally web-interface too but I mostly just need a sorta "todo list manager". my todo files right now are mostly just plain .md files
astrobun_ has quit [Remote host closed the connection]
ensyde_ has joined #ruby
<antranigv> may I ask, which part of Ruby is influenced by Ada? :)
astrobun_ has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
<shevy> its girly side
<antranigv> shevy: lol:D
blackmesa has joined #ruby
aryaching has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
ensyde_ has quit [Ping timeout: 248 seconds]
LoneHerm_ has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
pawnbox has quit [Remote host closed the connection]
<antranigv> File.open("file.txt", "r") do |f|
<antranigv> what does |f| do?
intrigueD has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
mattwildig has joined #ruby
amclain has quit [Quit: Leaving]
fullofcaffeine has quit [Remote host closed the connection]
chipotle has joined #ruby
eregi has quit [Ping timeout: 260 seconds]
scepticulous has joined #ruby
trosborn has quit [Quit: trosborn]
mattwildig has quit [Ping timeout: 260 seconds]
<djellemah> antranigv: |f| is a parameter to the block of code between do and end
bronson has joined #ruby
trosborn has joined #ruby
tvw has joined #ruby
Mon_Ouie has joined #ruby
thevaliantx has quit [Quit: Leaving]
tjbiddle has quit [Quit: tjbiddle]
JohnBat26 has joined #ruby
adgtl has quit [Remote host closed the connection]
trosborn has quit [Client Quit]
neuraload has joined #ruby
chouhoulis has joined #ruby
trosborn has joined #ruby
trosborn has quit [Client Quit]
trosborn has joined #ruby
trosborn has quit [Client Quit]
<hk238> Hello I just started learning ruby on 'codeacademy' website, there's a task that asks me to print out each word from a user's input into the console, as far as I can tell, that's exactly what's happening, but the website doesnt accept that as an answer... So I'm probably doing something wrong ^^
<hk238> `text = gets.chomp` `words=text.split(" ")` `words.each do |word|` `puts words` `end` , should work?
Ishido has joined #ruby
_whitelogger has quit [Excess Flood]
_whitelogger has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
tjbiddle has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
LoneHerm_ has quit [Remote host closed the connection]
Bugboy1028 has quit [Ping timeout: 248 seconds]
dnewkerk has quit [Quit: dnewkerk]
Dimik has joined #ruby
chipotle has quit [Ping timeout: 248 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
lvn has joined #ruby
Bugboy1028 has joined #ruby
htmldrum has joined #ruby
uglybandersnatc- has quit [Ping timeout: 276 seconds]
devbug has joined #ruby
pawnbox has quit [Remote host closed the connection]
fedexo has quit [Ping timeout: 248 seconds]
voker57 has quit [Read error: Connection reset by peer]
ohcibi has quit [Read error: Connection reset by peer]
firstdayonthejob has joined #ruby
_whitelogger has quit [Excess Flood]
_whitelogger has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
htmldrum has quit [Ping timeout: 244 seconds]
anisha has joined #ruby
ohcibi has joined #ruby
steffkes has quit [Ping timeout: 250 seconds]
jayc0b0 has quit [Ping timeout: 240 seconds]
<SebastianThorn> hk238: puts word
andikr has joined #ruby
<hk238> oh sorry, I did actually do `puts word` but by accident wrote `words` into irc ^^
czerasz has joined #ruby
<SebastianThorn> ahh, ok :P
<SebastianThorn> well there is many ways of doing that task, so they might have a different solution
<SebastianThorn> gets.chomp.split(" ").each {|word| puts word}
<SebastianThorn> should work aswell
<norc> Ox0dea: Hah. I love how rb_fix2int actually returns a long.
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
minimalism has quit [Ping timeout: 250 seconds]
jayc0b0 has joined #ruby
<norc> hk238: How about you pastie your actual code to https://eval.in/
<antranigv> print "printing #{line}..." prints the line, then \n and then ... on the next line. anyway to print ... next to #{line} ? :)
<norc> antranigv: I do not understand your question.
<SebastianThorn> ^
minimalism has joined #ruby
jenrzzz has joined #ruby
<SebastianThorn> antranigv: in your line variable youo seem to have the \n
<norc> SebastianThorn: You actually understood that?
<norc> I am amazed.
<antranigv> ahaa
<SebastianThorn> took me a while
<antranigv> ha? didn't know that, hm
<SebastianThorn> do this : print "hello #{line.chomp} hi"
<norc> ri String#chomp antranigv
<norc> &ri String#chomp antranigv
<antranigv> and now I just added \n in the end of print and it worked, tnx!
<SebastianThorn> antranigv: with or without .chomp?
<antranigv> SebastianThorn: with :))
<SebastianThorn> ok
<SebastianThorn> got really confused there
<antranigv> btw, I'm just trying to get this https://bpaste.net/show/d9d25d11f383 in Ruby
<SebastianThorn> antranigv: try using puts instead of print, it adds the \n
<antranigv> SebastianThorn: just tried, yup it worked the same without \n
<antranigv> so puts is Put String, and print kust prints whatever it gets, nice:))
statelesscode has quit [Quit: statelesscode]
<SebastianThorn> might be a bit more to it, not sure
ferr has joined #ruby
ta_ has joined #ruby
devbug has quit [Ping timeout: 268 seconds]
Spami has joined #ruby
Domaldel has joined #ruby
Bugboy1028 has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
atmosx has joined #ruby
<agent_white> Evenin'
Domaldel has quit [Client Quit]
tjbiddle has quit [Quit: tjbiddle]
jaruga has joined #ruby
Guest26786 is now known as James
mfaeh has joined #ruby
biberu has joined #ruby
pawnbox has joined #ruby
James is now known as Guest63268
rew has quit [Remote host closed the connection]
Bugboy1028 has joined #ruby
SenpaiSilver_ has quit [Quit: Leaving]
araujo_ has joined #ruby
Guest34101 has quit [Ping timeout: 268 seconds]
araujo_ has quit [Max SendQ exceeded]
araujo_ has joined #ruby
uglybandersnatch has joined #ruby
araujo has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
vikas027 has joined #ruby
vikas027 has left #ruby [#ruby]
baweaver has joined #ruby
blackmesa has joined #ruby
Bloomer has joined #ruby
SOLDIERz has joined #ruby
karapetyan has joined #ruby
eregi has joined #ruby
aufi has joined #ruby
baweaver has quit [Ping timeout: 246 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
skade has quit [Quit: Computer has gone to sleep.]
eregi has quit [Ping timeout: 276 seconds]
uglybandersnatch has quit [Ping timeout: 264 seconds]
adgtl has joined #ruby
djbkd has quit [Remote host closed the connection]
antgel has joined #ruby
chouhoulis has joined #ruby
emilkarl has joined #ruby
bronson has quit [Remote host closed the connection]
djbkd_ has joined #ruby
TomyWork has joined #ruby
DmitryBochkarev has joined #ruby
codecop has joined #ruby
karapetyan has quit [Remote host closed the connection]
adgtl has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Ping timeout: 252 seconds]
emilkarl has quit [Client Quit]
Olipro has quit [Ping timeout: 264 seconds]
LoneHermit has joined #ruby
_whitelogger has quit [Excess Flood]
_whitelogger has joined #ruby
karapetyan has joined #ruby
the_drow has joined #ruby
Bugboy1028 has quit [Ping timeout: 240 seconds]
Olipro has joined #ruby
_whitelogger has quit [Excess Flood]
_whitelogger has joined #ruby
grn has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
adgtl has joined #ruby
emilkarl has joined #ruby
pawnbox has joined #ruby
Bugboy1028 has joined #ruby
emilkarl has quit [Client Quit]
hgl has joined #ruby
hgl is now known as Guest55494
Guest55494 has quit [Client Quit]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
firstdayonthejob has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
DenSchub_ is now known as DenSchub
n008f4g_ has joined #ruby
lvn has quit [Ping timeout: 276 seconds]
Chagel has quit [Remote host closed the connection]
djbkd_ has quit [Quit: Leaving...]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
danjam has quit [Quit: Leaving.]
djbkd has joined #ruby
jeanlinux has joined #ruby
Chagel has joined #ruby
skade has joined #ruby
tulak has joined #ruby
duncannz has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
douglascorrea has joined #ruby
agent_white has joined #ruby
tulak has quit [Ping timeout: 264 seconds]
dravine has quit [Ping timeout: 260 seconds]
dravine has joined #ruby
AlexRussia has quit [Ping timeout: 240 seconds]
SCHAAP137 has joined #ruby
mfaeh has quit [Remote host closed the connection]
douglascorrea has quit [Ping timeout: 250 seconds]
Hounddog has joined #ruby
UtkarshRay has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 276 seconds]
rsc___ has joined #ruby
Bugboy1028 has quit [Ping timeout: 250 seconds]
Guest63268 is now known as James
UtkarshRay has joined #ruby
James is now known as Guest30784
troulouliou_div2 has joined #ruby
Bugboy1028 has joined #ruby
araujo_ has quit [Quit: Leaving]
mfaeh has joined #ruby
mdw has joined #ruby
antgel has quit [Ping timeout: 244 seconds]
hayden_ has joined #ruby
antgel has joined #ruby
blackmesa has joined #ruby
mdw has quit [Client Quit]
toretore has quit [Ping timeout: 248 seconds]
eregi has joined #ruby
zapata has quit [Quit: WeeChat 1.4]
mattwildig has joined #ruby
mfaeh has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 244 seconds]
bweston92 has joined #ruby
eregi has quit [Ping timeout: 260 seconds]
mattwildig has quit [Ping timeout: 250 seconds]
<adaedra> Greetings
htmldrum has joined #ruby
<norc> Hello adaedra
chouhoulis has joined #ruby
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
bronson has joined #ruby
htmldrum_ has joined #ruby
htmldrum has quit [Ping timeout: 264 seconds]
mark2 has joined #ruby
symm- has quit [Ping timeout: 252 seconds]
elaptics`away is now known as elaptics
chouhoulis has quit [Ping timeout: 250 seconds]
karapetyan has quit [Remote host closed the connection]
mlehrer has joined #ruby
karapetyan has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
astrobun_ has quit [Remote host closed the connection]
evidex has joined #ruby
htmldrum_ has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
Bugboy1028 has quit [Ping timeout: 248 seconds]
blackmesa has joined #ruby
schickung has joined #ruby
Couch has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
mlehrer has quit [Ping timeout: 252 seconds]
Bloomer has quit [Remote host closed the connection]
aryaching has joined #ruby
Snowy has joined #ruby
Bloomer has joined #ruby
nettoweb has joined #ruby
Bugboy1028 has joined #ruby
Dimik has quit [Ping timeout: 244 seconds]
LoneHermit has joined #ruby
karapetyan has quit [Remote host closed the connection]
futilegames has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
futilegames has quit [Remote host closed the connection]
grn has quit []
sandstrom has joined #ruby
LoneHermit has quit [Ping timeout: 250 seconds]
bronson has quit [Remote host closed the connection]
Bloomer has quit [Remote host closed the connection]
Gasher has joined #ruby
Bloomer has joined #ruby
mlehrer has joined #ruby
sandstro_ has joined #ruby
rheddry has quit [Ping timeout: 260 seconds]
sandstro_ has quit [Client Quit]
Bloomer has quit [Remote host closed the connection]
marr has joined #ruby
konsolebox has joined #ruby
ruby-lang037 has joined #ruby
sandstro_ has joined #ruby
agent_white has quit [Ping timeout: 268 seconds]
rodfersou has joined #ruby
schickung has quit [Quit: schickung]
sandstro_ has quit [Client Quit]
sandstrom has quit [Ping timeout: 276 seconds]
BSaboia has joined #ruby
<flughafen> greetings fellow human
schickung has joined #ruby
levifig has joined #ruby
sandstrom has joined #ruby
pandaant has joined #ruby
Xeago has joined #ruby
Bloomer has joined #ruby
karapetyan has joined #ruby
zack6849 has quit [Quit: Leaving]
jeanlinux has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
jeanlinux has joined #ruby
rfi has quit [Ping timeout: 244 seconds]
julieeharshaw has quit [Ping timeout: 248 seconds]
FooMunki has joined #ruby
rfi has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
djbkd has quit [Quit: Leaving...]
joonty has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
julieeharshaw has joined #ruby
BSaboia has quit [Ping timeout: 244 seconds]
sandstrom has joined #ruby
mfaeh has joined #ruby
zack6849 has joined #ruby
FooMunki has quit [Quit: FooMunki]
pawnbox has joined #ruby
Vingador has joined #ruby
_whitelogger has quit [Excess Flood]
FooMunki has joined #ruby
zack6849 has joined #ruby
_whitelogger has joined #ruby
rfi has quit [Ping timeout: 248 seconds]
trosborn has joined #ruby
trosborn has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
Bloomer has quit [Remote host closed the connection]
rfi has joined #ruby
UtkarshRay has quit [Remote host closed the connection]
y2mq37 has quit [Ping timeout: 240 seconds]
Bugboy1028 has quit [Ping timeout: 248 seconds]
ur5us has quit [Remote host closed the connection]
Guest30784 is now known as James
James is now known as Guest75276
Bugboy1028 has joined #ruby
moeabdol has quit [Quit: WeeChat 1.4]
tjohnson has quit [Quit: Connection closed for inactivity]
livcd has quit [Changing host]
livcd has joined #ruby
douglascorrea has joined #ruby
mfaeh has quit [Remote host closed the connection]
eregi has joined #ruby
rdark has joined #ruby
nisstyre_ is now known as nisstyre
nisstyre has quit [Changing host]
nisstyre has joined #ruby
pawnbox has quit [Remote host closed the connection]
TheHodge has joined #ruby
hamed_r has joined #ruby
nerium has joined #ruby
f4cl3y has joined #ruby
gregf_ has quit [Ping timeout: 276 seconds]
eregi has quit [Ping timeout: 244 seconds]
mfaeh has joined #ruby
gregf has joined #ruby
gregf has quit [Client Quit]
uglybandersnatch has joined #ruby
hxegon has quit [Quit: BRB]
Bloomer has joined #ruby
gregf has joined #ruby
pawnbox has joined #ruby
chouhoulis has joined #ruby
binaryplease has joined #ruby
jeanlinux has quit [Remote host closed the connection]
hgl has joined #ruby
aryaching has quit [Ping timeout: 252 seconds]
schickung has quit [Quit: schickung]
hgl is now known as Guest60437
chouhoulis has quit [Ping timeout: 250 seconds]
Guest60437 has quit [Client Quit]
jeanlinux has joined #ruby
hgl_ has joined #ruby
schickung has joined #ruby
leksster has joined #ruby
BtcBen has quit [Ping timeout: 260 seconds]
superrorc has joined #ruby
<superrorc> hi there!
cassioscabral has joined #ruby
<superrorc> i have a string, how can i print only words thats contain 3 letters ?
trosborn has joined #ruby
karapetyan has joined #ruby
rsc___ has quit [Quit: rsc___]
jeanlinux has quit [Remote host closed the connection]
rsc___ has joined #ruby
<superrorc> new_string = my_string.scan(\3w+\) like this ?
Snowy_ has joined #ruby
hgl_ is now known as hgl
hgl has quit [Quit: Quit]
karapetyan has quit [Remote host closed the connection]
hgl has joined #ruby
kalleth_ is now known as kalleth
UtkarshRay has joined #ruby
Snowy has quit [Ping timeout: 246 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
Snowy_ has quit [Ping timeout: 244 seconds]
jeanlinux has joined #ruby
Vingador has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
Snowy has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
Rodya_ has joined #ruby
<n1colas> o/
Chagel has quit [Remote host closed the connection]
UtkarshRay has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 252 seconds]
Rodya_ has quit [Ping timeout: 244 seconds]
lessless has quit [Ping timeout: 244 seconds]
karapetyan has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
karapetyan has quit [Remote host closed the connection]
<hanmac> superrorc: that should work: /\b\w{3}\b/
<duderonomy> superrorc: try this /\s(.{3})\s/
ready has joined #ruby
Chagel has joined #ruby
karapetyan has joined #ruby
cassioscabral has quit [Ping timeout: 248 seconds]
UtkarshRay has joined #ruby
blackmesa has joined #ruby
barajasfab has joined #ruby
mfaeh has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
dopamean_ has quit [Ping timeout: 276 seconds]
tvw has quit []
krz has quit [Ping timeout: 248 seconds]
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
cassioscabral has joined #ruby
pawnbox has quit [Remote host closed the connection]
<apeiros> \b is the better choice than \s
cassioscabral has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
pawnbox has joined #ruby
<apeiros> and depending on character set, I'd use \p{word} instead of \w
<apeiros> (\w = A-Za-z0-9_, \p{Word} additionally includes unicode letters like öäüéèà etc.)
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Bugboy1028 has quit [Ping timeout: 248 seconds]
schickung has quit [Quit: schickung]
karapetyan has joined #ruby
rsc___ has quit [Quit: rsc___]
Guest121 has quit [Ping timeout: 244 seconds]
cassioscabral has joined #ruby
vondruch has quit [Ping timeout: 244 seconds]
cassioscabral has quit [Client Quit]
Guest75276 is now known as James
Bugboy1028 has joined #ruby
James is now known as Guest39163
trinaldi has joined #ruby
rsc___ has joined #ruby
Tempesta_ has quit [Remote host closed the connection]
anisha has quit [Read error: Connection reset by peer]
Tempesta has joined #ruby
trosborn has quit [Quit: trosborn]
vondruch has joined #ruby
SenpaiSilver has joined #ruby
Bloomer has quit []
karapetyan has quit [Remote host closed the connection]
anisha has joined #ruby
ruby-lang037 has quit [Ping timeout: 252 seconds]
uglybandersnatch has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
n008f4g_ has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
eregi has joined #ruby
mattwildig has joined #ruby
rsc___ has quit [Quit: rsc___]
rsc___ has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
ItSANgo has quit [Quit: Leaving...]
<duderonomy> good stuff. thx apeiros!
eregi has quit [Ping timeout: 250 seconds]
colegatron has joined #ruby
mattwildig has quit [Ping timeout: 260 seconds]
jeanlinux has quit [Remote host closed the connection]
sepp2k has joined #ruby
adgtl has quit [Remote host closed the connection]
adgtl has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
LoneHermit has joined #ruby
chouhoulis has joined #ruby
dionysus69 has joined #ruby
rsc___ has quit [Quit: rsc___]
m8 has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
schickung has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHermit has quit [Ping timeout: 252 seconds]
karapety_ has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
platzhirsch has joined #ruby
Coral has joined #ruby
mfaeh has joined #ruby
Coral is now known as tjadc
tjadc is now known as tjad
rsc___ has joined #ruby
rsc___ has quit [Client Quit]
nickjj_ is now known as nickjj
Hounddog has quit [Remote host closed the connection]
Guest121 has joined #ruby
binaryplease has quit [Ping timeout: 260 seconds]
chipotle has joined #ruby
Azure|dc has quit [Ping timeout: 276 seconds]
_whitelogger has quit [Excess Flood]
_whitelogger has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
Chagel has quit [Ping timeout: 252 seconds]
tabakhase__ is now known as tabakhase
tabakhase has joined #ruby
tabakhase has quit [Changing host]
dgncn has joined #ruby
sgambino has joined #ruby
supplication has quit [Quit: Leaving]
<flughafen> good day to all my fellow rubinistos
jeanlinux has joined #ruby
bronson has joined #ruby
e is now known as nighttime
ferhaty has joined #ruby
FooMunki has quit [Quit: FooMunki]
steffkes has joined #ruby
codecop has quit [Remote host closed the connection]
FooMunki has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
AlexRussia has joined #ruby
johnmilton has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
ltp has quit [Read error: Connection reset by peer]
ltp has joined #ruby
x0f has quit [Ping timeout: 246 seconds]
bensarz has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3_ is now known as workmad3
mfaeh has quit [Remote host closed the connection]
dcunit3d has quit [Quit: WeeChat 1.3]
dcunit3d has joined #ruby
charliesome has joined #ruby
karapety_ has quit [Remote host closed the connection]
x0f has joined #ruby
binaryplease has joined #ruby
arquebus has joined #ruby
krz has joined #ruby
jeanlinux has joined #ruby
karapetyan has joined #ruby
ldnunes has joined #ruby
Bugboy1028 has quit [Ping timeout: 250 seconds]
saneax is now known as saneax_AFK
adgtl has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BSaboia has joined #ruby
Bugboy1028 has joined #ruby
Guest39163 is now known as James
Guest121 has quit [Ping timeout: 250 seconds]
James is now known as Guest84376
karapetyan has quit [Remote host closed the connection]
arquebus has quit [Quit: Textual IRC Client: www.textualapp.com]
InternetFriend has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
nerium has quit [Quit: nerium]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anagha_ has joined #ruby
jeanlinux has quit [Remote host closed the connection]
kies has joined #ruby
shadeslayer has quit [Ping timeout: 260 seconds]
danjam has joined #ruby
InternetFriend has quit [Ping timeout: 240 seconds]
shadeslayer has joined #ruby
blackmesa has joined #ruby
adgtl has joined #ruby
eregi has joined #ruby
platzhirsch has quit [Quit: Leaving.]
nerium has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
atmosx has quit [Quit: This is aparting message!]
eregi has quit [Ping timeout: 244 seconds]
bensarz has quit [Quit: Textual IRC Client: www.textualapp.com]
niksrc has joined #ruby
adgtl has quit [Remote host closed the connection]
platzhirsch has joined #ruby
chouhoulis has joined #ruby
Eising_ is now known as Eising
Xeago has quit [Remote host closed the connection]
grill has joined #ruby
karapetyan has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
sandstrom has joined #ruby
astrobun_ has joined #ruby
<shevy> yo flughafen
<flughafen> hey shevy
Guest121 has joined #ruby
<the_drow> Is there a way to tell paperclip to use fakefs during testing?
karapety_ has joined #ruby
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has quit [Ping timeout: 246 seconds]
aupadhye has joined #ruby
jeanlinux has joined #ruby
karapety_ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
sdothum has joined #ruby
joonty has quit [Ping timeout: 248 seconds]
aryaching has joined #ruby
openstruct has joined #ruby
openstruct has quit [Read error: No route to host]
openstruct has joined #ruby
pawnbox has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
pawnbox has joined #ruby
Rodya_ has joined #ruby
SHyx0rmZ has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 252 seconds]
allcentury has joined #ruby
steffkes has quit [Ping timeout: 244 seconds]
Mon_Ouie has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
ferhaty has quit []
vondruch has joined #ruby
Bugboy1028 has quit [Ping timeout: 248 seconds]
Bugboy1028 has joined #ruby
Guest121 has quit [Ping timeout: 244 seconds]
Coldblackice has quit [Ping timeout: 260 seconds]
Guest34101 has joined #ruby
makenoise has joined #ruby
pawnbox has joined #ruby
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
grill has joined #ruby
LoneHermit has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
makenoise has quit [Remote host closed the connection]
Rickmasta has joined #ruby
harryh has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
synthroid has joined #ruby
jeanlinux has quit [Ping timeout: 248 seconds]
mattwildig has joined #ruby
myntcake has joined #ruby
eregi has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
ilyaman has joined #ruby
Xeago has quit [Remote host closed the connection]
workmad3 has quit [Read error: Connection reset by peer]
dcunit3d has quit [Quit: WeeChat 1.3]
dcunit3d has joined #ruby
mattwildig has quit [Read error: Connection reset by peer]
mattwildig has joined #ruby
Xeago has joined #ruby
Chagel has joined #ruby
b|ackwolf has quit [Ping timeout: 248 seconds]
eregi has quit [Ping timeout: 264 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
Xeago has quit [Ping timeout: 268 seconds]
IrishGringo has joined #ruby
charliesome has joined #ruby
b|ackwolf has joined #ruby
Xeago has joined #ruby
binaryplease has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
djbkd has joined #ruby
chouhoulis has joined #ruby
myntcake has quit [Ping timeout: 276 seconds]
astrobun_ has quit [Remote host closed the connection]
charliesome has quit [Client Quit]
kith_ has joined #ruby
tvw has joined #ruby
IrishGringo has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
chouhoulis has quit [Ping timeout: 276 seconds]
djbkd has quit [Ping timeout: 276 seconds]
kith has quit [Ping timeout: 276 seconds]
jeanlinux has joined #ruby
Guest121 has joined #ruby
howdoi has quit [Ping timeout: 260 seconds]
astrobun_ has joined #ruby
howdoi has joined #ruby
InternetFriend has joined #ruby
ramfjord has joined #ruby
konsolebox has quit [Ping timeout: 264 seconds]
paul98_ has quit [Ping timeout: 244 seconds]
aupadhye has quit [Quit: Leaving]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
myntcake has joined #ruby
paul98 has joined #ruby
Guest84376 is now known as James
InternetFriend has quit [Ping timeout: 260 seconds]
James is now known as Guest75093
anagha_ has quit [Ping timeout: 268 seconds]
allcentury has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
mfaeh has joined #ruby
bronson has joined #ruby
beawesomeinstead has quit [Ping timeout: 276 seconds]
jeanlinu_ has joined #ruby
b|ackwolf has quit [Ping timeout: 244 seconds]
jeanlinux has quit [Read error: Connection reset by peer]
vondruch has quit [Quit: Ex-Chat]
b|ackwolf has joined #ruby
Xeago has quit [Remote host closed the connection]
joast has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
skweek has joined #ruby
konsolebox has joined #ruby
beawesomeinstead has joined #ruby
freerobby has quit [Quit: Leaving.]
makenoise has joined #ruby
shevy has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
ramortegui has joined #ruby
IrishGringo has joined #ruby
makenoise has quit [Ping timeout: 246 seconds]
hamed_r has quit [Ping timeout: 276 seconds]
aryaching has quit [Read error: No route to host]
aryaching has joined #ruby
gregf has quit [Ping timeout: 240 seconds]
sgambino has joined #ruby
dopamean_ has joined #ruby
ljarvis_ is now known as ljarvis
dcunit3d has quit [Ping timeout: 244 seconds]
anagha_ has joined #ruby
gregf has joined #ruby
duckpuppy has joined #ruby
atomical has joined #ruby
dcunit3d has joined #ruby
atomical has quit [Client Quit]
cdg has joined #ruby
allcentury has joined #ruby
shevy has joined #ruby
Uber|Dragon has quit [Ping timeout: 268 seconds]
shanemcd has joined #ruby
glcx has joined #ruby
shanemcd has quit [Client Quit]
shanemcd has joined #ruby
anisha has quit [Quit: Leaving]
ItSANgo has joined #ruby
synthroid has quit []
workmad3 has joined #ruby
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
synthroid has joined #ruby
malconis has joined #ruby
hamed_r has joined #ruby
bMalum has joined #ruby
Guest34101 has quit [Ping timeout: 250 seconds]
jayc0b0 has quit [Ping timeout: 244 seconds]
Es0teric has joined #ruby
eregi has joined #ruby
tjad has quit [Ping timeout: 276 seconds]
IrishGringo has quit [Ping timeout: 250 seconds]
glcx has quit [Quit: Quitte]
schickung has quit [Quit: schickung]
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
DenysLins has joined #ruby
hgl has quit [Ping timeout: 244 seconds]
harly has joined #ruby
BTRE has quit [Quit: Leaving]
aegis3121 has joined #ruby
DenysLins has left #ruby [#ruby]
Rodya_ has joined #ruby
eregi has quit [Ping timeout: 260 seconds]
schickung has joined #ruby
InternetFriend has joined #ruby
chouhoulis has joined #ruby
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rdavila has joined #ruby
mikecmpbll has joined #ruby
vondruch has joined #ruby
justbleed has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
User458764 has joined #ruby
gregf1 has quit [Quit: WeeChat 1.4]
User458764 has quit [Max SendQ exceeded]
<mikecmpbll> depends on your outlook on life.
<mikecmpbll> woah
haylon has joined #ruby
<mikecmpbll> nvm, was scrolled so far back.
Bugboy1028 has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
Guest34101 has joined #ruby
n008f4g_ has quit [Ping timeout: 248 seconds]
hxegon has joined #ruby
fullofcaffeine has joined #ruby
karapetyan has quit [Remote host closed the connection]
bMalum has joined #ruby
karapetyan has joined #ruby
Bugboy1028 has joined #ruby
humblespoon has joined #ruby
fullofca_ has joined #ruby
shanemcd has quit [Remote host closed the connection]
fullofcaffeine has quit [Ping timeout: 276 seconds]
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest75093 is now known as James
James is now known as Guest44753
synthroid has quit [Remote host closed the connection]
synthroid has joined #ruby
InternetFriend has quit [Ping timeout: 248 seconds]
hayden_ has quit [Ping timeout: 260 seconds]
hayden_ has joined #ruby
_whitelogger has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
voker57 has joined #ruby
voker57 has joined #ruby
InternetFriend has joined #ruby
bMalum has joined #ruby
IrishGringo has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
rippa has joined #ruby
gregf1 has joined #ruby
jeanlinu_ has quit [Remote host closed the connection]
astrobun_ has quit [Remote host closed the connection]
jeanlinux has joined #ruby
sandstrom has quit [Read error: Connection reset by peer]
skweek has quit [Ping timeout: 250 seconds]
symm- has joined #ruby
sandstrom has joined #ruby
bMalum has quit [Ping timeout: 276 seconds]
mattwildig has quit [Remote host closed the connection]
polishdub has joined #ruby
nfk has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
igam has joined #ruby
dopamean_ has quit [Ping timeout: 260 seconds]
<igam> Hi! What would I use to read (and write) ruby literals such as [:name,"foo",:properties,[:color,"red"]] ?
<shevy> igam you mean you have them in a String?
<igam> Yes.
<shevy> hmm
<igam> or in a file.
<igam> (you know, the basic stuff lisp has been doing for 60 years).
pdoherty has joined #ruby
<ytti> Marshal?
<shevy> you have to somehow parse it
<ytti> hmm no
<ytti> what is outputting them to begin with?
<ytti> can that be changed?
<apeiros> igam: yaml, json
<igam> From Marshal, I don't see if it's serialized in ruby literal source form.
<shevy> igam and if the above does not work, you can use https://github.com/apeiros/literal_parser :)
<ytti> igam, it does not
<igam> I don't want json or yaml.
<igam> Yes, literal_parser is what I want. Thank you!
brendan- has joined #ruby
<apeiros> shevy: btw., didn't you want to add ranges to it? :) I can help you with it if you run into troubles.
justbleed is now known as TomPeed
<shevy> apeiros yeah
<shevy> I think I just made a hack
<shevy> actually I don't even remember ... RRange = /\(\d*..\d*\)/
<apeiros> ah, so only integer ranges
<shevy> oh
astrobun_ has joined #ruby
<shevy> there are other ranges too? :)
<apeiros> I'd have done it in a similar way how hashes/arrays are parsed. check for the continuation after a successfully parsed literal.
<apeiros> well… "a".."z" f.ex.
<shevy> ah yes
<shevy> damn
<apeiros> or 2010-01-01..2016-01-01
Uber|Dragon has joined #ruby
<shevy> hmm
<shevy> (5.2 .. 5.5).to_a # TypeError: can't iterate from Float
<shevy> did not even know that one either
public_class has joined #ruby
<apeiros> yeah, there's no .succ for float
p0p0pr37 has quit [Ping timeout: 252 seconds]
<apeiros> ruby's range syntax lacks a stepsize attribute
volty has joined #ruby
idefine has joined #ruby
<hanmac> yeah, even Symbols can succ ;P
aryaching_ has joined #ruby
Internet1riend has joined #ruby
aryaching has quit [Ping timeout: 248 seconds]
shanemcd has joined #ruby
platzhirsch has joined #ruby
chipotle has quit [Quit: cheerio]
mallu has joined #ruby
InternetFriend has quit [Ping timeout: 260 seconds]
babblebre has joined #ruby
uglybandersnatch has joined #ruby
skweek has joined #ruby
Uber|Dragon has quit [Quit: No Reason]
Uber|Dragon has joined #ruby
<shevy> they can?
<shevy> lol
<shevy> how weird
<shevy> :foo.succ # => :fop
Shaboum has joined #ruby
shanemcd has quit [Remote host closed the connection]
<ddv> :foo.succ #=> :fap
idefine has quit [Ping timeout: 240 seconds]
idefine has joined #ruby
x77686d has joined #ruby
dopamean_ has joined #ruby
<shevy> no
<shevy> that would be a bug ddv
<shevy> well
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> hmm ... is there an opposite to .succ ?
uglybandersnatch has quit [Ping timeout: 252 seconds]
synthroid has quit [Remote host closed the connection]
veloutin has joined #ruby
icey_ is now known as icey
<norc> shevy: .pred
shanemcd has joined #ruby
eregi has joined #ruby
<volty> >> class_drink = Hash[ (:a..:c).zip(%w/shampagne beer water/)]
<ruby[bot]> volty: # => {:a=>"shampagne", :b=>"beer", :c=>"water"} (https://eval.in/529497)
<volty> not a bug
<apeiros> volty: he meant `:foo.succ # => :fap` would be a bug
<apeiros> (since it'd correctly be :fop, not :fap)
<volty> ah, yap, sorry, was distracted
<volty> also
steffkes has joined #ruby
steffkes has joined #ruby
<volty> >> (:a).pred
<ruby[bot]> volty: # => undefined method `pred' for :a:Symbol (NoMethodError) ...check link for more (https://eval.in/529500)
<norc> The problem with .pred is actually that of collation.
SenpaiSilver has quit [Read error: Connection reset by peer]
<norc> So it makes no sense for this to be available on String.
<norc> q.succ.pred might not end up with the same original string.
yos7ph has joined #ruby
<norc> shevy: So for strings it only makes sense to have one if collation is applied.
Rodya_ has quit [Remote host closed the connection]
<shevy> hmm
eregi has quit [Ping timeout: 248 seconds]
<apeiros> collation isn't the only problem. "@".succ # => "A" and "z".succ => "aa" is another.
<norc> Oh indeed.
SenpaiSilver has joined #ruby
<shevy> that's getting philosophical!
<shevy> what was before a :)
<norc> No its getting technical.
ta_ has quit [Remote host closed the connection]
<norc> apeiros: See the damage that MySQL did to me? The first thought was collation. :S
<volty> it is just confusional, i was always sceptic about succ applied on strings (though no on single chars)
<apeiros> norc: sue oracle!
<norc> I wonder whether Im eligible for damages now.
<norc> Indeed.
<volty> with collation defined, of course
konsolebox has quit [Quit: Leaving]
karapetyan has quit [Remote host closed the connection]
<apeiros> ruby only knows one collation (and I'm not even sure that's the proper name for it): ASCII.
momomomomo has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
<apeiros> or given the way ascii works, you could probably just call the collation "binary".
<volty> >> ['z'.succ, ('z'..'aa').to_a]
<ruby[bot]> volty: # => ["aa", []] (https://eval.in/529512)
<apeiros> heh, yeah. because "z" > "aa"
karapetyan has joined #ruby
astrobun_ has quit [Remote host closed the connection]
adac has joined #ruby
mlehrer has quit [Remote host closed the connection]
<adac> what is the difference between "||=" and "||" not sure how these are called so a google search is a bit a problem :)
symm- has quit [Ping timeout: 250 seconds]
<apeiros> one does an assignment, the other does not
<apeiros> `a ||= b` expands to `a || a = b`
SenpaiSilver has quit [Quit: Leaving]
<Bish> assuming i don't have an MTA, is it stupid to directly deliver the mail with ruby?
<apeiros> i.e., assign b to a, if a is falsy
djbkd has joined #ruby
Gasher has quit [Quit: Leaving]
<Bish> i tried doing that but i keep getting "relay access denied", i sniffed on the connection i can't see the difference in the protocol
<apeiros> Bish: you'll most likely never be able to do so
<Bish> apeiros: why?
<apeiros> or well, depends actually a bit. do you do it from the server which has the dns entries for MX?
<Bish> yep, well atleast right now
<Bish> for testing
norc has quit [Ping timeout: 252 seconds]
<Bish> same server, tried to send with postfix=>works,ruby directly=>doesn't work
<Bish> can't see the difference in the protocol (smtp)
<apeiros> hm
<apeiros> not sure then
eregi has joined #ruby
public_class is now known as jdockz
ilyaman has quit [Quit: Leaving.]
skade has quit [Quit: Computer has gone to sleep.]
<apeiros> my initial response was quite a bit driven by our own infrastructure, where the mail handling is on a different server than web, and ruby is on the webservers. so we'd lack proper dns entries for other mta's to accept the connection.
jaruga has quit [Ping timeout: 240 seconds]
<Bish> but in theory there is nothing wrong to skip postfix for outgoing mails?
<Bish> there are people who do that?
momomomomo has quit [Quit: momomomomo]
djbkd has quit [Ping timeout: 244 seconds]
darkxploit has joined #ruby
<apeiros> no idea. I wouldn't do it since postgres handles all the cases.
<adac> apeiros, thanks!
<apeiros> i.e. things like that it should try up to 72h, trying second mx server etc.
<apeiros> and all those things are being used in order to thwart spammers
decoponio has joined #ruby
<apeiros> err, s/postgres/postfix/
<Bish> yeah my problem are deferred mails, i don't want them to pile up in postfix queue
<apeiros> fingers on cruise control ;-)
<apeiros> configure your queue accordingly? my knowledge is limited, but iirc postfix was highly configurable.
bmn has quit [Ping timeout: 260 seconds]
mary5030 has joined #ruby
<Bish> yeah it is, but i hate the fact postfix is like "okay, i will deliver this mail"
<Bish> and a week later it tells me "whopsie, it bounced"
<apeiros> but that's according to the standard
mary5030 has quit [Remote host closed the connection]
eregi has quit [Ping timeout: 276 seconds]
whippythellama has joined #ruby
<apeiros> but yeah, IMO that standard should get overhauled. the prescribed latencies are ridiculous in todays envs.
n008f4g_ has joined #ruby
mary5030 has joined #ruby
<Bish> ofc i can shorten the queue length, but then it will be bounced instantly
bmn has joined #ruby
<Bish> sure postfix is highly configureable, but you cannot work with it programaticially, that kinda sucks
vikas027 has joined #ruby
<Bish> postfix people be like "it's easy, just invoke these 100 prozesses in a bash script"
<Bish> apeiros: "that standard" as in mail?
<apeiros> as in smtp
<apeiros> and you can replace every component of postfix with a custom process ;-)
<adaedra> opensmtpd ftw
<Bish> yeah right, but that's crazy :D
<apeiros> in general, I'm pretty sure you'll be better off adapting postfix than delivering directly from ruby.
volty_ has joined #ruby
<Bish> yeah i figured
volty has quit [Ping timeout: 244 seconds]
momomomomo has joined #ruby
<apeiros> I'm not sure it's more crazy than delivering from ruby :-p
momomomomo has quit [Client Quit]
<apeiros> but my smtp/postfix knowledge is limited and somewhat dated. so take it with a chunk of salt.
jdockz has quit [Quit: Leaving]
vikas027 has left #ruby [#ruby]
public_class has joined #ruby
<volty_> require 'Qt'; require 'nokogiri'; Qt::Application.new(ARGV); Qt::Widget.new().show(); $qApp.exec(); // the program always segfaults, no matter what order, no matter code. So it probably has to do with cleanup code of qt and/or nokogir. What I am asking for is hints, ideas, where to look at. what to test. if possible to dispose nokogiri stuff before disposing the Qt application
mlehrer has joined #ruby
amargherio has joined #ruby
mlehrer has quit [Client Quit]
p0p0pr37 has joined #ruby
mlehrer has joined #ruby
<volty_> in alternative — do you think it would be too difficult/laborious to implement a drb nokogiri server ? i do not have clear ideas at the moment.
rodfersou is now known as rodfersou|lunch
mattwildig has joined #ruby
Guest44753 is now known as James
IrishGringo has quit [Ping timeout: 248 seconds]
makenoise has joined #ruby
James is now known as Guest12899
skweek has quit [Ping timeout: 250 seconds]
anagha_ has quit [Quit: Connection closed for inactivity]
Respek has joined #ruby
skweek has joined #ruby
skweek has quit [Remote host closed the connection]
momomomomo has joined #ruby
<volty_> https://gist.github.com/anonymous/7fceb633618e9934ba35 -- in case somebody can come with a hint/idea
scepticulous has quit [Ping timeout: 252 seconds]
tulak has joined #ruby
eregi has joined #ruby
tulak has quit [Remote host closed the connection]
neuraload has quit [Quit: neuraload]
Respek has quit [Client Quit]
tulak has joined #ruby
Rickmasta has joined #ruby
Rickmasta has quit [Max SendQ exceeded]
hxegon has quit [Quit: BRB]
<Bish> apeiros: but what could go wrong, when sending my emails without going over postfix
<Bish> i mean, i cannot come up with something
<apeiros> Bish: google for a list of anti-spam measures and check whether ruby sending mails would handle that.
diegoviola has joined #ruby
tulak_ has joined #ruby
IrishGringo has joined #ruby
tulak_ has quit [Remote host closed the connection]
<shevy> volty_ come join me! come to ruby-gtk :D
<apeiros> when you're through that, google for a list of possible mail sending failures, and then check whether ruby sending mails would handle those.
tulak has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
tulak_ has joined #ruby
codecop has joined #ruby
aufi has quit [Ping timeout: 276 seconds]
hxegon_AFK has joined #ruby
hxegon_AFK has quit [Client Quit]
<volty_> shevy: no way, the difference is orders of magnitude (I'm saying this without even trying gtk-bindings)
aegis3121 has quit [Ping timeout: 264 seconds]
<Bish> apeiros: well i cannot find anything except for deferring mail / greylisting, which is the exact thing i want to countermeasue
<Bish> by handling mails on my own
baweaver has joined #ruby
hxegon has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
wilbert has joined #ruby
<apeiros> do you handle multiple mx where the primary is non-responsive?
<apeiros> (that's one cheap thing I do to counter spams)
davedev24 has joined #ruby
<Bish> well i could do that
<apeiros> lets hope the list ends with that. I doubt it :)
Chagel has quit [Ping timeout: 244 seconds]
<Bish> okay, maybe you're right
<Bish> stupid protocol
<apeiros> yeah, not just the protocol by now. stupid spammers ruining it for everybody.
flak has joined #ruby
flak has quit [Read error: Connection reset by peer]
flak has joined #ruby
x0f has quit [Ping timeout: 276 seconds]
nettoweb has joined #ruby
synthroid has joined #ruby
nettoweb has quit [Client Quit]
melter has joined #ruby
Rickmasta has joined #ruby
eregi has quit [Ping timeout: 250 seconds]
shanemcd has quit [Remote host closed the connection]
<Bish> well the protocol ist stupid because spammers can use it
dhollinger has joined #ruby
<Bish> !!!
shinnya has joined #ruby
<Bish> but maybe modifying the smtp binary is the way
rippa has quit [Ping timeout: 260 seconds]
momomomomo_ has joined #ruby
bougyman has quit [Ping timeout: 276 seconds]
<Bish> syscall tracing with ruby on the smtp executable
bougyman has joined #ruby
<Bish> THAT SOUNDS LIKE A GOOD IDEA
x0f has joined #ruby
momomomomo has quit [Ping timeout: 248 seconds]
momomomomo_ is now known as momomomomo
baweaver has quit [Remote host closed the connection]
ljames has joined #ruby
tjohnson has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
sneakerhax has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
hannelita has joined #ruby
idletask has joined #ruby
<idletask> Hello
<idletask> I'm a super beginner and there is something which I'd like to know
bronson has quit [Remote host closed the connection]
<idletask> In print "foo", is print a function or a builtin command?
<Bish> idletask: just ask or your question will remain an idletask
<idletask> Or is it just a function which is provided with Ruby?
idefine has joined #ruby
momomomomo has quit [Quit: momomomomo]
<idletask> Same for puts etc
decoponio has quit [Quit: Leaving...]
hxegon has quit [Quit: BRB]
<Bish> idletask: don't think about it in C-Style, it's a method(function whatever) of the kernel object, the kernel objects gets included in EVERY object, that's why you're able to call it from everyhwere
<Bish> ruby pros, correct me if im wrong
jaruga has joined #ruby
<apeiros> idletask: there's no "built-ins" in ruby. all methods are created equal ;-)
<idletask> OK
<Ox0dea> That's a little disingenuous, I think.
Rickmasta has quit [Read error: Connection reset by peer]
<apeiros> the way it's differentiated is: "core", "stdlib" and "3rd party"
fostertheweb has joined #ruby
<adaedra> and defined?.
Rickmast_ has joined #ruby
<Ox0dea> That's a keyword.
<apeiros> adaedra: not a method
<adaedra> Looks suspiciously like one.
<apeiros> idletask: where core is what's loaded with ruby at startup, and stdlib is part of what ships with ruby but you have to load it explicitly.
aryaching_ has quit []
vondruch has quit [Quit: Ex-Chat]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<idletask> apeiros: OK, that is useful information, thanks!
Rickmast_ has quit [Max SendQ exceeded]
<apeiros> and 3rd party is of course stuff you have to install additionally and load explicitly.
<apeiros> idletask: if you want a list of keywords (which might be considered "built-ins" - even though that doesn't fit IMO), then take a look at the quickref:
<apeiros> ?quickref
Rickmasta has joined #ruby
<apeiros> adaedra: alias would fit the same bill as defined?
<idletask> apeiros: right now I'm reading through this page: http://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html
<idletask> And also the beginner's page
<apeiros> yeah, "reserved words" on that should come close.
<apeiros> idletask: http://ruby-doc.org/core-2.3.0/ is the API docs of all that's in core.
glcx has joined #ruby
<apeiros> (scroll a bit to see the class & methods list)
Guest34101 has quit [Read error: Connection reset by peer]
jaruga has quit [Remote host closed the connection]
jaruga has joined #ruby
chouhoulis has joined #ruby
B1n4r10 has joined #ruby
glcx has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
czerasz has quit [Ping timeout: 276 seconds]
Guest34101 has joined #ruby
hxegon has joined #ruby
Xeago has quit [Remote host closed the connection]
Gasher has joined #ruby
rdark_ has joined #ruby
<idletask> apeiros: in fact I'm asking this because I'm doing this: https://github.com/litesolutions/sonar-ruby
DaniG2k has joined #ruby
<idletask> Strangely enough there isn't a viable Sonar plugin out there for the language
<idletask> So, my first objective is to tokenize it correctly...
Rodya_ has joined #ruby
<kgirthofer> has anyone set up gem in a bucket? I'm having issues authenticating the aws secret/access keys
eurialo has joined #ruby
nerium has quit [Quit: nerium]
<kgirthofer> Error fetching s3:///: credentials needed in s3 source, like s3://key:secret@bucket-name/
<kgirthofer> I've configured my /etc/gemrc a local ~/.gemrc and also have my .aws credentials available for the aws-sdk gem
karapetyan has joined #ruby
<idletask> kgirthofer: it just looks like you have empty strings somewhere, that URI of yours looks... Well... Empty
<kgirthofer> I deleted my bucket name
<idletask> Legal, but empty
nettoweb has joined #ruby
<kgirthofer> sudo gem sources --add s3://my-gems/ Error fetching s3://my-gems/: credentials needed in s3 source, like s3://key:secret@bucket-name/ (s3://my-gems/specs.4.8.gz)
tulak_ has quit [Remote host closed the connection]
chipotle has joined #ruby
idefine has quit [Read error: Connection reset by peer]
idefine has joined #ruby
adac has quit [Ping timeout: 244 seconds]
Sucks has joined #ruby
Rodya_ has quit [Ping timeout: 240 seconds]
nettoweb has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
Xeago has joined #ruby
chipotle has quit [Client Quit]
rdark_ has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
blackgoat has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
<idletask> <-- idling on the channel and keeping an eye to learn things
rdark_ has joined #ruby
<apeiros> idletask: eh, 95% in here are idling, so not even necessary to announce that ;-)
<SebastianThorn> and looking smart the next day when someone asks the same thing
mattwildig has quit [Remote host closed the connection]
rcvalle has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
shanemcd has joined #ruby
<idletask> Ah, well, I have a question...
Xeago has quit [Ping timeout: 264 seconds]
<adaedra> Then ask.
n008f4g_ has quit [Ping timeout: 248 seconds]
<idletask> In irb, if I type __ = 2, then p 2, the return value is 2
<idletask> But with puts, it's nil
<idletask> Why the difference?
Es0teric has quit [Quit: Computer has gone to sleep.]
<adaedra> because puts returns nil and p returns the parameter value
<idletask> OK, a choice of implementation, then?
<apeiros> p is a tool for inspection
<adaedra> ^
<havenwood> idletask: the return value of #puts is always nil, that's what they chose for it to return since its purpose is printing not the return value
<apeiros> and as such it was thought that it is convenient if it can be put inside expressions
B1n4r10 has quit [Ping timeout: 246 seconds]
<idletask> Ah, p is not the same as print?
Snowy has quit [Remote host closed the connection]
<idletask> I thought it was a shorthand
<apeiros> like x = (p some_expression)
<adaedra> p inspects
<idletask> OK
<havenwood> idletask: the return value for #p makes it so you can inspect print for debugging without changing the return value
<idletask> Is it usable in "real code", too?
<apeiros> you generally shouldn't
<havenwood> idletask: use #p for debugging
<apeiros> it's really an inspection/development/debugging tool
<idletask> apeiros: good, I have a candidate for a rule already :)
DaniG2k_ has joined #ruby
<adaedra> idletask: also, if you have complex values to print, take a look at pp.
<adaedra> (for inspection in debugging, still.)
coe has joined #ruby
krobzaur has quit [Quit: WeeChat 0.4.2]
ramfjord has joined #ruby
<coe> Hi guys, can I know where is the rails channel or can I ask something about rails here?
synthroid has quit [Remote host closed the connection]
<apeiros> ?rails coe
<ruby[bot]> coe: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<apeiros> also #rails and #ror
<apeiros> hard to miss, really.
<coe> I've tried to joun rails but the server told me that that channel was erased
<volty_> could hard to try :)
<volty_> be
karapetyan has quit [Remote host closed the connection]
<apeiros> coe: the server certainly didn't tell you any such thing
rdark_ has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
<coe> You've tried to join an unavailable channel. The channel you may be attempting to join may be in a different namespace (try ##channel) or not on this network. Please see http://freenode.net/policy.shtml#channelnaming for more information about on-topic usage and channel naming, and '/msg ALIS help' for help with finding channels on freenode.
DaniG2k has quit [Ping timeout: 248 seconds]
<havenwood> coe: /join #rubyonrails
<coe> now I know, thank you havenwood
<coe> apeiros are you bored or you are just an asshole?
<havenwood> !rude coe
fullofcaffeine has joined #ruby
decoponio has joined #ruby
<apeiros> wow, they actually dropped the redirect
n008f4g_ has joined #ruby
shanemcd has quit [Remote host closed the connection]
<apeiros> only on #rails, though. #ror still redirects.
<apeiros> thanks @ havenwood
rodfersou|lunch is now known as rodfersou
steffkes has quit [Ping timeout: 264 seconds]
<havenwood> I wonder why the #rails redirect was dropped?
<apeiros> same
momomomomo has joined #ruby
nyandoge has joined #ruby
<volty_> but imho 'asshole' wasn't that heavy
DaniG2k_ has quit [Quit: leaving]
ramfjord has quit [Ping timeout: 248 seconds]
terlar has quit [Ping timeout: 244 seconds]
<apeiros> volty_: it's inacceptable.
diegoviola has joined #ruby
fullofca_ has quit [Ping timeout: 248 seconds]
<volty_> yap, but I would have told him that before silencing. and if he persist, then ok. but nm, just mho
<havenwood> volty_: Just an hour mute for overt rudeness.
shanemcd has joined #ruby
<apeiros> volty_: experienced showed that telling people is futile. consequences have a better success ratio.
danjam has quit [Ping timeout: 260 seconds]
<apeiros> in the opposite. telling people simply leads to them arguing the righteousness of their behavior.
<volty_> one can die in an hour, too much. I would 'rude' with levels, 1 min for easy, 5 for medium, 60 for persistence :)
<volty_> ah ok, got it
<idletask> volty_: if you let "small things" slip, more small things will slip and it ends up being unmanageable... Look at the spelling
Guest12899 is now known as James
James is now known as Guest69041
darkxploit has quit [Quit: Leaving]
nettoweb has joined #ruby
User458764 has joined #ruby
baroquebobcat has joined #ruby
baroquebobcat has quit [Client Quit]
stardiviner has joined #ruby
fostertheweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hxegon is now known as hxegon_AFK
AlphaAtom has joined #ruby
<adaedra> I notice there was no questions asked to RoR :o)
ixti has joined #ruby
<idletask> Uhm, so global variables do not seem to follow the same rules as other identifiers with regards to naming :/
Jardayn has joined #ruby
synthroid has joined #ruby
momomomomo has quit [Quit: momomomomo]
The_Phoenix has joined #ruby
<idletask> $/ <-- legal
jeanlinux has joined #ruby
siaw has joined #ruby
yos7ph has quit [Quit: Leaving]
[Butch] has joined #ruby
amclain has joined #ruby
<volty_> special, you cant $/\/\ = 3
schickung has quit [Quit: schickung]
nando293921 has joined #ruby
coe has left #ruby [#ruby]
<volty_> but they follow the same rules when you create a global var. don't they?
jeanlinux has quit [Read error: Connection timed out]
m0rph84 has joined #ruby
momomomomo has joined #ruby
SOLDIERz has quit [Ping timeout: 244 seconds]
norc has joined #ruby
Alayde has joined #ruby
<idletask> The syntax page I have doesn't tell the rules for globals, so I have no idea :/
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
<idletask> Right now the rule I have is return sequence('$', oneOrMore(noneOf(" \t\r\n")));
Alayde has left #ruby [#ruby]
<idletask> That'll have to do for the moment
The_Phoenix1 has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
The_Phoenix has quit [Ping timeout: 244 seconds]
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Couch has quit [Ping timeout: 260 seconds]
IrishGringo has quit [Ping timeout: 250 seconds]
<volty_> the rules for globals aren't listed because they are the same. Const starts with upper, global with '$', instance with @, syms end with ':', for the rest apply the constraints
<volty_> you can have $MIne, @Whatever
n1colas has quit [Quit: WeeChat 1.4]
symm- has joined #ruby
knoxyy has joined #ruby
baweaver has joined #ruby
n1colas has joined #ruby
IrishGringo has joined #ruby
djbkd has joined #ruby
flughafen_ has joined #ruby
devbug has joined #ruby
trosborn has joined #ruby
Rodya_ has joined #ruby
momomomomo has quit [Quit: momomomomo]
benlieb has joined #ruby
knoxyy has quit [Client Quit]
humblespoon has quit [Ping timeout: 252 seconds]
ohcibi has quit [Read error: Connection reset by peer]
voker57 has quit [Read error: Connection reset by peer]
bronson has joined #ruby
<idletask> OK, so, semicolons are optional after statements, but if there is one you can put several statements on the same line
_whitelogger has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
<idletask> If you omit it, the new statement has to be on a different line
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
<eam> idletask: statement separator is the semicolon, or *sometimes* the newline
baweaver has quit [Ping timeout: 250 seconds]
<idletask> eam: newline as in \n only or is \r\n permitted by the way?
djbkd has quit [Ping timeout: 244 seconds]
<eam> good question, why don't you try it?
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
<volty_> idletask: what are you after?
<eam> my guess would be that it's simply \n, and \r would be treated as any other whitespace
<idletask> volty_: I'm writing a SonarQube plugin for ruby, since there isn't one
<idletask> The one of GoDaddy doesn't even have a parser
johnmilton has quit [Remote host closed the connection]
DmitryBochkarev has joined #ruby
<volty_> it's not for me
antgel has quit [Ping timeout: 268 seconds]
_whitelogger has quit [Excess Flood]
_whitelogger has joined #ruby
<volty_> anyway, there isn't any ruby grammar published ?
<Ox0dea> Nothing official, but there's a script for generating a pseudo-BNF grammar from parse.y.
hxegon_AFK is now known as hxegon
bronson has quit [Ping timeout: 252 seconds]
<volty_> hope that can at least help idletask
x77686d has quit [Quit: x77686d]
johnmilton has joined #ruby
<Ox0dea> volty_: https://git.io/vRu4H
<volty_> it is on ruby-1.4.6, ah ah
<Ox0dea> Mine's for trunk.
<volty_> (the mine)
konsolebox has joined #ruby
<volty_> that's nice Ox0dea, going to save it
freerobby has joined #ruby
<Ox0dea> idletask: Global identifiers do not in fact follow the same rules as for other identifiers.
makenoise has quit [Remote host closed the connection]
Dimik has joined #ruby
<Ox0dea> $0, $-w; things like that.
<idletask> Ox0dea: thanks a lot for the link, this is going to help greatly
<volty_> Ox0dea: do not? examples ?
<idletask> Ox0dea: for now I just say that anything which is not a space, \r or \n is valid in it... May need to be refined
<Ox0dea> volty_: To clarify, we're not discussing the sigil used to introduce them ('$' in this case), but the characters which follow.
<volty_> Ox0dea: but aren't those are hard coded ?
<Ox0dea> volty_: No, not really.
<idletask> No, it _does_ need refinement
makenoise has joined #ruby
<Ox0dea> idletask: You could write a Ruby script to tell you all the valid ones. :)
jas02 has quit [Quit: jas02]
jmignault has joined #ruby
<volty_> but for user defined global the rules are the same
<idletask> I'm not to that point yet :p
<idletask> I want to parse and tokenize a single file to begin with, that will already be a start
ramfjord has joined #ruby
marxarelli|afk is now known as marxarelli
<idletask> FWIW, what I currently parse is this horror: https://demo.cachequality.com/dashboard/index?id=iknowSocial%3AUtil%2FUIBroker.cls
<Ox0dea> >> $-9 = :volty_
<ruby[bot]> Ox0dea: # => :volty_ (https://eval.in/529650)
<idletask> So, ruby should not be a problem :p
devbug has quit [Ping timeout: 260 seconds]
Foren has joined #ruby
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
brendan- has quit [Ping timeout: 244 seconds]
humblespoon has joined #ruby
shanemcd has quit [Remote host closed the connection]
Zarthus_ is now known as Zarthus
SCHAAP137 has joined #ruby
<volty_> Ox0dea: yes, I saw it. Tried with letters that aren't yet associated with a dynamic value (like $-b). But to me It seems that those are reserved by means of hard-coding, for dynamic, ENV-like purposes.
<Ox0dea> volty_: They're meant for holding command-line arguments provided to the interpreter.
humblespoon has quit [Client Quit]
<volty_> I do not follow you. Which ones? $-b? $-9?
wilbert has quit [Ping timeout: 240 seconds]
Internet1riend has quit [Ping timeout: 260 seconds]
jmignault has quit [Remote host closed the connection]
djbkd has joined #ruby
<Ox0dea> $ ruby -I . -e 'p $-I.first'
<Ox0dea> "/home/dea"
<Ox0dea> volty_: Like that. ^
InternetFriend has joined #ruby
<Ox0dea> There are only a handful of them ($-I, $-w), but all of the letters are valid because it's just easier to not make them syntax errors.
makenoise has quit []
ferr has quit [Quit: WeeChat 1.4]
IrishGringo has quit [Ping timeout: 240 seconds]
wilbert has joined #ruby
<Ox0dea> $-0 is something from awk, and I suspect similar reasoning can be applied to justify the validity of $-1 to $-9.
czerasz has joined #ruby
jmignault has joined #ruby
andikr has quit [Remote host closed the connection]
borodin has joined #ruby
<idletask> Ox0dea: if you are not allergic to Java then I may use your help in the near future :p
<Ox0dea> A psychic!
wldcordeiro has quit [Ping timeout: 250 seconds]
sandstrom has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
binaryplease has joined #ruby
kalopsian has joined #ruby
pandaant has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
czerasz has quit [Ping timeout: 240 seconds]
<volty_> yap, I see. I call them env-like
The_Phoenix1 has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
baweaver has joined #ruby
<Ox0dea> But they're totally different things. :P
karapetyan has quit [Remote host closed the connection]
mdw has joined #ruby
<Ox0dea> You can even see it in the signature of main(): int main(int argc, char **argv, char **environ)
ramfjord has quit [Ping timeout: 252 seconds]
momomomomo has joined #ruby
<Ox0dea> Conflating ARGV and ENV is slightly terrifying; please don't. ;)
<volty_> opinion, for me they set / change the env, and (expected) behaviour through env-defined
mikecmpbll has quit [Ping timeout: 268 seconds]
<volty_> that's why env-like, and not env/ they are local env for ruby
<eam> I mean really, what's the difference
<eam> they're both char**
<idletask> Ox0dea: that's an idea for another rule you gave me
<idletask> eam: they are VERY different
<eam> scoff
<idletask> C requires a huge amount of discipline :p
<volty_> same with ruby, or whatever else
trosborn has quit [Quit: trosborn]
openstruct has quit [Remote host closed the connection]
<idletask> Especially C, though; errors are sanctioned much more seriously
<idletask> That's my opinion, at least
<Ox0dea> idletask: Here's your refinement: https://eval.in/529672
<Ox0dea> Mostly just brackets.
<Ox0dea> Not sure why $^ shouldn't be valid.
eregi has joined #ruby
<volty_> sorry, but I can't see it that way. in c (some) errors are sanctioned at compile time, while (some) in ruby at runtime. sanction by refuse vs sanction by undesired behavour
miah_ is now known as miah
Guest69041 is now known as James
James is now known as Guest55780
Sucks has quit [Quit: No Ping reply in 180 seconds.]
humblespoon has joined #ruby
baweaver has quit [Remote host closed the connection]
shanemcd has joined #ruby
Sucks has joined #ruby
shanemcd has quit [Remote host closed the connection]
<idletask> Ox0dea: OK, bear with me, I'm going to ask some questions about the code you produce... What I guess of it anyway
kalopsian has quit [Quit: leaving]
<idletask> 128.times --> iterates from 1 to 128 (or is that 0?)
<havenwood> >> 128.times.first
<idletask> .map(&:chr): applies the chr function (?) to the argument (1 to 128)
<ruby[bot]> havenwood: # => 0 (https://eval.in/529678)
ramfjord has joined #ruby
<havenwood> >> 0.chr
<ruby[bot]> havenwood: # => "\x00" (https://eval.in/529680)
<idletask> But then .reject()... Is that to send the result to a function and ignore the return value?
<volty_> >> 128.times
devbug has joined #ruby
<havenwood> volty_: => #<Enumerator: ...>
<volty_> >> 128.times..to_a
nettoweb has joined #ruby
<havenwood> volty_: !> NameError: undefined local variable or method `to_a' for main:Object
dfockler has joined #ruby
<havenwood> volty_: :P
<volty_> >> 128.times.to_a
igam has quit [Ping timeout: 244 seconds]
<volty_> :)
<idletask> >> 3.times.join(",")
<ruby[bot]> idletask: # => undefined method `join' for #<Enumerator: 3:times> (NoMethodError) ...check link for more (https://eval.in/529681)
ziyadb has joined #ruby
<idletask> Ahwell, I'll have tried
<volty_> >> 10.times.reject(&:even)
<havenwood> idletask: 3.times.to_a.join
<EdwardIII> hey, if you have your own collection i.e. implement Enumerable, what's the right way to make sure when people call stuff like .select and .reject they get the same kind of instance, not just a raw Array?
casadei has joined #ruby
krz has quit [Quit: WeeChat 1.2]
<havenwood> volty_: 10.times.reject(&:even?)
<EdwardIII> just override those and return like new(@items.select(params))?
<volty_> >> 10.times.reject(&:even?)
<EdwardIII> or is there something more magical?
symm- has quit [Ping timeout: 252 seconds]
<havenwood> volty_: => [1, 3, 5, 7, 9]
<volty_> havenwood: you have a big big lag
<havenwood> volty_: I am a mere mortal.
leksster has quit [Read error: Connection reset by peer]
<havenwood> My internal Ruby interpreter is on old hardware.
momomomomo has quit [Quit: momomomomo]
volty_ is now known as volty
<havenwood> old wetware*
idefine has quit [Remote host closed the connection]
mfaeh has quit []
<volty> somebody blocked me or the reason is that i'm not authenticated with the server ?
<havenwood> volty: not authed
schickung has joined #ruby
mlehrer has quit [Remote host closed the connection]
<volty> EdwardIII: the only way is implementing those methods in your enumerator
fullofca_ has joined #ruby
jeanlinux has joined #ruby
hahuang65 has joined #ruby
<EdwardIII> volty: righty ho then
<volty> - you add filters, so the each produces with those filters. but I find that solution quite weird
wldcordeiro has joined #ruby
darkf has quit [Quit: Leaving]
nb_bez___ has joined #ruby
<Ox0dea> EdwardIII: Just a second.
<volty> Ox0dea will come with something anew, as usual
<Ox0dea> EdwardIII: https://eval.in/529683
<Ox0dea> Something like that, anyway.
fullofcaffeine has quit [Ping timeout: 246 seconds]
* EdwardIII headsplode
brendan- has joined #ruby
B1n4r10 has joined #ruby
<EdwardIII> what even...
<EdwardIII> Enumerable.instance_methods.each isn't inside a method?
<EdwardIII> i'm not all that familiar with ruby yet i should point out heh
<volty> ops, right, he said the 'same kind of instance'. while I erronously read 'same instance'
<volty> same class
jeanlinux has quit [Ping timeout: 250 seconds]
<EdwardIII> yeah that would perhaps have been clearer, sorry
<Ox0dea> EdwardIII: This just does what volty suggested (overwrite the methods to return your new type), but programmatically.
<Ox0dea> *metaprogrammatically
system64 has joined #ruby
<EdwardIII> but like... i can just put code anywhere in my class and it'll get executed at instantiation-time?
<Ox0dea> Oui.
f4cl3y has quit [Ping timeout: 276 seconds]
<EdwardIII> unrelated to this particular question heh
<Ox0dea> Classes are executed. :)
binaryplease has quit [Ping timeout: 244 seconds]
<Ox0dea> Er, no, at definition time, not instantiation time.
<EdwardIII> so this is... monkey patching Enumerable?
<Ox0dea> You only have to put the methods in place once.
<Ox0dea> No.
<volty> Да. да. конечна
hahuang65 has quit [Ping timeout: 248 seconds]
firstdayonthejob has joined #ruby
rhg135 has quit [Ping timeout: 244 seconds]
deuxclique has joined #ruby
voidDotClass has joined #ruby
<EdwardIII> i kind of see why it works, it looks like it overrides every single instance method on enumerable to wrap the retval in my class, which is neat
<EdwardIII> but i don't really understand Enumerable.instance_methods.each
<EdwardIII> Enumerable.instance_methods... which instance?
<voidDotClass> I'm getting the error 'ArgumentError: wrong number of arguments (given 1, expected 0)' when I try to do foo = Foo.new(someArg) . In Foo's initialize method I am expecting an argument.
<volty> of your object
<voidDotClass> Any ideas?
<Ox0dea> voidDotClass: Did you misspell "initialize"?
rhg135 has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
<EdwardIII> volty: of my class, no? self.class.new(*ret)
<voidDotClass> Ox0dea, no: def initialize(token)
<Ox0dea> voidDotClass: You'll have to post code.
<volty> sorry, I am fuzzy
<EdwardIII> but the bit that's confusing me is the Enumerable.instance_methods bit
<Ox0dea> EdwardIII: Module#instance_methods just... returns that Module's instance methods. :P
stannard has quit [Remote host closed the connection]
<EdwardIII> but how does it know which enumerable to do that to?
<volty> EdwardIII: Enumerable.instance_methods are the methods that Enumerable add to the object you include Enumerable in (or already included, in case of Array for example)
<Ox0dea> It's doing it to *the* Enumerable, the Module.
maletor has joined #ruby
<EdwardIII> right that's why i confusedly asked if it's monkey patching
gizmore has joined #ruby
<EdwardIII> although i kind of knew it wasn't, because you wouldn't suggest that
kevinfagan has joined #ruby
<Ox0dea> Monkey-patching would be if it were overriding those methods.
bronson has joined #ruby
<Ox0dea> It's just "leveraging" them.
<EdwardIII> e.g. why not @values.instance_methods ?
troulouliou_div2 has quit [Remote host closed the connection]
<EdwardIII> i don't see how ruby knows i mean only the Enummerable on Collection, what stops it from doing it for the next time i create a normal array or a collection that includes Enumerable but doesn't have this metaprogramming bit in it?
baweaver has joined #ruby
bronson has quit [Remote host closed the connection]
<volty> because you said you want select called on your class instance, not on your (internal) @values
<voidDotClass> Ox0dea, https://gist.github.com/aliakhtar/205af2ed5694e1eb1146#file-bug-rb-L7 is the line which gives the 'ArgumentError: wrong number of arguments (given 1, expected 0)' error
<EdwardIII> volty: just by virtue of the fact it's definied inside my class?
idefine has joined #ruby
<EdwardIII> ah wait... i think i've misunderstood
stannard has joined #ruby
<Ox0dea> voidDotClass: Must be autoload's fault. :/
<EdwardIII> where it says define_method, maybe it would help me to think of that as self.define_method?
<volty> you have your object (instance), beloning to your class that includes Enumerable, you want the Enumerable's methods to return a result of the same class, so you have to act on the methods that come from Enumerable
<Ox0dea> ^
<Ox0dea> In this case, that's done by defining #each and delegating to `super`.
gregf has left #ruby [#ruby]
<EdwardIII> so Enumerable.instance_methods.each is just a convenienet way of getting a list of all the methods, we're actually not touching Enumerable itself
<Ox0dea> Right.
<EdwardIII> got it
<EdwardIII> that's neat
<EdwardIII> how would you share that between your classes?
gregf_ has joined #ruby
<volty> that's Ox0dea specialized in on-fly redefinitions
<Ox0dea> EdwardIII: Make it a Module and #include it.
<EdwardIII> include SelfReplicatingEnumerable
<Ox0dea> EdwardIII: And hey, it already uses `self.class` instead of hard-coding `Collection`.
Rodya_ has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
<EdwardIII> sweet as a nut
idefine has quit [Ping timeout: 240 seconds]
<volty> but now you tell us why you need to return the same class (just curiosity)
arup_r has joined #ruby
bronson has joined #ruby
<EdwardIII> volty: thinking of a situation where you want to do something like mycollection.select({|x|x.sexy == true}).custom_method('biscuits')
<Ox0dea> It's a perfectly reasonable thing to do.
Rodya_ has joined #ruby
<volty> absolutely. I do it. was just curious :)
adac has joined #ruby
<EdwardIII> always worth checking
<EdwardIII> x,y problems abound
<volty> I find that 'sexy', in front of specialized method, is an art
aegis3121 has joined #ruby
mdw has quit [Ping timeout: 244 seconds]
<EdwardIII> heh ladies love my specialised methods
kevinfagan has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<volty> heh, but == true is superflous (unless nils there)
baweaver has joined #ruby
<volty> without nils too
<EdwardIII> yes true
<volty> (can't call sexy on nil)
<EdwardIII> no, nil is never sexy
<volty> neither proclaims itself as such :)
KensoDev has joined #ruby
platzhirsch has left #ruby [#ruby]
fullofcaffeine has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Ping timeout: 244 seconds]
KensoDev has quit [Client Quit]
mark2 has left #ruby ["PART #RubyOnRails :PART #jquery :PART #reactjs :PART ##javascript :PART #elixir-lang :PART #debian :PART #zsh :PART #nethunter :PONG :barjavel.freenode.net"]
public_class has quit [Quit: Leaving]
KensoDev has joined #ruby
fullofca_ has quit [Ping timeout: 260 seconds]
zacts_ has quit [Quit: leaving]
IrishGringo has joined #ruby
dionysus69 has joined #ruby
Foren has quit [Read error: Connection reset by peer]
zacts has joined #ruby
Papierkorb has quit [Quit: Schnitzel]
m0rph84 has quit [Quit: Leaving]
mattwildig has joined #ruby
hololeap has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
kevinfagan has joined #ruby
kirillzh has joined #ruby
kevinfagan has quit [Client Quit]
benlieb has quit [Quit: benlieb]
Zggb has joined #ruby
kalopsian has joined #ruby
sneakerhax has joined #ruby
neohunter has joined #ruby
crystal77 has joined #ruby
mattwildig has quit [Ping timeout: 264 seconds]
<baweaver> >> class NilClass; def sexy?; true end end; nil.sexy? ? 'baweaver is a bad person' : 'nope' # EdwardIII: volty
<ruby[bot]> baweaver: # => "baweaver is a bad person" (https://eval.in/529715)
neohunter has quit [Max SendQ exceeded]
howdoi has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Ping timeout: 240 seconds]
dasher^0_o has quit [Ping timeout: 276 seconds]
Lorn has joined #ruby
Lorn has quit [Changing host]
Lorn has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kirillzh has quit [Ping timeout: 244 seconds]
konsolebox has quit [Quit: Leaving]
sandstrom has quit [Quit: My computer has gone to sleep.]
blandflakes has joined #ruby
makenoise has joined #ruby
neohunter has joined #ruby
idefine has joined #ruby
<Ox0dea> `def nil.sexy?` even.
tvw has quit [Ping timeout: 246 seconds]
dasher^0_o has joined #ruby
baweaver has quit [Remote host closed the connection]
djbkd has joined #ruby
x77686d has joined #ruby
baweaver has joined #ruby
Mekkis_ has quit [Ping timeout: 246 seconds]
jaruga has quit [Quit: jaruga]
Mekkis has joined #ruby
baweaver has quit [Remote host closed the connection]
freerobby1 has quit [Quit: Leaving.]
m0rph84 has joined #ruby
Guest55780 is now known as James
<norc> idletask, the most horrific thing about Ruby is not parsing but lexing honestly.
jeffk4 has quit [Remote host closed the connection]
James is now known as Guest27655
rdw200169 has joined #ruby
nettoweb has joined #ruby
volty has quit [Quit: Konversation terminated!]
last_staff has joined #ruby
blackmesa has joined #ruby
hamed_r has quit [Quit: Leaving]
Papierkorb has joined #ruby
schickung has quit [Quit: schickung]
baweaver has joined #ruby
karapetyan has joined #ruby
momomomomo has joined #ruby
Gasher has quit [Quit: Leaving]
adac has quit [Ping timeout: 244 seconds]
niksrc has quit [Remote host closed the connection]
tim_s007 has quit [Ping timeout: 248 seconds]
TeresaP has joined #ruby
triangles has joined #ruby
but3k4 has joined #ruby
dfockler has quit [Quit: Leaving]
dfockler has joined #ruby
_3by8 has joined #ruby
nerium has joined #ruby
baweaver has quit [Remote host closed the connection]
jeanlinux has joined #ruby
wilbert has quit [Quit: quit]
kirillzh has joined #ruby
<_3by8> I have someone asking me out of the blue to build them some software to interface with a USB thermometer for food temperature recording. I don't really know a whole lot about the process but it looks like there's a decent amount of documentation online. My experience with Ruby is limited to Rails and I guess my question is, with that in mind, how possible is this going to be for me? I see that Chrome has a USB API that I might be able use.
sp4rrow has joined #ruby
deuxclique has quit [Remote host closed the connection]
<_3by8> Or should I spend the time learning something like Shoes to just build a native Win32 app?
jeanlinux has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Ping timeout: 276 seconds]
troulouliou_div2 has joined #ruby
snockerton has joined #ruby
stannard has quit [Remote host closed the connection]
fostertheweb has joined #ruby
stannard has joined #ruby
<dfockler> _3by8: It depends a lot on the driver for the USB, but I'm guessing Shoes would be a lot of work
TheHodge has quit [Quit: Connection closed for inactivity]
<_3by8> dfockler: why is that?
krobzaur has joined #ruby
snockerton has quit [Client Quit]
ramfjord has joined #ruby
baweaver has joined #ruby
benlieb has joined #ruby
<dfockler> Just figuring out how to interface between Ruby and the USB, and then connect it up to Shoes
uglybandersnatch has joined #ruby
<_3by8> dfockler: I see.
<dfockler> Just my opinion
solars_ has joined #ruby
<_3by8> They need the ability to print also and I'm not seeing that for shoes...
solars has quit [Ping timeout: 248 seconds]
baweaver has quit [Ping timeout: 240 seconds]
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
momomomomo has quit [Quit: momomomomo]
aegis3121 has joined #ruby
triangles has quit [Quit: Leaving]
uglybandersnatch has quit [Ping timeout: 264 seconds]
<daxroc> How would you check if a remote server allows a root index
arup_r has left #ruby [#ruby]
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
symm- has joined #ruby
rippa has joined #ruby
<daxroc> *remote http server
pibby has joined #ruby
m0rph84 has quit [Ping timeout: 248 seconds]
djbkd has quit [Remote host closed the connection]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
IrishGringo has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
kirillzh has joined #ruby
but3k4 has quit [Changing host]
but3k4 has joined #ruby
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
<_3by8> daxroc: talking about being able to see the contents of the whole root directory?
<daxroc> _3by8: yes
ixti has quit [Quit: WeeChat 1.4]
ixti has joined #ruby
m8 has quit [Quit: Sto andando via]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
d0nn1e has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Sucks has quit [Ping timeout: 246 seconds]
IrishGringo has joined #ruby
schickung has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
sauvin has quit [Remote host closed the connection]
despai has joined #ruby
Mekkis_ has joined #ruby
Mekkis has quit [Ping timeout: 276 seconds]
steffkes has joined #ruby
m0rph84 has joined #ruby
BtcBen has joined #ruby
diego2 has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
AlexRussia has joined #ruby
diegoviola has quit [Ping timeout: 252 seconds]
diego2 has quit [Changing host]
diego2 has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
diego2 is now known as diegoviola
Don_John has joined #ruby
cdg has quit [Remote host closed the connection]
nerium has quit [Quit: nerium]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
agent_white has quit [Quit: brbfood]
Sucks has joined #ruby
elaptics is now known as elaptics`away
p0p0pr37 has quit [Ping timeout: 268 seconds]
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
rdark has quit [Ping timeout: 252 seconds]
karapetyan has quit [Remote host closed the connection]
Snowy has joined #ruby
steffkes has quit [Ping timeout: 244 seconds]
tim_s007 has joined #ruby
shadoi has joined #ruby
karapetyan has joined #ruby
dagda1_ has joined #ruby
Sucks has quit [Ping timeout: 246 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
hxegon is now known as hxegon_AFK
karapetyan has quit [Remote host closed the connection]
nerium has joined #ruby
karapetyan has joined #ruby
Cohedrin has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
sgambino has quit [Quit: Textual IRC Client: www.textualapp.com]
karapetyan has joined #ruby
InternetFriend has quit [Ping timeout: 248 seconds]
intrigueD has joined #ruby
sgambino has joined #ruby
ur5us has joined #ruby
monod has joined #ruby
InternetFriend has joined #ruby
Guest27655 is now known as James
karapetyan has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
allcentury has joined #ruby
James is now known as Guest11806
karapetyan has joined #ruby
dagda1_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zapata has joined #ruby
hxegon_AFK is now known as hxegon
polishdub has quit [Quit: Leaving]
phredus has joined #ruby
kalopsian has quit [Quit: Lost terminal]
karapetyan has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
openstruct has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
trinaldi has quit [Quit: cya]
evidex has quit [Remote host closed the connection]
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
xxneolithicxx has joined #ruby
karapetyan has joined #ruby
dagda1 has joined #ruby
troulouliou_div2 has quit [Read error: Connection reset by peer]
B4daBing73 has joined #ruby
B4daBing73 has joined #ruby
<B4daBing73> hi
baweaver has joined #ruby
dfinninger has joined #ruby
<B4daBing73> Are you using Ruby for anything else than Web Development (e.g. RoR)?
<B4daBing73> Just interested...
karapetyan has quit [Remote host closed the connection]
pawnbox has joined #ruby
fullofcaffeine has quit [Ping timeout: 248 seconds]
aegis3121 has quit [Ping timeout: 250 seconds]
chouhoul_ has joined #ruby
phansch has joined #ruby
baweaver has quit [Ping timeout: 244 seconds]
<dfockler> B4daBing73: lots of people use Ruby for lots of different things
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
chouhou__ has joined #ruby
<B4daBing73> dfockler: I just noticed that all the talk is on the Ruby on Rails channel nowadays and the Ruby one is pretty quiet
pawnbox has quit [Ping timeout: 248 seconds]
colegatron has quit [Read error: Connection reset by peer]
futilegames has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
TomyLobo has joined #ruby
steveoh has joined #ruby
<steveoh> can anyone give me the output of this file as scss or css please? https://github.com/jneen/rouge/blob/master/lib/rouge/themes/github.rb
<steveoh> i'm not sure how to do that
chouhoul_ has quit [Ping timeout: 268 seconds]
openstruct has quit []
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
despai has quit [Quit: This computer has gone to sleep]
treehug88 has joined #ruby
IrishGringo has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
futilegames has quit [Ping timeout: 246 seconds]
Rodya_ has joined #ruby
despai has joined #ruby
neohunter has quit [Quit: Textual IRC Client: www.textualapp.com]
monod has quit [Quit: Sto andando via]
diegoviola has quit [Quit: WeeChat 1.4]
B4daBing73 has quit [Quit: Leaving]
BtcBen has quit [Ping timeout: 252 seconds]
fostertheweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aegis3121 has joined #ruby
rmulligan has joined #ruby
idefine has quit [Remote host closed the connection]
Gasher has joined #ruby
Coldblackice has joined #ruby
idefine has joined #ruby
Snowy has joined #ruby
Sucks has joined #ruby
Rodya_ has quit [Remote host closed the connection]
<kgirthofer> anyone got any cool wrappers to require from s3://?
<kgirthofer> a gem that is
<kgirthofer> source 's3://my-gem-bucket' do doesn't fly
ruby-lang509 has joined #ruby
system64 has quit [Ping timeout: 260 seconds]
steveoh has left #ruby [#ruby]
gizless has joined #ruby
system64 has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
<ruby-lang509> Hi! I'm working on a little personal project and I feel like I'm not doing right, can somebody please give me a quick review?
chouhou__ has quit [Remote host closed the connection]
intrigueD has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
chouhoulis has joined #ruby
anisha has joined #ruby
Rodya_ has joined #ruby
antgel has joined #ruby
gizmore has quit [Ping timeout: 244 seconds]
stannard has joined #ruby
fostertheweb has joined #ruby
intrigueD has joined #ruby
sp4rrow has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
idefine has joined #ruby
Rodya_ has quit [Remote host closed the connection]
sgambino has quit [Quit: Textual IRC Client: www.textualapp.com]
sp4rrow has quit [Client Quit]
x77686d has quit [Quit: x77686d]
Rodya_ has joined #ruby
benlieb has quit [Quit: benlieb]
sandstrom has joined #ruby
<ruby-lang509> somebody here?
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
hannelita has quit [Remote host closed the connection]
chipotle has joined #ruby
karapetyan has quit [Remote host closed the connection]
riceandbeans has joined #ruby
lvn has joined #ruby
trosborn has joined #ruby
<shevy> ruby-lang509 they are all getting rich write ruby code!
<riceandbeans> question, if running ruby 2.3, is there anything WRONG with using 1.8 style hashes instead of 1.9?
<shevy> riceandbeans nope, internally it's using the old one anyway
<riceandbeans> I got yelled at for using 1.9 style hashes instead of the old rocket hash
nettoweb has joined #ruby
<shevy> x = { foo: :bar } # => {:foo=>:bar}
devbug has quit [Read error: Connection reset by peer]
<riceandbeans> I was told it would only serve to confuse people
danjam has joined #ruby
<shevy> well the new syntax has one advantage in being shorter
<riceandbeans> ok
<riceandbeans> thanks shevy
dcunit3d has quit [Ping timeout: 252 seconds]
<shevy> what I disliked about it was when you want to align it from line to line
<ruby-lang509> Hi! I'm working on a little personal project and I feel like I'm not doing right, can somebody please give me a quick review?
troulouliou_div2 has joined #ruby
devbug has joined #ruby
<ruby-lang509> yes
<shevy> ruby-lang509 are you a real person
_whitelogger has quit [Excess Flood]
_whitelogger has joined #ruby
mattwildig has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
voker57 has quit [Read error: Connection reset by peer]
<shevy> then just show your project?
Rodya_ has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
<shevy> that way people interested can chime in and critique
<ruby-lang509> Is a work in progress
<ruby-lang509> I fell like the help class is doing too much
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
flughafen_ has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
adac has joined #ruby
FooMunki has quit [Quit: FooMunki]
idefine has quit [Remote host closed the connection]
FooMunki has joined #ruby
flughafen_ has joined #ruby
<aegis3121> Something to handle the Add functionality might be a good idea. And, potentially, a class for each type of action as applicable. But especially Add, since it requires the valid_priority? and valid_title? sections.
Rodya_ has joined #ruby
ur5us has quit [Remote host closed the connection]
spider-mario has joined #ruby
<ruby-lang509> awesome thanks for the feedback
sgambino has joined #ruby
x77686d has joined #ruby
godzillaenlacasa has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Limix has joined #ruby
<aegis3121> Really it seems like help.rb is actually an input collector which then delegates to a bunch of various actions. Why not try and build it out like that? So help.rb becomes something like input_collector.rb, takes the inputs, and creates the appropriate class for the kind of action they want to take. Each action would then know about what it needs to function and that only. Any shared functionality between those could be handled afterwards.
dfockler has quit [Ping timeout: 246 seconds]
sp4rrow has joined #ruby
baweaver has joined #ruby
ta_ has joined #ruby
Guest11806 is now known as James
<ruby-lang509> Yeah that sound like a better idea, that file was getting out of control, becoming a bloody mess, so I stop to rethink but I come from php I'm not too object oriented
James is now known as Guest88637
<aegis3121> Couldn't #valid_task? be defined on the Task object? It seems like you should be able to have a Task#valid? and try to fetch then call that on it. The fetch should handle telling you if something wasn't found and either raising some kind of error, or...not sure what.
kirun has joined #ruby
pawnbox has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
nickjj has joined #ruby
Zggb has quit [Quit: Connection closed for inactivity]
Rodya_ has quit [Remote host closed the connection]
Internet1riend has joined #ruby
InternetFriend has quit [Ping timeout: 268 seconds]
pawnbox has quit [Ping timeout: 248 seconds]
n008f4g_ has quit [Ping timeout: 244 seconds]
makenoise has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
Rodya_ has joined #ruby
ldnunes has quit [Quit: Leaving]
fostertheweb has quit [Quit: Textual IRC Client: www.textualapp.com]
<Limix> Hi all, is there a way to do a instance.type_of? Module1::Module2
<Limix> if the instance is actually type: Module1::Module2::Module3
<Limix> when I try this I get a false
anisha has quit [Quit: Leaving]
Xeago has joined #ruby
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tomeara has joined #ruby
tomeara has quit [Client Quit]
<Limix> any ideas?
_3by8 has quit [Quit: Page closed]
postmodern has joined #ruby
<daxroc> Evening
<shevy> Limix you can possibly query the inheritance chain somehow ... but I am not sure how either
<Limix> thanks shevy
stannard has quit [Read error: Connection reset by peer]
<daxroc> I'm using httparty to try make a single http get request to a range of addresses it seems to hang after 2 or 3 does any one know why ?
stannard has joined #ruby
<daxroc> It's a simple HTTParty.get('http://x.y.z.n')
makenoise has joined #ruby
<shevy> I myself tend to do the full part for custom classes... if input.is_a? BigGangster::DeadlyGangster::RookieGangster
cdg has joined #ruby
Rodya_ has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
n008f4g_ has joined #ruby
<Limix> ok I might need to do that too thank you shevy
<aegis3121> a = Blah::Bang::Foobar.new; a.class.to_s.include? 'Blah::Bang' ?
Shaboum has quit [Quit: WeeChat 1.4]
Rodya_ has joined #ruby
deuxclique has joined #ruby
idefine has joined #ruby
Rodya_ has quit [Remote host closed the connection]
<grill> why is this invalid ruby? @optionally_enabled.each_with_index do |(flag, value), i| { if (i < @optionally_enabled.length - 1) then "'#{flag.to_s}': #{value},\n" else "'#{flag.to_s}': #{value}\n" end }
djbkd has joined #ruby
<aegis3121> why is there a brace at the end ?
<aegis3121> I think you've switched your brace and end
B1n4r10 has quit [Ping timeout: 260 seconds]
B1n4r10 has joined #ruby
<aegis3121> wait, why is there a brace at all?
stannard_ has joined #ruby
stannard has quit [Read error: Connection reset by peer]
<grill> should it be a double end?
<aegis3121> You've already used do...end, there's no need to use braces as well
<aegis3121> grill: yes, I think so
<grill> there's the each_with_index loop
<aegis3121> the first end is for your if..else..end, the second one has to end the do...end that started #each_with_index
<grill> that encloses the other statement with brackets
Rodya_ has joined #ruby
<grill> oh
benlieb has joined #ruby
phredus has quit [Remote host closed the connection]
swills has joined #ruby
deuxclique has quit [Ping timeout: 276 seconds]
<shevy> aegis3121 hey did you not have another nick before
<shevy> hmm
<shevy> ok
lemur has joined #ruby
<aegis3121> no?
<aegis3121> Why do you ask?
<aegis3121> I've been this as long as I've been in Freenode.
<aegis3121> grill: Is this what you were aiming for? https://gist.github.com/jon2992/7da8d58e4a6121bfe426
<grill> yeah. more or less
<grill> my pm wants it to be a one-liner for some reason
<grill> i disagree, but whatever
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
rodfersou has quit [Quit: leaving]
<aegis3121> should it be printing those then, or just...making strings and doing nothing with them?
<shevy> aegis3121 I think there was another IRC nick... I thought it was aegis1234 or something like that
TomPeed is now known as justbleed
<shevy> perhaps it was al2o3-cr ... those numbers are the hardest to remember
rmulligan has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
<grill> aegis3121 it's part of an erb file
Pumukel has joined #ruby
swills has quit [Ping timeout: 248 seconds]
dfinninger has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 268 seconds]
codecop has quit [Remote host closed the connection]
xxneolithicxx has quit [Quit: Leaving.]
<grill> hm
<grill> this isn't right
futilegames has joined #ruby
flughafen_ has quit [Ping timeout: 264 seconds]
hannelita has joined #ruby
<aegis3121> h.to_a.map! { |arr| arr = "'#{arr[0]}': #{arr[1]}" }.join(",\n") ?
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<aegis3121> where the bang is optional probably unnecessary.
<grill> the odd bit is that the erb file is priting the hash
mikeatgl has joined #ruby
<grill> it isn't even entering the if statement
<aegis3121> so each returns the Enum it was called on.
<aegis3121> So erb is, accurately, printing the results of your call.
blackmesa has joined #ruby
<grill> i don't understand
<aegis3121> >> {a: 'apple', b: 'bear'}.each { |k, v| 'apricot' }
<ruby[bot]> aegis3121: # => {:a=>"apple", :b=>"bear"} (https://eval.in/529818)
<aegis3121> it returnst he object.
codecop has joined #ruby
FLeiXiuS` has joined #ruby
<aegis3121> my block was definitely executed, but nothing was done with the result. Likewise, <%= some ruby code %> prints whatever the result of that ruby code is
<FLeiXiuS`> http://keys.gnupg.net/ This doesnt look right....
<aegis3121> the result of an #each call will return the Enumerable object it was called on.
Dragooon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
futilegames has quit [Ping timeout: 244 seconds]
<aegis3121> Does that make sense? Just like your block, mine definitely happened. It just... isn't what's returned.
<grill> it's really annoying
<aegis3121> >> {a: 'apple', b: 'bear'}.each { |k, v| puts 'I can run the block' }
<ruby[bot]> aegis3121: # => I can run the block ...check link for more (https://eval.in/529819)
<aegis3121> something like that which returns a string is more like what you want, I would imagine
codecop has quit [Remote host closed the connection]
<aegis3121> it returns a string, so the result will be printed appropriately.
hannelita has quit [Ping timeout: 246 seconds]
hahuang65 has joined #ruby
DmitryBochkarev has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
benlieb has quit [Quit: benlieb]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
<grill> interesting
eregi has quit [Ping timeout: 250 seconds]
SenpaiSilver has joined #ruby
eregi has joined #ruby
casadei has quit [Remote host closed the connection]
sp4rrow has joined #ruby
chipotle has joined #ruby
<aegis3121> you acutally dont' need that #to_a call
<aegis3121> Ignore that, but beyond that lol
mikeatgl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<Ox0dea> Yes, Hash is Enumerable. :P
johnmilton has quit [Remote host closed the connection]
system64 has quit [Quit: Connection closed for inactivity]
mikeatgl has joined #ruby
mikeatgl has left #ruby [#ruby]
Sucks has quit [Remote host closed the connection]
davedev24 has quit []
futilegames has joined #ruby
gizmore has joined #ruby
m0rph84 has quit [Quit: Leaving]
antgel has quit [Ping timeout: 264 seconds]
chipotle has quit [Quit: cheerio]
fullofcaffeine has joined #ruby
gizmore|2 has joined #ruby
gizmore|2 has quit [Client Quit]
FernandoBasso has joined #ruby
gizless has quit [Ping timeout: 260 seconds]
Xeago has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
norc has quit [Ping timeout: 244 seconds]
troulouliou_div2 has quit [Read error: Connection reset by peer]
gizmore has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 246 seconds]
snockerton has joined #ruby
<shevy> long live ruby!
futilegames has quit [Quit: futilegames]
IrishGringo has joined #ruby
treehug88 has quit [Ping timeout: 260 seconds]
Guest38 has joined #ruby
idefine has quit [Remote host closed the connection]
nogic has joined #ruby
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
poguez_ has quit [Quit: Connection closed for inactivity]
n008f4g_ has quit [Ping timeout: 240 seconds]
jgpawletko has quit [Quit: jgpawletko]
antgel has joined #ruby
johnmilton has joined #ruby
Guest88637 is now known as James
guardian has joined #ruby
James is now known as Guest21721
idefine_ has joined #ruby
cjk101010_ is now known as cjk101010
synthroid has quit []
n008f4g_ has joined #ruby
Snowy has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
snockerton has quit [Quit: Leaving.]
ropeney has joined #ruby
karapetyan has joined #ruby
johnmilton has quit [Ping timeout: 276 seconds]
sondr3 has joined #ruby
_whitelogger_ has joined #ruby
<binaryplease> thinking about writing a console multi messenger. first idea was to make a client for libpurple but every gem for ruby bindings seem to be unmantained. Any tips which direction to go?
karapetyan has quit [Ping timeout: 276 seconds]
_whitelogger has quit [Ping timeout: 260 seconds]
voker57 has joined #ruby
voker57 has joined #ruby
sondr3 has quit [Ping timeout: 276 seconds]
kappy has quit [Quit: Lost terminal]
binaryplease has quit [Remote host closed the connection]
binaryplease has joined #ruby
jeanlinux has joined #ruby
idefine has quit [Remote host closed the connection]
binaryplease has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
idefine has joined #ruby
binaryplease has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
binaryplease has quit [Remote host closed the connection]
dfinninger has joined #ruby
idefine has quit [Remote host closed the connection]
trabulmonkee has joined #ruby
<drbrain> unmaintained doesn't necessarily mean they're broken
Jardayn_two has joined #ruby
<adaedra> and if they're broken, fork and fix them!
<adaedra> ?pr
<ruby[bot]> You think this is broken, could be done better, or have a good feature idea? Submit an issue on the concerned project, or even better, fix it and submit a Pull Request! ;)
<adaedra> \o/
DmitryBochkarev has joined #ruby
Rickmasta has joined #ruby
safe has joined #ruby
Jardayn has quit [Disconnected by services]
Jardayn_two is now known as Jardayn
devbug has quit [Ping timeout: 248 seconds]
phansch has quit [Quit: Connection closed for inactivity]
antgel has quit [Ping timeout: 260 seconds]
Sembei has joined #ruby
jeanlinux has quit [Ping timeout: 276 seconds]
nettoweb has quit [Max SendQ exceeded]
elaptics`away is now known as elaptics
antgel has joined #ruby
<drbrain> well, fixing bindings to a C extension gets pretty challenging pretty quick
Pisuke has quit [Ping timeout: 276 seconds]
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
BtcBen has joined #ruby
hahuang65 has joined #ruby
<shevy> he did not stay for long :\
johnmilton has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
binaryplease has joined #ruby
baweaver has joined #ruby
B1n4r10 has quit [Ping timeout: 244 seconds]
hannelita has joined #ruby
sp4rrow has joined #ruby
marxarelli is now known as marxarelli|afk
casadei has joined #ruby
eurialo has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
sandstrom has quit [Quit: My computer has gone to sleep.]
baweaver has quit [Ping timeout: 250 seconds]
duckpuppy has quit [Ping timeout: 244 seconds]
Internet1riend has quit [Ping timeout: 276 seconds]
<kgirthofer> what gem does rackup come with?
hannelita has quit [Ping timeout: 248 seconds]
<adaedra> rack
<kgirthofer> I did gem install rack
<kgirthofer> bash: rackup: command not found
<adaedra> how did you install ruby and rack?
skweek has joined #ruby
agent_white has joined #ruby
<kgirthofer> yum install ruby ruby-devel rubygems
<kgirthofer> and gem install rack
jenrzzz has joined #ruby
<adaedra> kgirthofer: can you show the output of `echo $PATH` and `gem env` please?
pawnbox has joined #ruby
Xeago has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
<adaedra> You work as root?
<kgirthofer> not normally lol
devbug has joined #ruby
<adaedra> Yeah, you should not.
<kgirthofer> I'm aware
<adaedra> Do you intend to use the gems as root or as a normal user?
<kgirthofer> when I build this for real the gems will be used by the service account only
<adaedra> (But, for now, you seem to be lacking /usr/local/bin from your $PATH)
<kgirthofer> this server isn't going anywehre
ramortegui has quit [Quit: Ex-Chat]
workmad3 has joined #ruby
<kgirthofer> thanks
<adaedra> Ah, chef.
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure has joined #ruby
antgel has quit [Ping timeout: 276 seconds]
<kgirthofer> !
<adaedra> If this is just a server for deploy, I'd advise to look at how to install gems locally with bundler (bundle install --path), which would ease things
Lucky_ABA has joined #ruby
<kgirthofer> I need to start hosting gems for chef
Pumukel has quit [Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160210153822]]
pawnbox has quit [Ping timeout: 260 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nb_bez___ has quit [Quit: Connection closed for inactivity]
wldcordeiro has quit [Ping timeout: 240 seconds]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
johnmilton has quit [Ping timeout: 276 seconds]
_whitelogger_ has quit [Excess Flood]
_whitelogger has joined #ruby
<kgirthofer> Yea lol
<kgirthofer> not a fan?
<adaedra> Never tried it personally, I settled with salt for now.
<kgirthofer> cool - vice versa
<kgirthofer> I'm great with chef - just not the whole ruby part
<kgirthofer> new to setting up my own gems and stuff
<adaedra> Just that it's a different, special case, where things are to be taken care of differently
uglybandersnatch has quit [Ping timeout: 250 seconds]
kirillzh has joined #ruby
casadei has quit [Remote host closed the connection]
mondok has joined #ruby
_whitelogger has quit [Excess Flood]
_whitelogger has joined #ruby
antgel has joined #ruby
DmitryBochkarev has joined #ruby
<nerium> Is there a way to normalize UTF8 in Ruby? I tired activesupport, i18n and UnicodeUtils, but non of them manage to do the conversion
skweek has quit [Remote host closed the connection]
<apeiros> nerium: you mean C & D normalization?
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
Rodya_ has quit [Remote host closed the connection]
<nerium> apeiros: compose or decompose?
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
ruby-lang509 has quit [Ping timeout: 252 seconds]
<apeiros> I only remembered the abbreviation. but that would make sense. so probably yes.
amargherio has quit [Ping timeout: 250 seconds]
<nerium> apeiros: I’m not sure what the difference are
<apeiros> um, ok. let's get back to: I'm asking you what precisely you mean.
antgel has quit [Ping timeout: 248 seconds]
<nerium> apeiros: I need to map/convert chars like  (U+63348) to e (for example)
shanemcd has quit [Ping timeout: 268 seconds]
sp4rrow has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
antgel has joined #ruby
_whitelogger has quit [Excess Flood]
_whitelogger has joined #ruby
<apeiros> are you making something up here? because U+63348 sounds like a rather high codepoint…
zenlot6 has joined #ruby
<nerium> They’re extracted from a PDF
<nerium> and I can search for them in the pdf
jgpawletko has joined #ruby
<nerium> THe first one is ”0” if I’m not misstaken
zenlot has quit [Ping timeout: 240 seconds]
<apeiros> and how do you figure U+63348 should be mapped to "e"?
<nerium> i search for it in the pdf
crowell has quit [Ping timeout: 260 seconds]
<apeiros> it makes no sense.
<nerium> apeiros: U+63348 should be T
<nerium> Why?
<apeiros> assuming by U+63348 you mean \uF774, then that codepoint is in the private use section
machinewar has joined #ruby
<machinewar>
crowell has joined #ruby
matp has quit [Quit: Textual IRC Client: www.textualapp.com]
marxarelli|afk is now known as marxarelli
<nerium> Okay, that’s strange
dhollinger has quit [Quit: WeeChat 1.4]
hazelux has joined #ruby
<nerium> I wounder why my pdf reader are able to encode it
matp has joined #ruby
IrishGringo has quit [Ping timeout: 248 seconds]
adac has quit [Ping timeout: 260 seconds]
<apeiros> nerium: so back to: how do you figure it's that code point to begin with?
diegoviola has joined #ruby
<nerium> apeiros: using ord in ruby
binaryplease has quit [Ping timeout: 276 seconds]
hahuang65 has quit [Ping timeout: 260 seconds]
<apeiros> care to show input, code and output?
kirillzh has joined #ruby
<nerium> apeiros: PDFToTxt.new("my.pdf").to_txt.split("").map{|a| [a, a.ord]}.uniq.sort_by(&:last)
<apeiros> interesting
harryh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> I'd assume that PDFToTxt somewhere gets some binary data wrong.
<apeiros> is the to_txt otherwise legible?
<apeiros> or can you gist the output of PDFToTxt.new("my.pdf").to_txt.unpack("U*")?
<nerium> apeiros: The char being shown in the gist is searchable in the pdf, so I would say it works
<apeiros> hm, might be that pdftotxt gets pdf's charset wrong. iirc it has a special charset (all I remember is that I considered it to be rather weird)
<apeiros> and .unpack("C*") please
<apeiros> instead of .unpack("U*")
Guest21721 is now known as James
n008f4g_ has quit [Ping timeout: 250 seconds]
haylon_ has joined #ruby
James is now known as Guest46589
<apeiros> interesting. packing that again gives a different string
<apeiros> .pack("C*").unpack("U*") your last gist gives ArgumentError: malformed UTF-8 character
<apeiros> which makes me wonder how you managed to unpack("U*") it
<apeiros> (in the second last gist, that is)
voidDotClass has left #ruby ["Leaving"]
<apeiros> this is quite weird and I have no idea what's going on :)
wldcordeiro has joined #ruby
haylon has quit [Ping timeout: 240 seconds]
<nerium> apeiros: to_txt.unpack("U*").pack("C*") works
<nerium> the output is a bit strange, like ”f\xF6rsv\xE5ras"
<idletask> apeiros: missing the encoding, probably
<idletask> Anyway, you can't use strings for binary data
<apeiros> idletask: that doesn't matter. unpack("C*") treats it as binary and gives you the individual bytes.
<apeiros> idletask: um, yes. you can. and in ruby it's how you store binary data.
<idletask> That is, excuse me, but a design mistake
<nerium> apeiros: I ran uniq.sort on the output otherwise it would be unread able
<apeiros> idletask: I see no point in arguing about this with you. doesn't change that strings are how you store binary data in ruby.
Azure has quit [Quit: Oops.]
eregi has quit [Read error: Connection reset by peer]
<apeiros> nerium: oh. ok, that renders my try to analyze it useless.
n008f4g_ has joined #ruby
haylon_ has quit [Ping timeout: 248 seconds]
Azure has joined #ruby
<idletask> So, it means there is a way to retrieve the binary content of any file as a Ruby string, regardless of the defined character coding? That is, there is a way to actually read the contents of a file as a binary input rather than an input which will be interpreted by a character coding (UTF-8, ISO-8859-15, EBCDIC, whatever)?
<apeiros> nerium: anyway, I bet with you that the result of to_txt is not utf-8.
FooMunki has quit [Quit: FooMunki]
<apeiros> but you're treating it as utf-8.
<apeiros> idletask: yes
FooMunki has joined #ruby
<apeiros> idletask: all strings are binary + encoding-flag.
<apeiros> the encoding-flag is used by ruby to determine character based operations.
<idletask> apeiros: OK, that is strange
shakes has joined #ruby
<apeiros> no, it's not. it makes sense. it has certain advantages and certain disadvantages over other approaches.
eregi has joined #ruby
<idletask> Just to get technical here, but that is not how Java does things; in Java, string literals are independent of the character coding
<apeiros> yes. but ruby isn't java.
<idletask> Yes, I understand that :)
Asher has quit [Read error: Connection reset by peer]
idefine has joined #ruby
<idletask> I just want to understand the differences :)
mary5030 has joined #ruby
<nerium> apeiros: thanks, I’ll do some experimenting
binaryplease has joined #ruby
<idletask> But then, if your file contains text in a given character coding, how do you tell ruby to use that character coding and no other?
<idletask> Say, you have a file with text content in UTF-32 LE?
croberts has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<apeiros> File.read(path, encoding: …)
<apeiros> if you want ruby to convert it: File.read(path, external_encoding: …, internal_encoding: …)
<idletask> Hmm
ta_ has quit [Read error: Connection reset by peer]
hazelux has quit []
mary5030_ has joined #ruby
<idletask> And a standard, reliable, cross-platform way to read as binary would be...?
<idletask> Just specify the encoding on read?
ta_ has joined #ruby
<eam> File.sysread also supplies binary iirc
<apeiros> File.read(path, encoding: Encoding::BINARY)
Asher has joined #ruby
<idletask> OK
<apeiros> not sure whether you also have to somehow pass that silly "b" flag for windows.
<idletask> I'll try and play with that
<apeiros> might be that the binary encoding triggers that too. I usually stay away from windows.
Xeago has quit [Remote host closed the connection]
<idletask> I was sick of the mishandling of binary and text with Java :p
makenoise has quit [Remote host closed the connection]
Uber|Dragon has quit [Ping timeout: 276 seconds]
<apeiros> idletask: midnight here, so I'll not read it now. but this is what I wrote in case you're interested: (searching gist)
htmldrum has quit [Ping timeout: 244 seconds]
<idletask> I am: and it's midnight here too :p
mary5030 has quit [Ping timeout: 268 seconds]
idefine has quit [Ping timeout: 268 seconds]
elaptics is now known as elaptics`away
makenoise has joined #ruby
<apeiros> main problem with encodings is still that devs have no clue about them and fail to design file formats which contain encoding information :-/
devbug has quit [Read error: Connection reset by peer]
uglybandersnatch has joined #ruby
<apeiros> anyway, as said, midnight, so: good night :)
<idletask> apeiros: agreed; in fact, there are still a lot of Java devs which believe that Java strings have an attached encoding; they do not
<idletask> But that is unlike Ruby, I see
benlieb has joined #ruby
devbug has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
A124 has quit [Read error: Connection reset by peer]
Gasher has quit [Ping timeout: 240 seconds]
A124 has joined #ruby
baweaver has joined #ruby
biberu has quit []
SenpaiSilver has quit [Quit: Leaving]
schickung has quit [Quit: schickung]
Vingador has joined #ruby
FLeiXiuS` has quit [Quit: Leaving]
<idletask> apeiros: I saw a technical mistake in your gist :p
<idletask> Well, I'll talk about this tomorrow
<apeiros> for real?
<idletask> Yes
<apeiros> (reading yours atm btw.)
<idletask> In your "encodings" section, you somehow mistake the role of the BOM with regards to UTF-8
<idletask> UTF-8 is impervious to endianness
<apeiros> ah, no. it's just the abbreviated version.
<idletask> The BOM is in fact U+FEFF
<apeiros> in the longer one I explain that ;-)
diegoviola has quit [Quit: WeeChat 1.4]
<apeiros> (the "TL;DR edition")
<apeiros> but if you have a nice way to word it without adding length, I'll gladly improve that
<idletask> And one technical mistake slipped in my post, as well
maletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<idletask> Well, I'd link to fileformat.info
<apeiros> actually not "without adding length", but rather "without adding complexity"
<idletask> As to my post, the technical mistake is that "big, fat question mark"
<idletask> In fact, it is nothing else than U+FFFD
<apeiros> that's probably a good idea in any case (linking to fileformat.info)
<apeiros> "and this default charset depends on your JRE/OS environment." seems like java and ruby made the same bad mistake :)
<apeiros> luckily ruby rectified this at least for literals. I'm not sure about Encoding.default_external, though. I think there it's still making that mistake.
<idletask> They make it differently however
shakes has quit [Quit: Leaving]
FooMunki has quit [Quit: FooMunki]
Spami has quit [Quit: Leaving]
<idletask> In Java, a String literal is a String literal; whatever the encoding of your source file, in byte code, those will be bona fide chars
zenguy_pc has quit [Excess Flood]
FooMunki has joined #ruby
<idletask> But Java has InputStream/Reader vs OutputStream/Writer
<idletask> And the misuse of those is fatal
zenguy_pc has joined #ruby
<darix> that said ... use UTF-8 everywhere. TIA
<apeiros> utf-8 has performance issues for a couple of operations
<apeiros> but yeah, 99.9% of all cases I fully agree
jeanlinux has joined #ruby
dgncn has quit [Quit: Leaving]
dopamean1 has joined #ruby
dopamean_ has quit [Ping timeout: 260 seconds]
<apeiros> idletask: your article seems to be a good read, thanks :) ("seems" because I'm not a java coder, last time I touched it is years ago, so I'm not fit to truly judge)
<apeiros> gn8
<idletask> As to your page, I'd say that "Unicode defines what is called the BOM (Byte Order Mark). In multibyte encodings where endianness matters, text files thus encoded will include the BOM, which will allow programs reading those files to correctly decode the contents. Note however that for historical reasons, several mainstream Windows programs add a BOM in UTF-8 files even though the encoding theoretically does not require it (among t
<idletask> hem, Excel)"
Gasher has joined #ruby
<darix> apeiros: read mine tomorrow... it is fun how much joy you get from just counting chars
rew has joined #ruby
SenpaiSilver has joined #ruby
saneax_AFK is now known as saneax
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stannard_ has quit [Remote host closed the connection]
<idletask> (and then link to fileformat.info which shows that the bom is u+feff etc)
diegoviola has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
Vingador has quit [Ping timeout: 246 seconds]
fullofcaffeine has joined #ruby
deuxclique has joined #ruby
icarus has joined #ruby
stannard has joined #ruby
pdoherty has quit [Remote host closed the connection]
idefine has joined #ruby
trosborn_ has quit [Quit: trosborn_]
trosborn has joined #ruby
Coldblackice has quit [Ping timeout: 248 seconds]
Gasher has quit [Quit: Leaving]
dfinninger has quit []
rmulligan has joined #ruby
icarus has quit [Client Quit]
stannard has quit [Ping timeout: 240 seconds]
kirun has quit [Quit: Client exiting]
uglybandersnatch has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
Vingador has joined #ruby
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has quit [Ping timeout: 260 seconds]
[Butch] has quit [Quit: I'm out . . .]
makenoise has quit [Remote host closed the connection]
htmldrum has joined #ruby
Vingador has quit [Client Quit]
riceandbeans has left #ruby [#ruby]
rmulligan has quit [Remote host closed the connection]
machinewar has quit []
idefine_ has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
danjam has quit [Quit: Leaving.]
Brando753 has quit [Read error: Connection timed out]
Rodya_ has quit [Ping timeout: 248 seconds]
Brando753 has joined #ruby
deuxclique has quit [Remote host closed the connection]
rmulligan has joined #ruby
maletor has joined #ruby
davedev24 has joined #ruby
ur5us has joined #ruby
kam270 has joined #ruby
nerium has quit [Quit: nerium]
kirillzh has joined #ruby
decoponio has quit [Quit: Leaving...]
aegis3121 has quit [Ping timeout: 240 seconds]
uglybandersnatch has joined #ruby
fullofca_ has joined #ruby
dopamean1 has quit [Ping timeout: 246 seconds]
fullofcaffeine has quit [Ping timeout: 252 seconds]
idefine_ has quit [Remote host closed the connection]
Guest46589 is now known as James
jgpawletko has quit [Quit: jgpawletko]
idefine has joined #ruby
casadei has joined #ruby
James is now known as Guest5732
B4daBing73 has joined #ruby
B4daBing73 has quit [Max SendQ exceeded]
B4daBing73 has joined #ruby
deuxclique has joined #ruby
mattwildig has quit [Remote host closed the connection]
intrigueD has quit [Remote host closed the connection]
haylon_ has joined #ruby
uglybandersnatch has quit [Ping timeout: 250 seconds]
scripore has joined #ruby