00:00
baweaver has joined #ruby-lang
00:01
ybathia has quit [Quit: ybathia]
00:01
delongG_ has joined #ruby-lang
00:03
kfpratt has quit [Remote host closed the connection]
00:08
hahuang65 has quit [Ping timeout: 265 seconds]
00:15
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:16
delongG_ has quit [Remote host closed the connection]
00:17
mcclurmc has joined #ruby-lang
00:18
ecnalyr has joined #ruby-lang
00:18
ecnalyr has quit [Client Quit]
00:18
ruby-lang396 has joined #ruby-lang
00:19
mcclurmc_ has quit [Ping timeout: 264 seconds]
00:20
Contigi has joined #ruby-lang
00:24
ruby-lang396 has quit [Ping timeout: 246 seconds]
00:28
momomomomo has quit [Quit: momomomomo]
00:30
michaeldeol has quit [Ping timeout: 255 seconds]
00:34
crankharder has quit [Ping timeout: 245 seconds]
00:45
yfeldblu_ has quit [Remote host closed the connection]
00:46
haraoka has joined #ruby-lang
00:46
yfeldblum has joined #ruby-lang
00:50
fclausen has joined #ruby-lang
00:51
rcvalle has quit [Quit: rcvalle]
00:53
crankharder has joined #ruby-lang
00:54
Zen-Zen has quit []
00:58
crankharder has quit [Quit: leaving]
00:59
bturker_ has quit [Remote host closed the connection]
01:01
bruno- has quit [Ping timeout: 272 seconds]
01:03
Astrologos_ has quit []
01:09
zendrix has quit [Ping timeout: 265 seconds]
01:10
charliesome has joined #ruby-lang
01:12
workmad3 has joined #ruby-lang
01:14
baweaver has quit [Remote host closed the connection]
01:17
workmad3 has quit [Ping timeout: 240 seconds]
01:21
hendranata_ has joined #ruby-lang
01:22
kfpratt has joined #ruby-lang
01:23
wallerdev has quit [Ping timeout: 272 seconds]
01:23
crankharder has joined #ruby-lang
01:27
car has joined #ruby-lang
01:28
hahuang65 has joined #ruby-lang
01:28
car_ has joined #ruby-lang
01:31
car has quit [Ping timeout: 252 seconds]
01:35
unreal_ has joined #ruby-lang
01:37
danzilio has joined #ruby-lang
01:38
unreal has quit [Ping timeout: 264 seconds]
01:42
shinnya has quit [Ping timeout: 240 seconds]
01:51
fedexo has joined #ruby-lang
01:54
djbkd has quit [Quit: My people need me...]
01:57
bruno- has joined #ruby-lang
02:02
bruno- has quit [Ping timeout: 265 seconds]
02:03
aaeron has quit [Quit: aaeron]
02:03
konr has quit [Quit: Connection closed for inactivity]
02:05
michael_mbp has quit [Excess Flood]
02:05
kfpratt has quit [Remote host closed the connection]
02:08
michael_mbp has joined #ruby-lang
02:08
fujimura has joined #ruby-lang
02:11
kfpratt has joined #ruby-lang
02:14
ogpastaling has joined #ruby-lang
02:14
alestuber has joined #ruby-lang
02:15
Respek has joined #ruby-lang
02:15
kfpratt has quit [Ping timeout: 255 seconds]
02:17
car_ has quit [Quit: Leaving]
02:17
amclain has joined #ruby-lang
02:18
bungoman has joined #ruby-lang
02:21
fedexo has quit [Ping timeout: 265 seconds]
02:24
alestuber has quit [Remote host closed the connection]
02:26
jacaballero has joined #ruby-lang
02:32
joaomdmoura has joined #ruby-lang
02:37
bungoman has quit [Remote host closed the connection]
02:43
car has joined #ruby-lang
02:49
iamninja has quit [Read error: Connection reset by peer]
02:49
iamninja has joined #ruby-lang
02:59
zenspider has quit [Remote host closed the connection]
03:01
danzilio has quit [Quit: Baiii!]
03:01
workmad3 has joined #ruby-lang
03:03
car has quit [Ping timeout: 256 seconds]
03:06
ozialien has quit [Ping timeout: 264 seconds]
03:06
zenspider has joined #ruby-lang
03:07
workmad3 has quit [Ping timeout: 276 seconds]
03:11
Respek has quit [Quit: gone to sleep. ZZZzzz…]
03:12
RobertBirnie has joined #ruby-lang
03:17
auzty has joined #ruby-lang
03:20
Fooster has joined #ruby-lang
03:23
gambl0re has joined #ruby-lang
03:25
Fooster has quit [Ping timeout: 256 seconds]
03:25
car has joined #ruby-lang
03:32
djbkd has joined #ruby-lang
03:34
yfeldblum has quit [Remote host closed the connection]
03:35
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:35
symm- has quit [Ping timeout: 240 seconds]
03:38
yfeldblum has joined #ruby-lang
03:40
jacaballero has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:41
dvlwrk has quit [Ping timeout: 255 seconds]
03:45
gix has quit [Ping timeout: 246 seconds]
03:46
bruno- has joined #ruby-lang
03:50
gix has joined #ruby-lang
03:50
bruno- has quit [Ping timeout: 246 seconds]
03:54
pepperbreath has quit [Read error: Connection reset by peer]
03:54
pepperbreath has joined #ruby-lang
03:56
iamninja has quit [Read error: Connection reset by peer]
03:57
iamninja has joined #ruby-lang
04:07
auzty has quit [Ping timeout: 244 seconds]
04:08
ogpastaling has quit [Remote host closed the connection]
04:09
ogpastaling has joined #ruby-lang
04:14
ogpastaling has quit [Ping timeout: 265 seconds]
04:17
duderonomy has quit [Ping timeout: 272 seconds]
04:23
|jemc|_ has joined #ruby-lang
04:23
auzty has joined #ruby-lang
04:25
|jemc| has quit [Ping timeout: 256 seconds]
04:28
bungoman has joined #ruby-lang
04:28
VinnyBoy has joined #ruby-lang
04:28
michaeldeol has joined #ruby-lang
04:30
zenspider has quit [Quit: bye]
04:50
workmad3 has joined #ruby-lang
04:51
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:53
skade has joined #ruby-lang
04:55
workmad3 has quit [Ping timeout: 255 seconds]
04:58
RobertBirnie has joined #ruby-lang
05:02
akkad has quit [Excess Flood]
05:06
_whitelogger has joined #ruby-lang
05:07
riotjones has joined #ruby-lang
05:07
akkad has joined #ruby-lang
05:07
hinbody has quit [Quit: leaving]
05:07
riotjones has quit [Read error: Connection reset by peer]
05:08
riotjones has joined #ruby-lang
05:12
Miphix has joined #ruby-lang
05:12
riotjones has quit [Ping timeout: 252 seconds]
05:13
duderonomy has joined #ruby-lang
05:18
hinbody has joined #ruby-lang
05:21
bungoman has quit [Remote host closed the connection]
05:22
allomov has joined #ruby-lang
05:23
gambl0re has quit [Read error: Connection reset by peer]
05:23
gambl0re has joined #ruby-lang
05:23
dellavg_ has joined #ruby-lang
05:24
|jemc|_ has quit [Ping timeout: 246 seconds]
05:30
djbkd has quit [Remote host closed the connection]
05:32
VinnyBoy has quit [Read error: Connection reset by peer]
05:33
RobertBirnie has quit [Read error: Connection reset by peer]
05:35
riotjones has joined #ruby-lang
05:36
RobertBirnie has joined #ruby-lang
05:37
car has quit [Ping timeout: 265 seconds]
05:44
Mon_Ouie has quit [Ping timeout: 240 seconds]
05:46
slumos has joined #ruby-lang
05:51
rippa has joined #ruby-lang
05:57
mikecmpbll has quit [Quit: ciao.]
05:57
fusillicode has joined #ruby-lang
05:58
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
05:59
skade has quit [Quit: Computer has gone to sleep.]
06:00
yfeldblum has quit [Remote host closed the connection]
06:09
leat4 has quit [Ping timeout: 256 seconds]
06:11
lapide_viridi has joined #ruby-lang
06:13
allomov has quit [Remote host closed the connection]
06:14
leat4 has joined #ruby-lang
06:24
leat4 has quit [Remote host closed the connection]
06:24
leat4 has joined #ruby-lang
06:33
harlen has quit [Remote host closed the connection]
06:39
Forgetful_Lion has joined #ruby-lang
06:39
workmad3 has joined #ruby-lang
06:44
workmad3 has quit [Ping timeout: 256 seconds]
06:46
allomov has joined #ruby-lang
06:47
allomov has quit [Remote host closed the connection]
06:47
allomov has joined #ruby-lang
06:47
hendranata_ has quit [Ping timeout: 240 seconds]
06:47
MrSkinny has joined #ruby-lang
06:49
MrSkinny has quit [Changing host]
06:49
MrSkinny has joined #ruby-lang
06:49
charliesome has quit [Quit: zzz]
06:51
MrSkinny has quit [Client Quit]
06:51
charliesome has joined #ruby-lang
06:52
joaomdmoura has quit [Remote host closed the connection]
06:53
futilegames has joined #ruby-lang
06:53
ur5us has quit [Remote host closed the connection]
06:55
fujimura_ has joined #ruby-lang
06:56
fujimura has quit [Ping timeout: 265 seconds]
06:57
Fooster has joined #ruby-lang
06:59
skade has joined #ruby-lang
07:02
joaomdmoura has joined #ruby-lang
07:02
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:02
Fooster has quit [Ping timeout: 272 seconds]
07:04
yfeldblum has joined #ruby-lang
07:08
yfeldblum has quit [Read error: Connection reset by peer]
07:08
yfeldblu_ has joined #ruby-lang
07:09
joaomdmoura has quit [Remote host closed the connection]
07:10
Miphix has quit [Ping timeout: 246 seconds]
07:11
joaomdmoura has joined #ruby-lang
07:11
toretore has joined #ruby-lang
07:11
solars has joined #ruby-lang
07:17
Iskarlar has joined #ruby-lang
07:18
yfeldblu_ has quit [Read error: Connection reset by peer]
07:19
yfeldblum has joined #ruby-lang
07:19
tomaz_b has joined #ruby-lang
07:23
bruno- has joined #ruby-lang
07:24
jacaballero has joined #ruby-lang
07:24
jacaballero has quit [Client Quit]
07:26
dhjondoh has joined #ruby-lang
07:27
fclausen has quit [Ping timeout: 272 seconds]
07:28
bruno- has quit [Ping timeout: 264 seconds]
07:35
nedp has joined #ruby-lang
07:39
charliesome has quit [Quit: zzz]
07:39
futilegames has quit [Quit: futilegames]
07:41
lapide_viridi has quit [Quit: Leaving]
08:01
marr has joined #ruby-lang
08:01
fujimura_ has quit [Remote host closed the connection]
08:05
fujimura_ has joined #ruby-lang
08:13
<
yorickpeterse >
morning
08:13
<
yorickpeterse >
headius: that's the parser, it uses Arrays for action arguments (that is, it's that ticket you reported a while ago)
08:27
workmad3 has joined #ruby-lang
08:32
workmad3 has quit [Ping timeout: 252 seconds]
08:36
araujo has joined #ruby-lang
08:48
benlovell has joined #ruby-lang
08:49
iamninja has quit [Read error: Connection reset by peer]
08:49
iamninja has joined #ruby-lang
08:49
fawefeawfewa has joined #ruby-lang
08:53
aewffwea has quit [Ping timeout: 248 seconds]
08:57
leat4 has quit [Quit: leat4]
08:58
stan has joined #ruby-lang
09:00
postmodern has quit [Quit: Leaving]
09:00
Ropeney has quit [Remote host closed the connection]
09:05
Miphix has joined #ruby-lang
09:07
arBmind has joined #ruby-lang
09:11
tomaz_b has quit [Quit: Leaving]
09:11
lloyd is now known as Lloyd
09:12
workmad3 has joined #ruby-lang
09:17
<
maloik >
zzz importing data for data migrations followed by consistency and integrity check scripts
09:17
<
maloik >
shit takes like 4h for one go, one mistake and you can start over
09:31
ta has quit [Remote host closed the connection]
09:33
mikecmpbll has joined #ruby-lang
09:33
<
yorickpeterse >
bro do you even multi-thread?
09:36
k3asd` has joined #ruby-lang
09:40
bruno- has joined #ruby-lang
09:41
<
ljarvis >
there are never enough threads
09:41
<
ljarvis >
and there are never too many threads
09:41
<
ljarvis >
a wise monk once said
09:41
symm- has joined #ruby-lang
09:43
sarkyniin has joined #ruby-lang
09:44
<
yorickpeterse >
clearly that monk never tried Node.js
09:45
bruno- has quit [Ping timeout: 256 seconds]
09:47
dhjondoh has quit [Quit: dhjondoh]
09:48
<
yorickpeterse >
Allrighty, lets see if I can solve this over-a-year-old issue with the AWS SDK
09:49
* yorickpeterse
tries very hard not to rant about this particular problem
09:54
ta has joined #ruby-lang
09:59
arBmind has quit [Read error: Connection reset by peer]
10:01
arBmind has joined #ruby-lang
10:01
dorei has joined #ruby-lang
10:06
benlovell has quit [Ping timeout: 255 seconds]
10:17
benlovell has joined #ruby-lang
10:19
bruno- has joined #ruby-lang
10:20
wprice has joined #ruby-lang
10:28
apt-get_ has joined #ruby-lang
10:29
ledestin has joined #ruby-lang
10:31
sarkyniin has quit [Ping timeout: 252 seconds]
10:33
ta has quit [Remote host closed the connection]
10:35
Fooster has joined #ruby-lang
10:36
fujimura_ has quit [Remote host closed the connection]
10:40
Fooster has quit [Ping timeout: 255 seconds]
10:51
fclausen has joined #ruby-lang
10:52
thelastinuit has joined #ruby-lang
10:56
dagda1 has joined #ruby-lang
11:01
workmad3 has quit [Ping timeout: 246 seconds]
11:06
araujo has quit [Quit: Leaving]
11:08
Iskarlar has joined #ruby-lang
11:10
workmad3 has joined #ruby-lang
11:15
kibou has joined #ruby-lang
11:19
ta has joined #ruby-lang
11:20
apt-get__ has joined #ruby-lang
11:23
apt-get_ has quit [Ping timeout: 252 seconds]
11:26
<
yorickpeterse >
how do I mutex?
11:28
cornerma1 has joined #ruby-lang
11:29
mike_c_11 has joined #ruby-lang
11:31
cornerman has quit [Ping timeout: 272 seconds]
11:32
cornerma1 is now known as cornerman
11:32
fclausen has quit [Ping timeout: 272 seconds]
11:32
<
yorickpeterse >
I swear to raptor jesus, if this was the cause of my signature problems...
11:32
k3asd` has quit [Ping timeout: 256 seconds]
11:33
ldnunes has joined #ruby-lang
11:36
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:37
<
yorickpeterse >
hm no, thankfully
11:38
gregf_ has quit [Ping timeout: 246 seconds]
11:40
gregf_ has joined #ruby-lang
11:42
shazaum has joined #ruby-lang
11:46
kr3ssh has joined #ruby-lang
11:46
Fooster has joined #ruby-lang
11:53
dhjondoh has joined #ruby-lang
11:53
benlovell has quit [Ping timeout: 250 seconds]
11:56
mikecmpbll has quit [Ping timeout: 256 seconds]
11:58
banister has joined #ruby-lang
12:00
sgambino has joined #ruby-lang
12:01
dvlwrk has joined #ruby-lang
12:03
Lloyd is now known as lloyd
12:10
yfeldblum has quit [Ping timeout: 265 seconds]
12:10
alestuber has joined #ruby-lang
12:10
ohsix has quit [Ping timeout: 256 seconds]
12:11
atomical has joined #ruby-lang
12:13
benlovell has joined #ruby-lang
12:13
<
yorickpeterse >
* ._.
12:15
<
yorickpeterse >
magical journey through the AWS SDK
12:15
<
yorickpeterse >
I need beer
12:17
auzty has quit [Quit: Leaving]
12:18
benlovell has quit [Ping timeout: 256 seconds]
12:18
ohsix has joined #ruby-lang
12:18
hanachin has joined #ruby-lang
12:23
arBmind has quit [Read error: Connection reset by peer]
12:24
symm- has quit [Ping timeout: 240 seconds]
12:24
kr3ssh has quit [Ping timeout: 246 seconds]
12:25
skade has quit [Quit: Computer has gone to sleep.]
12:26
lloyd is now known as Lloyd
12:31
unreal_ is now known as unreal
12:39
apt-get_ has joined #ruby-lang
12:43
apt-get__ has quit [Ping timeout: 255 seconds]
12:46
sankaber has joined #ruby-lang
12:54
imperator has joined #ruby-lang
12:54
benlovell has joined #ruby-lang
12:58
araujo has joined #ruby-lang
12:59
Forgetful_Lion has quit [Remote host closed the connection]
13:02
allomov has quit [Remote host closed the connection]
13:03
kr3ssh has joined #ruby-lang
13:04
alestuber has quit [Ping timeout: 265 seconds]
13:05
skade has joined #ruby-lang
13:06
alestuber has joined #ruby-lang
13:08
enebo has joined #ruby-lang
13:12
nedp has quit [Remote host closed the connection]
13:13
banister has quit [Read error: Connection reset by peer]
13:14
joaomdmoura has quit [Remote host closed the connection]
13:14
joaomdmoura has joined #ruby-lang
13:15
VinnyBoy has joined #ruby-lang
13:15
workmad3 has quit [Ping timeout: 246 seconds]
13:15
shinnya has joined #ruby-lang
13:16
malconis has joined #ruby-lang
13:19
caseypatrickdris has joined #ruby-lang
13:20
k3asd` has joined #ruby-lang
13:20
Lloyd_ has joined #ruby-lang
13:21
joaomdmoura has quit [Remote host closed the connection]
13:23
airdisa has joined #ruby-lang
13:24
Lloyd has quit [Ping timeout: 256 seconds]
13:24
Lloyd_ is now known as Lloyd
13:24
bungoman has joined #ruby-lang
13:26
joaomdmoura has joined #ruby-lang
13:29
dhjondoh has quit [Remote host closed the connection]
13:30
banister has joined #ruby-lang
13:31
ta has quit [Remote host closed the connection]
13:35
caseypatrickdris has quit [Remote host closed the connection]
13:35
riotjones has quit [Remote host closed the connection]
13:35
<
imperator >
my cousin VinnyBoy, what's up?
13:37
apt-get_ has quit [Quit: Quit]
13:40
joaomdmoura has quit [Remote host closed the connection]
13:40
alestuber has quit [Ping timeout: 256 seconds]
13:42
bungoman has quit [Remote host closed the connection]
13:43
allomov has joined #ruby-lang
13:43
alestuber has joined #ruby-lang
13:43
<
VinnyBoy >
your cousin?
13:44
joaomdmoura has joined #ruby-lang
13:45
benlovell has quit [Ping timeout: 240 seconds]
13:47
bungoman has joined #ruby-lang
13:49
ta has joined #ruby-lang
13:50
mcclurmc_ has joined #ruby-lang
13:52
alestuber has quit [Ping timeout: 264 seconds]
13:52
mcclurmc has quit [Read error: Connection reset by peer]
13:53
alestuber has joined #ruby-lang
13:53
dvlwrk has quit [Ping timeout: 255 seconds]
13:54
iamninja has quit [Ping timeout: 250 seconds]
13:55
kibou has quit [Ping timeout: 240 seconds]
13:57
joaomdmoura has quit [Remote host closed the connection]
13:57
benlovell has joined #ruby-lang
14:09
kr3ssh has quit [Ping timeout: 264 seconds]
14:09
workmad3 has joined #ruby-lang
14:10
airdisa_ has joined #ruby-lang
14:12
airdisa has quit [Ping timeout: 256 seconds]
14:13
dreamwalker has joined #ruby-lang
14:13
gambl0re has quit [Ping timeout: 265 seconds]
14:16
alestuber has quit [Ping timeout: 272 seconds]
14:17
alestuber has joined #ruby-lang
14:21
nertzy has joined #ruby-lang
14:21
<
imperator >
VinnyBoy, just a joke (you know, the movie)
14:24
Mon_Ouie has joined #ruby-lang
14:32
whippythellama has joined #ruby-lang
14:36
riotjones has joined #ruby-lang
14:37
alestuber has quit [Ping timeout: 276 seconds]
14:39
alestuber has joined #ruby-lang
14:40
<
VinnyBoy >
i dunno, what movie?
14:40
riotjones has quit [Ping timeout: 240 seconds]
14:41
<
imperator >
My Cousin Vinny
14:41
|jemc| has joined #ruby-lang
14:43
<
VinnyBoy >
never heard of it, sorry
14:49
nertzy has quit [Quit: This computer has gone to sleep]
14:50
ogpastaling has joined #ruby-lang
14:55
Caius has quit [Ping timeout: 276 seconds]
14:57
airdisa_ has quit []
15:00
<
yorickpeterse >
.-.
15:00
Caius has joined #ruby-lang
15:03
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:03
benlovell has quit [Ping timeout: 245 seconds]
15:04
bungoman has quit [Remote host closed the connection]
15:05
yalue has joined #ruby-lang
15:07
caseypatrickdris has joined #ruby-lang
15:07
benlovell has joined #ruby-lang
15:08
<
VinnyBoy >
lack of comments wounds my heart
15:09
leat has joined #ruby-lang
15:11
joaomdmoura has joined #ruby-lang
15:12
<
yorickpeterse >
The comments are the least of my worries
15:12
skade has quit [Quit: Computer has gone to sleep.]
15:12
benlovell has quit [Ping timeout: 256 seconds]
15:16
joaomdmoura has quit [Remote host closed the connection]
15:16
alestuber has quit [Ping timeout: 245 seconds]
15:17
kr3ssh has joined #ruby-lang
15:18
dvlwrk has joined #ruby-lang
15:20
benlovell has joined #ruby-lang
15:20
alestuber has joined #ruby-lang
15:21
dreamwalker has quit [Ping timeout: 246 seconds]
15:21
bturker has joined #ruby-lang
15:23
DivineEntity has quit [Quit: Lost terminal]
15:24
RickCH has joined #ruby-lang
15:25
benlovell has quit [Ping timeout: 245 seconds]
15:25
<
RickCH >
Hi all serious newb here.
15:25
<
RickCH >
I am trying to bundle and gettting OpenSSL::X509::StoreError: system lib
15:25
<
RickCH >
anyone know how the heck to fix?
15:25
momomomomo has joined #ruby-lang
15:26
momomomomo has quit [Client Quit]
15:28
jgpawletko has joined #ruby-lang
15:30
dzejrou has joined #ruby-lang
15:31
slawrence00 has joined #ruby-lang
15:31
charliesome has joined #ruby-lang
15:32
DivineEntity has joined #ruby-lang
15:32
<
imperator >
i don't even want to think about the ruby openssl source code
15:34
bungoman has joined #ruby-lang
15:35
imperator2 has joined #ruby-lang
15:36
<
RickCH >
any suggestions
15:40
bb010g has quit [Quit: Connection closed for inactivity]
15:40
momomomomo has joined #ruby-lang
15:40
<
jhass >
RickCH: environment?
15:41
<
RickCH >
RUBYGEMS VERSION: 2.0.3
15:41
kr3ssh has quit [Ping timeout: 252 seconds]
15:41
<
jhass >
let me guess, ruby 1.8?
15:41
<
RickCH >
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
15:41
<
jhass >
oh, centos 7, how "recent" :P
15:42
k3asd` has quit [Quit: leaving]
15:42
<
jhass >
huh, that has 2.0?
15:42
<
jhass >
is that the full error output?
15:42
<
RickCH >
It does output the gem install as well
15:42
<
RickCH >
OpenSSL::X509::StoreError: system lib An error occurred while installing rack (1.6.1), and Bundler cannot continue. Make sure that `gem install rack -v '1.6.1'` succeeds before bundling.
15:43
wprice has quit [Quit: wprice]
15:44
<
imperator >
gem update --system
15:44
<
jhass >
mh, yeah, try latest rubygems
15:44
<
RickCH >
gem update --system ERROR: While executing gem ... (OpenSSL::X509::StoreError) system lib
15:44
rcvalle has joined #ruby-lang
15:44
alestuber has quit [Ping timeout: 240 seconds]
15:44
<
jhass >
are system ca certificates installed?
15:45
<
jhass >
whatever the package on cent is, ca-certificates too?
15:45
<
RickCH >
that was the first thing I check
15:45
<
darix >
RickCH: strace -s 1024 -e trace=file -fF gem install -v 1.6.0 rack
15:45
momomomomo_ has joined #ruby-lang
15:45
<
RickCH >
Sadly this all worked fine until I tried to use a gem to talk to a REST api.
15:45
<
darix >
RickCH: and is the 2.2.0 installed from rpm or via rvm and friends?
15:45
bungoman has quit [Remote host closed the connection]
15:46
momomomomo has quit [Ping timeout: 255 seconds]
15:46
momomomomo_ is now known as momomomomo
15:46
alestuber has joined #ruby-lang
15:48
x44x45x41x4E has joined #ruby-lang
15:49
nifoc has quit [Ping timeout: 264 seconds]
15:50
nifoc has joined #ruby-lang
15:50
<
RickCH >
darix what should I look for?
15:50
<
darix >
RickCH: the strace might help to see where it looks for the certs
15:51
<
RickCH >
ERROR: While executing gem ... (OpenSSL::X509::StoreError) system lib [pid 12660] open("/proc/self/maps", O_RDONLY) = 7 Process 12661 detached
15:51
__butch__ has joined #ruby-lang
15:52
x44x45x41x4E has quit [Client Quit]
15:52
<
darix >
RickCH: put the whole thing on some paste site/your webserver
15:52
gambl0re has joined #ruby-lang
15:55
noli_woli has joined #ruby-lang
15:56
skade has joined #ruby-lang
15:56
<
noli_woli >
why is generating the ri/rdoc docs for a gem often so slow?
15:57
<
jhass >
RickCH: open("/usr/lib64/ruby/2.0.0/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem", O_RDONLY) = -1 EACCES (Permission denied)
15:57
<
jhass >
looks like your gem can't read it
15:57
<
darix >
could be selinux or permissions problems
15:57
<
darix >
although i would assume redhat deletes /usr/lib64/ruby/2.0.0/rubygems/ssl_certs/* too
15:57
<
darix >
so that ruby uses the system store
15:59
<
RickCH >
interesting
15:59
<
RickCH >
wonder why it changed.
16:00
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:00
momomomomo has quit [Quit: momomomomo]
16:00
nifoc has quit [Ping timeout: 264 seconds]
16:00
nifoc has joined #ruby-lang
16:01
alestuber has quit [Remote host closed the connection]
16:01
slawrence00 has joined #ruby-lang
16:02
<
RickCH >
Perms it was thank you
16:02
zendrix has joined #ruby-lang
16:04
noli_woli has quit [Quit: Page closed]
16:06
momomomomo has joined #ruby-lang
16:07
RickCH has quit [Quit: Page closed]
16:11
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:12
momomomomo has quit [Quit: momomomomo]
16:12
skade has quit [Quit: Computer has gone to sleep.]
16:12
delongG_ has joined #ruby-lang
16:16
futilegames has joined #ruby-lang
16:21
ta has quit [Read error: Connection reset by peer]
16:21
caseypatrickdris has quit [Remote host closed the connection]
16:22
ta has joined #ruby-lang
16:25
michaeldeol has joined #ruby-lang
16:27
michaeldeol has quit [Client Quit]
16:28
bturker has quit [Remote host closed the connection]
16:30
iamninja has joined #ruby-lang
16:31
LBo has quit [Ping timeout: 240 seconds]
16:37
RobertBirnie has joined #ruby-lang
16:41
fclausen has joined #ruby-lang
16:42
leat has quit [Ping timeout: 252 seconds]
16:43
leat has joined #ruby-lang
16:46
bungoman has joined #ruby-lang
16:46
fclausen has quit [Ping timeout: 272 seconds]
16:48
nertzy has joined #ruby-lang
16:50
leat has quit [Ping timeout: 240 seconds]
16:50
bungoman has quit [Ping timeout: 250 seconds]
16:54
leat has joined #ruby-lang
16:55
bungoman has joined #ruby-lang
16:56
djbkd has joined #ruby-lang
16:56
djbkd has quit [Remote host closed the connection]
16:56
djbkd has joined #ruby-lang
16:58
leat has quit [Ping timeout: 252 seconds]
17:02
alestuber has joined #ruby-lang
17:04
leat has joined #ruby-lang
17:04
allomov has quit [Remote host closed the connection]
17:06
byprdct has joined #ruby-lang
17:06
chinmay_dd has joined #ruby-lang
17:06
wallerdev has joined #ruby-lang
17:06
jacaballero_ has joined #ruby-lang
17:06
alestuber has quit [Ping timeout: 255 seconds]
17:07
stan has quit [Ping timeout: 265 seconds]
17:08
fusillicode has quit [Ping timeout: 276 seconds]
17:09
k3asd` has joined #ruby-lang
17:11
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:13
stardiviner has quit [Ping timeout: 256 seconds]
17:13
goseek has joined #ruby-lang
17:18
<
goseek >
Hi Everyone. I'm a beginner about three weeks into Ruby. I'm having trouble getting my own version of a sample hash to work from Zed Shaw's LRTHW. I was wondering if someone could give me some guidance.
17:18
<
goseek >
The screen shot of the code and the output is here
17:18
<
goseek >
Any help is much appreciated.
17:19
<
jhass >
goseek: that's very difficult to read, use
https://gist.github.com to share code, don't forget to enable syntax highlighting and use a separate file for the error/output
17:20
<
goseek >
but you can click it twice to enlarge
17:20
<
goseek >
I will work on figureing out GitHub
17:20
chinmay_dd_ has joined #ruby-lang
17:21
alestuber has joined #ruby-lang
17:21
futilegames has quit [Quit: futilegames]
17:21
<
goseek >
Below is the code on gist: if anyone has a moment
17:22
jacaballero_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:22
<
jhass >
you can edit your gist to enable syntax highlighting and add a second file for the output
17:23
chinmay_dd has quit [Ping timeout: 256 seconds]
17:25
<
jhass >
so what's your issue?
17:25
<
goseek >
I was just writing a description and trying to find syntax highlighting
17:25
<
jhass >
next to the filename (or automatically if you choose a proper filename)
17:25
<
goseek >
I want it to pull from the actors hash to show who the actress is dating
17:26
<
goseek >
I can't understand why actor = actors[name]
17:26
<
goseek >
doesn't work
17:26
<
jhass >
well, what's name?
17:26
<
goseek >
it's just showing "and dates " blank
17:27
<
jhass >
yes, think about what values nick and name point at
17:27
<
goseek >
name is the value
17:27
<
jhass >
concrete values
17:27
<
jhass >
first iteration, what's nick, what's name
17:28
<
goseek >
so for the first actor it would be "Brad Pitt"
17:28
<
goseek >
ok, nick is brad
17:28
<
goseek >
name is Bradd Pitt
17:28
<
jhass >
that part is working, let's start at line 21
17:29
joaomdmoura has joined #ruby-lang
17:29
<
goseek >
So, what I understand that this is supposed to do is pull the key, value from the actresses, and then I've assigned the actor[nick] to the variable 'actors'
17:29
<
goseek >
and it will list those out, right after the actresses, each iteration
17:29
<
goseek >
but it's just blank in the output
17:29
joaomdmoura has quit [Remote host closed the connection]
17:30
<
jhass >
yeah, let's do what I said, play through what the program does, expression by expression
17:30
<
jhass >
so line 21/22, what's nick and name in the first iteration
17:31
<
goseek >
for each item in actresses, do key - nick, value -name. Put the value name, followed by key. Lastly put "actor" which i've set to be actors[nick]
17:31
futilegames has joined #ruby-lang
17:32
<
jhass >
okay, then not.
17:32
<
goseek >
'scarjo' is the nick, and 'Scarlett Johansson' is the name for 21 iteration 1
17:32
<
jhass >
okay, does the hash actors have the key "scarjo"?
17:32
<
goseek >
addtionally adding "brad" at the end
17:33
<
goseek >
no it doesn't
17:34
<
jhass >
so what value is returned by actors[nick] ?
17:34
<
goseek >
The way I understand this, is that by assigning that variable " actor = actors[nick] " it will pull from the actors hash and not the actresses
17:34
<
goseek >
according to my output, nothing. But I don't understand why because the actors hash has the same nick, name set
17:35
<
jhass >
what did we determine nick is?
17:35
joaomdmoura has joined #ruby-lang
17:36
<
jhass >
your concepts are wrong, stop thinking in them, think in concrete values
17:36
<
jhass >
what did we determine, what value nick is?
17:36
ybathia has joined #ruby-lang
17:36
ducklobster has quit [Ping timeout: 272 seconds]
17:37
<
goseek >
The key is 'brad' and the value is 'Brad Pitt'
17:37
sarkyniin has joined #ruby-lang
17:38
<
goseek >
the nick key has a value of 'Brad Pitt'
17:38
futilegames has quit [Ping timeout: 256 seconds]
17:38
<
jhass >
we're in line 22, right?
17:39
<
goseek >
actor = actors[nick]
17:39
<
jhass >
you're iterating actresses, right?
17:39
alestuber has quit [Ping timeout: 240 seconds]
17:39
<
goseek >
that's correct.
17:39
<
goseek >
and practicing pulling from two hashes at the same time to display something
17:39
<
jhass >
"brad" => "Brad Pitt" is in actors right?
17:39
<
jhass >
so what's nick?
17:39
<
jhass >
in line 22?
17:40
<
goseek >
it's the first key in the hash called actors
17:40
stardiviner has joined #ruby-lang
17:41
<
goseek >
Yeah, sorry for not getting it
17:41
<
jhass >
you already said the right thing
17:41
<
jhass >
you're outputting the value in a loop that does the same thing above
17:41
alestuber has joined #ruby-lang
17:41
<
jhass >
(the value of nick)
17:42
araujo has quit [Ping timeout: 272 seconds]
17:43
<
goseek >
I'll practice this some more. I appreciate the time you've taken to help me
17:43
<
jhass >
nick is "scarjo"
17:44
<
jhass >
actors does not have the key "scarjo"
17:44
bungoman has quit [Remote host closed the connection]
17:44
<
jhass >
thus actors[nick] (== actors["scarojo"] in the first iteration) returns nil
17:44
<
jhass >
so actor is nil
17:44
<
jhass >
>> "#{nil}"
17:45
<
goseek >
I appreciate that. I just don't understand why in his book, the exact same thing using states and state abbreviations works for him and even for me
17:45
futilegames has joined #ruby-lang
17:45
bungoman has joined #ruby-lang
17:45
araujo has joined #ruby-lang
17:45
<
goseek >
but if I change the values and make it print a different sentence it doesn't work
17:45
<
goseek >
states.each do |state, abbrev|
17:45
<
goseek >
city = cities[abbrev]
17:45
<
goseek >
puts "#{state} is abbreviated #{abbrev} and has the city of #{city}"
17:46
<
goseek >
that works just fine pulling from two hashes and listing the right output
17:46
<
goseek >
frustrating
17:47
<
jhass >
because his hashes are setup so that it works
17:47
<
goseek >
Interesting link - what is it (Eval.in)?
17:47
<
jhass >
just something we use here to run demos
17:48
<
goseek >
Hey since we last spoke I made a cool little game
17:48
<
goseek >
it's still text-based but it's progress
17:48
<
goseek >
Yesterday I started learning about classes
17:48
fusillicode has joined #ruby-lang
17:48
<
jhass >
so, with for example states = {"Germany" => "DE"} and cities = {"DE" => "Berlin"}
17:48
<
jhass >
state = "Germany", abbrev = "DE"
17:48
<
goseek >
right right
17:49
<
jhass >
cities does have the key "DE"
17:49
joaomdmo_ has joined #ruby-lang
17:49
<
goseek >
ohhhhhhhhhhhhhhhhh
17:49
joaomdmoura has quit [Read error: Connection reset by peer]
17:49
futilegames has quit [Ping timeout: 252 seconds]
17:50
<
goseek >
in his examples cities['NY']
17:50
<
goseek >
they're all sort of linked by sharing that in common
17:50
<
goseek >
in mine, I just have some arbitray names
17:50
<
goseek >
arbitrary*
17:51
<
goseek >
I'm not sure why I wasn't grasping that
17:53
joaomdmoura has joined #ruby-lang
17:54
joaomdmo_ has quit [Read error: Connection reset by peer]
17:54
alestuber has quit [Ping timeout: 272 seconds]
17:56
momomomomo has joined #ruby-lang
17:56
symm- has joined #ruby-lang
17:57
alestuber has joined #ruby-lang
17:57
marr has quit [Ping timeout: 240 seconds]
17:57
jacaballero has joined #ruby-lang
18:00
benlovell has joined #ruby-lang
18:03
aaeron has joined #ruby-lang
18:03
intinig has joined #ruby-lang
18:04
jacaballero_ has joined #ruby-lang
18:04
benlovell has quit [Ping timeout: 246 seconds]
18:05
<
goseek >
This is a very basic text-based game that I'm building. I intend to keep improving it until it has graphics and real logic
18:05
zendrix has quit [Remote host closed the connection]
18:05
chinmay_dd_ has quit [Quit: Leaving]
18:05
<
goseek >
It's as interactive as it can be at my level of Ruby but in the future I intend for it to also have more advanced user input
18:06
jacaballero has quit [Ping timeout: 250 seconds]
18:07
k3asd` has quit [Quit: leaving]
18:09
zendrix has joined #ruby-lang
18:11
zendrix has quit [Remote host closed the connection]
18:11
goseek has quit [Quit: Leaving]
18:11
zendrix has joined #ruby-lang
18:12
Astrologos_ has joined #ruby-lang
18:14
haraoka has quit [Ping timeout: 272 seconds]
18:15
baweaver has joined #ruby-lang
18:15
dorei has quit [Ping timeout: 252 seconds]
18:15
zendrix has quit [Remote host closed the connection]
18:16
benlovell has joined #ruby-lang
18:17
atomical has joined #ruby-lang
18:18
djbkd has quit [Remote host closed the connection]
18:19
alestuber has quit [Ping timeout: 256 seconds]
18:19
Fooster has quit [Ping timeout: 264 seconds]
18:19
Astrologos_ is now known as dorei
18:21
workmad3 has quit [Ping timeout: 252 seconds]
18:21
djbkd has joined #ruby-lang
18:22
alestuber has joined #ruby-lang
18:26
benlovell has quit [Ping timeout: 250 seconds]
18:27
Astrologos_ has joined #ruby-lang
18:29
dorei has quit [Ping timeout: 246 seconds]
18:29
zendrix has joined #ruby-lang
18:29
momomomomo has quit [Quit: momomomomo]
18:31
slackR has joined #ruby-lang
18:32
alestuber has quit [Read error: Connection reset by peer]
18:33
slackR has quit [Client Quit]
18:37
michaeldeol has joined #ruby-lang
18:38
baweaver has quit [Remote host closed the connection]
18:38
alestuber has joined #ruby-lang
18:38
hahuang65 has quit [Ping timeout: 245 seconds]
18:40
ogpastaling has quit [Remote host closed the connection]
18:42
joaomdmo_ has joined #ruby-lang
18:42
kibou has joined #ruby-lang
18:43
joaomdmoura has quit [Read error: No route to host]
18:46
kibou has quit [Client Quit]
18:54
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:54
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:54
bungoman has quit [Remote host closed the connection]
18:55
ledestin has joined #ruby-lang
18:56
<
hal_9000 >
who’s awake?
18:56
dagda1 has joined #ruby-lang
19:01
charliesome has quit [Quit: zzz]
19:01
Mon_Ouie has quit [Quit: WeeChat 1.1.1]
19:01
zendrix has quit [Remote host closed the connection]
19:02
ogpastaling has joined #ruby-lang
19:03
marr has joined #ruby-lang
19:04
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:04
<
imperator >
heya hal_9000
19:05
<
hal_9000 >
heyyy, long time know C
19:05
fawefeawfewa has quit [Ping timeout: 248 seconds]
19:05
<
hal_9000 >
i haven’t seen any activity on ruby-talk today — did my two posts go thru?
19:06
alestuber has quit [Ping timeout: 264 seconds]
19:06
arBmind has joined #ruby-lang
19:07
<
imperator >
i don't follow ruby-talk that closely any more, but lemme check
19:07
<
imperator >
yeah, i see them
19:08
michaeldeol has joined #ruby-lang
19:08
benlovell has joined #ruby-lang
19:08
alestuber has joined #ruby-lang
19:08
<
hal_9000 >
i don’t follow it much either, but i’m trying to do it more, as it is sort of my bread and butter
19:09
<
imperator >
responded to one :)
19:09
delongG_ has quit [Remote host closed the connection]
19:09
<
hal_9000 >
but i’m also drinking the KoolAid^H^H^H^H^H^H^H Elixir ;)
19:09
aaeron has quit [Quit: aaeron]
19:09
<
imperator >
ah, yes, looks promising
19:10
jacaballero_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:10
tmi has joined #ruby-lang
19:11
<
imperator >
i'm dealing with ruby + azure at the moment :)
19:11
6A4ABYMS5 has quit [Ping timeout: 256 seconds]
19:12
<
imperator >
ms cloud platform
19:12
aaeron has joined #ruby-lang
19:12
<
hal_9000 >
looking now
19:12
<
hal_9000 >
oh em gee, another microsoftism
19:12
<
hal_9000 >
did silverlight ever go anywhere?
19:13
benlovell has quit [Ping timeout: 245 seconds]
19:13
<
imperator >
dunno, still around as far as i know
19:14
<
imperator >
it's all about the cloud now hal_9000 :)
19:14
<
hal_9000 >
yeah, it’s hard to complain much about a cloud solution
19:15
bruno- has quit [Quit: Lost terminal]
19:15
<
hal_9000 >
you don’t ever use osx do you?
19:15
banister has joined #ruby-lang
19:15
<
imperator >
sure do, i'm on it right now (work laptop)
19:16
<
imperator >
my home desktop is actually a mac tower that i've setup with bootcamp
19:16
baweaver has joined #ruby-lang
19:16
<
imperator >
so i've got snow leopard and windows 7 as my "main" operating systems
19:16
<
imperator >
plus a bunch of VM's on the mac using vmware fusion
19:17
guillaume-rb has joined #ruby-lang
19:17
wallerdev has quit [Quit: wallerdev]
19:17
bungoman has joined #ruby-lang
19:18
<
imperator >
lemme take a look at ffi-curses
19:18
<
hal_9000 >
i’ll give you my code if you’re interested
19:18
woodruffw_ has joined #ruby-lang
19:19
woodruffw has quit [Read error: Connection reset by peer]
19:19
<
hal_9000 >
it’s so prelim it’s not in source control :)
19:19
woodruffw_ is now known as woodruffw
19:19
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:19
<
imperator >
hm, hasn't seen an update in 4 years, that may be a bad sign
19:21
bruno- has joined #ruby-lang
19:21
jacaballero has joined #ruby-lang
19:22
<
hal_9000 >
yeah, i know
19:22
<
imperator >
10 test failures running the suite, but no errors
19:22
<
hal_9000 >
if i find a better/different one, hopefully it will be mostly a drop-in replacement
19:23
<
imperator >
got a gist i can look at?
19:23
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:23
<
hal_9000 >
duh, i hadn’t even noticed there was a suite
19:23
<
hal_9000 >
i sent u email, if you are at the same old address?
19:23
dagda1 has joined #ruby-lang
19:23
<
hal_9000 >
brb 5 min
19:24
alestuber has quit [Ping timeout: 245 seconds]
19:25
benlovell has joined #ruby-lang
19:25
intinig has quit []
19:26
postmodern has joined #ruby-lang
19:26
Miphix has quit [Quit: Leaving]
19:26
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:26
|jemc| has quit [Ping timeout: 256 seconds]
19:27
<
hal_9000 >
imperator:
19:27
<
hal_9000 >
making sense?
19:27
<
imperator >
don't see it
19:27
|jemc| has joined #ruby-lang
19:27
<
hal_9000 >
no? weird. i can create gists then
19:28
<
imperator >
yeah, do that
19:28
alestuber has joined #ruby-lang
19:29
benlovell has quit [Ping timeout: 252 seconds]
19:33
Miphix has joined #ruby-lang
19:35
benlovell has joined #ruby-lang
19:35
jds has quit [Quit: Connection closed for inactivity]
19:35
<
imperator >
and you're getting an error? can you pastie the error message?
19:37
momomomomo has joined #ruby-lang
19:38
<
imperator >
or it's just not working as expected?
19:39
Fooster has joined #ruby-lang
19:39
<
hal_9000 >
well, the demo works for me (does it for you?) - but the inchstr functions basically return all NULLs
19:40
<
hal_9000 >
they aren’t used in the demo - they’re just for retrieving data from the “screen”
19:40
bertocode has joined #ruby-lang
19:42
<
imperator >
yep, demo worked
19:42
<
imperator >
pretty cool, btw :)
19:42
hahuang65 has joined #ruby-lang
19:42
banister has joined #ruby-lang
19:42
<
hal_9000 >
thx, not bad for an afternoon’s work
19:44
k3asd` has joined #ruby-lang
19:44
benlovell has quit [Ping timeout: 240 seconds]
19:45
benlovell has joined #ruby-lang
19:45
<
imperator >
hm, looks like some of this code is autogenerated
19:45
<
imperator >
:inchnstr, [:chtype_p, :int], :int is the prototype
19:45
<
imperator >
sorry, :inchstr, [:chtype_p], :int
19:45
futilegames has joined #ruby-lang
19:46
<
imperator >
where chtype_p is just an alias for :pointer
19:47
kfpratt has joined #ruby-lang
19:48
fusillicode has quit [Quit: Leaving.]
19:48
skade has joined #ruby-lang
19:48
fusillicode has joined #ruby-lang
19:49
alestuber has quit [Ping timeout: 245 seconds]
19:49
fusillicode has quit [Read error: Connection reset by peer]
19:49
aewffwea has joined #ruby-lang
19:49
<
hal_9000 >
i’m sure he used some kind of tool to bind to the library
19:49
benlovell has quit [Ping timeout: 256 seconds]
19:50
futilegames has quit [Ping timeout: 264 seconds]
19:50
symm- has quit [Ping timeout: 276 seconds]
19:50
fusillicode has joined #ruby-lang
19:53
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
19:53
<
imperator >
hm, it does look like there are some newer ncurses libs, but they're C extensions
19:53
bruno-_ has joined #ruby-lang
19:53
<
imperator >
ncurses-ruby and ncursesw-ruby
19:53
alestuber has joined #ruby-lang
19:55
<
imperator >
well, i think you're going to have to create a minimal example using [] that i can step into via a debugger
19:55
jacaballero has quit [Read error: Connection reset by peer]
19:58
fusillicode1 has joined #ruby-lang
19:58
dzejrou has quit [Read error: Connection reset by peer]
19:58
wallerdev has joined #ruby-lang
20:00
wallerdev has quit [Client Quit]
20:01
fusillicode has quit [Ping timeout: 252 seconds]
20:02
zendrix has joined #ruby-lang
20:02
fusillicode has joined #ruby-lang
20:04
fusillicode1 has quit [Ping timeout: 252 seconds]
20:05
workmad3 has joined #ruby-lang
20:06
Guest24 is now known as lele
20:07
bturker has joined #ruby-lang
20:08
shazaum has quit [Quit: Leaving]
20:10
<
hal_9000 >
i assumed it would return a string rather than making me pass on in (as in C)
20:10
<
hal_9000 >
at some point, i got one variation to do something, but it returned mostly nulls
20:10
workmad3 has quit [Ping timeout: 255 seconds]
20:10
<
hal_9000 >
actually scr_dump is the same way
20:10
moretti has joined #ruby-lang
20:11
Astrologos_ is now known as dorei
20:13
skade has quit [Quit: Computer has gone to sleep.]
20:14
alestuber has quit [Read error: Connection reset by peer]
20:14
jacaballero has joined #ruby-lang
20:15
araujo has quit [Quit: Leaving]
20:15
baweaver has quit [Remote host closed the connection]
20:16
<
imperator >
k, lemme look
20:16
symm- has joined #ruby-lang
20:17
alestuber has joined #ruby-lang
20:19
michaeldeol has joined #ruby-lang
20:20
<
imperator >
in `mvinchstr': :pointer argument is not a valid pointer (ArgumentError)
20:21
<
imperator >
yep, dat looks like a bug to me
20:21
<
imperator >
well, wait
20:21
<
hal_9000 >
did you try scr_dump(file) ?
20:21
<
hal_9000 >
yeah, i was trying to guess what the ruby form should be based on the C form
20:22
<
imperator >
looking at the C func, looks like 3rd arg should be a string
20:22
<
hal_9000 >
how would i pass in a string ptr in ruby?
20:22
<
hal_9000 >
it’s a butfer for the result to be placed into
20:22
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:22
<
hal_9000 >
i assumed the ruby version would return a string instead
20:23
wallerdev has joined #ruby-lang
20:23
<
imperator >
so, you may have to create your own buffer
20:24
<
imperator >
hard for me to tell, as i don't seem to have stdout
20:24
<
imperator >
but, try buf = 0.chr * 2; and then pass buf as 3rd arg
20:25
yalue has quit [Quit: return 0;]
20:25
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:25
<
imperator >
does NC.endwin mess with my stdout or something?
20:25
<
hal_9000 >
it should restore everything to normal
20:25
ducklobster has joined #ruby-lang
20:25
<
hal_9000 >
like stty sane
20:25
<
hal_9000 >
you can always open a file and write to it
20:26
Fooster has quit [Remote host closed the connection]
20:27
<
hal_9000 >
ok - i tried this and it crashed with “Bug:…”
20:27
<
hal_9000 >
buf = “0”*3; ch = NC.mvinchstr(1,1,buf) # Expecting ch = "XY"
20:27
pr0ton has joined #ruby-lang
20:29
<
hal_9000 >
when i substsitute: NC.scr_dump("crap.txt") then it writes a crap.txt file, but i can’t make any sense out of it
20:30
aaeron has quit [Quit: aaeron]
20:30
<
imperator >
i guess the first thing is to see if the function is returning OK
20:31
<
hal_9000 >
the scr_dump function?
20:31
joaomdmo_ has quit [Remote host closed the connection]
20:31
<
imperator >
any function really
20:32
<
hal_9000 >
well, the demo calls plenty of functions
20:32
joaomdmoura has joined #ruby-lang
20:32
<
imperator >
unless the lib is automatically checking return values
20:32
<
imperator >
but it doesn't look like it is
20:32
<
hal_9000 >
oh, i thought you meant it might have crashed on scr_dump
20:33
<
imperator >
well, that method is returning 99 for me
20:33
<
imperator >
which is neither 0 nor -1, so maybe that's a red herring
20:34
<
hal_9000 >
maybe even a plaid herring
20:34
pr0ton has quit [Quit: pr0ton]
20:36
pr0ton has joined #ruby-lang
20:37
joaomdmoura has quit [Ping timeout: 264 seconds]
20:37
kadoppe has quit [Ping timeout: 265 seconds]
20:37
pr0ton has quit [Client Quit]
20:37
pr0ton has joined #ruby-lang
20:38
<
imperator >
i tried using a FFI::MemoryPointer directly
20:38
<
imperator >
it did not like that one bit
20:38
alestuber has quit [Ping timeout: 272 seconds]
20:38
dellavg_ has quit [Ping timeout: 264 seconds]
20:38
kadoppe has joined #ruby-lang
20:41
<
imperator >
not sure where to go from here
20:41
pr0ton has quit [Client Quit]
20:41
alestuber has joined #ruby-lang
20:41
<
imperator >
3rd arg should definitely be a buffer, it just...doesn't seem to send anything back
20:43
michaeldeol has joined #ruby-lang
20:43
pr0ton has joined #ruby-lang
20:45
<
imperator >
lol, can't use the command line debugger, ncurses messes with it
20:46
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:47
<
hal_9000 >
all i want is the functionality :)
20:47
skade has joined #ruby-lang
20:47
<
hal_9000 >
msybe i should try another curses gem
20:47
dagda1 has joined #ruby-lang
20:47
<
imperator >
yep, may have to try one of the more recent ones
20:48
jgpawletko has quit [Quit: jgpawletko]
20:48
joaomdmoura has joined #ruby-lang
20:48
duderonomy has quit [Ping timeout: 240 seconds]
20:52
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:52
djbkd has quit [Remote host closed the connection]
20:53
yfeldblum has joined #ruby-lang
20:53
solars has quit [Ping timeout: 240 seconds]
20:53
joaomdmoura has quit [Ping timeout: 256 seconds]
20:54
joaomdmoura has joined #ruby-lang
21:00
yfeldblum has quit [Remote host closed the connection]
21:00
gambl0re has quit [Ping timeout: 272 seconds]
21:00
joaomdmoura has quit [Remote host closed the connection]
21:01
yfeldblum has joined #ruby-lang
21:01
pr0ton has quit [Quit: pr0ton]
21:01
workmad3 has joined #ruby-lang
21:05
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:06
alestuber has quit [Ping timeout: 276 seconds]
21:06
banister has joined #ruby-lang
21:07
alestuber has joined #ruby-lang
21:08
begal-sop__ has quit [Remote host closed the connection]
21:11
momomomomo has quit [Quit: momomomomo]
21:16
ldnunes has quit [Quit: Leaving]
21:16
joaomdmoura has joined #ruby-lang
21:17
joaomdmoura has quit [Remote host closed the connection]
21:17
skade has quit [Quit: Computer has gone to sleep.]
21:19
sepp2k has joined #ruby-lang
21:20
michaeldeol has joined #ruby-lang
21:22
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:23
michaeldeol has quit [Client Quit]
21:24
momomomomo has joined #ruby-lang
21:25
Astrologos_ has joined #ruby-lang
21:25
skade has joined #ruby-lang
21:25
LBo has joined #ruby-lang
21:26
allomov has joined #ruby-lang
21:27
michaeldeol has joined #ruby-lang
21:28
dorei has quit [Ping timeout: 264 seconds]
21:28
Astrologos_ is now known as dorei
21:29
zendrix has quit []
21:30
guillaume-rb has quit [Quit: guillaume-rb]
21:31
djbkd has joined #ruby-lang
21:36
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:37
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:38
alestuber has quit [Ping timeout: 272 seconds]
21:39
Astrologos_ has joined #ruby-lang
21:39
dorei has quit [Ping timeout: 256 seconds]
21:40
alestuber has joined #ruby-lang
21:41
Astrologos_ is now known as dorei
21:43
baweaver has joined #ruby-lang
21:43
joaomdmoura has joined #ruby-lang
21:46
futilegames has joined #ruby-lang
21:49
baweaver has quit [Ping timeout: 265 seconds]
21:49
bungoman has quit [Remote host closed the connection]
21:50
futilegames has quit [Ping timeout: 240 seconds]
21:51
joaomdmoura has quit [Remote host closed the connection]
21:53
aaeron has joined #ruby-lang
21:54
<
aaeron >
What is the best way to run shell commands in Ruby
21:54
<
aaeron >
Shall I use a gem like mixlib-shellout?
21:54
<
aaeron >
Or plain simple ``
21:55
djbkd has quit [Remote host closed the connection]
21:56
momomomomo has quit [Quit: momomomomo]
21:58
<
jhass >
aaeron: best is entirely subjective and depending on your usecase/demands
21:58
<
aaeron >
I just need to be able to unit test it using respec
21:58
<
aaeron >
I am trying to use mixlib-shellout
21:59
<
aaeron >
But I dont know how to test mixlib::shellout
21:59
<
aaeron >
I am not able ot mock it
21:59
<
aaeron >
Nor do I see any examples. I am using rspec 3.0
21:59
djbkd has joined #ruby-lang
22:02
<
jhass >
just allow(Mixli::ShellOut).to receive(:new).and_return(double(run_command: nil, stdout: "bar")) ?
22:02
<
aaeron >
Let me check
22:02
<
jhass >
depending on what you want to test
22:03
Squarepy has joined #ruby-lang
22:03
Squarepy has quit [Changing host]
22:03
Squarepy has joined #ruby-lang
22:03
baweaver has joined #ruby-lang
22:03
<
aaeron >
NoMethodError:
22:03
<
aaeron >
undefined method `stderr' for nil:NilClass
22:04
bturker has quit [Ping timeout: 244 seconds]
22:04
<
aaeron >
I think u made it very close for me
22:04
<
aaeron >
I just want to check the response in response = Mixlib::ShellOut.new(cmd).run_command
22:05
<
jhass >
"check the response"?
22:05
<
aaeron >
For response.stdout and response.stderr
22:05
<
jhass >
you mean you want to check your program acts accordingly for a given output of stderr?
22:05
<
aaeron >
and stdout respectively
22:06
<
jhass >
double(run_command: double(stdout: "foo", stderr: "bar"))
22:06
djbkd has quit [Remote host closed the connection]
22:07
<
aaeron >
Oh. A step closer. Cool
22:07
<
aaeron >
Where do I learn rspec from? U are an expert in it
22:07
<
aaeron >
definitely
22:08
alestuber has quit [Ping timeout: 246 seconds]
22:09
alestuber has joined #ruby-lang
22:09
enebo has quit [Quit: enebo]
22:10
<
jhass >
just check the docs
22:10
<
aaeron >
U seem to know how to mock a module, class
22:11
<
aaeron >
And I have not seen any documentation on that
22:11
<
aaeron >
rspec.info does not provide much information.
22:11
<
aaeron >
the information u provided is not available anywhere on google as far as I know.
22:11
<
aaeron >
Thanks jhass
22:12
benlovell has joined #ruby-lang
22:13
<
aaeron >
Thanks jhass
22:13
<
aaeron >
Thanks a lot
22:13
imperator has quit [Quit: Leaving]
22:15
djbkd has joined #ruby-lang
22:15
imperator2 has quit [Quit: Valete!]
22:16
benlovell has quit [Ping timeout: 246 seconds]
22:17
Forgetful_Lion has joined #ruby-lang
22:17
nertzy has quit [Quit: This computer has gone to sleep]
22:18
skade has quit [Quit: Computer has gone to sleep.]
22:18
joaomdmoura has joined #ruby-lang
22:22
whippythellama has quit [Quit: whippythellama]
22:22
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:23
joaomdmoura has quit [Ping timeout: 245 seconds]
22:27
__butch__ has quit [Quit: Leaving.]
22:28
djbkd has quit [Remote host closed the connection]
22:28
<
aaeron >
jhass - How do we test for fails ‘’ unless conditions
22:28
baweaver has quit [Remote host closed the connection]
22:31
duderonomy has joined #ruby-lang
22:32
arBmind1 has joined #ruby-lang
22:34
arBmind has quit [Ping timeout: 256 seconds]
22:35
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:36
Astrologos_ has joined #ruby-lang
22:37
jacaballero has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:38
baweaver has joined #ruby-lang
22:38
astro-logos has joined #ruby-lang
22:39
dorei has quit [Ping timeout: 256 seconds]
22:39
astro-logos is now known as dorei
22:41
Astrologos_ has quit [Ping timeout: 250 seconds]
22:41
gambl0re has joined #ruby-lang
22:42
k3asd` has quit [Quit: leaving]
22:43
workmad3 has quit [Ping timeout: 250 seconds]
22:48
malconis has joined #ruby-lang
22:50
bungoman has joined #ruby-lang
22:52
xavier has joined #ruby-lang
22:52
xavier is now known as Guest75332
22:52
Guest75332 is now known as xshay
22:53
<
xshay >
hello friends, it appears to me that json.rb is not included in core redhat RPMs
22:53
malconis has quit [Ping timeout: 264 seconds]
22:53
<
xshay >
is this a thing people know about? Or am I doing it wrong?
22:54
<
xshay >
2nd question: why are ruby and ruby-libs (the stdlib AFAICT?) distributed separately?
22:54
bungoman has quit [Ping timeout: 240 seconds]
22:57
michaeldeol has joined #ruby-lang
23:00
sepp2k has quit [Quit: Leaving.]
23:02
ogpastaling has quit [Ping timeout: 256 seconds]
23:02
banister has joined #ruby-lang
23:03
ysuo85 has joined #ruby-lang
23:03
<
ysuo85 >
hi, is anybody here?
23:04
<
xshay >
ysuo85: depends on what your question is
23:05
<
baweaver >
xshay: heh, didn't know you were on here
23:06
<
ysuo85 >
would anybody be kind to drill me on some basic ruby array and string methods? only if you are free..
23:06
astro-logos has joined #ruby-lang
23:06
<
baweaver >
>> p 'we have repl'
23:06
<
ljarvis >
ysuo85: check the documentation?
23:07
<
baweaver >
Ah all in good fun though
23:07
<
baweaver >
here are a few for you on Arrays
23:07
<
baweaver >
or rather Enumerable
23:08
<
baweaver >
Given an Array of the numbers 1 to 10, return the sum of all of the elements
23:09
<
bnagy >
>> 10*11/2 # gauss
23:09
Astrologos_ has joined #ruby-lang
23:09
<
baweaver >
ysou85 ^
23:09
<
baweaver >
(not the point)
23:09
<
baweaver >
(but points for clever)
23:09
<
bnagy >
well I didn't want to spoil the answer
23:09
<
baweaver >
fair enough
23:10
<
ysuo85 >
I used each
23:10
dorei has quit [Ping timeout: 264 seconds]
23:10
<
baweaver >
>> p 'use me use me!'
23:11
<
baweaver >
Each is now off limits
23:11
<
xshay >
baweaver: I'm not normally, but I got questions that need answers :P
23:11
astro-logos has quit [Ping timeout: 272 seconds]
23:11
<
baweaver >
Fair enough
23:11
<
ysuo85 >
what is that # gauss?
23:12
<
baweaver >
I'll give you a hint that the solution without each is in Enumerable and starts with an R
23:12
<
ljarvis >
lies, it starts with an i
23:13
<
ljarvis >
you cant use that in Ruby, there's too many aliases
23:13
* baweaver
uses Haskell, it's FoldL
23:13
<
baweaver >
There are aliases for everything in ruby :D
23:13
djbkd has joined #ruby-lang
23:14
<
baweaver >
r..... is more intention revealing for me coming from there as you're r....ing a list into a single element
23:14
<
ljarvis >
baweaver: this really isn't helping ysuo85
23:14
<
ysuo85 >
well I lucked up the documentation. its (1..10).reduce(:+)
23:14
<
ysuo85 >
but what is it actually doing?
23:15
<
baweaver >
>> (1..10).reduce(:+)
23:15
<
baweaver >
or long hand
23:15
<
baweaver >
>> (1..10).reduce { |accumulator, n| accumulator + n }
23:15
<
baweaver >
knowing map and reduce are pretty handy tools to have.
23:16
<
baweaver >
ysuo85: Same documentation area, use map to double all the elements from 1 to 10
23:17
<
ysuo85 >
(1..10).map {|n| n*2} ?
23:17
hackeron has quit [Remote host closed the connection]
23:17
<
baweaver >
same area, give me only the even numbers in the array of 1 to 10
23:17
<
bnagy >
>> (1..10).map.with_object([0]) {|n, i| i[0]+=n}.last
23:18
dorei has joined #ruby-lang
23:18
<
baweaver >
methods to look into are select and filter
23:18
<
ysuo85 >
(1..10).select {|n| n % 2 == 0}
23:18
<
baweaver >
you can also do this:
23:18
<
baweaver >
>>(1..10).select(&:even?)
23:19
<
ysuo85 >
interesting.. ruby seems to have a shortcut for everything lol
23:19
sarkyniin has quit [Quit: Quit]
23:19
<
baweaver >
A lot of them, yeah
23:19
<
baweaver >
Now then, for something a bit more
23:19
hackeron has joined #ruby-lang
23:20
<
baweaver >
%w(the person the manager sent to the office)
23:20
<
baweaver >
count each word in that array
23:20
Squarepy has quit [Quit: Leaving]
23:20
<
baweaver >
same area, there's a grouping function that could help
23:20
<
ysuo85 >
%w(the person the manager sent to the office).split(" ").count
23:20
Astrologos_ has quit [Ping timeout: 272 seconds]
23:21
<
baweaver >
>> %w(the person the manager sent to the office)
23:21
<
ljarvis >
ysuo85: use >> then your code
23:21
<
baweaver >
already an array
23:21
* baweaver
forgets that's not something some people know
23:21
<
baweaver >
count of each word though
23:21
<
ysuo85 >
>> %w(the person the manager sent to the office).count
23:22
<
baweaver >
the has 3 instances for instance
23:22
dorei has quit [Ping timeout: 240 seconds]
23:22
<
ysuo85 >
oh so you want each distinct word?
23:23
<
baweaver >
there's a grouping function that could be of use here
23:23
<
baweaver >
and you already know map
23:23
dorei has joined #ruby-lang
23:24
<
baweaver >
and conveniently count as well
23:24
<
ysuo85 >
well I know how to do it with a new array. you iterate through each element and push the word in and if it include? the same element it wont push it in again. but you sound like there is a one liner for this too
23:24
<
baweaver >
It can be done
23:24
<
baweaver >
Going through some of the more fun bits of Ruby
23:24
<
bnagy >
there's a one-liner for everything
23:24
sankaber has joined #ruby-lang
23:24
<
bnagy >
the trick is knowing when they're stupid
23:25
<
baweaver >
in Common Lisp everything's a one liner :D
23:25
xshay has quit [Ping timeout: 246 seconds]
23:26
<
baweaver >
>> (1..10).group_by(&:even?)
23:26
wallerdev has quit [Quit: wallerdev]
23:26
<
ljarvis >
^ partition
23:26
<
baweaver >
in that case, yes, better idea
23:26
<
baweaver >
just giving hints for a word count
23:26
<
baweaver >
>> (1..10).partition(&:even?)
23:28
<
baweaver >
ysuo85: need any help?
23:28
<
ysuo85 >
still trying to figure out. could use some hint yeah
23:28
<
baweaver >
See the group by up there?
23:28
<
ysuo85 >
group_by(&:even?)?
23:29
dorei has quit [Ping timeout: 244 seconds]
23:29
<
baweaver >
%w(the person the manager sent to the office).group_by(&:itself)
23:29
<
baweaver >
>> %w(the person the manager sent to the office).group_by(&:itself)
23:29
<
eval-in >
baweaver => {"the"=>["the", "the", "the"], "person"=>["person"], "manager"=>["manager"], "sent"=>["sent"], "to"=>["to"], "office"=>["office"]} (
https://eval.in/339218)
23:29
<
baweaver >
how would you transform that into word => count?
23:29
<
baweaver >
using map
23:30
arBmind1 has quit [Quit: Leaving.]
23:30
<
bnagy >
2.2 bullshit
23:30
<
ysuo85 >
>> %(the person the manager sent to the office).group_by(&:itself).keys.count
23:30
<
eval-in >
ysuo85 => undefined method `group_by' for "the person the manager sent to the office":String (NoMethodError) ... (
https://eval.in/339222)
23:31
<
ysuo85 >
>> %w(the person the manager sent to the office).group_by(&:itself).keys.count
23:31
<
baweaver >
you'll want to use map though
23:31
<
baweaver >
that only tells you uniq words
23:31
<
baweaver >
%w(the person the manager sent to the office).uniq
23:31
* baweaver
keeps forgetting repl >>s
23:31
<
baweaver >
>> %w(the person the manager sent to the office).uniq
23:31
izzimus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:31
<
baweaver >
>> %w(the person the manager sent to the office).uniq.count
23:32
<
ysuo85 >
oh. thats a lot shorter.
23:32
<
baweaver >
except you need the counts of each word
23:32
<
baweaver >
not uniq words
23:32
<
ysuo85 >
>> %w(the person the manager sent to the office).count
23:33
<
ysuo85 >
sorry I don't get it. this is counting each word right?
23:33
<
baweaver >
>> %w(the person the manager sent to the office).group_by(&:itself).map { |word, occurrences| [word, occurrences.count] }.to_h
23:33
<
ysuo85 >
oooh, thats what you meant
23:33
<
baweaver >
group_by gives you a hash indexed by the result of the block
23:33
<
baweaver >
>> 1.itself
23:34
<
baweaver >
itself is literally the object itself
23:34
zendrix has joined #ruby-lang
23:34
<
baweaver >
so if you group it by that, you get the word
23:34
<
baweaver >
and all occurrences as an array
23:34
<
ysuo85 >
I didn't know hash had a map function
23:34
<
baweaver >
so you can map that for a count
23:34
<
baweaver >
Hash has Enumerable methods
23:34
<
bnagy >
assuming you never encounter a pre 2.2 interpreter
23:34
<
baweaver >
notice this
23:34
<
baweaver >
>> %w(the person the manager sent to the office).group_by(&:itself).map { |word, occurrences| [word, occurrences.count] }
23:34
<
eval-in >
baweaver => [["the", 3], ["person", 1], ["manager", 1], ["sent", 1], ["to", 1], ["office", 1]] (
https://eval.in/339255)
23:35
<
baweaver >
it returns arrays more often than not, and even if you returned a hash from that block it wouldn't be merged
23:35
<
baweaver >
>> %w(the person the manager sent to the office).group_by(&:itself).map { |word, occurrences| {word => occurrences.count} }
23:35
<
baweaver >
You could
23:35
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:35
<
baweaver >
>> %w(the person the manager sent to the office).group_by(&:itself).map { |word, occurrences| {word => occurrences.count} }.reduce(&:merge!)
23:35
<
baweaver >
but the to_h solution is a bit more succinct.
23:36
<
baweaver >
Going through Enumerable is perhaps one of the best things you can do to get a grasp on Ruby list manipulations
23:36
duderonomy has quit [Ping timeout: 240 seconds]
23:37
<
baweaver >
Anyways, off I go, need to finish a few things off.
23:38
alestuber has quit [Remote host closed the connection]
23:40
rcvalle has quit [Quit: rcvalle]
23:42
<
baweaver >
and identity functions are useful, mind. (itself)
23:42
Forgetful_Lion has quit [Remote host closed the connection]
23:43
<
bnagy >
totally needed something that replicates existing functionality but longer
23:44
<
baweaver >
To each their own
23:44
slawrence00 has quit [Ping timeout: 264 seconds]
23:44
baweaver has quit [Remote host closed the connection]
23:46
pipework is now known as spaceghostc2c
23:48
spaceghostc2c is now known as pipework
23:50
<
ysuo85 >
sorry kid started crying
23:51
bungoman has joined #ruby-lang
23:52
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:55
baweaver has joined #ruby-lang
23:56
bungoman has quit [Ping timeout: 256 seconds]
23:57
ysuo85 has left #ruby-lang [#ruby-lang]
23:58
dvlwrk has quit [Read error: Connection reset by peer]
23:58
dvlwrk has joined #ruby-lang