00:02
brent__ has joined #ruby
00:05
aef has joined #ruby
00:06
hutch34 has quit [Quit: WeeChat 1.5]
00:07
Pupeno has joined #ruby
00:09
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:10
braincrash has quit [Ping timeout: 264 seconds]
00:10
Pupeno has quit [Remote host closed the connection]
00:11
frozengeek__ has quit [Quit: frozengeek__]
00:11
frozengeek__ has joined #ruby
00:16
aryaching has joined #ruby
00:16
teclator has quit [Quit: No Ping reply in 180 seconds.]
00:17
hotpancakes has quit [Remote host closed the connection]
00:17
jackjackdripper has joined #ruby
00:17
ruid has quit [Ping timeout: 264 seconds]
00:17
braincrash has joined #ruby
00:18
teclator has joined #ruby
00:18
empty_cup has joined #ruby
00:21
teclator has quit [Client Quit]
00:21
enterprisey has quit [Ping timeout: 258 seconds]
00:23
teclator has joined #ruby
00:23
hotpancakes has joined #ruby
00:23
nadir has joined #ruby
00:25
enyo has joined #ruby
00:25
enterprisey has joined #ruby
00:27
audibleblink has left #ruby ["WeeChat 1.6"]
00:29
enyo has quit [Ping timeout: 258 seconds]
00:30
hotpancakes has quit [Remote host closed the connection]
00:32
hotpancakes has joined #ruby
00:33
bronson has joined #ruby
00:37
teclator has quit [Quit: No Ping reply in 180 seconds.]
00:38
bronson has quit [Ping timeout: 264 seconds]
00:38
teclator has joined #ruby
00:38
CloCkWeRX has quit [Quit: Leaving.]
00:39
<
solidsnack >
chrisseaton: Thanks for your help earlier.
00:39
postmodern has joined #ruby
00:41
aryaching has quit [Ping timeout: 246 seconds]
00:42
teclator has quit [Client Quit]
00:43
frozengeek__ has quit [Quit: frozengeek__]
00:44
houhoulis has quit [Remote host closed the connection]
00:44
teclator has joined #ruby
00:46
hotpancakes has quit [Remote host closed the connection]
00:47
hotpancakes has joined #ruby
00:49
ruid has joined #ruby
00:49
ruid has joined #ruby
00:49
ruid has quit [Changing host]
00:49
teclator has quit [Quit: No Ping reply in 180 seconds.]
00:51
teclator has joined #ruby
00:52
PaulCape_ has joined #ruby
00:53
saneax is now known as saneax-_-|AFK
00:54
empty_cup has quit [Quit: leaving]
00:54
teclator has quit [Client Quit]
00:55
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:55
teclator has joined #ruby
00:56
hotpancakes has quit [Remote host closed the connection]
00:57
nankyokusei has joined #ruby
00:57
hotpancakes has joined #ruby
00:58
phoo1234567 has quit [Quit: Gotta go]
00:58
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:59
teclator has quit [Client Quit]
01:00
teclator has joined #ruby
01:00
houhoulis has joined #ruby
01:02
nankyokusei has quit [Ping timeout: 256 seconds]
01:03
newbie1 has quit [Read error: Connection reset by peer]
01:03
newbie1 has joined #ruby
01:03
bmurt has joined #ruby
01:04
teclator has quit [Client Quit]
01:05
teclator has joined #ruby
01:05
gloscombe has joined #ruby
01:06
houhoulis has quit [Ping timeout: 248 seconds]
01:08
teclator has quit [Client Quit]
01:10
teclator has joined #ruby
01:11
aidalgol has joined #ruby
01:12
aryaching has joined #ruby
01:13
charliesome has joined #ruby
01:17
Kaze_FX has quit [Quit: Lost terminal]
01:18
dcunit3d has joined #ruby
01:18
porfa has quit [Quit: porfa]
01:18
Kaze_FX has joined #ruby
01:21
Azure has joined #ruby
01:21
blackwind_123 has joined #ruby
01:21
gloscombe has quit [Remote host closed the connection]
01:24
teclator has quit [Quit: No Ping reply in 180 seconds.]
01:24
muelleme has joined #ruby
01:26
teclator has joined #ruby
01:27
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:27
oaklndr1 has quit [Ping timeout: 258 seconds]
01:28
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:28
Kug3lis has joined #ruby
01:29
ruid has quit [Ping timeout: 252 seconds]
01:30
hahuang61 has joined #ruby
01:30
teclator has quit [Client Quit]
01:30
izaakf has quit [Ping timeout: 260 seconds]
01:31
muelleme has quit [Ping timeout: 252 seconds]
01:31
blackwind_123 has quit [Ping timeout: 245 seconds]
01:31
teclator has joined #ruby
01:33
porfa has joined #ruby
01:33
binaryplease has quit [Ping timeout: 258 seconds]
01:33
brent__ has quit [Remote host closed the connection]
01:34
LoneHerm_ has joined #ruby
01:34
chouhoulis has joined #ruby
01:34
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:35
teclator has quit [Client Quit]
01:35
hahuang61 has quit [Ping timeout: 258 seconds]
01:36
charliesome has joined #ruby
01:38
teclator has joined #ruby
01:38
millerti has joined #ruby
01:40
blackbom1 has joined #ruby
01:40
hotpancakes has quit [Remote host closed the connection]
01:41
hotpancakes has joined #ruby
01:42
teclator has quit [Client Quit]
01:42
newbie1 has quit [Ping timeout: 260 seconds]
01:43
marr has quit [Ping timeout: 264 seconds]
01:44
hotpancakes has quit [Remote host closed the connection]
01:44
hotpancakes has joined #ruby
01:44
teclator has joined #ruby
01:48
teclator has quit [Client Quit]
01:49
username_ has joined #ruby
01:50
teclator has joined #ruby
01:50
arescorpio has joined #ruby
01:50
blackwind_123 has joined #ruby
01:53
teclator has quit [Client Quit]
01:54
hotpancakes has quit [Remote host closed the connection]
01:54
hotpancakes has joined #ruby
01:55
teclator has joined #ruby
01:55
lolmaus_ has quit [Quit: Connection closed for inactivity]
01:57
username_ has quit [Read error: Connection reset by peer]
01:59
hotpancakes has quit [Ping timeout: 245 seconds]
01:59
teclator has quit [Client Quit]
02:01
teclator has joined #ruby
02:03
porfa has quit [Quit: porfa]
02:03
Pupeno has joined #ruby
02:03
polysics has joined #ruby
02:05
teclator has quit [Client Quit]
02:06
porfa has joined #ruby
02:06
teclator has joined #ruby
02:10
teclator has quit [Client Quit]
02:12
teclator has joined #ruby
02:13
enyo has joined #ruby
02:13
Pupeno has quit [Remote host closed the connection]
02:13
hotpancakes has joined #ruby
02:15
teclator has quit [Client Quit]
02:16
Kaze_FX has quit [Ping timeout: 264 seconds]
02:17
enilsen16 has quit [Quit: enilsen16]
02:17
teclator has joined #ruby
02:17
enyo has quit [Ping timeout: 252 seconds]
02:18
ltp has joined #ruby
02:18
Kaze_FX has joined #ruby
02:19
raeoks has joined #ruby
02:22
teclator has quit [Quit: No Ping reply in 180 seconds.]
02:24
teclator has joined #ruby
02:25
Kug3lis has joined #ruby
02:25
Channel6 has quit [Quit: Leaving]
02:26
xlegoman has quit [Quit: xlegoman]
02:27
raeoks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:28
ptx0 has joined #ruby
02:29
teclator has quit [Client Quit]
02:29
polysics has quit [Remote host closed the connection]
02:30
teclator has joined #ruby
02:32
ur5us has quit [Remote host closed the connection]
02:33
bronson has joined #ruby
02:35
pilne has quit [Quit: Quitting!]
02:36
houhoulis has joined #ruby
02:36
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:37
teclator has quit [Quit: No Ping reply in 180 seconds.]
02:38
charliesome has joined #ruby
02:38
bronson has quit [Ping timeout: 260 seconds]
02:38
ur5us has joined #ruby
02:39
teclator has joined #ruby
02:44
jcao219 has joined #ruby
02:44
anisha has joined #ruby
02:44
chouhoulis has quit [Remote host closed the connection]
02:47
meinside has quit [Quit: Connection closed for inactivity]
02:47
teclator has quit [Quit: No Ping reply in 180 seconds.]
02:49
al2o3-cr has quit [Ping timeout: 258 seconds]
02:49
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:49
teclator has joined #ruby
02:52
d^sh has quit [Ping timeout: 252 seconds]
02:53
d^sh has joined #ruby
02:55
JoshS has joined #ruby
02:57
al2o3-cr has joined #ruby
02:58
nankyokusei has joined #ruby
02:59
teclator has quit [Quit: No Ping reply in 180 seconds.]
02:59
optiz0r has quit [Ping timeout: 258 seconds]
03:00
teclator has joined #ruby
03:00
hanmac has quit [Ping timeout: 258 seconds]
03:02
jcao219 has quit [Ping timeout: 258 seconds]
03:02
nankyokusei has quit [Ping timeout: 265 seconds]
03:03
jcao219 has joined #ruby
03:04
dcunit3d has quit [Ping timeout: 248 seconds]
03:06
astrobunny has joined #ruby
03:07
al2o3-cr has quit [Read error: Connection reset by peer]
03:07
Kug3lis is now known as Kug3lis_off
03:08
teclator has quit [Quit: No Ping reply in 180 seconds.]
03:10
al2o3-cr has joined #ruby
03:10
teclator has joined #ruby
03:11
<
bougyman >
is there any short way to break an integer up into an array of digits?
03:11
<
bougyman >
80912.to_s.chars.map(&:to_i) is way too long
03:12
* bougyman
golfing again
03:12
houhoulis has quit []
03:14
teclator has quit [Client Quit]
03:15
hanmac has joined #ruby
03:16
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
03:16
teclator has joined #ruby
03:16
swills has quit [Quit: Leaving]
03:16
<
elomatreb >
bougyman: Ruby 2.4 has .digits, but not before that
03:16
dcunit3d has joined #ruby
03:19
<
bougyman >
undefined method `digits' for 8809:Fixnum
03:19
<
bougyman >
they're not 2.4 yet
03:19
<
bougyman >
my solution is string based now.
03:20
<
bougyman >
I learn crazy tricks from seeing how some of these guys get such short solutions.
03:20
<
bougyman >
my best on this is 64, the top .rb score is 48 right now
03:20
<
bougyman >
oh shit, 46
03:21
teclator has quit [Quit: No Ping reply in 180 seconds.]
03:22
teclator has joined #ruby
03:25
owyongsk has joined #ruby
03:25
teclator has quit [Client Quit]
03:26
<
blackbom1 >
more and more i dream of a ruby that was frozen around 1.8
03:26
<
blackbom1 >
or frozen at 1.9.3, frozen in terms of language features.
03:28
braincrash has quit [Ping timeout: 268 seconds]
03:28
teclator has joined #ruby
03:28
harfangk has joined #ruby
03:30
elh9 has joined #ruby
03:30
aryaching has quit [Read error: Connection reset by peer]
03:31
minimalism has quit [Quit: minimalism]
03:31
norkle has joined #ruby
03:31
teclator has quit [Client Quit]
03:32
hahuang61 has joined #ruby
03:33
teclator has joined #ruby
03:35
Channel6 has joined #ruby
03:35
BitWhisperer has quit [Remote host closed the connection]
03:36
elh9 has quit [Quit: Leaving]
03:36
teclator has quit [Client Quit]
03:36
elh9 has joined #ruby
03:36
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:36
hahuang61 has quit [Ping timeout: 260 seconds]
03:38
teclator has joined #ruby
03:42
symm- has quit [Quit: Leaving...]
03:43
loechel has joined #ruby
03:44
Pumukel has quit [Ping timeout: 260 seconds]
03:45
tmtwd has quit [Ping timeout: 268 seconds]
03:45
spiette has quit [Ping timeout: 258 seconds]
03:47
teclator has quit [Quit: No Ping reply in 180 seconds.]
03:47
symm- has joined #ruby
03:48
symm- has quit [Client Quit]
03:49
teclator has joined #ruby
03:49
JoshS has quit [Ping timeout: 268 seconds]
03:50
nadir is now known as nadir|mobile
03:50
hotpancakes has quit [Remote host closed the connection]
03:50
hotpancakes has joined #ruby
03:51
JoshS has joined #ruby
03:52
teclator has quit [Client Quit]
03:53
hahuang61 has joined #ruby
03:54
teclator has joined #ruby
04:00
hahuang61 has quit [Ping timeout: 240 seconds]
04:01
symm- has joined #ruby
04:01
enyo has joined #ruby
04:04
CloCkWeRX has joined #ruby
04:05
houhoulis has joined #ruby
04:05
enyo has quit [Ping timeout: 245 seconds]
04:06
sarbs has quit [Ping timeout: 256 seconds]
04:07
hutch34 has joined #ruby
04:09
teclator has quit [Quit: No Ping reply in 180 seconds.]
04:11
teclator has joined #ruby
04:12
sarbs has joined #ruby
04:15
dviola has quit [Quit: WeeChat 1.6]
04:16
anisha has quit [Quit: This computer has gone to sleep]
04:18
pawnbox has joined #ruby
04:21
symm- has quit [Ping timeout: 268 seconds]
04:25
foption has quit [Remote host closed the connection]
04:26
aryaching has joined #ruby
04:30
optiz0r has joined #ruby
04:31
montanonic has quit [Ping timeout: 264 seconds]
04:32
Pisuke has quit [Ping timeout: 260 seconds]
04:35
gix has quit [Ping timeout: 252 seconds]
04:38
al2o3-cr has quit [Read error: Connection reset by peer]
04:38
pawnbox has quit [Remote host closed the connection]
04:39
pawnbox has joined #ruby
04:40
gix has joined #ruby
04:41
aupadhye has joined #ruby
04:41
al2o3-cr has joined #ruby
04:42
pawnbox_ has joined #ruby
04:42
pawnbox has quit [Remote host closed the connection]
04:45
pawnbox_ has quit [Remote host closed the connection]
04:49
CloCkWeRX has quit [Quit: Leaving.]
04:50
porfa has quit [Quit: porfa]
04:50
axl_ has joined #ruby
04:50
braincrash has joined #ruby
04:53
symm- has joined #ruby
04:55
CloCkWeRX has joined #ruby
04:59
nankyokusei has joined #ruby
05:00
<
thadtheman >
If I do a IO.popen("cd some_dir;command") will I return to the original directory when popen finishes?
05:01
pawnbox has joined #ruby
05:01
axl_ has quit [Quit: axl_]
05:02
anisha has joined #ruby
05:02
hotpancakes has quit [Remote host closed the connection]
05:03
hotpancakes has joined #ruby
05:03
nankyokusei has quit [Ping timeout: 265 seconds]
05:04
arescorpio has quit [Quit: Leaving.]
05:04
braincrash has quit [Ping timeout: 268 seconds]
05:05
jackjackdripper has quit [Quit: Leaving.]
05:06
pawnbox has quit [Ping timeout: 264 seconds]
05:07
hotpancakes has quit [Ping timeout: 258 seconds]
05:08
pawnbox has joined #ruby
05:09
petrichorx has joined #ruby
05:12
owyongsk has quit [Quit: Page closed]
05:16
<
blackbom1 >
popen uses fork, so you won't ever leave the original directory, only the popen process will.
05:18
<
zenspider >
thadtheman: that's incredibly easy to just test and answer yourself...
05:18
braincrash has joined #ruby
05:22
testuser1 has joined #ruby
05:22
symm- has quit [Ping timeout: 248 seconds]
05:22
lxsameer has joined #ruby
05:22
ur5us has quit [Remote host closed the connection]
05:26
aryaching has quit [Ping timeout: 258 seconds]
05:26
pawnbox has quit [Remote host closed the connection]
05:27
pawnbox has joined #ruby
05:28
aryaching has joined #ruby
05:31
pawnbox has quit [Ping timeout: 246 seconds]
05:32
aryaching has quit [Ping timeout: 265 seconds]
05:33
hotpancakes has joined #ruby
05:36
hutch34 has quit [Ping timeout: 268 seconds]
05:39
aryaching has joined #ruby
05:39
aryaching has quit [Client Quit]
05:39
aryaching has joined #ruby
05:40
elvin has joined #ruby
05:42
spiette has joined #ruby
05:42
LoneHerm_ has quit [Remote host closed the connection]
05:43
LoneHerm_ has joined #ruby
05:45
hutch34 has joined #ruby
05:45
aremaref has joined #ruby
05:47
LoneHerm_ has quit [Ping timeout: 258 seconds]
05:47
nowhere_man has quit [Ping timeout: 252 seconds]
05:48
d0nn1e has quit [Ping timeout: 258 seconds]
05:49
ur5us has joined #ruby
05:49
enyo has joined #ruby
05:49
ur5us has quit [Remote host closed the connection]
05:50
d0nn1e has joined #ruby
05:54
enyo has quit [Ping timeout: 264 seconds]
05:54
jshjsh has joined #ruby
05:56
pawnbox has joined #ruby
05:56
JoshS has quit [Ping timeout: 268 seconds]
06:02
Channel6 has quit [Quit: Leaving]
06:02
govg has joined #ruby
06:05
swills has joined #ruby
06:06
houhoulis has quit [Remote host closed the connection]
06:07
Vile` has quit [Read error: Connection reset by peer]
06:07
CloCkWeRX has quit [Quit: Leaving.]
06:08
saneax-_-|AFK is now known as saneax
06:09
aupadhye has quit [Ping timeout: 248 seconds]
06:10
CloCkWeRX has joined #ruby
06:11
raeoks has joined #ruby
06:11
pawnbox has quit [Remote host closed the connection]
06:13
alan_w has quit [Quit: WeeChat 1.4]
06:15
hutch34 has quit [Quit: WeeChat 1.5]
06:16
benlieb has joined #ruby
06:18
perniciouscaffei has joined #ruby
06:20
benlieb has quit [Client Quit]
06:22
a7d7p has joined #ruby
06:22
benlieb has joined #ruby
06:23
benlieb has quit [Client Quit]
06:24
pawnbox has joined #ruby
06:25
aupadhye has joined #ruby
06:25
UserJosh has joined #ruby
06:27
UserJosh has quit [Max SendQ exceeded]
06:29
jshjsh has quit [Ping timeout: 268 seconds]
06:30
Kug3lis_off is now known as Kug3lis
06:34
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:34
braincrash has quit [Ping timeout: 245 seconds]
06:34
enyo has joined #ruby
06:36
montanonic has joined #ruby
06:41
Kug3lis is now known as Kug3lis_off
06:42
benlieb has joined #ruby
06:43
perniciouscaffei has joined #ruby
06:44
solocshaw has joined #ruby
06:45
hotpancakes has quit [Remote host closed the connection]
06:46
enterprisey has quit [Remote host closed the connection]
06:46
hotpancakes has joined #ruby
06:47
braincrash has joined #ruby
06:48
aryaching has quit [Ping timeout: 252 seconds]
06:49
aryaching has joined #ruby
06:51
UserJosh has joined #ruby
06:52
enyo has quit [Ping timeout: 258 seconds]
06:53
CloCkWeRX has left #ruby [#ruby]
06:53
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:57
muelleme has joined #ruby
06:57
SpiffTR has joined #ruby
06:58
Mon_Ouie has quit [Ping timeout: 248 seconds]
06:59
nankyokusei has joined #ruby
07:02
muelleme has quit [Ping timeout: 252 seconds]
07:04
nankyokusei has quit [Ping timeout: 252 seconds]
07:05
braincrash has quit [Ping timeout: 260 seconds]
07:08
jackjackdripper has joined #ruby
07:08
aremaref has quit [Ping timeout: 268 seconds]
07:13
SpiffTR has quit [Quit: Leaving.]
07:13
pawnbox has quit [Remote host closed the connection]
07:14
pawnbox has joined #ruby
07:15
Tanfrieze has quit [Ping timeout: 264 seconds]
07:16
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:17
blackwind_123 has quit [Ping timeout: 264 seconds]
07:17
petrichorx has quit [Quit: Connection closed for inactivity]
07:17
braincrash has joined #ruby
07:17
JoshS has joined #ruby
07:20
UserJosh has quit [Ping timeout: 268 seconds]
07:21
tvw has joined #ruby
07:22
andikr has joined #ruby
07:29
al2o3-cr has quit [Read error: Connection reset by peer]
07:31
hotpancakes has quit [Remote host closed the connection]
07:31
hotpancakes has joined #ruby
07:34
aryaching has quit [Ping timeout: 256 seconds]
07:35
ta has quit [Remote host closed the connection]
07:35
aryaching has joined #ruby
07:36
hotpancakes has quit [Ping timeout: 258 seconds]
07:36
govg has quit [Ping timeout: 258 seconds]
07:36
hotpancakes has joined #ruby
07:37
a7d7p has quit [Quit: a7d7p]
07:37
al2o3-cr has joined #ruby
07:37
benlieb has quit [Quit: benlieb]
07:43
enyo has joined #ruby
07:44
aremaref has joined #ruby
07:45
Mortomes|Work has joined #ruby
07:46
hotpancakes has quit [Remote host closed the connection]
07:47
rippa has joined #ruby
07:48
enyo has quit [Ping timeout: 268 seconds]
07:49
conta has joined #ruby
07:50
solocshaw has quit [Ping timeout: 258 seconds]
07:51
doubleemms has quit [Remote host closed the connection]
07:52
SpiffTR has joined #ruby
07:53
Mia has joined #ruby
07:55
Mon_Ouie has joined #ruby
07:57
doublemalt_ has joined #ruby
07:58
montanonic has quit [Ping timeout: 265 seconds]
07:58
elh9 has quit [Remote host closed the connection]
08:00
raeoks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:01
vondruch has quit [Ping timeout: 258 seconds]
08:02
ledestin has joined #ruby
08:02
reaVer has quit [Quit: Lost terminal]
08:03
elh9 has joined #ruby
08:03
markholmes has quit [Ping timeout: 258 seconds]
08:04
banisterfiend has joined #ruby
08:05
astrobun_ has joined #ruby
08:08
Kug3lis_off is now known as Kug3lis
08:09
astrobunny has quit [Ping timeout: 265 seconds]
08:11
jcao219 has quit [Ping timeout: 258 seconds]
08:14
callenb has joined #ruby
08:14
enyo has joined #ruby
08:15
aryaching has quit [Ping timeout: 245 seconds]
08:16
aryaching has joined #ruby
08:16
gigetoo has quit [Ping timeout: 260 seconds]
08:17
pawnbox has quit [Remote host closed the connection]
08:18
vondruch has joined #ruby
08:20
jcao219 has joined #ruby
08:21
Kug3lis is now known as Kug3lis_off
08:21
elh9 has quit [Ping timeout: 245 seconds]
08:22
<
manveru >
weird, my 2.4 has Integer#digits, and if you 8809 is a Fixnum, then you're not on 2.4 yet anyway
08:24
mrwn has joined #ruby
08:24
a7d7p_ has joined #ruby
08:26
aremaref has quit [Ping timeout: 248 seconds]
08:26
guardian has left #ruby ["WeeChat 1.5"]
08:26
byte512 has joined #ruby
08:27
skweek has quit [Ping timeout: 264 seconds]
08:27
roger_rabbit has quit [Ping timeout: 258 seconds]
08:28
testuser1 has quit [Quit: Leaving.]
08:29
montanonic has joined #ruby
08:29
gigetoo has joined #ruby
08:29
SpiffTR has quit [Quit: Leaving.]
08:30
blur3d has joined #ruby
08:30
aufi has joined #ruby
08:32
Kug3lis has joined #ruby
08:34
ta has joined #ruby
08:36
last_staff has joined #ruby
08:39
pawnbox has joined #ruby
08:40
a7d7p_ has quit [Quit: a7d7p_]
08:41
avelldiroll has quit [Quit: WeeChat 1.0.1]
08:45
_whitelogger has joined #ruby
08:46
hotpancakes has joined #ruby
08:48
jcao219 has quit [Ping timeout: 252 seconds]
08:51
hotpancakes has quit [Ping timeout: 240 seconds]
08:51
avelldiroll has joined #ruby
08:54
tvw has quit [Read error: Connection reset by peer]
08:55
doubleemms has joined #ruby
08:55
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
08:55
teclator has quit [Ping timeout: 260 seconds]
08:59
doubleemms has quit [Ping timeout: 258 seconds]
09:00
raeoks has joined #ruby
09:00
nankyokusei has joined #ruby
09:01
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:02
djbkd has quit [Quit: Leaving...]
09:03
Kug3lis has joined #ruby
09:04
raeoks has quit [Client Quit]
09:05
nankyokusei has quit [Ping timeout: 252 seconds]
09:05
banisterfiend has quit [Ping timeout: 258 seconds]
09:11
blur3d has quit [Quit: blur3d]
09:12
raeoks has joined #ruby
09:13
SpiffTR has joined #ruby
09:15
al2o3-cr has quit [Ping timeout: 256 seconds]
09:18
Fernando-Basso has joined #ruby
09:24
auzty has joined #ruby
09:24
teclator has joined #ruby
09:24
senayar has joined #ruby
09:24
senayar has joined #ruby
09:24
senayar has quit [Changing host]
09:27
banisterfiend has joined #ruby
09:27
blackbom1 has quit [Ping timeout: 245 seconds]
09:30
SpiffTR has quit [Quit: Leaving.]
09:30
Synthead has quit [Ping timeout: 256 seconds]
09:30
Tanfrieze has joined #ruby
09:31
JoL1hAHN has quit [Ping timeout: 256 seconds]
09:31
Synthead has joined #ruby
09:31
SpiffTR has joined #ruby
09:34
matp has quit [Read error: Connection reset by peer]
09:35
astrobun_ has quit [Ping timeout: 252 seconds]
09:36
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:36
matp has joined #ruby
09:37
Kug3lis has joined #ruby
09:45
SpiffTR1 has joined #ruby
09:45
SpiffTR has quit [Read error: Connection reset by peer]
09:45
SpiffTR has joined #ruby
09:46
lightstalker has quit [Ping timeout: 256 seconds]
09:46
Tharbakim has quit [Ping timeout: 256 seconds]
09:47
conta has quit [Quit: conta]
09:48
conta has joined #ruby
09:48
lenwood has joined #ruby
09:49
hotpancakes has joined #ruby
09:49
dminuoso has quit [Changing host]
09:49
dminuoso has joined #ruby
09:49
lightstalker has joined #ruby
09:49
SpiffTR1 has quit [Ping timeout: 260 seconds]
09:49
Tharbakim has joined #ruby
09:50
agit0 has quit [Quit: zzzZZZ….]
09:51
djbkd has joined #ruby
09:52
pandaant has joined #ruby
09:57
_whitelogger has joined #ruby
09:57
cb has quit [Remote host closed the connection]
09:57
lenwood has quit [Quit: Konversation terminated!]
09:58
JoL1hAHN has joined #ruby
09:58
lenwood has joined #ruby
10:00
jackjackdripper has quit [Quit: Leaving.]
10:03
callenb has quit [Read error: Connection reset by peer]
10:04
rodfersou has joined #ruby
10:05
x0f has joined #ruby
10:06
gajus has joined #ruby
10:08
hotpancakes has quit [Ping timeout: 240 seconds]
10:08
SpiffTR has quit [Ping timeout: 268 seconds]
10:08
SpiffTR1 has joined #ruby
10:09
sebd has joined #ruby
10:09
x0f_ has joined #ruby
10:10
cb has joined #ruby
10:10
x0f has quit [Ping timeout: 268 seconds]
10:12
mrwn has quit [Remote host closed the connection]
10:16
djbkd has quit [Remote host closed the connection]
10:22
Pumukel has joined #ruby
10:25
loechel has quit [Ping timeout: 260 seconds]
10:28
SpiffTR has joined #ruby
10:29
SpiffTR1 has quit [Ping timeout: 246 seconds]
10:30
TvL2386 has joined #ruby
10:33
binaryplease has joined #ruby
10:34
binaryplease has quit [Client Quit]
10:35
tlaxkit has joined #ruby
10:36
bijan_ has joined #ruby
10:36
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:37
vondruch has quit [Quit: vondruch]
10:37
montanonic has quit [Ping timeout: 245 seconds]
10:38
nowz has joined #ruby
10:38
vondruch has joined #ruby
10:39
rodfersou has quit [Ping timeout: 264 seconds]
10:39
x0f_ has quit [Ping timeout: 258 seconds]
10:40
marr has joined #ruby
10:41
agit0 has joined #ruby
10:42
rodfersou has joined #ruby
10:43
doubleemms has joined #ruby
10:45
Kug3lis has joined #ruby
10:46
x0f has joined #ruby
10:47
agit0 has quit [Ping timeout: 265 seconds]
10:47
doubleemms has quit [Ping timeout: 245 seconds]
10:48
nadir|mobile has quit [Quit: Connection closed for inactivity]
10:50
bascht has quit [Killed (sinisalo.freenode.net (Nickname regained by services))]
10:50
Guest77360 has joined #ruby
10:50
x0f has quit [Ping timeout: 258 seconds]
10:51
iogf has quit [Remote host closed the connection]
10:51
<
linduxed >
so Date#parse can take arguments like "monday" or "tue" and have it figure out what that means
10:52
<
linduxed >
but that only applies to future dates
10:52
x0f has joined #ruby
10:52
<
linduxed >
without using Timecop, can i make Date#parse understand "monday", relative to some date?
10:53
<
linduxed >
yes, i basically want to do what Timecop does without Timecop
10:55
charliesome has joined #ruby
10:57
x0f has quit [Ping timeout: 256 seconds]
11:00
x0f has joined #ruby
11:01
yardenbar has joined #ruby
11:01
nankyokusei has joined #ruby
11:02
pawnbox has quit [Remote host closed the connection]
11:04
hotpancakes has joined #ruby
11:05
x0f has quit [Ping timeout: 265 seconds]
11:05
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:06
nankyokusei has quit [Ping timeout: 258 seconds]
11:06
x0f has joined #ruby
11:09
Pupeno has joined #ruby
11:09
Pupeno has joined #ruby
11:09
Pupeno has quit [Changing host]
11:09
pawnbox has joined #ruby
11:10
<
matthewd >
bougyman: 45 ;)
11:10
Ishido has joined #ruby
11:13
xen0fon has joined #ruby
11:15
bijan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:16
aidalgol has quit [Quit: zZzZZzzz]
11:21
teclator has quit [Ping timeout: 265 seconds]
11:22
hotpancakes has quit [Ping timeout: 240 seconds]
11:22
Pupeno has quit [Quit: Leaving...]
11:23
biberu has joined #ruby
11:24
meinside has joined #ruby
11:29
SpiffTR has quit [Quit: Leaving.]
11:29
ptx0 has quit [Ping timeout: 268 seconds]
11:31
enyo has quit [Ping timeout: 246 seconds]
11:33
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:39
Kug3lis_off has quit [Ping timeout: 246 seconds]
11:41
elh9 has joined #ruby
11:44
jaruga___ has joined #ruby
11:44
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:46
blackbom1 has joined #ruby
11:48
SpiffTR has joined #ruby
11:51
charliesome has joined #ruby
11:52
ericwood has quit [Ping timeout: 265 seconds]
11:52
ericwood has joined #ruby
11:53
elh9 has quit [Remote host closed the connection]
11:53
auzty has quit [Quit: Leaving]
11:53
elh9 has joined #ruby
11:55
tlaxkit has quit [Remote host closed the connection]
11:56
tlaxkit has joined #ruby
11:59
roamingdog has quit [Remote host closed the connection]
11:59
opt9 has quit [Quit: Bye bye]
12:01
jshjsh has joined #ruby
12:01
opt9 has joined #ruby
12:03
postmodern has quit [Quit: Leaving]
12:04
JoshS has quit [Ping timeout: 248 seconds]
12:04
braincrash has quit [Ping timeout: 256 seconds]
12:07
nettoweb has joined #ruby
12:08
enyo has joined #ruby
12:10
teclator has joined #ruby
12:10
al2o3-cr has joined #ruby
12:16
rippa has joined #ruby
12:16
polysics has joined #ruby
12:16
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
12:17
Ishido has quit [Remote host closed the connection]
12:17
lenwood has quit [Ping timeout: 268 seconds]
12:17
braincrash has joined #ruby
12:18
polysics has quit [Remote host closed the connection]
12:20
hotpancakes has joined #ruby
12:21
Ishido has joined #ruby
12:23
sepp2k has joined #ruby
12:23
gloscombe has joined #ruby
12:23
Kug3lis has joined #ruby
12:29
saneax is now known as saneax-_-|AFK
12:30
SpiffTR has quit [Quit: Leaving.]
12:31
doubleemms has joined #ruby
12:32
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
12:34
nowz has quit [Remote host closed the connection]
12:35
hotpancakes has quit [Ping timeout: 258 seconds]
12:36
pawnbox has quit [Remote host closed the connection]
12:36
pawnbox has joined #ruby
12:37
doubleemms has quit [Ping timeout: 258 seconds]
12:38
ledestin has joined #ruby
12:40
quiqua has joined #ruby
12:40
lenwood has joined #ruby
12:43
ledestin has quit [Ping timeout: 248 seconds]
12:44
tvon has quit [Remote host closed the connection]
12:46
pawnbox has quit [Remote host closed the connection]
12:46
pawnbox has joined #ruby
12:49
jmignault has joined #ruby
12:49
braincrash has quit [Ping timeout: 258 seconds]
12:49
unshadow has joined #ruby
12:49
bijan_ has joined #ruby
12:51
grug has quit [Ping timeout: 256 seconds]
12:51
slackbotgz has joined #ruby
12:51
iNs has joined #ruby
12:53
charliesome has joined #ruby
12:55
sdothum has joined #ruby
12:58
<
zenspider >
linduxed: you want something like the monday after a certain date?
12:58
<
linduxed >
zenspider: yes
12:58
<
zenspider >
not hard to do... just look at the API available on date.
12:59
<
zenspider >
wday and + are pretty much all you need
13:00
<
zenspider >
>> require "date"; d = Date.new 2017, 2, 1; d += 1 until d.wday == 2; d
13:01
<
zenspider >
you could, of course, be smarter about the += 1 bit
13:01
kosteek has joined #ruby
13:02
<
zenspider >
(first tuesday of february)
13:02
jmignault has quit [Ping timeout: 252 seconds]
13:02
nankyokusei has joined #ruby
13:02
kosteek has left #ruby [#ruby]
13:03
dionysus69 has joined #ruby
13:03
nowz has joined #ruby
13:03
braincrash has joined #ruby
13:04
dionysus69 has quit [Client Quit]
13:05
SesMan has joined #ruby
13:05
anisha has quit [Quit: Leaving]
13:06
dionysus69 has joined #ruby
13:07
loechel has joined #ruby
13:07
nankyokusei has quit [Ping timeout: 264 seconds]
13:07
lenwood has quit [Ping timeout: 258 seconds]
13:07
Pumukel has quit [Ping timeout: 246 seconds]
13:08
doublemalt_ has quit [Ping timeout: 246 seconds]
13:11
brendan- has joined #ruby
13:15
SpiffTR has joined #ruby
13:18
pilne has joined #ruby
13:19
DTZUZU2 has quit [Ping timeout: 245 seconds]
13:21
doublemalt_ has joined #ruby
13:23
howdoi has quit [Quit: Connection closed for inactivity]
13:24
tlaxkit has quit [Remote host closed the connection]
13:24
tlaxkit has joined #ruby
13:25
dionysus69 has quit [Ping timeout: 264 seconds]
13:26
minimalism has joined #ruby
13:27
dionysus69 has joined #ruby
13:27
CloCkWeRX has joined #ruby
13:27
nowhere_man has joined #ruby
13:27
slackbotgz has quit [Remote host closed the connection]
13:31
jmignault has joined #ruby
13:35
cibs has quit [Ping timeout: 268 seconds]
13:36
futilegames has joined #ruby
13:36
jmignault has quit [Ping timeout: 256 seconds]
13:36
cibs has joined #ruby
13:36
CloCkWeRX has quit [Ping timeout: 246 seconds]
13:37
sami_ has joined #ruby
13:37
lenwood has joined #ruby
13:37
sami_ is now known as Guest73823
13:38
Guest73823 is now known as sami
13:41
SpiffTR has quit [Quit: Leaving.]
13:41
futilegames has quit [Quit: futilegames]
13:42
UserJosh has joined #ruby
13:43
futilegames has joined #ruby
13:43
god has joined #ruby
13:43
god has quit [Remote host closed the connection]
13:44
aupadhye has quit [Quit: Leaving]
13:45
jshjsh has quit [Ping timeout: 248 seconds]
13:45
nowhere_man has quit [Remote host closed the connection]
13:45
modin has quit [Ping timeout: 246 seconds]
13:45
lxsameer has quit [Quit: WeeChat 1.6]
13:46
SpiffTR has joined #ruby
13:46
nowhere_man has joined #ruby
13:46
prestorium has joined #ruby
13:47
pandaant has quit [Remote host closed the connection]
13:47
doublemalt_ has quit [Ping timeout: 264 seconds]
13:48
elh9 has quit [Ping timeout: 245 seconds]
13:48
jshjsh has joined #ruby
13:49
modin has joined #ruby
13:49
futilegames has quit [Remote host closed the connection]
13:50
bijan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:51
CloCkWeRX has joined #ruby
13:52
UserJosh has quit [Ping timeout: 265 seconds]
13:52
bijan_ has joined #ruby
13:55
sepp2k has quit [Ping timeout: 252 seconds]
13:55
CloCkWeRX has quit [Ping timeout: 246 seconds]
13:55
sepp2k has joined #ruby
13:56
rodfersou is now known as rodfersou|lunch
13:58
dionysus69 has quit [Ping timeout: 260 seconds]
13:58
SpiffTR has quit [Quit: Leaving.]
14:00
m_antis has joined #ruby
14:00
doublemalt_ has joined #ruby
14:04
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:06
ramortegui has joined #ruby
14:07
govg has joined #ruby
14:07
SesMan has joined #ruby
14:08
howdoi has joined #ruby
14:10
jallen123 has joined #ruby
14:10
petrichorx has joined #ruby
14:11
SesMan has quit [Client Quit]
14:12
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:12
Mortomes|Work has quit [Ping timeout: 260 seconds]
14:16
nettoweb has joined #ruby
14:16
xen0fon has quit [Quit: xen0fon]
14:17
nowhere_man has quit [Read error: Connection reset by peer]
14:17
jallen123 has quit [Remote host closed the connection]
14:17
nowhereman has joined #ruby
14:19
doubleemms has joined #ruby
14:23
pawnbox has quit [Remote host closed the connection]
14:23
pawnbox has joined #ruby
14:23
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:23
doubleemms has quit [Ping timeout: 240 seconds]
14:24
nowhereman has quit [Remote host closed the connection]
14:25
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:26
cdg has joined #ruby
14:29
quiqua has joined #ruby
14:30
jaruga___ is now known as jaruga
14:30
jmignault has joined #ruby
14:31
hotpancakes has joined #ruby
14:34
nowz has quit [Remote host closed the connection]
14:36
Gasher has joined #ruby
14:37
Kug3lis has joined #ruby
14:37
SpiffTR has joined #ruby
14:40
ta has quit [Remote host closed the connection]
14:42
the_drow has joined #ruby
14:48
pawnbox has quit [Remote host closed the connection]
14:51
Subfusc has joined #ruby
14:52
hotpancakes has quit [Ping timeout: 258 seconds]
14:59
nettoweb has joined #ruby
15:03
_whitelogger has joined #ruby
15:03
nankyokusei has joined #ruby
15:03
rwb has quit [Ping timeout: 258 seconds]
15:04
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:05
SesMan has joined #ruby
15:08
nankyokusei has quit [Ping timeout: 256 seconds]
15:09
shadeslayer has joined #ruby
15:10
roamingdog has joined #ruby
15:14
lszhu has quit [Ping timeout: 258 seconds]
15:15
roamingdog has quit [Ping timeout: 248 seconds]
15:16
ramortegui has quit [Quit: Ex-Chat]
15:18
wugy has joined #ruby
15:18
__Yiota has joined #ruby
15:18
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:18
blackbom1 has quit [Ping timeout: 264 seconds]
15:20
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:21
Kug3lis has joined #ruby
15:23
jallen123 has joined #ruby
15:25
hogetaro has joined #ruby
15:25
harfangk has joined #ruby
15:26
pawnbox has joined #ruby
15:26
hogetaro has quit [Client Quit]
15:27
hogetaro_ has quit [Ping timeout: 258 seconds]
15:29
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:30
nankyokusei has joined #ruby
15:32
bmurt has joined #ruby
15:33
govg has quit [Ping timeout: 258 seconds]
15:35
nankyokusei has quit [Ping timeout: 258 seconds]
15:37
nankyokusei has joined #ruby
15:38
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:38
<
chrisseaton >
nchambers: this route is not used if that block returns false
15:38
blackbom1 has joined #ruby
15:39
bmurt has joined #ruby
15:39
<
nchambers >
and what is a register block?
15:40
bmurt has quit [Client Quit]
15:40
<
chrisseaton >
nchambers: it registers a Sinatra extension, but I'm not really sure how it's being used here
15:42
<
chrisseaton >
nchambers: I think the block returns a 'middleware' object with methods that can intercept the pipeline
15:43
the_drow_ has joined #ruby
15:43
SesMan has joined #ruby
15:44
blackbom1 has quit [Ping timeout: 258 seconds]
15:45
cdg_ has joined #ruby
15:45
hotpancakes has joined #ruby
15:45
<
nchambers >
are these things a feature of sinatra, or a part of ruby itself?
15:46
the_drow has quit [Ping timeout: 268 seconds]
15:46
astrobunny has joined #ruby
15:46
ruid has joined #ruby
15:46
ruid has joined #ruby
15:46
ruid has quit [Changing host]
15:46
cdg has quit [Ping timeout: 240 seconds]
15:47
hogetaro has joined #ruby
15:49
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:50
jmignault has quit [Ping timeout: 265 seconds]
15:50
jhack has joined #ruby
15:51
Kug3lis has joined #ruby
15:51
xen0fon has joined #ruby
15:53
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:53
bmurt has joined #ruby
15:54
jallen123 has quit [Remote host closed the connection]
15:54
bmurt has quit [Client Quit]
15:54
houhoulis has joined #ruby
15:54
jallen123 has joined #ruby
15:55
rodfersou|lunch is now known as rodfersou
15:56
xen0fon has quit [Client Quit]
15:57
sami has quit [Quit: leaving]
15:58
jhack has quit [Quit: jhack]
15:59
jallen123 has quit [Ping timeout: 258 seconds]
16:02
a7d7p has joined #ruby
16:03
a7d7p has quit [Client Quit]
16:05
lenwood has quit [Ping timeout: 258 seconds]
16:05
yardenbar has quit [Ping timeout: 252 seconds]
16:06
pawnbox has quit [Remote host closed the connection]
16:07
blackbom1 has joined #ruby
16:07
unshadow has quit [Ping timeout: 246 seconds]
16:07
doubleemms has joined #ruby
16:08
aufi has quit [Quit: Leaving]
16:09
SpiffTR has quit [Quit: Leaving.]
16:10
Scientz has joined #ruby
16:11
Scientz has quit [Client Quit]
16:11
troys has joined #ruby
16:12
doubleemms has quit [Ping timeout: 258 seconds]
16:16
pawnbox has joined #ruby
16:17
symm- has joined #ruby
16:19
blackbom1 has quit [Ping timeout: 246 seconds]
16:19
blackbom1 has joined #ruby
16:19
jallen123 has joined #ruby
16:20
blackwind_123 has joined #ruby
16:20
pawnbox has quit [Ping timeout: 260 seconds]
16:21
rwb has joined #ruby
16:22
SpiffTR has joined #ruby
16:23
conta has quit [Ping timeout: 252 seconds]
16:24
pawnbox has joined #ruby
16:25
anoutlawstar has joined #ruby
16:27
hotpancakes has quit [Remote host closed the connection]
16:28
nanoz has joined #ruby
16:29
xen0fon has joined #ruby
16:29
pilne has quit [Quit: Quitting!]
16:30
imanc has quit [Disconnected by services]
16:31
xen0fon has quit [Client Quit]
16:31
ruid has quit [Ping timeout: 268 seconds]
16:32
dionysus69 has joined #ruby
16:32
anoutlawstar has quit [Quit: Lost terminal]
16:32
doublemalt__ has joined #ruby
16:33
enyo has quit [Ping timeout: 252 seconds]
16:33
Dreamer3 has joined #ruby
16:36
pilne has joined #ruby
16:36
doublemalt_ has quit [Ping timeout: 258 seconds]
16:39
PaulCape_ has quit [Quit: .]
16:40
astrobunny has quit [Remote host closed the connection]
16:40
cibs has quit [Ping timeout: 268 seconds]
16:41
astrobunny has joined #ruby
16:42
lacour has joined #ruby
16:42
cibs has joined #ruby
16:43
a7d7p_ has joined #ruby
16:44
roamingdog has joined #ruby
16:46
astrobunny has quit [Ping timeout: 268 seconds]
16:46
marr has quit [Ping timeout: 245 seconds]
16:47
marr has joined #ruby
16:47
hotpancakes has joined #ruby
16:48
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:50
nettoweb has joined #ruby
16:52
hotpancakes has quit [Remote host closed the connection]
16:54
jcao219 has joined #ruby
16:54
a7d7p_ has quit [Quit: a7d7p_]
16:54
troys is now known as troys_
16:57
DTZUZU2 has joined #ruby
16:57
PaulCapestany has joined #ruby
16:58
dionysus69 has quit [Remote host closed the connection]
16:59
dionysus69 has joined #ruby
17:00
hotpancakes has joined #ruby
17:00
hotpancakes has quit [Remote host closed the connection]
17:00
hotpancakes has joined #ruby
17:01
PaulCape_ has joined #ruby
17:01
lenwood has joined #ruby
17:01
nadir has joined #ruby
17:02
PaulCapestany has quit [Ping timeout: 258 seconds]
17:02
jallen123 has quit [Remote host closed the connection]
17:03
jaruga has quit [Quit: jaruga]
17:05
cibs has quit [Ping timeout: 268 seconds]
17:06
Anga has joined #ruby
17:07
cibs has joined #ruby
17:10
jcao219 has quit [Ping timeout: 268 seconds]
17:13
cibs has quit [Ping timeout: 268 seconds]
17:13
UserJosh has joined #ruby
17:13
dviola has joined #ruby
17:13
cibs has joined #ruby
17:14
SpiffTR has quit [Quit: Leaving.]
17:15
iogf has joined #ruby
17:16
stokachu has joined #ruby
17:17
jshjsh has quit [Ping timeout: 268 seconds]
17:18
the_drow_ has quit [Quit: This computer has gone to sleep]
17:18
troys_ is now known as troys
17:19
jallen123 has joined #ruby
17:19
lenwood has quit [Ping timeout: 260 seconds]
17:20
tvw has joined #ruby
17:21
statelesscode has quit [Quit: statelesscode]
17:23
unshadow has joined #ruby
17:23
muelleme has joined #ruby
17:25
govg has joined #ruby
17:28
teclator has quit [Remote host closed the connection]
17:29
doublemalt__ has quit [Ping timeout: 268 seconds]
17:29
nankyokusei has quit []
17:31
senayar has quit []
17:31
zacts has joined #ruby
17:34
benlieb has joined #ruby
17:34
braincrash has quit [Ping timeout: 258 seconds]
17:35
UserJosh has quit [Quit: Leaving]
17:37
nankyokusei has joined #ruby
17:37
ur5us has joined #ruby
17:37
ur5us has quit [Remote host closed the connection]
17:37
tlaxkit has quit [Quit: ¡Adiós!]
17:37
petrichorx has quit [Quit: Connection closed for inactivity]
17:37
ur5us has joined #ruby
17:37
minimalism has quit [Quit: minimalism]
17:37
tvon has joined #ruby
17:42
TvL2386 has quit [Read error: Connection reset by peer]
17:44
DLSteve has joined #ruby
17:45
muelleme has quit [Ping timeout: 268 seconds]
17:48
hotpancakes has quit [Remote host closed the connection]
17:51
Anga has quit [Quit: Page closed]
17:51
chrisseaton has quit [Ping timeout: 240 seconds]
17:51
lenwood has joined #ruby
17:51
Kug3lis has quit [Ping timeout: 245 seconds]
17:51
mitsuhiko has quit [Ping timeout: 245 seconds]
17:51
rflot has quit [Ping timeout: 246 seconds]
17:51
ELLIOTTCABLE has quit [Ping timeout: 246 seconds]
17:51
Yonk_ has quit [Ping timeout: 246 seconds]
17:51
chino has quit [Ping timeout: 240 seconds]
17:51
poikon has quit [Ping timeout: 240 seconds]
17:52
meinside has quit [Ping timeout: 245 seconds]
17:52
chromis has quit [Ping timeout: 245 seconds]
17:52
MrBloo has quit [Ping timeout: 246 seconds]
17:52
dmnd has quit [Ping timeout: 258 seconds]
17:52
olivierjanss has quit [Ping timeout: 258 seconds]
17:52
jhill_ has quit [Ping timeout: 258 seconds]
17:52
jmcc has quit [Ping timeout: 258 seconds]
17:52
howdoi has quit [Ping timeout: 246 seconds]
17:52
HashNuke has quit [Ping timeout: 240 seconds]
17:52
bove has quit [Ping timeout: 258 seconds]
17:52
troter__________ has quit [Ping timeout: 258 seconds]
17:52
lancetw has quit [Ping timeout: 260 seconds]
17:52
jimeh has quit [Ping timeout: 246 seconds]
17:52
[diecast] has quit [Ping timeout: 245 seconds]
17:52
LyndsySimon has quit [Ping timeout: 245 seconds]
17:52
amitchellbullard has quit [Ping timeout: 245 seconds]
17:52
aarongodin has quit [Ping timeout: 245 seconds]
17:52
zipkid_ has quit [Ping timeout: 245 seconds]
17:52
sent-hil has quit [Ping timeout: 245 seconds]
17:52
knowtheory has quit [Ping timeout: 245 seconds]
17:52
bweston92 has quit [Ping timeout: 258 seconds]
17:52
cardoni has quit [Ping timeout: 258 seconds]
17:52
vcoinminer has quit [Ping timeout: 258 seconds]
17:53
Lloyd has quit [Ping timeout: 246 seconds]
17:53
pmarreck has quit [Ping timeout: 246 seconds]
17:53
mjc_ has quit [Ping timeout: 246 seconds]
17:53
podman has quit [Ping timeout: 246 seconds]
17:53
pizzaops has quit [Ping timeout: 260 seconds]
17:53
peteretep has quit [Ping timeout: 260 seconds]
17:53
kireevco has quit [Ping timeout: 260 seconds]
17:53
Tony-St4rk has quit [Ping timeout: 260 seconds]
17:53
makufiru has quit [Ping timeout: 260 seconds]
17:53
skmp has quit [Ping timeout: 260 seconds]
17:53
johnkpaul has quit [Ping timeout: 260 seconds]
17:53
jmhmccr has quit [Ping timeout: 260 seconds]
17:53
jpinnix has quit [Ping timeout: 260 seconds]
17:53
gmci has quit [Ping timeout: 258 seconds]
17:53
Eleeleth has quit [Ping timeout: 240 seconds]
17:53
chrisseaton has joined #ruby
17:53
solidsnack has quit [Ping timeout: 260 seconds]
17:53
shelling__ has quit [Ping timeout: 258 seconds]
17:54
poikon has joined #ruby
17:55
jmcc has joined #ruby
17:55
HashNuke has joined #ruby
17:55
zipkid_ has joined #ruby
17:55
rflot has joined #ruby
17:55
MrBloo has joined #ruby
17:55
hotpancakes has joined #ruby
17:55
doubleemms has joined #ruby
17:55
ghostlight has quit [Ping timeout: 264 seconds]
17:55
howdoi has joined #ruby
17:56
meinside has joined #ruby
17:56
shelling__ has joined #ruby
17:56
jpinnix has joined #ruby
17:56
sent-hil has joined #ruby
17:56
solidsnack has joined #ruby
17:56
podman has joined #ruby
17:56
bweston92 has joined #ruby
17:56
peteretep has joined #ruby
17:56
jmhmccr has joined #ruby
17:56
cardoni has joined #ruby
17:56
jhill_ has joined #ruby
17:56
aarongodin has joined #ruby
17:56
pmarreck has joined #ruby
17:56
mitsuhiko has joined #ruby
17:56
lancetw has joined #ruby
17:57
Lloyd has joined #ruby
17:57
knowtheory has joined #ruby
17:57
chromis has joined #ruby
17:57
Tony-St4rk has joined #ruby
17:57
mjc_ has joined #ruby
17:57
ELLIOTTCABLE has joined #ruby
17:57
bove has joined #ruby
17:57
jimeh has joined #ruby
17:57
Eleeleth has joined #ruby
17:57
kireevco has joined #ruby
17:58
[diecast] has joined #ruby
17:58
johnkpaul has joined #ruby
17:58
enyo_ has joined #ruby
17:58
vcoinminer has joined #ruby
17:58
LyndsySimon has joined #ruby
17:58
skmp has joined #ruby
17:58
pizzaops has joined #ruby
17:59
LoneHerm_ has joined #ruby
17:59
benlieb has quit [Quit: benlieb]
17:59
ghostlight has joined #ruby
17:59
Yonk_ has joined #ruby
17:59
pawnbox has quit [Remote host closed the connection]
17:59
chino has joined #ruby
18:00
ptx0 has joined #ruby
18:00
doubleemms has quit [Ping timeout: 258 seconds]
18:00
pawnbox has joined #ruby
18:00
makufiru has joined #ruby
18:00
TvL2386 has joined #ruby
18:01
reaVer has joined #ruby
18:01
gigetoo has quit [Ping timeout: 258 seconds]
18:02
benlieb has joined #ruby
18:02
braincrash has joined #ruby
18:02
enyo_ has quit [Ping timeout: 245 seconds]
18:03
benlieb has quit [Client Quit]
18:05
pawnbox has quit [Remote host closed the connection]
18:05
pawnbox has joined #ruby
18:05
jhill_ has quit [Read error: Connection timed out]
18:06
jhill_ has joined #ruby
18:07
LoneHerm_ has quit [Remote host closed the connection]
18:07
troter__________ has joined #ruby
18:09
cippacio1 has joined #ruby
18:11
Fernando-Basso has quit [Quit: WeeChat 1.5]
18:11
cippaciong has quit [Ping timeout: 256 seconds]
18:11
testuser1 has joined #ruby
18:14
nanoz has quit [Ping timeout: 256 seconds]
18:14
rwb has quit [Ping timeout: 256 seconds]
18:16
yardenbar has joined #ruby
18:18
hindenbug has joined #ruby
18:18
a7d7p_ has joined #ruby
18:19
SpiffTR has joined #ruby
18:19
braincrash has quit [Ping timeout: 252 seconds]
18:20
pawnbox has quit [Remote host closed the connection]
18:21
pawnbox has joined #ruby
18:21
centrx has joined #ruby
18:23
duderonomy has joined #ruby
18:25
dmnd has joined #ruby
18:25
gigetoo has joined #ruby
18:27
a7d7p_ has quit [Quit: a7d7p_]
18:27
username_ has joined #ruby
18:29
ta has joined #ruby
18:30
ur5us has quit [Remote host closed the connection]
18:31
Dreamer3 has quit [Quit: Computer has gone to sleep.]
18:32
braincrash has joined #ruby
18:33
Lord_of_Life has quit [Excess Flood]
18:34
Dreamer3 has joined #ruby
18:35
troys is now known as troys_
18:35
Lord_of_Life has joined #ruby
18:37
jallen123 has quit [Remote host closed the connection]
18:37
jallen123 has joined #ruby
18:40
skweek has joined #ruby
18:41
nankyokusei has quit [Remote host closed the connection]
18:41
jallen12_ has joined #ruby
18:41
jallen123 has quit [Ping timeout: 245 seconds]
18:42
splud has joined #ruby
18:43
djbkd has joined #ruby
18:43
yardenbar has quit [Ping timeout: 268 seconds]
18:44
lenwood has quit [Ping timeout: 260 seconds]
18:44
blackwind_123 has quit [Ping timeout: 248 seconds]
18:46
blackwind_123 has joined #ruby
18:48
dionysus69 has quit [Ping timeout: 256 seconds]
18:53
yardenbar has joined #ruby
18:55
Dreamer3 has quit [Quit: Computer has gone to sleep.]
18:56
Dreamer3 has joined #ruby
18:56
walterheck has joined #ruby
18:56
alamar has quit [Ping timeout: 258 seconds]
18:57
julian has joined #ruby
18:57
julian is now known as Guest12352
18:58
a7d7p has joined #ruby
18:59
ramunas has joined #ruby
19:03
dcunit3d has quit [Ping timeout: 265 seconds]
19:06
Dreamer3 has quit [Quit: Computer has gone to sleep.]
19:07
<
TomyLobo >
can i append to a ruby array from within a p_each? (from the parallel-each gem)
19:07
cippaciong has joined #ruby
19:09
cippacio1 has quit [Ping timeout: 258 seconds]
19:09
<
TomyLobo >
with .push for instance
19:12
ramunas has quit [Quit: leaving]
19:13
enterprisey has joined #ruby
19:14
<
adam12 >
TomyLobo: You likely want something threadsafe - maybe from ConcurrentRB
19:14
<
adam12 >
or a mutex around the array push. I can't see it being threadsafe without it.
19:15
<
adam12 >
Unless parallel gem uses other processes, which in that case, you'll likely need another method to communicate.
19:15
teclator has joined #ruby
19:15
a7d7p has quit [Quit: a7d7p]
19:15
walterheck has quit [Ping timeout: 265 seconds]
19:16
SpiffTR has quit [Quit: Leaving.]
19:16
<
TomyLobo >
mutex sounds fun
19:17
<
TomyLobo >
i dont need performance anyway. i'm just doing it in parallel because I'm waiting for the network
19:20
perniciouscaffei has joined #ruby
19:21
rodferso1 has joined #ruby
19:21
SpiffTR has joined #ruby
19:22
skweek has quit [Ping timeout: 265 seconds]
19:23
hindenbug has left #ruby [#ruby]
19:23
jackjackdripper has joined #ruby
19:24
Lord_of_Life has quit [Excess Flood]
19:24
Lord_of_Life has joined #ruby
19:24
rodfersou has quit [Ping timeout: 258 seconds]
19:24
dcunit3d has joined #ruby
19:25
SesMan has joined #ruby
19:26
symm- has quit [Ping timeout: 265 seconds]
19:26
enilsen16 has joined #ruby
19:28
walterheck has joined #ruby
19:28
conta has joined #ruby
19:29
zerun0 has quit [Ping timeout: 265 seconds]
19:30
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:31
xrlk has quit [Remote host closed the connection]
19:32
millerti has joined #ruby
19:32
izaakf has joined #ruby
19:34
jottr has joined #ruby
19:36
minimalism has joined #ruby
19:36
jeffreylevesque_ has joined #ruby
19:38
ivanskie has joined #ruby
19:39
<
izaakf >
is it possible to check if two keys of a hash have the same value?
19:39
<
izaakf >
like is there an inbuilt method for it?
19:40
jeffreylevesque_ has quit [Client Quit]
19:41
<
apeiros >
izaakf: why? is h[a] == h[b] too complicated?
19:42
a7d7p has joined #ruby
19:42
zerun0 has joined #ruby
19:43
ta has quit [Read error: Connection reset by peer]
19:44
<
izaakf >
apeiros: no it isn't. But if my program creates a hash based on occurrences of letters and multiple letters occur the same amount of times I was wondering if there was a quick way to group all occurrences into 1 key
19:44
hotpancakes has quit [Remote host closed the connection]
19:44
hotpancakes has joined #ruby
19:45
<
izaakf >
e.g if im grouping a word like 'cinderella' by occurrences of letters it will return this {"c"=>1, "i"=>1, "n"=>1, "d"=>1, "e"=>2, "r"=>1, "l"=>2, "a"=>1}
19:45
SpiffTR has quit [Quit: Leaving.]
19:45
enilsen16 has quit [Quit: enilsen16]
19:46
<
izaakf >
nevermind I think I've answered my own question
19:46
ta has joined #ruby
19:46
enyo_ has joined #ruby
19:47
SpiffTR has joined #ruby
19:47
xen0fon has joined #ruby
19:47
SpiffTR has quit [Client Quit]
19:47
<
rjungemann >
So if you are trying to access a value in a hash via a key, it will automatically use `==` to try and find that key IIRC
19:47
<
apeiros >
rjungemann: no
19:47
zerun0 has quit [Max SendQ exceeded]
19:48
<
rjungemann >
I forget which equivalency method it uses
19:48
<
apeiros >
it'll use #hash to find the bucket, and #eql? to test whether it's the right key
19:48
<
rjungemann >
Thank you
19:48
<
rjungemann >
Anyway, here's the solution, I came up with for counting characters: `'cinderella'.chars.reduce({}) { |h, n| h[n] ||= 0; h[n] += 1; h }`
19:48
yardenbar has quit [Ping timeout: 256 seconds]
19:48
zerun0 has joined #ruby
19:48
xrlk has joined #ruby
19:49
<
apeiros >
replace the reduce({}) with each_with_object(Hash.new(0)) and you can simplify the code
19:49
<
rjungemann >
I should have known that apeiros, I just dug into how Hash works with more detail after that article posted on the Heroku blog on how Hash is implemented in Ruby 2.4
19:49
<
rjungemann >
Ooh that's cool. `Hash.new` is underutilized
19:49
<
apeiros >
I haven't yet. But knowing inner workings of a hashtable is cs 101.
19:50
heftig has quit [Ping timeout: 260 seconds]
19:50
SpiffTR has joined #ruby
19:51
enyo_ has quit [Ping timeout: 248 seconds]
19:52
heftig has joined #ruby
19:52
TvL2386 has quit [Ping timeout: 252 seconds]
19:52
<
izaakf >
thanks btw apeiros
19:52
heftig has quit [Remote host closed the connection]
19:53
heftig has joined #ruby
19:53
heftig has quit [Remote host closed the connection]
19:53
heftig has joined #ruby
19:53
heftig has quit [Remote host closed the connection]
19:54
heftig has joined #ruby
19:54
heftig has quit [Remote host closed the connection]
19:54
heftig has joined #ruby
19:54
heftig has quit [Remote host closed the connection]
19:54
jeff_ has joined #ruby
19:55
jeff_ is now known as Guest59325
19:55
mikeiniowa has quit [Remote host closed the connection]
19:55
heftig has joined #ruby
19:55
heftig is now known as Guest1607
19:55
djbkd has quit [Remote host closed the connection]
19:56
Guest1607 has quit [Changing host]
19:56
Guest1607 has joined #ruby
19:57
Guest1607 is now known as heftig
19:57
symm- has joined #ruby
19:57
nanoz has joined #ruby
19:59
dnicole has quit [Remote host closed the connection]
19:59
djbkd has joined #ruby
20:00
hotpancakes has quit [Remote host closed the connection]
20:00
rodferso1 has quit [Quit: leaving]
20:00
hotpancakes has joined #ruby
20:02
heftig_ has joined #ruby
20:02
matp has quit [Ping timeout: 252 seconds]
20:02
banisterfiend has joined #ruby
20:03
<
TomyLobo >
apeiros, cs isn't ruby 101, though :)
20:03
nowhereman has joined #ruby
20:03
olivierjanss has joined #ruby
20:03
andikr has quit [Remote host closed the connection]
20:04
<
TomyLobo >
whether that's good or bad...
20:04
amitchellbullard has joined #ruby
20:05
gmci has joined #ruby
20:06
heftig has quit [Quit: leaving]
20:07
heftig_ is now known as heftig
20:08
matp has joined #ruby
20:08
unrecited has joined #ruby
20:09
TvL2386 has joined #ruby
20:09
ur5us has joined #ruby
20:10
x00r___ has quit [Read error: Connection reset by peer]
20:10
walterheck has quit [Ping timeout: 260 seconds]
20:12
hightower3 has quit [Read error: Connection reset by peer]
20:13
hotpancakes has quit [Remote host closed the connection]
20:13
hightower3 has joined #ruby
20:13
hotpancakes has joined #ruby
20:14
hotpancakes has quit [Remote host closed the connection]
20:14
hotpancakes has joined #ruby
20:14
gusrub has joined #ruby
20:15
Lord_of_Life has quit [Excess Flood]
20:15
symm has joined #ruby
20:15
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:16
symm- has quit [Ping timeout: 248 seconds]
20:18
Lord_of_Life has joined #ruby
20:19
cibs has quit [Ping timeout: 268 seconds]
20:19
millerti has joined #ruby
20:20
cibs has joined #ruby
20:21
ifxdup has joined #ruby
20:21
SpiffTR has quit [Quit: Leaving.]
20:21
markholmes has joined #ruby
20:22
<
ifxdup >
what are the most used ruby methods?
20:23
eminencehc has joined #ruby
20:23
walterheck has joined #ruby
20:25
TvL2386 has quit [Ping timeout: 246 seconds]
20:25
walterheck has quit [Max SendQ exceeded]
20:27
StoneCypher has joined #ruby
20:27
conta has quit [Ping timeout: 246 seconds]
20:30
nankyokusei has joined #ruby
20:30
tmtwd has joined #ruby
20:31
cibs has quit [Ping timeout: 268 seconds]
20:31
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:32
d0nn1e has quit [Ping timeout: 258 seconds]
20:32
cibs has joined #ruby
20:33
d0nn1e has joined #ruby
20:34
mikeiniowa has joined #ruby
20:34
nankyokusei has quit [Ping timeout: 258 seconds]
20:35
testuser1 has quit [Quit: Leaving.]
20:35
roger_rabbit has joined #ruby
20:35
testuser1 has joined #ruby
20:35
testuser1 has quit [Client Quit]
20:36
testuser1 has joined #ruby
20:36
testuser1 has quit [Client Quit]
20:37
testuser1 has joined #ruby
20:37
testuser1 has quit [Client Quit]
20:38
cdg_ has quit [Remote host closed the connection]
20:39
testuser1 has joined #ruby
20:39
testuser1 has quit [Client Quit]
20:39
dcunit3d has quit [Ping timeout: 258 seconds]
20:39
testuser1 has joined #ruby
20:39
testuser1 has quit [Client Quit]
20:40
cdg has joined #ruby
20:40
roamingdog has quit [Remote host closed the connection]
20:42
jottr has quit [Ping timeout: 245 seconds]
20:44
tmtwd has quit [Remote host closed the connection]
20:44
cdg has quit [Ping timeout: 268 seconds]
20:45
muelleme has joined #ruby
20:45
<
bougyman >
is there an alternate way to 'include Math' ?
20:45
walterheck has joined #ruby
20:46
tmtwd has joined #ruby
20:46
<
Papierkorb >
Alternate way?
20:46
<
Papierkorb >
bougyman: What are you trying to do?
20:47
<
bougyman >
i'm at 39 and have no idea how 38 is possible.
20:48
<
bougyman >
the solution is just Math.cos(s) - Math.cos(e)
20:48
<
bougyman >
so I assume someone got rid of the 'Math' there with some way to include Math in fewer characters.
20:48
last_staff has quit [Ping timeout: 258 seconds]
20:49
<
bougyman >
can't get rid of any of the parens.
20:49
<
bougyman >
I mean, getting rid of them is a syntax error.
20:50
Channel6 has joined #ruby
20:51
a7d7p has quit [Quit: a7d7p]
20:52
conta has joined #ruby
20:53
pabloh has joined #ruby
20:53
Tanfrieze has quit [Ping timeout: 260 seconds]
20:57
jottr has joined #ruby
20:59
gmci is now known as w5isp
21:00
conta has quit [Ping timeout: 268 seconds]
21:02
conta has joined #ruby
21:05
Gasher has quit [Ping timeout: 245 seconds]
21:05
Gasher has joined #ruby
21:05
<
zenspider >
bougyman: extend is 1 char shorter
21:06
__Yiota has quit [Ping timeout: 252 seconds]
21:09
byte512 has quit [Ping timeout: 248 seconds]
21:09
<
matthewd >
bougyman: Look at the solutions for the previous challenge
21:10
last_staff has joined #ruby
21:11
jallen12_ has quit [Remote host closed the connection]
21:14
markholmes has quit [Quit: Leaving]
21:17
kitallis has quit [Ping timeout: 258 seconds]
21:19
ThePotato456 has joined #ruby
21:20
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:20
millerti has joined #ruby
21:21
jhack has joined #ruby
21:22
roamingdog has joined #ruby
21:23
<
zenspider >
wtf is wrong with windoze users?!? a graphic? Is text hard??
21:23
<
ThePotato456 >
thanks fag
21:23
ThePotato456 has quit [Client Quit]
21:24
<
ruby[bot] >
Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
21:24
<
zenspider >
pthththt
21:24
<
Papierkorb >
matthewd: ^
21:24
<
Papierkorb >
!ops for completeness' sake
21:24
<
ruby[bot] >
Papierkorb: Unknown argument.
21:25
<
zenspider >
Papierkorb: he quit. there's nothing to do
21:25
<
zenspider >
also: the fonts used in windows... oy vey... I'd go blind(er)
21:27
jcao219 has joined #ruby
21:28
<
zenspider >
bougyman: I like that they only count real chars soyoudon'tcodelikethis
21:30
AlexRussia has quit [Quit: WeeChat 1.6]
21:31
AlexRussia has joined #ruby
21:32
<
wnd >
at work, I just love it when people open tickets and include essential guids and other ids as screenshots. makes my day, everytime, when I get to ocr yet another 32-character hex number from a overcompressed jpeg image.
21:33
<
zenspider >
exactly
21:33
<
Papierkorb >
Giving useless comments won't help either btw zenspider
21:34
<
Papierkorb >
wnd: Though I'd ask them to paste the id, and then put them on hold until then.
21:34
<
wnd >
on the other hand, I suppose I should consider myself lucky when they do that. a ticket without the id would be even worse.
21:34
enyo_ has joined #ruby
21:34
<
zenspider >
Papierkorb: you falsly assume I want to help at that point.
21:35
<
Papierkorb >
zenspider: I did not assume you wanted to help, I just didn't want to tell you to not give stupid comments like that.
21:35
walterheck has quit [Ping timeout: 260 seconds]
21:35
<
Papierkorb >
wnd: Might be different however if you get paid for it ;)
21:39
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:39
enyo_ has quit [Ping timeout: 258 seconds]
21:40
podman is now known as podman[USC]
21:41
<
bougyman >
zenspider: yeah, it's a decent challenge site.
21:41
<
bougyman >
and I learn things I didn't know about ruby from it.
21:41
<
wnd >
I've been trying to cut down the time I waste trying to decipher tickets that initiall make no sense. That kind of tickets can be slightly amusing until you realise the given description has at least three different interpretations. That said, so far I've just settled on asking people to provide relevat ids in text in the future. That probably won't work, though.
21:41
<
bougyman >
like "8096".count("890")
21:41
<
bougyman >
didn't know #count existed on String
21:42
<
Papierkorb >
wnd: If you're super lazy, add a auto responder for this where you can just check what parts you want them to fix. like [x] Paste IDs instead of screenshots ;P
21:42
roamingdog has quit [Remote host closed the connection]
21:42
xrlk has quit [Quit: HEIL HITLER]
21:42
<
wnd >
as an image, I suppose :-)
21:42
<
zenspider >
wnd: I'm currently using minitest-bisect's algorithm to cut down 800 requires (activesupport) to the minimum needed to reproduce a bug
21:43
petrichorx has joined #ruby
21:43
<
Papierkorb >
lawl wnd
21:43
<
Radar >
wnd: image embedded in a word document which is itself embedded in a powerpoint. And then zipped.
21:43
<
zenspider >
"just require activesupport and it'll reproduce" != minimal bug
21:43
xrlk has joined #ruby
21:43
<
zenspider >
Radar: I thought I was helping!
21:43
<
Radar >
The zip has a password on it which you do not provide initially.
21:43
montanonic has joined #ruby
21:44
<
Radar >
zenspider: ooooh what's the bug?
21:44
<
Papierkorb >
Radar: I'd prefer FAXing them a screenshot I visibly printed as word document
21:44
<
Radar >
Papierkorb: I think tenderlove had to do something similar to submit invoices for billing at the company he worked for :P
21:44
izaakf has quit [Quit: Page closed]
21:45
<
wnd >
lets not get started with a client providing data dumps as colour-coded excel sheets, formatted a little differently each time
21:45
tmtwd has quit [Quit: Leaving]
21:45
<
zenspider >
Radar: true when we were at AT&T
21:45
<
wnd >
formatted, structured, you get the idea
21:45
<
apeiros >
excel sheets as todo lists are great too
21:45
<
zenspider >
he's at github now... a bit more sane
21:45
zapata has quit [Quit: WeeChat 1.6]
21:45
<
apeiros >
especially when updated and shared by a dozen people
21:45
<
zenspider >
Radar: some wierd bug w/ minitest/mock, active-support, and concerns. :(
21:45
<
Radar >
zenspider: sounds gross
21:46
millerti has joined #ruby
21:46
<
wnd >
luckily I've mostly managed to keep my distance for active* for now
21:46
<
Radar >
apeiros: I know a company who is still running on a shared access DB which is shared across > 50 staff members on a network shared drive. Access locks the
_entire database_ when it does a write.
21:46
<
apeiros >
Radar: that's still better than replacing the excel sheet from time to time because excel shoots it up
21:47
<
Radar >
apeiros: hehe
21:47
muelleme has quit [Ping timeout: 265 seconds]
21:47
<
Papierkorb >
I .. like active supports
*hides* I use it in non-rails projects, though I only require what I like and need
21:47
<
Radar >
Access would sometimes corrupt the database because two people tried writing at the exact same time.
21:47
<
Papierkorb >
*activesupport
21:47
<
Papierkorb >
Radar: Huh doesn't Windows do automatic File locking over SMB?
21:48
<
Radar >
Papierkorb: apparently not?
21:48
<
Papierkorb >
Apparently :P
21:48
hotpancakes has quit [Remote host closed the connection]
21:48
<
Radar >
Papierkorb:
_something_ corrupted the database and I wasn't paid enough (actually wasn't paid at all) to investigate.
21:48
<
Radar >
Was just firefighting it and rewriting parts of it into a Rails app
21:49
<
Papierkorb >
it does .. sometimes? .. when using WebDAV, so I thought it doing on SMB too wouldn't be too far fetched. But I didn't add in the Microsoft factor
21:49
milardovich has joined #ruby
21:50
hotpancakes has joined #ruby
21:50
hotpancakes has quit [Remote host closed the connection]
21:50
hotpancakes has joined #ruby
21:50
al2o3-cr has quit [Ping timeout: 265 seconds]
21:52
<
StoneCypher >
hi, i'm a ruby noob and i'm doing something stupid. i've gem installed foo, bundle installed, and rails ced. on loading some code that require 'foo's, CANNOT LOAD SUCH FILE. on looking in my gems directory as indicated by gem environment, it seems to be there
21:52
<
StoneCypher >
i am using the code right out of their example readme
21:52
<
StoneCypher >
what step have i missed?
21:53
jhack has quit [Quit: jhack]
21:54
troys_ is now known as troys
21:54
jottr_ has joined #ruby
21:54
<
StoneCypher >
possible indicator of problem: their docs say to gem install foo-1.1.0, which fails, but gem install foo is fine
21:55
<
matthewd >
StoneCypher: Have you added it to your Gemfile?
21:55
<
StoneCypher >
oh. no.
21:55
<
StoneCypher >
gem install doesn't do that? is there a flag which would do that as well?
21:55
jhack has joined #ruby
21:55
<
StoneCypher >
akin to npm's --save-dev
21:56
ruby-lang058 has joined #ruby
21:57
ruby-lang058 has quit [Client Quit]
21:58
jottr has quit [Ping timeout: 294 seconds]
21:58
<
matthewd >
I think bundler might have such a command now.. but the Gemfile is more designed to be manually edited than npm's equivalent
21:59
<
matthewd >
Adding it to the Gemfile + bundle does the gem install for you
22:01
<
zenspider >
omfg I love minitest-bisect... being able to use the algorithm to figure out minimal requires? fucking lovely
22:02
SpiffTR has joined #ruby
22:02
<
TomyLobo >
does it work if an application can use one of two gems? :)
22:03
<
zenspider >
TomyLobo: "does it work"?
22:03
<
TomyLobo >
i mean does it figure that out
22:04
littlefeet has quit [Ping timeout: 240 seconds]
22:04
blackwind_123 has quit [Ping timeout: 258 seconds]
22:05
ionte has quit [Ping timeout: 265 seconds]
22:05
<
StoneCypher >
matthewd: quite right. thnaks
22:05
<
zenspider >
StoneCypher: gem install foo-1.1.0 is just wrong. it'd be gem install foo -v 1.1.0
22:06
blackwind_123 has joined #ruby
22:06
ionte has joined #ruby
22:06
<
zenspider >
StoneCypher: please file a bug against their doco at the least
22:09
<
StoneCypher >
i did :)
22:09
<
StoneCypher >
or rather, a pr
22:12
<
zenspider >
FUCK I hate activesupport
22:13
<
bougyman >
I hate active*
22:14
<
bougyman >
got caught going lazy an using activeldap when I started out a new ldap project at work.
22:14
<
bougyman >
fast forward 3 months and hundreds of deps later... I ripped it all out and went to straight net::ldap
22:14
<
bougyman >
builds were always failing on some new/old/conflicting dependency of active*
22:15
<
bougyman >
usually this damn rails_i18n locale gem
22:16
jallen123 has joined #ruby
22:17
houhoulis has quit [Remote host closed the connection]
22:19
nankyokusei has joined #ruby
22:19
sneakerhax has joined #ruby
22:20
neoncortex has joined #ruby
22:20
jottr_ is now known as jottr
22:22
last_staff has quit [Quit: last_staff]
22:23
nankyokusei has quit [Ping timeout: 248 seconds]
22:25
hotpancakes has quit [Remote host closed the connection]
22:26
hotpancakes has joined #ruby
22:28
hotpanc__ has joined #ruby
22:30
hotpancakes has quit [Ping timeout: 245 seconds]
22:32
troys is now known as troys_
22:32
__Yiota has joined #ruby
22:34
symm- has joined #ruby
22:36
symm has quit [Ping timeout: 264 seconds]
22:37
__Yiota has quit [Ping timeout: 258 seconds]
22:38
carterdea has joined #ruby
22:38
markholmes has joined #ruby
22:40
troys_ is now known as troys
22:41
banisterfiend has quit [Excess Flood]
22:45
aremaref has joined #ruby
22:46
DTZUZU2 has quit [Ping timeout: 246 seconds]
22:46
jallen123 has quit [Ping timeout: 245 seconds]
22:46
SpiffTR has quit [Quit: Leaving.]
22:47
koldbrutality has quit [Remote host closed the connection]
22:50
govg has quit [Ping timeout: 264 seconds]
22:50
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
22:50
alan_w has joined #ruby
22:52
dnicole has joined #ruby
22:53
enterprisey has quit [Remote host closed the connection]
22:54
StoneCypher has quit [Ping timeout: 268 seconds]
22:56
ruby-lang407 has joined #ruby
22:57
symm- has quit [Quit: Leaving...]
22:58
<
ruby-lang407 >
hi all, I've been deep diving into fibers but fibers can't seem to be killed except when execution in it is finished
22:58
<
ruby-lang407 >
if lets say I want a fiber to stop and line it up for garbage collection how do I do that?
22:59
benlieb has joined #ruby
22:59
dnicole has quit [Remote host closed the connection]
23:00
dnicole has joined #ruby
23:00
troys has quit [Ping timeout: 258 seconds]
23:01
<
zenspider >
further refined... that feels like an actual bug in ruby...
23:03
<
zenspider >
ruby-lang407: "The main difference [with Threads] is that they are never preempted"
23:04
FastJack has quit [Ping timeout: 264 seconds]
23:05
dnicole has quit [Ping timeout: 258 seconds]
23:06
xen0fon has quit [Quit: xen0fon]
23:07
StoneCypher has joined #ruby
23:08
Gasher has quit [Quit: Leaving]
23:09
nanoz has quit [Read error: Connection reset by peer]
23:10
<
zenspider >
matthewd: I think you're probably right
23:11
cibs has quit [Ping timeout: 268 seconds]
23:12
hotpanc__ has quit [Remote host closed the connection]
23:13
cibs has joined #ruby
23:16
jottr has quit [Ping timeout: 264 seconds]
23:16
jottr_ has joined #ruby
23:18
neanderslob has joined #ruby
23:19
eminencehc has quit [Remote host closed the connection]
23:20
aryaching has quit [Read error: Connection reset by peer]
23:21
<
zenspider >
ruby-lang407: `ri Fiber` for more
23:22
enyo_ has joined #ruby
23:22
jhack has quit [Quit: jhack]
23:23
symm- has joined #ruby
23:23
Azure has joined #ruby
23:24
CloCkWeRX has joined #ruby
23:26
alan_w has quit [Quit: WeeChat 1.4]
23:27
enyo_ has quit [Ping timeout: 256 seconds]
23:28
newdan has joined #ruby
23:33
symm- has quit [Quit: Leaving...]
23:33
blackbombay has joined #ruby
23:34
blackbom1 has quit [Ping timeout: 246 seconds]
23:34
pawnbox has quit [Ping timeout: 264 seconds]
23:34
Scientz has joined #ruby
23:35
jcao219 has quit [Ping timeout: 246 seconds]
23:35
milardovich has quit [Remote host closed the connection]
23:36
milardovich has joined #ruby
23:36
milardovich has quit [Remote host closed the connection]
23:36
milardovich has joined #ruby
23:40
hotpancakes has joined #ruby
23:42
gloscombe has quit [Quit: gloscombe]
23:42
maloik has quit [Remote host closed the connection]
23:42
maloik has joined #ruby
23:42
__Yiota has joined #ruby
23:43
jallen123 has joined #ruby
23:45
a7d7p_ has joined #ruby
23:48
ruby-lang334 has joined #ruby
23:50
<
ruby-lang334 >
is there a way to output the object name created of a class?
23:50
<
ruby-lang334 >
e.g name = Student.new
23:50
harai has quit [Ping timeout: 246 seconds]
23:51
jackjackdripper has quit [Quit: Leaving.]
23:51
<
Radar >
ruby-lang334: "object name"?
23:52
iogf has quit [Remote host closed the connection]
23:52
<
ruby-lang334 >
yup e.g i want to display the "name" to my output
23:52
paradisaeidae_ has joined #ruby
23:53
<
Radar >
ruby-lang334: what do you mean by 'object name'?
23:53
<
ruby-lang334 >
instance object i meant
23:53
<
ruby-lang334 >
st1 = Student.new
23:53
exchgr has joined #ruby
23:53
username_ has quit [Ping timeout: 252 seconds]
23:53
<
ruby-lang334 >
i want the st1 to display in the output
23:54
<
Radar >
ruby-lang334: what would that look like?
23:54
<
Radar >
Can you give us an example of what the output is that you're expecting?
23:54
<
ruby-lang334 >
i just need to print the instance object to the screen
23:54
<
Zarthus >
I think he wants st1.class.name or the student name.
23:54
<
Radar >
ruby-lang334: I cannot help you if you're not going to give an example.
23:56
<
ruby-lang334 >
ok simple term, i just want to retrieved the instance object name to, print it at the screen, that's all :)
23:56
<
Radar >
ruby-lang334: Final time. Show us an example of exactly what you mean. I am not sure I can be any more obvious in what I'm asking.
23:56
<
ruby-lang334 >
ok let me gist it
23:57
<
neoncortex >
but .. to call a instance to print it's name, you need to type the name, so, well ..
23:58
<
Radar >
ruby-lang334: So you want to be able to output "f1" if the fan instance is assigned to the variable f1?
23:59
<
ruby-lang334 >
i want like "Fan "object-name" is at Fast speed"
23:59
<
ruby-lang334 >
something like that
23:59
<
Radar >
ruby-lang334: But what is "object-name" in this case? Is it "f1"?
23:59
<
toretore >
ruby doesn't name the fan for you