apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
jmhmccr has quit [Quit: Connection closed for inactivity]
predator117 has quit [Ping timeout: 250 seconds]
Igorshp has quit [Ping timeout: 244 seconds]
Deele has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
marr has quit []
JDiPierro has joined #ruby
lidenskap has quit [Remote host closed the connection]
quazimodo has joined #ruby
<quazimodo> /j #rspec
robustus has quit [Ping timeout: 264 seconds]
charliesome_ has joined #ruby
workmad3 has quit [Ping timeout: 272 seconds]
Spami has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
charliesome has quit [Ping timeout: 256 seconds]
JDiPierro has quit [Remote host closed the connection]
robustus has joined #ruby
__main__ has joined #ruby
dvlwrk has joined #ruby
zachrab has quit [Read error: Connection reset by peer]
PaulCape_ has joined #ruby
skinny_much has quit [Ping timeout: 256 seconds]
rbennacer has quit [Remote host closed the connection]
zachrab has joined #ruby
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
PaulCapestany has quit [Ping timeout: 256 seconds]
skinny_much has joined #ruby
keen_ has quit [Read error: Connection reset by peer]
keen_ has joined #ruby
bim has joined #ruby
bim is now known as Guest94240
lidenskap has joined #ruby
blt has quit [Read error: Connection reset by peer]
Zarthus has quit [Quit: This night will fall like any other, daylight subsides and shadows crawl.]
blt has joined #ruby
Guest94240 has quit [Ping timeout: 252 seconds]
Zarthus- is now known as Zarthus
rbennacer has joined #ruby
PaulCapestany has joined #ruby
bintelli has joined #ruby
eytanfb has quit [Ping timeout: 256 seconds]
PaulCape_ has quit [Ping timeout: 250 seconds]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
PaulCapestany has quit [Max SendQ exceeded]
PaulCapestany has joined #ruby
mleung has joined #ruby
chinmay_dd has quit [Quit: Leaving]
MiracleBlue has quit [Ping timeout: 256 seconds]
maZtah has quit [Ping timeout: 256 seconds]
Zarthuss has joined #ruby
Yzguy has joined #ruby
MiracleBlue has joined #ruby
maZtah has joined #ruby
dopie has joined #ruby
mleung has quit [Client Quit]
dfinninger has joined #ruby
blt has quit [Read error: Connection reset by peer]
tubuliferous has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
dorei has quit []
dvlwrk has quit [Ping timeout: 256 seconds]
Stichoza has joined #ruby
Stichoza has quit [Client Quit]
iotouch has joined #ruby
dfinninger has quit [Ping timeout: 264 seconds]
tubuliferous has quit [Ping timeout: 255 seconds]
paradisaeidae has joined #ruby
andersoldahl has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
andersoldahl has quit [Max SendQ exceeded]
TheHodge has quit [Quit: Connection closed for inactivity]
leafybasil has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
felixjet_ has quit [Read error: Connection reset by peer]
felixjet_ has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
yaw has joined #ruby
Gilgamesh has left #ruby [#ruby]
shuber_ has quit [Remote host closed the connection]
emocakes has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
shuber_ has joined #ruby
mleung has joined #ruby
PaulCapestany has joined #ruby
djellemah_ has joined #ruby
Oka has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
doodlehaus has joined #ruby
redlegion has joined #ruby
doodlehaus has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
RegulationD has joined #ruby
djellemah has quit [Ping timeout: 256 seconds]
longfeet has joined #ruby
iotouch has joined #ruby
jeffreylevesque has joined #ruby
lee__ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
doodlehaus has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
vozcelik has joined #ruby
balazs has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
sfr^ has quit [Ping timeout: 256 seconds]
mleung has quit [Quit: mleung]
scripore has joined #ruby
Guest76504 has quit [Ping timeout: 256 seconds]
LBRapid has joined #ruby
twistedpixels has quit [Ping timeout: 256 seconds]
yaw has quit [Ping timeout: 272 seconds]
sfr^ has joined #ruby
alekst_ has quit [Ping timeout: 256 seconds]
Guest59264 has quit [Ping timeout: 256 seconds]
thesheff17 has quit [Ping timeout: 256 seconds]
zipkid has quit [Ping timeout: 256 seconds]
petems has quit [Ping timeout: 256 seconds]
whoojemaflip has quit [Ping timeout: 256 seconds]
adambeynon has quit [Ping timeout: 256 seconds]
mjc_ has quit [Ping timeout: 256 seconds]
poikon has quit [Ping timeout: 256 seconds]
jmcc has quit [Ping timeout: 256 seconds]
charles81 has quit [Ping timeout: 256 seconds]
strmpnk has quit [Ping timeout: 256 seconds]
grubernaut has quit [Ping timeout: 256 seconds]
pizzaops has quit [Ping timeout: 256 seconds]
patcable has quit [Ping timeout: 256 seconds]
dmoe has quit [Ping timeout: 256 seconds]
ckrailo has quit [Ping timeout: 256 seconds]
Wobbley has quit [Ping timeout: 256 seconds]
softinio has quit [Ping timeout: 256 seconds]
Heero has quit [Ping timeout: 256 seconds]
borkdude has quit [Ping timeout: 256 seconds]
balazs has quit [Ping timeout: 264 seconds]
redlegion has quit [Quit: WeeChat 1.1.1]
strmpnk has joined #ruby
charles81 has joined #ruby
alekst_ has joined #ruby
grubernaut has joined #ruby
Heero has joined #ruby
Wobbley has joined #ruby
petems has joined #ruby
adambeynon has joined #ruby
patcable has joined #ruby
whoojemaflip has joined #ruby
redlegion has joined #ruby
ckrailo has joined #ruby
twistedpixels has joined #ruby
poikon has joined #ruby
thesheff17 has joined #ruby
pizzaops has joined #ruby
zipkid has joined #ruby
jmcc has joined #ruby
mjc_ has joined #ruby
softinio has joined #ruby
dmoe has joined #ruby
borkdude has joined #ruby
Guest59264 has joined #ruby
PaulCape_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
zorak8 has joined #ruby
dfinninger has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
MatthewsFace has joined #ruby
yaw has joined #ruby
paradisaeidae has quit [Ping timeout: 264 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
gregf has quit [Quit: WeeChat 1.0.1]
x1337807x has joined #ruby
dseitz has joined #ruby
dopie has joined #ruby
dseitz has quit [Max SendQ exceeded]
gregf has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
dseitz has joined #ruby
ag4ve_ has joined #ruby
paradisaeidae has joined #ruby
dfinninger has quit [Remote host closed the connection]
Pupeno has joined #ruby
scripore has joined #ruby
starless has quit [Quit: Leaving]
juanpablo___ has joined #ruby
oetjenj_ has joined #ruby
tkuchiki has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
oetjenj has quit [Ping timeout: 244 seconds]
EasyCo has joined #ruby
juanpablo___ has quit [Ping timeout: 256 seconds]
funburn has joined #ruby
JDiPierro has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
mitchellhenke has joined #ruby
zorak8 has joined #ruby
Dopagod has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby
charliesome_ has quit [Quit: zzz]
GnuYawk has quit [Ping timeout: 256 seconds]
tkuchiki has quit [Read error: Connection reset by peer]
scripore has quit [Quit: This computer has gone to sleep]
tkuchiki has joined #ruby
scripore has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #ruby
plutonic has quit [Quit: plutonic]
JDiPierro has quit [Ping timeout: 276 seconds]
arescorpio has joined #ruby
Lewix has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
dvlwrk has joined #ruby
funburn has quit [Quit: funburn]
regnartim has quit [Quit: Leaving]
plutonic has joined #ruby
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 is now known as ReK2GnULinuX2
ReK2GnULinuX2 is now known as ReKWiLdS2
ReKWiLdS2 is now known as ReK2
ReK2 has quit [Client Quit]
jeffreylevesque has left #ruby [#ruby]
swgillespie has joined #ruby
hectortrope has quit [Quit: WeeChat 0.4.2]
hectortrope has joined #ruby
Brozo has joined #ruby
PaulCapestany has joined #ruby
Filete has quit [Ping timeout: 250 seconds]
scripore has quit [Quit: This computer has gone to sleep]
PaulCape_ has quit [Ping timeout: 256 seconds]
luriv_ has joined #ruby
ReK2 has joined #ruby
ReK2 has joined #ruby
claptor has joined #ruby
krz has joined #ruby
Guest2311 has quit [Ping timeout: 250 seconds]
dvlwrk has quit [Quit: Leaving]
dvlwrk has joined #ruby
luriv has quit [Ping timeout: 245 seconds]
towski_ has joined #ruby
dvlwrk has quit [Remote host closed the connection]
Mohan has joined #ruby
dvlwrk has joined #ruby
Mohan is now known as Guest72980
shuber_ has quit [Remote host closed the connection]
charliesome has joined #ruby
chipotl__ is now known as chipotle
shuber_ has joined #ruby
agent_white has joined #ruby
tubuliferous has joined #ruby
<agent_white> Evenin'
<havenwood> agent_white: howdy
delinquentme has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
pontiki has joined #ruby
tubuliferous has quit [Ping timeout: 255 seconds]
krz has joined #ruby
jefus has quit [Ping timeout: 264 seconds]
pontiki has quit [Ping timeout: 256 seconds]
A205B064 has quit [Ping timeout: 264 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Filete has joined #ruby
shuber_ has quit [Remote host closed the connection]
redlegion has quit [Quit: fml]
tus has quit []
PaulCape_ has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
Renich has quit [Ping timeout: 244 seconds]
zorak8 has quit [Quit: Leaving]
lucas__ has joined #ruby
jefus has joined #ruby
PaulCape_ has quit [Max SendQ exceeded]
bintelli has quit [Quit: Page closed]
PaulCapestany has joined #ruby
platzhirsch has quit [Quit: Leaving.]
sevenseacat has joined #ruby
lucas__ has quit [Quit: Leaving]
cmckee has joined #ruby
PaulCapestany has quit [Max SendQ exceeded]
PaulCapestany has joined #ruby
RegulationD has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
braincrash has quit [Quit: bye bye]
dfinninger has joined #ruby
threh has quit [Quit: Leaving]
braincrash has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
PaulCape_ has joined #ruby
pontiki has joined #ruby
xxneolithicxx has quit [Quit: Leaving.]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfinninger has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
cefkamcau has joined #ruby
xxneolithicxx has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
PaulCape_ has quit [Max SendQ exceeded]
zzing_ has joined #ruby
multi_io has quit [Ping timeout: 256 seconds]
dfinninger has joined #ruby
swgillespie has joined #ruby
eshiffob has quit [Ping timeout: 240 seconds]
KnownSyntax has joined #ruby
perrier has joined #ruby
PaulCapestany has joined #ruby
multi_io has joined #ruby
balazs has joined #ruby
claptor has quit [Quit: this channel is bakas]
psy_ has joined #ruby
zzing has quit [Ping timeout: 276 seconds]
doodlehaus has quit [Ping timeout: 272 seconds]
balazs has quit [Remote host closed the connection]
balazs has joined #ruby
PaulCapestany has quit [Max SendQ exceeded]
PaulCapestany has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
DerisiveLogic has joined #ruby
dfinninger has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
hgl has joined #ruby
audy has joined #ruby
Pupeno has joined #ruby
ag4ve_ has quit [Ping timeout: 248 seconds]
dfinninger has quit [Read error: Connection reset by peer]
Guest72980 has quit [Ping timeout: 265 seconds]
juanpablo___ has joined #ruby
dfinninger has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest81885
n008f4g_ has quit [Ping timeout: 264 seconds]
icebourg has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
hgl has quit [Max SendQ exceeded]
PaulCape_ has joined #ruby
hgl has joined #ruby
juanpablo___ has quit [Ping timeout: 250 seconds]
wwwBUKOLAYcom has quit []
PaulCapestany has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
cmckee has quit [Quit: cmckee]
chipotle_ has joined #ruby
hewenhon_ has joined #ruby
chipotl__ has joined #ruby
chipotle has quit [Ping timeout: 264 seconds]
PaulCape_ has quit [Max SendQ exceeded]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
PaulCapestany has joined #ruby
shuber_ has joined #ruby
chipotle_ has quit [Ping timeout: 256 seconds]
longfeet has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotl__ is now known as chipotle
workmad3 has quit [Ping timeout: 248 seconds]
shuber_ has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
Ikri has quit [Quit: No Ping reply in 180 seconds.]
Ikri has joined #ruby
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hewenhon_ has quit [Remote host closed the connection]
sn0wb1rd has quit [Ping timeout: 245 seconds]
hewenhong has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
krz has joined #ruby
konsolebox has quit [Remote host closed the connection]
hewenhon_ has joined #ruby
Pupeno has joined #ruby
GGMethos has quit [Ping timeout: 256 seconds]
sn0wb1rd has joined #ruby
hewenhong has quit [Read error: Connection reset by peer]
Deele has joined #ruby
michael_mbp has quit [Excess Flood]
PaulCape_ has joined #ruby
baash05 has joined #ruby
michael_mbp has joined #ruby
Lewix has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 1.0.1]
sinkensabe has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 256 seconds]
PaulCapestany has quit [Ping timeout: 256 seconds]
krz has joined #ruby
plutonic has quit [Quit: plutonic]
tkuchiki_ has joined #ruby
konsolebox has joined #ruby
ChoiKyuSang has joined #ruby
PaulCape_ has quit [Max SendQ exceeded]
iotouch has quit [Quit: This computer has gone to sleep]
Lewix has joined #ruby
tkuchiki has quit [Ping timeout: 244 seconds]
hewenhon_ has quit [Remote host closed the connection]
PaulCapestany has joined #ruby
Morkel has joined #ruby
mgberlin has joined #ruby
delinquentme has quit [Ping timeout: 276 seconds]
swgillespie has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
GGMethos has joined #ruby
jonathanwallace has quit [Ping timeout: 265 seconds]
mgberlin has quit [Ping timeout: 252 seconds]
dfinninger has joined #ruby
freerobby has quit [Quit: Leaving.]
ag4ve_ has joined #ruby
zzing_ has quit [Read error: Connection reset by peer]
zzing has joined #ruby
paradisaeidae has quit [Read error: Connection reset by peer]
iotouch has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
jonathanwallace has joined #ruby
tubuliferous_ has joined #ruby
ag4ve_ has quit [Ping timeout: 248 seconds]
ag4ve_ has joined #ruby
gazay has joined #ruby
AlphaAtom has quit [Ping timeout: 255 seconds]
cmckee has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krz has quit [Quit: WeeChat 1.0.1]
tubuliferous_ has quit [Ping timeout: 255 seconds]
hewenhong has joined #ruby
swgillespie has joined #ruby
cmckee-dev has joined #ruby
krz has joined #ruby
krz has quit [Client Quit]
delinquentme has joined #ruby
cmckee has quit [Ping timeout: 272 seconds]
cmckee-dev is now known as cmckee
krz has joined #ruby
agent_wh1te has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
PaulCape_ has joined #ruby
agent_white has quit [Ping timeout: 272 seconds]
agent_wh1te is now known as agent_white
ylluminarious has quit [Remote host closed the connection]
Guest81885 has quit [Ping timeout: 248 seconds]
PaulCapestany has quit [Ping timeout: 276 seconds]
ag4ve_ has quit [Ping timeout: 248 seconds]
Mohan_ has joined #ruby
hewenhong has quit [Remote host closed the connection]
arescorpio has quit [Quit: Leaving.]
balazs has quit [Remote host closed the connection]
iamninja_ has quit [Read error: Connection reset by peer]
lee__ has quit [Quit: Connection closed for inactivity]
duncannz has quit [Remote host closed the connection]
iamninja_ has joined #ruby
baash05 has quit [Quit: Page closed]
Mohan_ has quit [Read error: Connection reset by peer]
havenn has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
Mohan_ has joined #ruby
lolmaus_ has joined #ruby
Vile` has quit [Ping timeout: 250 seconds]
dfinninger has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
Brozo has quit [Quit: Leaving...]
dfinninger has joined #ruby
jmhmccr has joined #ruby
Channel6 has quit [Quit: Leaving]
havenwood has quit [Ping timeout: 256 seconds]
jwang has joined #ruby
shuber_ has joined #ruby
Vile` has joined #ruby
PaulCapestany has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
RegulationD has joined #ruby
shuber_ has quit [Ping timeout: 248 seconds]
PaulCape_ has quit [Ping timeout: 252 seconds]
delinquentme has quit [Ping timeout: 240 seconds]
plutonic has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
tkuchiki has joined #ruby
psy_ has quit [Ping timeout: 248 seconds]
tkuchiki_ has quit [Ping timeout: 264 seconds]
PaulCape_ has joined #ruby
Anarch_ has joined #ruby
dfinninger has quit [Remote host closed the connection]
PaulCapestany has quit [Ping timeout: 256 seconds]
IceDragon has quit [Quit: ZNC - http://znc.in]
__main__ has quit [Read error: Connection reset by peer]
Lewix has quit [Remote host closed the connection]
_main_ has joined #ruby
plutonic has quit [Quit: plutonic]
icebourg has quit []
kp666 has joined #ruby
kerrizor has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
_main_ is now known as __main__
chrissonar has joined #ruby
hollywood has joined #ruby
hollywood has quit [Client Quit]
IceDragon has joined #ruby
krz has quit [Ping timeout: 256 seconds]
tagrudev has joined #ruby
mleung has joined #ruby
PaulCapestany has joined #ruby
davedev24_ has joined #ruby
doodlehaus has joined #ruby
davedev2_ has quit [Ping timeout: 240 seconds]
iotouch has quit [Quit: This computer has gone to sleep]
hewenhong has joined #ruby
PaulCape_ has quit [Ping timeout: 264 seconds]
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobunny has joined #ruby
iotouch has joined #ruby
doodlehaus has quit [Ping timeout: 255 seconds]
juanpablo___ has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
vikaton has quit [Quit: Connection closed for inactivity]
Brozo has joined #ruby
juanpablo___ has quit [Ping timeout: 265 seconds]
__main__ has quit [Read error: Connection reset by peer]
plutonic has joined #ruby
__main__ has joined #ruby
PaulCape_ has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
hewenhong has left #ruby [#ruby]
PaulCapestany has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
chipotle has quit [Quit: cheerio]
chipotle has joined #ruby
Mohan_ has quit [Ping timeout: 256 seconds]
<Eiam_> hmm. when using resque-pool, it talks about requiring the rake tasks as resque/pool/tasks... do the tasks actually have to be defined there?
mleung has quit [Quit: mleung]
riotjones has joined #ruby
<Eiam_> seems to .. maybe not care..
oo_ has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
dopie has joined #ruby
Anarch_ has quit [Quit: WILL TROLL FOR FOOD]
riotjones has quit [Ping timeout: 256 seconds]
Mohan_ has joined #ruby
baweaver has joined #ruby
User458764 has joined #ruby
patronus_ has joined #ruby
IcyDragon has joined #ruby
mjc_ has quit [Ping timeout: 256 seconds]
ec has quit [Ping timeout: 256 seconds]
bttf has quit [Ping timeout: 256 seconds]
hellschreiber has quit [Ping timeout: 256 seconds]
Mohan_ has quit [Ping timeout: 264 seconds]
mjc_ has joined #ruby
shuber_ has joined #ruby
baweaver has quit [Remote host closed the connection]
bttf has joined #ruby
ec has joined #ruby
Mohan_ has joined #ruby
patronus has quit [Ping timeout: 272 seconds]
baweaver has joined #ruby
hellschreiber has joined #ruby
Brozo has quit [Quit: Leaving...]
PaulCapestany has joined #ruby
IcyDragon has quit [Quit: ZNC - http://znc.in]
PaulCape_ has quit [Ping timeout: 264 seconds]
baweaver has quit [Read error: Connection reset by peer]
shuber_ has quit [Ping timeout: 256 seconds]
baweaver has joined #ruby
baweaver has quit [Remote host closed the connection]
Mohan_ has quit [Ping timeout: 264 seconds]
IcyDragon has joined #ruby
wldcordeiro has joined #ruby
Mohan_ has joined #ruby
Billias has quit [Ping timeout: 256 seconds]
cmckee has quit [Quit: cmckee]
Billias has joined #ruby
knikolov has quit [Ping timeout: 256 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
KnownSyntax has quit [Quit: Connection closed for inactivity]
Mohan_ has quit [Ping timeout: 250 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Mohan_ has joined #ruby
ponga has joined #ruby
fabrice31 has joined #ruby
fabrice31 has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
fabrice31 has joined #ruby
gazay has quit [Read error: Connection reset by peer]
gazay has joined #ruby
IceDragon has quit [Quit: Going to space~~~~]
matled- has joined #ruby
andikr has joined #ruby
IcyDragon is now known as IceDragon
sinkensabe has joined #ruby
matled has quit [Remote host closed the connection]
matled- is now known as matled
krz has joined #ruby
Mohan_ has quit [Ping timeout: 245 seconds]
Cork has joined #ruby
Cork is now known as Guest87471
vickleton has quit [Quit: Ex-Chat]
sinkensabe has quit [Remote host closed the connection]
bascht has quit [Ping timeout: 256 seconds]
Mohan_ has joined #ruby
alex88 has joined #ruby
SouL_|_ has joined #ruby
Guest87471 has quit [Changing host]
Guest87471 has joined #ruby
sinkensabe has joined #ruby
krz has quit [Ping timeout: 250 seconds]
agent_white has quit [Quit: goodnightFolks]
Guest87471 is now known as Cork
bascht has joined #ruby
alex88 has quit [Ping timeout: 276 seconds]
balazs has joined #ruby
PaulCape_ has joined #ruby
sinkensabe has quit [Client Quit]
aganov has joined #ruby
arturaz has joined #ruby
Mohan_ has quit [Ping timeout: 256 seconds]
PaulCapestany has quit [Ping timeout: 256 seconds]
Mohan_ has joined #ruby
balazs has quit [Remote host closed the connection]
psy_ has joined #ruby
cbetta has quit [Read error: Connection reset by peer]
cbetta has joined #ruby
hellschreiber has quit [Ping timeout: 256 seconds]
jrunning_ has quit [Read error: Connection reset by peer]
softinio has quit [Read error: Connection reset by peer]
bove has quit [Read error: Connection reset by peer]
bttf has quit [Read error: Connection reset by peer]
akitada has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 252 seconds]
knikolov has joined #ruby
bove has joined #ruby
softinio has joined #ruby
jrunning_ has joined #ruby
bttf has joined #ruby
akitada has joined #ruby
ballPointPenguin has quit [Ping timeout: 256 seconds]
ballPointPenguin has joined #ruby
hellschreiber has joined #ruby
icarus has joined #ruby
jouty has quit [Ping timeout: 248 seconds]
parduse is now known as Guest80896
x1337807x has quit [Remote host closed the connection]
pardusf has joined #ruby
softinio has quit [Read error: Connection reset by peer]
Guest80896 has quit [Ping timeout: 250 seconds]
x1337807x has joined #ruby
softinio has joined #ruby
wldcordeiro has quit [Ping timeout: 265 seconds]
Mohan_ has quit [Ping timeout: 244 seconds]
Mohan has joined #ruby
Mohan is now known as Guest66845
oetjenj_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
PaulCape_ has quit [Ping timeout: 255 seconds]
PaulCapestany has joined #ruby
bal has joined #ruby
RegulationD has joined #ruby
msgodf has joined #ruby
selu has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
iotouch has quit [Quit: This computer has gone to sleep]
nfk has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
PaulCape_ has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
tesuji has joined #ruby
fabrice31 has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
fabrice31 has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
hewenhong has joined #ruby
ikeike443 has quit [Quit: Leaving...]
ReK2 has quit [Quit: Konversation terminated!]
iotouch has joined #ruby
chishiki has quit [Ping timeout: 240 seconds]
piotrj has quit [Read error: Connection reset by peer]
piotrj has joined #ruby
C1V0 has quit []
zz_Outlastsheep has quit [Ping timeout: 250 seconds]
Guest24 is now known as lele
gagrio has joined #ruby
msgodf has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: zzz]
sigurding has joined #ruby
<certainty> moin
cschneid has quit [Ping timeout: 256 seconds]
epochwolf has quit [Ping timeout: 256 seconds]
<Radar> morning certainty
twistedpixels has quit [Ping timeout: 256 seconds]
* certainty tips hat to radar
twistedpixels has joined #ruby
cschneid has joined #ruby
epochwolf has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tesuji has quit [Read error: Connection reset by peer]
chishiki has joined #ruby
chishiki has quit [Changing host]
chishiki has joined #ruby
bim has joined #ruby
tesuji has joined #ruby
bim is now known as Guest3556
jouty has joined #ruby
wlanboy has quit [Ping timeout: 244 seconds]
juanpablo___ has joined #ruby
wlanboy has joined #ruby
lolmaus_ has quit [Quit: Konversation terminated!]
PaulCapestany has joined #ruby
decoponio has joined #ruby
juanpablo___ has quit [Ping timeout: 244 seconds]
PaulCape_ has quit [Ping timeout: 245 seconds]
kyrylo has joined #ruby
SouL_|_ has quit [Ping timeout: 255 seconds]
plutonic has quit [Read error: Connection reset by peer]
plutonic has joined #ruby
cschneid has quit [Ping timeout: 256 seconds]
doodlehaus has joined #ruby
last_staff has joined #ruby
hewenhong has quit [Remote host closed the connection]
cschneid has joined #ruby
workmad3 has joined #ruby
Abhijit has joined #ruby
Abhijit has left #ruby [#ruby]
alex88 has joined #ruby
doodlehaus has quit [Ping timeout: 250 seconds]
livathinos has joined #ruby
unshadow has joined #ruby
epochwolf has quit [Ping timeout: 265 seconds]
coderhs has joined #ruby
zz_Outlastsheep has joined #ruby
epochwolf has joined #ruby
AlexRussia has joined #ruby
terlar has joined #ruby
coderhs has quit [Client Quit]
bal has quit [Read error: Connection reset by peer]
bal has joined #ruby
piotrj has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
dumdedum has joined #ruby
allenn has joined #ruby
hewenhong has joined #ruby
ki0 has quit [Remote host closed the connection]
msgodf has joined #ruby
bal has quit [Client Quit]
SouL_|_ has joined #ruby
bal has joined #ruby
yaw has joined #ruby
jeromelanteri has joined #ruby
PaulCape_ has joined #ruby
Guest66845 has quit [Ping timeout: 255 seconds]
ohaibbq has quit [Quit: Leaving...]
TheHodge has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
Mohan_ has joined #ruby
towski_ has quit [Remote host closed the connection]
piotrj has joined #ruby
ghr has joined #ruby
hewenhong has quit [Remote host closed the connection]
gazay has quit [Quit: gazay]
hewenhong has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
Guest96739 is now known as troleBgone
A205B064 has joined #ruby
<unshadow> Hi Guys, I'm trying to create a wrapper around Libinjection --> https://github.com/client9/libinjection , Right now I'm here --> https://gist.github.com/bararchy/f962f4003f6eb734a443 , My issue is I dont know much about 'c', and I can't find where is sfilter coming from, is it a built in c function ? or is it some class from libinjection project
PaulCapestany has joined #ruby
amundj has joined #ruby
mlev has quit [Remote host closed the connection]
PaulCape_ has quit [Ping timeout: 256 seconds]
troleBgone is now known as c-c
cschneid has quit [Ping timeout: 265 seconds]
piotrj has quit [Remote host closed the connection]
unshadow has quit [Quit: leaving]
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nfk|laptop has joined #ruby
aganov has quit [Quit: Leaving]
cschneid has joined #ruby
aganov has joined #ruby
Pumukel has joined #ruby
psy_ has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
sigurding has quit [Quit: sigurding]
granthatcher has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
nfk|laptop has quit [Ping timeout: 256 seconds]
jimeh has quit [Ping timeout: 256 seconds]
aufi has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
jimeh has joined #ruby
ndrei has joined #ruby
plutonic has quit [Quit: plutonic]
piotrj has joined #ruby
tubuliferous_ has joined #ruby
krz has joined #ruby
oo_ has quit [Remote host closed the connection]
johnhamelink has quit [Ping timeout: 256 seconds]
johnhamelink has joined #ruby
fowl has quit [Ping timeout: 256 seconds]
piotrj has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 255 seconds]
notfowl has joined #ruby
tvw has joined #ruby
davedev24_ has joined #ruby
PaulCape_ has joined #ruby
jakolehm has joined #ruby
PaulCapestany has quit [Ping timeout: 250 seconds]
jakolehm has quit [Client Quit]
jakolehm has joined #ruby
ByronJohnson has quit [Ping timeout: 240 seconds]
scottstamp has quit [Read error: Connection reset by peer]
lordkryss has joined #ruby
jakolehm has quit [Client Quit]
Mohan_ has quit [Ping timeout: 240 seconds]
jakolehm has joined #ruby
khebbie has joined #ruby
A205B064 has quit [Ping timeout: 264 seconds]
plutonic has joined #ruby
ghormoon has quit [Ping timeout: 256 seconds]
ghormoon has joined #ruby
Mohan_ has joined #ruby
scottstamp has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
mikecmpbll has joined #ruby
<adaedra> Hello
ghormoon has quit [Excess Flood]
<apeiros> hi adaedra
iotouch has joined #ruby
ghormoon has joined #ruby
doertedev has joined #ruby
DerisiveLogic has quit [Ping timeout: 264 seconds]
c0m0 has joined #ruby
kenndel_ has joined #ruby
ki0 has joined #ruby
ki0 has quit [Remote host closed the connection]
terrellt has quit [Ping timeout: 256 seconds]
Abhijit has joined #ruby
Abhijit has left #ruby [#ruby]
davedev24_ has quit [Remote host closed the connection]
ki0 has joined #ruby
gazay has joined #ruby
ki0 has quit [Remote host closed the connection]
scottstamp has quit [Quit: ZNC - http://znc.in]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
ki0 has joined #ruby
ki0 has quit [Remote host closed the connection]
terrellt has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
ki0 has joined #ruby
kenndel has quit [Ping timeout: 255 seconds]
marr has joined #ruby
scottstamp has joined #ruby
exadeci has joined #ruby
relix has joined #ruby
elaptics_away is now known as elaptics
tvw has quit [Remote host closed the connection]
terlar has quit [Quit: WeeChat 1.1.1]
tomphp has joined #ruby
RegulationD has joined #ruby
bigkevmcd has joined #ruby
chthon has joined #ruby
astrobunny has quit [Remote host closed the connection]
d34th4ck3r has joined #ruby
astrobunny has joined #ruby
PaulCapestany has joined #ruby
piotrj has joined #ruby
SouL_|_ has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
SouL_|_ has joined #ruby
pontiki has quit [Ping timeout: 250 seconds]
PaulCape_ has quit [Ping timeout: 240 seconds]
exadeci has quit [Ping timeout: 256 seconds]
astrobunny has quit [Ping timeout: 265 seconds]
avril14th has joined #ruby
User458764 has joined #ruby
Pupeno has joined #ruby
exadeci has joined #ruby
Zai00 has joined #ruby
astrobunny has joined #ruby
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
lidenskap has quit [Remote host closed the connection]
<wasamasa> blech
<wasamasa> kids don't know 'bout my typedefs these days
dvlwrk has quit [Ping timeout: 265 seconds]
aufi_ has joined #ruby
maufart_ has joined #ruby
aufi has quit [Ping timeout: 245 seconds]
lele is now known as Guest24
lkba_ has quit [Ping timeout: 252 seconds]
shuber_ has joined #ruby
aufi_ has quit [Ping timeout: 250 seconds]
fgo has joined #ruby
workmad3 has joined #ruby
scripore has joined #ruby
shuber_ has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
PaulCape_ has joined #ruby
aufi has joined #ruby
quimrstorres has joined #ruby
alex88_ has joined #ruby
quimrstorres has quit [Remote host closed the connection]
PaulCapestany has quit [Ping timeout: 256 seconds]
PaulCape_ has quit [Max SendQ exceeded]
scripore has quit [Quit: This computer has gone to sleep]
quazimodo has quit [Ping timeout: 264 seconds]
juanpablo___ has joined #ruby
PaulCapestany has joined #ruby
matcouto has joined #ruby
Igorshp has joined #ruby
maufart_ has quit [Ping timeout: 255 seconds]
vire has joined #ruby
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
CloCkWeRX has quit [Ping timeout: 264 seconds]
terrellt has quit [Ping timeout: 256 seconds]
alex88_ has quit [Ping timeout: 256 seconds]
terrellt has joined #ruby
juanpablo___ has quit [Ping timeout: 248 seconds]
wolflee has joined #ruby
sameerynho has joined #ruby
astrobunny has quit [Remote host closed the connection]
Oka has quit [Quit: さようなら]
jenrzzz has joined #ruby
lxsameer has quit [Ping timeout: 272 seconds]
oetjenj has joined #ruby
sameerynho has quit [Ping timeout: 255 seconds]
sameerynho has joined #ruby
livathinos has quit [Ping timeout: 276 seconds]
quimrstorres has joined #ruby
Nightmare has quit [Ping timeout: 256 seconds]
ndrei has joined #ruby
jottr has joined #ruby
Nightmare has joined #ruby
wolflee has quit [Remote host closed the connection]
wolflee has joined #ruby
mahtennek has joined #ruby
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
VictorBjelkholm has joined #ruby
arturas_ has joined #ruby
doodlehaus has joined #ruby
CloCkWeRX has joined #ruby
nfk|laptop has joined #ruby
arturaz has quit [Ping timeout: 264 seconds]
wolflee_ has joined #ruby
mdw has joined #ruby
doodlehaus has quit [Ping timeout: 240 seconds]
nfk|laptop has quit [Ping timeout: 248 seconds]
PaulCape_ has joined #ruby
wolflee has quit [Ping timeout: 252 seconds]
kedare has quit [Remote host closed the connection]
PaulCapestany has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
piotrj has quit [Remote host closed the connection]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
astrobunny has joined #ruby
aufi_ has joined #ruby
piotrj has joined #ruby
aufi has quit [Ping timeout: 264 seconds]
aufi_ is now known as aufi
sevenseacat has quit [Quit: Me dun like you no more.]
giuseppesolinas has joined #ruby
SouL_|_ has quit [Ping timeout: 264 seconds]
<shevy> sqlite> .read names.sql
<shevy> can this really take 2 days?
sameerynho has quit [Ping timeout: 264 seconds]
nfk|laptop has joined #ruby
lkba has joined #ruby
<jhass> if it's big enough, sure
lxsameer has joined #ruby
lxsameer has joined #ruby
anarang has joined #ruby
SouL_|_ has joined #ruby
gaussblurinc1 has joined #ruby
nfk|laptop has quit [Client Quit]
jottr has quit [Ping timeout: 252 seconds]
lidenskap has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
sameerynho has joined #ruby
tubuliferous_ has joined #ruby
anarang has quit [Quit: Leaving]
gfawcettpq has quit [Ping timeout: 248 seconds]
lidenskap has quit [Ping timeout: 264 seconds]
lxsameer has quit [Ping timeout: 276 seconds]
lxsameer_ has joined #ruby
tubuliferous_ has quit [Ping timeout: 255 seconds]
anisha has joined #ruby
PaulCapestany has joined #ruby
Soda has joined #ruby
sameerynho has quit [Ping timeout: 244 seconds]
PaulCape_ has quit [Ping timeout: 244 seconds]
sigurding has joined #ruby
charliesome has quit [Quit: zzz]
PaulCapestany has quit [Max SendQ exceeded]
codecop has joined #ruby
marcoecc has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Alina-malina has quit [Ping timeout: 255 seconds]
delinquentme has joined #ruby
PaulCapestany has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
Alina-malina has joined #ruby
User458764 has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
rdark has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
tvw has joined #ruby
bluOxigen has joined #ruby
plutonic has quit [Quit: plutonic]
Vivex has quit [Quit: Leaving]
arturas_ has quit [Ping timeout: 256 seconds]
alex88_ has joined #ruby
hmsimha has quit [Quit: Leaving]
hewenhong has quit [Remote host closed the connection]
zz_Outlastsheep is now known as Outlastsheep
hewenhong has joined #ruby
hewenhong has quit [Client Quit]
davedev24_ has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
Pupeno has quit [Quit: Leaving...]
alex88_ has quit [Ping timeout: 264 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
asaff has joined #ruby
<asaff> how to get friends list using koala gem ............... require 'koala' samp = Koala::Facebook::API.new(oauth_access_token) and then this syntax is giving empty array 2.2.0 :019 > frnds = samp.get_connections("me", "friends") => []
n008f4g_ has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
livathinos has joined #ruby
SHyx0rmZ has joined #ruby
sigurding has quit [Quit: sigurding]
marcoecc has quit [Read error: Connection reset by peer]
* wasamasa read this as "how to get friends"
bluOxigen has quit [Ping timeout: 256 seconds]
VictorBjelkholm has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
PaulCape_ has joined #ruby
SHyx0rmZ has quit [Remote host closed the connection]
<shevy> the perfect programming language
<shevy> it has ALL THE FEATURES
<shevy> it is everything and nothing all at the same time
ghr has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
<shevy> "My ideal would be an extremely dynamic language (duck typed, Jit etc), that can also statically type and AOT compile functions if it needs to, and can also run anywhere - basically javascript in the future and without all the shit in javascript"
<shevy> now you see
<shevy> javascript is ze future
<shevy> (minus the shit)
Alina-malina has joined #ruby
<shevy> jhass yeah, the .sql file is 98MB
<shevy> but I seem to remember that it was much faster in postgresql
<shevy> perhaps sqlite is really good only for smaller stuff :(
<adaedra> Are you /really/ comparing sqlite to postgresql?
<jhass> well, 98M is not that big
<shevy> adaedra I love sqlite!
<shevy> postgresql is good too though
<shevy> but sqlite is like that thing you carry with and nobody minds
<adaedra> As long as you don't use it for big amount of data or performance, it's ok
AlphaAtom has joined #ruby
<shevy> how big is big!
cassianoleal has joined #ruby
<shevy> the 98 MB .sql file has 1_278_123 lines
<shevy> INSERT INTO statements that is
marr has quit []
<jhass> yeah, that' not that many
quazimodo has joined #ruby
RegulationD has joined #ruby
<jhass> I'd start worrying at about 10 as much I think
iotouch has joined #ruby
cmckee has joined #ruby
<shevy> but it already is so slow :(
SOLDIERz has joined #ruby
<shevy> I remember, a year ago, on a postgresql cluster (they obviously had more RAM than I had, I have 4 gigs here), it took about half an hour for a total of 330MB .sql files
<jhass> well, if it doesn't work for you there's no point in using it
<shevy> but I wanna!
<shevy> ah well I guess I'll compare to the others
<shevy> would mongodb be faster?
<jhass> mongodb doesn't do SQL
<adaedra> mongodb is totally different
<adaedra> what's your use case, shevy
<shevy> adaedra the remote database is this one here:
<shevy> whops took a while to find the URL
<shevy> ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz
<shevy> taxdump.tar.gz 31141 KB so... 31 MB I guess
charliesome has joined #ruby
Igorshp_ has joined #ruby
<shevy> when you extract it, you get things like: names.dmp 107M
<shevy> this .dmp file is essentially a CSV file using | as delimiter
<shevy> "7 | Azorhizobium caulinodans Dreyfus et al. 1988 | | synonym |"
RegulationD has quit [Ping timeout: 265 seconds]
<shevy> I used that info to make INSERT INTO statements, into a separate .sql file
<shevy> so I could then query the database for... which IDs are related, which lineage do we have etc...
Igorshp has quit [Read error: Connection reset by peer]
<jhass> can you gist the script? then we can compare
<wasamasa> shevy: "database" is the term for anything storing data you can later retrieve again
charliesome has quit [Client Quit]
<wasamasa> shevy: don't confuse it with RDBMS
piotrj has quit [Remote host closed the connection]
universa1 is now known as universal
universal is now known as universa1
<shevy> ok if it makes you happy, it's a dump of a database then
oetjenj has joined #ruby
<wasamasa> you cannot query a CSV, you query a relational database solution :P
SHyx0rmZ has joined #ruby
<shevy> jhass not sure what you mean with the script, it's several ruby files, about 5000 lines of code I think so far
piotrj has joined #ruby
universa1 is now known as universal
<jhass> the thing that turns the .dmp into the .sql
universal is now known as universa1
aryaching has joined #ruby
<shevy> ok lemme see and find the part
ndrei has quit [Ping timeout: 250 seconds]
DEA7TH has joined #ruby
<jhass> alternatively upload the gzipped .sql somewhere
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
jottr has joined #ruby
lkba has joined #ruby
piotrj has quit [Remote host closed the connection]
NinjaOps has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
<shevy> hmm it's a huge file with INSERT INTO statements such as:
<shevy> INSERT INTO nodes(taxid, parent_taxid, rank) VALUES (1647173,171550,'genus');
quazimodo has quit [Ping timeout: 245 seconds]
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
luriv_ has quit [Ping timeout: 276 seconds]
icarus has quit [Ping timeout: 252 seconds]
arturas_ has joined #ruby
piotrj has joined #ruby
platzhirsch has joined #ruby
lkba_ has joined #ruby
lkba has quit [Read error: Connection reset by peer]
luriv_ has joined #ruby
Morkel has quit [Quit: Morkel]
antgel has quit [Ping timeout: 265 seconds]
<shevy> "the key is to use monoidally structured worlds"
<shevy> I don't even understand what the haskell guys are wanting to express
antgel has joined #ruby
jimms has joined #ruby
blackmesa has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
mahtennek has quit []
jottr has quit [Ping timeout: 265 seconds]
aryaching has quit [Ping timeout: 264 seconds]
lidenskap has joined #ruby
sigurding has joined #ruby
juanpablo___ has joined #ruby
jimms has quit [Ping timeout: 252 seconds]
lidenskap has quit [Ping timeout: 264 seconds]
luriv_ has quit [Ping timeout: 250 seconds]
juanpablo___ has quit [Ping timeout: 244 seconds]
shuber_ has joined #ruby
fella5s has joined #ruby
rodfersou has joined #ruby
User458764 has joined #ruby
ujjain- has quit [Changing host]
ujjain- has joined #ruby
bruno- has joined #ruby
khebbie has quit [Ping timeout: 245 seconds]
piotrj has quit [Remote host closed the connection]
shuber_ has quit [Ping timeout: 245 seconds]
withnale_ has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
Outlastsheep is now known as zz_Outlastsheep
Igorshp_ has quit [Remote host closed the connection]
nfk|laptop has joined #ruby
bruno- has joined #ruby
alex88_ has joined #ruby
gfawcettpq has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
doodlehaus has joined #ruby
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_tpavel has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
alex88_ has quit [Ping timeout: 240 seconds]
Zai00 has quit [Quit: Zai00]
piotrj has joined #ruby
bruno- has joined #ruby
abyss has joined #ruby
piotrj has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 250 seconds]
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<abyss> Hi, I have following script: https://gist.github.com/anonymous/0b8433330661df8b439b. It works well but it is very very slow. How I can improve my script to proccessing the file faster? Any ideas?
krz has quit [Quit: WeeChat 1.0.1]
<apeiros> abyss: use a profiler, see what parts are slow
piotrj has joined #ruby
<apeiros> abyss: note, using -rprofile as profiler will let your script run approximately 100x slower, so be prepared for that (e.g. by using a much smaller input file)
bruno- has quit [Ping timeout: 248 seconds]
<apeiros> abyss: also, what ruby version are you using?
* jhass wonders where people pickup "#{var}" instead of doing simply var.to_s
plutonic has joined #ruby
PaulCapestany has joined #ruby
bruno- has joined #ruby
<apeiros> jhass: I think they simply never pick up var.to_s
<apeiros> cargo cult
<apeiros> I mean, most places don't even need .to_s
<abyss> apeiros: oh, ok I supposed that something will be obvious why it is so slow (for example I am using file.each or datetime). I tested this on ruby 1.8 and 1.9
heftig has quit [Remote host closed the connection]
<jhass> I don't know, it seems so common among people new to the language, I wonder if there's a howto or so with that style
<apeiros> abyss: ok, first step to improve performance - use a ruby version which is not already in the grave
bruno- has quit [Remote host closed the connection]
<apeiros> best would be the current ruby, 2.2.2
<apeiros> jhass: I think most howto's simply feature how to interpolate strings. and then people go and think 'I need a string, so I do "stuff"', and if stuff is a variable, they insert it using the #{} they learned…
<abyss> apeiros: impossible we have production servers and there are some guidelines... Mostly we don't use ruby but I wanted to learn ruby so I have to use the tools that I have (ruby 1.9);)
PaulCape_ has quit [Ping timeout: 256 seconds]
bruno- has joined #ruby
<apeiros> abyss: sounds like shitty guidelines. do you also use windows 2000? linux kernel 2.x? mac os 9?
<abyss> jhass: it is something to my script then the answer is easy: I have lack of knowledge or I not a programmer and I have a lot to learn:)
heftig has joined #ruby
jefus has quit [Ping timeout: 250 seconds]
piotrj has quit [Ping timeout: 276 seconds]
toretore has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> but well, DateTime.strptime in <=1.9 is slow
<apeiros> use pattern matching + Time.mktime/.local instead
<abyss> apeiros: I suppose we could change it if we would use ruby but because only I using ruby in this company nobody give a shit about that;)
<wasamasa> that indentation
<jhass> abyss: well, did you come up with "#{foo}" instead of foo.to_s yourself? Note that I'm talking about literally that, not combining it with another string, like "#{foo} bar"
<wasamasa> I bet using two spaces will speed it up!
ndrei has joined #ruby
<apeiros> additionally, you can drop overhead like `"#{matches[2]}"` -> just `matches[2]`
<wasamasa> abyss: preprocessing the input file will speed it up
icarus has joined #ruby
<wasamasa> abyss: since it's done once and will never be needed again
<apeiros> the rest depends on what the profiler says.
maufart has joined #ruby
<apeiros> I could imagine that the regexen could be optimized, but I doubt they'd have a significant impact
Igorshp has joined #ruby
<apeiros> you can also avoid performing the same match twice. do it once, store the result.
<apeiros> (line 8 & 9)
<abyss> jhass: sorry, my english isn't so good. I don't get it what you wrote, sorry:( You mean I should use something like puts foo.to_s intead of puts #{foo}, yes?
inukshuk has quit [Ping timeout: 256 seconds]
luriv_ has joined #ruby
<abyss> wasamasa: you mean I should get whole file to memory?
<wasamasa> abyss: run your prefered unix utility over it and let it do some regex magic so that it's easier to deal with
<jhass> abyss: puts "#{foo} bar" is fine, puts "#{foo}" is a bit odd, in this instance puts foo is equivalent, in most other instances foo.to_s is equivalent to "#{foo}"
<wasamasa> abyss: be it `sed` or `awk` or `perl` or `ruby` or whatever
matchaw has joined #ruby
<jhass> abyss: but you're not the first one to do that, in fact many people do, so I wonder if you picked that up somewhere
avril14th has quit [Ping timeout: 256 seconds]
Juanchito has joined #ruby
charliesome has joined #ruby
<abyss> jhass: ok I did it unconsciously because - yes it strange;) But where I did that?;)
<apeiros> all over the place
<apeiros> 13:14 apeiros: additionally, you can drop overhead like `"#{matches[2]}"` -> just `matches[2]`
<jhass> yep, ^ that
<abyss> oh, ok in session[here], yes? Hmm I had to see that in some books or example... Because mostly where I read people in hashes did something like this - I don't know why and I repeated the same mistake...
<jhass> don't worry, as said many people do that so I just wondered if somebody teaches it
icarus has quit [Ping timeout: 244 seconds]
<apeiros> I might actually underestimate the impact of the regex. /.* \[(.*) .*\] .* ([a-zA-Z0-9]+)$/ contains tons of backtracking opportunities.
avril14th has joined #ruby
<apeiros> if e.g. that first .* is supposed to match only until the first space, then use [^ ]* instead of .*
<abyss> jhass: yes, a lot of examples in books or tutorials in internet. Thank you for point it out.
tkuchiki has quit [Ping timeout: 245 seconds]
blackmesa has quit [Ping timeout: 256 seconds]
nfk|laptop has quit [Quit: yawn]
plutonic has quit [Quit: plutonic]
<jhass> do you happen to have an example at hand?
luriv_ has quit [Ping timeout: 255 seconds]
iotouch has joined #ruby
semsono has joined #ruby
oetjenj has joined #ruby
d10n-work has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
universa1 is now known as universal
<abyss> jhass: sorry I'm not, I have books at home (now Iam at work). But it could be something like this: example["example"] so I invented that " " should be in every hash;)
PaulCape_ has joined #ruby
<jhass> ah, I see
<jhass> so no, a hash can have anything as key ;)
SOLDIERz has joined #ruby
PaulCapestany has quit [Ping timeout: 252 seconds]
SOLDIERz has quit [Client Quit]
jenrzzz has quit [Ping timeout: 252 seconds]
kp666 has quit [Quit: Leaving]
fo2x has quit [Ping timeout: 276 seconds]
somnium has quit [Ping timeout: 244 seconds]
asaff has quit [Ping timeout: 246 seconds]
<abyss> apeiros: wasamasa thank you as well I will try to avoid "" and read about profile in ruby. And as far as I understand the main problem could be datetime, so I will try to avoid this. I use it, because I found example in internet how to prepare date in apache to date for ruby:)
<abyss> that: \[(.*) .*\] in my accesslogs is apache date, this: ([a-zA-Z0-9]+) is sessions
lxsameer_ has quit [Ping timeout: 256 seconds]
SouL_|_ has quit [Ping timeout: 264 seconds]
sameerynho has joined #ruby
semsono has left #ruby [#ruby]
tubuliferous_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
piotrj has joined #ruby
Robert__ has joined #ruby
charliesome has quit [Quit: zzz]
pwattste has joined #ruby
scripore has joined #ruby
jefus has joined #ruby
tubuliferous_ has quit [Ping timeout: 255 seconds]
<mikecmpbll> curiously, how would you use sprintf with a string that has % symbols in it?
kenndel_ has quit [Ping timeout: 244 seconds]
PaulCapestany has joined #ruby
<mikecmpbll> "\%%s\%" % "test" => "%s%"
<mikecmpbll> likewise without the escape chars
<mikecmpbll> ahh, the % is escaping the other %
<mikecmpbll> >> "%%%s%" % "test"
<ruboto> mikecmpbll # => "%test%" (https://eval.in/319380)
delinquentme has quit [Ping timeout: 256 seconds]
<mikecmpbll> don't panic guiz, i got there.
philip1 has joined #ruby
philip1 is now known as phutchins
PaulCape_ has quit [Ping timeout: 256 seconds]
vt102 has joined #ruby
rocknrollmarc has joined #ruby
doodlehaus has quit [Remote host closed the connection]
SOLDIERz has joined #ruby
fo2x has joined #ruby
PaulCapestany has quit [Max SendQ exceeded]
inukshuk has joined #ruby
ldnunes has joined #ruby
<hanmac> mikecmpbll: hm not enough "%"
<hanmac> >> % %%%s% % %%test%
<ruboto> hanmac # => "%test%" (https://eval.in/319381)
<apeiros> abyss: it's not `avoid ""`, "" is good. what's superfluous is `"#{some_string}"`
<apeiros> because that's just a very verbose way to write `some_string`
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
PaulCapestany has joined #ruby
charliesome has joined #ruby
User458764 has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
cmckee has quit [Quit: cmckee]
somnium has joined #ruby
emocakes has quit [Ping timeout: 245 seconds]
<abyss> apeiros: to avoid double checking regexp I should do something like this: if matches = line =~ parseapache or something? Of course this won't work but...;) (BTW: I put this regexp to variable;) But I suppose it's not what you meant;)
<apeiros> matches = line.match(regex); if matches; …
<jhass> abyss: .match returns nil if there's no match
<jhass> >> "foo".match /does not/
<ruboto> jhass # => nil (https://eval.in/319383)
<jhass> >> if nil; puts "and it's falsey"; end;
<ruboto> jhass # => nil (https://eval.in/319384)
RegulationD has quit [Ping timeout: 250 seconds]
scripore has quit [Quit: This computer has gone to sleep]
shuber_ has joined #ruby
luriv_ has joined #ruby
<abyss> I did: if ( matches = parseapache.match(line)) and it's even works;)
vikaton has joined #ruby
<abyss> oh, ok I can't do that
<abyss> that way I mean
unshadow has joined #ruby
Rollabunna has quit [Remote host closed the connection]
<jhass> you can do that, but doing assignments in if conditions is discouraged by many here
sigurding has quit [Quit: sigurding]
<abyss> but it always return true because you always assing somehting to matches and then you always get true... Or not?;)
delinquentme has joined #ruby
<jhass> no
<unshadow> Hi guys, I need some help, I'm trying to wrap a porject in 'c' called libinjection using FFI, something isn't working and I'm not sure what (becuse I have a one day experiance with 'c'), This is my code --> https://gist.github.com/bararchy/f962f4003f6eb734a443 and this is the project page on github --> https://github.com/client9/libinjection
<jhass> abyss: the first thing to understand is that the value of an assignment is the right hand side
<jhass> >> x = (foo = 1); x
<ruboto> jhass # => 1 (https://eval.in/319392)
<jhass> as you can see x got 1 assigned
shuber_ has quit [Ping timeout: 252 seconds]
<jhass> because the value of (foo = 1) is 1
tonyhb has joined #ruby
<jhass> abyss: and the second thing to understand is that, as I showed above, .match returns nil when there's no match
segfalt has joined #ruby
<jhass> and nil is considered falsey, that means it's treated like false in conditions
PaulCape_ has joined #ruby
sigurding has joined #ruby
marr has joined #ruby
<jhass> but just do match = x.match /bar/; if match; put "there's a match!"; end; if that confuses you, that style is actually preferred by many
<jhass> unshadow: and what's the error message?
tonyhb has quit [Client Quit]
jeromelanteri has joined #ruby
<abyss> jhass: ok, thank you for explanation.
PaulCapestany has quit [Ping timeout: 256 seconds]
tonyhb has joined #ruby
workmad3 has joined #ruby
jeromelanteri has quit [Client Quit]
<apeiros> abyss: if you have example data, we can check
<apeiros> abyss: also, did you profile the script yet? :)
<abyss> apeiros: No, I will do it at home, I have to do something different now :( (even not reffered to ruby!:( ) ;)
gagrio has quit [Ping timeout: 240 seconds]
magicien_ has quit [Remote host closed the connection]
delinquentme has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
pontiki has joined #ruby
<abyss> apeiros: but for sure that datetime is bad in this script;)
scripore has joined #ruby
<unshadow> jhass, the error message is [BUG] Segmentation fault at 0x0000000000025c
<apeiros> abyss: not bad, just slow ;-)
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<unshadow> jhass, yeha, I know it dosent really help XD , sadly it just prints tons of info, I managed to make it work once, then it just collapses all the time, My issue is I think, is that I dont know how to pass on the pointer for the Struct I created
Mezjin has joined #ruby
ponga has quit [Remote host closed the connection]
<abyss> apeiros: now I have something like this: https://gist.github.com/anonymous/8120ba4bd14b1463166a and it doesn't change anything :) So it must be that datetime:) Thank you. At home I will read about profile;)
ponga has joined #ruby
<apeiros> abyss: how do you know that it doesn't change anything? i.e. how do you measure?
astrobunny has quit [Ping timeout: 255 seconds]
<apeiros> and what it really is you will not know until you actually profiled ;-)
krisquigley has quit []
<jhass> unshadow: could be anything from that part of the message
doodlehaus has joined #ruby
<jhass> unshadow: I'm not familiar with FFI, does FFI::Pointer.new allocate memory?
claptimes5 has joined #ruby
<abyss> apeiros: via time, before was: real 0m0.613s now I have: real 0m0.607s, so I bit lied that doesn't change anything, but changed not so much;)
<claptimes5> hey guys
<unshadow> jhass, yeha it does, but I dont know how to tell it to point for the Struct
jottr has joined #ruby
<hanmac> i use regexp with named group in ? : format:
<hanmac> >> /(?<v>[bd])/ =~ "abc" ? v : nil
<ruboto> hanmac # => "b" (https://eval.in/319395)
<apeiros> 0.6s is too slow? o0
<apeiros> or is that for a reduced set?
claptimes5 has left #ruby [#ruby]
<abyss> apeiros: no, its on small amount of date:)
<abyss> *data
<apeiros> I suggest you gist that data
<abyss> yes, for reduced set
<apeiros> I'd like to run it against 1.9 vs. 2.2 and against my implementation
<unshadow> jhass, this is what I get when running using gdb
<unshadow> Program received signal SIGSEGV, Segmentation fault.
<unshadow> libinjection_sqli_init (sf=0x7, s=0x81f070 "testing", len=7, flags=0) at libinjection_sqli.c:1265
<unshadow> 1265 memset(sf, 0, sizeof(struct libinjection_sqli_state));
astrobunny has joined #ruby
delinquentme has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
scripore has quit [Quit: This computer has gone to sleep]
<jhass> sounds like sf points to invalid memory to me
imanzarrabian has joined #ruby
imanzarrabian has quit [Client Quit]
<jhass> unshadow: another cavehat: use .bytesize not .size, but I guess you test with only ascii input for now so it shouldn't cause the issue
jottr has quit [Ping timeout: 240 seconds]
<unshadow> jhass, Changed :)
<abyss> apeiros: thank you for you help. I have to back to my work :/ Maybe tommorow?:)
<apeiros> sure
Pupeno has joined #ruby
ponga has quit [Ping timeout: 250 seconds]
<jhass> unshadow: oh, actually, you allocate a pointer of the size of your input data, it wants something it can write the struct into though
gaussblurinc1 has quit [Quit: Leaving.]
aryaching has joined #ruby
juanpaucar has joined #ruby
<unshadow> jhass, Got it to works :) apperntly , setting Sfilter.new returns the pointer
<unshadow> I fell stupid :(
PaulCapestany has joined #ruby
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> bindings are hard :/
gagrio has joined #ruby
pwattste has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
PaulCape_ has quit [Ping timeout: 256 seconds]
doodlehaus has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 252 seconds]
JDiPierro has joined #ruby
luksaur has joined #ruby
<jokke> hi
<jokke> i'm having some trouble with my system ruby installation
<jokke> i get these errors
_tpavel has quit [Quit: Leaving]
<jokke> and i don't know where they come from
<wasamasa> strace to the resque!
<jokke> i don't use gem for system ruby
Rapier- has joined #ruby
<jokke> wasamasa: hm?
camilasan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<wasamasa> jokke: easiest tool to find out what the call you're doing happens to access
oo_ has quit [Remote host closed the connection]
<jokke> oh god
SOLDIERz has joined #ruby
rocknrollmarc has quit [Quit: My damn controlling terminal disappeared!]
<jokke> ah i see
<jokke> problem is
<jokke> that system ruby gems try to use my local gems
<jokke> seems that the gem path is set wrong
SOLDIERz has quit [Client Quit]
<jokke> wasamasa: you're developing on arch, so how do you deal with this?
camilasan has joined #ruby
<jokke> wasamasa: what rvm are you using?
<wasamasa> jokke: I'm not using rvm
<jokke> wasamasa: none?
<jokke> i mean ruby version manager generally speaking
<wasamasa> well, some day I found out the project I was working on absolutely required ruby 2.1
<wasamasa> so I went ahead, installed that ruby in /opt from the AUR and added a symlink to it in ~/bin
<wasamasa> I use bundler for my work project just fine
<wasamasa> and gem locally for the few scripts residing in ~/bin
bruno- has quit [Ping timeout: 240 seconds]
basiclaser has joined #ruby
<jokke> wasamasa: ok i see
<jokke> and what about pry?
<wasamasa> pry is installed as local gem
gr33n7007h has quit [Ping timeout: 276 seconds]
<jokke> ok
<wasamasa> I'm using rbenv on some debian server in combination with ruby-install
<jokke> symlinking rubies to /usr/bin is too much of a hassle for me
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lidenskap has joined #ruby
<wasamasa> then let chruby or whatnot do that for you
<jokke> yeah
<jokke> i'm trying
<wasamasa> I just did the symlink thing because I already had ~/bin in my path
Peetooshock is now known as piqzilla
piqzilla has left #ruby ["Leaving"]
<jokke> ok.. i'm uninstalling all ruby-* packages now...
juanpablo___ has joined #ruby
<wasamasa> wasn't that what demonicmaniac suggested?
<jokke> he did?
<wasamasa> automatically creating ruby packages for pacman?
sameerynho has quit [Ping timeout: 250 seconds]
lidenskap has quit [Ping timeout: 256 seconds]
rustam has joined #ruby
failshell has joined #ruby
rodfersou has quit [Ping timeout: 276 seconds]
sameerynho has joined #ruby
<failshell> anyone knows a gem that generates a help menu and supports the following cli format: tool option suboption?
andersoldahl has joined #ruby
<shevy> failshell hmmmmm
<failshell> i usually use mixlib/cli but this new tool could use that format
<shevy> I am not sure of a single gem to combine all of this
juanpablo___ has quit [Ping timeout: 245 seconds]
<failshell> i can obviously parse ARGV
<failshell> but im sure someone wrote a wrapper around that
<shevy> that's what I usually do :) I hate getoptlong and optionparser so much
rodfersou has joined #ruby
<shevy> for parsing ARGV, there are several gems
<failshell> ever tried mixlib/cli? its pretty good
<shevy> then I think... thor ... and a few more, I forgot the name
andersoldahl has quit [Max SendQ exceeded]
<shevy> nope, never heard of it before
sankaber has joined #ruby
<shevy> but what I do know is that I'll stop to use optionparser in the long run
zz_barkerd427 is now known as barkerd427
<failshell> the guys writing Chef wrote it
<failshell> mixlib/cli > *
<failshell> imho
rodfersou has quit [Client Quit]
mostlybadfly has joined #ruby
ruisanto1 is now known as ruisantos
rodfersou has joined #ruby
<shevy> no idea
<shevy> I like the slop syntax though
Zai00 has joined #ruby
jottr has joined #ruby
ponga has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
n008f4g_ has joined #ruby
pontiki has quit [Quit: leaving]
SOLDIERz has joined #ruby
jottr has quit [Read error: Connection reset by peer]
PaulCape_ has joined #ruby
jottr has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
universal is now known as universa1
universa1 is now known as universal
universal is now known as universa1
digifiv5e is now known as daynaskully
RegulationD has joined #ruby
rustam has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
PaulCapestany has quit [Ping timeout: 276 seconds]
User458764 has joined #ruby
<jokke> i still get the same errors
<jokke> if i actually try running gem pristine ffi --version 1.9.8
<jokke> i get permission errors for /usr/lib/ruby/gems/2.2.0 directory
oo_ has joined #ruby
fryguy9 has joined #ruby
Lewix has joined #ruby
PaulCapestany has joined #ruby
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
CloCkWeRX has joined #ruby
Dreamer3_ is now known as Dreamer3
PaulCape_ has quit [Ping timeout: 276 seconds]
fgo has joined #ruby
davedev24_ has quit [Remote host closed the connection]
sameerynho has quit [Quit: Leaving]
griffindy has joined #ruby
synapplix has joined #ruby
bruno- has joined #ruby
gaussblurinc1 has joined #ruby
failshel_ has joined #ruby
Lewix has quit [Client Quit]
astrobunny has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 256 seconds]
<synapplix> is there a recommendation for a non commercial ruby ide? please only answers with a link to some documentation
astrobunny has joined #ruby
gagrio has quit [Ping timeout: 276 seconds]
mengu has joined #ruby
<shevy> don't think there are many IDEs in ruby
dblessing has joined #ruby
lavros has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
thoughnut has joined #ruby
<prambaud_> synapplix, Emacs ?
<synapplix> yes that is the problem that there are not so many, but i would like to know how ruby developers work :D
<certainty> +1
<ponga> editor
<prambaud_> synapplix, It works really fine ;)
astrobunny has quit [Read error: No route to host]
scripore has joined #ruby
<synapplix> emacs sound good but i think most new developers need first an introduction to emacs
<thoughnut> someone using microemacs?
rdark has quit [Ping timeout: 256 seconds]
<rom1504> no
<certainty> no
<ponga> ruby is a scripting language, why would you need IDE
<prambaud_> synapplix, One week with only emacs as editor for any language, and you can rule the world
<ponga> get your editor
<thoughnut> why not?
<certainty> rhtml-mode + projectile-rails is a good start
<certainty> or haml if you insist
mary5030 has joined #ruby
<shevy> synapplix well, mostly, I try the other approach. I try to be as simple as possible. I do have a lot of local documentation though
<thoughnut> that sucks
<synapplix> i personally would try it with emacs but i look more for some new folks
mary5030 has quit [Remote host closed the connection]
<prambaud_> Otherwise, use https://github.com/bbatsov/prelude
<thoughnut> use microemacs synapplix
scripore has quit [Client Quit]
<thoughnut> don't be fooled by commercials
<thoughnut> ;)
<thoughnut> no offense you guys
mary5030 has joined #ruby
scripore has joined #ruby
sdothum has joined #ruby
<certainty> every emacs setup is different anyway
<shevy> synapplix when I need reminders, from the commandline, I can use aliases such as: "basedir?" and this will then output this here: RbConfig::CONFIG['sitelibdir']+'/name_of_project'
<shevy> synapplix then I use other helpers, such as "rubygen foo.rb" which generates a custom foo.rb file with my preferences (a ruby skeleton file that I can fill up)
<shevy> sort of I have a mixed "IDE", if I use the commandline and also an editor on top of that (in my case bluefish 1.0.7)
<synapplix> the main target is working on an existing redmine plugin
sgambino has joined #ruby
<thoughnut> synapplix give me a link
<synapplix> some students should work on it and need some debug sessions to fix errors ...
laindir has joined #ruby
scripore has quit [Client Quit]
<thoughnut> yeah why not..
rdark has joined #ruby
<thoughnut> synapplix that one is slippery slop
<thoughnut> you should fix the gaps
AlexRussia has joined #ruby
<thoughnut> otherwise it's gonna be a pain in the ass
PaulCape_ has joined #ruby
<synapplix> which gaps?
<shevy> you are very brave
<shevy> to work on old plugins
<shevy> :)
PaulCapestany has quit [Ping timeout: 256 seconds]
quimrstorres has quit [Remote host closed the connection]
iasoon has joined #ruby
<synapplix> i don´t someone else should do it :D
allcentury has joined #ruby
<shevy> one of the hardest things I face is the psychological one... to adjust to how someone else wrote in a specific ruby style when it is different to mine
blackmesa has joined #ruby
iotouch has joined #ruby
<thoughnut> shevy yes it works
<thoughnut> please check it now
<allcentury> shevy: every developer that starts at my new comapny instantly wants to rewrite every piece of code they see in our codebase.
scripore has joined #ruby
<synapplix> personally i would kick ruby, i like java and scala, but shit happens and there are people using redmine and rails apps ;-)
<shevy> hahaha
<allcentury> they all have 15 different ways to redo it
<thoughnut> ;) no it's ok
<shevy> allcentury reminds me of: https://xkcd.com/927/
<allcentury> haha
<allcentury> exactly
juanpablo___ has joined #ruby
<thoughnut> hahah
PaulCape_ has quit [Max SendQ exceeded]
<thoughnut> yeah it works that way
<thoughnut> :D
laindir has left #ruby ["timeout: 265 seconds"]
PaulCapestany has joined #ruby
Dopagod has joined #ruby
maufart has left #ruby ["WeeChat 1.1.1"]
<shevy> I felt like that when I do rewrites
GnuYawk has joined #ruby
<synapplix> i think most of the time we have a problem with good library knowledge, most languages come with great libraries but many developers dont know them
<shevy> Rewriting small classes is usually simple, but rewriting a lot of different classes is hard and takes so long
gagrio has joined #ruby
<shevy> synapplix not sure if all libraries in default ruby stdlib/core are that great :)
krz has joined #ruby
<synapplix> i personally dont talk about ruby, ruby is a mess for me, java runtime or scala runtime has many years of refinement
oo_ has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 256 seconds]
<shevy> I have no idea about java
<shevy> but you sort of need an IDE for it right?
<certainty> nope
<certainty> emacs
<certainty> or vim
TheBrayn has joined #ruby
thumpba has joined #ruby
juanpablo___ has quit [Ping timeout: 248 seconds]
<shevy> are you saying that you are a java hacker certainty
tubuliferous_ has joined #ruby
doodlehaus has joined #ruby
<certainty> no
<shevy> you were my lisp hero
rdark has quit [Quit: leaving]
<certainty> i just have an oppinion on everything
<certainty> xD
<shevy> well, they have those big fat things
<shevy> eclipse
<shevy> and that other one
havenwood has joined #ruby
<certainty> yeah i've used that
<certainty> didn't like it
<shevy> it's so big, it's a full linux distribution
<synapplix> no i only want to know how ruby developers think, how they work ... but most time i get answer like ... ??? it is a mess
<jhass> people say that about emacs too :P
<certainty> only the os in emacs lacks a proper editor :D
<shevy> synapplix it's really true, we work in a simple way. and rather OOP centric
<shevy> we model the data into classes or modules and let the methods define their behaviour
<jhass> synapplix: the most common workflow is some decent editor (vim, emacs, sublime, textmate) and a terminal with pry
gagrio has quit [Ping timeout: 256 seconds]
mgorbach has quit [Ping timeout: 256 seconds]
<shevy> certainty you could always use vim from within emacs
<certainty> viper mode?
<TheBrayn> hi
<certainty> evil mode?
<certainty> M-x term and then start vim?
<synapplix> i dont know if you know martin odersky or scala, but if you know that scala is not OOP centric it can but it must not and it is working on jvm, if you really think about it that is really great language development
alienaut has joined #ruby
<TheBrayn> I would like to iterate over the capture groups of a match, is there a better way than doing “Hash[match.names.zip match.captures].each do |key, value|”?
oo_ has joined #ruby
nikosBob has joined #ruby
<synapplix> you can develop the best langauge but if you dont distribute support tools for it is bad
thumpba has quit [Ping timeout: 248 seconds]
<jhass> synapplix: pry + pry-doc + pry-byebug + pry-stack_explorer and maybe + pry-rescue + pry-remote make the best debugger you can get (in ruby), and it's completely sufficient which is why you don't see open source graphical or integrated debuggers in the Ruby world
<jhass> there's simply no demand for them
tubuliferous_ has quit [Ping timeout: 276 seconds]
odin22 has joined #ruby
hewenhong has joined #ruby
hewenhong has quit [Remote host closed the connection]
<jhass> TheBrayn: not really, you could .each the names and retrieve the value in the loop with MatchData#[], depends on the usecase what I'd prefer
mengu has quit [Remote host closed the connection]
juanpablo___ has joined #ruby
hewenhong has joined #ruby
<ericwood_> yeah I found that beyond inserting binding.pry for inspecting state I don't use many other debugging features
reinaldob has joined #ruby
mengu has joined #ruby
<jhass> I have pry-stack_explorer in the standard toolset since I sometimes trace an execution path not only forward from the current breakpoint but also backwards (up the stack)
<jhass> makes it easy to figure out where your values came from
hewenhon_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
quimrstorres has joined #ruby
mgorbach has joined #ruby
opes_ has quit [Max SendQ exceeded]
kenndel_ has joined #ruby
opes has joined #ruby
hewenho__ has joined #ruby
<synapplix> jhass thanks and you working with emacs or vim command line?
mrmargolis has joined #ruby
charliesome has quit [Quit: zzz]
unshadow has quit [Quit: leaving]
<jhass> no, I use sublime + zsh
treehug88 has joined #ruby
scripore has joined #ruby
<thoughnut> what kind of environment is that?
<jhass> sublime text as editor and zsh as shell
patronus_ has quit [Read error: Connection reset by peer]
gr33n7007h has joined #ruby
<jhass> terminology as terminal and gnome shell as DE if you want to know all the details ;)
<hewenho__> k-vim
<synapplix> jhass yeah i know that, any special ruby plugins for sublime?
<thoughnut> ;)
patronus has joined #ruby
<jhass> no, not really
hewenhong has quit [Ping timeout: 276 seconds]
Robert__ has quit [Ping timeout: 240 seconds]
gagrio has joined #ruby
joonty has joined #ruby
<jhass> thoughnut: I only really depend on gitgutter and valign on the sublime text side of plugins, both nothing Ruby specific
joonty has quit [Client Quit]
ItSANgo has quit [Read error: Connection reset by peer]
hewenhon_ has quit [Ping timeout: 248 seconds]
<jhass> git savvy looks like a decent git integration into sublime
mengu has quit [Remote host closed the connection]
fgo has joined #ruby
ItSANgo has joined #ruby
xMopxShell has quit [Ping timeout: 250 seconds]
PaulCape_ has joined #ruby
<thoughnut> jhass me too
<jhass> Origami is neat if you work with multiple editor panes frequently
paulcsmith has joined #ruby
<shevy> zsh users are snobbish
pwattste has joined #ruby
<jhass> shevy: we learn from the bluefish users
<jhass> can only aim for the goal though
xMopxShell has joined #ruby
codecop has quit [Remote host closed the connection]
<shevy> you should learn that bash is the way to go
<thoughnut> why only bash?
* havenwood glances at his monocle and adjusts his top hat.
iamayam has quit [Ping timeout: 264 seconds]
<shevy> thoughnut well, could be fish too of course. it has nice syntax colouring
oo_ has quit [Remote host closed the connection]
* havenwood babbles about POSIX compliance.
<jhass> haha, I was just going to say I'd take you for a fish user :P
<synapplix> so much religion here :-)
<thoughnut> too much :-)
gonzalo2 has joined #ruby
<Nilium> People use fish? O_o
PaulCapestany has quit [Ping timeout: 256 seconds]
TheMoonMaster has quit [Ping timeout: 252 seconds]
<certainty> like reall *use* it?
<gonzalo2> well hello there
<gonzalo2> first time in IRC
justinweiss has quit [Ping timeout: 240 seconds]
Robert__ has joined #ruby
<gr33n7007h> would doing this install latest rvm: \curl -L https://get.rvm.io | bash -s -- --ignore-dotfiles --autolibs=0 --ruby
multi_io has quit [Ping timeout: 255 seconds]
ruboto has joined #ruby
<shevy> fish is really not that bad
sumark has quit [Ping timeout: 244 seconds]
<shevy> it's a bit awkward, but that's also thinking outside the box
<thoughnut> how to do it?
<shevy> wtf is this havenwood
<shevy> a fishman?
multi_io has joined #ruby
<thoughnut> a fish
<shevy> and how do you even *find* such things
treehug88 has quit [Ping timeout: 276 seconds]
iamayam has joined #ruby
<c355E3B> i use fish as my shell
<shevy> have you been to the dark parts of the internet again
<adaedra> In soviet Russia, such things find you!
<certainty> shellfish?
jinie has quit [Ping timeout: 255 seconds]
<waxjar> fish <3
mary5030 has quit [Read error: Connection timed out]
sumark has joined #ruby
<thoughnut> selfish
<shevy> future mothers will have to educate their youngsters - stay away from the dark side of the internet
<thoughnut> ahahahah
<adaedra> future?
<adaedra> dude.
<thoughnut> future dudes
<thoughnut> :P
<havenwood> gr33n7007h: That'd be master, yeah. Without setting up dotfiles or installing requirements, but installing Ruby.
Olipro has quit [Ping timeout: 252 seconds]
<jhass> gonzalo2: soo, welcome! how's your first minutes so far? :D
jinie has joined #ruby
Drakevr has quit [Ping timeout: 255 seconds]
<thoughnut> it's a bot. confirmed
<gr33n7007h> havenwood: ah, ok thanks
<havenwood> gonzalo2: hallooo
kenndel_ has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
<adaedra> gonzalo2: welcome
_xCept has quit [Ping timeout: 245 seconds]
marahin has quit [Ping timeout: 255 seconds]
Olipro has joined #ruby
Drakevr has joined #ruby
ccooke has quit [Ping timeout: 255 seconds]
<havenwood> >> 'hallooo'.sub('a', 'e').squeeze('o')
<ruboto> havenwood # => "hello" (https://eval.in/319414)
justinweiss has joined #ruby
marahin has joined #ruby
marahin is now known as Guest8338
<synapplix> jhass some recommendation how to setup sublime projects for rails apps? or should you really go only with the editor ?
<adaedra> hallååå
<NinjaOps> I don't think fish supports ! quick history
<adaedra> synapplix: sublime and shell should be all you need
<shevy> as said, fish is weird
jottr has quit [Read error: Connection reset by peer]
<NinjaOps> zsh, is the bomb
<shevy> but it has fancy live colouring
Guest3556 has quit [Remote host closed the connection]
<jhass> synapplix: yeah, you don't really need anything more
treehug88 has joined #ruby
<havenwood> shevy: I do like colors...
<TheBrayn> jhass: thanks, I think I'll stick to my solution
<jhass> editor, shell, browser for docs (devdocs.io is decent for something combined)
_xCept has joined #ruby
<Nilium> I mostly tell people to stick to bash or zsh at most
jottr has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
tkuchiki has joined #ruby
<shevy> havenwood I do too but it's a bit too much in fish... I remember pp vs ap, awesome print, awesome print was like colour overflooding my eyes....
<Nilium> Or at least only write scripts for sh or bash
fryguy9 has quit [Quit: Leaving.]
ccooke has joined #ruby
<synapplix> jhass perhaps some license key? :-) i hate such menu entries
fryguy9 has joined #ruby
<NinjaOps> yea, I use ZSH for all my dev work access, and BASH for server scripting
enebo has joined #ruby
<NinjaOps> if I am not using Ruby
<thoughnut> Bash is better
<jhass> synapplix: if you want to get rid of the nagging popup to buy it every dozen saves
tcrypt has quit [Remote host closed the connection]
<thoughnut> than zsh
<thoughnut> :P
<certainty> powershell rules
TheMoonMaster has joined #ruby
<jhass> synapplix: it just keeps nagging forever, no limited functionality
thoughnut has quit [Quit: leaving]
<waxjar> fish is great, it has a nice scripting language, tab completion for everything (it parses man pages :D) and the colouring is really neat :D
<Nilium> certainty: You just go back to the hole from whence you came
<jhass> the license is more a tip to the dev
<NinjaOps> Bash is not better in ZSH, they are both good for different things
<certainty> Nilium: :)
<waxjar> only downside is it isn't POSIX compatible
<certainty> havenwood: omg <3
PaulCapestany has joined #ruby
gregf has quit [Quit: WeeChat 1.0.1]
mary5030 has joined #ruby
kenndel_ has joined #ruby
piotrj has quit [Remote host closed the connection]
skit_ has quit [Ping timeout: 255 seconds]
gfawcettpq has quit [Ping timeout: 276 seconds]
piotrj has joined #ruby
gonzalo2 has quit [Quit: WeeChat 0.4.2]
<synapplix> jhass a tip to Yukihiro Matsumoto would be first ide than language. "Matsumoto has said that Ruby is designed for programmer productivity and fun, following the principles of good user interface design". but something he was missing ...
scripore has quit [Quit: This computer has gone to sleep]
mengu has joined #ruby
gfawcettpq has joined #ruby
PaulCape_ has quit [Ping timeout: 256 seconds]
kaspernj has joined #ruby
<ponga> im not sure what IDE could offer ruby than an editor
<havenwood> synapplix: We prefer REPL driven development.
<ponga> its a high level scripting language
evanjs has joined #ruby
scripore has joined #ruby
<gr33n7007h> this ssd is rapid booya!
<ericwood_> refactoring tools are a great feature of IDEs
<synapplix> "I hope to see Ruby help every programmer in the world to be productive, and to enjoy programming, and to be happy. ..." -- Yukihiro Matsumoto
<ericwood_> RubyMine and friends have some really powerful stuff to make refactoring/renaming/whatever much simpler/safer
<jhass> synapplix: that an IDE achieves those goals is simply opinion, you seem to forget that
Robert__ has quit [Ping timeout: 256 seconds]
<havenwood> synapplix: Jump between your REPL and editor of choice. It's just text. That makes some of us happy!
<synapplix> yeah i personally know rubymine, but it must be licensed and that is not working for my company
<jhass> the other opinion is that an IDE forces a workflow onto you
shuber_ has joined #ruby
<synapplix> jhass maybe but that is not true for great ide´s
<NinjaOps> Anyone ever use ruby-ruesday?
<NinjaOps> Anyone ever use ruby-tuesday?
mitchellhenke has joined #ruby
<havenwood> synapplix: Great text editor and REPL combo is a delight as well. There's more than one way to do it.
lfox has joined #ruby
<jhass> synapplix: what makes a great IDE is again purely opinion
terlar has joined #ruby
jakolehm has quit []
<shevy> emacs
<NinjaOps> ed
<synapplix> havenwood i know that from scala it is ok, but if you have really great projects you will need more than that
Rollabunna has joined #ruby
<shevy> actually, yukihiro uses emacs
<jhass> synapplix: I used and preferred Sublime over Eclipse for the simple Java exercises during my studies for example, creating an eclipse project for each one was just too much overhead
michael_mbp has quit [Excess Flood]
ekaleido has joined #ruby
<jhass> synapplix: you also forget at what time Ruby was written
<synapplix> jhass: great ide means universal ide, i think eclipse is an universal ide
<shevy> but ruby is not an IDE, it is a "scripting" language, which as name implies lightness. java also does not come with some obligatory IDE, you can use notepad
mengu has quit []
<shevy> use eclipse as you write ruby code
<jhass> synapplix: I'm starting to think you're here to troll...
<synapplix> jhass: "1995; 20 years ago"
<ponga> but i 'd want IDE for java tho
<ponga> but for ruby im okay on terminal
mary5030 has quit [Read error: Connection reset by peer]
<synapplix> jhass: time to build "infrastructure"
quazimodo has joined #ruby
freerobby has quit [Quit: Leaving.]
mary5030_ has joined #ruby
michael_mbp has joined #ruby
delinquentme has quit [Ping timeout: 276 seconds]
Selinda has joined #ruby
<Selinda> Hi
<synapplix> shevy: ruby is not for writing scripts only
<shevy> ponga synapplix needs an IDE
n008f4g_ has quit [Ping timeout: 248 seconds]
ghr has joined #ruby
<havenwood> Selinda: hi
<Selinda> Kinda wondering, how popular is Ruby nowdays?=
shuber_ has quit [Ping timeout: 255 seconds]
alex88_ has joined #ruby
tonyhb has quit [Quit: peace]
<NinjaOps> Selinda: Ruby is VERY popular... it's what Chef and Puppet are based on, and just about every cloud service out there has a SDK for ruby
jerematic has joined #ruby
lessless has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<shevy> synapplix well you could try to see in which editor rails was written - that was a fairly big project
fmcgeough has joined #ruby
<shevy> The size of the rails-4.1.1 gem is: 1.4M
<shevy> that's huge for ruby
dudedudeman has joined #ruby
<shevy> it's one tenth of the size of ruby!
<shevy> ruby-2.2.2.tar.xz: 10M
<havenwood> ponga: TIOBE is so bizarre...
treehug88 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ponga> havenwood: i know..
freerobby has joined #ruby
<shevy> TIOBE says java is the best programming language out there
<synapplix> "you also forget at what time Ruby was written" -- jhass; "1995; 20 years ago" -- synapplix; i worked with rubymine or jetbrains/ruby plugin. it is great (many features ... ) . but i ask myself. 20 years and no mainstream ide
<Selinda> Horrible language
<Selinda> Java
dudedudeman has quit [Changing host]
dudedudeman has joined #ruby
Akuma has joined #ruby
<synapplix> Selinda try scala
gregf has joined #ruby
<shevy> synapplix there is no use case, jhass also said that, I said that. Look at rails, it's one of the biggest, and I am sure they used something like vim or emacs for it
<ponga> C# , a better dressed brother of java from another land
<havenwood> synapplix: Or a nice language on the JVM like JRuby.
<Selinda> Many people talk about Scala but it's not mature yet.
<ponga> no wonder i love C#
<Selinda> C#?
<synapplix> scala or F#
<havenwood> Selinda: JRuby is lovely.
<Selinda> C# sucks even more.
<shevy> ponga well it is ranked #5 now
<ponga> shevy: what, C#?
<shevy> yeah
<ponga> im ok with C#
<ponga> its versatile
<ponga> not hella verbose
alex88_ has quit [Ping timeout: 272 seconds]
<shevy> C# looks better than java
<shevy> but it also looks like these languages are soooo similar
<jhass> synapplix: and it doesn't occur to you that it's simply not needed? 20 years time, major companies that depend on it and it didn't happen
<shevy> can't they all agree on one language to rule them all
<synapplix> ruby (or rails) gave great influences to java frameworks too, i know the play!-framework and it has copied many ideas from rails
<jhass> why is it so hard to accept the majority of Ruby devs simply don't need an IDE to be productive with their language?
mitchellhenke has joined #ruby
blueOxigen has joined #ruby
<havenwood> synapplix: If we wanted an IDE we'd have one!
bluOxigen has quit [Ping timeout: 255 seconds]
<Selinda> If you code in C#, you must have depression.
PaulCape_ has joined #ruby
<DefV> well
<DefV> I like IDE's
juanpablo___ has quit [Quit: (null)]
<shevy> I am sure the java frameworks are much bigger
<DefV> but don't use one in Ruby
<shevy> havenwood: why is ruby not on the main axis, but next to it? python is on the main axis: http://sogrady-media.redmonk.com/sogrady/files/2015/01/lang.rank_.plot_.q1152.png
<DefV> because it's never good enough
<havenwood> Selinda: Folk love coding in C#.
<havenwood> shevy: I guess people use Ruby more than they have questions about it. :P
ryan___ has quit [Quit: Lost terminal]
juanpablo___ has joined #ruby
<synapplix> havenwood: i hope that is true, and not only a matter of missing the bigger view
SOLDIERz has quit [Ping timeout: 250 seconds]
<shevy> :(
<Selinda> shevy, The Java libraries are the biggest right now.
dopie has joined #ruby
<shevy> ponga: let's unite in a fight against the java
justinmcp_ has quit [Remote host closed the connection]
<ponga> shevy: was i ever not in?
<Selinda> havenwood, Folk have been coding for 20 years without understanding algorithms or even know how to translate binary to decimal. That's what they are, coders. Not programmers.
delinquentme has joined #ruby
justinmcp has joined #ruby
<shevy> ponga: ah I don't know, we just have it more spirited from now on
tagrudev has quit [Remote host closed the connection]
<ponga> my first impression at C# was that i totally got to ditch Java away
<shevy> hehe
<havenwood> Selinda: Coders are programmers who write code, right? And programmers are coders who program?
PaulCapestany has quit [Ping timeout: 256 seconds]
jottr has quit [Ping timeout: 264 seconds]
<shevy> I am a PHP programmer
<Selinda> havenwood, No.
<shevy> I program PHP
<Selinda> havenwood, Learn the difference between coders and programmers.
<ponga> shevy: how did PHP help you
<havenwood> Selinda: Stop pretending there's a difference.
<ponga> in terms of well being
<Selinda> havenwood, There is a big difference.
<shevy> ponga hmm. When i switched to ruby, I dragged custom_functions.php with me
<havenwood> Selinda: Twice as many letters in "Programmer" I suppose.
<Selinda> havenwood, Stop pretending there's none because it hurt your feelings. The truth is one.
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy> ponga that lateron became custom_methods.rb in a module
<shevy> ponga I sort of dump everything useful into it; often it's just a method, that then goes to invoke some other class somewhere else. but php, for www stuff, was actually not bad - I kind of carried over everything I used back then into ruby, and now I use ruby for web stuff
<NinjaOps> Oh and your forgot Developer (So you have Programer, Developer, Coder)
d34th4ck3r has quit [Quit: zzz]
<Selinda> A developer can be a programmer or coder.
JDiPierro has quit [Remote host closed the connection]
<synapplix> if you work with redmine (ruby rails app) using plugins for redmine, you will notice that this can be a huge project. for me it is funny that i find call failures (stack...) only at runtime
<shevy> ponga one day I hope to use opal and get rid of any javascript that I would have to write myself
<Selinda> The programmer-coder difference is big and you should look it up before someone laughs in your face.
<ponga> shevy: you hate javascript?
<shevy> ponga not really hate, but I want to "think" in ruby if I can
eichenwald has joined #ruby
<synapplix> an ide could percompile and test it, give you hints
davedev24_ has joined #ruby
<havenwood> Selinda: Five letters isn't too big of a difference.
juanpablo___ has quit [Ping timeout: 255 seconds]
<ericwood_> I found tools like underscore/lodash made JS life easier
<ponga> shevy: i think and write in ruby, sometimes i rewrite my ruby code into javascript
<Selinda> havenwood, I feel sorry for your knowledge.
dudedudeman has quit [Ping timeout: 265 seconds]
<shevy> synapplix ok but you can use test/ files too
DerisiveLogic has joined #ruby
<ericwood_> a lot of my fave ruby/FP methods were usable again :D
sankaber has quit [Read error: Connection reset by peer]
<havenwood> Selinda: I never pity knowledge, maybe existential angst.
<shevy> angst!
sankaber has joined #ruby
<shevy> a german word!!!
<Selinda> havenwood, Agnostic.
treehug88 has joined #ruby
<synapplix> shevy: often those plugins are not from myself, plugins have sometimes no test files and are for some specific version of redmine, that is not funny
<ponga> shevy: is your first language German
The_Phoenix has joined #ruby
<shevy> Angstostic!
<quazimodo> pundit is weird as
<shevy> Angst = Fear... but it is actually a cool guttural word... reminds me of monty python sketch
<shevy> "woody words"
granthatcher has quit []
<ponga> oh yeah
<ponga> woody words..
The_Phoenix has quit [Max SendQ exceeded]
<havenwood> Selinda: Like all those massive differences between a lawyer and an attorney. So different it hurts!
<Selinda> German word? You mean greek word..
<Selinda> God..
<shevy> ponga yeah, sort of. a local dialect here
scripore has quit [Quit: This computer has gone to sleep]
<Selinda> havenwood, Braindead confirmed.
<shevy> ponga but english sort of is where everyone can or should understand one another
<havenwood> Selinda: The words mean the same thing. If you like to read meaning into the one or the other have fun, but don't expect others to agree with you.
mary5030_ has quit [Remote host closed the connection]
<ponga> i thought Eng was ur 1st language shevy
jottr has joined #ruby
<ponga> and plus, Selinda would you stop behaving like that
<Selinda> havenwood, No, the words do not mean the same thing. Go look it up before you make your own definitions.
<havenwood> Selinda: One who programs. One who codes. One who develops.
The_Phoenix has joined #ruby
<Selinda> havenwood, You are clearly giving vibes that you have no idea about computer science.
<Selinda> I feel sorry, truly.
The_Phoenix has quit [Max SendQ exceeded]
notfowl has quit [Changing host]
notfowl has joined #ruby
notfowl has joined #ruby
fryguy9 has quit [Quit: Leaving.]
<ponga> i feel pity of Selinda ridiculous behaviour
<quazimodo> Selinda: i once did a computer sciene
<ponga> stop being an arse
paulcsmith has quit [Quit: Lingo: www.lingoirc.com]
<ericwood_> oooh did I walk in on some kind of argument
<gr33n7007h> ruboto: !assinate Selinda
<Nilium> What argument?
<quazimodo> ericwood_: did you ever do a computer scince?
DerisiveLogic has quit [Ping timeout: 245 seconds]
jonaslund has joined #ruby
<ericwood_> I studied CE, yes
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<quazimodo> i once did a computer scence
<ponga> what is it , am i like only one without CS background
The_Phoenix has joined #ruby
<jonaslund> Hi, i'm writing a thesis and i'm trying to compare what i'm doing in JS to what someone else did in ruby
scripore has joined #ruby
<quazimodo> ponga: they get to water trees and everything
<Nilium> I studied English.
<jonaslund> values in Ruby objects
<jonaslund> erm, properties
<jonaslund> (or called attributes in ruby land?)
<quazimodo> jonaslund: i think you'll find they're known as "things" in ruby
<jonaslund> when and how can they be added?
livathinos has quit []
<ericwood_> jonaslund: are you talking about instance variables?
<ericwood_> like @whatever
<jonaslund> ericwood_: yes
<quazimodo> ericwood_: instance things, yes
<Selinda> havenwood, "That said, coder is a pejorative term used to imply that one is not passionate about their work and is merely a "day coder." I.e. they do not spend much of their own time outside of work programming, learning about programming, computers and other matters useful to the profession."
<Selinda> Open a book, learn something.
<quazimodo> pejorative?
<jhass> jonaslund: the general answer about "when can things be added" in ruby is: all the time
<ericwood_> you can define them whenever, althouhg you have to use things like attr_accessor and whatnot to access them easily outside of the class itself
paulcsmith has joined #ruby
<quazimodo> so i'm not a coder?
<havenwood> Selinda: Seems you're trying to insult me. Stop that!
<quazimodo> i thought iwas
Feyn has quit [Quit: Leaving]
<jonaslund> jhass: can they be removed also ?
<ericwood_> books are stupid open a PDF gosh
<jhass> yes
<jonaslund> (like javascript's delete operator)
<Selinda> havenwood, Use your brain then.
<quazimodo> jonaslund: they all implicitly 'exist' as nil
<quazimodo> you can do @anyoldthing and it'll return nil
fabrice31 has quit [Remote host closed the connection]
<quazimodo> i'm sure the ruby implementation allocates memory and everything too
<jhass> quazimodo: first access defines though
thumpba has joined #ruby
<quazimodo> yep
<jonaslund> can the type be changed after the first access ?
<ericwood_> it'll get GC'd away eventually if it doesn't get used
PaulCapestany has joined #ruby
<quazimodo> jonaslund: no such thing as type
The_Phoenix has quit [Max SendQ exceeded]
<jonaslund> right
<jhass> or we do have types, variables just don't
dudedudeman has joined #ruby
<havenwood> Selinda: I don't think these words mean what you think they mean. Maybe that's your local parlance, but it isn't what most folk mean by "coder."
<ericwood_> you can reassign it to whatever
dudedudeman has quit [Changing host]
dudedudeman has joined #ruby
<jhass> *oh
<quazimodo> jhass: what typeS?
<quazimodo> everything seems to be an instance of a class
<quazimodo> and all inherit from object, no/
<quazimodo> ?
hewenho__ has quit [Remote host closed the connection]
<ericwood_> yes
<jhass> yep, and some people call a class a type
<Selinda> havenwood, Get a better understanding, it's your definition that's wrong.
<ericwood_> havenwood: don't engage
<quazimodo> oh, but a class certainly isn't a type
<ericwood_> havenwood: this is a good use-case for /ignore :)
<jhass> Selinda: what's your point, currently you're just repeating the same thing again and again
<quazimodo> not at all
chrissonar has quit [Remote host closed the connection]
<jhass> Selinda: you on't convince anybody with that
<jhass> Selinda: if you want to argue, argue, provide background for your own claims
* jonaslund is writing a static JavaScript compiler and one of the other implementations of the static type inference algorithms was the ecstatic compiler for Ruby
<quazimodo> mostly
<synapplix> "Coding is really something like 80% navigation, and only 20% actual writing" -- http://henrikwarne.com/2012/06/17/programmer-productivity-emacs-versus-intellij-idea/ ; i agree with that if you work on huge projects
<jhass> Selinda: currently you're showing exactly the behaviors you accuse others of
PaulCape_ has quit [Ping timeout: 265 seconds]
<quazimodo> i wanna know why ruby, which is *less* abstract than common lisp, is so so so much goddam slower
<jhass> Selinda: and that's why you're getting such backlash
<ericwood_> jonaslund: along the lines of typescript and whatever that otehr one is?
<quazimodo> with super terribad thread support
<jonaslund> I'm reading their paper and trying to see how they did a particular thing
<Selinda> jhass, Not my fault if he won't understand.
<quazimodo> mri, to be specific
Spami has joined #ruby
<jhass> Selinda: yes it is, you refuse to explain
<ericwood_> quazimodo: I mean I guess fibers are system-level threads
<ericwood_> but...yeah not amazing lang for threading
<Selinda> jhass, I have already tried.
<jonaslund> ericwood_: no, more like starkiller, shedskin and ecstatic. the compiler has to deduce all information from regular files without any specific annotations
kaspernj has quit [Remote host closed the connection]
<jhass> Selinda: I didn't notice so
unshadow has joined #ruby
<ponga> omg crown is having words
* ponga runs off
<quazimodo> ericwood_: reads like a picture book though
<synapplix> jhass: i am not confident with sublime and zsh
<Selinda> Also, every normal capable human can google.
<ericwood_> jonaslund: iirc typescript will do type inference without annotations, but only for literals
User458764 has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
<synapplix> i think i will go the emacs way
<jhass> synapplix: and I'm not confident with eclipse, tools need time to learn, that's natural
riotjones has quit [Remote host closed the connection]
<Selinda> synapplix, Emacs is slow on startup.
<ericwood_> eh not really
<ericwood_> and that's not an issue if you leave it running all the time
<Selinda> I have been using it for over 12 years, it is slow.
<ericwood_> okay cool
<jhass> synapplix: additionally zsh and sublime are highly customizable tools, so they also need time to customize to your workflow, or better put it takes time till you develop a workflow for a new environment
<unshadow> Hi guys, I'm workig on integrating a filter for SQL Injections and XSS attacks for ruby using the libinjection (c lib), it looks like it's working right now (not even sure how hahah), you can use it as much as you want , enjoy :) (Thanks jhass) it's here --> https://github.com/bararchy/ruby-libinjection
<ponga> perhaps slow startup means you need a cup of tea to relax
thumpba has quit [Remote host closed the connection]
<ponga> or is it?
<ericwood_> ponga: like 1 or 2 sec
<Selinda> It's not bad, but if you want to edit open/close files, you should consider vim.
<synapplix> like with eclipse it is not recommended to install the ubuntu packaged version, is that true for emacs too?
<Selinda> Emacs, vim is not same as an IDE.
<Selinda> You have to learn how to use them.
<jonaslund> ericwood_: ah, i might need to take a closer look at the details but in general if you find that someone has added type annotations it tends to be fairly restricted variants
<Selinda> It will take time.
<Selinda> There are commands, scripts.. a lot of things.
<quazimodo> emacs ftw
<synapplix> i like vim too, but i dont see so much tools for rails applications http://emacswiki.org/emacs/RubyOnRails
<ericwood_> jonaslund: wish I could elaborate more, I haven't messed with them much, just watched a talk on them at empireJS yesterday tho!
<ericwood_> synapplix: you don't really need them tbh
<quazimodo> sadly the people behind emacs are too autistic
<jonaslund> ericwood_: also typescript is more about giving programmers ways to check their code, my compiler generates C code to compile to native code
<quazimodo> all they needed to do was package it up more nicely
<ericwood_> synapplix: there's some nice ones in vim-rails but really I never find myself wanting them
<quazimodo> my emacs looks and works better than sublime
<ericwood_> jonaslund: ah okay that's very different :P
<quazimodo> took me god knows how many hours to make it do that
<Selinda> It would be weird if your emacs didn't work better than sublim.
<NinjaOps> quazimodo: you got a screenshot?
zotherst1pidguy has joined #ruby
mary5030 has joined #ruby
<zotherst1pidguy> anyone with some guso experiance?
<Selinda> I have a heavily modified microemacs, faster than any vim. But it's self modified.
<quazimodo> NinjaOps: hold up. The color scheme is... very suited to me but may ... be offensive to you
hellome has joined #ruby
<synapplix> ericwood_: "Projectile is a project interaction library for Emacs. Its goal is to provide a nice set of features operating on a project level without introducing external dependencies" -- http://www.emacswiki.org/emacs/Projectile ; referencde from http://emacswiki.org/emacs/RubyOnRails
sivsushruth has joined #ruby
volongato has joined #ruby
<ericwood_> synapplix: ¯\_(ツ)_/¯cool
<synapplix> i need some overview
<ericwood_> I'd say ease yourself into large packages and whatnot
<ericwood_> start with the basics, then build up
<ericwood_> applies to Vim and Emacs
<jonaslund> ericwood_, jhass , quazimodo : thanks for the help guys, gonna go through details of that paper now :)
<Selinda> Yea don't start using heavy stuff at start.
<gr33n7007h> /set irc.server_default.username gr33n7007h
<Selinda> You need to learn the basics.
<Selinda> It takes time to learn either vim or emacs.
<synapplix> the basics and up in "Coding is really something like 80% navigation, and only 20% actual writing" -- http://henrikwarne.com/2012/06/17/programmer-productivity-emacs-versus-intellij-idea/
<Selinda> Years to learn them good.
rbennacer has joined #ruby
reinaldob has quit [Remote host closed the connection]
delinquentme has quit [Ping timeout: 265 seconds]
<ericwood_> I'm a huge believer in starting with an empty vimrc then building up as you want/need stuff
<ericwood_> highly recommend Vundle and its ilk for managing plugins too
volongato has quit []
<ericwood_> makes it easy to manage and try out packages
fryguy9 has joined #ruby
weemsledeux has joined #ruby
dstarh has joined #ruby
<Selinda> synapplix, If you manage to learn Emacs or Vim, it's like learning a mini language.
<synapplix> ericwood_: thanks for insight to vim workflows
bruno- has quit [Read error: Connection reset by peer]
<synapplix> i love vim, but i say i am not an expert with it
<quazimodo> NinjaOps: stupid emacs
<ericwood_> give it time, don't hesitate to look stuff up if you feel like there's a better way to do something
<quazimodo> NinjaOps: it's not looking beautiful enough
<Selinda> synapplix, Yes it takes time.
My_Hearing has joined #ruby
bruno- has joined #ruby
<ericwood_> the minute you're doing something repetitive step back and see if there's a better way to go about it (there usually is!)
<quazimodo> NinjaOps: honestly it's a cunt of a thing to configure sometimes
DaniG2k has joined #ruby
Mon_Ouie has quit [Ping timeout: 248 seconds]
ismaelga has joined #ruby
<jhass> jonaslund: if you're interested in type interference, you might also be interested in Crystal, which is a type interfering compiled language with a syntax very close to Ruby. Especially where their algorithm fails to interfere the types might be interesting
PaulCape_ has joined #ruby
malcolmva has quit [Ping timeout: 245 seconds]
<havenwood> zotherst1pidguy: Having gosu issues?
<jhass> jonaslund: also most of the syntax changes are due to that, so comparing ruby to it might be interesting
PaulCapestany has quit [Ping timeout: 256 seconds]
<quazimodo> sorry it took so long
delinquentme has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<NinjaOps> quazimodo: nide
<NinjaOps> nice
<jonaslund> jhass: I stumbled upon Crystal earlier today actually, might take a peek but i've plowed a lot of type inference litterature in the last year(s) :)
<quazimodo> NinjaOps: i went to town on the theme
<quazimodo> really ought to load up a normal theme :P
<ponga> crystal!
zotherst1pidguy has quit [Quit: Lost terminal]
<quazimodo> whats Crystal
scripore has joined #ruby
reinaldob has joined #ruby
<synapplix> ericwood_: vim-pathogen, Vundle, vim-addon-manager -- all try to do similar things?
<ericwood_> synapplix: somewhat. I recommend Vundle honestly
arturas_ has quit [Remote host closed the connection]
<jonaslund> jhass: Kinda short on time to get the thesis done right now so new reading has to go on the backburner, thanks for pointing at it though :)
<ponga> quazimodo: soft type language that has syntax similar to ruby
<ericwood_> pathogen is great if you're developing plugins and want to do some of the management manually but Vundle is more what you're looking for imho
<quazimodo> ponga: what's the poin?
unshadow has quit [Quit: leaving]
<ponga> its faster, its compiled
<synapplix> ericwood_: for that i am here, .. recommendations :-) thanks
<ponga> it builds exe
<ponga> standalone
<quazimodo> ponga: yeah but, what's the point?
<quazimodo> i mean, those are things it does, but what's it's selling point
<quazimodo> why would I use it?
huddy has joined #ruby
<quazimodo> (learning haskell over here)
<ponga> quazimodo: its compiled and faster
<gr33n7007h> use lua
<quazimodo> lua's cool
<quazimodo> love3d
<quazimodo> love2d?
cassianoleal has quit [Read error: Connection reset by peer]
<quazimodo> 3d i thing
<quazimodo> i can't remember
cassianoleal has joined #ruby
<gr33n7007h> lua is awesome imo
Zai00 has quit [Quit: Zai00]
aphprentice has quit [Remote host closed the connection]
<quazimodo> i'm gonna stick to haskell tho
<quazimodo> freaking amazing language
<dreinull75> I love how Integer.new(3) doesn't work. Breaks my cool code.
ponga has quit [Remote host closed the connection]
<adaedra> ?
<adaedra> >> Integer(3)
<ruboto> adaedra # => 3 (https://eval.in/319444)
tvw has quit [Ping timeout: 250 seconds]
<gr33n7007h> >> Integer.new(3)
<ruboto> gr33n7007h # => undefined method `new' for Integer:Class (NoMethodError) ...check link for more (https://eval.in/319445)
PaulCapestany has joined #ruby
<adaedra> >> def Integer.new(n); Integer(n); end; Integer.new(3)
<dreinull75> I'm receiving class names dynamically via Sequel db types (k). k.new works for all but integers.
<ruboto> adaedra # => 3 (https://eval.in/319446)
<havenwood> >> def Integer.new n; Integer n end; Integer.new(3)
<adaedra> Dirty, tho.
<ruboto> havenwood # => 3 (https://eval.in/319447)
Zai00 has joined #ruby
<havenwood> adaedra: heh, beat me to it ;P
<jonaslund> uh
<dreinull75> yup, no more monkey patching than necessary
PaulCape_ has quit [Ping timeout: 256 seconds]
<jonaslund> the Ruby compiler didn't even support recursion
* jonaslund facepalms
<havenwood> jonaslund: It does.
<adaedra> uh
<adaedra> 1) There's no compiler 2) it does
<jonaslund> havenwood: i'm talking about a thesis work by some danish student that i was referring to
<havenwood> jonaslund: ahh
<dreinull75> basically ruby is not up for the 21st century. ;P
<jonaslund> sorry, the particular ruby compiler i was reading about :)
<adaedra> Does it supports recursiøn though?
<dreinull75> certainly.
<jonaslund> adaedra: heheh :D
<quazimodo> jonaslund: it does recursnon, though it's not optimised for it afaix
<havenwood> adaedra: I read compiler to mean interpreter and recursion to mean tail call optimization. :P
ArchRogem has joined #ruby
prphp has joined #ruby
<quazimodo> then again, the only thing ruby's optimised for is being delicious to look at (and killing you with nil)
psy_ has joined #ruby
<havenwood> hackeron: ah
snockerton has joined #ruby
cassianoleal has quit [Quit: Textual IRC Client: www.textualapp.com]
malcolmva has joined #ruby
<dreinull75> quazimodo hence my finding with Integer.new. Nil entails a lot more problems than benefits
ta_ has joined #ruby
The_Phoenix has joined #ruby
<havenwood> I'd like TCO to be fully enabled by default, since i generally slightly prefer it to trace.
The_Phoenix has quit [Max SendQ exceeded]
ta_ has quit [Client Quit]
ag4ve_ has joined #ruby
fgo has quit [Ping timeout: 248 seconds]
iotouch has quit [Quit: 离开]
cpt_yossarian has quit [Ping timeout: 256 seconds]
The_Phoenix has joined #ruby
alienaut has quit [Ping timeout: 256 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
jobewan has joined #ruby
last_staff has quit [Quit: last_staff]
tesuji has quit [Ping timeout: 252 seconds]
davedev24_ has quit [Read error: Connection reset by peer]
Flowrhent has joined #ruby
<Flowrhent> w3ln66a5
davedev24_ has joined #ruby
fabrice31 has joined #ruby
rdark has joined #ruby
Akuma has quit [Quit: So long sukkas!]
<wasamasa> is that a password?
shuber_ has joined #ruby
evanjs has quit [Remote host closed the connection]
<havenwood> wasamasa: shhh sekret
<adaedra> hunter2
<shevy> hmm
mitchellhenke has joined #ruby
<shevy> if I write some ruby script in Ruby-C, it would be faster?
<shevy> I am thinking about that for scripts that I run like 10.000 times or so in the next 5 years
PaulCape_ has joined #ruby
<Flowrhent> Yeah, focus window error. I am going to change it.
<havenwood> shevy: I'd be curious to see the before and after.
<shevy> hehe
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
evanjs has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
shuber_ has quit [Ping timeout: 272 seconds]
<jhass> quazimodo: IMO Crystal's selling point is that it's a strongly & statically typed, compiled language that feels a lot like writing ruby
<jhass> oh and also it teaches you to avoid nil :D
__main__ has quit [Ping timeout: 255 seconds]
bal has quit [Quit: bal]
cornfeedhobo has left #ruby ["when i leave, come together like butt cheeks"]
charliesome has joined #ruby
_lovehandle_ has joined #ruby
mleung has joined #ruby
juanpablo___ has joined #ruby
zotherstupidguy has joined #ruby
mleung has quit [Client Quit]
thoughnut has joined #ruby
PaulCapestany has joined #ruby
<synapplix> thanks all, have nice day, bye
synapplix has quit [Quit: Leaving]
mary5030_ has joined #ruby
mary5030 has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
__main__ has joined #ruby
PaulCape_ has quit [Ping timeout: 256 seconds]
paulcsmith has quit [Quit: Be back later ...]
tubuliferous_ has joined #ruby
paulcsmith has joined #ruby
gonzalo1 has joined #ruby
juanpablo___ has quit [Ping timeout: 276 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nszceta has joined #ruby
<jhass> shevy: if it's a self contained script, I see no benefit in reusing MRIs toolset over plain C
<waxjar> jhass: how's Crystal stability-wise now?
d10n-work has quit [Quit: Connection closed for inactivity]
Zai00 has quit [Quit: Zai00]
<jhass> still quite in flux tbh
failshel_ is now known as failshell
gonzalo1 has left #ruby ["WeeChat 0.4.2"]
<jhass> currently the IO model is revamped to something pcl & libevent backed
<jhass> so it's going to be similar to goroutines I heard (I don't know Go)
tkuchiki has quit [Remote host closed the connection]
delinquentme has quit [Ping timeout: 245 seconds]
_ixti_ has joined #ruby
tkuchiki has joined #ruby
gagrio has quit [Ping timeout: 240 seconds]
<gr33n7007h> RUSH one of the best films of 2013
tubuliferous_ has quit [Ping timeout: 264 seconds]
aganov has quit [Remote host closed the connection]
tvw has joined #ruby
ixti has quit [Ping timeout: 264 seconds]
Morkel has joined #ruby
longfeet has joined #ruby
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
blueOxigen has quit [Ping timeout: 265 seconds]
ngr has joined #ruby
tkuchiki has quit [Ping timeout: 276 seconds]
lidenskap has joined #ruby
sent1nel has joined #ruby
riotjones has joined #ruby
DerisiveLogic has joined #ruby
thumpba has joined #ruby
PaulCape_ has joined #ruby
hollywood has joined #ruby
evanjs has quit [Remote host closed the connection]
fabrice31 has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
delinquentme has joined #ruby
fabrice31 has joined #ruby
leex_ has left #ruby [#ruby]
<waxjar> jhass: cool, seems really interesting to checkout out once it's stable
PaulCapestany has quit [Ping timeout: 256 seconds]
<jhass> waxjar: it's definitely already in the state where we need people to poke at it and build up an ecosystem
rkazak has quit [Ping timeout: 252 seconds]
evanjs_ has joined #ruby
Filete has joined #ruby
lidenskap has quit [Ping timeout: 244 seconds]
<jhass> so yeah, still a way until you want to base business relevant stuff on it, but good enough to base some toy projects on it
Guest31411 is now known as C0deMaver1ck
riotjones has quit [Ping timeout: 264 seconds]
thumpba has quit [Ping timeout: 264 seconds]
sigurding has quit [Quit: sigurding]
Zai00 has joined #ruby
riotjones has joined #ruby
lidenskap has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
icebourg has joined #ruby
dfinninger has joined #ruby
juanpablo___ has joined #ruby
juanpaucar has quit [Remote host closed the connection]
jud has quit [Quit: Leaving]
kblake has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
mwlang has joined #ruby
basiclaser has quit [Quit: Connection closed for inactivity]
bim has joined #ruby
bim is now known as Guest85797
aiRness has joined #ruby
PaulCapestany has joined #ruby
<aiRness> Hello. Is the "info" log level include warn and err on the logger?
juanpablo___ has quit [Ping timeout: 276 seconds]
PaulCape_ has quit [Ping timeout: 240 seconds]
dfinninger has quit [Read error: Connection reset by peer]
juanpablo___ has joined #ruby
<Selinda> Any recommended for book towards mastering Ruby for a C++ geek?
<Selinda> (Mainly interested in web development)
Soda has quit [Remote host closed the connection]
dfinninger has joined #ruby
aufi has quit [Quit: Konversation terminated!]
dfinninger has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
<havenwood> Selinda: The Well-Grounded Rubyist, Second Edition or The Ruby Programming Language are good books for a coder. ;)
<jhass> aiRness: should be
<aiRness> jhass: ok
thumpba has joined #ruby
tcrypt has joined #ruby
<Selinda> havenwood, Hm, I have looked into The Well-Grounded Rubyist before a bit but it seems a bit dry.
<Sou|cutter> Selinda: learning ruby the language and applying that to web development are two slightly different things. Could probably go for books on both topics separately
Lissie has joined #ruby
joonty has joined #ruby
<jhass> Selinda: or if you're up to something more interactive, codeschool.com might be something for you
<Selinda> Nah I prefer books really.
<Selinda> I hate missing important stuff.
<havenwood> What's a book that covers Rack apps well?
kblake has quit []
<Sou|cutter> Rack Attack: The Stack to Hack
<jhass> not sure what's there much to cover
<Sou|cutter> j/k, that would be a great title though
joonty has quit [Read error: Connection reset by peer]
piotrj has quit [Remote host closed the connection]
joonty has joined #ruby
baroquebobcat has joined #ruby
<havenwood> jhass: I was thinking more the ecosystem, like Rack adapters and webservers. I guess it changes a good bit over time but I'd be interested in a survey of the ecosystem.
aiRness has left #ruby [#ruby]
<havenwood> And middleware. I think there's a good bit to talk about.
<gregf_> aiRness: well DEBUG will include info, warn
<Selinda> Dafuq, where is Ruby there.
bluOxigen has quit [Ping timeout: 265 seconds]
<gregf_> ah - err. nevrmind
rhllor has joined #ruby
<jhass> it's a wiki, add it
kblake has joined #ruby
Eiam_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* hanmac can do web developing in C if he wants ;P
kedare has joined #ruby
fgo has joined #ruby
joonty has quit [Client Quit]
<waxjar> "if he wants" will always be false, tho :P
tubuliferous_ has joined #ruby
thoughnut has quit [Quit: leaving]
EagleDelta has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
joonty has joined #ruby
thumpba has quit [Remote host closed the connection]
<jhass> hanmac: let's write Ral, Rails on the assembler language
freerobby has quit [Quit: Leaving.]
<Selinda> jhass, How long have you been programming in Ruby?
segfalt has quit [Quit: segfalt]
EagleDelta has quit [Remote host closed the connection]
<jhass> a good 3 years I think
<gr33n7007h> by looks of things since he was born
<havenwood> Here's one I haven't read: http://rebuilding-rails.com/
PaulCapestany has quit [Ping timeout: 256 seconds]
rbennacer has joined #ruby
msgodf has quit [Remote host closed the connection]
<adaedra> jhass: wow, since you first discovered ruby?
<Selinda> I know really nothing about Ruby.
<jhass> adaedra: started contributing to diaspora and picked up rails & ruby in the process
EagleDelta has joined #ruby
freerobby has joined #ruby
* gr33n7007h shocked
<adaedra> wow
delinquentme has quit [Ping timeout: 276 seconds]
segfalt has joined #ruby
<Selinda> Would you recommend Ruby and RoR for web development now days? I mean there is Nodejs and such languages starting to mature.
<jhass> it always depends on what you want to do
<adaedra> NodeJS?
fgo has quit [Ping timeout: 265 seconds]
<adaedra> Yuck yuck yuck
dvlwrk has joined #ruby
<jhass> web development is a diverse topic, these days you can ask the same question, taking out the word web and it's pretty equivalent
granthatcher has joined #ruby
<Selinda> Hm?
djmittens has joined #ruby
<jhass> you write code that produces something, if that something happens to be a bunch of text that can be read as HTML & CSS you call it web development, if it's a bunch of text that can be nicely displayed on a terminal you call it CLI development
shuber_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tvw has quit []
<jhass> "Is X good for web development?" is as good of a question like "Is X good for development?"
<adaedra> er
_blizzy_ has quit [Ping timeout: 256 seconds]
<adaedra> I may oppose that
<jhass> the question you need to ask is "Is X good for my [specific goal]?"
freerobby has quit [Quit: Leaving.]
<adaedra> A language may be usable for general development, but not provide fit tools for web and be then not really good for web
Pupeno has quit [Remote host closed the connection]
<jhass> and even then "good" is very much open to interpretation
<adaedra> yeah
allenn has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
tvw has joined #ruby
Pupeno has joined #ruby
<Selinda> jhass, I know quite how to ask the question. I have been a system developer for a lot of years. I'm not familiar with the web, which I want to be a part of now.
prambaud_ has quit [Remote host closed the connection]
GaryOak_ has joined #ruby
<jhass> "what's a good language to write GUIs?" Could you answer that question? Because I can't
Hijiri has quit [Quit: WeeChat 1.0.1]
freerobby has joined #ruby
<Selinda> That's not the same at all. A similar question would be, what's a good language for system development?
shuber_ has quit [Ping timeout: 276 seconds]
<jhass> "what's a good language to write a Gtk application?" might be easier to answer, it narrows down the scope already, however the good question to ask is "what should I use to write this simple calendar application with feature X and Y to be used by people using Gnome?"
<DefV> I wouldn't know how to answer that
vire has quit [Ping timeout: 245 seconds]
delinquentme has joined #ruby
<DefV> "It depends on your background"
scripore has quit [Quit: This computer has gone to sleep]
<eam> there are pretty clearly some language which are good for web development and some which are not -- the question is fine
zorak8 has joined #ruby
pwattste has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> I wouldn't use forth to make a webapp
<jhass> well, then I better bail out of it I guess
<nickjj> jhass, yeah or what platform it's designed to run on
tcrypt has quit []
<waxjar> to answer your question Selinda, yes i would. Ruby's ecosystem for webdevelopment is excelllent and it doesn't perform too bad
hollywood has quit [Quit: Leaving]
charliesome has joined #ruby
<Selinda> This is not philosophy, either you don't want to understand the question or you don't know the answer yourself.
gr33n7007h has quit [Quit: WeeChat 1.1.1]
<eam> ruby is a good language for prototyping things quickly or for processing text
tvw has quit [Client Quit]
<jhass> my point is that I simply can't recommend a single tool for all usecases I can imagine under the term "web development"
gr33n7007h has joined #ruby
<DefV> Ruby is a bad language to create a contact form for a website
<Selinda> jhass, Then say instead what Ruby is good and bad for. I already told you, I know nothing about Ruby, All you need is common sense.
<DefV> but it's a good language to build a system like Basecamp
<DefV> "But wouldn't basecamp be better built with x?"
<DefV> It depends
PaulCapestany has joined #ruby
<DefV> if you have a team of developers proficient in PHP, Ruby is a bad language to start creating a web app in
<jhass> What's C good for?
<Selinda> eam, waxjar Hm yea I also heard that. At what scale of a project would you say Ruby will start performing less good? For example, how long can you go with the prototype?
hollywoo- has joined #ruby
scripore has joined #ruby
<jhass> nvm, I should bail out
<DefV> haha jhass
<Selinda> jhass, Embedded systems and low level programming.
<eam> Selinda: ruby will work indefinitely. When capex of your deployed base is more expensive than developer time, you might consider something more efficient
<RegulationD> Selinda, it depends on how much money you have to spend on servers :)
jonaslund has left #ruby [#ruby]
<jhass> Selinda: so Gtk made a bad choice by using C
<waxjar> Selinda, hard to answer that. it'll depend on what your application does
<Selinda> jhass, Yep.
<wasamasa> lol
ag4ve_ has quit [Ping timeout: 248 seconds]
<jhass> no further questions
<Selinda> Actually, it's 2015.
<eam> jhass: frankly, C is a poor choice for business logic in GUI apps
mistermocha has joined #ruby
<jhass> "yes, Ruby is good for web development" is my answer for you then
<wasamasa> eam: let's use javascript instead
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
shevy has quit [Ping timeout: 276 seconds]
granthatcher_ has joined #ruby
<eam> wasamasa: javascript is a poor choice for .. anything
<wasamasa> eam: yet it's used for that kind of thing :P
<Selinda> Even tho C is used a lot because of legacy code, it is obsolete. So yes to your question jhass .
<waxjar> it's a good choice for humourous talks! :D
<eam> wasamasa: yeah, installed base is huge
<wasamasa> eam: welcome to qml
<adaedra> eam: too bad, I have to use it for in browser interraction
cmckee has joined #ruby
hiyosi has joined #ruby
<eam> in a similar vein I write a lot of C, though I know it's not the best tool for most jobs
<Selinda> eam, When say I should consider another language, you meant a statically one correct?
<eam> Selinda: at that point it depends on the details of what you're doing
hollywoo- is now known as hollywood
<Selinda> Well, github was made with RoR (if I'm not mistaken) and it's a pretty big project.
<eam> when you're at a point that you consider moving from ruby to another language you'll be able to hire someone to do a proper analysis
<DefV> OMG YOUR IGNORANCE IS HURTING MY BRAIN
relix has joined #ruby
<adaedra> what now
rbennacer has quit [Remote host closed the connection]
<DefV> Selinda: you can't make that kind of statement
<RegulationD> twitter was predominantly Rails for a long time before switching to (predominantly) Scala (I think). but they also had lots of VC dollars
<Selinda> eam, Of course, that's true.
<DefV> what makes Github work is a combination of smart people, the right tools at the right place, a lot of good caching, ...
rbennacer has joined #ruby
<adaedra> aaaaand?
<DefV> but Github could've been written in PHP, Go, Elixir, Python, ...
<DefV> it depends on your team
<DefV> Facebook uses PHP
<DefV> maybe you should consider that
<adaedra> What's the point
<Selinda> DefV, Facebook uses PHP?
<DefV> jup
<Selinda> You should go update yourself about the JIT and Hack
<DefV> so does Wikipedia
<DefV> ..
freerobby has quit [Quit: Leaving.]
jottr has quit [Ping timeout: 264 seconds]
<DefV> Selinda: no matter their runtime
<DefV> they still use PHP
<DefV> I could be using JRuby in production, I'm still "writing Ruby"
<adaedra> AAAAAAAAAAND?
<Selinda> DefV, You have misunderstood the whole thing.
<adaedra> I thought we were talking about viability of Ruby for the web
<DefV> OK, good, I'll go that route
<adaedra> Were we not?
<DefV> yes. Ruby is a very good option to do Web-development
<DefV> both small and big to huge projects have succesfully been built in Ruby
<DefV> some projects (like twitter) moved away from it though
Spami has joined #ruby
<DefV> but developers are on the fence wether this was because of Ruby not "scaling", or poor developer decisions
PaulCape_ has joined #ruby
x1337807x has joined #ruby
<Selinda> DefV, How many years of experience do you have in development?
<Selinda> In general.
User458764 has joined #ruby
joonty has quit [Quit: joonty]
<DefV> professionally 9 years
<Selinda> What languages?
<DefV> Perl, PHP, Python, Ruby, Go, Nodejs
mansel has quit [Max SendQ exceeded]
<eam> Selinda: speaking of alternate runtimes, jruby is often used for certain workloads
ag4ve_ has joined #ruby
mansel has joined #ruby
<DefV> But I'm best at Ruby
Rickmasta has joined #ruby
<Senjai> Selinda: Thats a silly question, I know people with 8+ years of experience who are dumb as a doorknob
<eam> yahoo is also primarily php. It's an ugly language, but anything can be scaled
<adaedra> Selinda: like a 9-years-old doorknob?
<adaedra> Senjai, not Selinda
PaulCapestany has quit [Ping timeout: 256 seconds]
<Senjai> I'm late to the party here but: C is a poor language for interfaces due to how well interfaces fit within the object orientated much better than a system without OOP paradigms. Though it can still be made to work, and work cleanly
<Senjai> Facebook does NOT use php, they use a very hacked up version of PHP because PHP is bad
<Selinda> Senjai, A silly question? I was interested how long he/she have been developing. Stop fuking making your own definition that I consider him/her bad.
lidenskap has quit [Remote host closed the connection]
<Selinda> eam, Yea, spaghetti language.
<adaedra> Selinda, How many years of experience do you have in asking questions?
<DefV> My point is just that you can't say yes to the Q "is X good for Y" when Y covers so much ground
failshell has quit [Remote host closed the connection]
<DefV> would I use ruby for a content site? Yes
<havenwood> Is spaghetti-lang good for web dev?
<DefV> Would I use ruby for a websocket server? Probably not
<adaedra> DefV: yeah, I think discussion started with that, trying to break down the real need
freerobby has joined #ruby
<DefV> Would I use elixir for a content site? No. Why not, because I don't know the language
DaniG2k has quit [Quit: leaving]
<DefV> Would it be a good language to do web dev in? Probably
<Senjai> Ruby on rails powers some extremely high traffic sites. TBH, use whatever tool your most productive in
<Selinda> <DefV> Would it be a good language to do web dev in? Probably
baweaver has joined #ruby
<Selinda> Which brings you back to my question :)
<Selinda> Nailed it.
<Senjai> By the time you need to change due to scaling, or some other opaque restraint, you'll have your VC funding or customer base or whatever
<DefV> Senjai nails it
<DefV> use whatever you're most productive in
freerobby has quit [Client Quit]
ki0 has quit [Ping timeout: 256 seconds]
<havenwood>
<kerrizor> Senjai - I'd agree, with the caveat that languages tend to have something they're really good at, and so the "best language" is the one whose strengths match up to the problem posed by the domain
<adaedra> srsly
<adaedra> ffs
<Selinda> DefV, That would be overkill. My experience are heavily in C, C++, x86 asm and some Python.
rbennacer has quit [Remote host closed the connection]
<Senjai> Selinda: You wouldnt be most productive in C++ and C for webdev, probably would be in pythong
pandaant has joined #ruby
<Senjai> same rule applies
<Senjai> use python then
<DefV> Selinda: go would also be a good fit for you then
<adaedra> Go use asm for webdev
<adaedra> It's webscale
<DefV> golang*
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> go-long
<Selinda> adaedra, You are just making stupid comments.
<Senjai> Selinda: Hey, dont batter people
<havenwood> Senjai: Be nice.
<DefV> havenwood: behave
<Senjai> havenwood: You did it again ...
<havenwood> ^.^
<adaedra> Senjai: sorry, forgot the /s switch.
<Senjai> :P
<adaedra> Rah
<adaedra> Selinda: sorry, forgot the /s switch.
<adaedra> Senjai: soory, tab is silly today.
<Senjai> All good
<Senjai> I should reserve all nicknames with an e after an S
<Senjai> #fixedforever
<havenwood> DefV: Just saying, it's verbose.
freerobby has joined #ruby
momomomomo has joined #ruby
<jhass> Senjai: start with everything that has xy next
<havenwood> DefV: Is there an untoward innuendo I'm missing or are you jesting?
ByronJohnson has joined #ruby
<Senjai> jhass: You're a genius!
treehug88 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
PaulCapestany has joined #ruby
<jhass> I know right! I feel so smart right now!
anisha has quit [Quit: Leaving]
thiagovsk has joined #ruby
JDiPierro has joined #ruby
longfeet has quit [Ping timeout: 244 seconds]
<jhass> but actually it'd eat up 80% of the spammer nicks, so it's a good cause!
jottr has joined #ruby
eytanfb has joined #ruby
wldcordeiro has joined #ruby
PaulCape_ has quit [Ping timeout: 256 seconds]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ag4ve_ has quit [Ping timeout: 248 seconds]
<havenwood> I wonder how well the classifier gem could spot regular trolls here. Might be fun to have ruboto try to spot them.
mjuszczak has joined #ruby
Vivex has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
<havenwood> Senjai: Autocorrection fail again! Sorry!
<jhass> haha, that took some time :D
<havenwood> Senjai: More than one person's name starts with "Se"? OMGWTFBBQ!?
* havenwood head explodes.
dstarh has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
jottr_ has joined #ruby
<jhass> well then...
<jhass> DeBot: !hangman ruby
<DeBot> ␣␣␣s_blog [-eaiutnrhp] 10/12
<jhass> oh, right that one still
<havenwood> DeBot: c
<DeBot> ␣c␣s_blog [-eaiutnrhp] 10/12
<jhass> you cheated again!
<havenwood> jhass: i actually made that guess before cheating!
<jhass> so says the cheater
<havenwood> jhass: but then cheated
momomomomo has quit [Ping timeout: 255 seconds]
<jhass> I still have no clue though
charliesome has quit [Quit: zzz]
<havenwood> jhass: i did automate my cheating though with best letter guesser
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has joined #ruby
<jhass> I didn't decide yet if that makes it better or worse
rbennacer has joined #ruby
<havenwood> gem search "^.{3}s_blog$"
FF_ has joined #ruby
MatthewsFace has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
cmckee has quit [Quit: cmckee]
jottr_ has quit [Ping timeout: 264 seconds]
<jhass> DeBot: m
<DeBot> mcms_blog [-eaiutnrhp] 10/12 You won!
<jhass> :o
<havenwood> "[sic]his is a gem for creating blogs, managing blog posts, categories, commenting. This is mainly dependency gem of mcms gem."
Flowrhent has quit [Ping timeout: 276 seconds]
PaulCape_ has joined #ruby
JimmyNeutron has quit [Read error: Connection reset by peer]
<jhass> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<jhass> haha
<jhass> DeBot: ssl
<DeBot> ␣␣␣␣SSL␣␣SSL␣␣SSLS␣␣␣␣␣␣␣␣␣␣ [] 0/12
treehug88 has joined #ruby
momomomomo has joined #ruby
<GaryOak_> DeBot a
<DeBot> ␣␣␣␣SSL␣␣SSL␣␣SSLS␣␣␣␣␣␣␣␣␣␣ [a] 1/12
<jhass> DeBot: :
<DeBot> ␣␣␣␣SSL::SSL::SSLS␣␣␣␣␣␣␣␣␣␣ [a] 1/12
<GaryOak_> DeBot o
<DeBot> O␣␣␣SSL::SSL::SSLSo␣␣␣␣␣␣␣␣␣ [a] 1/12
<GaryOak_> DeBot c
<DeBot> O␣␣␣SSL::SSL::SSLSoc␣␣␣␣c␣␣␣ [a] 1/12
<GaryOak_> DeBot pen
<DeBot> OpenSSL::SSL::SSLSoc␣e␣␣ce␣␣ [a] 1/12
<jhass> DeBot: cket#close
<DeBot> OpenSSL::SSL::SSLSocket#ce␣t [a] 1/12
<adaedra> DeBot: r
<DeBot> OpenSSL::SSL::SSLSocket#cert [a] 1/12 You won!
<adaedra> \o/
jimms has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
shevy has joined #ruby
<shevy> I am back guys
<jhass> shit
idealexit has joined #ruby
<shevy> :(
<jhass> uh, I mean wb!
<shevy> \o/
last_staff has joined #ruby
<jhass> did you update to a utf-8 capable client so you can play hangman with us?
<Senjai> That has to be the spammiest bot ever :P
<shevy> jhass hmm not yet. I sort of slowed down immensely in things-on-my-list-to-do
<adaedra> There's ##hangman if you don't want to spam
PaulCape_ has quit [Max SendQ exceeded]
<jhass> actually no longer since nobody used that ;P
<shevy> my next entry is: "show dependencies" script. As in a script that tells me all dependencies of any given software that I have registered
chthon has quit [Ping timeout: 244 seconds]
<shevy> like "deps kdelibs"
failshell has joined #ruby
<shevy> ftp://gd.tuwien.ac.at/kde/stable/4.14.3/src/kdelibs-4.14.3.tar.xz
<shevy> hmm
<shevy> I am sure you archlinux users have that through pacman
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
<jhass> yeah
My_Hearing is now known as Mon_Ouie
PaulCapestany has joined #ruby
bricker has joined #ruby
alex88 has quit []
<jhass> Depends On : attica-qt4 libxss krb5 qca libdbusmenu-qt polkit-qt4 shared-mime-info enchant giflib jasper openexr strigi docbook-xsl upower udisks2
zorak8 has joined #ruby
baweaver has quit [Remote host closed the connection]
<jhass> libxcursor phonon-qt4 media-player-info libxtst libutempter qtwebkit icu
banister has joined #ruby
dopie has joined #ruby
User458764 has quit [Ping timeout: 255 seconds]
<shevy> hmmm
<shevy> jhass how is that actually found out?
<shevy> for instance, when you want to make an archlinux package for it
doertedev has quit [Ping timeout: 272 seconds]
<shevy> so you are the first guy to do so
<shevy> like the dependency on libxcursor
<jhass> you look at the documentation of the software you want to install
<shevy> naaaah come on! there must be some more professional way
<jhass> and if there's none you get a basic chroot and try to build it and track what you need to install
<shevy> aha
<shevy> ok, that makes sense
User458764 has joined #ruby
<crowell> is there a gem for qt5?
<shevy> sort of... on github I think
krz has quit [Quit: WeeChat 1.0.1]
<shevy> or wait
<shevy> qt5 hmmmm
<crowell> qtbindings seems to be only for qt4
<shevy> I don't trust that wikipedia page much though
<shevy> he mentions Qt5 though
<shevy> "Both libffi and Qt5 are keg-only in Homebrew"
fgo has joined #ruby
FF_ has quit [Quit: FF_]
Flowrhent has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
selu has quit [Ping timeout: 265 seconds]
segv has joined #ruby
wottam has joined #ruby
baweaver_ has joined #ruby
last_staff has quit [Quit: last_staff]
ascarter has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
failshell has quit []
batm has quit [Remote host closed the connection]
mleung has joined #ruby
segv is now known as batm
mjuszcza_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
fgo has quit [Ping timeout: 250 seconds]
coderhut has joined #ruby
shuber_ has joined #ruby
mjuszczak has quit [Ping timeout: 264 seconds]
djmittens has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
ag4ve_ has joined #ruby
blackmesa has joined #ruby
doodlehaus has quit [Ping timeout: 256 seconds]
freerobby has quit [Quit: Leaving.]
Regulati_ has joined #ruby
shuber_ has quit [Ping timeout: 244 seconds]
momomomomo has quit [Quit: momomomomo]
alex88 has joined #ruby
<ytti> did anyone else get spam from 'memorado' today?
CaffeineShot has joined #ruby
jimms has quit [Ping timeout: 256 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
shevy has quit [Ping timeout: 276 seconds]
<apeiros> ytti: I didn't
ascarter has joined #ruby
<apeiros> but that reminds me of a todo for the bot
kirun has joined #ruby
Flowrhent has left #ruby [#ruby]
failshell has joined #ruby
oetjenj has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
kerrizor has left #ruby ["Textual IRC Client: www.textualapp.com"]
scripore has joined #ruby
Regulati_ has quit [Remote host closed the connection]
RegulationD has joined #ruby
shevy has joined #ruby
PaulCape_ has joined #ruby
LJT has joined #ruby
nikosBob has quit [Quit: Leaving...]
Zai00 has quit [Quit: Zai00]
pengin has quit [Remote host closed the connection]
granthatcher has quit []
granthatcher_ has quit []
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
oetjenj has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
pietr0 has joined #ruby
oetjenj has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
x1337807x has joined #ruby
User458764 has joined #ruby
eytanfb has quit [Ping timeout: 256 seconds]
tomphp has quit [Ping timeout: 240 seconds]
terlar has quit [Ping timeout: 256 seconds]
geggam has joined #ruby
oetjenj has quit [Read error: Connection reset by peer]
The_Phoenix has quit [Read error: Connection reset by peer]
oetjenj has joined #ruby
lkba_ has quit [Ping timeout: 276 seconds]
shevy has quit [Ping timeout: 252 seconds]
eytanfb has joined #ruby
pengin has joined #ruby
sibchcoder has joined #ruby
PaulCapestany has joined #ruby
alex88 has quit []
oetjenj has quit [Client Quit]
iasoon has quit [Ping timeout: 256 seconds]
n008f4g_ has joined #ruby
rhllor has quit [Ping timeout: 256 seconds]
dopie has quit [Quit: This computer has gone to sleep]
batm has quit [Ping timeout: 256 seconds]
PaulCape_ has quit [Ping timeout: 252 seconds]
jimms has joined #ruby
fryguy9 has quit [Quit: Leaving.]
ghr has quit [Ping timeout: 256 seconds]
_djbkd has joined #ruby
shevy has joined #ruby
Igorshp has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
towski_ has joined #ruby
chrishough has joined #ruby
SouL_|_ has joined #ruby
dopie has joined #ruby
segv has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zorak8 has quit [Quit: Leaving]
freerobby has joined #ruby
wallerdev has joined #ruby
pengin has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
jimms has quit []
qwertme has joined #ruby
coderhut has quit [Ping timeout: 246 seconds]
snockerton has quit [Quit: Leaving.]
nahtnam has quit [Quit: Connection closed for inactivity]
rhllor has joined #ruby
iasoon has joined #ruby
DerisiveLogic has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
sdothum has joined #ruby
fryguy9 has joined #ruby
mary5030_ has quit [Remote host closed the connection]
RegulationD has quit [Remote host closed the connection]
mary5030 has joined #ruby
gazay has quit [Quit: gazay]
mary5030_ has joined #ruby
PaulCape_ has joined #ruby
mary5030_ has quit [Remote host closed the connection]
ramfjord has joined #ruby
mary5030_ has joined #ruby
evanjs_ has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
<failshell> is it possible to set environment variables from with some code?
<failshell> tried to do it with `` or system() and that doesnt seem to work
DerisiveLogic has quit [Remote host closed the connection]
PaulCapestany has quit [Ping timeout: 256 seconds]
marr has quit [Ping timeout: 248 seconds]
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DerisiveLogic has joined #ruby
djmittens has joined #ruby
cpt_yossarian has quit [Ping timeout: 250 seconds]
<jhass> you can not modify the environment of the parent process, only of your own process and its child processes
mary5030 has quit [Read error: Connection reset by peer]
ismaelga has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 255 seconds]
pengin has joined #ruby
Matachines has joined #ruby
<failshell> jhass: i dont want to set it for the parent, but the system itself
<apeiros> the current process?
<apeiros> ENV[]
<failshell> no the shell
<apeiros> but why'd you do that?
<jhass> which shell? that sounds a lot like the parent process
rhllor has quit [Ping timeout: 256 seconds]
<apeiros> and `` opens a subshell, which means a child-process, so setting an env var there is pointless (because as jhass already said - you can't affect the parent)
<failshell> ok
zz_Outlastsheep is now known as Outlastsheep
Synthead has joined #ruby
withnale_ has quit [Quit: Be back later ...]
evanjs has joined #ruby
lopin has joined #ruby
<toretore> failshell: it might help to explain why you want to do this
gaussblurinc1 has left #ruby [#ruby]
<failshell> this tool im writing needs to save various environment variables so that another tool can use them
<toretore> still too vague
<failshell> basically, use various AWS secrets depending on which account needs to be used
relix has joined #ruby
<toretore> so you have a scope, in which you want to set some vars?
threh has joined #ruby
<toretore> and you have a program that can find the contents you want to put in these vars?
banister has joined #ruby
CloCkWeRX has quit [Remote host closed the connection]
<toretore> kind of like `VAR=program`
<failshell> tool1 sets a bunch of symlinks to point to the required directories. it needs to set env variables also. so that when tool2 runs, it can read those env variables.
<failshell> 2 different processes
delinquentme has quit [Ping timeout: 272 seconds]
ag4ve_ has quit [Ping timeout: 248 seconds]
<toretore> what you are trying to do is cause a side effect, which most of the time is undesirable and not the best way to do things
<apeiros> failshell: again, as said - you can't set env vars for unrelated processes. only for child processes.
<failshell> apeiros: i got that. he wanted more detail
<apeiros> ok
<failshell> toretore: its not a side effect.
<toretore> is too
<apeiros> failshell: but the implication of that restriction (which comes from the system, not ruby) has an implication on your design. i.e. you probably have to rethink that two process thing.
jimms has joined #ruby
shevy has quit [Ping timeout: 276 seconds]
<baweaver_> (n) a secondary, typically undesirable effect of a drug or medical treatment
<toretore> >> def tool1; var = 'foo'; end; def tool2; p var; end; tool1; tool2
<ruboto> toretore # => undefined local variable or method `var' for main:Object (NameError) ...check link for more (https://eval.in/319515)
<jhass> well, it'll work if the second tool is launched by the first
<toretore> that is what you're trying to do ^
<apeiros> you could a) start other processes from a process which collects the env vars
delinquentme has joined #ruby
<failshell> apeiros: yeah, that's what im pondering right now
<apeiros> or b) write the env vars into a file the shell you start the other processes from sources
<baweaver_> JSON/YAML config files.
<failshell> just checked, you can't do it with bash either
<toretore> >> def tool1; 'foo'; end; def tool2(var); p var; end; var=tool1; tool2(var)
<ruboto> toretore # => "foo" ...check link for more (https://eval.in/319516)
<baweaver_> pass it the name of the env which corresponds to names
<apeiros> I think a) is what foreman does
<toretore> and that is what you should be doing ^
<jhass> failshell: well, you'd need to source the script that sets it, so the shell just runs the script but doesn't spawn a new subshell to do so
PaulCapestany has joined #ruby
<toretore> shell programming isn't any different from ruby/whatever programming; the same rules apply
nszceta has quit [Remote host closed the connection]
jottr has joined #ruby
PaulCape_ has quit [Ping timeout: 264 seconds]
lavros has quit [Quit: leaving]
nszceta has joined #ruby
lidenskap has joined #ruby
rdark has quit [Quit: leaving]
rhllor has joined #ruby
pdoherty has joined #ruby
kloeri has quit [Ping timeout: 608 seconds]
ag4ve_ has joined #ruby
platzhirsch has quit [Quit: Leaving.]
quimrstorres has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 264 seconds]
_lovehandle_ has quit [Ping timeout: 250 seconds]
jzigmund_ is now known as jzigmund
sargas has joined #ruby
_lovehandle_ has joined #ruby
Lissie has quit [Quit: My computer has gone to sleep. ZZZzzz…]
dumdedum has quit [Ping timeout: 272 seconds]
c0m0 has quit [Ping timeout: 248 seconds]
mikecmpbll has joined #ruby
shuber_ has joined #ruby
elaptics is now known as elaptics_away
shevy has joined #ruby
Lissie has joined #ruby
zachrab has quit [Remote host closed the connection]
dseitz has joined #ruby
zachrab has joined #ruby
_djbkd has quit [Ping timeout: 250 seconds]
chinmay_dd has quit [Quit: Leaving]
PaulCape_ has joined #ruby
sohrab has joined #ruby
shuber_ has quit [Ping timeout: 256 seconds]
_djbkd has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
PaulCapestany has quit [Ping timeout: 256 seconds]
lkba has joined #ruby
_djbkd has joined #ruby
Eiam_ has joined #ruby
_djbkd has quit [Remote host closed the connection]
rubynoon has joined #ruby
Matachines has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<rubynoon> can you help me to understand the issue?
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thatslifeson has joined #ruby
shuber_ has joined #ruby
<apeiros> rubynoon: you'll have to check your system's logs to figure why it was killed
<apeiros> likely candidates: out of memory, out of file descriptors
Rickmasta has joined #ruby
Hijiri has joined #ruby
<rubynoon> @apeiros How to find the sytem log?
Rickmasta has quit [Max SendQ exceeded]
<apeiros> rubynoon: I don't know your system
nszceta has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
juanpablo___ has quit [Quit: (null)]
<rubynoon> @apeiros sorry, this is a VM with buntu 14.04
<apeiros> then probably somewhere in /var/log
chinmay_dd has joined #ruby
nszceta has joined #ruby
charliesome has joined #ruby
DerisiveLogic has quit [Ping timeout: 256 seconds]
gusrub has joined #ruby
PaulCapestany has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
<rubynoon> @apeiros gott it
<rubynoon> @apeiros ERROR:socket IOError args: (-2, 'Name or service not known')
failshell has quit []
sigurding has joined #ruby
last_staff has joined #ruby
<apeiros> that sounds like an odd reason to kill a script, though
PaulCape_ has quit [Ping timeout: 245 seconds]
shevy has quit [Ping timeout: 276 seconds]
longfeet has joined #ruby
tus has joined #ruby
pandaant has quit [Remote host closed the connection]
<rubynoon> @apeiros I guess the server of the website was down for few moments.
<apeiros> that should not cause your OS to kill your script
Vivex has quit [Read error: Connection reset by peer]
<rubynoon> @apeiros oh, that's true.
PaulCapestany has quit [Max SendQ exceeded]
ki0 has joined #ruby
_djbkd has joined #ruby
Rollabunna has quit [Remote host closed the connection]
RegulationD has joined #ruby
<Outlastsheep> Hmm.
Rollabunna has joined #ruby
kloeri has joined #ruby
PaulCapestany has joined #ruby
<Outlastsheep> All UNICODE characters are indicated with '\uXXXX' with the 'X' being a digit?
<jhass> "indicated"?
prphp has quit [Read error: Connection reset by peer]
<jhass> you can define all of them like that
rubynoon has quit [Quit: Page closed]
<Outlastsheep> Good, good.
<Outlastsheep> With 'indicated' I meant how they were defined, yeah.
<Outlastsheep> They're /ALWAYS/ 4 digits?
<jhass> well, hexadecimal digits
<Outlastsheep> Fair 'nuff. As long as it's always 4 of them cx
ascarter_ has joined #ruby
DerisiveLogic has joined #ruby
ascarter has quit [Ping timeout: 250 seconds]
Soda has joined #ruby
tvw has joined #ruby
Zesty has joined #ruby
rbennacer has quit [Remote host closed the connection]
ismaelga has joined #ruby
charliesome has quit [Quit: zzz]
ascarter has joined #ruby
ascarter has quit [Client Quit]
jottr has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
baweaver_ has quit [Remote host closed the connection]
rbennacer has joined #ruby
mtakkman has joined #ruby
ascarter_ has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #ruby
m8 has joined #ruby
zzing has joined #ruby
tomphp has joined #ruby
RegulationD has quit [Remote host closed the connection]
shevy has joined #ruby
ag4ve_ has quit [Ping timeout: 248 seconds]
ismaelga has quit [Remote host closed the connection]
ascarter has joined #ruby
doodlehaus has joined #ruby
RegulationD has joined #ruby
ascarter has quit [Max SendQ exceeded]
Lissie has quit [Quit: My computer has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
ag4ve_ has joined #ruby
wallerdev_ has joined #ruby
ismaelga has joined #ruby
wallerdev has quit [Ping timeout: 250 seconds]
wallerdev_ is now known as wallerdev
thumpba has joined #ruby
evanjs has quit [Remote host closed the connection]
piotrj has joined #ruby
_djbkd has quit [Remote host closed the connection]
Lissie has joined #ruby
PaulCape_ has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
nfk|laptop has joined #ruby
thumpba has quit [Ping timeout: 256 seconds]
PaulCapestany has quit [Ping timeout: 256 seconds]
evanjs has joined #ruby
Aswebb_ has joined #ruby
JimmyNeutron has joined #ruby
kloeri has quit [Quit: leaving]
sigurding has quit [Quit: sigurding]
baweaver has joined #ruby
_djbkd has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
<sohrab> pulling my hair out trying to trace this bug
_blizzy_ has joined #ruby
<GaryOak_> what's going on?
djbkd_ has joined #ruby
nettoweb has joined #ruby
baweaver has quit [Remote host closed the connection]
kloeri has joined #ruby
_djbkd has quit [Remote host closed the connection]
Igorshp has joined #ruby
mtakkman has quit [Ping timeout: 256 seconds]
<nettoweb> guys Im trying to upgrade to ruby 2.0 but there some files that are using Iconv.conv
mengu__ has joined #ruby
<apeiros> jhass: not correct re 4 hex digits unicode
<adaedra> Isn't it String#encode now?
<jhass> apeiros: educate me!
dvlwrk has quit [Quit: Leaving]
<apeiros> 4 hex digits = 2 bytes
<nettoweb> adaedra I think so, but how I convert it? for example: today I have it Iconv.conv('UTF-8//IGNORE', 'UTF-8', @q + ' ')[0..-2] but dont know how to convert because till now I just used Iconv
<apeiros> some codepoints are well beyond 65k
<jhass> >> "\uffffff"
<ruboto> jhass # => "\uFFFFff" (https://eval.in/319519)
<apeiros> >> "\u{1D15D}"
dopie has quit [Quit: This computer has gone to sleep]
<ruboto> apeiros # => "
<apeiros> you need {}
<jhass> ah, that's the syntax
<jhass> gotcha
juanpablo___ has joined #ruby
<apeiros> \uHHHH is indeed always 4 digits
<apeiros> nettoweb: String#scrub
jheg has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> And when it doesn't works, it's \fuuuuuu
<apeiros> I don't know with which precise arguments
* apeiros hasn't seen legitimate use of \f in a long time :D
tomphp has joined #ruby
shuber_ has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
ismaelga has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nettoweb> apeiros Im using ruby 2.0.0. Can I use String#scrub?
* idealexit do
<sohrab> GaryOak_: thank, just figured it out. i have a half a headache though lol :|
* GaryOak_ has had bugs like that before
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mon_Ouie> If you're trying to upgrade your code to Ruby 2, why not upgrade to the latest version anyway?
<Mon_Ouie> If you have no other option there's a gem which just implements String#scrub for older versions of Ruby
pdoherty has quit [Quit: Leaving]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
piotrj has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
jenrzzz has joined #ruby
piotrj has joined #ruby
shevy has quit [Ping timeout: 252 seconds]
zorak8 has joined #ruby
mrsolo has joined #ruby
cpt_yossarian has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vickleton has joined #ruby
<apeiros> nettoweb: I agree with Mon_Ouie - if you upgrade to 2.0, go straight for 2.2
mgorbach has joined #ruby
<apeiros> and yes, you can use String#scrub in 2.0, but you need a gem which backports it
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phutchins has quit [Ping timeout: 248 seconds]
yqt has joined #ruby
sohrab has quit [Ping timeout: 264 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
sohrab has joined #ruby
baroquebobcat has joined #ruby
icbm has joined #ruby
nszceta has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 255 seconds]
mjuszcza_ has quit []
rbennacer has quit [Remote host closed the connection]
DerisiveLogic has quit [Ping timeout: 250 seconds]
dopie has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
ascarter has joined #ruby
eytanfb has quit [Ping timeout: 256 seconds]
codecop has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1.1]
duderonomy has joined #ruby
ramfjord has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
Pupeno_ has joined #ruby
blackmesa has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
gfawcettpq has quit [Ping timeout: 272 seconds]
Spami has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
ReK2 has joined #ruby
Pupeno has quit [Ping timeout: 272 seconds]
icarus has joined #ruby
icarus has quit [Changing host]
icarus has joined #ruby
Igorshp has quit [Remote host closed the connection]
nym has joined #ruby
odin22 has quit [Quit: Leaving]
notfowl is now known as fowl
Lissie has quit [Quit: My computer has gone to sleep. ZZZzzz…]
odin22 has joined #ruby
a346 has joined #ruby
Pupeno_ is now known as Pupeno
Pupeno has quit [Changing host]
Pupeno has joined #ruby
<_blizzy_> anyone know any good sandboxes for ruby?
<_blizzy_> >4+4
<_blizzy_> > 4+4
<_blizzy_> oh, no bot.
piotrj has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Selinda has quit [Remote host closed the connection]
ascarter has joined #ruby
bmurt has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
audy has left #ruby ["bye"]
<ekaleido> >> 4+4
<ruboto> ekaleido # => 8 (https://eval.in/319525)
odin22 has quit [Quit: Leaving]
<bmurt> hey ya'll, question for you regarding Mechanize. im trying to fill out a form, but it looks like the first <select> has a delay after the inital selection which i think is throwing off my other <select> code further down. is there a way to handle this type of behavior?
odin22 has joined #ruby
<bmurt> i have license_status = search_form.field_with(:id => "MainContent_ddlLicenseStatus").value = "A"
<bmurt> which works, but the other selects are not getting populated in the search results
<_blizzy_> thanks, ekaleido
LJT has quit [Quit: Sleeping...]
lidenskap has quit [Remote host closed the connection]
jerius has joined #ruby
<bmurt> it looks like those elements might be disabled until the first select is chosen
baweaver has joined #ruby
<_blizzy_> hmm, if I could find out how the api for eval.in works
ascarter has quit [Read error: Connection reset by peer]
<adaedra> _blizzy_: last time I checked, it was a difficult thing to achieve
ascarter has joined #ruby
<_blizzy_> adaedra, oh. c:
ascarter has quit [Client Quit]
Stalkr has joined #ruby
baweaver has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
NinjaOps has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
<Mon_Ouie> Do you mean using eval.in in your program or implementing something similar to the sandbox used in eval.in?
tomphp has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
<_blizzy_> well, the latter
ascarter has quit [Max SendQ exceeded]
LJT has joined #ruby
<_blizzy_> I want to use a ruby sandbox for my eval command that I have
ag4ve_ has quit [Ping timeout: 248 seconds]
<_blizzy_> atm it uses eval, but only I can use the command
<_blizzy_> because security reasons.
dopie has joined #ruby
<jhass> playpen seems fairly solid
ascarter has joined #ruby
<Mon_Ouie> eval-in used something based on ptrace for sandboxing, I'm not sure on the details
zachrab has quit [Remote host closed the connection]
luriv_ has quit [Quit: Leaving]
<abyss> apeiros: profiles shows that nil# String#=~ and Regexp#match are the most consuming time methods...
marienz has quit [Quit: upgrades!]
ascarter has quit [Max SendQ exceeded]
Eiam_ has quit [Read error: Connection reset by peer]
<Mon_Ouie> Other solutions that I have seen rely on running the Ruby process in a virtual machine
ascarter has joined #ruby
<apeiros> abyss: I'm more interested in demo data :-p
davedev2_ has joined #ruby
<apeiros> also I wonder whether those =~ happen in strptime
davedev24_ has quit [Ping timeout: 256 seconds]
<abyss> I installed ruby-prof as well
<abyss> apeiros: do you need a lot of lines or only few?;)
<apeiros> I'd say ~100 are probably sufficient
zachrab_ has joined #ruby
<abyss> I don't know what is that nil# but ruby-prof shows: 51% String#=~ and 36% Regexp#match
marienz has joined #ruby
zachrab_ has quit [Remote host closed the connection]
Lissie has joined #ruby
yfeldblum has joined #ruby
<abyss> sorry I used the old script, it shows Regexp#match is the most consuming
Stargazer has joined #ruby
platzhirsch has joined #ruby
Filete has joined #ruby
platzhirsch has left #ruby [#ruby]
cjim_ has joined #ruby
Stargazer has left #ruby ["Leaving"]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sohrab has quit [Ping timeout: 252 seconds]
alvaro_o has joined #ruby
alvaro_o has quit [Client Quit]
kadoppe has quit [Ping timeout: 256 seconds]
dopie has quit [Quit: This computer has gone to sleep]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
piotrj has joined #ruby
mengu__ has quit [Remote host closed the connection]
Zarthus has quit [Quit: This night will fall like any other, daylight subsides and shadows crawl.]
kadoppe has joined #ruby
Zarthus has joined #ruby
Morkel has quit [Quit: Morkel]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
shuber_ has joined #ruby
zotherstupidguy has quit [Ping timeout: 244 seconds]
zotherstupidguy has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shevy has joined #ruby
ascarter has joined #ruby
<apeiros> hm, that `nil#` is odd
rhllor has quit [Quit: rhllor]
<apeiros> I first thought you wrote something wrong, but it's indeed there…
\13k has joined #ruby
<_blizzy_> I'm thinking of downgrading ruby to 2.2.0
shuber_ has quit [Ping timeout: 248 seconds]
baweaver has joined #ruby
Hijiri has quit [Ping timeout: 264 seconds]
davedev2_ has quit []
<abyss> ;)
<havenwood> _blizzy_: having 2.2.2 issues or just yearning for adventure?
<abyss> I using ruby-prof now
qwertme has joined #ruby
<_blizzy_> havenwood, well, I might wait. nokogiri doesn't work yet on 2.2.2
<_blizzy_> I still need to find a ruby sandbox
rbennacer has joined #ruby
ekaleido has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> interesting too that my try to improve the regex backfired badly
<abyss> apeiros: for 500 lines it fast but I will do this script for 1567513 lines and more. Then it last much longer;)
workmad3 has joined #ruby
<apeiros> abyss: I can just multiply the given file
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> also it's not that hard to extrapolate
<apeiros> time ruby -e ''
<apeiros> subtract that value, then you have a good estimate of the performance
Aswebb_ has quit []
Matachines has joined #ruby
nfk|laptop has quit [Ping timeout: 264 seconds]
<apeiros> ok, I think I have to read mastering regular expressions again
mistermocha has quit [Read error: Connection reset by peer]
<abyss> you mean time command? Yes I using it, for a bit small amount it can take even 2min (I show you that today above) - and it still small amount
\13k has quit [Quit: good night and good luck]
<apeiros> well, 10k lines parse in 0.3s here - with ruby 2.2 :)
Pupeno_ has joined #ruby
\13k has joined #ruby
<abyss> I have ruby 2.2 ;p
mistermocha has joined #ruby
jenrzzz_ has joined #ruby
<apeiros> ah, wait, you said 1.5mio lines…
Mon_Ouie has quit [Ping timeout: 264 seconds]
<apeiros> but good thing you have 2.2 now
Zarthus has quit [Quit: This night will fall like any other, daylight subsides and shadows crawl.]
mdarby has joined #ruby
<last_staff> is it possible to assign local ip to a variable as a one-liner using udpsocket?
workmad3 has quit [Ping timeout: 245 seconds]
ascarter has joined #ruby
<abyss> apeiros: for example I did something similar in awk, and for > 2milion lines it took a few seconds (4-5 sec)
tcrypt has joined #ruby
Pupeno has quit [Ping timeout: 264 seconds]
baweaver has quit [Remote host closed the connection]
<crowell> last_staff: yes
<last_staff> right now I'm 'forced' to use two lines - one for defining @LOCAL_IP and the other for UDPSocket.open {blabla; LOCAL_IP=addr}
<crowell> >> require 'socket'; IPSocket.getaddress(Socket.gethostname)
<ruboto> crowell # => (https://eval.in/319541)
jenrzzz has quit [Ping timeout: 255 seconds]
Zarthus has joined #ruby
ascarter has quit [Max SendQ exceeded]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
<last_staff> crowell: doesn't that give me the hostname instead of the IP?
<apeiros> abyss: yes, I'd expect awk to be faster. it was built for that purpose :)
<crowell> last_staff: no, it gives you the IP
kirun has quit [Quit: Client exiting]
<crowell> Socket.gethostname gives you the hostname
<abyss> yeah, but I supposed the differences would be in a few minutes not 20min ;)
<crowell> IPSocket.getaddress gets you the ip of the hostname :P
basiclaser has joined #ruby
<last_staff> crowell: huh, cool. How do I force ipv4-format?
Rapier- has quit [Quit: (null)]
mary5030_ has quit [Remote host closed the connection]
<last_staff> ...i asked without searching online first... Dx
Zarthus has quit [Client Quit]
maletor has joined #ruby
Temur has joined #ruby
phutchins has joined #ruby
Zarthus has joined #ruby
tcrypt has quit []
<apeiros> abyss: btw., I have no idea what that nil# is.
<apeiros> nil# and =~ are the making up 66% of the execution time now. so I guess optimizing the regex is the most promising. but my attempts failed badly :(
<Temur> How does the yield keyword work?
<abyss> First I did it with awk and outcomes I parsed in php and whole took about few seconds. I had to rewrite it in order to do more things with data... But I did exactly the same that I'm doing with awk+php and for awk+php it last about few seconds for ruby about 10minutes or more
<adaedra> Temur: you mean, how to use it, or the internals?
Zai00 has joined #ruby
<last_staff> crowell: ruby-doc actually didn't give me any info on forcing ipv4 output from IPSocket.getaddress
<Temur> adaedra, how to use it
sohrab has joined #ruby
<adaedra> Temur: you use it in methods that takes a block as argument. When you call yield, it will calls the given block.
<Temur> oh
<Temur> That makes sense
Soda has quit [Remote host closed the connection]
<adaedra> i.e. def foo; yield; end then foo do puts "Hello" end will puts "Hello"
giuseppesolinas has quit [Ping timeout: 240 seconds]
<adaedra> You can also give arguments to yield, which will be passed to the block
<Temur> ok
konsolebox has quit [Quit: Leaving]
<adaedra> It's an alternative way of explicitely naming the block argument with & then calling .call on the argument
cjim_ has quit [Quit: (null)]
Zesty has joined #ruby
wottam has joined #ruby
Matachines has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cjim_ has joined #ruby
lkba_ has joined #ruby
djmittens has quit [Ping timeout: 256 seconds]
baweaver has joined #ruby
agent_white has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
zorak8 has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
mgorbach has quit [Ping timeout: 252 seconds]
zorak8 has joined #ruby
lkba has quit [Ping timeout: 276 seconds]
mrmargolis has quit [Ping timeout: 276 seconds]
thebastl has joined #ruby
mrmargolis has joined #ruby
lidenskap has joined #ruby
frem has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
djbkd_ has quit [Remote host closed the connection]
dfinninger has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
jenrzzz has joined #ruby
icarus_ has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
SouL_|_ has quit [Read error: Connection reset by peer]
gccostabr has joined #ruby
wallerdev has joined #ruby
ki0 has quit []
cjim_ has quit [Quit: (null)]
n008f4g_ has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cjim_ has joined #ruby
gfawcettpq has joined #ruby
gsd has joined #ruby
dfinning_ has joined #ruby
djmittens has joined #ruby
kloeri has quit [Ping timeout: 612 seconds]
Hijiri has joined #ruby
dfinninger has quit [Ping timeout: 244 seconds]
thiagovsk has joined #ruby
kloeri has joined #ruby
mrmargolis has quit [Ping timeout: 244 seconds]
freerobby has quit [Quit: Leaving.]
bruno- has joined #ruby
bruno- is now known as Guest43045
lifenoodles_ has quit [Ping timeout: 264 seconds]
cjim_ has quit [Ping timeout: 256 seconds]
crdpink has joined #ruby
chinmay_dd_ has joined #ruby
mrmargolis has joined #ruby
lifenoodles has joined #ruby
Guest43045 has quit [Ping timeout: 250 seconds]
ascarter has quit [Read error: Connection reset by peer]
chinmay_dd has quit [Ping timeout: 272 seconds]
ascarter has joined #ruby
zachrab has joined #ruby
mistermocha has quit [Ping timeout: 255 seconds]
last_staff has quit [Quit: last_staff]
zorak8 has quit [Quit: Leaving]
NuckingFuts has joined #ruby
banister has joined #ruby
vt102 has quit [Remote host closed the connection]
bruno-_ has joined #ruby
dfinning_ has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
b4tm4n has joined #ruby
snockerton has joined #ruby
relix has joined #ruby
<b4tm4n> when moving a RoR application to nginx/unicorn, is it just the rails server that is replaced?
jheg has quit [Quit: jheg]
<adaedra> If you run Rails in production mode with default settings, you also have to serve /public yourself through nginx
x1337807x has joined #ruby
zorak8 has joined #ruby
bruno-_ has quit [Ping timeout: 252 seconds]
_djbkd has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
<b4tm4n> the command line i was using before moving to production was "redis-server & bundle exec sidekiq -l log/sidekiq.log & bundle exec rails s &"
zachrab has quit [Remote host closed the connection]
zachrab has joined #ruby
dfinninger has joined #ruby
Brozo has joined #ruby
<b4tm4n> no I am using nginx/unicorn the website is working, but some of the functionality is not - i'm wondering if i still need to be running sidekiq for example
<adaedra> yes
<adaedra> unicorn is just a rails server, it replaces rails s
<b4tm4n> what about redis-server?
<b4tm4n> and unicorn is just a proxy for nginx?
<adaedra> you also have to have it run, but I think you can relay that to a daemon, see your distribution
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> unicorn will act as a server, and nginx is a front server which will pass requests to unicorn
barkerd427 is now known as zz_barkerd427
<adaedra> But those are issues you should discuss with #RubyOnRails
shuber_ has joined #ruby
<b4tm4n> yeah, no one responded there - adaedra thanks for your input!
<adaedra> ah
mary5030_ has joined #ruby
NuckingFuts is now known as nuck
sonOfRa has quit [Quit: Bye!]
decoponio has quit [Quit: Leaving...]
<adaedra> In that case, just state it when you introduce the question, so we know it is pending somewhere else, b4tm4n
A124 has quit [Quit: Luke's IRC Client v0.94 build 682]
sonOfRa has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
synapplix has joined #ruby
dfinninger has joined #ruby
bruno-_ has joined #ruby
chinmay_dd_ is now known as chinmay_dd
<b4tm4n> adaedra, will do
<adaedra> thanks
quimrstorres has joined #ruby
mary5030 has quit [Ping timeout: 250 seconds]
icarus_ has quit [Quit: leaving]
icarus_ has joined #ruby
icarus has quit [Disconnected by services]
icarus_ is now known as icarus
shuber_ has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
mengu has joined #ruby
Temur has quit [Read error: Connection reset by peer]
JohnBat26 has joined #ruby
yfeldblu_ has joined #ruby
thebastl has quit [Quit: Leaving...]
bruno-_ has quit [Read error: Connection reset by peer]
ascarter_ has joined #ruby
quimrstorres has quit [Ping timeout: 244 seconds]
ascarter_ has quit [Max SendQ exceeded]
roshanavand has quit [Ping timeout: 264 seconds]
synapplix has quit [Remote host closed the connection]
idealexit has quit [Remote host closed the connection]
ascarter_ has joined #ruby
chipotle has quit [Quit: cheerio]
allcentury has quit [Ping timeout: 250 seconds]
duncannz has joined #ruby
programmerq has quit [Remote host closed the connection]
mengu has quit [Ping timeout: 256 seconds]
JDiPierro has quit [Remote host closed the connection]
ascarter_ has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 256 seconds]
ascarter_ has joined #ruby
duncannz has quit [Max SendQ exceeded]
tubuliferous_ has quit [Quit: ZNC - http://znc.in]
duncannz has joined #ruby
ascarter_ has quit [Max SendQ exceeded]
freerobby has quit [Quit: Leaving.]
dfinninger has quit [Read error: Connection reset by peer]
Lissie has quit []
bmurt has quit [Ping timeout: 256 seconds]
ascarter_ has joined #ruby
dfinninger has joined #ruby
DEA7TH has quit [Ping timeout: 264 seconds]
redlegion has joined #ruby
vedu has left #ruby ["AFK (Since the internet is real-life as well)"]
mbeasley has quit [Quit: WeeChat 0.4.2]
mbeasley has joined #ruby
Pupeno has joined #ruby
Pupeno_ has quit [Ping timeout: 255 seconds]
bruno-_ has joined #ruby
zorak8 has quit [Quit: Leaving]
flybyray has joined #ruby
mbeasley has quit [Client Quit]
Brozo has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
segfalt has quit [Quit: segfalt]
mbeasley has joined #ruby
User458764 has joined #ruby
iceden has quit [Read error: Connection reset by peer]
PaulCape_ has quit [Quit: .]
ldnunes has quit [Quit: Leaving]
PaulCapestany has joined #ruby
quazimodo has quit [Ping timeout: 244 seconds]
User458764 has quit [Client Quit]
segfalt has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
programmerq has joined #ruby
mistermocha has joined #ruby
zorak8 has joined #ruby
mjuszczak has quit []
dopie has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
A124 has joined #ruby
evanjs has quit [Remote host closed the connection]
allcentury has joined #ruby
mjuszczak has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
DerisiveLogic has joined #ruby
EagleDelta has quit [Remote host closed the connection]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
slash_nick has quit [Ping timeout: 265 seconds]
tcrypt has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
x1337807x has joined #ruby
rbennacer has quit [Ping timeout: 245 seconds]
LJT has quit [Quit: Sleeping...]
doodlehaus has quit [Remote host closed the connection]
thatslifeson has quit [Remote host closed the connection]
paulcsmith has quit [Quit: Be back later ...]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has joined #ruby
mdarby has quit [Quit: Textual IRC Client: www.textualapp.com]
iceden has joined #ruby
thatslifeson has joined #ruby
piotrj has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 256 seconds]
mary5030_ has quit [Remote host closed the connection]
magicien has joined #ruby
redlegion has quit [Quit: Time for me to pass out.]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
piotrj has joined #ruby
duncannz has quit [Ping timeout: 256 seconds]
predator217 has quit [Remote host closed the connection]
jimms has quit [Read error: Connection reset by peer]
codecop has quit [Remote host closed the connection]
jimms has joined #ruby
baweaver has quit [Remote host closed the connection]
Igorshp has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
Hijiri has quit [Quit: WeeChat 1.0.1]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghostmoth has joined #ruby
djmittens has quit [Ping timeout: 264 seconds]
<shellfu> I have a string like: %{::operatingsystem}-%{::kernel}, and a hash with operatingsystem, and kernel as keys with their respective values. I have been playing with gsub, but can only seem to replace one or the other. I am currently using scan on the string then in a block im using gsub.
pdoherty has joined #ruby
poskoli has joined #ruby
turtil has joined #ruby
a346 has quit [Quit: a346]
<shevy> shellfu it is possible with .gsub
workmad3 has joined #ruby
<shevy> you can use capture groups + "\\1" or `\\1'
<poskoli> is a degree necessary for being in a programming bootcamp?
<poskoli> I'm 23 with a GED and I failed college
<shellfu> I havent used \\1 before. I will read up on their usage.
x1337807x has joined #ruby
<poskoli> I want to go to a programming bootcamp
<xxneolithicxx> poskoli: what in the world is a programming bootcamp
<poskoli> and find work after
Hijiri has joined #ruby
<ytti> only thing you need to do, is to write code
<ytti> and you certainly can be employable
<xxneolithicxx> the bar for the is very low
segfalt has quit [Quit: segfalt]
<xxneolithicxx> a lot of times too low lol
<xxneolithicxx> *that
<GaryOak_> If I know Ruby can I get a decent job doing Rails?
odin22 has quit [Read error: Connection reset by peer]
<ytti> small problem is, that it it takes somewhat untrivial amount of hours
<ytti> and if you keep pushing writing code back with reasons like 'can i attend bootcamp' or 'do i have the right book'
<ytti> it might be, that you're not motivated enough to do it
<xxneolithicxx> ^ well said
tomphp has joined #ruby
<ytti> write code 2h a day, and you'll certainly can get a 50k/year job in a year
predator117 has joined #ruby
<adaedra> *_*
tomphp has quit [Client Quit]
<Senjai> ytti: wat
rodfersou has quit [Quit: leaving]
<poskoli> I am motivated. I'm preparinng for the program right now
<Senjai> GaryOak_: Rails is just ruby, so sure
<ytti> poskoli, then i think there is no reason why you won't succeed
<Senjai> ytti: Not everyone can actually solve problems with code.
<GaryOak_> For me I need to build a project, or else it gets boring, it's not like practicing a sport where you can practice just kicking for 2 hours though
<ytti> Senjai, i disagree
<adaedra> So fight
<ytti> if we excluded legally mentally handicapped people
<Senjai> poskoli: Have you done any coding previously?
<ytti> anyone can be employable programmer
shuber_ has joined #ruby
DerisiveLogic has quit [Ping timeout: 252 seconds]
<poskoli> I'm 23 with a GED and I failed a lot of college courses. I don't think I'll get into a 4 year school and if I do I'll be 25-27 when I graduate
djmittens has joined #ruby
<Senjai> poskoli: Have you done any coding previously?
<poskoli> I started over a year ago and I'm now just getting the hang of it
mistermocha has quit [Read error: Connection reset by peer]
<shellfu> aha. thanks shevy, didnt know about accessing matched groups. Thanks. Ill play around with this for awhile, and if I have further issues ill just ask :)
<Senjai> ytti: You obviously havent seen the codebases I have, there is a large portion of "employable" programmers, that should never be emplyoed. I call them cut and paste, or brute force programmers.
<poskoli> coding was the hardest thing I've ever tried to learn in my life
<xxneolithicxx> I agree with Senjai, i find a lot of people get caught up over programming language semantics and never get to a position where they learn to solve a problem first and translate to language semantics later
mistermocha has joined #ruby
predator117 has quit [Ping timeout: 256 seconds]
<Senjai> poskoli: The best programming bootcamps dont accept just everyone, and you would want to avoid the ones you do
<Senjai> poskoli: A bootcamp is not really necessary, you can get into the industry self taught after 5 months or so of decent self study
<poskoli> I already got accepted into one
<Senjai> poskoli: YOu actually have to like coding, because the studying never stops.. ever.
<ytti> xxneolithicxx, Senjai now it seeems we're discussing two different matters, can anyone who wants be employed
<poskoli> senjai I don't know how to study. that is why I failed school :)
<Senjai> You cant just do it for the money, there are people who do and succeed, but most will fail
<poskoli> :(
<ytti> and then should they
<ytti> almost certainly we can find people, who would say none of us should be employable
<ytti> and we can find people who say no ruby code should be ran in production
<ytti> but those are opinions, and not very interesting
longfeet has quit [Ping timeout: 244 seconds]
jimms has quit []
<ytti> what is interesting, someone working minimum wage can become programmer, and earn much better living
<ytti> and only thing they need to do, is to put in the hours
sent1nel has quit [Remote host closed the connection]
<xxneolithicxx> you can do it, and yes even a crappy coder can make better than min wage
<GaryOak_> and figure out how to sell themselves in an interview
kaleido has joined #ruby
<Senjai> ytti: I dunno man, I make my living fixing mistakes that drove businesses to the brink of failure
shuber_ has quit [Ping timeout: 276 seconds]
<xxneolithicxx> but i guess what we were saying is that most of these types dont end up being very good programmers
<ytti> what is good? is it normal distribution?
<xxneolithicxx> a good programmer is a problem solver first and can translate into any language of choice
<ytti> if so, then 97% of people are 2 standard deviation away from average programmer
Soda has joined #ruby
<ytti> i.e. there is 97% change that you won't be terrible or exceptional
<xxneolithicxx> if you cant solve a problem you are the brute forcer/copy paster Senjai mentioned
mrmargolis has quit [Remote host closed the connection]
<xxneolithicxx> and you write shitty code
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
<Senjai> And you make us lots of money
<Senjai> because the business who trusted you, are now in a huge trench of despair
<Senjai> and have to hire external consultancies to fix their stuff, and do it the right way (tm)
pengin has quit [Remote host closed the connection]
thatslifeson has quit [Remote host closed the connection]
poskoli has quit [Remote host closed the connection]
Oka has joined #ruby
thatslifeson has joined #ruby
<ytti> if it's normal distribution, as explained, then at least 97% will carry their weight
<ytti> so trying to place artificial barriers to people, before they even start
<ytti> that it takes some exceptional qualities to succeed, is not very productive
FernandoBasso has joined #ruby
<ytti> only exceptional quality is motivation and putting in the hours
<Senjai> All I'm saying, is you gotta love coding to be good at it, its a 1% scenario where that case is not the rule
djmittens has quit [Read error: No route to host]
<Senjai> People who dont love coding and problem solving, generally dont practice
Deele has quit [Ping timeout: 256 seconds]
postmodern has joined #ruby
<GaryOak_> I just like learning new stuff
<Senjai> GaryOak_: Then you'll do fine :)
jottr has joined #ruby
<GaryOak_> I already have a job though, I just can't work on stuff outside of work :(
<bricker> Why?
<GaryOak_> No internal motivation to do that
<bricker> ah
piotrj has quit [Remote host closed the connection]
<GaryOak_> I try, but I start lots of projects, and never finish any
jerius has quit [Quit: /quit]
<bricker> GaryOak_: I find that working on side projects is best when there's a real, immediate use for it, and often that is related to work. For example, some bug fix or feature addition to an OSS that your company is using.
<Senjai> Dont need to finish projects. I start lots of projects to learn x, once I've learned x, I often dont complete them
<bricker> Or some internal tool or whatever
<GaryOak_> I do contrib back to OSS for work projects, but generally on company time
<bricker> I have no motivation to start a project for the sole purpose of learning something. I don't think there's anything wrong with that. If I'm going to work on a project, why not get something useful out of it while learning something at the same time.
<ytti> we're all spending time on irc right now, which is procrastination 1-0-1
_lovehandle_ has quit [Ping timeout: 265 seconds]
<GaryOak_> hahaha
<bricker> learning is easy, applying is difficult. So if you can combine both into the same process, more efficient.
<ytti> if we'd ve all the way in the right in the long tail
<ytti> we wouldn't irc
eichenwald has quit [Quit: Leaving]
<Senjai> I use IRC to relax from thinking
<Senjai> to get fresh eyes on the problem, after 30 ish mins
<Senjai> err, 30 mins might be exagerrating
<xxneolithicxx> its the only place i can come to speak to above semi competent ppl
_lovehandle_ has joined #ruby
<Senjai> xxneolithicxx: Competence is still rare trust me :P, lots of good folk here though
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<baweaver> >> def h_map(key) -> hash { hash[key] } end; [{a: 1, b: 2}, {a: 2, b: 2}, {a: 3, b: 2}].map(&h_map(:a))
<ruboto> baweaver # => [1, 2, 3] (https://eval.in/319619)
mjuszcza_ has joined #ruby
<baweaver> slightly tired of writing hash_array.map { |h| h[:key] }
<baweaver> tempted to make a nested variant for later
AlphaAtom has quit [Ping timeout: 252 seconds]
AlphaAtom has joined #ruby
KnownSyntax has joined #ruby
mjuszczak has quit [Ping timeout: 264 seconds]
jottr has quit [Ping timeout: 250 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
MyGreenPickle has joined #ruby
<baweaver> Almost wish Ruby would borrow from Chef / Aws::Structure / Javascript and have dot notation hashes.
cranq has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
<Senjai> baweaver: Dont say that, it might come true, then we're screwed
<baweaver> How do you figure?
riotjone_ has joined #ruby
<Senjai> baweaver: Lol & method_missing? find shit in internal hash or super
<Senjai> Not really a thing in ruby
<Senjai> and I wouldnt want ruby turning into js :P
wallerdev has quit [Quit: wallerdev]
<baweaver> implementing anything in mm is asking for pain
<Senjai> There are very few times I'm actually pro unbounded interfaces
<Senjai> So few, that all I can think of is active record
<baweaver> just handy when you want to pluck something from a hash.
<Senjai> baweaver: You can delegate a method to the hash
<baweaver> rather, array of hashes
<baweaver> hashen
segfalt has joined #ruby
<baweaver> Just musing more than anything.
threh has quit [Quit: Leaving]
<shevy> shellfu yeah, they are available in the numbers: first (.) will become stored in \1, second (.) will be stored in \2 or so
<toretore> hashae
C1V0 has joined #ruby
riotjones has quit [Ping timeout: 244 seconds]
<shevy> the beaver is back!
<Senjai> baweaver: hash_array.map(&:[].to_proc(:key)) ?
<baweaver> >> p2 = Enumerator.new do |y| a=2; loop do y << a; a = a << 1; end end; p2.first(5)
<ruboto> baweaver # => [2, 4, 8, 16, 32] (https://eval.in/319620)
longfeet has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<baweaver> Yeah, still trying to find a decent looking one that doesn't make someone want to axe murder me later :{
agent_white has quit [Quit: bblwork]
<Senjai> baweaver: I would just use the noraml way of doing it
<Senjai> its the cleanest to read
<Senjai> cumbersome to type
<Senjai> but obvious
<baweaver> I do
jottr has joined #ruby
<Senjai> Unless you want to define a class that delegates everything to []
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<toretore> how about just `hash_array.map { |h| h[:key] }`
<baweaver> Not particularly
_lovehandle_ has quit [Ping timeout: 248 seconds]
<baweaver> that's what we were saying
<terrellt> o.o
<Senjai> toretore: That's what he already has
<terrellt> Are we just going to ignore OpenStruct?
<toretore> what's wrong with it?
<baweaver> feels long
<baweaver> musing on shortening
<Senjai> toretore: Long compared to has_array.map(&:key)
<baweaver> key word being musing
<Senjai> which would be the case if key was a method
<toretore> who cares, it's clear, readable and short enough
* baweaver raises hand
<eam> I wish ruby had clear, distinguishing syntax for hash vs array element deref
<Senjai> toretore: We're just musing, nobody said it was a big deal
<toretore> def whatever(ary); ary.map { |h| h[:key] }; end
<baweaver> I like poking ruby a but too much.
<eam> a[1][:two][3] <-- sucks that [] is used in both cases
<baweaver> y'might read up the list a bit
<baweaver> >> def h_map(key) -> hash { hash[key] } end; [{a: 1, b: 2}, {a: 2, b: 2}, {a: 3, b: 2}].map(&h_map(:a))
<ruboto> baweaver # => [1, 2, 3] (https://eval.in/319621)
<banister> eam I don't think that's just a ruby problem ,don't nearly all languages use [] in those cases?
cranq has joined #ruby
cloaked1_ has quit [Quit: leaving]
<eam> well, most languages don't have a built in syntax for hashs
<banister> most popular ones do, surely
<eam> perl uses {} vs [] to distinguish the two types, which enables auto-viv
_lovehandle_ has joined #ruby
* baweaver stares at Java
<banister> and even the ones without a built it hash, overload the [] operator, like C++ iirc
Pupeno_ has joined #ruby
<banister> depending on the lib you use, of course
lfox has quit [Read error: No route to host]
kyrylo has quit [Ping timeout: 245 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> HashMap<nesting, HashMap<hell, HashMap<ahead, beware>>>
<eam> I think those are all examples of languages that aren't popular to use for easy data structure manipulation, and for good reason :)
<banister> eam you can use .fetch in ruby if you really want, i've noticed a lot of colleages using that recently :)
jottr has quit [Ping timeout: 248 seconds]
mahlon has quit [Quit: nine foot long outhouse ladle]
<Senjai> http://batsov.com/images/articles/emacs_user.jpg shared in work slack, thought yall would enjoy
<baweaver> it's quite fetching banister
AlphaAtom has quit [Ping timeout: 256 seconds]
<eam> banister: yeah, a named method for auto-viv handles it, but then ...
vickleton has quit [Ping timeout: 245 seconds]
<baweaver> Just had a friend announce he'd found the ultimate editor
AlphaAtom has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<eam> and another emacs users is born
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<baweaver> I was halfway through typing 'Say spacemacs, say spacemacs, say spacemacs'
Pupeno has quit [Ping timeout: 256 seconds]
<baweaver> and whad'ya know, it's a bingo
<Senjai> baweaver: We have someone at work trying spacemacs
<Senjai> baweaver: We're all making fun of him
<Senjai> But it looks pretty solid
Brozo has joined #ruby
<baweaver> Well that answered the followup question quickly
segfalt has quit [Quit: segfalt]
<Senjai> hahaha
icbm has quit [Ping timeout: 248 seconds]
<Senjai> We all use vim, mostly, 2 atom users, and one ST3 user
<baweaver> I might dabble in it when I don't need to get stuff done
* baweaver says as he's on IRC
<Senjai> haha right
Brozo has quit [Remote host closed the connection]
tomphp has joined #ruby
jottr has joined #ruby
duderonomy has quit [Ping timeout: 272 seconds]
<i8igmac> doc.xpath("//td[contains(@class, 'primary_photo')]")
<i8igmac> inside this primary_photo class this is a alt="something" and others alike... how would i pull the alt= text?
<i8igmac> doc.xpath("//td[contains(@class, 'primary_photo')]//alt")
<jhass> i8igmac: @alt I think
<jhass> and a single /
<banister> Senjai why do you call it spacemacs?
<jhass> i8igmac: or just ")["alt"]
mistermocha has quit [Read error: Connection reset by peer]
<banister> cc baweaver
marr has joined #ruby
mistermocha has joined #ruby
* baweaver stares blankly
<banister> baweaver why 'spacemacs' ?
<baweaver> because emacs + vim and some black magic aside I guess
<baweaver> haven't used it
quazimodo has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
<banister> baweaver thought so, it's evil mode
<Senjai> banister: Because there is a project called spacemacs
ascarter has joined #ruby
<banister> got it
<baweaver> With some other stuff, haven't given it the time of day.
<banister> but it's just emacs with a few plugins
<banister> so really.......it's emacs :)
<Senjai> Not really
<baweaver> insofar as I can tell.
<Senjai> well
<Senjai> Its heavily modified
<Senjai> apparently
<banister> Senjai the whole point of emacs is customization, so it's just emas + configuration
<banister> emacs*
<banister> to make it more like vim in some ways. Still emacs :)
<Senjai> banister: That can also be said of anything ever
<Senjai> A computer is just wires + customization
<Senjai> bad example
<Senjai> but ya get the drift
<Senjai> psht
<Senjai> computers dont even have wires anymore, largely
<banister> Senjai no...it runs the emacs executable, it's emacs. It's just configured to be like vim in some ways.
<Senjai> banister: We could get into this really deeply, but I dont care enough and have to work :P
<Senjai> its a fork, really
<Senjai> byobu != tmux even though byobu runs ... tmux
<baweaver> that's kinda forked up then.
<pipework> Mmm tmux
<banister> Senjai it's not a fork of emacs. It's just emacs + a bunch of .el files
<banister> a fork of emacs would fork it at the C level
* baweaver is done with the puns for now.
<pipework> Or actually just be a technical fork, but the value of pedantry on this topic is exceedingly low.
<Senjai> pipework: Which is why I kinda droped it
pdoherty has quit [Quit: Leaving]
<Senjai> :P
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<banister> that's like saying activesupport is a fork of ruby
<pipework> Or that my dotfiles is a fork of all the operating systems they work on.
growlove has quit [Quit: Leaving]
michael_mbp has quit [Excess Flood]
newbie has joined #ruby
ItSANg___ has joined #ruby
<pipework> (Which usually is none.) :(
geggam has quit [Ping timeout: 250 seconds]
dopie has joined #ruby
newbie is now known as Guest61338
<pipework> banister: Or that my hand is a fork of forks?
ItSANgo has quit [Ping timeout: 250 seconds]
<banister> heh, maybe, but i dont' want to see your hand :)
michael_mbp has joined #ruby
yqt has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
pardusf has quit [Ping timeout: 256 seconds]
<eam> I mean emacs does mean Editor MACroS
Guest61338 has quit [Client Quit]
<banister> eam which editor do you use btw?
Zai00 has quit [Quit: Zai00]
blackmesa has quit [Ping timeout: 276 seconds]
<eam> emacs with viper-mode, fallback to vi for prod systems without better alternatives
parduse has joined #ruby
Spami has quit [Quit: Leaving]
<eam> need the muscle memory of a ubiquitous editor + reasonable internals for extensiblity
tcrypt has quit [Ping timeout: 244 seconds]
<banister> cool, i've always just used emacs with a traditional key bindings, never had rsi issues, either
<banister> but i do have large hands ;)
<eam> I might be happy with emacs keybindings directly, but it's rare to find it installed out in production
<quazimodo> hay hay
Hijiri has quit [Quit: WeeChat 1.0.1]
fryguy9 has quit [Ping timeout: 276 seconds]
scripore has joined #ruby
hiyosi has joined #ruby
phutchins has quit [Quit: WeeChat 1.1.1]
baweaver has quit [Remote host closed the connection]
Matachines has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
sent1nel has joined #ruby
<i8igmac> page.xpath("//td[contains(@class, 'primary_photo')]").each{|x| x.xpath("//@name"); x.xpath("//@alt") }
<i8igmac> can i block threw the results from xpath, and still use xpath inside the block?
x1337807x has joined #ruby
yaw has joined #ruby
shuber_ has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
lopin has quit []
mjuszcza_ has quit []
Lucky__ has joined #ruby
Stalkr has quit [Quit: Leaving...]
Guest85797 has quit [Remote host closed the connection]
thatslifeson has quit [Remote host closed the connection]
bim has joined #ruby
bim is now known as Guest33972
shuber_ has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
x1337807x has quit [Ping timeout: 244 seconds]
icebourg has quit []
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<i8igmac> page.xpath("//@stack").each{|x| x.xpath("//@name"); x.xpath("//@alt") }
<i8igmac> inside the block, x is not recognized as a html document
<i8igmac> x.html? => false
flybyray has quit [Remote host closed the connection]
<i8igmac> how would i make x a html document?
x1337807x has joined #ruby
Zesty has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
bruno-_ has quit [Ping timeout: 240 seconds]
Guest33972 has quit [Ping timeout: 264 seconds]
Matthews_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Eiam_ has joined #ruby
ghostmoth_ has joined #ruby
baweaver has quit [Remote host closed the connection]
zotherstupidguy has quit [Ping timeout: 250 seconds]
<i8igmac> puts Nokogiri::HTML(x.to_s)
zotherstupidguy has joined #ruby
<Eiam_> I want to map over an array of strings and have it make a regex.union.. it would seem fairly basic, strings.map { |x| Regex.union(/#{x}/)} except this gives me an array of regex, instead of a Regexp like you'd make with Regex.union ... suggestions?
<Eiam_> I guess I could try to join them with | or something
ghostmoth has quit [Ping timeout: 256 seconds]
ghostmoth_ is now known as ghostmoth
MatthewsFace has quit [Ping timeout: 256 seconds]
ismaelga has joined #ruby
shellfu is now known as shellfu_afk
Rickmasta has joined #ruby
yaw has quit [Ping timeout: 250 seconds]
Asher has joined #ruby
mgorbach has joined #ruby
mitchell_ has joined #ruby
sibchcoder has quit [Remote host closed the connection]
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #ruby
zorak8 has quit [Max SendQ exceeded]
mgorbach has quit [Remote host closed the connection]
zorak8 has joined #ruby
zorak8 has quit [Max SendQ exceeded]
<fowl> Eiam_, Regexp.union(*strs.map{|s| Regexp.new s})
zorak8 has joined #ruby
<pipework> Mmm Regexp.union
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mgorbach has joined #ruby
DEA7TH has joined #ruby
leafybasil has joined #ruby
mgorbach has quit [Client Quit]
nettoweb has joined #ruby
Pupeno_ is now known as Pupeno
Pupeno has quit [Changing host]
Pupeno has joined #ruby
ghostmoth has quit [Read error: Connection reset by peer]
mgorbach has joined #ruby
juanpablo___ has quit [Quit: (null)]
ghostmoth has joined #ruby
<i8igmac> with regex, how do you grab the first matching character
<i8igmac> some data. and some more. and more.
<i8igmac> (/some.*\./)
qwertme has joined #ruby
<i8igmac> i want to grab the first period
jobewan has quit [Quit: Leaving]
DEA7TH has quit [Ping timeout: 256 seconds]
x1337807x has joined #ruby
JDiPierro has joined #ruby
yfeldblum has quit [Remote host closed the connection]
borkdude has quit [Quit: ZNC - http://znc.sourceforge.net]
dfinninger has quit [Remote host closed the connection]
<Eiam_> fowl: .source needed in there maybe?
jeramy_s has joined #ruby
<Eiam_> hmm thats very interesting
fryguy9 has joined #ruby
<Eiam_> whats the splat doing there?
<Eiam_> never seen that context
pontiki has joined #ruby
<eam> >> x = "somebA...."; x =~ /some(.)?.*\./; $1
<ruboto> eam # => "b" (https://eval.in/319631)
<eam> i8igmac: ^^
duderonomy has joined #ruby
CloCkWeRX has joined #ruby
<eam> assuming you mean "first wildcard" by first period
yfeldblum has joined #ruby
<Eiam_> fowl: cool, very neat
Spami has joined #ruby
fryguy9 has quit [Client Quit]
gkra has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
ismaelga has quit [Remote host closed the connection]
Akuma has joined #ruby
yfeldblum has joined #ruby
Akuma has quit [Client Quit]
zz_barkerd427 is now known as barkerd427
GaryOak_ has quit [Remote host closed the connection]
themadcanudist has joined #ruby
ascarter_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has joined #ruby
gkra has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
ValicekB has quit [Ping timeout: 256 seconds]
gkra has joined #ruby
ponga has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
sent1nel has quit [Remote host closed the connection]
riceandbeans has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
jottr has quit [Ping timeout: 252 seconds]
Igorshp has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghostmoth has quit [Quit: ghostmoth]
ValicekB has joined #ruby
basiclaser has quit [Quit: Connection closed for inactivity]
mitchell_ has quit [Quit: Textual IRC Client: www.textualapp.com]
_lovehandle_ has quit [Ping timeout: 250 seconds]
AlphaAtom has quit [Ping timeout: 256 seconds]
gkra has quit [Remote host closed the connection]
pontiki has quit [Quit: ciao]
mitchell_ has joined #ruby
mitchellhenke has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mitchell_ has quit [Client Quit]
JDiPierro has quit [Remote host closed the connection]
Matthews_ has quit [Remote host closed the connection]
sevenseacat has joined #ruby
borkdude has joined #ruby
JDiPierro has joined #ruby
Hijiri has joined #ruby
shuber_ has joined #ruby
Eiam_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FernandoBasso has quit [Quit: leaving]
zorak8 has quit [Ping timeout: 248 seconds]
dfinninger has joined #ruby
zorak8 has joined #ruby
wolflee_ has quit [Remote host closed the connection]
shuber_ has quit [Ping timeout: 244 seconds]
wolflee_ has joined #ruby