00:00
tildes has joined #ruby
00:04
bkxd has quit [Ping timeout: 240 seconds]
00:04
snockerton has quit [Quit: Leaving.]
00:04
tildes has quit [Ping timeout: 240 seconds]
00:04
bronson has quit [Remote host closed the connection]
00:06
GodFather has joined #ruby
00:06
jgt has quit [Ping timeout: 240 seconds]
00:09
xzhao_ has quit [Read error: Connection reset by peer]
00:10
JoshS has quit [Quit: Leaving]
00:10
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:11
binaryplease has joined #ruby
00:11
Snickers has quit [Quit: Snickers]
00:11
binaryplease has quit [Client Quit]
00:12
outreachdan has joined #ruby
00:13
nitric has quit [Ping timeout: 268 seconds]
00:13
ddffg has quit [Quit: Leaving]
00:14
weaksauce has joined #ruby
00:18
hutch34_ has joined #ruby
00:18
cyphase has quit [Ping timeout: 268 seconds]
00:19
bronson has joined #ruby
00:20
xzhao_ has joined #ruby
00:20
Vile` has joined #ruby
00:20
am55 has joined #ruby
00:21
nowhereman has quit [Ping timeout: 240 seconds]
00:23
hutch34_ has quit [Ping timeout: 264 seconds]
00:26
rakm has joined #ruby
00:26
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:26
agent_white has joined #ruby
00:26
babykosh has joined #ruby
00:30
charliesome has joined #ruby
00:31
jenrzzz has quit [Ping timeout: 246 seconds]
00:31
bronson has quit [Remote host closed the connection]
00:32
Rodya_ has joined #ruby
00:34
enterprisey has quit [Ping timeout: 246 seconds]
00:35
pwnd_nsfw` has joined #ruby
00:36
kiltzman has quit [Ping timeout: 246 seconds]
00:37
howdoi has joined #ruby
00:38
kiltzman has joined #ruby
00:39
pwnd_nsfw has quit [Ping timeout: 260 seconds]
00:39
JeanCarloMachado has quit [Ping timeout: 260 seconds]
00:39
Channel6 has joined #ruby
00:39
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:41
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:41
JeanCarloMachado has joined #ruby
00:41
gdonald has quit [Read error: Connection reset by peer]
00:42
gdonald has joined #ruby
00:42
esObe_ has joined #ruby
00:45
lxsameer has quit [Quit: WeeChat 1.7]
00:46
shinnya has joined #ruby
00:46
esObe_ has quit [Ping timeout: 260 seconds]
00:47
t-recx has quit [Quit: t-recx]
00:47
enterprisey has joined #ruby
00:51
Vile` has quit [Ping timeout: 268 seconds]
00:53
nowhereman has joined #ruby
00:58
bronson has joined #ruby
00:58
Rodya_ has quit [Remote host closed the connection]
00:59
JeanCarloMachado has quit [Ping timeout: 240 seconds]
01:00
ahrs has quit [Remote host closed the connection]
01:00
Rodya_ has joined #ruby
01:01
JeanCarloMachado has joined #ruby
01:01
solocshaw has quit [Ping timeout: 246 seconds]
01:07
<
masterasia >
I have a year
01:07
<
masterasia >
(Time.new.year)
01:07
<
masterasia >
how can I iterate and count down?
01:08
jusa has joined #ruby
01:08
<
masterasia >
I can subtract -1 to get the next year but I was wondering if there was an enumerable method to do it for me
01:08
<
masterasia >
instead of writing a loop myself
01:09
<
adam12 >
masterasia: Maybe #upto or #downto ?
01:09
_sfiguser has quit [Ping timeout: 260 seconds]
01:10
charliesome has joined #ruby
01:10
gusrub has joined #ruby
01:10
<
masterasia >
Time.new.year.downto(Time.new.year - 2) {|x| puts x}
01:10
<
masterasia >
thanks
01:11
rgtk has quit [Ping timeout: 240 seconds]
01:12
gusrub has quit [Remote host closed the connection]
01:12
marcdel has joined #ruby
01:13
jusa has quit [Ping timeout: 260 seconds]
01:13
babykosh has quit [Quit: babykosh]
01:14
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:15
ahrs has joined #ruby
01:17
marcdel has quit [Ping timeout: 260 seconds]
01:19
hutch34_ has joined #ruby
01:19
marcdel has joined #ruby
01:20
masterasia has quit [Ping timeout: 268 seconds]
01:20
masterasia has joined #ruby
01:21
_sfiguser has joined #ruby
01:24
hutch34_ has quit [Ping timeout: 240 seconds]
01:24
cschneid_ has joined #ruby
01:25
cschneid_ has quit [Remote host closed the connection]
01:25
cschneid_ has joined #ruby
01:26
cschneid_ has quit [Read error: Connection reset by peer]
01:27
cschneid_ has joined #ruby
01:30
jaequery_ has joined #ruby
01:31
jaequery has quit [Ping timeout: 240 seconds]
01:36
Trynemjoel has quit [Ping timeout: 264 seconds]
01:38
pwnd_nsfw` has quit [Quit: Leaving]
01:38
pwnd_nsfw has joined #ruby
01:39
marcdel has quit [Ping timeout: 240 seconds]
01:40
cyphase has joined #ruby
01:41
Trynemjoel has joined #ruby
01:41
bronson has quit [Remote host closed the connection]
01:42
Rodya_ has quit [Remote host closed the connection]
01:43
StoneCypher has joined #ruby
01:43
marcdel has joined #ruby
01:43
esObe_ has joined #ruby
01:45
Trynemjoel has quit [Ping timeout: 245 seconds]
01:46
zipace has quit [Disconnected by services]
01:46
ziprar has joined #ruby
01:47
uncertainty has joined #ruby
01:47
StoneCypher has quit [Ping timeout: 260 seconds]
01:48
esObe_ has quit [Ping timeout: 260 seconds]
01:49
duderonomy has joined #ruby
01:51
cfec0b8d1 has quit [Ping timeout: 264 seconds]
01:51
Trynemjoel has joined #ruby
01:53
johnzorn has joined #ruby
01:54
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:54
bronson has joined #ruby
01:55
Vile` has joined #ruby
01:55
hutch34_ has joined #ruby
01:56
Trynemjoel has quit [Ping timeout: 245 seconds]
01:56
FoX_77 has joined #ruby
01:58
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:58
Trynemjoel has joined #ruby
01:59
bkxd has joined #ruby
02:02
libastral has quit [Ping timeout: 260 seconds]
02:03
bmurt has joined #ruby
02:03
dhollinger has quit [Ping timeout: 260 seconds]
02:04
jcao219 has joined #ruby
02:04
bkxd has quit [Ping timeout: 258 seconds]
02:04
jaequery_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:05
ragesoss has quit [Remote host closed the connection]
02:06
libastral has joined #ruby
02:07
Jayson_Virissimo has joined #ruby
02:08
ragesoss has joined #ruby
02:12
Rodya_ has joined #ruby
02:15
ztkz has joined #ruby
02:16
Trynemjoel has quit [Ping timeout: 245 seconds]
02:16
cibs has quit [Ping timeout: 264 seconds]
02:17
marcdel has quit [Ping timeout: 246 seconds]
02:18
raspado has quit [Remote host closed the connection]
02:18
rakm has joined #ruby
02:18
cibs has joined #ruby
02:18
FoX_77 has quit [Remote host closed the connection]
02:20
harfangk has joined #ruby
02:21
RobertBirnie has joined #ruby
02:21
Trynemjoel has joined #ruby
02:21
uncertainty has quit [Ping timeout: 260 seconds]
02:21
marcdel has joined #ruby
02:25
etehtsea has joined #ruby
02:25
Trynemjoel has quit [Ping timeout: 245 seconds]
02:26
Trynemjoel has joined #ruby
02:27
jenrzzz has joined #ruby
02:27
jenrzzz has joined #ruby
02:27
jenrzzz has quit [Changing host]
02:27
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:29
HoierM has quit [Ping timeout: 240 seconds]
02:29
dar123 has joined #ruby
02:30
dhollinger has joined #ruby
02:33
spicerack has joined #ruby
02:34
jeffreylevesque has joined #ruby
02:37
solocshaw has joined #ruby
02:41
jeyraof^mbpr has joined #ruby
02:44
esObe_ has joined #ruby
02:44
knight33 has joined #ruby
02:47
milardovich has quit [Remote host closed the connection]
02:47
djbkd has joined #ruby
02:48
mzo has joined #ruby
02:48
esObe_ has quit [Ping timeout: 240 seconds]
02:50
Trynemjoel has quit [Ping timeout: 264 seconds]
02:50
milardovich has joined #ruby
02:52
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:53
Trynemjoel has joined #ruby
02:54
milardovich has quit [Ping timeout: 240 seconds]
02:55
username has joined #ruby
02:55
milardovich has joined #ruby
02:57
milardovich has quit [Client Quit]
02:57
djbkd has quit [Quit: My people need me...]
03:00
username has quit [Ping timeout: 260 seconds]
03:01
rubynoob has joined #ruby
03:01
etehtsea has quit [Ping timeout: 240 seconds]
03:01
rubynoob is now known as rubynoob900
03:02
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:02
brendan- has joined #ruby
03:03
jcao219 has quit [Ping timeout: 260 seconds]
03:04
SeepingN has quit [Quit: The system is going down for reboot NOW!]
03:06
<
eam >
rubynoob900: what kind of guidance are you looking for?
03:11
jcao219 has joined #ruby
03:12
hndk has quit [Quit: Leaving]
03:12
<
rubynoob900 >
eam: hey, I understand how to do this on the REPL, but not as a method with an argument passed
03:15
Trynemjoel has quit [Ping timeout: 245 seconds]
03:16
<
Jayson_Virissimo >
def stars(number)
03:17
<
Jayson_Virissimo >
puts '*' * number
03:17
<
Jayson_Virissimo >
end
03:17
Trynemjoel has joined #ruby
03:20
goretech has joined #ruby
03:21
etehtsea has joined #ruby
03:22
Trynemjoel has quit [Ping timeout: 264 seconds]
03:23
patarr has joined #ruby
03:23
shinnya has quit [Ping timeout: 260 seconds]
03:24
goretech has quit [Client Quit]
03:24
<
rubynoob900 >
Jayson_Virissimo: thanks Jayson, this helps
03:25
Trynemjoel has joined #ruby
03:25
<
Jayson_Virissimo >
I went ahead an answered your stack exchange question with a little more detail.
03:26
solocshaw has quit [Ping timeout: 246 seconds]
03:28
patarr has quit [Ping timeout: 260 seconds]
03:32
cfec0b8d has joined #ruby
03:33
Trynemjoel has quit [Ping timeout: 245 seconds]
03:33
Trynemjoel has joined #ruby
03:36
astrobunny has joined #ruby
03:43
StoneCypher has joined #ruby
03:44
baweaver is now known as baweaver_away
03:48
GodFather has quit [Quit: Ex-Chat]
03:48
StoneCypher has quit [Ping timeout: 260 seconds]
03:48
GodFather has joined #ruby
03:50
Asher has quit [Quit: Leaving.]
03:52
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:53
baweaver_away is now known as baweaver
03:55
mim1k has joined #ruby
03:55
GodFather has quit [Ping timeout: 260 seconds]
03:57
spicerack has joined #ruby
03:57
marcdel has quit [Ping timeout: 260 seconds]
03:59
mim1k has quit [Ping timeout: 240 seconds]
04:00
raspado has joined #ruby
04:03
cpruitt_ has joined #ruby
04:04
rubynoob900 has quit [Ping timeout: 260 seconds]
04:05
lupine_ has joined #ruby
04:05
cibs_ has joined #ruby
04:06
hahuang62 has joined #ruby
04:07
RobertBi_ has joined #ruby
04:08
gusrub has joined #ruby
04:08
nofxxxx has joined #ruby
04:09
akkad_ has joined #ruby
04:09
z3uS| has joined #ruby
04:09
AndBobsYourUncle has joined #ruby
04:10
Channel6 has quit [Quit: Leaving]
04:10
cibs has quit [*.net *.split]
04:10
RobertBirnie has quit [*.net *.split]
04:10
hahuang61 has quit [*.net *.split]
04:10
akkad has quit [*.net *.split]
04:10
lupine has quit [*.net *.split]
04:10
cpruitt has quit [*.net *.split]
04:10
nadir has quit [*.net *.split]
04:10
z3uS has quit [*.net *.split]
04:10
rt has quit [*.net *.split]
04:10
z3uS| is now known as z3uS
04:10
cpruitt_ is now known as cpruitt
04:10
akkad_ is now known as akkad
04:12
nofxxx has quit [Ping timeout: 268 seconds]
04:12
JeanCarloMachado has quit [Ping timeout: 256 seconds]
04:14
JeanCarloMachado has joined #ruby
04:16
AndBobsYourUncle has quit [Ping timeout: 268 seconds]
04:17
uncertainty has joined #ruby
04:18
nadir has joined #ruby
04:20
gusrub has quit [Remote host closed the connection]
04:26
xall has joined #ruby
04:27
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
04:28
Vile` has quit [Ping timeout: 256 seconds]
04:30
Jayson_Virissimo has quit []
04:33
jsilver has joined #ruby
04:33
yeticry_ has quit [Ping timeout: 246 seconds]
04:34
renchan has joined #ruby
04:34
<
jsilver >
i got some c-libraries i wanna attach to rails
04:34
<
jsilver >
they're not complicated
04:34
yeticry has joined #ruby
04:34
<
jsilver >
i don't think i need internal ruby features but maybe
04:34
<
jsilver >
how do i do this?
04:34
<
jsilver >
do i still have to use the Ruby C Api?
04:34
<
jsilver >
better to produce some kind of binary and call it with shell?
04:35
jsilver is now known as jsilver2
04:35
jsilver2 is now known as jsilver
04:39
_whitelogger has joined #ruby
04:39
bronson has quit [Remote host closed the connection]
04:42
Asher has joined #ruby
04:42
StoneCypher has joined #ruby
04:44
__Yiota has joined #ruby
04:45
moei has quit [Read error: Connection reset by peer]
04:45
jsilver has quit [Quit: Page closed]
04:45
Rodya_ has quit [Remote host closed the connection]
04:46
esObe_ has joined #ruby
04:46
moei has joined #ruby
04:47
StoneCypher has quit [Ping timeout: 260 seconds]
04:47
gusrub has joined #ruby
04:50
esObe_ has quit [Ping timeout: 246 seconds]
04:51
uncertainty has quit [Ping timeout: 240 seconds]
04:51
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:52
jcao219 has quit [Ping timeout: 240 seconds]
04:53
pulkit4tech has joined #ruby
04:54
mzo has quit [Ping timeout: 240 seconds]
04:59
whiteline has quit [Ping timeout: 264 seconds]
04:59
antgel has joined #ruby
05:01
jgt has joined #ruby
05:03
pahnin2 has joined #ruby
05:04
pahnin2 has quit [Client Quit]
05:07
hahuang62 has quit [Quit: WeeChat 1.7]
05:08
jcao219 has joined #ruby
05:09
gdonald has quit [Ping timeout: 264 seconds]
05:13
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:13
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:16
JoshS has joined #ruby
05:16
gdonald has joined #ruby
05:20
bjfish2 has quit [Quit: bjfish2]
05:22
anisha has joined #ruby
05:23
patarr has joined #ruby
05:29
patarr has quit [Ping timeout: 268 seconds]
05:30
pwnd_nsfw has quit [Ping timeout: 246 seconds]
05:31
ski7777 has quit [Remote host closed the connection]
05:31
pwnd_nsfw has joined #ruby
05:32
hahuang65 has quit [Quit: WeeChat 1.7]
05:33
Pumukel has joined #ruby
05:34
Pumukel has quit [Remote host closed the connection]
05:35
Coldblackice has quit [Read error: Connection reset by peer]
05:36
Coldblackice has joined #ruby
05:37
Pumukel has joined #ruby
05:37
loconator has joined #ruby
05:39
loconator has quit [Remote host closed the connection]
05:39
loconator has joined #ruby
05:40
cfec0b8d has quit [Ping timeout: 260 seconds]
05:42
loconator has quit [Client Quit]
05:42
loconator has joined #ruby
05:43
loconator has quit [Remote host closed the connection]
05:43
loconator has joined #ruby
05:43
loconator has quit [Client Quit]
05:43
loconator has joined #ruby
05:44
loconator has quit [Client Quit]
05:45
armyriad has quit [Quit: Leaving]
05:47
armyriad has joined #ruby
05:52
muelleme_ has joined #ruby
05:53
jenrzzz has quit [Ping timeout: 246 seconds]
05:55
mim1k has joined #ruby
05:58
skweek has quit [Ping timeout: 240 seconds]
05:59
z3uS has quit [Ping timeout: 268 seconds]
05:59
muelleme_ has quit [Ping timeout: 240 seconds]
06:00
mim1k has quit [Ping timeout: 260 seconds]
06:00
dlitvak has quit [Quit: Connection closed for inactivity]
06:01
bkxd has joined #ruby
06:02
rt has joined #ruby
06:05
z3uS has joined #ruby
06:05
aufi has joined #ruby
06:06
bkxd has quit [Ping timeout: 256 seconds]
06:06
raspado has quit [Remote host closed the connection]
06:08
antgel has quit [Ping timeout: 240 seconds]
06:08
vali has joined #ruby
06:08
Bock has joined #ruby
06:10
mazeinmaze_ has joined #ruby
06:10
vast has joined #ruby
06:13
JeanCarloMachado has quit [Ping timeout: 260 seconds]
06:13
phanindra has joined #ruby
06:14
uncertainty has joined #ruby
06:14
JeanCarloMachado has joined #ruby
06:15
d^sh has joined #ruby
06:19
vast has quit [Quit: Leaving]
06:20
Pumukel has quit [Remote host closed the connection]
06:21
SuperLag has quit [Ping timeout: 240 seconds]
06:21
Pumukel has joined #ruby
06:22
SuperLag has joined #ruby
06:22
last_staff has joined #ruby
06:23
maattdd has joined #ruby
06:23
whiteline has joined #ruby
06:25
maattdd_ has quit [Ping timeout: 240 seconds]
06:26
max_v has joined #ruby
06:26
gdonald has quit [Read error: Connection reset by peer]
06:27
gdonald has joined #ruby
06:27
jcao219 has quit [Ping timeout: 240 seconds]
06:29
jcao219 has joined #ruby
06:31
jameser has joined #ruby
06:35
conta has joined #ruby
06:38
cfec0b8d has joined #ruby
06:38
maattdd has quit [Read error: Connection reset by peer]
06:39
Arpanet69 has joined #ruby
06:40
bronson has joined #ruby
06:41
maattdd has joined #ruby
06:42
gigetoo has quit [Ping timeout: 260 seconds]
06:44
im314ous has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:44
bronson has quit [Ping timeout: 240 seconds]
06:46
skweek has joined #ruby
06:47
esObe_ has joined #ruby
06:47
cibs_ is now known as cibs
06:47
agent_white has quit [Ping timeout: 246 seconds]
06:49
gigetoo has joined #ruby
06:51
esObe_ has quit [Ping timeout: 260 seconds]
06:54
mim1k has joined #ruby
06:59
mim1k has quit [Ping timeout: 256 seconds]
07:01
gigetoo has quit [Read error: Connection reset by peer]
07:02
gigetoo has joined #ruby
07:02
bkxd has joined #ruby
07:07
bkxd has quit [Ping timeout: 240 seconds]
07:08
gigetoo has quit [Ping timeout: 256 seconds]
07:09
jgnagy has quit [Remote host closed the connection]
07:11
astrobunny has quit [Remote host closed the connection]
07:12
TomyWork has joined #ruby
07:13
jcao219 has quit [Ping timeout: 240 seconds]
07:14
gigetoo has joined #ruby
07:16
antgel has joined #ruby
07:16
jcao219 has joined #ruby
07:19
gigetoo_ has joined #ruby
07:20
gigetoo has quit [Ping timeout: 260 seconds]
07:22
igniting has quit [Ping timeout: 240 seconds]
07:24
astrobunny has joined #ruby
07:24
patarr has joined #ruby
07:28
mark_66 has joined #ruby
07:28
amclain has quit [Quit: Leaving]
07:28
dionysus69 has joined #ruby
07:28
JeanCarloMachado has quit [Ping timeout: 260 seconds]
07:29
esObe_ has joined #ruby
07:29
patarr has quit [Ping timeout: 246 seconds]
07:30
nlhdqc has joined #ruby
07:30
JeanCarloMachado has joined #ruby
07:30
pulkit4tech has quit [Quit: Connection closed for inactivity]
07:31
nlhdqc has quit [Remote host closed the connection]
07:31
anisha has quit [Quit: This computer has gone to sleep]
07:31
aganov has joined #ruby
07:32
flying has joined #ruby
07:40
bronson has joined #ruby
07:41
govg has quit [Ping timeout: 264 seconds]
07:42
jcao219 has quit [Ping timeout: 240 seconds]
07:45
bronson has quit [Ping timeout: 260 seconds]
07:48
zun has joined #ruby
07:50
gnufied has quit [Ping timeout: 246 seconds]
07:51
anisha has joined #ruby
07:52
rgtk has joined #ruby
07:52
Burgestrand has joined #ruby
07:56
agent_white has joined #ruby
07:56
biberu has joined #ruby
07:56
govg has joined #ruby
07:56
mim1k has joined #ruby
07:57
phanindra has left #ruby ["Good Bye"]
07:58
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:59
Silthias has joined #ruby
08:00
hurricanehrndz has quit [Quit: Goodbye]
08:00
lenwood has joined #ruby
08:01
Silthias2 has joined #ruby
08:02
hurricanehrndz has joined #ruby
08:02
Silthias1 has quit [Ping timeout: 240 seconds]
08:02
jsrn_ has joined #ruby
08:02
jcao219 has joined #ruby
08:03
igniting has joined #ruby
08:04
Silthias has quit [Ping timeout: 260 seconds]
08:05
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PONG :weber.freenode.net"]
08:06
minimalism has quit [Quit: minimalism]
08:09
mazeinmaze_ has quit [Ping timeout: 240 seconds]
08:10
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
08:12
phanindra has joined #ruby
08:13
BSAlb has joined #ruby
08:15
BSaboia has quit [Ping timeout: 240 seconds]
08:16
blackmesa has joined #ruby
08:17
marr has joined #ruby
08:18
bkxd has joined #ruby
08:23
bkxd has quit [Ping timeout: 260 seconds]
08:24
jcao219 has quit [Ping timeout: 260 seconds]
08:26
phanindra has left #ruby ["Good Bye"]
08:27
govg has quit [Ping timeout: 260 seconds]
08:27
govg has joined #ruby
08:28
enterprisey has quit [Remote host closed the connection]
08:29
manjaro-kde5 has joined #ruby
08:30
Beams has joined #ruby
08:30
DaveTaboola has joined #ruby
08:31
jaequery has joined #ruby
08:32
jcao219 has joined #ruby
08:33
lenwood has quit [Ping timeout: 264 seconds]
08:34
ddffg has joined #ruby
08:35
gnufied has joined #ruby
08:35
unshadow has joined #ruby
08:36
unshadow_ has joined #ruby
08:36
unshadow_ has quit [Client Quit]
08:36
unshadow_ has joined #ruby
08:36
nowhereman has quit [Ping timeout: 260 seconds]
08:37
moei has quit [Read error: Connection reset by peer]
08:38
unshadow has quit [Disconnected by services]
08:38
moei has joined #ruby
08:38
unshadow_ has quit [Client Quit]
08:38
unshadow has joined #ruby
08:38
mim1k has quit [Ping timeout: 240 seconds]
08:40
DaveTaboola has quit [Ping timeout: 246 seconds]
08:41
bronson has joined #ruby
08:41
DaniG2k has joined #ruby
08:44
jaruga has joined #ruby
08:45
xall has quit [Ping timeout: 240 seconds]
08:45
mim1k has joined #ruby
08:45
solars has joined #ruby
08:46
<
solars >
quick question: wasn't there a shortcut to assign arguments of initialize to instance vars/accessors?
08:46
bronson has quit [Ping timeout: 240 seconds]
08:48
danieeeel has joined #ruby
08:50
jcao219 has quit [Ping timeout: 260 seconds]
08:51
kassav_ has joined #ruby
08:53
aryaching_ has joined #ruby
08:54
aep has joined #ruby
08:54
Mortomes|Work has joined #ruby
08:55
aryaching has quit [Ping timeout: 264 seconds]
08:56
jaruga has quit [Quit: jaruga]
08:56
aryaching_ has quit [Remote host closed the connection]
08:57
aryaching has joined #ruby
08:57
max__v has joined #ruby
08:57
max_v has left #ruby ["Saliendo"]
08:58
max__v has quit [Read error: Connection reset by peer]
08:59
gnufied has quit [Ping timeout: 246 seconds]
09:00
<
Mon_Ouie >
No, it has often been discussed though (e.g. to allow def initialize(@foo); end)
09:00
DaniG2k has quit [Quit: leaving]
09:01
bronson has joined #ruby
09:01
govg has quit [Ping timeout: 240 seconds]
09:01
aryaching has quit [Remote host closed the connection]
09:01
workmad3 has joined #ruby
09:01
toretore has joined #ruby
09:02
etehtsea has joined #ruby
09:02
danieeeel has quit [Quit: Page closed]
09:03
Qchmqs has joined #ruby
09:03
xall has joined #ruby
09:03
aryaching has joined #ruby
09:03
tris has quit [Ping timeout: 246 seconds]
09:04
_2easy has joined #ruby
09:04
_2easy has joined #ruby
09:04
_2easy has quit [Changing host]
09:04
jameser has quit [Ping timeout: 268 seconds]
09:06
bronson has quit [Ping timeout: 260 seconds]
09:07
nebiros has quit [Ping timeout: 246 seconds]
09:07
synbit has joined #ruby
09:08
astrobunny has quit [Remote host closed the connection]
09:09
<
Burgestrand >
Mon_Ouie happy to see you're still around :)
09:09
astrobunny has joined #ruby
09:10
jaruga has joined #ruby
09:10
nowhereman has joined #ruby
09:10
al2o3-cr has quit [Quit: WeeChat 1.7]
09:10
jaruga has left #ruby [#ruby]
09:10
jgnagy has joined #ruby
09:11
jameser has joined #ruby
09:11
JeanCarloMachado has quit [Ping timeout: 260 seconds]
09:12
jaruga has joined #ruby
09:12
_sfiguser has quit [Ping timeout: 260 seconds]
09:12
naftilos76 has joined #ruby
09:14
lxsameer has joined #ruby
09:15
jgnagy has quit [Ping timeout: 240 seconds]
09:21
Qchmqs has quit [Quit: Konversation terminated!]
09:23
Qchmqs has joined #ruby
09:24
_sfiguser has joined #ruby
09:25
nebiros has joined #ruby
09:25
nebiros is now known as Guest31335
09:25
patarr has joined #ruby
09:25
astrobunny has quit [Remote host closed the connection]
09:26
xenops has joined #ruby
09:26
tris has joined #ruby
09:26
unshadow has quit [Quit: leaving]
09:27
yottanami has joined #ruby
09:28
<
yottanami >
is any method to calculate percentage in Ruby?
09:28
<
zun >
I am looking for some tutorials for pentesting with ruby, I only found for python, can someone help me out?
09:28
ta_ has quit [Remote host closed the connection]
09:28
aganov has quit [Quit: Leaving]
09:29
anekos has quit [Ping timeout: 240 seconds]
09:30
patarr has quit [Ping timeout: 260 seconds]
09:31
<
mnemon >
zun: what would "pentesting with ruby" entail?
09:31
anekos has joined #ruby
09:32
<
mnemon >
there's bunch of tutorials for working with metasploit(using ruby for modules etc.)
09:32
<
zun >
socketing, tcp scans, linux applications related to networking, advanced webscrapping
09:32
anisha has quit [Ping timeout: 240 seconds]
09:32
polysics has joined #ruby
09:34
naftilos76 has quit [Quit: Αποχώρησε]
09:34
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:37
kassav_ has quit [Quit: kassav_]
09:37
kassav__ has joined #ruby
09:37
<
mnemon >
never seen anything focused on those but if you understand the concepts, reading up on ruby networking/http libs should be enough.
09:37
<
mnemon >
*enough to get you started.
09:38
<
canton7 >
yottanami, ruby has multiplication and division. What else do you need?
09:41
<
yottanami >
canton7, lazy way :D
09:41
<
canton7 >
yottanami, I've still no idea what you're asking for, I'm afraid
09:42
<
canton7 >
there are loads of ways to calculate percentages, depending on what you're after
09:44
anisha has joined #ruby
09:45
Qchmqs has quit [Ping timeout: 256 seconds]
09:46
jameser has quit [Ping timeout: 256 seconds]
09:46
tvw has joined #ruby
09:49
<
solars >
Mon_Ouie: sorry for the late reply, thanks!
09:54
kitikonti has joined #ruby
09:55
tlaxkit has joined #ruby
09:57
jenrzzz has joined #ruby
09:57
jenrzzz has joined #ruby
09:57
jenrzzz has quit [Changing host]
10:01
griff has joined #ruby
10:02
jeyraof^mbpr has quit [Quit: This computer has gone to sleep]
10:06
griff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:07
uncertainty has quit [Ping timeout: 260 seconds]
10:07
solars has quit [Quit: Page closed]
10:07
griff has joined #ruby
10:08
manjaro-kde5 has quit [Ping timeout: 240 seconds]
10:09
ta_ has joined #ruby
10:10
jenrzzz has quit [Ping timeout: 246 seconds]
10:11
aryaching has quit [Remote host closed the connection]
10:11
aryaching has joined #ruby
10:12
pandaant has joined #ruby
10:12
username has joined #ruby
10:14
mikecmpbll has joined #ruby
10:17
username has quit [Ping timeout: 260 seconds]
10:18
aryaching_ has joined #ruby
10:18
bkxd has joined #ruby
10:19
aryaching has quit [Remote host closed the connection]
10:19
JeanCarloMachado has joined #ruby
10:20
griff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:22
mim1k has quit [Ping timeout: 260 seconds]
10:23
bkxd has quit [Ping timeout: 240 seconds]
10:24
mim1k has joined #ruby
10:24
kitikonti has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
10:25
jusa has joined #ruby
10:26
pandaant has quit [Remote host closed the connection]
10:28
hutch34_ has quit [Ping timeout: 240 seconds]
10:29
JeanCarloMachado has quit [Ping timeout: 260 seconds]
10:30
charliesome has joined #ruby
10:32
mim1k_ has joined #ruby
10:33
mim1k has quit [Ping timeout: 246 seconds]
10:34
binaryplease has joined #ruby
10:36
mim1k_ is now known as mim1k
10:39
boz_ has joined #ruby
10:41
agent_white has quit [Quit: agent_white]
10:42
sepp2k has joined #ruby
10:42
etehtsea has quit [Ping timeout: 240 seconds]
10:42
Bish has joined #ruby
10:43
<
Bish >
how does one detect if a string isn't correct utf8?
10:43
* Bish
sends data to postgres, postgres transactions dies becaus @user has not sent valid utf8
10:43
* Bish
catches the transaction, but postgres does not want me to continue it
10:44
hutch34_ has joined #ruby
10:44
<
Bish >
so how do i know if a string is valid utf8
10:44
s1kx has quit [Ping timeout: 240 seconds]
10:45
DARPA has joined #ruby
10:48
<
Mon_Ouie >
>> "\xF3".force_encoding("utf-8").valid_encoding?
10:48
jaruga has quit [Quit: jaruga]
10:48
Arpanet69 has quit [Ping timeout: 260 seconds]
10:48
<
Bish >
v.detect_encoding! if v.is_a?(String) && !v.valid_encoding?
10:48
<
Bish >
i tried this right now
10:49
<
Bish >
while .detect_encoding! is form the charlock_holmes gem
10:49
<
Bish >
should that work?
10:49
Arpanet69 has joined #ruby
10:50
DARPA has quit [Ping timeout: 246 seconds]
10:50
<
Bish >
because it doesn't
10:50
millerti has joined #ruby
10:50
<
Mon_Ouie >
Hard to say from just that. I'm not sure what the method does, whether or not it even makes sense for v to not be a string here, and whether the rest of the code can handle strings that aren't in UTF-8.
10:52
mim1k_ has joined #ruby
10:52
leaftor has joined #ruby
10:53
leaftor has left #ruby [#ruby]
10:54
<
Bish >
but .valid_encoding? should always be perfect?
10:54
<
Bish >
because even if i ignore strings where .valid_encoding? is falce, it still breaks
10:54
erlend has quit [Ping timeout: 240 seconds]
10:54
cfec0b8d has quit [Remote host closed the connection]
10:54
mim1k has quit [Ping timeout: 264 seconds]
10:55
<
Bish >
>> "�zdemir".valid_encoding?
10:55
<
Bish >
this is the case that f* me over
10:56
<
Bish >
well i guess i copied a utf8 representation
10:57
<
Mon_Ouie >
What's string.bytes? I can't tell what the string is from what you pasted
10:58
Fernando-Basso has joined #ruby
10:58
<
Bish >
getting that right now
10:59
<
Bish >
[214, 122, 100, 101, 109, 105, 114]
11:00
<
Bish >
well, that gives me valid_encoding? => false
11:01
s1kx has joined #ruby
11:01
s1kx has quit [Max SendQ exceeded]
11:01
s1kx has joined #ruby
11:02
bronson has joined #ruby
11:07
bronson has quit [Ping timeout: 260 seconds]
11:08
ctompkinson has joined #ruby
11:09
jamesaxl has joined #ruby
11:09
anisha has quit [Ping timeout: 246 seconds]
11:12
last_staff has quit [Quit: last_staff]
11:12
last_staff has joined #ruby
11:13
uncertainty has joined #ruby
11:17
uncertainty has quit [Read error: Connection reset by peer]
11:17
Sweetlie has quit [Quit: Lost terminal]
11:18
anisha has joined #ruby
11:22
xall has quit [Ping timeout: 240 seconds]
11:25
mim1k_ is now known as mim1k
11:25
Fernando-Basso has quit [Quit: WeeChat 1.7]
11:32
sheperson has joined #ruby
11:33
binaryplease has quit [Quit: binaryplease]
11:36
griff has joined #ruby
11:36
griff has quit [Client Quit]
11:39
ctompkinson has quit [Ping timeout: 246 seconds]
11:39
mim1k has left #ruby [#ruby]
11:39
mim1k has joined #ruby
11:43
ledestin has joined #ruby
11:44
JeanCarloMachado has joined #ruby
11:44
griff has joined #ruby
11:45
griff has quit [Client Quit]
11:45
HoierM has joined #ruby
11:51
Hekata has joined #ruby
11:53
blackmesa has quit [Ping timeout: 240 seconds]
11:54
duckpupp1 has joined #ruby
11:58
mark_66 has joined #ruby
12:01
<
Bish >
how do i check for a certain encoding
12:01
<
Bish >
>> "".encoding == 'UTF-8'
12:01
<
Bish >
doesn't seem to do the trick
12:02
<
ddffg >
Who has been pissing off so many messages
12:03
bronson has joined #ruby
12:03
<
Bish >
>> "it's me ddffg"
12:04
<
ddffg >
You are from the region with a soapy amount of iodine?
12:05
ski7777 has joined #ruby
12:05
boz_ has quit [Quit: This computer has gone to sleep]
12:05
blackmesa has joined #ruby
12:07
rgtk has quit [Ping timeout: 260 seconds]
12:07
Mortomes|Work has quit [Ping timeout: 260 seconds]
12:08
bronson has quit [Ping timeout: 260 seconds]
12:08
rgtk has joined #ruby
12:08
<
matthewd >
>> "".encoding == Encoding::UTF_8
12:10
nishiki has joined #ruby
12:12
<
Burgestrand >
Just because a string happens to have a valid encoding doesn't mean it makes sense in that encoding
12:12
<
Burgestrand >
Keep that in mind Bish
12:13
rwb has quit [Ping timeout: 268 seconds]
12:14
rgtk has quit [Ping timeout: 260 seconds]
12:19
bkxd has joined #ruby
12:23
yurikoles has joined #ruby
12:24
bkxd has quit [Ping timeout: 240 seconds]
12:24
last_staff has quit [Quit: *slams door*]
12:24
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:27
ctompkinson has joined #ruby
12:29
jeffreylevesque has quit [Ping timeout: 260 seconds]
12:30
jgnagy has joined #ruby
12:32
<
Bish >
Burgestrand: well, as long as it doesn't break my database transaction im fine
12:32
<
Bish >
Burgestrand: how do people handle this problem?
12:33
bkxd has joined #ruby
12:33
<
Burgestrand >
Bish it depends a bit on context, typically you try to have the source text encoding known at all times, passing it along together with the text
12:34
<
Burgestrand >
Bish not always so easy, especially if you're dealing with software where the text encoding isn't known, once you're in that situation all bets are off and the text you're managing might end up making no sense at all
12:35
<
Burgestrand >
Bish just like in human language, if I give you the word "gift" but not which language I'm referring to, to me it might mean "poison" (swedish) but to you it might mean a present (english)
12:36
aupadhye has joined #ruby
12:36
<
Burgestrand >
(then again, in swedish the word "gift" could be either "poison" or "married", so even within the same language it's not so simple :))
12:38
nertzy has joined #ruby
12:39
<
adaedra >
»Die« has the wrong consonant/vowel ratio to be a real german word :p
12:40
aupadhye has quit [Ping timeout: 240 seconds]
12:42
Silthias2 has quit [Ping timeout: 260 seconds]
12:45
Guest96 has quit [Remote host closed the connection]
12:46
Silthias has joined #ruby
12:48
blackmesa has quit [Ping timeout: 240 seconds]
12:48
Guest96 has joined #ruby
12:49
jeffreylevesque has joined #ruby
12:52
polysics has quit []
12:53
manjaro-kde5 has joined #ruby
12:53
RobertBi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
12:53
aupadhye has joined #ruby
12:55
tvw has quit [Read error: Connection reset by peer]
12:55
oded has quit [Quit: Konversation terminated!]
12:55
Silthias1 has joined #ruby
12:56
Silthias2 has joined #ruby
12:56
tvw has joined #ruby
12:56
brooksy4503 has joined #ruby
12:57
nitrix has joined #ruby
12:57
kernelPaniq has quit [Ping timeout: 264 seconds]
12:58
Silthias has quit [Ping timeout: 240 seconds]
12:58
tvw has quit [Read error: Connection reset by peer]
12:58
electrostat has quit [Quit: uwotm8]
12:58
yurikoles has quit [Ping timeout: 246 seconds]
12:58
electrostat has joined #ruby
12:59
Silthias1 has quit [Ping timeout: 246 seconds]
12:59
brooksy4503 has quit [Client Quit]
13:02
t-recx has joined #ruby
13:04
garthscaysbrook has joined #ruby
13:04
bronson has joined #ruby
13:06
garthscaysbrook has left #ruby [#ruby]
13:06
fmcgeough has joined #ruby
13:08
bronson has quit [Ping timeout: 260 seconds]
13:10
nitrix has quit [Ping timeout: 256 seconds]
13:10
bjfish2 has joined #ruby
13:16
yottanami has quit [Remote host closed the connection]
13:16
slima has left #ruby [#ruby]
13:16
blackwind_123 has joined #ruby
13:20
vali has quit [Quit: vali]
13:21
jgnagy has quit [Remote host closed the connection]
13:21
jgnagy has joined #ruby
13:26
FilipeChagas has joined #ruby
13:26
jgnagy has quit [Ping timeout: 246 seconds]
13:26
millerti has joined #ruby
13:29
FilipeChagas has quit [Client Quit]
13:29
anisha has quit [Quit: This computer has gone to sleep]
13:30
naprimer has quit [Ping timeout: 268 seconds]
13:30
erlend has joined #ruby
13:31
blackmesa has joined #ruby
13:31
rwb has joined #ruby
13:31
DLSteve has joined #ruby
13:32
naprimer has joined #ruby
13:38
Fernando-Basso has joined #ruby
13:43
Arpanet69 has quit [Ping timeout: 240 seconds]
13:47
bkxd has quit [Ping timeout: 240 seconds]
13:47
jxupte has joined #ruby
13:47
knight33 has joined #ruby
13:48
Guest31335 is now known as nebiros
13:48
nebiros has quit [Changing host]
13:48
nebiros has joined #ruby
13:48
nebiros has joined #ruby
13:49
shinnya has joined #ruby
13:49
__Yiota has joined #ruby
13:49
griff has joined #ruby
13:52
patarr has joined #ruby
13:56
Arpanet69 has joined #ruby
13:56
yehowyada has joined #ruby
14:01
kitikonti has joined #ruby
14:02
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:04
ziprar has quit [Ping timeout: 256 seconds]
14:04
ta_ has quit [Remote host closed the connection]
14:04
bronson has joined #ruby
14:05
jusa has quit [Ping timeout: 240 seconds]
14:06
dgs_ has joined #ruby
14:06
darthvorik has quit [Ping timeout: 255 seconds]
14:06
dgs has quit [Ping timeout: 255 seconds]
14:06
darthvorik_ has joined #ruby
14:06
Morrolan has quit [Ping timeout: 255 seconds]
14:06
Morrolan_ has joined #ruby
14:08
rkeene_ has joined #ruby
14:08
nrk has joined #ruby
14:08
JoL1hAHN has quit [Ping timeout: 255 seconds]
14:08
rkeene has quit [Ping timeout: 255 seconds]
14:08
Mon_Ouie has quit [Read error: No route to host]
14:09
jxupte has quit [Remote host closed the connection]
14:10
bronson has quit [Ping timeout: 260 seconds]
14:10
swgillespie_ has joined #ruby
14:10
rgtk has joined #ruby
14:11
clamstar has quit [Ping timeout: 255 seconds]
14:11
swgillespie has quit [Ping timeout: 255 seconds]
14:11
seggy has quit [Ping timeout: 255 seconds]
14:11
Diabolik has quit [Ping timeout: 255 seconds]
14:11
swgillespie_ is now known as swgillespie
14:11
andersh has quit [Ping timeout: 255 seconds]
14:11
sent-hil has quit [Ping timeout: 255 seconds]
14:12
Diabolik has joined #ruby
14:12
sent-hil has joined #ruby
14:12
jdelStro1her has quit [Ping timeout: 255 seconds]
14:12
bestie has quit [Ping timeout: 255 seconds]
14:12
bestie has joined #ruby
14:12
zenspider[m] has quit [Ping timeout: 255 seconds]
14:12
manjaro-kde5 has quit [Ping timeout: 260 seconds]
14:13
zenspider[m] has joined #ruby
14:13
zack6849 has quit [Ping timeout: 255 seconds]
14:13
Caius has quit [Ping timeout: 255 seconds]
14:13
CustosLimen has quit [Excess Flood]
14:13
CustosLim3n has joined #ruby
14:13
fergal has joined #ruby
14:14
radic has joined #ruby
14:14
poikon has quit [Ping timeout: 255 seconds]
14:14
radic_ has quit [Ping timeout: 255 seconds]
14:14
[diecast] has quit [Ping timeout: 255 seconds]
14:14
soahccc has quit [Ping timeout: 255 seconds]
14:14
Caius has joined #ruby
14:14
lancetw has quit [Ping timeout: 255 seconds]
14:14
ResidentBiscuit has joined #ruby
14:15
contradictioned_ has joined #ruby
14:15
HashNuke has quit [Ping timeout: 255 seconds]
14:15
contradictioned has quit [Ping timeout: 255 seconds]
14:15
andersh has joined #ruby
14:15
soahccc has joined #ruby
14:16
voker57 has quit [Ping timeout: 255 seconds]
14:16
jmhmccr has quit [Ping timeout: 255 seconds]
14:16
justizin has quit [Ping timeout: 255 seconds]
14:16
lancetw has joined #ruby
14:16
poikon has joined #ruby
14:16
voker57 has joined #ruby
14:16
voker57 has joined #ruby
14:16
voker57 has quit [Changing host]
14:16
ohcibi has quit [Read error: Connection reset by peer]
14:16
[diecast] has joined #ruby
14:16
zun has quit [Quit: Connection closed for inactivity]
14:16
zack6849 has joined #ruby
14:16
zack6849 has joined #ruby
14:16
zack6849 has quit [Changing host]
14:16
HashNuke has joined #ruby
14:17
jmhmccr has joined #ruby
14:17
Mon_Ouie has joined #ruby
14:18
rgr has joined #ruby
14:18
millerti has joined #ruby
14:19
naprimer has quit [Ping timeout: 260 seconds]
14:19
clamstar has joined #ruby
14:20
griff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:21
Rodya_ has joined #ruby
14:22
cschnei__ has joined #ruby
14:23
mim1k has quit [Ping timeout: 246 seconds]
14:23
chouhoulis has quit [Remote host closed the connection]
14:24
chouhoulis has joined #ruby
14:24
axyjo has joined #ruby
14:24
cschneid_ has quit [Ping timeout: 246 seconds]
14:24
dlitvak has joined #ruby
14:26
agent_white has joined #ruby
14:26
mark_661 has joined #ruby
14:26
mark_66 has quit [Read error: Connection reset by peer]
14:27
ohcibi has joined #ruby
14:27
naprimer has joined #ruby
14:28
igniting has quit [Ping timeout: 268 seconds]
14:29
<
agent_white >
Mornin' folks
14:29
govg has joined #ruby
14:30
cschnei__ has quit [Remote host closed the connection]
14:30
mephistophocles has joined #ruby
14:30
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:31
sheperson has quit [Quit: sheperson]
14:32
narval has joined #ruby
14:33
chouhoul_ has joined #ruby
14:35
etehtsea has joined #ruby
14:35
chouhoul_ has quit [Remote host closed the connection]
14:36
chouhoulis has quit [Ping timeout: 240 seconds]
14:36
chouhoulis has joined #ruby
14:38
mikecmpbll has quit [Read error: Connection reset by peer]
14:38
boz_ has joined #ruby
14:38
mikecmpb_ has joined #ruby
14:42
mim1k has joined #ruby
14:43
mikecmpbll has joined #ruby
14:43
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:45
CloCkWeRX has quit [Remote host closed the connection]
14:45
mikecmpb_ has quit [Ping timeout: 264 seconds]
14:48
raspado has joined #ruby
14:49
solocshaw has joined #ruby
14:51
blackmesa has quit [Ping timeout: 260 seconds]
14:51
solocshaw has quit [Client Quit]
14:52
solocshaw has joined #ruby
14:53
rippa has joined #ruby
14:55
vondruch has quit [Ping timeout: 246 seconds]
14:55
Burgestrand has quit [Quit: Closing time!]
14:55
mark_661 has quit [Remote host closed the connection]
14:57
gsilva has joined #ruby
14:57
ldnunes has joined #ruby
14:57
skweek has quit [Ping timeout: 260 seconds]
14:58
LuckyABA has joined #ruby
14:59
etehtsea has quit [Ping timeout: 240 seconds]
15:01
etehtsea has joined #ruby
15:05
etehtsea has quit [Client Quit]
15:05
etehtsea has joined #ruby
15:06
skweek has joined #ruby
15:08
solocshaw has quit [Ping timeout: 246 seconds]
15:15
mikecmpbll has quit [Ping timeout: 240 seconds]
15:15
mikecmpb_ has joined #ruby
15:15
User458764 has joined #ruby
15:17
VladGh has quit [Remote host closed the connection]
15:17
cschneid_ has joined #ruby
15:18
VladGh has joined #ruby
15:20
shinnya has quit [Ping timeout: 268 seconds]
15:20
mikecmpb_ has quit [Ping timeout: 264 seconds]
15:21
mikecmpbll has joined #ruby
15:21
armando1 has joined #ruby
15:22
cdg has joined #ruby
15:22
antgel has quit [Ping timeout: 240 seconds]
15:22
blackwind_123 has quit [Read error: Connection reset by peer]
15:23
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:24
blackwind_123 has joined #ruby
15:25
blackmesa has joined #ruby
15:26
mikecmpbll has quit [Ping timeout: 240 seconds]
15:26
rgr has quit [Ping timeout: 260 seconds]
15:27
mikecmpb_ has joined #ruby
15:30
pupsicle has quit [Remote host closed the connection]
15:31
fergal has quit [Quit: fergal]
15:31
dionysus69 has quit [Ping timeout: 268 seconds]
15:31
mordof has joined #ruby
15:31
conta has quit [Ping timeout: 260 seconds]
15:32
VladGh has quit [Remote host closed the connection]
15:33
VladGh has joined #ruby
15:36
Nvm has joined #ruby
15:36
<
adaedra >
!spam Nvm
15:36
jlebrech has joined #ruby
15:37
igniting has joined #ruby
15:37
<
jlebrech >
It would be nice if a benchmarking gem could just add a comment above it call in the code with the times.
15:38
Nvm has quit [Client Quit]
15:40
<
adaedra >
You could print that time in your benchmarked code
15:43
jgnagy has joined #ruby
15:43
[Butch] has joined #ruby
15:45
bkxd has joined #ruby
15:46
aufi has quit [Quit: Leaving]
15:49
bkxd has quit [Ping timeout: 240 seconds]
15:50
<
jlebrech >
adaedra: i'm trying out a helper for benchmarking, that yields the benchmarked method instead of declaring the output outside of the block
15:51
username_ has joined #ruby
15:53
millerti has joined #ruby
15:54
antgel has joined #ruby
15:54
shakes has joined #ruby
15:56
ovidnis has joined #ruby
15:56
Suslov has joined #ruby
15:57
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:59
LuckyABA has joined #ruby
15:59
amclain has joined #ruby
16:00
bkxd has joined #ruby
16:00
amclain has quit [Client Quit]
16:00
amclain has joined #ruby
16:01
gusrub has joined #ruby
16:01
kitikonti has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
16:01
jusa has joined #ruby
16:01
antgel has quit [Ping timeout: 240 seconds]
16:02
kitikonti has joined #ruby
16:03
bkxd has quit [Client Quit]
16:03
shakes has quit [Quit: Leaving]
16:04
RobertBirnie has joined #ruby
16:06
jusa has quit [Ping timeout: 246 seconds]
16:06
bronson has joined #ruby
16:06
tlaxkit has quit [Quit: tlaxkit]
16:06
jsrn_ has quit [Quit: Leaving]
16:07
bronson has quit [Client Quit]
16:07
Butt-Plugh has joined #ruby
16:07
<
Butt-Plugh >
people still use Ruby??
16:08
<
havenwood >
Butt-Plugh: Please don't troll.
16:09
<
Butt-Plugh >
how did you guys spot me so soon?
16:09
<
havenwood >
jlebrech: I do like the benchmark-ips gem. Good stuff.
16:12
dionysus69 has joined #ruby
16:13
<
Butt-Plugh >
Ruby on Rails
16:14
<
havenwood >
?rails Butt-Plugh
16:14
<
ruby[bot] >
Butt-Plugh: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
16:14
dviola has joined #ruby
16:14
justizin has joined #ruby
16:15
dviola has quit [Changing host]
16:15
dviola has joined #ruby
16:15
<
allisio >
Why not insta-kick people like this? What're the chances he's going to contribute anything positive to the environment?
16:16
<
Butt-Plugh >
c'mon allisio
16:16
<
Butt-Plugh >
just a bit of humor guys
16:16
<
Butt-Plugh >
let's be social
16:16
blackwind_123 has quit [Ping timeout: 240 seconds]
16:16
skweek has quit [Ping timeout: 264 seconds]
16:17
ddffg has quit [Ping timeout: 260 seconds]
16:17
<
mordof >
Butt-Plugh: maybe.. but here's the deal: when you enter a room and say something like that - you immediately put yourself in the negative as far as people wanting to communicate amicably with you. if you want to be social with people, you probably shouldn't intro with things like that anymore
16:17
<
Butt-Plugh >
my social skills aren't the best
16:18
<
mordof >
it's equivalent to trying to make a new friend by being slightly racist to them upon opening introductions
16:18
<
mordof >
it just puts a bad taste in everyones mouth
16:18
<
mordof >
maybe not equivalent, but similar in the resulting sense
16:18
dar123 has joined #ruby
16:18
Pumukel has quit [Remote host closed the connection]
16:18
<
Butt-Plugh >
can we be friends please
16:19
blackwind_123 has joined #ruby
16:19
<
apeiros >
mordof: you forgot "while being dressed like a sextoy"
16:19
<
apeiros >
Butt-Plugh: got any ruby related questions? because I'm -->||<-- this close to kick you
16:19
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
16:19
<
adaedra >
Either you're an obvious troll and we hope not having to show you the exit, either you're not and you act as such
16:19
<
baweaver >
who's going to blink first I wonder
16:20
<
Butt-Plugh >
apeiros i just want to learn and make friends with techy sorts of people
16:20
<
baweaver >
Then learn ruby
16:20
* mordof
endorses learning ruby
16:20
jlebrech has quit [Remote host closed the connection]
16:21
<
havenwood >
The #friendly-coders channel is more of a general purpose channel. Ruby here.
16:21
<
Butt-Plugh >
thank you
16:21
<
baweaver >
it's more fun than getting arbitrarily banned from every irc channel, and far more productive.
16:22
go|dfish has quit [Ping timeout: 240 seconds]
16:23
nitric has joined #ruby
16:24
esObe_ has quit [Remote host closed the connection]
16:25
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:27
Butt-Plugh has quit [Quit: Page closed]
16:29
johnzorn has quit [Read error: Connection reset by peer]
16:30
Beams has quit [Quit: .]
16:30
mim1k has quit [Ping timeout: 260 seconds]
16:30
johnzorn has joined #ruby
16:34
mikecmpb_ has quit [Quit: inabit. zz.]
16:35
gsilva has quit [Ping timeout: 246 seconds]
16:35
oliv_____ has joined #ruby
16:35
rakm has joined #ruby
16:36
shoutsid has joined #ruby
16:36
kassav__ has quit [Quit: kassav__]
16:37
synbit has quit [Ping timeout: 240 seconds]
16:38
ctompkinson has quit [Ping timeout: 264 seconds]
16:40
nanoz has joined #ruby
16:40
nanoz has joined #ruby
16:40
nanoz has quit [Changing host]
16:42
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:43
levifig has quit [Read error: Connection reset by peer]
16:44
rkeene_ is now known as rkeene
16:44
levifig has joined #ruby
16:45
pupsicle has joined #ruby
16:45
im314ous has joined #ruby
16:45
nowhereman has quit [Ping timeout: 240 seconds]
16:46
outreachdan has joined #ruby
16:46
TomyWork has quit [Ping timeout: 240 seconds]
16:47
_sfiguser has quit [Ping timeout: 260 seconds]
16:47
LuckyABA has joined #ruby
16:50
chouhoulis has quit [Remote host closed the connection]
16:50
oliv_____ has quit [Quit: Leaving...]
16:51
etehtsea has quit [Ping timeout: 240 seconds]
16:54
marcdel has joined #ruby
16:54
jaequery has joined #ruby
16:57
esObe_ has joined #ruby
17:00
_sfiguser has joined #ruby
17:01
kitikonti has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
17:02
duckpupp1 has quit [Ping timeout: 240 seconds]
17:03
nanoz has quit [Read error: Connection reset by peer]
17:03
levifig has quit [Ping timeout: 240 seconds]
17:04
dionysus69 has quit [Ping timeout: 268 seconds]
17:04
jcao219 has joined #ruby
17:05
griff__ has joined #ruby
17:05
Rodya_ has quit [Remote host closed the connection]
17:06
levifig has joined #ruby
17:08
gusrub has quit [Remote host closed the connection]
17:09
gusrub has joined #ruby
17:11
mikecmpbll has joined #ruby
17:12
pupsicle has quit [Remote host closed the connection]
17:13
griff__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:13
nowhereman has joined #ruby
17:13
TomyLobo has joined #ruby
17:13
gusrub has quit [Ping timeout: 256 seconds]
17:14
lxsameer has quit [Quit: WeeChat 1.5]
17:15
marcdel has quit [Ping timeout: 260 seconds]
17:15
_sfiguser has quit [Ping timeout: 260 seconds]
17:16
djbkd has joined #ruby
17:18
pupsicle has joined #ruby
17:19
solocshaw has joined #ruby
17:19
xcouop has joined #ruby
17:20
phoo1234567 has joined #ruby
17:20
go|dfish has joined #ruby
17:21
djbkd has quit [Client Quit]
17:21
cfec0b8d has joined #ruby
17:22
dviola has quit [Ping timeout: 246 seconds]
17:23
dviola has joined #ruby
17:23
shoutsid has quit [Ping timeout: 260 seconds]
17:24
Suslov has quit [Remote host closed the connection]
17:24
FastJack has quit [Remote host closed the connection]
17:24
Suslov has joined #ruby
17:27
xcouop has quit [Remote host closed the connection]
17:27
User458764 has joined #ruby
17:27
outreachdan has quit [Read error: Connection reset by peer]
17:28
User458764 has quit [Client Quit]
17:28
outreachdan has joined #ruby
17:29
Suslov has quit [Ping timeout: 256 seconds]
17:29
hahuang65 has joined #ruby
17:29
_sfiguser has joined #ruby
17:29
kitikonti has joined #ruby
17:29
dviola has quit [Ping timeout: 264 seconds]
17:31
dviola has joined #ruby
17:31
levifig has quit [Ping timeout: 260 seconds]
17:31
dviola has quit [Changing host]
17:31
dviola has joined #ruby
17:32
fergal has joined #ruby
17:33
levifig has joined #ruby
17:33
minimalism has joined #ruby
17:34
chouhoulis has joined #ruby
17:34
Suslov has joined #ruby
17:34
chouhoulis has quit [Remote host closed the connection]
17:35
chouhoulis has joined #ruby
17:36
__Yiota has joined #ruby
17:39
Suslov has quit [Ping timeout: 260 seconds]
17:40
renchan has quit [Quit: Leaving...]
17:41
gusrub has joined #ruby
17:41
dviola has quit [Ping timeout: 264 seconds]
17:43
levifig has quit [Ping timeout: 268 seconds]
17:43
sepp2k has quit [Quit: Leaving.]
17:43
cagomez has joined #ruby
17:43
dviola has joined #ruby
17:44
<
cagomez >
is `%i[val1 val2 val3]` style preferred over `[:val1, :val2, :val3]` for array literals?
17:44
<
mordof >
what does the %i do?
17:44
<
havenwood >
cagomez: Ever-so-slightly nicer, yeah.
17:45
<
havenwood >
mordof: array of symbols
17:45
dviola has quit [Changing host]
17:45
dviola has joined #ruby
17:45
<
havenwood >
>> %s[hi ho hum]
17:45
<
havenwood >
>> %i[hi ho hum]
17:45
<
mordof >
>> %w{ foo bar bat }
17:45
<
cagomez >
havenwood: what if it it's like > 10 items? whats the best style for multiline?
17:45
<
mordof >
%i{ foo bar bat }
17:46
<
mordof >
>> %i{ foo bar bat }
17:46
<
mordof >
so the delimiters don't really matter
17:46
<
havenwood >
mordof: A common convention is []s when you're creating Arrays, ()s otherwise unless you want || or {} or whatever else
17:47
duckpupp1 has joined #ruby
17:47
chouhoulis has quit []
17:48
hahuang61 has joined #ruby
17:49
levifig has joined #ruby
17:50
chouhoulis has joined #ruby
17:50
tvw has joined #ruby
17:51
<
mordof >
cagomez: fun :) thanks
17:54
ss_much has joined #ruby
17:56
patarr_ has joined #ruby
17:57
timvisher has quit [Quit: back]
17:58
machinewar has joined #ruby
17:59
timvisher has joined #ruby
17:59
patarr has quit [Ping timeout: 240 seconds]
17:59
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:01
Mon_Ouie has quit [Ping timeout: 268 seconds]
18:02
tildes has joined #ruby
18:06
patarr_ has quit [Ping timeout: 260 seconds]
18:06
fergal has quit [Quit: fergal]
18:09
pupsicle has quit [Remote host closed the connection]
18:09
cdg has quit [Ping timeout: 246 seconds]
18:11
patarr has joined #ruby
18:12
johnzorn has quit [Read error: Connection reset by peer]
18:12
johnzorn has joined #ruby
18:17
duderonomy has quit [Ping timeout: 240 seconds]
18:18
_DanN__ has joined #ruby
18:19
<
_DanN__ >
hello .. anybody willing to help here ?
18:19
<
jhass >
sure, just ask you question and somebody will try to answer
18:19
solocshaw1 has joined #ruby
18:19
<
jhass >
apeiros: I forgot, will that me or you?
18:19
<
ruby[bot] >
jhass is anybody
18:19
solocshaw has quit [Ping timeout: 246 seconds]
18:19
solocshaw1 is now known as solocshaw
18:19
<
jhass >
ah, you I guess
18:19
<
_DanN__ >
I will try to word it properly :-)
18:20
<
apeiros >
I think I'm nobody
18:20
<
ruby[bot] >
apeiros is nobody
18:20
<
apeiros >
indeed! I am! :D
18:20
<
_DanN__ >
variable resulting into string which is basically another variable name and I need to print its value
18:20
<
apeiros >
because nobody is perfect ^^
18:20
jcao219 has quit [Ping timeout: 260 seconds]
18:20
<
apeiros >
_DanN__: ew
18:20
<
apeiros >
_DanN__: what type of variable?
18:20
<
havenwood >
_DanN__: Show a code snippet example?
18:21
<
_DanN__ >
let me post the code ... hold on
18:21
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:21
* jhass
prepares the use a hash answer
18:21
d^sh has quit [Read error: Connection reset by peer]
18:21
<
apeiros >
great, means I don't have to
18:21
d^sh has joined #ruby
18:21
<
apeiros >
the problem with canned replies is - remember the right key for it :-S
18:22
jcao219 has joined #ruby
18:22
ddffg has joined #ruby
18:22
machinewar has left #ruby [#ruby]
18:22
millerti has joined #ruby
18:23
d^sh has quit [Client Quit]
18:23
<
apeiros >
_DanN__: uuuuh, you are aware that $vars are *globals*?
18:23
<
apeiros >
(from your code, I actually know you aren't…)
18:23
<
jhass >
_DanN__: first of all I strongly suggest you abandon single letter variable names for pretty much anything
18:24
<
_DanN__ >
no I am not :( this is my second day with ruby hell :(
18:24
<
apeiros >
ruby hell?
18:24
<
havenwood >
_DanN__: meta hint, but name your gist filename with a .rb extension for syntax highlighting
18:24
<
jhass >
heh, its fine
18:24
<
apeiros >
that's an interesting attitude. I'm quite certain it's not very helpful.
18:24
<
jhass >
well or erb in this case ;)
18:24
<
_DanN__ >
jhass: this is just a snippet .. this @s variable is pulled from puppet
18:24
d^sh has joined #ruby
18:25
<
jhass >
so, you want to do something for the last device in the list?
18:25
<
_DanN__ >
jhass: correct
18:25
sspreitz has quit [Ping timeout: 240 seconds]
18:25
<
jhass >
try iface = @s.last instead of the loop
18:25
<
havenwood >
_DanN__: don't create any $global_variables or @@class_variables, just avoid introducing either of those entirely
18:26
<
_DanN__ >
jhass: this would include 'lo' which I can not avoid in this case
18:26
<
jhass >
or current_device = interfaces.last or whatever
18:26
<
jhass >
so the second to last?
18:26
hahuang61 has quit [Ping timeout: 260 seconds]
18:27
<
jhass >
current_device = "interface_#{interfaces[-2]}"
18:27
<
havenwood >
_DanN__: simplify `if !@s.nil? ` to just `if @s` (if you really need this check at all)
18:27
<
_DanN__ >
jhass: I'm not really positive that 'lo' will be the last item in the array
18:27
<
havenwood >
_DanN__: consider `@ifaces.each do |iface|` or `@interfaces.each do |interface|` for naming
18:27
<
_DanN__ >
I'm getting corect value in cur_device
18:27
<
jhass >
well, .sort it then ;)
18:28
<
_DanN__ >
problem is with printing its value
18:28
<
_DanN__ >
so this: set trapSourceAddress <%= $cur_device %> is the problem
18:29
Bock has quit [Read error: Connection reset by peer]
18:29
<
_DanN__ >
it's either empty or syntax err with whatever I tried
18:29
cagomez has quit []
18:29
patarr has quit [Ping timeout: 256 seconds]
18:29
<
jhass >
mh, it shouldn't be possibly empty with your current snippet even
18:29
<
jhass >
that is the whole line with something or no line at all
18:30
workmad3 has quit [Ping timeout: 260 seconds]
18:30
<
jhass >
maybe you can show us just the input you have (if possible real examples rather some made up ones) and desired output?
18:32
gigetoo_ has quit [Ping timeout: 264 seconds]
18:32
Rodya_ has joined #ruby
18:33
<
_DanN__ >
let me create another gist .. .
18:33
antoniobeyah has joined #ruby
18:34
Pumukel has joined #ruby
18:34
ctompkinson has joined #ruby
18:35
<
_DanN__ >
I removed globals and got rid of single char variable names
18:35
<
_DanN__ >
1st 3 lines is the real example what I'm getting in variable 'interfaces'
18:36
<
_DanN__ >
this will produce: set trapSourceAddress interface_eth3 readCommunity mtflabForpmfm writeCommunity mtflabForpmfm trapCommunity mtflabForpmfm
18:36
<
_DanN__ >
but I'd rather have: set trapSourceAddress 1.1.1.1 readCommunity mtflabForpmfm writeCommunity mtflabForpmfm trapCommunity mtflabForpmfm
18:36
<
_DanN__ >
but that's clear I think ...
18:37
dar123 has joined #ruby
18:37
Rodya_ has quit [Ping timeout: 246 seconds]
18:37
<
apeiros >
interfaces = {"eth3" => "1.1.1.1"}
18:37
<
apeiros >
and then interfaces[iface]
18:37
<
_DanN__ >
apeiros: yes, that would be ideal solution .. like I said: this is puppet magic :-|
18:37
<
apeiros >
-1-1 is an interesting way to say -2
18:38
<
apeiros >
puppet ain't magic
18:38
<
_DanN__ >
apeiros: haha correct :)))
18:38
<
apeiros >
any sufficiently analyzed magic is indistinguishable from science
18:38
<
jhass >
^, also does this ever need to support persistent interface naming or have eth10 or above?
18:38
jcao219 has quit [Ping timeout: 240 seconds]
18:38
<
_DanN__ >
jhass: this will go up to eth9 ..
18:39
ctompkinson has quit [Ping timeout: 240 seconds]
18:40
lxsameer has joined #ruby
18:40
sspreitz has joined #ruby
18:40
<
_DanN__ >
apeiros: puppet will become sufficiently analyzed magic once I absorb all its possibilities, for now let me call it 'magic' :)
18:41
<
jhass >
so "interface_eth3" isn't actually defined by you
18:41
<
jhass >
do you have code/docs of what defines you?
18:41
user51929 has joined #ruby
18:42
govg has quit [Ping timeout: 260 seconds]
18:42
<
_DanN__ >
logic is simple: last interface will get this line "set trapSource..." produced
18:42
<
_DanN__ >
puppet offers 'fact' which is called: interface_ethXX
18:42
<
_DanN__ >
and its value is what I need
18:43
<
jhass >
got that much, doesn't quite answer my question ;)
18:43
skweek has joined #ruby
18:44
<
_DanN__ >
here's what defines it:
18:44
<
_DanN__ >
[root@test-ps ~]# /usr/local/ruby/1.8.7/bin/facter -p | grep address
18:44
<
_DanN__ >
ipaddress => 10.193.198.23
18:44
<
_DanN__ >
macaddress => 00:50:56:AA:30:CF
18:44
<
_DanN__ >
ipaddress_lo => 127.0.0.1
18:44
<
_DanN__ >
ipaddress_eth0 => 10.193.198.23
18:44
<
_DanN__ >
macaddress_eth0 => 00:50:56:AA:30:CF
18:44
<
_DanN__ >
[root@test-ps ~]#
18:44
<
_DanN__ >
did not want to spam the channel
18:44
<
jhass >
so it's ipaddress_ not interface_ ?
18:44
<
_DanN__ >
yah, good point
18:44
govg has joined #ruby
18:45
<
jhass >
but this isn't defined from some commandline output, is it?
18:45
<
jhass >
it's code after all
18:45
<
jhass >
there gotta be some code that defines it
18:46
<
_DanN__ >
yes, there is for sure but this is out of my control .. I'm just reading values from this variable (ipaddress_eth3)
18:46
<
apeiros >
unhelpful tidbit: ruby 1.8.7 has loooong been EOLed
18:47
<
apeiros >
_DanN__: if you are using a variable, it means something has set that variable. variables are set by code, not external executables (like facter)
18:48
<
jhass >
so maybe just scope["ipaddress_#{interface}"]
18:48
patarr has joined #ruby
18:48
marxarelli has joined #ruby
18:49
<
jhass >
or the full thing <%= @interfaces.split(",").sort
18:49
aryaching_ has quit [Read error: Connection reset by peer]
18:50
lupine_ is now known as lupine
18:50
<
_DanN__ >
nah .. that won't work for me .. like I said: last interface needs to be set in my case
18:50
fergal has joined #ruby
18:51
<
jhass >
or the full thing <%= scope["ipaddress_#{@interfaces.split(",").select {|interface| interface.start_with? "eth" }.sort.last}"] %>
18:51
jgt has quit [Ping timeout: 240 seconds]
18:51
<
jhass >
assuming no persistent interface naming and eth9 max
18:52
<
jhass >
with peristent interface naming you need another strategy for picking the right one anyway I guess
18:53
<
_DanN__ >
so there is no way to get a value of variable which is defined as a value of another variable ?
18:54
<
jhass >
none you should go if there's any other way
18:54
<
jhass >
and in 99% of the cases there is
18:54
solocshaw has quit [Ping timeout: 240 seconds]
18:55
sspreitz has quit [Ping timeout: 268 seconds]
18:55
<
_DanN__ >
if I use 'scope' it's complaining about non-existent method
18:55
<
_DanN__ >
test00.erb:15: undefined local variable or method `scope' for #<Object:0x7f41166712a0> (NameError)
18:56
User458764 has joined #ruby
18:56
<
jhass >
so what are you using here exactly in which version?
18:57
<
_DanN__ >
erb.rb [2.1.0 2009-02-24]
18:57
<
_DanN__ >
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
18:57
levifig has quit [Ping timeout: 260 seconds]
18:57
<
jhass >
none of these would define @interfaces for you ;)
18:58
<
jhass >
(or interface_eth3 for that matter)
18:58
<
_DanN__ >
correct :) that's why I put it in the code ..
18:58
<
jhass >
well you said in your actual code you don't
18:59
<
_DanN__ >
thought that this: interface_eth3="1.1.1.1" defines it
18:59
<
jhass >
it does but you rejected apeiros suggestion of how you should define it instead
18:59
<
jhass >
I thought the reason was that you don't actually do it in your actual code
19:00
<
jhass >
if that's not true then you should go with apeiros solution
19:00
<
_DanN__ >
to define an array for every interface ?
19:01
<
jhass >
a hash that has all the intterface => ip mappings you need
19:01
<
jhass >
instead of creating a new variable for each mapping
19:01
<
_DanN__ >
yeah, hash .. sorry
19:02
Arpanet69 has quit [Quit: Leaving]
19:03
guacamole has quit [Quit: leaving]
19:05
armyriad has quit [Ping timeout: 260 seconds]
19:06
<
_DanN__ >
thank you guys ...
19:06
armyriad has joined #ruby
19:06
tercenya has quit [Remote host closed the connection]
19:06
tercenya has joined #ruby
19:09
ozcanesen has joined #ruby
19:09
nicolai86 has quit [Remote host closed the connection]
19:09
ta_ has joined #ruby
19:09
dionysus69 has joined #ruby
19:12
nicolai86 has joined #ruby
19:12
brodul has quit [Quit: My hovercraft is full of eels!!]
19:14
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:15
<
flips >
Is proc sort of like ` ` or $( ) in shell programming? Except they are objects that can be called ... so rather like shell functions? ... :)
19:15
<
jhass >
anonymous functions :)
19:15
sspreitz has joined #ruby
19:16
<
flips >
and lambdas are procs with a fixed set of arguments?
19:16
__Yiota has joined #ruby
19:16
<
jhass >
with enforcing arity, yeah
19:16
<
jhass >
think of a standard proc like a lambda whose arguments all have a nil default value
19:18
nicolai86 has quit [Remote host closed the connection]
19:21
solocshaw has joined #ruby
19:22
SeepingN has joined #ruby
19:23
username_ has quit [Ping timeout: 264 seconds]
19:24
levifig has joined #ruby
19:24
nicolai86 has joined #ruby
19:29
Rodya_ has joined #ruby
19:30
minimalism has quit [Quit: minimalism]
19:34
chouhoul_ has joined #ruby
19:34
pupsicle has joined #ruby
19:36
levifig has quit [Ping timeout: 246 seconds]
19:38
chouhoulis has quit [Ping timeout: 268 seconds]
19:39
gigetoo has joined #ruby
19:41
hahuang61 has joined #ruby
19:41
tvw has quit [Remote host closed the connection]
19:42
Rodya_ has quit [Remote host closed the connection]
19:43
jgt has joined #ruby
19:43
Rodya_ has joined #ruby
19:44
Bish has quit [Ping timeout: 260 seconds]
19:46
Bish has joined #ruby
19:46
solocshaw has quit [Quit: solocshaw]
19:47
solocshaw has joined #ruby
19:47
raul782 has quit [Remote host closed the connection]
19:48
chouhoul_ has quit [Remote host closed the connection]
19:50
chouhoul_ has joined #ruby
19:50
chouhoul_ has quit [Remote host closed the connection]
19:51
chouhoul_ has joined #ruby
19:51
solocshaw has quit [Ping timeout: 246 seconds]
19:52
Bish has quit [Ping timeout: 246 seconds]
19:53
Bish has joined #ruby
19:54
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
19:55
username_ has joined #ruby
19:56
duderonomy has joined #ruby
19:57
minimalism has joined #ruby
19:57
Guest96_ has joined #ruby
19:58
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
19:58
marcdel has joined #ruby
19:59
gigetoo has quit [Ping timeout: 260 seconds]
19:59
Guest96 has quit [Ping timeout: 260 seconds]
19:59
shinnya has joined #ruby
20:00
gigetoo has joined #ruby
20:02
workmad3 has joined #ruby
20:02
ResidentBiscuit has joined #ruby
20:03
Bish has quit [Ping timeout: 246 seconds]
20:04
Bish has joined #ruby
20:04
pwnd_nsfw` has joined #ruby
20:06
marcdel has quit [Ping timeout: 240 seconds]
20:07
pwnd_nsfw has quit [Ping timeout: 264 seconds]
20:08
marcdel has joined #ruby
20:09
allisio has quit [Quit: WeeChat 1.7]
20:11
mrwn has joined #ruby
20:13
mrwn has left #ruby [#ruby]
20:14
kirun has joined #ruby
20:14
skweek has quit [Ping timeout: 240 seconds]
20:15
TheSuper has joined #ruby
20:16
Hekata has quit [Quit: Leaving]
20:18
tildes has quit [Ping timeout: 240 seconds]
20:20
cdg has joined #ruby
20:20
gdonald has quit [Read error: Connection reset by peer]
20:21
gdonald has joined #ruby
20:26
<
zenspider[m] >
I dislike how messy the proc/block/lambda landscape is in ruby... clearly the case of organic change over a long period of time.
20:27
zenspider has joined #ruby
20:27
zenspider has quit [Changing host]
20:27
zenspider has joined #ruby
20:28
<
zenspider >
also: rawr
20:28
<
zenspider >
def not ror... just rawr
20:28
<
t-recx >
rawr it is
20:29
<
TheMoonMaster >
agreed, proc/lambdas are eh
20:29
JoshS has quit [Ping timeout: 240 seconds]
20:29
jenrzzz has joined #ruby
20:29
jenrzzz has joined #ruby
20:29
jenrzzz has quit [Changing host]
20:30
ResidentBiscuit has joined #ruby
20:32
AndBobsYourUncle has joined #ruby
20:32
<
TheSuper >
proc/lambdas do have an important distinction
20:32
<
TheSuper >
with how return works
20:32
<
TheSuper >
but it is kind of ugly
20:33
<
baweaver >
oh there's more than that
20:33
<
TheSuper >
What are the other rules? I thought that was---right
20:33
<
TheSuper >
okay yeah, that too
20:33
<
baweaver >
though that one is more subtle
20:33
<
TheSuper >
blocks should probably behave like lambdas in that regard, honestly
20:33
<
TheSuper >
(blocks are the ones that just drop extra args right?)
20:34
levifig has joined #ruby
20:34
<
baweaver >
I believe so. Lambda was stricter.
20:34
rgtk has quit [Ping timeout: 260 seconds]
20:34
rwb has quit [Ping timeout: 240 seconds]
20:35
<
TheSuper >
Yeah. I think that's kind of crappy.
20:35
<
TheSuper >
_ should mean "ignore this"
20:35
<
TheSuper >
so that thing.each{|x, _, _| x} would be valid syntax
20:35
<
TheSuper >
and then they could do away with the arity stuff
20:36
<
jhass >
it's valid syntax fwiw
20:36
raul782 has joined #ruby
20:36
<
baweaver >
you can do a lot of fun stuff with deconstruction in there
20:36
<
TheSuper >
is it legal to have multiple arguments of the same name?
20:36
jenrzzz has quit [Ping timeout: 260 seconds]
20:36
<
baweaver >
though I kinda wish _ was more Scala like: [1,2,3].map(_ * 2)
20:37
ctompkinson has joined #ruby
20:37
<
TheSuper >
or swift with $1, $2, $3
20:37
<
TheSuper >
but Ruby uses those like perl does
20:37
zipace has joined #ruby
20:37
<
baweaver >
It stole a lot of Perlisms
20:37
<
jhass >
for the regex case anyway
20:38
allisio has joined #ruby
20:38
<
jhass >
doesn't perl allow $1/$2/... in map like constructs too?
20:38
<
jhass >
I thought to have glanced over something like that
20:38
<
jhass >
never a big fan of either usage though
20:40
pupsicle has quit [Quit: pupsicle]
20:40
mephistophocles has quit [Ping timeout: 260 seconds]
20:41
mephistophocles has joined #ruby
20:41
ctompkinson has quit [Ping timeout: 256 seconds]
20:41
<
zenspider >
baweaver: I'm glad _ isn't like scala's, personally... we need LESS syntax magic, not more. IMHFO. :)
20:42
<
baweaver >
but ✨magic✨
20:42
<
TheSuper >
I think Ruby's juuussttt magical enough right now
20:42
<
TheSuper >
the kind of magic I want added is speed magic
20:42
<
jhass >
TIL someting[] = x can be valid in crystal
20:43
<
baweaver >
until I can avada kadavra / in Ruby, it could use more magic
20:43
* TheSuper
prays that truffle actually works eventually
20:43
jusa has joined #ruby
20:45
<
TheSuper >
what does something[] = x even mean?
20:45
<
jhass >
but only for StaticArray thankfully
20:45
<
TheSuper >
...That's really gross
20:45
<
jhass >
I guess we'll get rid of that
20:46
gix has joined #ruby
20:46
def_jam has joined #ruby
20:46
eb0t_ has joined #ruby
20:46
raul782 has quit [Remote host closed the connection]
20:47
Pumukel has quit [Remote host closed the connection]
20:47
mephisto_ has joined #ruby
20:48
eb0t has quit [Ping timeout: 240 seconds]
20:48
<
matthewd >
It "can" be valid in ruby too... it's just a single-argument invocation of #[]= on something
20:48
eblip has quit [Ping timeout: 260 seconds]
20:48
mephistophocles has quit [Read error: Connection reset by peer]
20:49
<
TheSuper >
It does!
20:50
<
jhass >
oh I woulnd't have thought it parses without parens
20:51
<
TheSuper >
I can't tell if google groups just ate my new post or if something else happened
20:51
Rodya_ has quit [Remote host closed the connection]
20:51
<
TheSuper >
the issue is, if I try to re-post, I just
*know* that both are gonna show up right afterwards, and I'm going to look like a jerk
20:52
<
jhass >
well any medium sized one is a spam target so moderated
20:52
<
TheSuper >
Ohhh right. Duh.
20:52
<
TheSuper >
Thanks for reminding me of that (I almost never use groups)
20:53
<
TheSuper >
Going back to an actually relevant topic...
20:53
<
TheSuper >
I think it's a mistake to allow #[]= to be defined with one argument
20:54
<
TheSuper >
you can also apparently define :*, :+, and other operators with two arguments, which seems to make them impossible to call without using #send
20:54
esObe_ has quit [Ping timeout: 240 seconds]
20:54
fmcgeough has quit [Quit: fmcgeough]
20:55
<
jhass >
it's a dilema, either you just special case the invocation side, which is nice because general but then weird on it, or you special case the definition side too having even more special cases
20:55
esObe_ has joined #ruby
20:56
<
jhass >
I'm not decided yet which variant I prefer
20:56
<
TheSuper >
I don't think there's ever really a reason to have * or + be anything but a binary operation
20:56
<
matthewd >
Constraining the definitions would be very weird to me, because that misses the fact that as far as the object is concerned, they're Just Methods
20:57
<
TheSuper >
it might make implementing the language a bit harder, but Ruby is supposed to optimize programmer happiness, right?
20:57
<
allisio >
TheSuper: You don't need #send to say `1.+(2, 3)`.
20:57
<
TheSuper >
it is a special-case of method definition though, you're right.
20:57
<
TheSuper >
Oh yeah, an explicit . works as well
20:57
dviola has quit [Quit: WeeChat 1.7]
20:58
<
matthewd >
The language provides convenient syntax shortcuts to make certain method calls (i.e., the operators), but that's all they are
20:58
<
TheSuper >
ruby does already special-case the invocation of those methods by not requiring a "." though, so I think it's reasonable to restrict the definition.
20:58
<
jhass >
so that gives you one quite well defined special case, x.special(y) can also be written as x special y
20:58
<
matthewd >
Otherwise they'd no longer be methods -- they'd be defined operators, which happen to use a method-like definition syntax
20:59
<
TheSuper >
Then again, this is also a case where it's sort of a "don't do that really stupid thing"
20:59
<
jhass >
the point is one special case is generally better than two
20:59
guacamole has joined #ruby
20:59
<
TheSuper >
IE, there's not really a need to prevent programmers from doing it, because it's nasty
20:59
<
jhass >
allisio: there's an Array#fill ;)
21:00
<
allisio >
Oh, right...
21:00
<
TheSuper >
It would be kind of neat if Ruby defined certain unicode character classes as operators, actually
21:00
<
TheSuper >
like swift does
21:00
brodul has joined #ruby
21:00
<
TheSuper >
so you could use `def ≠(other); ! (self == other); end;`
21:00
<
TheSuper >
and invoke it like `bar ≠ foo`
21:00
<
matthewd >
How does it deal with associativity?
21:01
GodFather has joined #ruby
21:01
<
TheSuper >
in swift you define it
21:01
<
allisio >
Just like in Haskell.
21:01
<
TheSuper >
Or, wait
21:01
<
TheSuper >
it seems like you use named groups
21:01
mikecmpbll has quit [Quit: inabit.]
21:01
<
TheSuper >
infix operator +-: AdditionPrecedence
21:01
<
jhass >
I don't actually think allowing too many operators is a good thing
21:01
<
TheSuper >
it used to be a number back when I was playing with swift
21:02
[Butch] has quit [Quit: I'm out . . .]
21:02
<
TheSuper >
Oh no unicode operators are awful in 99% of the cae. If >>= was just named `flatMap` I bet Haskell would have 50% more adoption than it does
21:02
<
jhass >
they're just harder to remember and more often ambigous compared to methods with a nice name
21:02
<
TheSuper >
honestly
21:03
jeffreylevesque has quit [Ping timeout: 260 seconds]
21:03
<
allisio >
TheSuper: But not really, though.
21:03
<
allisio >
It's all just symbols, y'all.
21:03
<
allisio >
We just have ones we're more accustomed to using.
21:03
<
TheSuper >
50% is an exaggeration but haskell's tendency to use one-character variables and custom operators hurts adoption
21:03
<
TheSuper >
It is just symbols, but I can read `flatMap` and sort-of-kind-of get what it means
21:04
jenrzzz has joined #ruby
21:04
<
allisio >
Why couldn't that be true for `>>=`?
21:04
<
TheSuper >
while >>= is like "Right shift equals..?"
21:04
<
TheSuper >
Well, it can be
21:04
<
TheSuper >
after I know it means "flatMap"
21:04
<
jhass >
the difference is that we're far further with having agreed what ASCII symbols stand for than the unicode ones ;)
21:04
<
TheSuper >
but if I'm just coming across it, how should I know?
21:04
<
allisio >
Romans, go home.
21:04
gix has quit [Quit: Client exiting]
21:05
gix has joined #ruby
21:07
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:07
pupsicle has joined #ruby
21:08
fergal has quit [Quit: fergal]
21:09
TheSuper has quit [Ping timeout: 256 seconds]
21:10
helpa has quit [Remote host closed the connection]
21:10
helpa has joined #ruby
21:10
<
zenspider >
mmmmmmentarbation
21:11
ltem has joined #ruby
21:12
gix has quit [Quit: Client exiting]
21:12
helpa has quit [Remote host closed the connection]
21:13
helpa has joined #ruby
21:13
jusa has quit [Ping timeout: 268 seconds]
21:13
rgtk has joined #ruby
21:14
haylon has joined #ruby
21:16
Fernando-Basso has quit [Quit: WeeChat 1.7]
21:16
govg has quit [Ping timeout: 256 seconds]
21:17
ldnunes has quit [Quit: Leaving]
21:17
govg has joined #ruby
21:18
GodFather has quit [Ping timeout: 268 seconds]
21:20
aupadhye has quit [Ping timeout: 260 seconds]
21:20
eb0t has joined #ruby
21:20
gk_1wm_su has joined #ruby
21:20
eblip has joined #ruby
21:20
gk_1wm_su has quit [K-Lined]
21:21
TheSuper has joined #ruby
21:22
eb0t_ has quit [Ping timeout: 240 seconds]
21:22
def_jam has quit [Ping timeout: 260 seconds]
21:23
username_ has quit [Quit: Lost terminal]
21:24
gix has joined #ruby
21:28
johnzorn has quit [Ping timeout: 246 seconds]
21:29
johnzorn has joined #ruby
21:29
rwb has joined #ruby
21:32
jeffreylevesque has joined #ruby
21:35
dionysus69 has quit [Remote host closed the connection]
21:35
GodFather has joined #ruby
21:37
dar123 has quit [Read error: Network is unreachable]
21:39
raul782 has joined #ruby
21:40
kirun has quit [Quit: Konversation terminated!]
21:41
govg has quit [Ping timeout: 240 seconds]
21:42
hahuang61 has quit [Ping timeout: 260 seconds]
21:43
govg has joined #ruby
21:44
ltem has quit [Quit: Leaving]
21:45
ovidnis has left #ruby ["ERC (IRC client for Emacs 25.1.1)"]
21:45
haylon has quit [Quit: Leaving]
21:46
dar123 has joined #ruby
21:46
TomyLobo has quit [Ping timeout: 240 seconds]
21:48
helpa has quit [Remote host closed the connection]
21:48
helpa has joined #ruby
21:49
helpa has quit [Remote host closed the connection]
21:49
helpa has joined #ruby
21:50
Pumukel has joined #ruby
21:50
hutch34_ has quit [Ping timeout: 240 seconds]
21:51
masta`` has joined #ruby
21:51
masta`` has quit [Remote host closed the connection]
21:51
patarr has quit [Ping timeout: 264 seconds]
21:52
BTRE has quit [Read error: Connection reset by peer]
21:53
pifon has quit [Quit: Connection closed for inactivity]
21:53
govg has quit [Ping timeout: 264 seconds]
21:54
helpa has quit [Remote host closed the connection]
21:54
helpa has joined #ruby
21:54
helpa has quit [Remote host closed the connection]
21:54
helpa has joined #ruby
21:54
Robtop__ has joined #ruby
21:56
helpa has quit [Remote host closed the connection]
21:56
helpa has joined #ruby
21:56
Pumukel has quit [Ping timeout: 240 seconds]
21:57
helpa has quit [Remote host closed the connection]
21:57
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
21:57
helpa has joined #ruby
21:57
gsilva has joined #ruby
21:58
cagomez has joined #ruby
21:59
govg has joined #ruby
21:59
helpa has quit [Remote host closed the connection]
21:59
patarr has joined #ruby
21:59
helpa has joined #ruby
22:00
tercenya has quit [Remote host closed the connection]
22:01
tercenya has joined #ruby
22:01
helpa has quit [Remote host closed the connection]
22:01
helpa has joined #ruby
22:01
tercenya has quit [Remote host closed the connection]
22:01
superscott has joined #ruby
22:02
griff has joined #ruby
22:05
eregon has quit [Ping timeout: 256 seconds]
22:06
toretore has quit [Ping timeout: 260 seconds]
22:07
duckpupp1 has quit [Ping timeout: 246 seconds]
22:08
patarr has quit [Ping timeout: 260 seconds]
22:10
gdonald has quit [Read error: Connection reset by peer]
22:11
BTRE has joined #ruby
22:11
tercenya has joined #ruby
22:11
gdonald has joined #ruby
22:12
skweek has joined #ruby
22:13
b3l914n has joined #ruby
22:15
griff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:16
griff has joined #ruby
22:17
griff has quit [Client Quit]
22:17
hahuang61 has joined #ruby
22:18
skweek has quit [Ping timeout: 246 seconds]
22:18
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
22:20
TheSuper has quit [Quit: ChatZilla 0.9.93 [Firefox 52.0.2/20170323105023]]
22:20
hahuang65 has quit [Quit: WeeChat 1.7]
22:28
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:32
esObe_ has quit [Remote host closed the connection]
22:32
millerti has joined #ruby
22:32
esObe_ has joined #ruby
22:34
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:35
dar123 has joined #ruby
22:37
ctompkinson has joined #ruby
22:38
skweek has joined #ruby
22:38
Tagami has quit [Remote host closed the connection]
22:40
JeanCarloMachado has quit [Ping timeout: 240 seconds]
22:41
raul782 has quit [Remote host closed the connection]
22:41
raul782 has joined #ruby
22:42
skweek has quit [Ping timeout: 246 seconds]
22:42
gsilva has quit [Remote host closed the connection]
22:42
pupsicle has quit [Quit: pupsicle]
22:43
Tesl1_ has joined #ruby
22:43
ctompkinson has quit [Ping timeout: 264 seconds]
22:44
boombox_ has joined #ruby
22:44
<
superscott >
八(^□^*)
22:45
<
Tesl1_ >
how can I convert a integer to an hex string with two bytes of length (and little endian). For instance, 200 (int) to hex = C8. I would like to get "\xC8\x00"
22:49
<
superscott >
200.chr gives you "\xC8", (personally) don't know what the \x00 would be
22:49
<
superscott >
provided 200 is an int, not a string
22:52
<
ytti >
i think he wants to guarantee there are two bytes
22:52
JeanCarloMachado has joined #ruby
22:52
<
ytti >
so pack("S")
22:53
<
ytti >
>> [200].pack("S")
22:53
howdoi has quit [Quit: Connection closed for inactivity]
22:54
<
superscott >
touche.
22:54
<
Tesl1_ >
ytti: yes, that is
22:54
<
ytti >
ruby kinda sucks for this
22:54
cdg has quit [Remote host closed the connection]
22:54
<
ytti >
as there are natively no fixed length numbres
22:55
<
ytti >
so dealing with wire-formats/rawdata is kinad PITA
22:55
<
Tesl1_ >
as I can see it is
22:56
boombox_ has quit [Remote host closed the connection]
22:58
<
ytti >
would be so much cleaner with actual fixed bit size integers
22:58
<
ytti >
i kinda expected it to be small quick hack, but it ballooned
22:59
narval has quit [Ping timeout: 240 seconds]
23:00
herbmillerjr has quit [Quit: Konversation terminated!]
23:01
chouhoul_ has quit [Ping timeout: 240 seconds]
23:02
chouhoul_ has joined #ruby
23:05
dviola has joined #ruby
23:06
<
zenspider >
ytti: you want to remove everything from a stream that matches the keys in BLOCK_TYPE and it wound up being 459 lines long??
23:06
skweek has joined #ruby
23:06
erlend has quit [Ping timeout: 264 seconds]
23:07
erlend has joined #ruby
23:08
jusa has joined #ruby
23:10
chouhoul_ has quit [Remote host closed the connection]
23:11
JoshS has joined #ruby
23:13
jusa has quit [Ping timeout: 260 seconds]
23:13
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:15
JeanCarloMachado has quit [Ping timeout: 256 seconds]
23:16
jamesaxl has quit [Quit: WeeChat 1.7]
23:17
JeanCarloMachado has joined #ruby
23:19
<
ytti >
zenspider, no i'm popping N bytes of each packet inside the file
23:19
<
ytti >
zenspider, file is collection of captured packets
23:20
<
ytti >
zenspider, with bunch of metadata
23:20
<
ytti >
zenspider, and there are headers in the packets which i don't want there
23:20
Tesl1_ has quit [Ping timeout: 256 seconds]
23:22
cschneid_ has quit [Remote host closed the connection]
23:23
marcdel has quit [Ping timeout: 260 seconds]
23:24
Guest96_ has quit [Remote host closed the connection]
23:25
Guest96 has joined #ruby
23:26
marcdel has joined #ruby
23:28
nadir has quit [Quit: Connection closed for inactivity]
23:28
_sfiguser has quit [Quit: Leaving]
23:29
<
zenspider >
ugh. I can't come up with a better way to do this... I think I need to write a structural/OO matching engine... regexps for objects. anyone know of any prior art?
23:31
agent_white has quit [Quit: bbl]
23:32
<
zenspider >
maaaan... I do NOT want to write this thing
23:33
mephisto_ has quit [Read error: Connection reset by peer]
23:34
JeanCarloMachado has quit [Ping timeout: 246 seconds]
23:35
esObe_ has quit [Remote host closed the connection]
23:38
nowhereman has quit [Quit: Konversation terminated!]
23:38
cagomez has quit []
23:38
nowhereman has joined #ruby
23:42
<
zenspider >
Papierkorb: now make it recursive and give it a grammar :P
23:42
superscott has quit []
23:42
<
Papierkorb >
zenspider: that is left as an excercise to the reader
23:44
cschneid_ has joined #ruby
23:47
esObe_ has joined #ruby
23:49
nadir has joined #ruby
23:49
cschneid_ has quit [Ping timeout: 246 seconds]
23:49
<
adam12 >
zenspider: ohai
23:49
<
adam12 >
have you been somewhere lately?
23:50
<
zenspider >
was in mexico last week for a conference... mostly just nose down for my client
23:50
<
zenspider >
thanks! just posted my slides for the talk
23:50
Pumukel has joined #ruby
23:50
<
adam12 >
Was it on Minitest? :P
23:50
<
adam12 >
Speaking of which, *_test.rb or test_*.rb
23:50
<
zenspider >
no, it was on study groups and leveling up your ppl
23:50
nitric has quit [Ping timeout: 264 seconds]
23:50
<
adam12 >
I definitely need to level up my ppl
23:50
<
zenspider >
plain ruby projects are usually test_*.rb, rails is *_test.rb
23:50
<
adam12 >
I need ppl first.
23:51
lxsameer has quit [Quit: WeeChat 1.7]
23:51
<
adam12 >
zenspider: I do it differently on every project - thought I'd consult the expert.
23:51
ddffg has quit [Quit: Leaving]
23:51
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:51
<
zenspider >
I'm just saying what the tendencies are... I always do test_*.rb :)
23:52
esObe_ has quit [Ping timeout: 268 seconds]
23:52
raspado has quit [Remote host closed the connection]
23:53
Guest96 has quit [Remote host closed the connection]
23:54
Guest96 has joined #ruby
23:56
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:56
Pumukel has quit [Ping timeout: 260 seconds]
23:57
marcdel has quit [Ping timeout: 260 seconds]
23:58
<
zenspider >
I might be able to pilfer from sexp_path for what I want
23:59
minimalism has quit [Quit: minimalism]
23:59
gusrub has quit [Remote host closed the connection]