Dobler has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zeroDi has quit [Quit: WeeChat 1.5]
fmcgeough has quit [Quit: fmcgeough]
chris349 has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
LambdaSix has quit [Ping timeout: 260 seconds]
LambdaSix has joined #ruby
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
vktec has quit [Ping timeout: 260 seconds]
SCHAAP137 has quit [Remote host closed the connection]
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
vktec has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
poikon has quit [Ping timeout: 250 seconds]
dviola has quit [Quit: WeeChat 1.6]
charliesome has joined #ruby
swills has quit [Ping timeout: 260 seconds]
poikon has joined #ruby
Dobler has joined #ruby
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
BackEndCoder has quit [Excess Flood]
quazimodo has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
BackEndCoder has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
SeepingN has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
AnoHito_ has joined #ruby
Dobler has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AnoHito has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
csk has joined #ruby
kechja has quit [Ping timeout: 246 seconds]
mipesom has joined #ruby
bmurt has joined #ruby
gusrub_ has joined #ruby
skweek has joined #ruby
jgt2 has joined #ruby
gusrub_ has quit [Remote host closed the connection]
Jameser has joined #ruby
gusrub_ has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jgt1 has quit [Ping timeout: 258 seconds]
<xrlk>
rvm is liquid ass compared to rbenv
<Nilium>
I prefer rbenv, but calling rvm that seems unnecessary.
mipesom has quit [Ping timeout: 252 seconds]
mipesom has joined #ruby
buglessdr has joined #ruby
bumao has quit [Read error: Connection reset by peer]
buglessdr2 has joined #ruby
nankyokusei has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
bumao has joined #ruby
wpostma1 has joined #ruby
<wpostma1>
I am having trouble getting gem charlock-holmes to work. It's giving me a load error when I try to use it. undefined symbol: _ZTIN6icu_538ByteSinkE
nankyokusei has quit [Ping timeout: 265 seconds]
jgt2 has quit [Ping timeout: 265 seconds]
jdawgaz has joined #ruby
<wpostma1>
trying rvm gemset empty is that the right way to rebuild all my gems from scratch?
rafadc has joined #ruby
d^sh_ has quit [Ping timeout: 260 seconds]
d^sh has joined #ruby
fmcgeough has joined #ruby
rafadc has quit [Ping timeout: 256 seconds]
fmcgeough has quit [Client Quit]
Immune has quit [Ping timeout: 260 seconds]
quazimodo has joined #ruby
jscheel has joined #ruby
harai has joined #ruby
csk has quit [Ping timeout: 260 seconds]
pwnd_nsfw` has joined #ruby
pwnd_nsfw has quit [Ping timeout: 240 seconds]
rohit__ has joined #ruby
beawesomeinstead has quit [Ping timeout: 240 seconds]
chadwtaylor has joined #ruby
f0rpaxe has quit [Ping timeout: 245 seconds]
Dobler has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
beawesomeinstead has joined #ruby
f0rpaxe has joined #ruby
jscheel has quit [Quit: jscheel]
kechja has joined #ruby
hanmac has quit [Ping timeout: 245 seconds]
Dobler has quit [Ping timeout: 260 seconds]
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver>
xrlk: find more constructive ways to phrase that.
<cinderhaze>
we have N different tars that need exploded ontop of each other in order (what will make our the directory of our puppet code to test). once I explode all of these tars into a directory, then I can do some normal puppet testing. Is there any built in rake tasks for managing tar files? that way it would only extract them if the source tar file had changed?
ledestin has joined #ruby
nocd has joined #ruby
blackbombay_ has joined #ruby
blackbombay has quit [Ping timeout: 268 seconds]
jscheel has joined #ruby
jscheel has quit [Client Quit]
JoshS has joined #ruby
wpostma1 has joined #ruby
quazimodo has joined #ruby
<baweaver>
cinderhaze you'd have to write it
<baweaver>
do an md5 checksum against the files for checking updates
<cinderhaze>
is there some precedence for where to cache the value of the previous file?
<cinderhaze>
the md5 value*
malcolmva has joined #ruby
kechja has quit [Ping timeout: 246 seconds]
nocd has quit [Remote host closed the connection]
Immune has quit [Ping timeout: 260 seconds]
jcao219_ has joined #ruby
malcolmva has quit [Ping timeout: 250 seconds]
tdy has joined #ruby
zukin has quit [Ping timeout: 268 seconds]
Immune has joined #ruby
bmgoog has quit [Ping timeout: 256 seconds]
nocd has joined #ruby
nocd has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 240 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Madplatypus has quit [Quit: Connection closed for inactivity]
p0p0pr37 has quit [Ping timeout: 260 seconds]
p0p0pr37_ is now known as p0p0pr37
i8igmac has joined #ruby
Jameser has joined #ruby
amclain has quit [Quit: Leaving]
hightower2 has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
boadie_ has quit [Ping timeout: 244 seconds]
boadie has joined #ruby
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.5]
ur5us has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ur5us has joined #ruby
Jameser has joined #ruby
rafadc has joined #ruby
anisha has joined #ruby
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
rafadc has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c0mrad3 has joined #ruby
hightower2 has joined #ruby
charliesome has joined #ruby
Vile` has quit [Ping timeout: 252 seconds]
chwbacca has joined #ruby
Rodya_ has joined #ruby
pawnbox has joined #ruby
Rodya_ has quit [Ping timeout: 245 seconds]
palms has joined #ruby
Rodya_ has joined #ruby
ddffg has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
nankyokusei has joined #ruby
Rodya_ has quit [Ping timeout: 256 seconds]
quazimodo has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lacour has quit [Quit: Leaving]
charliesome has joined #ruby
jcao219_ has quit [Ping timeout: 258 seconds]
dar123 has joined #ruby
yardenbar has joined #ruby
BaroMeter has joined #ruby
dmtd has quit [Quit: Connection closed for inactivity]
coyo has joined #ruby
coyo has quit [Changing host]
coyo has joined #ruby
last_staff has quit [Quit: last_staff]
nbrogan has quit [Quit: nbrogan]
tuxaddicted has joined #ruby
rafadc has joined #ruby
rafadc has quit [Remote host closed the connection]
Rodya_ has joined #ruby
aidalgol has joined #ruby
tuxaddicted_back has joined #ruby
pawnbox has quit [Remote host closed the connection]
tuxaddicted has quit [Ping timeout: 240 seconds]
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
muelleme has joined #ruby
rajdesai has joined #ruby
blackbombay_ is now known as while{}
jackjackdripper has joined #ruby
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bocaneri has joined #ruby
wingwalker has joined #ruby
vuoto has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Remote host closed the connection]
BaroMeter has quit [Remote host closed the connection]
SuperLag_ has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
nonnatus has joined #ruby
BaroMeter has joined #ruby
Silthias has joined #ruby
Silthias1 has quit [Ping timeout: 250 seconds]
SuperLag has quit [Ping timeout: 268 seconds]
BaroMeter has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
SuperLag has joined #ruby
SuperLag_ has quit [Ping timeout: 256 seconds]
BaroMeter has joined #ruby
tuxaddicted_back is now known as tuxaddicted
chg has quit [Ping timeout: 256 seconds]
aryaching has quit [Ping timeout: 246 seconds]
aryaching has joined #ruby
chg has joined #ruby
jgt2 has joined #ruby
conta has joined #ruby
arnonhon_ has joined #ruby
ledestin has joined #ruby
rohit_ has joined #ruby
arnonhongklay has quit [Ping timeout: 252 seconds]
Rodya_ has quit [Remote host closed the connection]
mluts has joined #ruby
ledestin has quit [Ping timeout: 260 seconds]
Immune has joined #ruby
rajdesai has quit [Remote host closed the connection]
tomphp has joined #ruby
rajdesai has joined #ruby
pwnd_nsfw` has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
pwnd_nsfw has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
rajdesai has quit [Ping timeout: 245 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BaroMeter has quit [Quit: Leaving]
CrazyEddy has joined #ruby
toretore has joined #ruby
kbdkoffee has quit [Ping timeout: 256 seconds]
nankyokusei has quit [Ping timeout: 256 seconds]
Darmani has quit [Ping timeout: 260 seconds]
CrazyEddy has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dimik has quit [Ping timeout: 265 seconds]
bigkevmcd has joined #ruby
tomphp has joined #ruby
djbkd has joined #ruby
CrazyEddy has joined #ruby
gingray has joined #ruby
CloCkWeRX has quit [Ping timeout: 268 seconds]
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polysics has quit [Ping timeout: 268 seconds]
firstdayonthejob has joined #ruby
polysics has joined #ruby
AlexRussia has quit [Ping timeout: 248 seconds]
mluts has quit [Ping timeout: 260 seconds]
CloCkWeRX has joined #ruby
gusrub_ has quit [Remote host closed the connection]
ocbtec has joined #ruby
claudiuinberlin has joined #ruby
jenrzzz has joined #ruby
AlexRussia has joined #ruby
conta has quit [Ping timeout: 256 seconds]
jimeh has quit [Quit: Updating details, brb]
jimeh has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
muelleme has quit [Ping timeout: 265 seconds]
dionysus69 has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
aufi_ has joined #ruby
grh has joined #ruby
palms has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
cibs has joined #ruby
djbkd has quit [Ping timeout: 246 seconds]
rohit_ has quit [Ping timeout: 260 seconds]
rajdesai has joined #ruby
aufi_ has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
dar123 has joined #ruby
mluts has joined #ruby
aidalgol has quit [Quit: zZzZzZzZzZzzzzz]
snguyen has joined #ruby
nankyokusei has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
nankyokusei has joined #ruby
Pongles has joined #ruby
<Pongles>
Nevermind, I figured it out before I sent the message
Pongles has left #ruby ["Leaving"]
Immune has quit [Ping timeout: 260 seconds]
snguyen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
muelleme has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
nankyoku_ has joined #ruby
i8igmac has quit [Ping timeout: 265 seconds]
nankyokusei has quit [Ping timeout: 252 seconds]
arnonhon_ has quit [Ping timeout: 268 seconds]
muelleme has quit [Ping timeout: 250 seconds]
arnonhongklay has joined #ruby
wingwalker has quit [Ping timeout: 260 seconds]
palms has joined #ruby
rafadc has joined #ruby
minimalism has quit [Quit: minimalism]
arnonhongklay has quit [Ping timeout: 260 seconds]
minimalism has joined #ruby
harfangk has joined #ruby
<gener1c>
hello
nankyokusei has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
<gener1c>
anyone from the ruby-dev team available?
exchgr has quit [Ping timeout: 240 seconds]
<gener1c>
i made a PR on github and didnt get any feedback for it, its my first one ... i was wondering if i did something wrong
nankyoku_ has quit [Ping timeout: 245 seconds]
pandaant has joined #ruby
minimalism has quit [Quit: minimalism]
f0rpaxe has quit [Read error: Connection reset by peer]
nadir has quit [Read error: Connection reset by peer]
poikon has quit [Read error: Connection reset by peer]
f0rpaxe has joined #ruby
poikon has joined #ruby
kmhn has quit [Ping timeout: 256 seconds]
nadir has joined #ruby
Fire-Dragon-DoL has quit [Ping timeout: 265 seconds]
conta has joined #ruby
nankyoku_ has joined #ruby
Fire-Dragon-DoL has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
conta has quit [Ping timeout: 240 seconds]
marr has joined #ruby
Littlemyu has joined #ruby
mluts has quit [Ping timeout: 256 seconds]
nankyokusei has joined #ruby
yardenbar has quit [Ping timeout: 260 seconds]
Snowy has joined #ruby
palms has quit [Ping timeout: 260 seconds]
nankyoku_ has quit [Ping timeout: 256 seconds]
nankyokusei has quit [Remote host closed the connection]
nankyokusei has joined #ruby
j2k has joined #ruby
firstdayonthejob has quit [Ping timeout: 258 seconds]
Jameser has quit [Ping timeout: 260 seconds]
rafadc has quit [Remote host closed the connection]
Jameser has joined #ruby
pragmaticus has joined #ruby
pragmaticus has quit [Max SendQ exceeded]
pragmaticus has joined #ruby
Jameser has quit [Max SendQ exceeded]
Jameser has joined #ruby
aryaching has quit [Quit: Bye]
nadir has quit [Quit: Connection closed for inactivity]
rakm has joined #ruby
kmhn has joined #ruby
<rakm>
when destructuring an array, is it possible to get the first element and then group the remaining in an array? e.g. with a, b = [1, 2, 3] // a => 1, b => [2, 3]
<rakm>
i know i can use Array#shift , but wondering if there's some combination of destructuring and splat operator that would also work
<rakm>
ehh, what do you know... `a, *b = [1, 2, 3]` works
<apeiros>
:)
muelleme has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
Jameser_ has joined #ruby
Jameser has quit [Ping timeout: 260 seconds]
muelleme has quit [Ping timeout: 246 seconds]
conta has joined #ruby
rajdesai has quit [Remote host closed the connection]
rajdesai has joined #ruby
ta_ has joined #ruby
Snowy has quit [Remote host closed the connection]
nankyokusei has quit [Remote host closed the connection]
nankyokusei has joined #ruby
SCHAAP137 has joined #ruby
kith has quit [Quit: kith]
roshanavand has joined #ruby
aryaching has joined #ruby
frmendes has joined #ruby
roshanavand has quit [Client Quit]
ta_ has quit [Ping timeout: 268 seconds]
rajdesai_ has joined #ruby
pandaant has quit [Remote host closed the connection]
j2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
j2k has joined #ruby
j2k has quit [Client Quit]
rajdesai has quit [Ping timeout: 260 seconds]
j2k has joined #ruby
j2k has quit [Client Quit]
j2k has joined #ruby
charliesome has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
j2k has quit [Client Quit]
j2k has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j2k has quit [Client Quit]
rakm has joined #ruby
rakm has quit [Client Quit]
rakm has joined #ruby
rakm has quit [Client Quit]
rakm has joined #ruby
rakm has quit [Client Quit]
sleepee has joined #ruby
nanoz has joined #ruby
nankyokusei has joined #ruby
aryaching has quit [Quit: Bye]
horst has quit [Quit: horst]
gingray has quit [Ping timeout: 244 seconds]
Robtop__ has joined #ruby
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
CloCkWeRX has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 260 seconds]
Guest94765 has left #ruby [#ruby]
nanoz] has joined #ruby
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 260 seconds]
sleepee has quit [Ping timeout: 258 seconds]
nankyoku_ has joined #ruby
c355e3b has joined #ruby
nanoz has quit [Ping timeout: 256 seconds]
quazimodo has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
nanoz] has left #ruby ["Leaving"]
phaza_ has joined #ruby
tk__ has joined #ruby
libastral has joined #ruby
grh has quit [Ping timeout: 256 seconds]
nankyokusei has joined #ruby
phaza has quit [Ping timeout: 250 seconds]
nankyoku_ has quit [Ping timeout: 256 seconds]
mru_ has joined #ruby
mru_ has left #ruby [#ruby]
AlphaAtom has joined #ruby
robouk has joined #ruby
nankyoku_ has joined #ruby
robouk has quit [Client Quit]
robouk has joined #ruby
robouk has quit [Max SendQ exceeded]
robouk has joined #ruby
gnufied has quit [Remote host closed the connection]
conta has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 245 seconds]
robouk has quit [Client Quit]
jgt2 has quit [Ping timeout: 248 seconds]
conta has joined #ruby
Xentil has joined #ruby
duper is now known as wowaname
wowaname is now known as duper
pawnbox has joined #ruby
nankyoku_ has quit [Ping timeout: 240 seconds]
dnicole_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
pawnbox has quit [Remote host closed the connection]
<Xentil>
If i have a Ruby program running as a non-root user in Debian (for example fastcgi running as www-data user), how can i run some part of code of this program as root ?
<Papierkorb>
Xentil: Move the root parts into its own script, execute it through `sudo`, and modify the sudoers file so that the www-root user may run sudo for this one script only without passwords
<Papierkorb>
www-data user*
<Xentil>
Papierkorb: ok thanks
synthroid has joined #ruby
synthroid has quit [Remote host closed the connection]
synthroid has joined #ruby
<Papierkorb>
Xentil: Make sure to have an exhaustive sanity check in the root script, as an attacker could else abuse it to gain root
<Xentil>
Papierkorb: sure
libastral has quit [Quit: Bye]
dviola has joined #ruby
libastral has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
rajdesai_ has quit [Remote host closed the connection]
rajdesai has joined #ruby
rajdesai has quit [Remote host closed the connection]
rajdesai has joined #ruby
libastral has quit [Read error: Connection reset by peer]
rajdesai has quit [Read error: Connection reset by peer]
Jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
devyn has joined #ruby
rajdesai has joined #ruby
byte512 has joined #ruby
while{} has quit [Ping timeout: 258 seconds]
aryaching has joined #ruby
j2k has joined #ruby
Vile` has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
brendan- has joined #ruby
sdothum has joined #ruby
csk has quit [Quit: ZZZzzz…]
herbmillerjr has joined #ruby
f0rpaxe has quit [Ping timeout: 245 seconds]
conta has quit [Ping timeout: 258 seconds]
csk has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
f0rpaxe has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d0nn1e has quit [Ping timeout: 260 seconds]
gingray has joined #ruby
d0nn1e has joined #ruby
ta_ has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
Snowy has joined #ruby
fmcgeough has joined #ruby
li0nK1ng has joined #ruby
jgt2 has joined #ruby
GodFather has joined #ruby
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 260 seconds]
jgt2 has quit [Ping timeout: 248 seconds]
GodFather has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 256 seconds]
gizmore has quit [Ping timeout: 256 seconds]
gizmore has joined #ruby
pilne has joined #ruby
GodFather has joined #ruby
_sfiguser has joined #ruby
Snowy has quit [Remote host closed the connection]
jhack has joined #ruby
nankyokusei has joined #ruby
cdg has joined #ruby
sphex has quit [Ping timeout: 252 seconds]
catphish has joined #ruby
rajdesai has quit [Remote host closed the connection]
<catphish>
does anyone know if there's any extremely fast way to pack floats? ie something dramatically faster than [float, float].pack('f*')
fmcgeough has quit [Quit: fmcgeough]
nankyokusei has quit [Ping timeout: 256 seconds]
sphex has joined #ruby
polysics has quit []
ruby-lang836 has joined #ruby
ruby-lang836 has quit [Client Quit]
sphex_ has joined #ruby
sphex has quit [Ping timeout: 245 seconds]
palms has joined #ruby
CoderFrank has quit [Ping timeout: 256 seconds]
muelleme has joined #ruby
viugiNick has joined #ruby
shinnya has joined #ruby
<catphish>
i suppose the answer is an extension that stores the floats packed to begin with
ruby-lang850 has joined #ruby
ruby-lang850 has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
Jameser has joined #ruby
muelleme has quit [Ping timeout: 265 seconds]
palms has quit [Ping timeout: 260 seconds]
poikon has quit [Ping timeout: 260 seconds]
pwnd_nsfw has joined #ruby
Jameser has quit [Max SendQ exceeded]
poikon has joined #ruby
Jameser has joined #ruby
Robtop__ has quit [Ping timeout: 256 seconds]
viugiNick has quit [Ping timeout: 260 seconds]
<matheusmoreira>
what stops you from storing the floats as packed in ruby itself?
<matheusmoreira>
something like Javascript's typed arrays?
<catphish>
i suppose the answer is an extension that stores the floats packed to begin with
<catphish>
oops
<catphish>
matheusmoreira: i don't know much about javascript, the FFI stuff might help though, i'll have a look
function has joined #ruby
jscheel has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
aryaching has quit [Ping timeout: 260 seconds]
aryaching has joined #ruby
nonnatus has joined #ruby
DLSteve has joined #ruby
nonnatus has quit [Client Quit]
ta_ has quit [Ping timeout: 260 seconds]
nadir has joined #ruby
frmendes has quit [Quit: cya...]
exchgr has joined #ruby
ruby-lang751 has joined #ruby
ruby-lang751 has quit [Client Quit]
nonnatus has joined #ruby
bikram_ has joined #ruby
viugiNick has joined #ruby
alan_w has joined #ruby
<bikram_>
heloGreetings!
li0nK1ng has quit []
jhass has joined #ruby
bikram_ has quit [Client Quit]
swills has joined #ruby
bikram_ has joined #ruby
jcao219_ has joined #ruby
chadwtaylor has joined #ruby
function has quit [Quit: /dev/null is full]
spectrum has joined #ruby
jaguarmagenta has joined #ruby
grh has joined #ruby
bikram__ has joined #ruby
cdg has quit [Remote host closed the connection]
tk__ has quit [Quit: ばいばい]
yardenbar has joined #ruby
jcao219_ has quit [Ping timeout: 250 seconds]
<bikram__>
Greetings!
Salih has joined #ruby
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sphex_ has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
sphex has joined #ruby
jhack has quit [Quit: jhack]
nicoulaj has joined #ruby
chwbacca has quit [Remote host closed the connection]
muelleme has joined #ruby
<bikram__>
Hey guys, I was working on crawling website using mechanize gem. What, I wanted from the site was the files and folders structure. I tried, implementing binary trees. But, since files and folders don't follow binary trees. I tried to work on general trees.
yardenbar has quit [Ping timeout: 252 seconds]
<bikram__>
Do you guys have some good links on general trees or may be how can one recursive traverse general tree, to make structure of files and folders.
pawnbox has quit [Remote host closed the connection]
kirun has joined #ruby
<nyuszika7h>
bikram__: Dir['**/*'].each { |f| <do something with f> }
PonyLover has joined #ruby
<PonyLover>
Hello
<nyuszika7h>
though that only works on a local filesystem I guess
<nyuszika7h>
not sure about websites
<bikram__>
Thanks nyuszika7h.
<PonyLover>
did i miss something?
<bikram__>
Yeah, that's not a problem for traversing local files and directories. I am hoping to structure them on tree, like a node for the parent folder, and corresponding children nodes.
<bikram__>
Hello PonyLover
nankyokusei has joined #ruby
f4_ has joined #ruby
<PonyLover>
the nick _derpy reminds me of Derpy from My Little Pony
ocbtec has quit [Quit: leaving]
<PonyLover>
does anyone else here like My Little Pony: Friendship is Magic
while{} has joined #ruby
<bikram__>
Haven't really heard about that PonyLover.
<catphish>
ah, i think part of my problem is that ruby doesn't support floats internally, only doubles
f4 has quit [Ping timeout: 256 seconds]
j2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
csk has quit [Quit: ZZZzzz…]
<PonyLover>
i mean there's gotta be at least one other person here who likes My Little Pony
nankyokusei has quit [Ping timeout: 260 seconds]
<PonyLover>
cuz there's almost 900 users here
mostlybadfly has joined #ruby
axisys has quit [Ping timeout: 250 seconds]
xlegoman has joined #ruby
Jackneill_ has joined #ruby
grh has quit [Remote host closed the connection]
swills has quit [Remote host closed the connection]
ta_ has joined #ruby
swills has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
PonyLover has left #ruby [#ruby]
mluts has joined #ruby
jaguarmagenta has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Ping timeout: 260 seconds]
chadwtaylor has quit [Remote host closed the connection]
pawnbox has joined #ruby
skweek has quit [Ping timeout: 258 seconds]
viugiNick has quit [Ping timeout: 260 seconds]
eljimbo has joined #ruby
futilegames has joined #ruby
cdg has joined #ruby
cdg_ has joined #ruby
bairyn has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 260 seconds]
futilegames has quit [Quit: futilegames]
while{} has quit [Ping timeout: 256 seconds]
axisys has joined #ruby
vuoto has joined #ruby
firstdayonthejob has joined #ruby
troys has joined #ruby
<pilne>
no, i like the "robot chicken" apocallypse ponies though.
nonnatus has joined #ruby
jaguarmagenta has joined #ruby
futilegames has joined #ruby
bairyn has joined #ruby
JoshS has quit [Ping timeout: 246 seconds]
p0p0pr37_ has joined #ruby
<catphish>
i think i'm misunderstanding something about FFI
<ruby[bot]>
catphish: # => cannot load such file -- ffi (LoadError) ...check link for more (https://eval.in/676684)
<catphish>
>>FFI::Buffer.new(4, 10).get_string(0)
<ruby[bot]>
catphish: # => uninitialized constant FFI (NameError) ...check link for more (https://eval.in/676685)
p0p0pr37 has quit [Ping timeout: 240 seconds]
p0p0pr37_ is now known as p0p0pr37
jaguarmagenta has quit [Ping timeout: 244 seconds]
<catphish>
i guess the bot doesn't like that, but it returns an empty string, i don't understand why, i'd expected a string of length 40
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
while{} has joined #ruby
mluts is now known as libastral
nixmaniack has joined #ruby
_sfiguser has quit [Remote host closed the connection]
libastral has quit [Quit: leaving]
libastral has joined #ruby
JoshS has joined #ruby
lxsameer has joined #ruby
libastral has quit [Client Quit]
libastral has joined #ruby
rafadc has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
cyphase has quit [Ping timeout: 260 seconds]
rfoust has joined #ruby
nixmaniack has quit [Ping timeout: 256 seconds]
libastral has quit [Client Quit]
fmcgeough has quit [Quit: fmcgeough]
libastral has joined #ruby
GodFather has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
pilne has quit [Quit: Quitting!]
<catphish>
ah, having more luck with MemoryPointer, does everything i need
ur5us has joined #ruby
cyphase has joined #ruby
gingray has quit [Ping timeout: 260 seconds]
parabolize has quit [Quit: ERC (IRC client for Emacs 25.1.1)]
pwnd_nsfw` has joined #ruby
SCHAAP137 has joined #ruby
jscheel has quit [Quit: jscheel]
AlphaAtom has quit [Ping timeout: 260 seconds]
jcao219_ has joined #ruby
futilegames has quit [Quit: futilegames]
GodFather has quit [Remote host closed the connection]
marz-arthur has joined #ruby
<marz-arthur>
Hello all.
pwnd_nsfw has quit [Ping timeout: 260 seconds]
<marz-arthur>
How is ruby-community doing?
AlphaAtom has joined #ruby
xlegoman has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xlegoman has joined #ruby
Littlemyu has quit [Ping timeout: 248 seconds]
wpostma1 has quit [Ping timeout: 260 seconds]
<Papierkorb>
marz-arthur: Fine
creat has joined #ruby
jscheel has joined #ruby
marr has joined #ruby
vktec has left #ruby ["So long and thanks for all the fish"]
catphish has left #ruby ["Leaving"]
futilegames has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
swills has quit [Ping timeout: 248 seconds]
i8igmac has joined #ruby
ta_ has joined #ruby
ruby-lang826 has joined #ruby
libastral has quit [Quit: leaving]
marz-arthur has quit [Ping timeout: 260 seconds]
brendan- has joined #ruby
SuperLag has quit [Ping timeout: 265 seconds]
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troys is now known as troys_
AlphaAtom has quit [Ping timeout: 248 seconds]
SuperLag has joined #ruby
AlphaAtom has joined #ruby
d3d1rty has joined #ruby
nankyokusei has joined #ruby
djbkd has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jscheel has quit [Quit: jscheel]
nankyokusei has quit [Ping timeout: 250 seconds]
ta_ has quit [Ping timeout: 258 seconds]
symm- has joined #ruby
ruby-lang826 has quit [Ping timeout: 260 seconds]
LiamW has joined #ruby
xpolis8 has quit [Quit: Leaving]
brendan- has joined #ruby
<LiamW>
I've been wrestling for the past two hours or so with trying to make a regex that matches '[**', anything except two consecutive newlines, and '**]'
<LiamW>
matching '[**', anything, '**]' is easy: /\[\*\*(.+?)\*\*\]/
rfoust has joined #ruby
<LiamW>
but I cannot for the life of me figure out what I need to do to exclude '\n\n'
KnownSyntax has quit [Quit: No Ping reply in 180 seconds.]
eljimbo has quit [Quit: This computer has gone to sleep]
pilne has joined #ruby
swills has joined #ruby
KnownSyntax has joined #ruby
nankyokusei has joined #ruby
nchambers_ has joined #ruby
quazimodo has joined #ruby
terens has quit [Ping timeout: 245 seconds]
nchambers_ has quit [Changing host]
nchambers_ has joined #ruby
nchambers_ is now known as dtscode
nankyokusei has quit [Ping timeout: 268 seconds]
f4 has joined #ruby
swills has quit [Quit: Leaving]
Asher has joined #ruby
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
alexherbo2 has quit [Quit: WeeChat 1.5]
ace05 has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Winghaven has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
ace05 has joined #ruby
<Winghaven>
first timer w/ Ruby here, most things have been working so far, but I can't seem to get this sidekiq drop-in Batch to work: https://github.com/breamware/sidekiq-batch
<Winghaven>
It says it's a drop-in replacement, and sidekiq doesn't list much in its docs besides require 'sidekiq', but I'm getting uninitialized constant Sidekiq::Batch (NameError)
<rob_>
havenwood: never heard of chruby, any reason its better than rbenv?
KnownSyntax has joined #ruby
f4 has quit [Quit: Ухожу я от вас]
<havenwood>
rob_: Hmm, it doesn't have to do thinks like C-extensions for shell builtins. No more rehashing to maintain shims. It just sets the proper environment variables to switch Rubies.
<havenwood>
rob_: It's less code. It's simpler. It just works!
<mindpattern>
hi guys, anyone know with regex how I could strip the “blah__” bit of this string? “http://site.com/parent/images/blah__image.jpg” the word “blah” would be a wildcard of any word. so want to strip between the slash before it up to and including the double underscore.
skweek has joined #ruby
<havenwood>
Winghaven: So it looks like the issue is set hasn't been required.
yaewa has joined #ruby
yaewa has quit [Client Quit]
<havenwood>
Winghaven: Add a: require 'set'
yaewa has joined #ruby
<havenwood>
Winghaven: Yup, that works.
<Winghaven>
havenwood: yup, doing that right now :) any idea why it would still work on some installs but not on others?
yaewa has quit [Remote host closed the connection]
moei has quit [Ping timeout: 256 seconds]
terlar has quit [Ping timeout: 248 seconds]
wpostma1 has joined #ruby
muelleme has joined #ruby
terlar has joined #ruby
<Winghaven>
havenwood: thanks a lot o/ submitted a PR as well
Jackneill_ has quit [Remote host closed the connection]
<havenwood>
mindpattern: Ah, though you said it must be after the last slash only?
Channel6 has quit [Read error: Connection reset by peer]
<havenwood>
mindpattern: Or any slash until two underscores?
ta_ has joined #ruby
wald0 has joined #ruby
<mindpattern>
havenwood: after the “images/“ bit which happens to be the last slash
enterprisey has quit [Quit: Leaving]
viugiNick has joined #ruby
jgt has joined #ruby
<havenwood>
mindpattern: The solution I gave above will remove one occurrence of any slash up until and including two underscores. Hmm, for last slash only let's see...
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BTRE has quit [Remote host closed the connection]
agent_white has joined #ruby
Immune has joined #ruby
aryaching has joined #ruby
BTRE has joined #ruby
hightower2 has quit [Ping timeout: 265 seconds]
hightower3 has quit [Ping timeout: 256 seconds]
hightower3 has joined #ruby
agent_white has quit [Client Quit]
SCHAAP137 has joined #ruby
hightower2 has joined #ruby
djbkd has quit [Quit: Leaving...]
i8igmac has quit [Ping timeout: 258 seconds]
ta_ has quit [Ping timeout: 260 seconds]
rajdesai has quit []
rajdesai has joined #ruby
heftig has quit [Read error: Connection reset by peer]
Ishido has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 260 seconds]
pwnd_nsfw` has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 268 seconds]
quazimodo has joined #ruby
bigmac has joined #ruby
rajdesai has joined #ruby
pwnd_nsfw has joined #ruby
jhack has quit [Quit: jhack]
ghr has joined #ruby
dangeranger1 has joined #ruby
dionysus69 has joined #ruby
quazimodo has quit [Ping timeout: 244 seconds]
wpostma1 has quit [Ping timeout: 256 seconds]
dangeranger1 is now known as Somenickname
Somenickname is now known as Somenick
<hightower2>
Hey, is it possible to use Array#[]= notation to replace 1 element with multiple elements? E.g. with a = [ 1, 2, 3 ], how would I replace 2 with 4, 5 to get [ 1, 4, 5, 3] ?
ramfjord has joined #ruby
<nyuszika7h>
hightower2: well, assuming you only have 2D arrays, a[1] = [4, 5]; a.flatten!
Somenick has quit [Quit: Leaving.]
elifoster has joined #ruby
<hightower2>
Yeah, ideally without using .flatten or something which iterates over the whole array each time I call it
<nyuszika7h>
actually, you can do: a[1..1] = [4, 5]
palms has quit [Ping timeout: 260 seconds]
<hightower2>
nyuszika7h, fantastic
dviola has quit [Quit: WeeChat 1.6]
csk has joined #ruby
Asher has quit [Quit: Leaving.]
dviola has joined #ruby
[gmi] has joined #ruby
sanmi has joined #ruby
[gmi] has quit [Client Quit]
ramfjord has quit [Ping timeout: 250 seconds]
terens has quit [Ping timeout: 260 seconds]
ruby-lang964 has joined #ruby
<hightower2>
If I want to iterate over an Array and modify/insert elements during that process, am I better off to do it via array.each_index or while i < array.size ? Or some 3rd suggestion?
ta_ has joined #ruby
ruby-lang964 has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
Madplatypus has joined #ruby
lel has quit [Ping timeout: 258 seconds]
<adam12>
hightower2: Maybe you want to map?
<hightower2>
adam12, not because on some elements of the array I need to use the above a[i..i] = [1,2,3] trick
<hightower2>
Which I can't do with map and I don't want to call flatten
<adam12>
What about flat_map?
charliesome has joined #ruby
<adam12>
Which is kind of the same but yet different.
<hightower2>
mm, interesting, thanks, will evaluate that
<hightower2>
In any case would still like an answer to my question, for discussion at least
<j416>
hightower2: Array#reduce ?
charliesome has quit [Client Quit]
<j416>
hightower2: seems unstable to modify while iterating
arescorpio has joined #ruby
sanmi has quit [Read error: Connection reset by peer]
Derperperd has quit [Quit: Derperperd]
<hightower2>
j416, how do you advise to use reduce? I don't see a possible application, or I am misunderstanding your suggestion
ta_ has quit [Ping timeout: 260 seconds]
<Nilium>
I think j416 is referring to using Array#reduce to construct a new array from the old array.
<j416>
nod
<Nilium>
Similar to map, but you're responsible for concatenating arrays.