bruce_lee has quit [Remote host closed the connection]
nando293921 has joined #ruby
skweek has quit [Read error: Connection reset by peer]
Guest60828 has joined #ruby
fullofcaffeine has joined #ruby
skweek has joined #ruby
ghr has joined #ruby
drewo has quit [Read error: Connection reset by peer]
drewo has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
ghr has joined #ruby
spiette has quit [Quit: :qa!]
hahuang61 has joined #ruby
AndrewIsHere has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
nerium has quit [Read error: Connection reset by peer]
nerium has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 258 seconds]
arescorpio has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
sai has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
Log1x has joined #ruby
tristanp has joined #ruby
sai has quit [Ping timeout: 252 seconds]
blackmesa has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Log1x has quit [Read error: Connection reset by peer]
dminuoso has joined #ruby
kies has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
sneakerhax has joined #ruby
nerium has quit [Read error: Connection reset by peer]
nerium has joined #ruby
Log1x has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
AndrewIsHere has joined #ruby
AngryBuzzy has joined #ruby
ghr has joined #ruby
nando293921 has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
drewo has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
macsteps has joined #ruby
SilverKey has quit [Max SendQ exceeded]
smathy is now known as smathy_afk
AngryBuzzy has quit [Quit: This computer has gone to sleep]
bronson has joined #ruby
SilverKey has joined #ruby
hck89 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SilverKey has quit [Client Quit]
ghr has joined #ruby
nando293921 has quit [Ping timeout: 240 seconds]
FastJack has quit [Ping timeout: 244 seconds]
wms3001 has joined #ruby
tristanp has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 276 seconds]
underplank has joined #ruby
wms3001 has quit [Quit: Leaving]
ghr has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
Log1x has quit [Read error: Connection reset by peer]
Log1x has joined #ruby
tristanp has joined #ruby
zacts has joined #ruby
ghr has joined #ruby
<zacts>
hi
<adam12>
zacts: o/
<zacts>
this mruby looks cool. I wonder how different ISO ruby is from ruby-2.*
<zacts>
mruby seems cool as a lego brick kind of tool
<zacts>
:-)
<adam12>
I don't know a ton about it but I am pretty sure Matz wants it to compete with Lua - which is essentially no batteries included. Likely not much comparable Ruby 2 other than syntax / semantics.
iamvery has quit [Remote host closed the connection]
Log1x has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
cd-rum_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
ramfjord has quit [Ping timeout: 276 seconds]
marsjaninzmarsa has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
marsjaninzmarsa has quit [Remote host closed the connection]
bkxd has joined #ruby
qabulin has joined #ruby
marsjaninzmarsa has joined #ruby
marsjaninzmarsa has quit [Remote host closed the connection]
elifoster has joined #ruby
ghr has joined #ruby
nerium has quit [Read error: Connection reset by peer]
marsjaninzmarsa has joined #ruby
marsjaninzmarsa has quit [Remote host closed the connection]
underplank has quit [Quit: underplank]
marsjaninzmarsa has joined #ruby
marsjaninzmarsa has quit [Remote host closed the connection]
<zacts>
cool
nerium has joined #ruby
drewo has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DarkElement has quit [Quit: Leaving]
marsjaninzmarsa has joined #ruby
marsjaninzmarsa has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.5]
zacts has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
hahuang61 has joined #ruby
moeabdol2 has joined #ruby
wms has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
sai has joined #ruby
drewo has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
harfangk has joined #ruby
Tempesta has quit [Quit: See ya!]
hahuang61 has quit [Ping timeout: 250 seconds]
marsjaninzmarsa has joined #ruby
marsjaninzmarsa has quit [Remote host closed the connection]
moeabdol2 has quit [Ping timeout: 258 seconds]
sai has quit [Ping timeout: 264 seconds]
zacts has joined #ruby
marsjaninzmarsa has joined #ruby
ghr has joined #ruby
marsjaninzmarsa has quit [Remote host closed the connection]
blackmesa has joined #ruby
marsjaninzmarsa has joined #ruby
dminuoso has joined #ruby
nerium has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
nerium has joined #ruby
Mia has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall has quit [Quit: WeeChat 1.5]
xall has joined #ruby
arescorpio has quit [Quit: Leaving.]
dminuoso has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
qabulin has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
roamingdog has quit [Read error: Connection reset by peer]
LoneHermit has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
zacts has quit [Ping timeout: 272 seconds]
zacstewart has quit [Read error: Connection reset by peer]
LoneHermit has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
l4v2 has quit [Quit: l4v2]
tristanp has joined #ruby
pawnbox has joined #ruby
nettoweb has joined #ruby
xall has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
zacstewart has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
AndrewIsHere has quit [Remote host closed the connection]
nerium has quit [Read error: Connection reset by peer]
nerium has joined #ruby
roamingdog has quit [Ping timeout: 264 seconds]
flashpoint9 has joined #ruby
kies has joined #ruby
ghr has joined #ruby
iamvery has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
soulisson has joined #ruby
drewo has joined #ruby
<soulisson>
Hi, Can a library be stored on multiple files?
k3rn31 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
smathy has joined #ruby
CloCkWeRX has quit [Ping timeout: 244 seconds]
treaki_ has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calmchaos has joined #ruby
ghr has joined #ruby
lxsameer has joined #ruby
treaki__ has quit [Ping timeout: 240 seconds]
iamvery has quit [Ping timeout: 276 seconds]
<shevy>
soulisson I don't quite understand your question
<shevy>
if you want to know whether you can spread out your code into separate .rb files, then yes you can
l4v2 has joined #ruby
Rickmasta has joined #ruby
calmchaos has quit [Remote host closed the connection]
calmchaos has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
der-landgraf has quit [Quit: WeeChat 1.5]
c355e3b has quit [Quit: Connection closed for inactivity]
<soulisson>
shevy, let's say I want to write a library for cryptography and I implement my algorithms in multiple files, would that be considered a single library or multiple libraries?
<shevy>
if they are in the same namespace then you can say that it is a single library
<shevy>
but you can literally write down anything into a .rb file
neohunter has joined #ruby
<soulisson>
shevy, thanks
<shevy>
you can also do odd things
<shevy>
say that your project is called "Duck" and the top namespace is "module Duck"
<shevy>
you can add as many other modules too, like "module Tiger" or "module Bear"
<soulisson>
shevy, ok, I see
<shevy>
then if someone would require your project, say via: require 'duck', the other namespaces will be pulled in too
<shevy>
but in general, just keep things simple
nerium has quit [Read error: Connection reset by peer]
nerium has joined #ruby
<soulisson>
shevy, I felt the need to ask because I mainly with compiled languages like C and CPP and as you know in those languages a library is always a single file
<soulisson>
*worked
<shevy>
yeah, the .so and .a files on linux
<shevy>
it's a bit hard to compare it 1:1 to ruby since you don't end up with some binary dump usually, just plain text files
<shevy>
unless you have a ruby project that also makes use of C
mattwashere has joined #ruby
<soulisson>
shevy, yes, nice, glad ruby works that way :)
calmchaos has quit [Ping timeout: 264 seconds]
hahuang61 has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
mattwashere has quit [Ping timeout: 250 seconds]
underplank has joined #ruby
mattwashere has joined #ruby
pawnbox has joined #ruby
hahuang61 has quit [Ping timeout: 272 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
ghr has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
bkxd has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
cd-rum has joined #ruby
tristanp has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
Rickmasta has joined #ruby
dminuoso has joined #ruby
Guest60828 has quit [Ping timeout: 260 seconds]
nerium has quit [Read error: Connection reset by peer]
nerium has joined #ruby
ghr has joined #ruby
gix has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
fullofcaffeine has quit [Remote host closed the connection]
gix has joined #ruby
hahuang65 has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
leea has joined #ruby
maikowblue has quit [Quit: .]
iamvery has joined #ruby
Guest60828 has joined #ruby
LoneHermit has joined #ruby
bronson has joined #ruby
tubuliferous has joined #ruby
banisterfiend is now known as EATBULAGA
ghr has joined #ruby
LoneHermit has quit [Ping timeout: 276 seconds]
daffy_duck_2 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
roamingdog has joined #ruby
daffy_duck has quit [Ping timeout: 246 seconds]
drewo has quit [Read error: Connection reset by peer]
drewo has joined #ruby
skweek has joined #ruby
AndrewIsHere has joined #ruby
nerium has quit [Read error: Connection reset by peer]
nerium has joined #ruby
ghr has joined #ruby
roamingdog has quit [Ping timeout: 252 seconds]
harfangk has quit [Quit: harfangk]
c0mrad3 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
AndrewIsHere has quit [Ping timeout: 250 seconds]
hk238 has joined #ruby
s1kx has quit [Ping timeout: 252 seconds]
djbkd has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
djbkd has joined #ruby
harfangk has joined #ruby
Tempesta has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
neohunter has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
Xiti has quit [Quit: Xiti]
drewo has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Ping timeout: 250 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
Devalo has joined #ruby
soulisson has quit [Quit: Quitte]
underplank has quit [Quit: underplank]
tristanp has quit [Ping timeout: 276 seconds]
yadobujo has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Devalo has quit [Ping timeout: 244 seconds]
underplank has joined #ruby
ghr has joined #ruby
tristanp has joined #ruby
nerium has quit [Ping timeout: 272 seconds]
Tempesta has quit [Quit: See ya!]
drewo has joined #ruby
rrichardsr3 has joined #ruby
nankyokusei has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
sai_ has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
k3rn31 has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
mattwashere has quit [Remote host closed the connection]
ghr has joined #ruby
mattwashere has joined #ruby
stan has quit [Ping timeout: 250 seconds]
sai_ has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
mattwashere has quit [Ping timeout: 264 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
underplank has quit [Quit: underplank]
zacts has quit [Ping timeout: 272 seconds]
dminuoso has joined #ruby
iamvery has quit [Remote host closed the connection]
armyriad has quit [Quit: Leaving]
pawnbox has joined #ruby
drewo has quit [Read error: Connection reset by peer]
fredolinhares has quit [Quit: WeeChat 1.5]
ghr has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
nanoyak has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
nanoyak has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 250 seconds]
tmtwd has joined #ruby
LoneHerm_ has joined #ruby
drewo has joined #ruby
bronson has joined #ruby
bkxd has quit [Ping timeout: 258 seconds]
hipertracker has quit [Quit: hipertracker]
ghr has joined #ruby
l4v2 has quit [Quit: l4v2]
LoneHerm_ has quit [Ping timeout: 276 seconds]
Cohedrin has joined #ruby
Cohedrin has quit [Client Quit]
Cohedrin has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
hahuang61 has joined #ruby
drewo has quit [Read error: Connection reset by peer]
Cohedrin has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
ruby-lang291 has quit [Ping timeout: 250 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
craigp has quit [Ping timeout: 252 seconds]
bronson has quit [Remote host closed the connection]
ghr has joined #ruby
bronson has joined #ruby
bkxd has joined #ruby
<silverdust>
I have date in this format 2016-07-11T14:25:58.000Z and I want to convert to Time. With Time.new('2016-07-11T14:25:58.000Z') I don't get the same date
fullofcaffeine has quit [Remote host closed the connection]
<shevy>
Time.parse '2016-07-11T14:25:58.000Z' # => 2016-07-11 14:25:58 UTC
<shevy>
hmm is that the same?
ghr has quit [Ping timeout: 240 seconds]
<silverdust>
yes. Thanks shevy
skweek has quit [Ping timeout: 240 seconds]
<shevy>
\o/
<shevy>
I could not see any difference but I was not sure, I don't think I have seen a trailing Z there yet
blackgoat has quit [Quit: WeeChat 1.5]
pawnbox has joined #ruby
synthroid has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
ghr has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
drewo has quit [Read error: Connection reset by peer]
MrBusiness2 has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
drewo has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
MrBusiness has quit [Ping timeout: 250 seconds]
tristanp has quit [Ping timeout: 246 seconds]
synthroid has quit []
eljimador has quit [Read error: Connection reset by peer]
MrBusiness3 has joined #ruby
tristanp has joined #ruby
ghr has joined #ruby
MrBusiness2 has quit [Ping timeout: 258 seconds]
ntt has joined #ruby
dminuoso has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
wms_ has joined #ruby
Log1x has joined #ruby
wms_ has quit [Max SendQ exceeded]
wms_ has joined #ruby
wms has quit [Ping timeout: 250 seconds]
MrBusiness2 has joined #ruby
wms__ has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
ghr has joined #ruby
cd-rum has quit [Ping timeout: 252 seconds]
sergey_makagon has joined #ruby
Log1x has quit [Quit: Quit]
wms_ has quit [Ping timeout: 276 seconds]
MrBusiness3 has quit [Ping timeout: 272 seconds]
edwardly has quit [Ping timeout: 240 seconds]
wms__ has quit [Read error: Connection reset by peer]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
wms__ has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
wms__ has quit [Max SendQ exceeded]
pawnbox has quit [Ping timeout: 258 seconds]
wms__ has joined #ruby
EATBULAGA is now known as banisterfiend
wms__ has quit [Max SendQ exceeded]
wms__ has joined #ruby
speaking1ode has joined #ruby
Log1x has joined #ruby
djbkd has quit [Quit: Leaving...]
Dimik-- has joined #ruby
tmtwd has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
johnny56_ has joined #ruby
mrBen2k2k2k has joined #ruby
duoi has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
rrichardsr3 has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
duoi has joined #ruby
tristanp has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
flashpoint9 has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
duoi has quit [Ping timeout: 250 seconds]
tmtwd has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
drewo has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Ping timeout: 250 seconds]
duoi has joined #ruby
tristanp has joined #ruby
drewo has joined #ruby
Devalo has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
lkb has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
Guest60828 has quit [Ping timeout: 264 seconds]
mrBen2k2k2k has quit [Max SendQ exceeded]
Oclair_ has quit [Read error: Connection reset by peer]
Oclair has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
ntt has quit [Ping timeout: 264 seconds]
Guest60828 has joined #ruby
Sucks has joined #ruby
drewo has quit [Read error: Connection reset by peer]
drewo has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
yadobujo has quit [Remote host closed the connection]
sai_ has joined #ruby
ghr has joined #ruby
Dimik-- has quit [Ping timeout: 244 seconds]
elifoster|alt has joined #ruby
sai_ has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
crdpink has quit [Excess Flood]
crdpink has joined #ruby
Rodya_ has quit [Remote host closed the connection]
elifoster has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
dminuoso has joined #ruby
ghr has joined #ruby
ljc has joined #ruby
ins64 has joined #ruby
Rodya_ has quit [Ping timeout: 264 seconds]
drewo has quit [Read error: Connection reset by peer]
zacts has quit [Ping timeout: 260 seconds]
tristanp has quit [Ping timeout: 260 seconds]
firstdayonthejob has joined #ruby
drewo has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
dminuoso has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
flughafen_ has joined #ruby
tmtwd has quit [Ping timeout: 276 seconds]
tristanp has joined #ruby
bronson has quit [Remote host closed the connection]
freerobby has joined #ruby
ghr has joined #ruby
fckyoufreenode has quit []
Dimik has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has quit [Ping timeout: 240 seconds]
rvca has joined #ruby
ntt has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
drewo has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
drewo has joined #ruby
hahuang65 has quit [Ping timeout: 258 seconds]
finnnnnnnnnnn has joined #ruby
ntt has quit [Ping timeout: 240 seconds]
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
ghr has joined #ruby
zacts has joined #ruby
zacts has quit [Client Quit]
amclain has quit [Quit: Leaving]
zacts has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
ghr has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drewo has quit [Read error: Connection reset by peer]
tristanp has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 240 seconds]
drewo has joined #ruby
catphish has joined #ruby
pawnbox has joined #ruby
tristanp has joined #ruby
ghr has joined #ruby
pawnbox has quit [Remote host closed the connection]
fullofcaffeine has quit [Remote host closed the connection]
ghr has joined #ruby
Sucks has quit [Ping timeout: 264 seconds]
multi_io has quit [Ping timeout: 264 seconds]
sai has joined #ruby
multi_io has joined #ruby
marr has joined #ruby
hipertracker has joined #ruby
tvw has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
hipertracker has quit [Client Quit]
Rodya_ has joined #ruby
mistermocha has joined #ruby
matp has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
solars has joined #ruby
dminuoso has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.4]
hipertracker has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
mistermocha has quit [Ping timeout: 258 seconds]
firstdayonthejob has quit [Ping timeout: 244 seconds]
speaking1ode has quit [Ping timeout: 244 seconds]
dminuoso has quit [Ping timeout: 252 seconds]
toretore has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
rvca has quit [Ping timeout: 240 seconds]
tristanp has quit [Ping timeout: 252 seconds]
LoneHerm_ has joined #ruby
rvca has joined #ruby
tristanp has joined #ruby
elifoster|alt has quit [Quit: sleep]
minimalism has quit [Quit: minimalism]
ghr has joined #ruby
LoneHerm_ has quit [Ping timeout: 246 seconds]
rvca has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
vdamewood has joined #ruby
AndrewIsHere has joined #ruby
ghr has joined #ruby
jakkn has joined #ruby
rvca has joined #ruby
Tempesta has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
matp has quit [Ping timeout: 252 seconds]
matp_ has joined #ruby
Devalo has joined #ruby
<jakkn>
I'm trying to make a Rakefile multitask for file conversion that takes .yml files to whatever base extension they have. To explain, foo.bar is first transformed to foo.bar.yml, and now I need to go the other way. The thing is, I don't know the base file extensions, so task '.bar' => '.yml' do {} doesn't work. Any ideas?
ghr has quit [Ping timeout: 240 seconds]
rvca has quit [Ping timeout: 276 seconds]
drewo has quit [Read error: Connection reset by peer]
TomyLobo has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
drewo has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
tristanp has quit [Ping timeout: 252 seconds]
spudowiar has joined #ruby
tristanp has joined #ruby
ghr has joined #ruby
nankyokusei has joined #ruby
flughafen_ has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
FastJack has joined #ruby
moeabdol2 has joined #ruby
blackmesa has joined #ruby
ghr has joined #ruby
moeabdol2 has quit [Ping timeout: 260 seconds]
Jackneill has joined #ruby
hipertracker has quit [Quit: hipertracker]
ghr has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
matp_ has quit [Remote host closed the connection]
dminuoso has joined #ruby
matp has joined #ruby
jxs_ has joined #ruby
ghr has joined #ruby
drewo has quit [Read error: Connection reset by peer]
Rodya_ has quit [Ping timeout: 250 seconds]
drewo has joined #ruby
mistermocha has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
omphe has joined #ruby
bronson has joined #ruby
Devalo has quit [Remote host closed the connection]
lophte has joined #ruby
omphe has quit [Client Quit]
LoneHermit has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
tristanp has quit [Ping timeout: 246 seconds]
LoneHermit has quit [Ping timeout: 272 seconds]
hahuang65 has joined #ruby
sai has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
drewo has quit [Read error: Connection reset by peer]
drewo has joined #ruby
Guest60828 has quit [Ping timeout: 276 seconds]
banisterfiend is now known as EATBULAGA
hahuang65 has quit [Ping timeout: 272 seconds]
dionysus69 has joined #ruby
<apeiros>
shevy, silverdust: Time.parse should be your last resort. this is clearly ISO8601, hence use Time.iso8601 (you have to `require 'time'` for it)
spudowiar has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
aryaching has quit [Remote host closed the connection]
Guest60828 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
harfangk has quit [Quit: harfangk]
Devalo has joined #ruby
andersh has quit [Ping timeout: 272 seconds]
bttf has quit [Ping timeout: 264 seconds]
troter__________ has quit [Ping timeout: 246 seconds]
zacstewart has quit [Read error: Connection reset by peer]
kirun has joined #ruby
zacstewart has joined #ruby
symm- has joined #ruby
troter__________ has joined #ruby
bttf has joined #ruby
andersh has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
colegatron_origi has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
yadobujo has joined #ruby
kapowaz has quit [Read error: Connection reset by peer]
kapowaz has joined #ruby
tubuliferous has quit [Ping timeout: 246 seconds]
moeabdol2 has joined #ruby
matp has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
biberu has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
finnnnnnnnnnn has joined #ruby
miqlas-H has joined #ruby
finnnnnnnnnnn has quit [Client Quit]
Guest60828 has quit [Ping timeout: 246 seconds]
tristanp has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
Guest60828 has joined #ruby
_tpavel has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
colegatron has joined #ruby
tristanp has joined #ruby
_tpavel has quit [Client Quit]
drewo has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
Snowy has joined #ruby
Ebok has quit [Quit: Leaving]
tubuliferous has joined #ruby
colegatron has quit [Ping timeout: 252 seconds]
roshanavand has quit [Client Quit]
drewo has joined #ruby
ghr has joined #ruby
iwmrby has joined #ruby
tubuliferous has quit [Ping timeout: 276 seconds]
wms__ has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
neohunter has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
yardenbar has joined #ruby
drewo has quit [Read error: Connection reset by peer]
ghr has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
colegatron has joined #ruby
catphish has quit [Ping timeout: 264 seconds]
symm- has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
finnnnnnnnnnn has joined #ruby
ghr has joined #ruby
last_staff has joined #ruby
hahuang65 has joined #ruby
roamingdog has joined #ruby
drewo has joined #ruby
kam270 has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
EATBULAGA is now known as banisterfiend
catphish has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
drewo has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
last_staff has quit [Quit: last_staff]
hahuang65 has quit [Ping timeout: 258 seconds]
last_staff has joined #ruby
iwmrby has quit [Quit: WeeChat 1.5]
tristanp has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
pawnbox has quit [Remote host closed the connection]
ghr has joined #ruby
pawnbox has joined #ruby
drewo has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
<jakkn>
(repeating a question from 2h ago. Please don't be mad): I'm trying to make a Rakefile multitask for file conversion that takes .yml files to whatever base extension they have. To explain, foo.bar is first transformed to foo.bar.yml, and now I need to go the other way. The thing is, I don't know the base file extensions, so task '.bar' => '.yml' do {} doesn't work. Any ideas?
SCHAAP137 has joined #ruby
shinnya has joined #ruby
zm has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
ghr has joined #ruby
postmodern has quit [Quit: Leaving]
sai has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
drewo has quit [Read error: Connection reset by peer]
howdoi has joined #ruby
aredridel has quit [Ping timeout: 250 seconds]
aredridel has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
ljc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Coldblackice has quit [Ping timeout: 276 seconds]
c355e3b has joined #ruby
tvw has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
SirOliver has joined #ruby
nankyokusei has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
SirOliver has quit [Client Quit]
hipertracker has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
ins64 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
ghr has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
yadobujo has quit [Remote host closed the connection]
yadobujo has joined #ruby
ghr has joined #ruby
drewo has joined #ruby
Rodya_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Devalo has joined #ruby
LoneHermit has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
ghr has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
LoneHermit has quit [Ping timeout: 260 seconds]
matp has joined #ruby
bronson has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
Snowy has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 252 seconds]
chipotle has joined #ruby
sergey_makagon has quit [Remote host closed the connection]
ghr has joined #ruby
mikecmpbll has joined #ruby
anisha has joined #ruby
mistermocha has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
drewo has quit [Ping timeout: 272 seconds]
<apeiros>
jakkn: repeating a question after 2h is fine
<jakkn>
apeiros: good to know
<jakkn>
any idea?
<jakkn>
is the question bad?
mistermocha has quit [Ping timeout: 258 seconds]
tristanp has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
troulouliou_div2 has joined #ruby
blackmesa has joined #ruby
hanmac has quit [Ping timeout: 272 seconds]
yardenbar has quit [Ping timeout: 252 seconds]
dionysus69 has joined #ruby
drewo has joined #ruby
tristanp has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 258 seconds]
jswe has joined #ruby
ghr has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
nankyokusei has joined #ruby
<shevy>
jakkn the amount of people who use rake a lot is probably quite low, and most of those who then do are more noobs than experts in rake really
sergey_makagon has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<jakkn>
shevy: ah, that explains it
pandaant has joined #ruby
<jakkn>
shame
<jakkn>
it's pretty cool
nankyokusei has quit [Ping timeout: 244 seconds]
u235psycho has quit [Remote host closed the connection]
shadowshell has quit [Quit: Connection closed for inactivity]
hahuang65 has quit [Ping timeout: 250 seconds]
hipertracker has joined #ruby
ghr has joined #ruby
iamvery has quit [Remote host closed the connection]
flughafen_ has quit [Ping timeout: 252 seconds]
myntcake has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
hipertracker has quit [Client Quit]
nadir has quit [Quit: Connection closed for inactivity]
mrBen2k2k2k has quit [Max SendQ exceeded]
<jakkn>
so I have now a Rakefile with two rules, one to make foo.bar into foo.bar.yml, and another to go the other way. It works, yey! But, lo and behold, I now have a circular dependency. Does anyone know a remedy?
<jhass>
two rakefiles? :P
lkb_ has joined #ruby
<jhass>
rake, as are most build systems, is geared to go from a source to destination format
<jhass>
not as a general converter
ghr has quit [Ping timeout: 240 seconds]
<jhass>
and tbh not sure you need its powers here
<jhass>
case ARGV[0]; when "to_yaml"; ToYaml.convert(Dir["*.bar"]); when "from_yaml"; FromYaml.convert(Dir["*.yml"]); end
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
matp has quit [Remote host closed the connection]
lkb has quit [Ping timeout: 264 seconds]
hipertracker has joined #ruby
ghr has joined #ruby
iamdevnul has quit [Ping timeout: 272 seconds]
tristanp has quit [Ping timeout: 276 seconds]
flashpoint9 has quit [Read error: Connection reset by peer]
rflot has quit [Ping timeout: 272 seconds]
cyclonis has quit [Quit: Leaving.]
iamdevnul has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
rflot has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
tristanp has joined #ruby
<jakkn>
jhass: I see. Trying to do too much in the same file. You might be right, the initial motivation to do this was I need a way to take a bunch of files to yml and back again, and it needs to be multithreaded execution on both windows and linux.
SCHAAP137 has joined #ruby
futilegames has joined #ruby
omphe has joined #ruby
ghr has joined #ruby
<jakkn>
I began with separate bash and batch scripts, but it got too cumbersome updating both ends, and in the end it's slow from lack of threading. So I looked into Make and decided instead to go for Rake since having the full power of Ruby available in the build script simplified some algorithms alot.
_seanc_ has joined #ruby
EATBULAGA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anisha has quit [Quit: This computer has gone to sleep]
_seanc_ has quit [Client Quit]
Jackneill_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Jackneill has quit [Ping timeout: 250 seconds]
iamvery has joined #ruby
ghr has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
well I'm saying you're basically fighting rake's DSL at this point, while whipping up a simplistic CLI parser and a small thread pool shouldn't be much more, depending on experience even less work ;)
Meow-J has quit []
ghr has quit [Ping timeout: 240 seconds]
iamvery has quit [Remote host closed the connection]
Madplatypus has joined #ruby
daffy_duck has joined #ruby
harfangk has quit [Quit: harfangk]
bronson has joined #ruby
ghr has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
barajasfab has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 252 seconds]
SilverKey has joined #ruby
chipotle has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
harfangk has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
dvinciguerra_ has joined #ruby
tristanp has joined #ruby
futilegames has quit [Quit: futilegames]
ghr has joined #ruby
hahuang65 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
pontiki has joined #ruby
hipertracker has quit [Quit: hipertracker]
flashpoint9 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
flashpoint9 has joined #ruby
hahuang65 has quit [Ping timeout: 258 seconds]
hipertracker has joined #ruby
AndrewIsHere has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
kavanagh has joined #ruby
ghr has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
malconis has joined #ruby
benlieb has joined #ruby
SilverKey has quit [Quit: Halted.]
aryaching has joined #ruby
MrBusiness3 has joined #ruby
malconis has quit [Client Quit]
hipertracker has quit [Quit: hipertracker]
Jackneill_ has quit [Ping timeout: 258 seconds]
hipertracker has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
MrBusiness2 has quit [Ping timeout: 250 seconds]
Jackneill_ has joined #ruby
firstdayonthejob has joined #ruby
AngryBuzzy has joined #ruby
drewo has joined #ruby
ghr has joined #ruby
harfangk has quit [Quit: harfangk]
harfangk has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
hipertracker has quit [Quit: hipertracker]
flashpoint9 has joined #ruby
jxs_ has quit [Remote host closed the connection]
jakkn has quit [Quit: Konversation terminated!]
hipertracker has joined #ruby
drewo has quit [Ping timeout: 240 seconds]
jakkn_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
pontiki has quit [Quit: Lost terminal]
harfangk has quit [Client Quit]
harfangk has joined #ruby
hipertracker has quit [Client Quit]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
colegatron has quit [Ping timeout: 252 seconds]
The_Phoenix has joined #ruby
JeanCarloMachado has joined #ruby
hipertracker has joined #ruby
AngryBuzzy has quit [Quit: This computer has gone to sleep]
roamingdog has joined #ruby
ghr has joined #ruby
blackmesa has joined #ruby
blackmesa has quit [Client Quit]
omphe has joined #ruby
SilverKey has joined #ruby
hipertracker has quit [Client Quit]
dminuoso has quit [Ping timeout: 258 seconds]
SilverKey has quit [Max SendQ exceeded]
SilverKey has joined #ruby
giz|work has quit [Ping timeout: 260 seconds]
roamingdog has quit [Remote host closed the connection]
iamvery has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
LoneHermit has quit [Remote host closed the connection]
The_Phoenix has quit [Ping timeout: 246 seconds]
omphe has quit [Client Quit]
roamingdog has joined #ruby
nankyokusei has joined #ruby
roamingdog has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
SilverKey has quit [Quit: Halted.]
karapetyan has quit [Remote host closed the connection]
p0p0pr37_ has joined #ruby
karapetyan has joined #ruby
p0p0pr37 has quit [Ping timeout: 240 seconds]
p0p0pr37_ is now known as p0p0pr37
nankyokusei has quit [Ping timeout: 272 seconds]
colegatron has joined #ruby
ghr has joined #ruby
_seanc_ has joined #ruby
rvca has joined #ruby
_seanc_ has quit [Client Quit]
flughafen_ has joined #ruby
drewo has joined #ruby
_seanc_ has joined #ruby
Hobogrammer has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
nicoulaj has joined #ruby
webus has joined #ruby
karapetyan has quit [Read error: Connection timed out]
hutch34 has joined #ruby
karapetyan has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
ghr has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
tristanp has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
_seanc_ has quit [Quit: _seanc_]
mattwashere has quit [Ping timeout: 244 seconds]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
hutch34 has quit [Ping timeout: 244 seconds]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
hahuang65 has joined #ruby
The_Phoenix has joined #ruby
Cohedrin has joined #ruby
benlieb has quit [Quit: benlieb]
rvca has quit [Remote host closed the connection]
tmtwd has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
rvca has joined #ruby
hahuang65 has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
Meow_J has joined #ruby
benlieb has joined #ruby
Wildfyr has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
karapetyan has quit [Remote host closed the connection]
macsteps has joined #ruby
harfangk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cyclonis has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
crystal77 has joined #ruby
drewo has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
workmad3 has joined #ruby
dionysus70 has joined #ruby
harfangk has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
dionysus70 is now known as dionysus69
[74]HELLth has quit [Quit: Leaving]
roamingdog has joined #ruby
nicoulaj has quit [Quit: nicoulaj]
nankyokusei has quit [Ping timeout: 276 seconds]
drewo has joined #ruby
ghr has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
tristanp has quit [Ping timeout: 252 seconds]
bkxd has quit [Ping timeout: 240 seconds]
trifling-jest has quit [Quit: Leaving]
JeanCarloMachado has quit [Quit: Lost terminal]
ghr has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
leea has joined #ruby
rizenine has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
dminuoso has joined #ruby
futilegames has joined #ruby
dvinciguerra_ has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
drewo has quit [Read error: Connection reset by peer]
webus has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
smathy has joined #ruby
dminuoso has quit [Ping timeout: 252 seconds]
mattwashere has joined #ruby
LoneHerm_ has joined #ruby
The_Phoenix has quit [Quit: Leaving.]
The_Phoenix has joined #ruby
flashpoint9 has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
dminuoso has joined #ruby
LoneHerm_ has quit [Ping timeout: 250 seconds]
Guest60828 has quit [Ping timeout: 272 seconds]
Guest60828 has joined #ruby
biberu has joined #ruby
AlexRussia has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
kavanagh has quit [Quit: That's all folks!]
tristanp has quit [Ping timeout: 258 seconds]
tristanp has joined #ruby
ghr has joined #ruby
sepp2k has joined #ruby
Devalo has joined #ruby
smathy has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 240 seconds]
tristanp has quit [Ping timeout: 252 seconds]
_seanc_ has joined #ruby
MrBusiness3 has quit [Ping timeout: 250 seconds]
tristanp has joined #ruby
The_Phoenix has quit [Ping timeout: 252 seconds]
Azure|dc has quit [Ping timeout: 250 seconds]
marck has joined #ruby
marck has left #ruby [#ruby]
underplank has joined #ruby
hahuang65 has joined #ruby
ghr has joined #ruby
zacstewart has joined #ruby
cyphase has quit [Ping timeout: 276 seconds]
kavanagh has joined #ruby
fullofcaffeine has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
cyphase has joined #ruby
Oclair has quit [Quit: Bye Bye]
zacstewart has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Ping timeout: 264 seconds]
_seanc_ has quit [Quit: _seanc_]
ghr has quit [Ping timeout: 240 seconds]
face has quit []
speakingcode has joined #ruby
iamvery has quit [Remote host closed the connection]
flashpoint9 has quit [Remote host closed the connection]
<Papierkorb>
Looks like it's Stackoverflow Saturday or something
<arup_r>
haha
<arup_r>
soulisson: there are tons of information on the web of those things you are asking. So "Google" it. :)
AndrewIsHere has quit [Ping timeout: 250 seconds]
<DoctorMonocular>
I'm confused about FileUtils.rm_r -- I think it takes an array of paths and clears those path recursively. But I'm seeing weird behavior: I have a directory called `parent`, which contains 2 other directories `a` and `b` plus a file called `index.html` -- I call Dir.glob('parent/*') and I get ['parent/a','parent/b'], I pass that array to FileUtils.rm_r and what happens is that a and b disappear as expected,
<DoctorMonocular>
but only index.html is deleted. Why is that happening?
ghr has joined #ruby
<DoctorMonocular>
er, ALSO index.html is deleted, not "only"
<Papierkorb>
DoctorMonocular: so 'parent' contains 'a', 'b' and 'index.html', right? Do you want to remove everything *in* parent/ or parent/ itself?
<DoctorMonocular>
Papierkorb: I want to remove parent/a and parent/b, but parent should still be there, and index.html should still be there inside of it
zacts has joined #ruby
<Papierkorb>
DoctorMonocular: So you want to remove only directories?
<DoctorMonocular>
yes
jottr has joined #ruby
<jhass>
DoctorMonocular: Dir.glob("parent/*") would return index.html too
<Papierkorb>
DoctorMonocular: try Dir.glob('parent/*/') instead, so with a trailing slash
<DoctorMonocular>
jhass: that's what I was guessing, but it's not there in the array?
nadir has joined #ruby
<Papierkorb>
DoctorMonocular: it must be in the array
banisterfiend has joined #ruby
<jhass>
^ you more likely overlooked it or looked at a result where it wasn't there in the first place
<DoctorMonocular>
Resetting ./world
<DoctorMonocular>
Clearing
<DoctorMonocular>
Directories to Clear: ["./world/groups", "./world/references", "./world/story-bible", "./world/summary", "./world/the-world"]
<DoctorMonocular>
that's the log from my debugging
<jhass>
tells us nothing without the code that produces it
<DoctorMonocular>
yeah, so I print that array, then immediately I pass that exact array into FileUtils.rm_r
<jhass>
then there never was a index.html in the first place
<DoctorMonocular>
I manually copy index.html for testing, then run the code, and it's gone every time
<DoctorMonocular>
if I don't run the rm_r line everything stays, including the index.html
<DoctorMonocular>
I wouldn't believe me if I were you
<DoctorMonocular>
that's why I'm vexed
<Papierkorb>
DoctorMonocular: Your globbing matches the .html file too, so it must be in the array and thus will be deleted too
<DoctorMonocular>
there must be something dirt basic I'm fucking up, but I don't know what
<jhass>
make a gist with your code and terminal transcript proving what you say
<Papierkorb>
DoctorMonocular: make sure you don't filter it for output, and that you're not simply overlooking it in the output
yadobujo has joined #ruby
<DoctorMonocular>
ok, hang on, I have to refactor a little to make it gistable, one sec
vuoto has quit [Remote host closed the connection]
El3k0n has joined #ruby
xall_ has quit [Ping timeout: 244 seconds]
tubuliferous has quit [Ping timeout: 246 seconds]
drewo has quit [Read error: Connection reset by peer]
El3k0n has quit [Client Quit]
JeanCarloMachado has joined #ruby
marr has joined #ruby
drewo has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
enterprisey has joined #ruby
<zacts>
jhass: when are threads used, and when are fibers used, (in a nutshell)
<jhass>
in ruby use threads when you want the OS to get back to you after some IO you blocked on is available again, use fibers when you want to explicitly control when to switch to another fiber
AndrewIsHere has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
MrBusiness3 has joined #ruby
JeanCarl1Machado has joined #ruby
hipertracker has quit [Quit: hipertracker]
silentpost has left #ruby ["WeeChat 1.5"]
hipertracker has joined #ruby
roamingdog has joined #ruby
JeanCarloMachado has quit [Ping timeout: 246 seconds]
johnmilton has joined #ruby
ghr has joined #ruby
underplank has joined #ruby
JeanCarl1Machado has quit [Ping timeout: 240 seconds]
inukshuk has quit [Ping timeout: 250 seconds]
Xiti` has joined #ruby
Beverage has joined #ruby
<zacts>
jhass: in general which is utilized more, threads or fibers?
<jhass>
threads
<zacts>
cool
<zacts>
thanks
<jhass>
well by end users anyway
<jhass>
Enumerator is based on Fiber for example
<zacts>
oh interesting, cool. My question was mainly in regards to end users though
enterprisey has quit [Ping timeout: 250 seconds]
AndrewIsHere has quit [Remote host closed the connection]
Xiti has quit [Ping timeout: 264 seconds]
Wsewolod has quit [Ping timeout: 272 seconds]
yokel has quit [Ping timeout: 250 seconds]
genpaku has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
genpaku has joined #ruby
yokel has joined #ruby
AngryBuzzy has joined #ruby
moeabdol1 has quit [Quit: WeeChat 1.4]
spudowiar has joined #ruby
roamingdog has quit [Remote host closed the connection]
Sammichmaker has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
blackwell has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
finnnnnnnnnnn has joined #ruby
ghr has joined #ruby
humd1ng3r has quit [Ping timeout: 246 seconds]
imajes has quit [Ping timeout: 246 seconds]
jtd has quit [Remote host closed the connection]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Coldblackice has joined #ruby
AndrewIsHere has joined #ruby
blackwell has joined #ruby
jtd has joined #ruby
humd1ng3r has joined #ruby
imajes has joined #ruby
xall_ has joined #ruby
JeanCarloMachado has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
AndrewIsHere has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
tristanp has joined #ruby
enterprisey has joined #ruby
Rodya_ has quit [Remote host closed the connection]
KnownSyntax has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
_Sucks has joined #ruby
zacts has quit [Ping timeout: 272 seconds]
alfiemax has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
tubuliferous has joined #ruby
zacstewart has quit [Ping timeout: 264 seconds]
hutch34 has quit [Ping timeout: 244 seconds]
Rodya_ has joined #ruby
workmad3 has joined #ruby
JeanCarl1Machado has joined #ruby
ghr has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
hipertracker has quit [Quit: hipertracker]
yfeldblum has quit [Ping timeout: 250 seconds]
xall_ has quit [Read error: Connection reset by peer]
hipertracker has joined #ruby
JeanCarloMachado has quit [Ping timeout: 244 seconds]
xall_ has joined #ruby
AngryBuzzy has quit [Quit: This computer has gone to sleep]
nankyokusei has joined #ruby
Madplatypus has joined #ruby
biberu has quit []
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
gizmore has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
ta_ has quit [Remote host closed the connection]
gizless has quit [Ping timeout: 240 seconds]
finnnnnnnnnnn has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Ping timeout: 250 seconds]
zacts has joined #ruby
crystal77 has joined #ruby
chipotle has joined #ruby
chipotle has quit [Max SendQ exceeded]
chipotle has joined #ruby
yadobujo has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
colegatron has quit [Ping timeout: 276 seconds]
hipertracker has quit [Quit: hipertracker]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
swills_ has joined #ruby
swills has quit [Read error: Connection reset by peer]
colegatron has joined #ruby
nersoh has joined #ruby
flashpoint9 has joined #ruby
Sucks has quit [Ping timeout: 264 seconds]
longfeet has joined #ruby
diegoviola has joined #ruby
ghr has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
enterprisey has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
TinkerTyper has quit [Ping timeout: 258 seconds]
kavanagh has quit [Quit: That's all folks!]
toretore has joined #ruby
agent_white has joined #ruby
dangerousdave has quit [Ping timeout: 276 seconds]
rrichardsr3 has joined #ruby
djbkd has joined #ruby
ghr has joined #ruby
hutch34 has joined #ruby
cisco has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
flashpoint9 has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 260 seconds]
flashpoint9 has joined #ruby
Uranio has joined #ruby
ramfjord has quit [Ping timeout: 258 seconds]
tristanp has quit [Remote host closed the connection]
torandu has quit [Read error: Connection reset by peer]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 250 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
toretore has quit [Ping timeout: 258 seconds]
leea_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]