00:00
qhp has quit [Read error: Connection reset by peer]
00:00
Xeago has quit [Remote host closed the connection]
00:02
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:04
Gasher has quit [Quit: Leaving]
00:05
RegulationD has quit [Remote host closed the connection]
00:05
felltir has quit []
00:07
tubuliferous has quit [Ping timeout: 260 seconds]
00:10
diegoaguilar has quit [Remote host closed the connection]
00:10
jumbomax has quit [Remote host closed the connection]
00:11
pawnbox has joined #ruby
00:11
sp4rrow_ has quit [Quit: The Internet needs a break and I need a cookie]
00:11
diegoaguilar has joined #ruby
00:11
marr has quit [Ping timeout: 260 seconds]
00:12
bronson has quit [Remote host closed the connection]
00:13
djbkd has joined #ruby
00:14
yfeldblum has quit [Ping timeout: 260 seconds]
00:14
shadoi has quit [Quit: Leaving.]
00:15
jt__ has quit [Quit: Leaving...]
00:16
pawnbox has quit [Ping timeout: 260 seconds]
00:18
djbkd has quit [Ping timeout: 276 seconds]
00:19
cdg has joined #ruby
00:20
charliesome has joined #ruby
00:21
coyo has quit [Ping timeout: 260 seconds]
00:23
charliesome has quit [Read error: Connection reset by peer]
00:24
charliesome has joined #ruby
00:24
lacrosse has quit [Quit: Connection closed for inactivity]
00:25
ekinmur has joined #ruby
00:25
hxegon has joined #ruby
00:26
agent_white has quit [Quit: bbl]
00:27
pietr0 has quit [Quit: pietr0]
00:27
chicken has joined #ruby
00:31
mroth has quit [Ping timeout: 276 seconds]
00:33
mroth has joined #ruby
00:33
smathy is now known as smathy_afk
00:34
P_R_Deltoid has quit [Ping timeout: 276 seconds]
00:34
dn` has quit [Quit: dn`]
00:34
jenrzzz has joined #ruby
00:35
P_R_Deltoid has joined #ruby
00:35
BtcBen has joined #ruby
00:36
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:36
Vile` has quit [Quit: .]
00:36
someish has joined #ruby
00:36
coyo has joined #ruby
00:36
KensoDev has quit [Max SendQ exceeded]
00:38
<
someish >
Does anyone know of a good algorithm for equally distributing the items of a large array to the items of a smaller array? For example, I have a patients array, and a clinicians array. I want to assign patients to clinicians so that each clinician has an equal number of patients, up until the last clinician.
00:40
<
zacts >
hi rubyists (%|:-)
00:40
dn` has joined #ruby
00:42
ixti has quit [Ping timeout: 276 seconds]
00:42
Guest74282 is now known as Jandre
00:42
Jandre has quit [Changing host]
00:42
Jandre has joined #ruby
00:42
<
someish >
The in_groups active support method seems to give me a good start.
00:43
<
smalltalker >
someish: divide the patients by the clinicians and use array.slice(that_number) ?
00:44
<
someish >
smalltalker: That should work as well.
00:45
<
smalltalker >
or each_slice()
00:46
Jandre has quit [Ping timeout: 240 seconds]
00:46
cdg has quit [Remote host closed the connection]
00:47
cdg has joined #ruby
00:48
idefine has joined #ruby
00:49
SilverKey has joined #ruby
00:49
shtirlic has joined #ruby
00:49
<
havenwood >
>> patients = [*1..10]; clinicians = [*'a'..'d']; clinicians.zip(patients.each_slice(patients.size.fdiv(clinicians.size).ceil)).to_h
00:49
zacstewart has quit [Ping timeout: 276 seconds]
00:50
hxegon is now known as hxegon_AFK
00:50
<
havenwood >
someish: you don't want to evenly distrubute so the last two clinicians have two patients each?
00:50
zacstewart has joined #ruby
00:50
<
havenwood >
someish: in that example ^
00:50
rkazak has joined #ruby
00:51
rodfersou has joined #ruby
00:51
<
smalltalker >
nice one :)
00:51
<
someish >
havenwood: I’m fine with that. That’s what the in_groups method seems to do.
00:51
<
someish >
I like what you did though.
00:51
cdg has quit [Ping timeout: 260 seconds]
00:52
solocshaw has joined #ruby
00:53
hxegon_AFK is now known as hxegon
00:53
dumdedum has quit [Read error: Connection reset by peer]
00:53
thermistor has joined #ruby
00:55
blaxter has joined #ruby
00:55
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:55
SCHAAP137 has quit [Ping timeout: 276 seconds]
00:56
curses has quit [Remote host closed the connection]
00:56
yfeldblum has joined #ruby
00:57
vF3hNGxc47h8 has quit [Remote host closed the connection]
00:57
vF3hNGxc47h8 has joined #ruby
00:57
zast has joined #ruby
00:57
<
someish >
You guys are super helpful. Thank you.
00:58
vF3hNGxc47h8 has quit [Client Quit]
00:58
benlieb has joined #ruby
00:59
benlieb has quit [Client Quit]
00:59
rodfersou has quit [Quit: leaving]
01:00
curses has joined #ruby
01:01
pawnbox has joined #ruby
01:01
Guest33991 has quit [Ping timeout: 276 seconds]
01:01
tvw has quit [Ping timeout: 250 seconds]
01:02
tvw has joined #ruby
01:03
Eiam_ has joined #ruby
01:03
C0deMaver1ck has joined #ruby
01:03
nb_bez___ has quit [Quit: Connection closed for inactivity]
01:03
C0deMaver1ck is now known as Guest36918
01:04
Robtop__ is now known as pwnd_nsfw
01:06
RegulationD has joined #ruby
01:06
pawnbox has quit [Ping timeout: 260 seconds]
01:06
helpa has quit [Remote host closed the connection]
01:06
helpa has joined #ruby
01:07
SCHAAP137 has joined #ruby
01:08
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:08
ixti has joined #ruby
01:11
RegulationD has quit [Ping timeout: 276 seconds]
01:13
bronson has joined #ruby
01:13
hobodave has joined #ruby
01:13
hobodave has quit [Client Quit]
01:14
SCHAAP137 has quit [Read error: Connection reset by peer]
01:14
djbkd has joined #ruby
01:15
CloCkWeRX has joined #ruby
01:16
Aviio has quit [Remote host closed the connection]
01:16
al2o3-cr is now known as sleepy_head
01:17
jenrzzz has quit [Ping timeout: 244 seconds]
01:17
jenrzzz has joined #ruby
01:17
shinnya has quit [Ping timeout: 276 seconds]
01:17
weemsledeux has joined #ruby
01:18
SilverKey has quit [Quit: Halted.]
01:18
ur5us has joined #ruby
01:18
sleepy_head has quit [Read error: Connection reset by peer]
01:19
djbkd has quit [Ping timeout: 276 seconds]
01:19
bronson has quit [Ping timeout: 276 seconds]
01:19
al2o3-cr has joined #ruby
01:20
darkf_ has joined #ruby
01:20
charliesome has joined #ruby
01:22
fumduq has quit [Ping timeout: 276 seconds]
01:22
baweaver has quit [Remote host closed the connection]
01:23
xaxisx has joined #ruby
01:23
fumduq has joined #ruby
01:23
darkf has quit [Ping timeout: 276 seconds]
01:23
ur5us has quit [Ping timeout: 260 seconds]
01:24
nobitanobi has quit []
01:25
slappy16 has quit [Quit: Leaving.]
01:25
JakFrist has joined #ruby
01:26
JakFrist has quit [Client Quit]
01:27
baweaver has joined #ruby
01:27
ekinmur has joined #ruby
01:28
benlieb has joined #ruby
01:29
JakFrist has joined #ruby
01:29
nando293921 has quit [Ping timeout: 276 seconds]
01:30
idefine has quit [Remote host closed the connection]
01:31
pawnbox has joined #ruby
01:32
JakFrist has quit [Client Quit]
01:33
diegoaguilar has quit [Remote host closed the connection]
01:35
pawnbox has quit [Ping timeout: 244 seconds]
01:39
czerasz_ has quit [Ping timeout: 244 seconds]
01:40
ta_ has joined #ruby
01:40
shazaum_ has quit [Ping timeout: 244 seconds]
01:41
madgen has quit [Ping timeout: 276 seconds]
01:42
benlieb has quit [Quit: benlieb]
01:43
baweaver has quit [Read error: Connection reset by peer]
01:44
ta_ has quit [Ping timeout: 244 seconds]
01:45
jackjackdripper1 has quit [Quit: Leaving.]
01:49
Devalo has joined #ruby
01:49
tuelz3 has quit [Ping timeout: 276 seconds]
01:50
hxegon has quit [Quit: BRB]
01:52
<
benzrf >
in_groups?
01:53
nando293921 has joined #ruby
01:53
<
benzrf >
zacts: what's (%|:-)
01:53
<
benzrf >
i tried checking its type in ghci but it wasn't in scope :^(
01:53
Devalo has quit [Ping timeout: 264 seconds]
01:53
baweaver has joined #ruby
01:54
arescorpio has joined #ruby
01:56
GodFodder has joined #ruby
01:56
SilverKey has joined #ruby
01:58
s1kx has quit [Quit: bai]
01:58
baweaver has quit [Ping timeout: 264 seconds]
02:03
tuelz3 has joined #ruby
02:03
Yiota has joined #ruby
02:03
Yiota has quit [Max SendQ exceeded]
02:04
Yiota has joined #ruby
02:05
charliesome has quit [Read error: Connection reset by peer]
02:05
charliesome has joined #ruby
02:05
kam270 has quit [Ping timeout: 264 seconds]
02:05
darkf_ is now known as darkf
02:09
Chagel has joined #ruby
02:10
pawnbox has joined #ruby
02:11
<
zacts >
benzrf: it's a smiley
02:11
<
zacts >
it's a girl hat with a flower
02:14
callen92 has joined #ruby
02:15
djbkd has joined #ruby
02:15
pawnbox has quit [Ping timeout: 276 seconds]
02:15
eggoez has quit [Ping timeout: 260 seconds]
02:17
elifoster has joined #ruby
02:18
<
zacts >
I like cloche hats with flowers
02:19
djbkd has quit [Ping timeout: 244 seconds]
02:19
<
zacts >
my old gal used to wear them
02:19
<
zacts >
anyways, back to #ruby
02:20
daytime has joined #ruby
02:20
zzach1 has joined #ruby
02:20
equinox has quit [Read error: Connection reset by peer]
02:21
daytime is now known as equinox
02:21
zzach has quit [Ping timeout: 276 seconds]
02:21
hacworld has joined #ruby
02:25
zenlot6 has joined #ruby
02:25
kam270 has joined #ruby
02:25
fumduq has quit [Ping timeout: 264 seconds]
02:25
rkazak_ has joined #ruby
02:25
fumduq has joined #ruby
02:26
zast has quit [Ping timeout: 264 seconds]
02:26
cajone has quit [Ping timeout: 264 seconds]
02:26
modin has quit [Ping timeout: 264 seconds]
02:26
Dreamer3_ has joined #ruby
02:26
CloCkWeRX has quit [Ping timeout: 264 seconds]
02:26
Guest36918 has quit [Ping timeout: 264 seconds]
02:26
bkxd has quit [Ping timeout: 264 seconds]
02:26
zenlot has quit [Ping timeout: 264 seconds]
02:26
iNs has quit [Ping timeout: 264 seconds]
02:27
zast has joined #ruby
02:27
weemsledeux has quit [Ping timeout: 264 seconds]
02:27
rkazak has quit [Ping timeout: 264 seconds]
02:27
spt0 has quit [Ping timeout: 264 seconds]
02:27
patrick_star has quit [Ping timeout: 264 seconds]
02:27
Dreamer3 has quit [Ping timeout: 264 seconds]
02:27
duncannz has quit [Ping timeout: 264 seconds]
02:27
ahuman has quit [Ping timeout: 264 seconds]
02:27
johnny56_ has quit [Ping timeout: 264 seconds]
02:27
rkazak_ is now known as rkazak
02:27
ahuman has joined #ruby
02:27
CloCkWeRX has joined #ruby
02:28
SilverKey has quit [Quit: Halted.]
02:28
tvw has quit [Remote host closed the connection]
02:28
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:28
<
shevy >
^^^ a love letter to ascii art
02:28
zenguy_pc has joined #ruby
02:29
ensyde has joined #ruby
02:29
ramfjord has quit [Ping timeout: 276 seconds]
02:29
Dimik1 has joined #ruby
02:29
jenrzzz has quit [Ping timeout: 244 seconds]
02:32
iNs has joined #ruby
02:34
eggoez has joined #ruby
02:34
bkxd has joined #ruby
02:34
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
02:36
callen92 has quit [Quit: Leaving]
02:36
C0deMaver1ck has joined #ruby
02:37
C0deMaver1ck is now known as Guest81068
02:38
bb010g_ has quit []
02:38
kam270 has quit [Remote host closed the connection]
02:39
spt0 has joined #ruby
02:39
duncannz has joined #ruby
02:39
Dimik1 has quit [Ping timeout: 244 seconds]
02:40
patrick_star has joined #ruby
02:40
elifoster has quit [Ping timeout: 244 seconds]
02:41
cajone has joined #ruby
02:42
bb010g has joined #ruby
02:42
johnmilton has joined #ruby
02:44
brent__ has quit [Quit: Connection closed for inactivity]
02:45
johnmilton has quit [Remote host closed the connection]
02:50
yfeldblum has quit [Remote host closed the connection]
02:51
ropeney_ has joined #ruby
02:53
frem_ has quit [Quit: Connection closed for inactivity]
02:53
ropeney has quit [Ping timeout: 260 seconds]
02:54
n008f4g_ has quit [Ping timeout: 244 seconds]
02:56
yfeldblum has joined #ruby
02:58
SilverKey has joined #ruby
03:01
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:01
phredus_ has joined #ruby
03:01
phredus has quit [Ping timeout: 276 seconds]
03:02
jenrzzz has joined #ruby
03:04
maletor has joined #ruby
03:05
braincra- has quit [Quit: bye bye]
03:07
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:07
RegulationD has joined #ruby
03:07
idefine has joined #ruby
03:08
phredus_ has quit [Remote host closed the connection]
03:08
freerobby has joined #ruby
03:10
Hobbyboy has quit [Quit: I think the BNC broke.]
03:12
RegulationD has quit [Ping timeout: 260 seconds]
03:12
Dimik1 has joined #ruby
03:12
jenrzzz has quit [Ping timeout: 244 seconds]
03:12
phredus has joined #ruby
03:13
braincras has joined #ruby
03:13
phredus has quit [Read error: Connection reset by peer]
03:14
pawnbox has joined #ruby
03:15
bry4n has quit [Ping timeout: 276 seconds]
03:16
djbkd has joined #ruby
03:16
hxegon has joined #ruby
03:17
blaxter has quit [Quit: foo]
03:17
Hobbyboy has joined #ruby
03:20
jackjackdripper has joined #ruby
03:20
nettoweb has joined #ruby
03:20
djbkd has quit [Ping timeout: 276 seconds]
03:22
idefine has quit [Remote host closed the connection]
03:23
Sammichmaker has quit [Read error: Connection reset by peer]
03:28
Madplatypus has quit [Quit: Connection closed for inactivity]
03:28
toretore has joined #ruby
03:29
pawnbox has quit [Read error: Connection reset by peer]
03:29
freerobby has quit [Quit: Leaving.]
03:29
evie_hammond has quit [Quit: WeeChat 1.4]
03:29
pawnbox has joined #ruby
03:30
yfeldblu_ has joined #ruby
03:32
diegoaguilar has joined #ruby
03:34
yfeldblum has quit [Ping timeout: 276 seconds]
03:34
yfeldblu_ has quit [Ping timeout: 260 seconds]
03:36
curses has quit [Ping timeout: 260 seconds]
03:36
kimi has joined #ruby
03:36
solocshaw has quit [Ping timeout: 260 seconds]
03:37
Swey_Hey has joined #ruby
03:39
idefine has joined #ruby
03:41
tuelz4 has joined #ruby
03:41
idefine has quit [Remote host closed the connection]
03:42
idefine has joined #ruby
03:43
tuelz3 has quit [Ping timeout: 264 seconds]
03:43
gix has quit [Ping timeout: 260 seconds]
03:44
rkazak has quit [Quit: Sleep.....ing....]
03:45
modin has joined #ruby
03:47
lkba has joined #ruby
03:47
gix has joined #ruby
03:48
johnny56_ has joined #ruby
03:48
baweaver has joined #ruby
03:49
Chagel has quit [Ping timeout: 276 seconds]
03:50
Devalo has joined #ruby
03:53
kadoppe has joined #ruby
03:55
Devalo has quit [Ping timeout: 264 seconds]
03:55
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:56
BTRE has quit [Ping timeout: 244 seconds]
03:57
houhoulis has joined #ruby
04:00
FooMunki has quit [Quit: FooMunki]
04:00
FooMunki has joined #ruby
04:01
rkazak has joined #ruby
04:02
crameth has joined #ruby
04:02
crameth has quit [Max SendQ exceeded]
04:03
lxsameer has joined #ruby
04:06
pawnbox has quit [Remote host closed the connection]
04:06
spt0 has quit [Ping timeout: 244 seconds]
04:06
phredus has joined #ruby
04:06
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:07
FooMunki has quit [Quit: FooMunki]
04:08
BTRE has joined #ruby
04:11
nando293921 has quit [Quit: Lost terminal]
04:11
tuelz4 has quit [Ping timeout: 260 seconds]
04:12
kadoppe has quit [Ping timeout: 276 seconds]
04:12
bruno-_ has quit [Ping timeout: 260 seconds]
04:12
nando293921 has joined #ruby
04:13
Dimik1 has quit [Ping timeout: 276 seconds]
04:14
Swey_Hey has quit [Quit: Leaving]
04:14
bronson has joined #ruby
04:14
tildes has joined #ruby
04:15
<
shevy >
zacts are you hacking on anything fun related to ruby, as of late?
04:16
djbkd has joined #ruby
04:18
BTRE has quit [Quit: Leaving]
04:18
spt0 has joined #ruby
04:18
tax has joined #ruby
04:19
bronson has quit [Ping timeout: 264 seconds]
04:19
someish has quit [Quit: someish]
04:20
pawnbox has joined #ruby
04:20
Dimik1 has joined #ruby
04:21
sesquipedalian has joined #ruby
04:21
phredus has quit [Remote host closed the connection]
04:21
djbkd has quit [Ping timeout: 276 seconds]
04:23
Yiota has joined #ruby
04:23
xaxisx has quit [Ping timeout: 244 seconds]
04:24
<
shevy >
hmm anyone knows how the python import system works? e. g. what specific advantage it has compared to ruby's require/load variants?
04:25
d0nn1e has quit [Ping timeout: 260 seconds]
04:25
Sammichmaker has joined #ruby
04:27
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
04:28
d0nn1e has joined #ruby
04:29
tubuliferous has joined #ruby
04:29
idefine has quit [Remote host closed the connection]
04:33
phredus has joined #ruby
04:34
idefine has joined #ruby
04:34
<
zacts >
shevy: I'm getting through this ruby text processing book by pragmatic press
04:35
<
mozzarella >
shevy: you don't have to import everything, you can rename stuff as you import it (bind it to a different name)
04:35
merida has joined #ruby
04:38
coyo has quit [Ping timeout: 276 seconds]
04:39
<
shevy >
mozzarella hmm that sounds pretty nice
04:39
idefine has quit [Ping timeout: 260 seconds]
04:39
<
shevy >
zacts is that a new book? I am heavily outdated on ruby books... the last one I read was still the last version of the pickaxe
04:42
CloCkWeRX has quit [Ping timeout: 244 seconds]
04:44
blackgoat has joined #ruby
04:45
<
ropeney_ >
zacts, any good? I have it on the to-read list
04:46
ropeney_ has quit [Quit: Leaving]
04:47
ropeney_ has joined #ruby
04:47
ropeney_ has quit [Client Quit]
04:47
idefine has joined #ruby
04:47
ropeney has joined #ruby
04:48
Dreamer3_ has quit [Quit: Leaving...]
04:48
sandelius has joined #ruby
04:48
krz has joined #ruby
04:51
phredus has quit [Remote host closed the connection]
04:52
smathy has joined #ruby
04:53
GinoMan2440_ has quit [Ping timeout: 260 seconds]
04:54
Dimik1 has quit [Read error: No route to host]
04:55
Dimik1 has joined #ruby
04:55
stannard has joined #ruby
04:56
phredus has joined #ruby
04:57
merida has quit [Remote host closed the connection]
04:57
GinoMan2440 has joined #ruby
04:57
s00pcan has joined #ruby
04:57
merida has joined #ruby
04:58
watersoul has quit [Remote host closed the connection]
04:58
watersoul has joined #ruby
04:59
watersoul has quit [Max SendQ exceeded]
05:00
stannard has quit [Ping timeout: 260 seconds]
05:00
graphettion has quit [Remote host closed the connection]
05:01
merida has quit [Read error: Connection reset by peer]
05:01
merida has joined #ruby
05:02
LoneHerm_ has joined #ruby
05:03
diegoaguilar has quit [Remote host closed the connection]
05:03
watersoul has joined #ruby
05:04
tildes has quit [Ping timeout: 260 seconds]
05:05
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
05:11
hxegon is now known as hxegon_AFK
05:11
hxegon_AFK is now known as hxegon
05:13
rbennacer has joined #ruby
05:14
rbennacer has quit [Read error: Connection reset by peer]
05:15
rbennacer has joined #ruby
05:15
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:16
elifoster has joined #ruby
05:17
djbkd has joined #ruby
05:19
rkazak has quit [Quit: Sleep.....ing....]
05:20
kareeoleez has joined #ruby
05:21
kareeoleez has quit [Remote host closed the connection]
05:21
kareeoleez has joined #ruby
05:22
djbkd has quit [Ping timeout: 276 seconds]
05:23
GinoMan2440 has quit [Read error: Network is unreachable]
05:23
<
zacts >
ropeney: so far it's ok, but I'm only at ch 4
05:24
phredus has quit [Remote host closed the connection]
05:24
<
zacts >
I think overall it seems likes it's going to be cool for an intro level book
05:25
GinoMan2440 has joined #ruby
05:28
arescorpio has quit [Excess Flood]
05:30
nixmaniack has joined #ruby
05:30
nixmaniack has joined #ruby
05:31
hk238 has joined #ruby
05:32
phredus has joined #ruby
05:37
jackjackdripper has quit [Quit: Leaving.]
05:38
solocshaw has joined #ruby
05:39
hxegon has quit [Quit: BRB]
05:39
william3 has joined #ruby
05:41
isxek has joined #ruby
05:44
william3 has quit [Remote host closed the connection]
05:49
Eiam_ has joined #ruby
05:51
tildes has joined #ruby
05:53
william3 has joined #ruby
05:55
SilverKey has quit [Quit: Halted.]
05:58
william3 has quit [Ping timeout: 260 seconds]
05:58
maletor has quit [Quit: Computer has gone to sleep.]
05:58
tildes has quit [Ping timeout: 244 seconds]
05:59
pawnbox has quit [Read error: Connection reset by peer]
06:00
Meow-J has joined #ruby
06:02
solocshaw has quit [Ping timeout: 260 seconds]
06:02
solocshaw has joined #ruby
06:04
LoneHerm_ has quit [Remote host closed the connection]
06:04
rbennacer has quit [Remote host closed the connection]
06:05
pawnbox has joined #ruby
06:08
krz has quit [Ping timeout: 276 seconds]
06:09
rbennacer has joined #ruby
06:12
phredus has quit [Remote host closed the connection]
06:13
rbennacer has quit [Ping timeout: 244 seconds]
06:14
bronson has joined #ruby
06:15
baweaver has quit [Remote host closed the connection]
06:18
djbkd has joined #ruby
06:18
merida has quit [Remote host closed the connection]
06:19
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:19
merida has joined #ruby
06:19
bronson has quit [Ping timeout: 264 seconds]
06:20
merida has quit [Read error: Connection reset by peer]
06:20
yfeldblum has joined #ruby
06:20
merida has joined #ruby
06:21
merida has quit [Remote host closed the connection]
06:22
merida has joined #ruby
06:22
merida has quit [Remote host closed the connection]
06:22
tildes has joined #ruby
06:22
merida has joined #ruby
06:23
djbkd has quit [Ping timeout: 276 seconds]
06:24
merida has quit [Remote host closed the connection]
06:25
merida has joined #ruby
06:26
phredus has joined #ruby
06:27
kareeole_ has joined #ruby
06:27
n1x has joined #ruby
06:27
elifoster|alt has joined #ruby
06:28
modin has quit [Ping timeout: 264 seconds]
06:29
blackgoat has quit [Ping timeout: 264 seconds]
06:29
d0nn1e has quit [Ping timeout: 264 seconds]
06:29
nixmaniack has quit [Ping timeout: 264 seconds]
06:29
kareeoleez has quit [Ping timeout: 264 seconds]
06:29
elifoster has quit [Ping timeout: 264 seconds]
06:29
johnny56_ has quit [Ping timeout: 264 seconds]
06:30
blackgoat has joined #ruby
06:32
yfeldblum has quit [Ping timeout: 264 seconds]
06:34
kareeole_ has quit [Remote host closed the connection]
06:34
Matthew_ is now known as MRB[afk]
06:35
rkazak has joined #ruby
06:35
d0nn1e has joined #ruby
06:37
krz has joined #ruby
06:38
TheCubeLord has joined #ruby
06:39
SuperLag_ has joined #ruby
06:39
SuperLag has quit [Ping timeout: 276 seconds]
06:39
kareeoleez has joined #ruby
06:41
elifoster|alt has quit [Ping timeout: 260 seconds]
06:44
kareeoleez has quit [Ping timeout: 260 seconds]
06:45
Dimik1 has quit [Ping timeout: 276 seconds]
06:46
bhrgunatha has joined #ruby
06:47
n1x has quit [Read error: Connection reset by peer]
06:48
nixmaniack has joined #ruby
06:48
idefine has quit [Ping timeout: 276 seconds]
06:50
czerasz_ has joined #ruby
06:50
Flaim has joined #ruby
06:50
PaulCapestany has joined #ruby
06:55
tvw has joined #ruby
06:57
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:58
kareeoleez has joined #ruby
06:58
nando293921 has quit [Ping timeout: 244 seconds]
07:00
bhrgunatha has quit [Quit: Page closed]
07:01
Flaim has left #ruby [#ruby]
07:02
kareeoleez has quit [Ping timeout: 244 seconds]
07:02
poerror has joined #ruby
07:07
tubuliferous has quit [Ping timeout: 260 seconds]
07:07
djbkd has joined #ruby
07:09
amclain_ has quit [Quit: Leaving]
07:10
rbennacer has joined #ruby
07:11
bhrgunatha has joined #ruby
07:12
bry4n has joined #ruby
07:12
j3r0 has joined #ruby
07:12
s00pcan has quit [Quit: Lost terminal]
07:14
idefine has joined #ruby
07:15
baweaver has joined #ruby
07:16
kareeoleez has joined #ruby
07:16
bry4n has quit [Ping timeout: 260 seconds]
07:17
tax has quit [Ping timeout: 276 seconds]
07:17
baweaver has quit [Remote host closed the connection]
07:17
baweaver has joined #ruby
07:17
mrknip has joined #ruby
07:19
tk__ has joined #ruby
07:19
idefine has quit [Ping timeout: 264 seconds]
07:19
rbennacer has quit [Ping timeout: 276 seconds]
07:21
kareeoleez has quit [Ping timeout: 276 seconds]
07:23
j3r0 has quit [Quit: Leaving]
07:24
Devalo has joined #ruby
07:24
krz has quit [Ping timeout: 276 seconds]
07:24
rbennacer has joined #ruby
07:25
kareeoleez has joined #ruby
07:25
Yiota has quit [Ping timeout: 244 seconds]
07:27
ruby-lang413 has joined #ruby
07:29
BTRE has joined #ruby
07:29
rbennacer has quit [Ping timeout: 260 seconds]
07:29
czerasz_ has quit [Ping timeout: 244 seconds]
07:30
kareeoleez has quit [Ping timeout: 260 seconds]
07:31
ruby-lang413 has quit [Ping timeout: 250 seconds]
07:32
merida has quit [Remote host closed the connection]
07:32
noService has joined #ruby
07:33
merida has joined #ruby
07:33
dangerousdave has joined #ruby
07:36
terminalrecluse has joined #ruby
07:36
sandelius has joined #ruby
07:37
merida has quit [Ping timeout: 260 seconds]
07:38
Rodya_ has joined #ruby
07:39
kimi has quit [Disconnected by services]
07:41
bhrgunatha has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160412225428]]
07:41
infra-red has joined #ruby
07:41
framling has joined #ruby
07:42
kimi_ has joined #ruby
07:42
krz has joined #ruby
07:43
kareeoleez has joined #ruby
07:43
kimi_ has quit [Max SendQ exceeded]
07:44
kimi_ has joined #ruby
07:45
kimi_ has quit [Max SendQ exceeded]
07:46
kimi_ has joined #ruby
07:46
codecop has joined #ruby
07:46
codecop_ has joined #ruby
07:47
codecop has quit [Client Quit]
07:48
kimi_ has quit [Max SendQ exceeded]
07:48
modin has joined #ruby
07:48
kareeoleez has quit [Ping timeout: 260 seconds]
07:48
kimi_ has joined #ruby
07:49
MagePsycho_ has joined #ruby
07:49
kimi_ has quit [Max SendQ exceeded]
07:50
Blaguvest has joined #ruby
07:50
johnny56_ has joined #ruby
07:50
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:50
kimi_ has joined #ruby
07:51
Devalo has quit [Remote host closed the connection]
07:52
n1x has joined #ruby
07:52
kimi_ has quit [Read error: Connection reset by peer]
07:53
kimi_ has joined #ruby
07:53
marr has joined #ruby
07:53
kimi_ has quit [Read error: Connection reset by peer]
07:53
BtcBen has quit [Ping timeout: 244 seconds]
07:54
BtcBen has joined #ruby
07:55
william3 has joined #ruby
07:55
nixmaniack has quit [Ping timeout: 244 seconds]
07:56
dgncn has quit [Excess Flood]
07:57
Dimik has quit [Ping timeout: 244 seconds]
07:58
dionysus69 has joined #ruby
07:58
djbkd has quit [Remote host closed the connection]
07:58
dgncn has joined #ruby
07:59
bb010g has quit [Quit: Connection closed for inactivity]
08:00
<
dangerousdave >
I have successfully constructed my parse tree, but have no idea how to process it
08:01
kareeoleez has joined #ruby
08:02
firstdayonthejob has joined #ruby
08:03
ocbtec has joined #ruby
08:04
Lomex has joined #ruby
08:04
ensyde has quit [Ping timeout: 260 seconds]
08:06
zast has quit [Ping timeout: 276 seconds]
08:06
kareeoleez has quit [Ping timeout: 276 seconds]
08:07
senayar has joined #ruby
08:08
rippa has joined #ruby
08:09
idefine has joined #ruby
08:10
charliesome has joined #ruby
08:13
nofxx has joined #ruby
08:13
zapata has quit [Ping timeout: 260 seconds]
08:14
idefine has quit [Ping timeout: 264 seconds]
08:15
yaewa has joined #ruby
08:15
Blaguvest has quit [Ping timeout: 260 seconds]
08:15
bronson has joined #ruby
08:16
yfeldblum has joined #ruby
08:16
sp4rrow has joined #ruby
08:17
moei has quit [Ping timeout: 276 seconds]
08:19
lkba has quit [Ping timeout: 276 seconds]
08:20
kareeoleez has joined #ruby
08:20
bronson has quit [Ping timeout: 264 seconds]
08:23
blackgoat has quit [Quit: WeeChat 1.4]
08:23
znz_jp0 is now known as znz_jp
08:24
mrknip has quit [Ping timeout: 276 seconds]
08:25
kareeoleez has quit [Ping timeout: 264 seconds]
08:25
zapata has joined #ruby
08:26
dreinull has joined #ruby
08:28
dionysus69 has quit [Ping timeout: 276 seconds]
08:28
senayar has quit [Remote host closed the connection]
08:28
<
dreinull >
this is awkward, I never required my gem in irb before so I'm not sure what to do. Installed as a gem I just require "my_gem". In irb however within the gem's repo this doesn't work. Ruby doesn't find paths. How do I require a local gem in its own directory. Standard lib dir etc is here.
08:29
<
shevy >
if the gem was installed then it will be available from irb
08:29
<
Ox0dea >
dreinull: `bundle exec irb`
08:29
n1x has quit [Remote host closed the connection]
08:29
<
Ox0dea >
Even better is `bundle exec bin/console` if you used Bundler to initialize your gem.
08:30
<
dreinull >
Ox0dea doesn't that load the gem from gem path?
08:30
<
dreinull >
I want my development version
08:30
<
ruby[bot] >
Why don't you try it and see for yourself?
08:31
Rodya_ has quit [Remote host closed the connection]
08:32
<
dreinull >
Ox0dea "./... was missing. ok
08:32
<
Ox0dea >
No worries.
08:32
yfeldblum has quit [Ping timeout: 264 seconds]
08:33
Rodya_ has joined #ruby
08:34
bweston92 has joined #ruby
08:35
bweston92 has quit [Client Quit]
08:35
<
apeiros >
dreinull: pry -Ilib -rmy_gem
08:35
<
apeiros >
same for irb
08:35
<
baweaver >
pry --gem
08:36
houhoulis has quit [Remote host closed the connection]
08:36
<
dreinull >
never tried pry
08:36
<
ruby[bot] >
Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (
https://pryrepl.org/) : gem install pry pry-doc
08:36
bweston92 has joined #ruby
08:36
<
dreinull >
would probably be extremely useful for debugging sinatra apps :)
08:36
<
dreinull >
but never got around doing it
08:37
<
baweaver >
Sinatra typically works best with Jack Daniels
08:38
<
dreinull >
does it run under wine?
08:38
<
Ox0dea >
Huehuehue.
08:38
kareeoleez has joined #ruby
08:38
CloCkWeRX has joined #ruby
08:38
<
baweaver >
couldn't help it
08:38
jam___ has joined #ruby
08:39
<
baweaver >
(context: Frank Sinatra, the singer, drank Jack Daniels almost religiously)
08:39
Rodya_ has quit [Remote host closed the connection]
08:39
<
dreinull >
I will add it to my Gefile
08:39
Rodya_ has joined #ruby
08:40
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
08:40
<
dreinull >
or better, to my ENV vars
08:40
ropeney has quit [Remote host closed the connection]
08:40
<
baweaver >
there are several tutorials around though
08:41
* baweaver
has used remote_pry to debug issues across a company before
08:41
<
dreinull >
yes, pry has been around for years now but ...
08:41
Rodya_ has quit [Remote host closed the connection]
08:41
<
baweaver >
though at that point, just learn TMUX/Screen
08:41
<
dreinull >
life without tmux?
08:42
<
baweaver >
Just saying TMUX and Screen are near requirements for remote debugging / work
08:42
<
Ox0dea >
Omigod, why are you upcasing it?
08:42
<
baweaver >
or SCREEN?
08:43
Rodya_ has joined #ruby
08:43
kareeoleez has quit [Ping timeout: 276 seconds]
08:43
<
baweaver >
Fine, I'll talk about RUBY
08:43
<
Ox0dea >
And JAVA and UNIX.
08:43
Devalo has joined #ruby
08:44
<
baweaver >
well bed for me. 'night
08:44
baweaver has quit [Remote host closed the connection]
08:46
Rodya_ has quit [Read error: Connection reset by peer]
08:47
Rodya_ has joined #ruby
08:47
Aviio has joined #ruby
08:49
Lomex has quit [Read error: Connection reset by peer]
08:50
LoneHerm_ has joined #ruby
08:51
rkazak has quit [Quit: Sleep.....ing....]
08:53
Lomex has joined #ruby
08:53
krz has quit [Ping timeout: 244 seconds]
08:54
MagePsycho_ has quit [Quit: MagePsycho_]
08:55
Alina-malina has quit [Changing host]
08:55
Alina-malina has joined #ruby
08:56
kareeoleez has joined #ruby
08:56
LoneHerm_ has quit [Ping timeout: 244 seconds]
08:57
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
08:59
BtcBen has quit [Ping timeout: 276 seconds]
09:01
kareeoleez has quit [Ping timeout: 276 seconds]
09:02
MagePsycho_ has joined #ruby
09:04
n008f4g_ has joined #ruby
09:05
william3 has quit [Remote host closed the connection]
09:06
kies has quit [Ping timeout: 260 seconds]
09:07
ytti has joined #ruby
09:08
<
ytti >
s.add_runtime_dependency 'net-ssh', '~> 3.0.1'
09:08
<
ytti >
this means 3.0.x, but x minimum of 1, right?
09:10
jgrevich has quit [Ping timeout: 244 seconds]
09:10
william3 has joined #ruby
09:11
AlexRussia has joined #ruby
09:11
jgrevich has joined #ruby
09:12
SCHAAP137 has joined #ruby
09:12
mrknip has joined #ruby
09:14
Aviio has quit [Read error: Connection reset by peer]
09:16
bweston92 has quit [Ping timeout: 260 seconds]
09:16
Aviio has joined #ruby
09:16
bweston92 has joined #ruby
09:16
marr has quit [Ping timeout: 244 seconds]
09:20
Jackneill has joined #ruby
09:22
Rodya_ has quit [Remote host closed the connection]
09:24
agentmeerkat has quit [Ping timeout: 260 seconds]
09:27
Rodya_ has joined #ruby
09:28
n008f4g_ has quit [Ping timeout: 260 seconds]
09:29
jam___ has quit [Remote host closed the connection]
09:30
BtcBen has joined #ruby
09:30
jam___ has joined #ruby
09:30
jam___ has quit [Read error: Connection reset by peer]
09:31
jam___ has joined #ruby
09:32
mdw has joined #ruby
09:32
curses has joined #ruby
09:32
curses has quit [Remote host closed the connection]
09:34
Chagel has joined #ruby
09:34
Devalo has quit [Remote host closed the connection]
09:35
pandaant has joined #ruby
09:35
jam___ has quit [Ping timeout: 276 seconds]
09:37
madgen has joined #ruby
09:40
ropeney has joined #ruby
09:42
kareeoleez has joined #ruby
09:42
mdw has quit [Quit: Sleeping Zzzzz]
09:43
weckl has joined #ruby
09:44
nofxx has quit [Ping timeout: 244 seconds]
09:44
mrknip has quit [Ping timeout: 276 seconds]
09:45
baweaver has joined #ruby
09:45
akkmaxon has joined #ruby
09:46
kies has joined #ruby
09:47
blackmes1 has joined #ruby
09:47
Lomex has quit [Remote host closed the connection]
09:47
kareeoleez has quit [Ping timeout: 244 seconds]
09:50
Rodya_ has quit [Remote host closed the connection]
09:50
baweaver has quit [Ping timeout: 260 seconds]
09:56
Devalo has joined #ruby
09:56
Aviio has quit [Read error: Connection reset by peer]
09:57
idefine has joined #ruby
09:57
pandaant has quit [Remote host closed the connection]
09:57
NC30 has joined #ruby
09:58
duncannz has quit [Quit: Leaving]
09:58
nhhc has joined #ruby
09:58
spider-mario has joined #ruby
10:00
kareeoleez has joined #ruby
10:01
idefine has quit [Ping timeout: 264 seconds]
10:01
duncannz has joined #ruby
10:04
nofxx has joined #ruby
10:04
nofxx has joined #ruby
10:04
Rodya_ has joined #ruby
10:05
pandaant has joined #ruby
10:05
kareeoleez has quit [Ping timeout: 264 seconds]
10:05
Rodya_ has quit [Remote host closed the connection]
10:07
Rodya_ has joined #ruby
10:08
xue has joined #ruby
10:08
xue has quit [Max SendQ exceeded]
10:09
madgen has quit [Ping timeout: 244 seconds]
10:09
<
shevy >
yeah I think so
10:10
<
shevy >
I also often found the ~> too strict
10:11
phredus has quit [Remote host closed the connection]
10:12
Rodya_ has quit [Read error: Connection reset by peer]
10:13
duncannz has quit [Remote host closed the connection]
10:13
navneet has joined #ruby
10:16
phredus has joined #ruby
10:16
navneet has quit [Remote host closed the connection]
10:17
kimi_ has joined #ruby
10:18
kareeoleez has joined #ruby
10:19
Rodya_ has joined #ruby
10:19
PedramT has joined #ruby
10:20
marr has joined #ruby
10:20
pawnbox has quit [Ping timeout: 260 seconds]
10:21
bkxd has quit [Ping timeout: 244 seconds]
10:22
Rodya_ has quit [Remote host closed the connection]
10:22
PedramT has quit [Remote host closed the connection]
10:22
madgen has joined #ruby
10:22
PedramT has joined #ruby
10:23
pawnbox has joined #ruby
10:23
Rodya_ has joined #ruby
10:23
kareeoleez has quit [Ping timeout: 260 seconds]
10:24
Rodya_ has quit [Remote host closed the connection]
10:26
Rodya_ has joined #ruby
10:26
Lomex has joined #ruby
10:27
FernandoBasso has joined #ruby
10:27
madgen has quit [Ping timeout: 260 seconds]
10:28
xue has joined #ruby
10:28
xue has quit [Max SendQ exceeded]
10:29
xue has joined #ruby
10:30
xue has quit [Max SendQ exceeded]
10:32
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
10:32
yaewa has quit [Quit: Leaving...]
10:32
moei has joined #ruby
10:32
ssm_ is now known as ssm
10:32
xue has joined #ruby
10:33
xue has quit [Max SendQ exceeded]
10:34
BtcBen has quit [Ping timeout: 276 seconds]
10:35
bkxd has joined #ruby
10:35
bluOxigen has joined #ruby
10:35
nobitanobi has joined #ruby
10:36
kareeoleez has joined #ruby
10:39
stardiviner has joined #ruby
10:39
Rodya_ has quit [Remote host closed the connection]
10:41
Rodya_ has joined #ruby
10:41
kareeoleez has quit [Ping timeout: 260 seconds]
10:43
firstdayonthejob has quit [Ping timeout: 276 seconds]
10:45
NC30 is now known as Ohmm
10:46
phredus has quit [Remote host closed the connection]
10:46
Flipez has joined #ruby
10:47
FooMunki has joined #ruby
10:48
Flipez has quit [Client Quit]
10:49
Lomex has quit [Remote host closed the connection]
10:49
phredus has joined #ruby
10:50
pawnbox has quit [Ping timeout: 260 seconds]
10:50
xue has joined #ruby
10:50
xue has quit [Max SendQ exceeded]
10:51
kadoppe has joined #ruby
10:51
chris2_ is now known as chris2
10:51
PedramT_ has joined #ruby
10:52
Rodya_ has quit [Read error: Connection reset by peer]
10:53
PedramT has quit [Ping timeout: 276 seconds]
10:54
PedramT_ has quit [Remote host closed the connection]
10:54
mdw has joined #ruby
10:54
PedramT has joined #ruby
10:55
kareeoleez has joined #ruby
10:55
gizmore has joined #ruby
10:55
Rodya_ has joined #ruby
10:56
madgen has joined #ruby
10:56
kareeole_ has joined #ruby
10:57
PedramT has quit [Remote host closed the connection]
10:57
Rodya_ has quit [Read error: Connection reset by peer]
10:57
PedramT has joined #ruby
10:57
FooMunki has quit [Quit: FooMunki]
10:58
eatsfoobars has joined #ruby
10:59
kareeoleez has quit [Read error: Connection reset by peer]
10:59
Rodya_ has joined #ruby
10:59
kadoppe has quit [Ping timeout: 276 seconds]
11:00
akkmaxon has quit [Quit: Konversation terminated!]
11:00
sdothum has joined #ruby
11:01
nanoz has joined #ruby
11:05
Chagel has quit [Ping timeout: 264 seconds]
11:06
xfbs has joined #ruby
11:06
Rodya_ has quit [Remote host closed the connection]
11:06
xfbs has quit [Max SendQ exceeded]
11:07
xfbs has joined #ruby
11:07
FooMunki has joined #ruby
11:07
xfbs has quit [Remote host closed the connection]
11:08
houhoulis has joined #ruby
11:09
Ohmm has quit [Quit: Updating details, brb]
11:09
<
shevy >
is there a simply way to apply .select but to return two arrays? the first one, with the matches, the second array, with the non-matches?
11:10
Ohmm has joined #ruby
11:10
xue has joined #ruby
11:10
RegulationD has joined #ruby
11:10
postmodern has quit [Quit: Leaving]
11:10
<
toretore >
shevy: partition
11:10
xue has quit [Max SendQ exceeded]
11:12
<
shevy >
works, thanks
11:12
kareeole_ is now known as kareeoleez
11:14
navneet has joined #ruby
11:15
RegulationD has quit [Ping timeout: 260 seconds]
11:17
PedramT has quit [Remote host closed the connection]
11:19
Lomex has joined #ruby
11:19
CloCkWeRX has quit [Ping timeout: 260 seconds]
11:19
mdw has quit [Quit: Sleeping Zzzzz]
11:19
stardiviner has quit [Read error: Connection reset by peer]
11:21
DiggerNick has joined #ruby
11:21
DiggerNick was kicked from #ruby by ruby[bot] [was banned before]
11:21
szulak has joined #ruby
11:22
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:26
mikecmpbll has joined #ruby
11:29
Devalo_ has joined #ruby
11:29
karapetyan has joined #ruby
11:30
houhouli_ has joined #ruby
11:30
sandelius has joined #ruby
11:31
nofxx has quit [Ping timeout: 264 seconds]
11:31
mikecmpb_ has joined #ruby
11:31
Devalo has quit [Ping timeout: 264 seconds]
11:31
modin has quit [Ping timeout: 264 seconds]
11:31
jam___ has joined #ruby
11:32
johnny56_ has quit [Ping timeout: 264 seconds]
11:32
nobitanobi has quit [Remote host closed the connection]
11:32
mikecmpbll has quit [Ping timeout: 264 seconds]
11:32
houhoulis has quit [Ping timeout: 264 seconds]
11:32
ytti has quit [Ping timeout: 264 seconds]
11:33
ytti has joined #ruby
11:34
CloCkWeRX has joined #ruby
11:35
blaxter has joined #ruby
11:35
navneet_ has joined #ruby
11:36
nanoz has quit [Quit: <3]
11:36
stardiviner has joined #ruby
11:36
jam___ has quit [Ping timeout: 276 seconds]
11:36
bronson has joined #ruby
11:36
navneet has quit [Ping timeout: 244 seconds]
11:37
iek has joined #ruby
11:39
Xiti` has quit [Quit: Xiti`]
11:41
Xiti has joined #ruby
11:41
bronson has quit [Ping timeout: 276 seconds]
11:46
IrishGringo has joined #ruby
11:46
navneet_ has quit [Ping timeout: 244 seconds]
11:46
mikeiniowa has joined #ruby
11:46
baweaver has joined #ruby
11:48
mdw has joined #ruby
11:49
noService has quit [Read error: Connection reset by peer]
11:50
noService has joined #ruby
11:51
weckl has quit [Quit: Leaving]
11:52
baweaver has quit [Ping timeout: 260 seconds]
11:53
iek has quit [Ping timeout: 244 seconds]
11:54
iek has joined #ruby
12:00
bluOxigen has quit [Ping timeout: 276 seconds]
12:02
kareeoleez has quit [Remote host closed the connection]
12:08
karapetyan has quit [Remote host closed the connection]
12:08
karapetyan has joined #ruby
12:09
ropeney has quit [Quit: Leaving]
12:09
<
dreinull >
I managed a segfault in ruby and it says core dumped. but where?
12:09
william3 has quit [Remote host closed the connection]
12:10
IrishGringo has quit [Ping timeout: 260 seconds]
12:11
karapetyan has quit [Remote host closed the connection]
12:11
karapetyan has joined #ruby
12:11
Chagel has joined #ruby
12:14
P_R_Deltoid has quit [Ping timeout: 260 seconds]
12:14
coyo has joined #ruby
12:14
<
Ox0dea >
dreinull: Probably /var/lib/systemd/coredump.
12:14
william3 has joined #ruby
12:14
someish has joined #ruby
12:15
<
shevy >
I cause a lot of segfaults
12:15
<
Ox0dea >
It's very easy.
12:15
<
dreinull >
ok, no need to actually look at it?
12:15
<
dreinull >
but it's there, yes, thanks
12:15
<
Ox0dea >
I mean, are you trying to figure out what happened?
12:16
<
shevy >
does it not scare you dreinull
12:16
william3 has quit [Remote host closed the connection]
12:16
<
dreinull >
no, forgot something
12:16
william3 has joined #ruby
12:17
futilegames has joined #ruby
12:17
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:17
<
dreinull >
argh, too much trouble.
12:17
<
dreinull >
I'll not look at it :)
12:18
<
Ox0dea >
Wrong smiley.
12:19
<
shevy >
those ruby segfaults can be quite long... here I tend to have it in the range of... up to 2000 lines roughly, depending on how much code was loaded/used
12:19
karapetyan has quit [Read error: Connection reset by peer]
12:21
blackmes1 has quit [Ping timeout: 244 seconds]
12:22
blackmes1 has joined #ruby
12:23
<
Ox0dea >
dreinull: Were you doing something iffy? If not, you might've encountered a bug in MRI.
12:23
<
Ox0dea >
Don't put the bug under the rug.
12:24
<
dreinull >
Ox0dea, no, subclassed the wrong class
12:24
<
Ox0dea >
And segfaulted?
12:24
<
dreinull >
How would I read the lz4 file?
12:24
<
Ox0dea >
man coredumpctl
12:25
<
Papierkorb >
"did you mean" or somethign related to it often makes ruby crash for me when I mistype. Wasn't able to create a simple test-case yet
12:27
AlexRussia has quit [Quit: WeeChat 1.4-dev]
12:27
<
dreinull >
ok, found it. looks awful
12:27
<
Ox0dea >
I wanna see.
12:27
karapetyan has joined #ruby
12:28
inukshuk_ has joined #ruby
12:28
<
dreinull >
let me create a test case
12:29
antgel has joined #ruby
12:30
jud has quit [Quit: Leaving]
12:30
karapetyan has quit [Remote host closed the connection]
12:30
TheCubeLord has quit [Ping timeout: 260 seconds]
12:30
blackmes1 has quit [Ping timeout: 260 seconds]
12:31
jgt2 has joined #ruby
12:32
karapetyan has joined #ruby
12:32
<
dreinull >
require 'sinatra';class A < Sinatra::Application;end;use A
12:32
<
dreinull >
under 2.3 this segfaults as soon as you localhost:4567
12:33
<
dreinull >
don't have any other rubies installed on this machine
12:35
<
Papierkorb >
dreinull: does it only break with rackup?
12:35
<
dreinull >
no, ruby script.rb
12:35
krz has joined #ruby
12:37
<
Papierkorb >
works fine for me. Ruby 2.3.0p0 on ArchLinux, Sinatra 1.4.7
12:37
<
dreinull >
same here
12:38
<
dreinull >
probably an rvm issue
12:38
<
dreinull >
the coredump mentions libc
12:38
<
dreinull >
maybe that, too
12:39
<
Papierkorb >
dreinull: On which distro are you? Or, does your distro come with Ruby2.3 out of the box?
12:39
idefine has joined #ruby
12:39
<
dreinull >
If I find some time I'll recompile
12:39
<
dreinull >
same as yours, todays arch
12:40
<
Papierkorb >
Then you don't need RVM if you only want the latest ruby
12:40
<
dreinull >
I sometimes run jruby and rbx, too
12:40
<
dreinull >
rvm is fine for me
12:40
Ox0dea has quit [Read error: Connection reset by peer]
12:40
<
Papierkorb >
jruby is in the repository too, latest version, everything nice
12:41
charliesome has joined #ruby
12:41
<
dreinull >
rbx too, I think.
12:42
<
dreinull >
Yet I like my rvm ;)
12:43
Ox0dea has joined #ruby
12:43
BTRE has quit [Ping timeout: 244 seconds]
12:44
idefine has quit [Ping timeout: 260 seconds]
12:44
<
Ox0dea >
dreinull: I get stack overflows on 2.1-2.4 (as expected), but no segfaults.
12:45
<
Ox0dea >
An Archer that uses RVM, eh? I bet I can guess which AUR helper you use. :P
12:45
<
dreinull >
Ox0dea which one?
12:45
FooMunki has quit [Quit: FooMunki]
12:45
diegoaguilar has joined #ruby
12:45
jgt3 has joined #ruby
12:45
<
dreinull >
looked at my choices and in a whim I chose pacaur.
12:46
<
dreinull >
Works great
12:46
<
dreinull >
does all the pacman stuff as well
12:46
<
Ox0dea >
It's very good.
12:46
<
dreinull >
never tried any of the other managers
12:46
<
Ox0dea >
I chose it for that reason, though, not whimsy.
12:46
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
12:46
<
dreinull >
I was new, I had no idea what I was looking for
12:47
karapetyan has quit [Remote host closed the connection]
12:47
tuelz4 has joined #ruby
12:48
william3 has quit [Remote host closed the connection]
12:48
freerobby has joined #ruby
12:48
jgt2 has quit [Ping timeout: 260 seconds]
12:49
solocshaw has quit [Ping timeout: 260 seconds]
12:49
MrDoctor has joined #ruby
12:50
modin has joined #ruby
12:53
rippa has joined #ruby
12:54
<
Ox0dea >
dreinull: You'll want to look in the stack trace for the first function that has an `rb_` or `ruby_` prefix.
12:54
freerobby has quit [Quit: Leaving.]
12:54
johnny56_ has joined #ruby
12:55
<
Ox0dea >
I vaguely recall an issue on the bug tracker where some people were getting stack overflows and others segfaults.
12:55
<
Ox0dea >
It'll be to do with recursive Proc invocations, I think.
12:56
BTRE has joined #ruby
12:57
johnmilton has joined #ruby
12:57
pandaant has quit [Read error: Connection reset by peer]
12:59
Xeago has joined #ruby
13:02
czerasz_ has joined #ruby
13:03
shazaum_ has joined #ruby
13:05
johnmilton has quit [Ping timeout: 260 seconds]
13:06
Xeago has quit [Read error: Connection reset by peer]
13:06
<
dreinull >
had to find a cli pastebin first
13:07
AndChat643025 has joined #ruby
13:07
symm- has quit [Ping timeout: 276 seconds]
13:07
Aviio_ has joined #ruby
13:08
FooMunki has joined #ruby
13:08
Aviio_ has quit [Remote host closed the connection]
13:10
kareeoleez has joined #ruby
13:13
nanoz has joined #ruby
13:14
<
shevy >
Yoghurt! manage packages AND milk products!
13:15
<
shevy >
is anyone here using homebrew on linux actually?
13:16
<
gizmore >
like self-made alcohol... or that macos program?
13:16
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
13:17
<
shevy >
that package manager thingy
13:18
shazaum_ has quit [Quit: This computer has gone to sleep]
13:18
<
dreinull >
shevy I did but it sucked
13:18
bruno- has joined #ruby
13:19
<
dreinull >
usefule for hit and run dependencies
13:19
bruno- is now known as Guest36170
13:19
<
dreinull >
and if your distro doesn't have recent updates
13:19
<
dreinull >
but nothing beats arch on that
13:19
rippa has joined #ruby
13:19
nanoz has quit [Changing host]
13:19
nanoz has joined #ruby
13:20
johnmilton has joined #ruby
13:20
<
Ox0dea >
My SystemStackError and your stack trace both point to it, at least.
13:20
<
dreinull >
Ox0dea rack code is over my head
13:21
<
dreinull >
tried a couple of times to read it
13:21
n008f4g_ has joined #ruby
13:22
Xeago has joined #ruby
13:22
william3 has joined #ruby
13:23
CloCkWeRX has quit [Ping timeout: 276 seconds]
13:26
blackmes1 has joined #ruby
13:30
lkba has joined #ruby
13:30
diegoaguilar has quit [Ping timeout: 244 seconds]
13:30
shinnya has joined #ruby
13:32
jam___ has joined #ruby
13:33
CloCkWeRX has joined #ruby
13:36
Xeago has quit [Read error: Connection reset by peer]
13:37
jam___ has quit [Ping timeout: 264 seconds]
13:37
Ishido has joined #ruby
13:37
bronson has joined #ruby
13:38
Xeago has joined #ruby
13:39
tubuliferous has joined #ruby
13:40
william3 has quit [Remote host closed the connection]
13:42
bronson has quit [Ping timeout: 264 seconds]
13:44
czerasz_ has quit [Read error: Connection timed out]
13:45
czerasz_ has joined #ruby
13:45
al2o3-cr has quit [Ping timeout: 276 seconds]
13:45
diegoaguilar has joined #ruby
13:47
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
13:48
krz has quit [Ping timeout: 276 seconds]
13:48
baweaver has joined #ruby
13:50
Xeago has quit [Ping timeout: 244 seconds]
13:50
rbennacer has joined #ruby
13:53
baweaver has quit [Ping timeout: 260 seconds]
13:55
rbennacer has quit [Read error: Connection reset by peer]
13:56
rbennacer has joined #ruby
13:57
biberu has joined #ruby
13:58
watersoul has quit [Remote host closed the connection]
13:58
watersoul has joined #ruby
13:58
AlexRussia has joined #ruby
14:00
nixmaniack has joined #ruby
14:00
nixmaniack has joined #ruby
14:02
PedramT has joined #ruby
14:04
william3 has joined #ruby
14:05
idle_task has joined #ruby
14:05
william3 has quit [Remote host closed the connection]
14:05
idletask has quit [Ping timeout: 276 seconds]
14:05
PedramT has quit [Remote host closed the connection]
14:05
Ohmm has quit [Quit: Connection closed for inactivity]
14:07
william3 has joined #ruby
14:08
poerror has joined #ruby
14:08
PedramT has joined #ruby
14:09
IrishGringo has joined #ruby
14:11
nixmaniack has quit [Read error: Connection reset by peer]
14:12
sameerynho has joined #ruby
14:13
PedramT has quit [Ping timeout: 276 seconds]
14:13
nixmaniack has joined #ruby
14:13
<
shevy >
is there something like testing for lazy people? like, I'd want to test only for some core functionality, but could easily avoid having to test the remaining ... 50% or something
14:13
lxsameer has quit [Ping timeout: 244 seconds]
14:14
houhouli_ has quit [Remote host closed the connection]
14:15
rbennace_ has joined #ruby
14:15
william3 has quit [Ping timeout: 276 seconds]
14:15
<
adaedra >
you choose what you test, after all
14:17
freerobby has joined #ruby
14:17
rbennacer has quit [Ping timeout: 276 seconds]
14:19
william3 has joined #ruby
14:20
futilegames has quit [Quit: futilegames]
14:20
polysics has joined #ruby
14:21
futilegames has joined #ruby
14:23
n008f4g_ has quit [Ping timeout: 260 seconds]
14:24
william3 has quit [Remote host closed the connection]
14:24
Ohmm has joined #ruby
14:24
circlebenny has joined #ruby
14:26
Guest36170 has quit [Ping timeout: 244 seconds]
14:27
Lomex has quit [Remote host closed the connection]
14:27
futilegames has quit [Quit: futilegames]
14:27
idefine has joined #ruby
14:28
darkf has quit [Quit: Leaving]
14:28
rbennace_ has quit [Ping timeout: 264 seconds]
14:28
futilegames has joined #ruby
14:28
SuperLag_ has quit [Quit: leaving]
14:29
idle_task is now known as idletask
14:30
poguez_ has quit [Quit: Connection closed for inactivity]
14:30
Lomex has joined #ruby
14:31
Eiam_ has joined #ruby
14:32
idefine has quit [Ping timeout: 260 seconds]
14:32
Lomex has quit [Remote host closed the connection]
14:33
Puffball has quit [Remote host closed the connection]
14:33
circlebenny has quit [Remote host closed the connection]
14:33
n008f4g_ has joined #ruby
14:34
Puffball has joined #ruby
14:35
tildes has quit [Ping timeout: 276 seconds]
14:39
noService has quit [Read error: Connection reset by peer]
14:39
noService has joined #ruby
14:41
lkba has quit [Read error: Connection reset by peer]
14:42
RegulationD has joined #ruby
14:42
sandelius has joined #ruby
14:42
kareeoleez has quit [Remote host closed the connection]
14:43
gregf has quit [Quit: WeeChat 1.4]
14:45
lkba has joined #ruby
14:45
finisherr has joined #ruby
14:46
RegulationD has quit [Ping timeout: 244 seconds]
14:46
ixti has quit [Quit: WeeChat 1.4]
14:47
callen92 has joined #ruby
14:47
davedev24 has joined #ruby
14:47
gregf has joined #ruby
14:49
pawnbox has joined #ruby
14:49
kareeoleez has joined #ruby
14:50
blackmes1 has quit [Ping timeout: 244 seconds]
14:51
infra-red has quit [Remote host closed the connection]
14:52
SuperLag has joined #ruby
14:53
Yiota has joined #ruby
14:53
siaw has quit [Quit: siaw]
14:54
kareeoleez has quit [Ping timeout: 276 seconds]
14:55
infra-red has joined #ruby
14:55
infra-red has quit [Remote host closed the connection]
14:57
Yiota has quit [Ping timeout: 244 seconds]
14:59
idefine has joined #ruby
14:59
kareeoleez has joined #ruby
15:00
newjersey has joined #ruby
15:00
newjersey has quit [Max SendQ exceeded]
15:01
mrknip has joined #ruby
15:03
kareeoleez has quit [Ping timeout: 260 seconds]
15:03
idefine has quit [Ping timeout: 260 seconds]
15:04
madgen has quit [Ping timeout: 276 seconds]
15:06
tk__ has quit [Quit: ばいばい]
15:07
bry4n has joined #ruby
15:09
djbkd has joined #ruby
15:09
ekinmur has joined #ruby
15:12
baweaver has joined #ruby
15:13
navneet has joined #ruby
15:14
lemur has joined #ruby
15:14
hxegon has joined #ruby
15:15
someish has quit [Quit: someish]
15:15
kimi_ has quit [Quit: Ex-Chat]
15:16
madgen has joined #ruby
15:17
kareeoleez has joined #ruby
15:17
baweaver has quit [Ping timeout: 260 seconds]
15:21
kareeoleez has quit [Ping timeout: 244 seconds]
15:23
sameerynho has quit [Quit: WeeChat 1.4]
15:23
akem has quit [Ping timeout: 276 seconds]
15:24
n008f4g_ has quit [Ping timeout: 244 seconds]
15:25
SilverKey has joined #ruby
15:25
User458764 has joined #ruby
15:26
lkba has quit [Ping timeout: 264 seconds]
15:26
n008f4g_ has joined #ruby
15:30
LoneHerm_ has joined #ruby
15:30
siaw has joined #ruby
15:31
mdw has quit [Quit: Sleeping Zzzzz]
15:32
biberu has quit [Read error: Connection reset by peer]
15:33
jam__ has joined #ruby
15:34
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
15:35
codecop_ has quit [Remote host closed the connection]
15:35
kareeoleez has joined #ruby
15:35
hacworld has quit [Quit: Quitte]
15:37
nando293921 has joined #ruby
15:37
Jackneill has quit [Quit: Leaving]
15:37
freerobby has quit [Ping timeout: 264 seconds]
15:37
jam__ has quit [Ping timeout: 260 seconds]
15:38
bronson has joined #ruby
15:39
karapetyan has joined #ruby
15:39
kareeoleez has quit [Ping timeout: 260 seconds]
15:40
Lomex has joined #ruby
15:42
b|ackwolf has quit [Ping timeout: 260 seconds]
15:42
interpel1x has quit [Quit: leaving]
15:43
bronson has quit [Ping timeout: 260 seconds]
15:43
shoky has joined #ruby
15:48
shoky has left #ruby [#ruby]
15:48
MagePsycho_ has quit [Read error: Connection reset by peer]
15:49
shaman42 has quit [Remote host closed the connection]
15:49
nw has quit [Quit: WeeChat 1.3]
15:49
vdamewood has joined #ruby
15:51
rkazak has joined #ruby
15:51
CloCkWeRX has quit [Remote host closed the connection]
15:51
s00pcan has joined #ruby
15:53
navneet has quit [Read error: Connection reset by peer]
15:53
kareeoleez has joined #ruby
15:55
callen92 has quit [Quit: Leaving]
15:55
b|ackwolf has joined #ruby
15:56
firstdayonthejob has joined #ruby
15:56
nhhc has quit [Ping timeout: 260 seconds]
15:57
nhhc has joined #ruby
15:58
kareeoleez has quit [Ping timeout: 264 seconds]
15:59
phpwebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:59
phpwebdev has joined #ruby
16:00
Devalo_ has quit [Remote host closed the connection]
16:01
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
16:04
stardiviner has quit [Ping timeout: 276 seconds]
16:05
someish has joined #ruby
16:05
MagePsycho_ has joined #ruby
16:05
hosttor has joined #ruby
16:07
rkazak has quit [Quit: Sleep.....ing....]
16:07
mrknip has quit [Ping timeout: 260 seconds]
16:10
Lomex has quit [Remote host closed the connection]
16:11
ixti has joined #ruby
16:11
statelesscode has joined #ruby
16:12
kareeoleez has joined #ruby
16:12
hosttor has quit [Remote host closed the connection]
16:14
lemur is now known as baweaver
16:14
houhoulis has joined #ruby
16:16
jgt3 has quit [Ping timeout: 260 seconds]
16:16
GinoMan2440_ has joined #ruby
16:16
kareeoleez has quit [Ping timeout: 260 seconds]
16:18
GinoMan2440 has quit [Ping timeout: 260 seconds]
16:19
mrknip has joined #ruby
16:20
hosttor has joined #ruby
16:21
mrknip has quit [Client Quit]
16:21
kareeoleez has joined #ruby
16:21
cdg has joined #ruby
16:21
hosttor has quit [Remote host closed the connection]
16:23
Chagel has quit [Ping timeout: 244 seconds]
16:23
MagePsycho_ has quit [Quit: MagePsycho_]
16:25
vF3hNGxc47h8 has joined #ruby
16:26
Gasher has joined #ruby
16:26
blaxter has quit [Read error: Connection reset by peer]
16:26
kareeoleez has quit [Ping timeout: 264 seconds]
16:26
infra-red has joined #ruby
16:27
blaxter has joined #ruby
16:29
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:29
hosttor has joined #ruby
16:30
kareeoleez has joined #ruby
16:31
infra-red has quit [Ping timeout: 244 seconds]
16:31
freerobby has joined #ruby
16:32
ixti has quit [Ping timeout: 260 seconds]
16:35
kareeoleez has quit [Ping timeout: 276 seconds]
16:35
Ohmm has quit [Quit: Connection closed for inactivity]
16:36
akem has joined #ruby
16:36
terminalrecluse has joined #ruby
16:37
safe has joined #ruby
16:37
william3 has joined #ruby
16:38
karapetyan has quit [Remote host closed the connection]
16:38
shinnya has quit [Ping timeout: 276 seconds]
16:38
terminalrecluse has quit [Max SendQ exceeded]
16:39
karapetyan has joined #ruby
16:39
terminalrecluse has joined #ruby
16:39
Mattx has joined #ruby
16:40
<
Mattx >
Why is it unpredictable?
16:40
<
Mattx >
I want the second behavior, always
16:41
diegoaguilar has quit [Ping timeout: 244 seconds]
16:42
nando293921 has quit [Ping timeout: 276 seconds]
16:42
Gasher has quit [Ping timeout: 260 seconds]
16:42
MagePsycho_ has joined #ruby
16:43
akem has quit [Remote host closed the connection]
16:43
Gasher has joined #ruby
16:43
myntcake has joined #ruby
16:43
nando293921 has joined #ruby
16:44
mgorbach has quit [Ping timeout: 276 seconds]
16:45
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:46
araujo_ has joined #ruby
16:47
araujo_ has quit [Max SendQ exceeded]
16:47
<
Mattx >
it's always executing the code in the same order, why would the output change?
16:47
stardiviner has joined #ruby
16:48
araujo_ has joined #ruby
16:48
kareeoleez has joined #ruby
16:49
terminalrecluse has joined #ruby
16:49
GodFodder has quit [Read error: Connection reset by peer]
16:49
Eiam_ has joined #ruby
16:49
araujo has quit [Ping timeout: 268 seconds]
16:49
PedramT has joined #ruby
16:49
GodFodder has joined #ruby
16:49
someish has quit [Quit: someish]
16:49
araujo_ has quit [Max SendQ exceeded]
16:50
sharkman has joined #ruby
16:50
karapetyan has quit [Remote host closed the connection]
16:50
araujo_ has joined #ruby
16:50
<
sharkman >
a = [1,2,3,4,5,6,7], how do i get a = [2,3,4,5,7] by deleting at indexes
16:51
araujo_ has quit [Max SendQ exceeded]
16:52
araujo_ has joined #ruby
16:53
terminalrecluse has quit [Client Quit]
16:53
kareeoleez has quit [Ping timeout: 260 seconds]
16:54
GodFodder has quit [Ping timeout: 260 seconds]
16:54
diegoaguilar has joined #ruby
16:54
PedramT has quit [Ping timeout: 276 seconds]
16:54
Mattx has left #ruby ["Leaving"]
16:54
Mattx has joined #ruby
16:55
statelesscode has quit [Quit: statelesscode]
16:56
william3 has quit [Remote host closed the connection]
16:57
Gasher has quit [Ping timeout: 260 seconds]
16:57
karapetyan has joined #ruby
16:57
kareeoleez has joined #ruby
16:58
pawnbox has quit [Read error: Connection reset by peer]
16:58
pawnbox has joined #ruby
16:58
Gasher has joined #ruby
17:01
jam__ has joined #ruby
17:01
Devalo has joined #ruby
17:02
pawnbox has quit [Remote host closed the connection]
17:03
pawnbox has joined #ruby
17:03
kareeoleez has quit [Ping timeout: 276 seconds]
17:05
Gasher has quit [Ping timeout: 260 seconds]
17:05
n008f4g_ has quit [Ping timeout: 276 seconds]
17:07
Devalo has quit [Ping timeout: 264 seconds]
17:07
kareeoleez has joined #ruby
17:08
SilverKey has quit [Ping timeout: 260 seconds]
17:09
djbkd has quit [Remote host closed the connection]
17:11
kareeoleez has quit [Ping timeout: 260 seconds]
17:12
Gasher has joined #ruby
17:12
william3 has joined #ruby
17:14
MRB[afk] is now known as Matthew_
17:14
karapetyan has quit [Remote host closed the connection]
17:15
elifoster|alt has joined #ruby
17:15
mdw has joined #ruby
17:16
bruno- has joined #ruby
17:16
kareeoleez has joined #ruby
17:17
nando293921 has quit [Ping timeout: 260 seconds]
17:18
Lomex has joined #ruby
17:21
kareeoleez has quit [Ping timeout: 276 seconds]
17:22
BtcBen has joined #ruby
17:22
SilverKey has joined #ruby
17:22
<
Mattx >
Hey, I repeat my problem just in case
17:22
<
Mattx >
It's always executing the code in the same order (due to the sleeps), why would the output change then?
17:23
sharkman has quit [Quit: Leaving]
17:23
Gasher has quit [Ping timeout: 276 seconds]
17:23
SCHAAP137 has quit [Quit: Leaving]
17:24
SDavis has joined #ruby
17:24
SCHAAP137 has joined #ruby
17:24
dfdnatural has joined #ruby
17:25
kareeoleez has joined #ruby
17:29
pawnbox has quit [Remote host closed the connection]
17:30
kareeoleez has quit [Ping timeout: 276 seconds]
17:31
madgen has quit [Ping timeout: 276 seconds]
17:31
Chagel has joined #ruby
17:32
william3 has quit [Ping timeout: 276 seconds]
17:32
GinoMan2440 has joined #ruby
17:35
GinoMan2440_ has quit [Ping timeout: 260 seconds]
17:35
navneet has joined #ruby
17:35
nobitanobi has joined #ruby
17:39
bronson has joined #ruby
17:40
idefine has joined #ruby
17:41
Chagel has quit [Ping timeout: 260 seconds]
17:41
nanoz has quit [Read error: Connection reset by peer]
17:42
william3 has joined #ruby
17:43
bronson has quit [Ping timeout: 244 seconds]
17:43
kareeoleez has joined #ruby
17:44
bruno- has quit [Ping timeout: 244 seconds]
17:45
Gasher has joined #ruby
17:46
william3 has quit [Remote host closed the connection]
17:46
idefine has quit [Ping timeout: 264 seconds]
17:46
newjersey has joined #ruby
17:47
<
Mattx >
No one is reading :(
17:47
nw has joined #ruby
17:47
shaman42 has joined #ruby
17:47
kareeoleez has quit [Ping timeout: 244 seconds]
17:47
nw is now known as Guest94494
17:47
last_staff has joined #ruby
17:49
BtcBen has quit [Ping timeout: 276 seconds]
17:49
madgen has joined #ruby
17:49
ramfjord has joined #ruby
17:51
blaxter has quit [Quit: foo]
17:52
blaxter has joined #ruby
17:53
mgorbach has joined #ruby
17:54
idefine has joined #ruby
17:55
sp4rrow has joined #ruby
17:57
toretore has quit [Ping timeout: 260 seconds]
17:58
nettoweb has joined #ruby
17:59
krz has joined #ruby
17:59
idefine has quit [Ping timeout: 264 seconds]
17:59
dfdnatural has quit [Quit: WeeChat 1.4]
17:59
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
17:59
<
SDavis >
Is it possible to force TLS 1.2 in ruby? And have heroku respect it?
17:59
jam__ has quit [Read error: Connection reset by peer]
18:00
nando293921 has joined #ruby
18:00
smathy has joined #ruby
18:00
goodroot has joined #ruby
18:01
pietr0 has joined #ruby
18:02
kareeoleez has joined #ruby
18:03
Devalo has joined #ruby
18:05
djbkd has joined #ruby
18:05
<
djellemah >
Mattx: Are you sure you know what Thread.abort_on_exception = true will do?
18:07
kareeoleez has quit [Ping timeout: 264 seconds]
18:08
PedramT has joined #ruby
18:08
Devalo has quit [Ping timeout: 264 seconds]
18:10
karapetyan has joined #ruby
18:10
sepp2k has joined #ruby
18:11
n008f4g_ has joined #ruby
18:12
pawnbox has joined #ruby
18:13
GinoMan2440 has quit [Read error: Connection reset by peer]
18:13
RegulationD has joined #ruby
18:14
naftilos76 has joined #ruby
18:14
naftilos76 has quit [Remote host closed the connection]
18:14
GinoMan2440 has joined #ruby
18:15
User458764 has joined #ruby
18:15
Guest94494 has quit [Quit: WeeChat 1.4]
18:17
nw1 has joined #ruby
18:19
freerobby has quit [Quit: Leaving.]
18:20
kareeoleez has joined #ruby
18:21
xue has joined #ruby
18:23
pietr0 has quit [Quit: pietr0]
18:23
minimalism has quit [Quit: minimalism]
18:24
blackmes1 has joined #ruby
18:24
kareeoleez has quit [Ping timeout: 260 seconds]
18:25
jam__ has joined #ruby
18:27
infra-red has joined #ruby
18:28
djbkd has quit [Quit: Leaving...]
18:29
bruno- has joined #ruby
18:30
<
shevy >
Mattx wake up!
18:30
navneet has quit [Remote host closed the connection]
18:31
Xeago has joined #ruby
18:32
infra-red has quit [Ping timeout: 276 seconds]
18:35
mdw has quit [Quit: Sleeping Zzzzz]
18:35
nobitanobi has quit [Remote host closed the connection]
18:36
nobitanobi has joined #ruby
18:36
Xeago has quit [Ping timeout: 244 seconds]
18:36
<
shevy >
we lost him to the forces of idle
18:37
Dimik has joined #ruby
18:37
idefine has joined #ruby
18:38
kareeoleez has joined #ruby
18:38
nobitanobi has quit [Read error: Connection reset by peer]
18:39
SDavis has quit [Quit: Konversation terminated!]
18:41
solars has joined #ruby
18:42
ramfjord has quit [Ping timeout: 276 seconds]
18:42
idefine has quit [Ping timeout: 264 seconds]
18:43
kareeoleez has quit [Ping timeout: 276 seconds]
18:44
IrishGringo has quit [Ping timeout: 260 seconds]
18:44
karapetyan has quit [Remote host closed the connection]
18:47
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
18:47
eatsfoobars has joined #ruby
18:49
Regulati_ has joined #ruby
18:50
goodroot has quit [Ping timeout: 264 seconds]
18:50
Qommand0r has joined #ruby
18:51
szulak has joined #ruby
18:51
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:52
RegulationD has quit [Ping timeout: 276 seconds]
18:53
PedramT has quit [Read error: Connection reset by peer]
18:53
mdw has joined #ruby
18:53
IrishGringo has joined #ruby
18:53
PedramT has joined #ruby
18:56
kareeoleez has joined #ruby
18:57
PedramT has quit [Ping timeout: 244 seconds]
18:58
OTORelic2 has joined #ruby
18:59
william3 has joined #ruby
18:59
william3 has quit [Remote host closed the connection]
19:00
william3 has joined #ruby
19:01
kareeoleez has quit [Ping timeout: 260 seconds]
19:01
william3 has quit [Remote host closed the connection]
19:03
elusiveother is now known as LadyElusive
19:03
karapetyan has joined #ruby
19:04
idefine has joined #ruby
19:04
rkazak has joined #ruby
19:04
william3 has joined #ruby
19:05
kareeoleez has joined #ruby
19:05
PedramT has joined #ruby
19:06
Xeago has joined #ruby
19:07
karapetyan has quit [Remote host closed the connection]
19:07
Qommand0r has quit [Changing host]
19:07
Qommand0r has joined #ruby
19:08
idefine has quit [Ping timeout: 264 seconds]
19:09
mesamoo has joined #ruby
19:09
Qommand0r has quit [Changing host]
19:09
Qommand0r has joined #ruby
19:09
blackmes1 has quit [Ping timeout: 244 seconds]
19:09
kareeoleez has quit [Ping timeout: 244 seconds]
19:11
Qommand0r has quit [Changing host]
19:11
Qommand0r has joined #ruby
19:12
navneet has joined #ruby
19:13
hxegon is now known as hxegon_AFK
19:13
davedev24 has quit [Remote host closed the connection]
19:14
bruno- has quit [Ping timeout: 244 seconds]
19:14
PedramT has quit [Read error: Connection reset by peer]
19:14
PedramT has joined #ruby
19:15
Musashi007 has joined #ruby
19:17
MeMoc has joined #ruby
19:17
IrishGringo has quit [Ping timeout: 260 seconds]
19:19
slackbotgz has joined #ruby
19:19
Qommand0r has quit [Quit: Exiting...]
19:20
Qommand0r has joined #ruby
19:22
hakunin has quit []
19:22
juanfra has quit [Quit: juanfra]
19:22
william3 has quit [Remote host closed the connection]
19:23
kareeoleez has joined #ruby
19:24
dionysus69 has joined #ruby
19:24
SCHAAP137 has quit [Remote host closed the connection]
19:24
Devalo has joined #ruby
19:25
SCHAAP137 has joined #ruby
19:25
rbennacer has joined #ruby
19:26
minimalism has joined #ruby
19:28
kareeoleez has quit [Ping timeout: 276 seconds]
19:31
MrDoctor has quit [Ping timeout: 244 seconds]
19:31
MrDoctor has joined #ruby
19:32
czerasz_ has quit [Ping timeout: 244 seconds]
19:33
nettoweb has joined #ruby
19:33
gregf has quit [Quit: WeeChat 1.4]
19:33
n008f4g_ has quit [Ping timeout: 260 seconds]
19:34
rkazak has quit [Quit: Sleep.....ing....]
19:34
karapetyan has joined #ruby
19:34
blackmes1 has joined #ruby
19:35
n008f4g_ has joined #ruby
19:36
djbkd has joined #ruby
19:37
bruno- has joined #ruby
19:38
hxegon_AFK has quit [Quit: BRB]
19:40
bronson has joined #ruby
19:40
davedev24 has joined #ruby
19:40
nixmaniack has quit []
19:42
kareeoleez has joined #ruby
19:42
tuxdna has joined #ruby
19:43
bruno- has quit [Ping timeout: 264 seconds]
19:44
bronson has quit [Ping timeout: 244 seconds]
19:44
tildes has joined #ruby
19:45
czerasz_ has joined #ruby
19:45
madgen has quit [Ping timeout: 264 seconds]
19:45
Yiota has joined #ruby
19:46
tuxdna has quit [Client Quit]
19:46
AnoHito has quit [Ping timeout: 244 seconds]
19:46
Yiota has quit [Read error: Connection reset by peer]
19:46
juanfra has joined #ruby
19:46
kareeoleez has quit [Ping timeout: 276 seconds]
19:46
tristanp_ has quit [Remote host closed the connection]
19:47
tristanp has joined #ruby
19:49
binaryplease1 has joined #ruby
19:50
AnoHito has joined #ruby
19:51
poguez_ has joined #ruby
19:51
Yiota has joined #ruby
19:51
binaryplease has quit [Ping timeout: 244 seconds]
19:51
Cohedrin has joined #ruby
19:51
tildes has quit [Ping timeout: 260 seconds]
19:52
tristanp has quit [Ping timeout: 264 seconds]
19:52
baweaver has quit [Read error: Connection reset by peer]
19:52
baweaver has joined #ruby
19:52
baweaver has quit [Remote host closed the connection]
19:53
goodroot has joined #ruby
19:53
baweaver has joined #ruby
19:55
slackbotgz has quit [Remote host closed the connection]
19:56
baweaver has quit [Remote host closed the connection]
19:56
baweaver has joined #ruby
19:56
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:57
sp4rrow has joined #ruby
19:58
goodroot has quit [Ping timeout: 264 seconds]
19:58
johnbat26 has joined #ruby
19:58
bmf has joined #ruby
19:58
<
eam >
whooops, happy weekend everyone how are your rubies
19:59
binaryplease1 is now known as binaryplease
19:59
d0nn1e has quit [Ping timeout: 260 seconds]
20:00
kareeoleez has joined #ruby
20:00
d0nn1e has joined #ruby
20:02
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:02
baweaver has quit []
20:03
baweaver has joined #ruby
20:03
swills has quit [Quit: Leaving]
20:04
sp4rrow has quit [Ping timeout: 276 seconds]
20:04
kareeoleez has quit [Ping timeout: 276 seconds]
20:05
BtcBen has joined #ruby
20:05
bronson has joined #ruby
20:06
davedev24 has quit []
20:06
bronson has quit [Remote host closed the connection]
20:07
stardiviner has quit [Ping timeout: 244 seconds]
20:08
gizless has joined #ruby
20:08
xue has quit [Ping timeout: 276 seconds]
20:09
Yiota has joined #ruby
20:09
OTORelic2 has quit [Ping timeout: 260 seconds]
20:09
kareeoleez has joined #ruby
20:09
Yiota has quit [Client Quit]
20:10
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
20:10
sp4rrow has joined #ruby
20:10
Dimik has quit [Ping timeout: 264 seconds]
20:10
wtiger has joined #ruby
20:11
wtiger has left #ruby [#ruby]
20:11
MagePsycho_ has quit [Read error: Connection reset by peer]
20:12
gizmore has quit [Ping timeout: 276 seconds]
20:12
jam__ has quit [Remote host closed the connection]
20:13
bruno- has joined #ruby
20:13
infra-red has joined #ruby
20:13
MagePsycho_ has joined #ruby
20:14
kareeoleez has quit [Ping timeout: 244 seconds]
20:15
rbennacer has quit [Remote host closed the connection]
20:15
hxegon has joined #ruby
20:17
ramfjord has joined #ruby
20:19
statelesscode has joined #ruby
20:29
_whitelogger has joined #ruby
20:30
Musashi007 has joined #ruby
20:30
Yzguy has joined #ruby
20:30
yfeldblum has joined #ruby
20:31
Musashi007 has quit [Client Quit]
20:32
kareeoleez has quit [Ping timeout: 244 seconds]
20:33
idefine has quit [Ping timeout: 264 seconds]
20:34
djbkd has quit [Remote host closed the connection]
20:34
dionysus69 has quit [Ping timeout: 276 seconds]
20:35
newjersey has quit [Ping timeout: 260 seconds]
20:37
newjersey has joined #ruby
20:37
newjersey has quit [Max SendQ exceeded]
20:37
Chagel has joined #ruby
20:37
BtcBen has quit [Ping timeout: 276 seconds]
20:41
Chagel has quit [Ping timeout: 264 seconds]
20:42
_blizzy_ has joined #ruby
20:42
nobitanobi has joined #ruby
20:44
stardiviner has joined #ruby
20:44
raeoks has joined #ruby
20:45
djbkd has joined #ruby
20:45
olivierjanss has quit [Read error: Connection reset by peer]
20:45
AdamMeghji has quit [Read error: Connection reset by peer]
20:45
ckrailo has quit [Read error: Connection reset by peer]
20:45
gmci has quit [Read error: Connection reset by peer]
20:45
hayden_ has quit [Read error: Network is unreachable]
20:45
adambeynon has quit [Read error: Connection reset by peer]
20:45
kareeoleez has joined #ruby
20:46
bodgix has quit [Ping timeout: 264 seconds]
20:47
AdamMeghji has joined #ruby
20:47
adambeynon has joined #ruby
20:47
hayden_ has joined #ruby
20:47
olivierjanss has joined #ruby
20:47
gmci has joined #ruby
20:47
ckrailo has joined #ruby
20:49
infra-re_ has joined #ruby
20:51
kareeoleez has quit [Ping timeout: 276 seconds]
20:51
bodgix has joined #ruby
20:51
idefine has joined #ruby
20:52
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
20:53
infra-red has quit [Ping timeout: 264 seconds]
20:56
gregf has joined #ruby
20:56
gizless has quit [Ping timeout: 276 seconds]
20:57
tristanp has joined #ruby
20:57
PedramT has quit [Remote host closed the connection]
20:57
william3 has joined #ruby
20:58
newjersey has joined #ruby
20:58
atzorvas has joined #ruby
20:58
william3 has quit [Remote host closed the connection]
20:58
someish has joined #ruby
20:59
symm- has joined #ruby
20:59
william3 has joined #ruby
20:59
barajasfab has joined #ruby
21:00
SilverKey has quit [Quit: Halted.]
21:01
Yiota has joined #ruby
21:03
tristanp has quit [Remote host closed the connection]
21:03
gregf has quit [Quit: WeeChat 1.4]
21:03
siaw has quit [Ping timeout: 276 seconds]
21:04
kareeoleez has joined #ruby
21:04
idefine has quit [Remote host closed the connection]
21:04
siaw has joined #ruby
21:09
kareeoleez has quit [Ping timeout: 276 seconds]
21:09
flopsec has quit [Ping timeout: 244 seconds]
21:10
alxgsv has quit [Ping timeout: 250 seconds]
21:10
idefine has joined #ruby
21:11
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:11
P_R_Deltoid has joined #ruby
21:11
tristanp has joined #ruby
21:12
jonathanwallace_ has joined #ruby
21:13
ctrlrsf has quit [Ping timeout: 268 seconds]
21:16
northrup has joined #ruby
21:17
Denart_ has joined #ruby
21:18
tobiasvl has quit [Remote host closed the connection]
21:19
al2o3-cr has joined #ruby
21:20
tvl has joined #ruby
21:20
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:20
tvl is now known as tobiasvl
21:21
ljarvis has quit [Quit: leaving]
21:22
kareeoleez has joined #ruby
21:24
jonathanwallace_ has quit [Read error: No route to host]
21:25
william3 has quit [Remote host closed the connection]
21:26
solars has quit [Ping timeout: 244 seconds]
21:26
terminalrecluse has joined #ruby
21:26
kareeoleez has quit [Ping timeout: 244 seconds]
21:27
nettoweb has joined #ruby
21:27
william3 has joined #ruby
21:27
terminalrecluse has quit [Max SendQ exceeded]
21:28
jam___ has joined #ruby
21:28
terminalrecluse has joined #ruby
21:29
kareeoleez has joined #ruby
21:32
P_R_Deltoid has quit [Read error: Connection reset by peer]
21:32
william3 has quit [Ping timeout: 260 seconds]
21:32
william3 has joined #ruby
21:35
Nawn has joined #ruby
21:36
polysics has quit [Remote host closed the connection]
21:36
al2o3-cr has quit [Quit: WeeChat 1.4 %t]
21:37
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:38
al2o3-cr has joined #ruby
21:39
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:40
navneet has quit [Remote host closed the connection]
21:41
baweaver has quit [Remote host closed the connection]
21:41
Yiota has joined #ruby
21:41
goodroot has joined #ruby
21:41
<
[spoiler] >
Does anyone know what the reason behind Ruby's `(Float..Float)#size` is? If you look at the C code, it handles a Range between two floats differently.
21:41
ctrlrsf has joined #ruby
21:41
<
[spoiler] >
When computing the size, that is
21:42
nobitanobi has quit [Remote host closed the connection]
21:42
johnbat26 has quit [Ping timeout: 244 seconds]
21:42
<
[spoiler] >
> (3.14..6.28).size # Returns 4, but I am not sure what the idea is
21:43
<
[spoiler] >
>> (3.14..6.28).size # Returns 4, but I am not sure what the idea is
21:43
jonathanwallace_ has joined #ruby
21:43
<
al2o3-cr >
imprecision
21:44
idefine has quit [Remote host closed the connection]
21:44
baweaver has joined #ruby
21:44
tristanp has quit [Remote host closed the connection]
21:45
<
al2o3-cr >
but i suck coconuts, so go figure
21:45
nettoweb has joined #ruby
21:45
flopsec has joined #ruby
21:46
<
havenwood >
>> (3.14..6.28).step.to_a # [spoiler]
21:46
Nawn has quit [Remote host closed the connection]
21:47
Devalo has quit [Remote host closed the connection]
21:47
bb010g has joined #ruby
21:48
nobitanobi has joined #ruby
21:48
TheCubeLord has joined #ruby
21:50
idefine has joined #ruby
21:50
<
[spoiler] >
havenwood: Oh. That's the only reason? Kinda explains why the name is `ruby_float_step_size`
21:51
goodroot has quit [Ping timeout: 276 seconds]
21:51
Trynemjoel has quit [Ping timeout: 244 seconds]
21:51
<
[spoiler] >
I still think it's slightly bizarre, but oh well. Thanks, though
21:51
<
[spoiler] >
(mostly because I can't think of a usecase)
21:52
moei has quit [Quit: Leaving...]
21:52
IrishGringo has joined #ruby
21:52
<
TheCubeLord >
how do you install the latest version of ruby on a raspberry pi which has ruby version 2.1.5 on it?
21:52
<
al2o3-cr >
wrongnessness is an answer, i swear!
21:52
william3 has quit [Remote host closed the connection]
21:53
<
al2o3-cr >
TheCubeLord: debian based?
21:53
<
TheCubeLord >
well actually it is a lighter version of debian
21:53
<
TheCubeLord >
but still yes
21:54
<
al2o3-cr >
TheCubeLord: Pi2/3?
21:55
newbie|2 has joined #ruby
21:56
antgel has quit [Ping timeout: 276 seconds]
21:56
Lildirt has quit [Ping timeout: 276 seconds]
21:56
Trynemjoel has joined #ruby
21:56
jyaworski has joined #ruby
21:57
<
TheCubeLord >
and then i tar the file
21:57
Lomex has quit [Remote host closed the connection]
21:57
<
TheCubeLord >
could u just send the link where you found it please
21:57
chicken has quit [Ping timeout: 244 seconds]
21:57
<
al2o3-cr >
don't fuck about with debian
21:58
<
TheCubeLord >
could u just send the link where you found it please
21:58
<
al2o3-cr >
TheCubeLord: ^
22:00
<
al2o3-cr >
be always using the latest ruby
22:00
<
al2o3-cr >
rolling release and all
22:01
<
al2o3-cr >
if shits not out, compile the dev
22:01
<
al2o3-cr >
entirely up to you though :P
22:01
Lildirt has joined #ruby
22:02
zast has joined #ruby
22:02
postmodern has joined #ruby
22:03
symm- has quit [Quit: Leaving...]
22:03
newjersey has quit [Ping timeout: 260 seconds]
22:04
newbie|2 has quit [Quit: Changing server...]
22:04
Eiam_ has joined #ruby
22:04
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
22:05
Eiam_ has quit [Client Quit]
22:05
kareeoleez has quit [Remote host closed the connection]
22:05
chicken has joined #ruby
22:05
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:05
ocbtec has quit [Quit: leaving]
22:05
jam___ has quit [Remote host closed the connection]
22:06
Zackio has quit [Quit: C-x C-c]
22:07
bronson has joined #ruby
22:07
nobitanobi has quit [Remote host closed the connection]
22:08
Zackio has joined #ruby
22:08
* al2o3-cr
arch is the shizzle
22:08
Amigo22 has joined #ruby
22:09
jam__ has joined #ruby
22:10
<
al2o3-cr >
>> 1.0 == 1.000000000000000004
22:10
noService has quit [Ping timeout: 276 seconds]
22:10
kareeoleez has joined #ruby
22:11
shazaum_ has joined #ruby
22:12
bronson has quit [Ping timeout: 276 seconds]
22:12
cdg has quit [Remote host closed the connection]
22:12
nobitanobi has joined #ruby
22:12
jonathanwallace_ has quit [Ping timeout: 244 seconds]
22:13
Gasher has quit [Quit: Leaving]
22:13
northrup has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:14
nobitanobi has quit [Remote host closed the connection]
22:15
kareeoleez has quit [Ping timeout: 276 seconds]
22:16
jonathanwallace_ has joined #ruby
22:18
Contigi has quit [Quit: Leaving]
22:18
Amigo22 has quit [Quit: Leaving]
22:20
<
al2o3-cr >
>> 1e309 == 1.0/0
22:20
sp4rrow has quit [Quit: Textual]
22:20
felltir has joined #ruby
22:21
shazaum_ has quit [Quit: Leaving]
22:21
Xiti has quit [Quit: Xiti]
22:21
madgen has joined #ruby
22:22
<
TheCubeLord >
yay ruby 2.3 is now online
22:22
<
TheCubeLord >
well goodnight
22:22
jonathanwallace_ has quit [Ping timeout: 276 seconds]
22:22
<
TheCubeLord >
its monday for me CXD
22:23
FernandoBasso has quit [Quit: Leaving]
22:23
Yzguy has quit [Quit: Zzz...]
22:23
jackjackdripper has joined #ruby
22:23
<
al2o3-cr >
still wednesday here :P
22:24
* al2o3-cr
tells fibs
22:25
LoneHerm_ has joined #ruby
22:26
IrishGringo has quit [Ping timeout: 276 seconds]
22:27
MeMoc has quit [Quit: Connection closed for inactivity]
22:28
alxgsv has joined #ruby
22:28
kareeoleez has joined #ruby
22:29
pawnbox has quit [Remote host closed the connection]
22:29
dmr8 has joined #ruby
22:31
krz has quit [Ping timeout: 260 seconds]
22:32
n008f4g_ has quit [Ping timeout: 260 seconds]
22:32
kareeoleez has quit [Ping timeout: 244 seconds]
22:33
justbleed has joined #ruby
22:33
Aviio has joined #ruby
22:34
petersaints has joined #ruby
22:34
Aviio has quit [Remote host closed the connection]
22:36
diegoviola has joined #ruby
22:37
Lildirt has quit [Ping timeout: 260 seconds]
22:37
polysics has joined #ruby
22:38
Nawn has joined #ruby
22:38
Xiti has joined #ruby
22:38
kareeoleez has joined #ruby
22:39
Chagel has joined #ruby
22:39
zenlot6 has quit [Ping timeout: 260 seconds]
22:40
PedramT has joined #ruby
22:40
zenlot6 has joined #ruby
22:40
Lildirt has joined #ruby
22:42
SilverKey has joined #ruby
22:43
kareeoleez has quit [Ping timeout: 276 seconds]
22:43
polysics has quit [Ping timeout: 276 seconds]
22:45
PedramT has quit [Ping timeout: 264 seconds]
22:45
LoneHerm_ has quit [Remote host closed the connection]
22:46
bruno- has joined #ruby
22:46
Chagel has quit [Ping timeout: 244 seconds]
22:47
kareeoleez has joined #ruby
22:48
SHyx0rmZ has joined #ruby
22:49
Xeago has quit [Remote host closed the connection]
22:49
MrDoctor is now known as MrDoctor[AFK]
22:50
poguez_ has quit [Quit: Connection closed for inactivity]
22:50
myntcake has quit [Ping timeout: 276 seconds]
22:51
infra-re_ has quit [Ping timeout: 276 seconds]
22:51
<
smathy >
someish, just return the boolean itself.
22:52
firstdayonthejob has quit [Ping timeout: 264 seconds]
22:52
kareeoleez has quit [Ping timeout: 244 seconds]
22:53
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:53
dmr8 has quit [Quit: Leaving]
22:53
william3 has joined #ruby
22:53
sepp2k has quit [Read error: Connection reset by peer]
22:54
Xiti has quit [Quit: Xiti]
22:55
petersaints has left #ruby ["Leaving"]
22:55
mikecmpb_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:56
diegoviola has quit [Ping timeout: 276 seconds]
22:56
last_staff has quit [Quit: last_staff]
22:57
Aviio has joined #ruby
22:58
nettoweb has joined #ruby
22:59
william3 has quit [Ping timeout: 260 seconds]
22:59
<
Nawn >
someish: check the link above. That's how I would probably write that
22:59
Devalo has joined #ruby
23:00
<
someish >
Nawn: I like that.
23:00
Devalo has quit [Read error: Connection reset by peer]
23:00
<
someish >
I like that a lot.
23:00
Devalo has joined #ruby
23:00
<
Nawn >
Yeah, or you could make it very very small, and get rid of everything
23:01
<
baweaver >
what if they have multiple roles?
23:01
<
Nawn >
simply make the body of the method:
23:01
<
Nawn >
current_user.roles.first.name == 'admin' || current_user.roles.first.name == 'clinician'
23:01
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:01
<
Nawn >
that'll return true or false either way
23:01
Devalo has quit [Read error: Connection reset by peer]
23:01
Devalo has joined #ruby
23:02
<
baweaver >
def method; current_user.roles.exists?(name: %w(admin clinician)) end
23:02
myntcake has joined #ruby
23:02
Devalo has quit [Read error: Connection reset by peer]
23:02
Devalo has joined #ruby
23:03
<
baweaver >
you want to check all their roles instead of the first.
23:03
<
baweaver >
say their first role is guest
23:03
<
baweaver >
but they have the admin role
23:03
DenSchub has quit [Ping timeout: 260 seconds]
23:03
Devalo has quit [Read error: Connection reset by peer]
23:04
<
baweaver >
someish: ^
23:04
Devalo has joined #ruby
23:04
<
someish >
Fancy pants.
23:05
dangerousdave has quit [Ping timeout: 276 seconds]
23:05
<
baweaver >
also might be better to ask rails questions in #RubyOnRails
23:05
<
someish >
I wouldn’t really consider the original question a rails question.
23:05
kareeoleez has joined #ruby
23:06
<
baweaver >
It's AREL
23:06
<
baweaver >
avoid using Enumerable methods on ActiveRecord objects
23:06
<
baweaver >
most of the time there's a more efficient query to get it
23:06
diego1 has joined #ruby
23:07
flashpoint9 has joined #ruby
23:08
Devalo_ has joined #ruby
23:09
Xeago has joined #ruby
23:09
Devalo_ has quit [Read error: Connection reset by peer]
23:09
Devalo has quit [Read error: Connection reset by peer]
23:09
<
someish >
I see what you’re suggesting.
23:10
<
flashpoint9 >
Im building a simple ruby gem and Im looking for non rails tutorials/docs on creating an api in the gem so methods can be called from it (note im a noob), im having trouble finding non rails material
23:10
Devalo has joined #ruby
23:10
kareeoleez has quit [Ping timeout: 276 seconds]
23:11
<
baweaver >
flashpoint9: what is an API to you?
23:12
<
flashpoint9 >
just a set of methods i can access, endpoints for doing things
23:12
<
baweaver >
So not a Web API then
23:12
<
flashpoint9 >
correct
23:12
<
baweaver >
Looking that up is going to get you Sinatra or Rails
23:12
<
baweaver >
Just read through a basic gem guide
23:12
DenSchub has joined #ruby
23:13
<
someish >
It sounds like you want to learn about object orientation in ruby.
23:13
<
baweaver >
yeah, that's one
23:13
Xeago has quit [Ping timeout: 244 seconds]
23:13
<
flashpoint9 >
Yes im already working through that book to, which is an amazong book
23:14
<
flashpoint9 >
amazing
23:14
<
flashpoint9 >
baweaver: Thanks, ill get back in those docs
23:14
Devalo has quit [Read error: Connection reset by peer]
23:14
Devalo has joined #ruby
23:15
<
flashpoint9 >
someish: Sweet, I'll take a look at that book, thanks.
23:15
Devalo has quit [Read error: Connection reset by peer]
23:16
Devalo has joined #ruby
23:16
<
al2o3-cr >
if i told you ruby isn't oop, would you believe me?
23:16
<
flashpoint9 >
even the data types are objects
23:16
anthony has joined #ruby
23:17
_blizzy_ has quit [Disconnected by services]
23:17
anthony is now known as
_blizzy_
23:19
Xiti has joined #ruby
23:19
Devalo has quit [Remote host closed the connection]
23:19
flashpoint9 has quit [Remote host closed the connection]
23:19
spooq has joined #ruby
23:19
Devalo has joined #ruby
23:20
spooq has quit [Max SendQ exceeded]
23:21
Devalo has quit [Read error: Connection reset by peer]
23:21
spooq has joined #ruby
23:21
Devalo has joined #ruby
23:22
Devalo has quit [Remote host closed the connection]
23:23
kareeoleez has joined #ruby
23:23
DenSchub has quit [Ping timeout: 276 seconds]
23:25
Xeago has joined #ruby
23:25
Devalo has joined #ruby
23:27
Devalo has quit [Read error: Connection reset by peer]
23:27
Devalo_ has joined #ruby
23:28
tuelz has joined #ruby
23:28
kareeoleez has quit [Ping timeout: 264 seconds]
23:28
newbie|2 has joined #ruby
23:31
marr has quit [Ping timeout: 276 seconds]
23:31
tuelz4 has quit [Ping timeout: 260 seconds]
23:31
chicken has quit [Ping timeout: 244 seconds]
23:31
Azure has joined #ruby
23:32
Devalo_ has quit [Ping timeout: 244 seconds]
23:32
rbennacer has joined #ruby
23:34
Azure has quit [Client Quit]
23:34
djbkd has quit [Remote host closed the connection]
23:34
Azure has joined #ruby
23:34
<
Denart_ >
Hi I'm Sam Aaron - I created the live coding synth Sonic Pi
23:34
dfdnatural has joined #ruby
23:35
Nahra has quit [Remote host closed the connection]
23:35
<
Cohedrin >
what would you like us to do with that sam aaron
23:35
<
Denart_ >
do you like it?
23:36
<
Denart_ >
just feedback
23:36
`tim` has joined #ruby
23:36
spider-mario has quit [Remote host closed the connection]
23:36
<
al2o3-cr >
Denart_: ask in #ruby-offtopic
23:36
<
Cohedrin >
are you promoting
23:36
<
Cohedrin >
your livestream
23:37
darkf has joined #ruby
23:38
nofxx has joined #ruby
23:39
polysics has joined #ruby
23:39
MagePsycho_ has quit [Quit: MagePsycho_]
23:40
tristanp has joined #ruby
23:41
Kallis has joined #ruby
23:42
kareeoleez has joined #ruby
23:43
brent__ has joined #ruby
23:43
jam__ has quit [Remote host closed the connection]
23:44
bruno- has quit [Read error: Connection reset by peer]
23:44
djbkd has joined #ruby
23:44
diegoaguilar has quit [Remote host closed the connection]
23:44
bruno- has joined #ruby
23:44
polysics has quit [Ping timeout: 244 seconds]
23:44
myntcake has quit [Ping timeout: 244 seconds]
23:45
finisherr has quit [Quit: finisherr]
23:46
kareeoleez has quit [Ping timeout: 264 seconds]
23:47
karapetyan has quit [Remote host closed the connection]
23:47
karapetyan has joined #ruby
23:50
asdfasfdgfag has joined #ruby
23:50
asdfasfdgfag has left #ruby [#ruby]
23:50
kareeoleez has joined #ruby
23:51
diego1 has quit [Changing host]
23:51
diego1 has joined #ruby
23:51
diego1 is now known as diegoviola
23:51
idefine has quit [Remote host closed the connection]
23:52
karapetyan has quit [Ping timeout: 244 seconds]
23:52
idefine has joined #ruby
23:54
DenSchub has joined #ruby
23:54
idefine has quit [Remote host closed the connection]
23:55
solocshaw has joined #ruby
23:55
kareeoleez has quit [Ping timeout: 276 seconds]
23:56
william3 has joined #ruby
23:58
tvw has quit [Remote host closed the connection]
23:58
houhoulis has quit [Remote host closed the connection]
23:59
flashpoint9 has joined #ruby