00:15
mikestok has joined #ruby-lang
00:22
jacktrick has quit [Quit: Leaving]
00:23
jonahR has left #ruby-lang [#ruby-lang]
00:24
jovy88 has quit [Read error: Connection reset by peer]
00:25
jovy88 has joined #ruby-lang
00:27
krohrbaugh has joined #ruby-lang
00:29
zachlatta has joined #ruby-lang
00:31
idkazuma has quit [Remote host closed the connection]
00:31
vlad_starkov has joined #ruby-lang
00:31
krohrbaugh has quit [Ping timeout: 252 seconds]
00:33
rwk1 has joined #ruby-lang
00:35
vlad_starkov has quit [Ping timeout: 255 seconds]
00:36
mwjcomputing has joined #ruby-lang
00:38
rwk1 has quit [Ping timeout: 264 seconds]
00:41
nofxx has joined #ruby-lang
00:41
nofxx has joined #ruby-lang
00:46
benanne has quit [Quit: kbai]
00:48
heftig has quit [Quit: Quitting]
00:49
heftig has joined #ruby-lang
00:59
tarruda has joined #ruby-lang
01:00
bzalasky has joined #ruby-lang
01:00
mucker has quit [Quit: leaving]
01:00
sush24 has joined #ruby-lang
01:01
sush24 has quit [Client Quit]
01:08
mistym has quit [Remote host closed the connection]
01:15
sush24 has joined #ruby-lang
01:16
nickchow has joined #ruby-lang
01:23
<
andrewvos >
The 90s called they want "kewl" back
01:25
<
andrewvos >
I find text based harder. Dealing with shit in a game loop is just natural.
01:25
djwonk has joined #ruby-lang
01:26
nickchow has quit [Quit: Leaving...]
01:27
krohrbaugh has joined #ruby-lang
01:28
dettoaltrimenti has quit [Ping timeout: 264 seconds]
01:29
dettoaltrimenti has joined #ruby-lang
01:30
nickchow has joined #ruby-lang
01:32
krohrbaugh has quit [Ping timeout: 252 seconds]
01:33
sush24 has quit [Quit: This computer has gone to sleep]
01:34
rwk1 has joined #ruby-lang
01:35
dettoaltrimenti has quit [Ping timeout: 256 seconds]
01:35
sush24 has joined #ruby-lang
01:36
dettoaltrimenti has joined #ruby-lang
01:37
Nisstyre-laptop has joined #ruby-lang
01:38
rwk1 has quit [Ping timeout: 245 seconds]
01:45
tarruda has quit [Remote host closed the connection]
01:46
sush24 has quit [Quit: This computer has gone to sleep]
01:46
jxie has quit [Quit: leaving]
01:48
bzalasky has quit [Remote host closed the connection]
01:49
sush24 has joined #ruby-lang
01:51
pskosinski has quit [Quit: pskosinski]
01:51
Nisstyre-laptop is now known as Nisstyre
01:51
sush24 has quit [Client Quit]
01:52
greenarrow has quit [Quit: IRC is just multiplayer notepad.]
01:52
greenarrow has joined #ruby-lang
01:52
spuk has quit [Ping timeout: 256 seconds]
01:54
greenarrow has quit [Client Quit]
01:54
ritek has quit [Ping timeout: 272 seconds]
01:54
tsion has joined #ruby-lang
01:55
greenarrow has joined #ruby-lang
01:56
mwjcomputing has quit [Quit: Leaving]
01:57
greenarrow has quit [Client Quit]
01:58
greenarrow has joined #ruby-lang
02:00
spuk has joined #ruby-lang
02:01
brianpWins has quit [Quit: brianpWins]
02:01
idkazuma has joined #ruby-lang
02:04
djwonk has quit [Quit: djwonk]
02:06
<
TheNotary >
well the 90s can't have it!
02:06
poga has joined #ruby-lang
02:07
ritek has joined #ruby-lang
02:15
febuiles has joined #ruby-lang
02:15
febuiles has joined #ruby-lang
02:15
febuiles has quit [Changing host]
02:15
Banistergalaxy has quit [Ping timeout: 240 seconds]
02:16
runeb has quit [Remote host closed the connection]
02:16
GeissT has joined #ruby-lang
02:17
Banistergalaxy has joined #ruby-lang
02:20
jovy88 has quit [Read error: Connection reset by peer]
02:21
yfeldblum has quit [Ping timeout: 258 seconds]
02:21
jovy88 has joined #ruby-lang
02:21
brianpWins has joined #ruby-lang
02:27
krohrbaugh has joined #ruby-lang
02:30
gagan0123 has joined #ruby-lang
02:32
krohrbaugh has quit [Ping timeout: 260 seconds]
02:34
idkazuma has quit [Remote host closed the connection]
02:34
fosky has joined #ruby-lang
02:35
rwk1 has joined #ruby-lang
02:36
yfeldblum has joined #ruby-lang
02:39
rwk1 has quit [Ping timeout: 246 seconds]
02:46
runeb has joined #ruby-lang
02:53
zachlatta has quit [Remote host closed the connection]
02:54
bzalasky has joined #ruby-lang
02:54
sush24 has joined #ruby-lang
02:54
erpuds has quit [Quit: erpuds]
02:55
runeb has quit [Ping timeout: 268 seconds]
02:55
tsion has quit [Remote host closed the connection]
02:56
tsion has joined #ruby-lang
02:57
tsion has quit [Remote host closed the connection]
02:57
tsion has joined #ruby-lang
02:57
tsion has joined #ruby-lang
02:57
tsion has quit [Changing host]
02:58
sush24 has quit [Client Quit]
02:58
mikestok has quit [Quit: Computer has gone to sleep.]
03:00
bzalasky has quit [Remote host closed the connection]
03:00
erpuds has joined #ruby-lang
03:10
erpuds has quit [Quit: erpuds]
03:16
bzalasky has joined #ruby-lang
03:18
cod3r has quit [Quit: WeeChat 0.4.0]
03:19
brianpWins has quit [Quit: brianpWins]
03:19
nickchow has quit [Quit: Leaving...]
03:21
ivanoats has quit [Remote host closed the connection]
03:30
bzalasky has quit [Remote host closed the connection]
03:35
TheNotary has quit [Quit: Leaving]
03:35
retro|cz has joined #ruby-lang
03:35
rwk1 has joined #ruby-lang
03:40
nickchow has joined #ruby-lang
03:40
rwk1 has quit [Ping timeout: 240 seconds]
03:41
bzalasky has joined #ruby-lang
03:48
glebm has quit [Ping timeout: 252 seconds]
03:51
ivanoats has joined #ruby-lang
03:53
mistym has joined #ruby-lang
03:53
mistym has joined #ruby-lang
03:53
mistym has quit [Changing host]
03:54
glebm has joined #ruby-lang
04:00
bzalasky has quit [Remote host closed the connection]
04:01
ivanoats has quit [Ping timeout: 252 seconds]
04:05
ivanoats has joined #ruby-lang
04:09
ivanoats has quit [Ping timeout: 240 seconds]
04:12
glebm has quit [Quit: Computer has gone to sleep.]
04:12
mucker has joined #ruby-lang
04:13
ivanoats has joined #ruby-lang
04:13
ivanoats has quit [Changing host]
04:13
ivanoats has joined #ruby-lang
04:15
ivanoats has quit [Read error: Connection reset by peer]
04:15
ivanoats has joined #ruby-lang
04:16
ivanoats has quit [Read error: Connection reset by peer]
04:16
ivanoats has joined #ruby-lang
04:16
ivanoats has quit [Changing host]
04:16
ivanoats has joined #ruby-lang
04:16
ivanoats has quit [Read error: Connection reset by peer]
04:17
ivanoats has joined #ruby-lang
04:17
ivanoats has quit [Changing host]
04:17
ivanoats has joined #ruby-lang
04:17
ivanoats has quit [Read error: Connection reset by peer]
04:18
ivanoats has joined #ruby-lang
04:18
ivanoats has quit [Read error: Connection reset by peer]
04:19
ivanoats has joined #ruby-lang
04:19
ivanoats has quit [Changing host]
04:19
ivanoats has joined #ruby-lang
04:20
ivanoats has quit [Read error: Connection reset by peer]
04:20
ivanoats has joined #ruby-lang
04:21
ivanoats has quit [Read error: Connection reset by peer]
04:21
ivanoats has joined #ruby-lang
04:21
ivanoats has joined #ruby-lang
04:21
ivanoats has quit [Changing host]
04:22
ivanoats has quit [Read error: Connection reset by peer]
04:22
ivanoats has joined #ruby-lang
04:22
ivanoats has quit [Changing host]
04:22
ivanoats has joined #ruby-lang
04:23
ivanoats has quit [Read error: Connection reset by peer]
04:23
ivanoats has joined #ruby-lang
04:23
ivanoats has quit [Changing host]
04:23
ivanoats has joined #ruby-lang
04:24
jovy88 has quit [Read error: Connection reset by peer]
04:25
jovy88 has joined #ruby-lang
04:26
ikrima has quit [Quit: Computer has gone to sleep.]
04:27
ivanoats has quit [Ping timeout: 246 seconds]
04:28
ikrima has joined #ruby-lang
04:28
krohrbaugh has joined #ruby-lang
04:30
mucker has quit [Quit: leaving]
04:33
krohrbaugh has quit [Ping timeout: 252 seconds]
04:33
vlad_starkov has joined #ruby-lang
04:34
zerokarmaleft has quit [Read error: Operation timed out]
04:34
ivanoats has joined #ruby-lang
04:34
ivanoats has quit [Changing host]
04:34
ivanoats has joined #ruby-lang
04:35
ivanoats has quit [Read error: Connection reset by peer]
04:35
ivanoats has joined #ruby-lang
04:35
ivanoats has joined #ruby-lang
04:35
ivanoats has quit [Changing host]
04:36
rwk1 has joined #ruby-lang
04:37
vlad_starkov has quit [Ping timeout: 245 seconds]
04:39
mistym has quit [Remote host closed the connection]
04:40
ivanoats has quit [Ping timeout: 245 seconds]
04:40
rwk1 has quit [Ping timeout: 245 seconds]
04:41
idkazuma has joined #ruby-lang
04:41
idkazuma has quit [Remote host closed the connection]
04:46
ivanoats has joined #ruby-lang
04:48
ritek has quit [Ping timeout: 245 seconds]
04:51
ivanoats has quit [Ping timeout: 276 seconds]
04:55
zerokarmaleft has joined #ruby-lang
04:56
mistym has joined #ruby-lang
04:56
ivanoats has joined #ruby-lang
04:56
ivanoats has quit [Remote host closed the connection]
04:57
ivanoats has joined #ruby-lang
04:58
vlad_starkov has joined #ruby-lang
04:58
mistym has quit [Remote host closed the connection]
04:59
vlad_sta_ has joined #ruby-lang
05:00
vlad_sta_ has quit [Remote host closed the connection]
05:02
TheNotary has joined #ruby-lang
05:02
TheNotary has quit [Client Quit]
05:02
bzalasky has joined #ruby-lang
05:03
vlad_starkov has quit [Ping timeout: 245 seconds]
05:03
bzalasky has quit [Remote host closed the connection]
05:04
rwk1 has joined #ruby-lang
05:06
ritek has joined #ruby-lang
05:14
idkazuma has joined #ruby-lang
05:15
thatJasonSmith has joined #ruby-lang
05:23
xcombelle has joined #ruby-lang
05:24
rwk1 has quit [Remote host closed the connection]
05:30
poga has quit [Remote host closed the connection]
05:30
poga has joined #ruby-lang
05:31
thatJasonSmith has quit [Ping timeout: 245 seconds]
05:34
poga has quit [Remote host closed the connection]
05:34
poga has joined #ruby-lang
05:36
thatJasonSmith has joined #ruby-lang
05:41
thatJasonSmith has quit [Ping timeout: 264 seconds]
05:42
vlad_starkov has joined #ruby-lang
05:42
charliesome has joined #ruby-lang
05:48
mistym has joined #ruby-lang
05:48
mistym has joined #ruby-lang
05:48
gjaldon has joined #ruby-lang
05:55
rwk1 has joined #ruby-lang
05:55
gagan0123 has quit [Ping timeout: 245 seconds]
05:55
vlad_starkov has quit [Remote host closed the connection]
05:56
eban has quit [Quit: WeeChat 0.3.8]
05:58
gagan0123 has joined #ruby-lang
06:02
spuk has quit [Ping timeout: 246 seconds]
06:03
slippyd has quit [Ping timeout: 264 seconds]
06:03
rwk1 has quit [Ping timeout: 255 seconds]
06:05
eban has joined #ruby-lang
06:05
amerine has joined #ruby-lang
06:08
gds0123 has joined #ruby-lang
06:09
gregf has quit [Quit: WeeChat 0.4.0]
06:11
gagan0123 has quit [Ping timeout: 255 seconds]
06:14
spuk has joined #ruby-lang
06:15
ritek has quit [Ping timeout: 245 seconds]
06:18
erikh has joined #ruby-lang
06:22
guiambros has joined #ruby-lang
06:29
krohrbaugh has joined #ruby-lang
06:29
ritek has joined #ruby-lang
06:29
wyhaines has quit [Remote host closed the connection]
06:29
bzalasky has joined #ruby-lang
06:30
rwk1 has joined #ruby-lang
06:33
tjcravey has joined #ruby-lang
06:34
krohrbaugh has quit [Ping timeout: 255 seconds]
06:34
divout has joined #ruby-lang
06:35
rwk1 has quit [Ping timeout: 252 seconds]
06:36
divout has quit [Client Quit]
06:37
divout has joined #ruby-lang
06:39
DomKM has quit [Quit: Leaving.]
06:43
mistym has quit [Remote host closed the connection]
06:43
xcombelle has quit [Read error: Connection reset by peer]
06:50
wallerdev has quit [Quit: wallerdev]
06:54
brianpWins has joined #ruby-lang
06:58
kgrz has joined #ruby-lang
07:04
justinram has joined #ruby-lang
07:06
celinedior has joined #ruby-lang
07:07
solars has joined #ruby-lang
07:09
r0bgleeson has quit [Ping timeout: 276 seconds]
07:10
ivanoats has quit [Remote host closed the connection]
07:10
Nisstyre has quit [Ping timeout: 264 seconds]
07:24
jovy88 has quit [Read error: Connection reset by peer]
07:25
jovy88 has joined #ruby-lang
07:27
bzalasky has quit [Remote host closed the connection]
07:32
rwk1 has joined #ruby-lang
07:32
agarie_ has joined #ruby-lang
07:36
jonuts has joined #ruby-lang
07:36
rwk1 has quit [Ping timeout: 252 seconds]
07:36
Wardrop[home] has joined #ruby-lang
07:36
agarie has quit [Ping timeout: 276 seconds]
07:36
Wardrop[home] has left #ruby-lang [#ruby-lang]
07:53
brianpWins has quit [Quit: brianpWins]
08:02
rwk1 has joined #ruby-lang
08:05
goshakkk has joined #ruby-lang
08:07
nofxx has quit [Ping timeout: 245 seconds]
08:07
danrage77 has joined #ruby-lang
08:07
rwk1 has quit [Ping timeout: 276 seconds]
08:14
justinram has quit [Remote host closed the connection]
08:29
workmad3 has joined #ruby-lang
08:30
krohrbaugh has joined #ruby-lang
08:33
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
08:34
krohrbaugh has quit [Ping timeout: 245 seconds]
08:35
kgrz has quit [Ping timeout: 251 seconds]
08:48
idkazuma has quit [Remote host closed the connection]
08:51
idkazuma has joined #ruby-lang
08:53
jxie has joined #ruby-lang
09:01
marr has joined #ruby-lang
09:01
marr has quit [Excess Flood]
09:03
<
charliesome >
whitequark: is loading misaligned data undefined?
09:03
rwk1 has joined #ruby-lang
09:04
nignaztic has joined #ruby-lang
09:06
<
whitequark >
charliesome: yep
09:07
<
whitequark >
and it will explode on most non-x86 archs
09:07
<
charliesome >
huh til
09:07
<
whitequark >
floating point division by zero also undefined...
09:07
nazty has quit [Ping timeout: 256 seconds]
09:08
rwk1 has quit [Ping timeout: 264 seconds]
09:11
celinedior has quit [Quit: celinedior]
09:14
marr has joined #ruby-lang
09:14
marr has quit [Excess Flood]
09:23
adambeynon has joined #ruby-lang
09:24
idkazuma has quit [Remote host closed the connection]
09:25
<
workmad3 >
whitequark: where isn't it defined?
09:25
<
whitequark >
workmad3: in the C standard
09:28
<
dbussink >
charliesome: i had it fail hard on an arm architecture in the past
09:29
<
dbussink >
charliesome: misaligned data load that is
09:29
<
dbussink >
but it's different on different arm archs whether it fails or not
09:29
<
charliesome >
intereseting
09:29
<
charliesome >
so does ruby die on ARM? /cc whitequark
09:30
carlosdo has joined #ruby-lang
09:30
krohrbaugh has joined #ruby-lang
09:32
<
dbussink >
charliesome: also depends on how the misaligned read happens
09:32
<
dbussink >
charliesome: if it's accidentally correct, it will probably work
09:32
<
dbussink >
the behavior is undefined, so anything can happen :)
09:33
<
whitequark >
charliesome: it depends (c)
09:33
<
whitequark >
dbussink: um, there is no thing as "accidentally correct"
09:33
<
whitequark >
for misaligned access that is
09:33
<
dbussink >
whitequark: accidentally works, which people will see as "correct"
09:33
<
whitequark >
either your platform corrects it or not
09:33
<
dbussink >
or basically, ruby working
09:34
<
whitequark >
dbussink: yeah. for other cases, such as lshft by sizeof(int), that would be the case
09:34
<
charliesome >
whitequark: i'm guessing the arm chips in ios devices correct it because i can run ruby on them
09:34
<
whitequark >
charliesome: the arm chip, the OS, or ruby is conditionally compiled to not exhibit this behavior on ARM.
09:35
<
whitequark >
if it's the OS they would be 3 or more orders of magnitude slower, akin to page faults
09:35
<
whitequark >
if it's the chip then they would be two times or so slower
09:35
<
charliesome >
interesting
09:35
<
whitequark >
mmm what's the ARM revision in ios devices?
09:36
<
whitequark >
armv7 I guess
09:36
<
whitequark >
right. The data alignment behavior supported by the ARM architecture has changed significantly between ARMv4 and ARMv7. An ARMv7 implementation must support unaligned data accesses. You can control the alignment requirements of load and store instructions by using the A bit in the CP15 register c1.
09:36
justinram has joined #ruby-lang
09:37
<
whitequark >
so hw handling of misaligned accesses can be enabled by the bootloader/OS
09:37
<
charliesome >
right
09:37
tsion has quit [Quit: Leaving]
09:37
<
whitequark >
v6M and pre-v6 cannot do that, v6-notM and v7 can.
09:37
tsion has joined #ruby-lang
09:37
tsion has quit [Changing host]
09:37
tsion has joined #ruby-lang
09:38
krohrbaugh has quit [Ping timeout: 245 seconds]
09:38
Qwak has joined #ruby-lang
09:43
tomzx_mac has quit [Ping timeout: 264 seconds]
09:46
francisfish has joined #ruby-lang
09:47
tarruda has joined #ruby-lang
09:49
MaddinXx_ has joined #ruby-lang
09:49
mucker has joined #ruby-lang
09:50
<
postmodern >
suggestions on a gem name
09:50
<
postmodern >
kramdown-roff, kramdown-manpage, kramdown-man ?
09:51
<
charliesome >
postmodern: kmandown
09:51
<
postmodern >
charliesome, unfortunately that's already taken ;)
09:54
justinram has quit [Remote host closed the connection]
09:55
benanne has joined #ruby-lang
09:56
richardjortega has joined #ruby-lang
09:58
<
charliesome >
jesus christ
09:58
<
charliesome >
>> def nil.lambda; end; method(:puts).to_proc
09:58
<
eval-in >
charliesome => /tmp/execpad-9508a130c695/source-9508a130c695:2: [BUG] Segmentation fault ... (
http://eval.in/17813)
09:58
richardjortega has quit [Client Quit]
10:00
<
postmodern >
charliesome, lol nice
10:00
<
postmodern >
charliesome, someone should make a ruby lang fuzzer
10:01
<
charliesome >
postmodern: did you see my class renamer?
10:01
<
postmodern >
charliesome, no?
10:02
<
postmodern >
charliesome, clever
10:04
rwk1 has joined #ruby-lang
10:06
zachlatta has joined #ruby-lang
10:08
<
charliesome >
Method#to_proc's implementation is quite interesting
10:08
<
spike|spiegel >
why on earth
10:08
<
spike|spiegel >
return rb_funcall(Qnil, rb_intern("lambda"), 0); what?
10:08
s1n4 has joined #ruby-lang
10:09
s1n4 has quit [Changing host]
10:09
s1n4 has joined #ruby-lang
10:09
<
charliesome >
spike|spiegel: it basically passes the method to lambda as a block with rb_iterate
10:09
christophe971 has joined #ruby-lang
10:09
rwk1 has quit [Ping timeout: 276 seconds]
10:09
<
charliesome >
then it gets a pointer to the rb_proc_t and writes an int to it
10:10
s1n4 has left #ruby-lang [#ruby-lang]
10:12
<
postmodern >
charliesome, would that be exploitable?
10:13
<
charliesome >
postmodern: you can write 0x00000001 to the 60th byte of any object's data pointer
10:15
mrfelix has joined #ruby-lang
10:18
<
zachlatta >
nevermind
10:18
<
zachlatta >
got it working
10:23
<
spike|spiegel >
charliesome: not any object right? only RData type?
10:23
<
spike|spiegel >
well o
10:23
<
charliesome >
yeah looks like it
10:24
<
charliesome >
it does something along the lines of
10:24
<
spike|spiegel >
unless we can get an object to look like data
10:24
glebm has joined #ruby-lang
10:24
runeb has joined #ruby-lang
10:24
<
charliesome >
((int*)RDATA(object_you_control)->data)[15] = 1
10:26
<
charliesome >
i wonder how big an RVALUE is
10:26
<
charliesome >
RDATA(object_you_control)->data is the same as RHASH(object_you_control)->ifnone
10:26
<
charliesome >
and you can control the ifnone value of a hash
10:27
<
charliesome >
hm i think i know how to write anywhere in memory with thids
10:28
<
charliesome >
if you set ifnone to a fixnum, you can basically control where the 1 is written
10:28
<
charliesome >
*(int*)(fix.object_id + 60) = 1
10:29
ritek has quit [Ping timeout: 245 seconds]
10:30
christophe971 has left #ruby-lang [#ruby-lang]
10:31
glebm has quit [Ping timeout: 245 seconds]
10:33
kgrz has joined #ruby-lang
10:34
glebm has joined #ruby-lang
10:35
krohrbaugh has joined #ruby-lang
10:38
glebm has quit [Client Quit]
10:38
judofyr has joined #ruby-lang
10:39
<
judofyr >
charliesome: nice
10:39
<
judofyr >
>> def nil.lambda; proc { throw :nope }; end; method(:puts).to_proc.call
10:39
<
eval-in >
judofyr => /tmp/execpad-46e97903f4a1/source-46e97903f4a1:2:in `throw': uncaught throw :nope (ArgumentError) ... (
http://eval.in/17815)
10:40
krohrbaugh has quit [Ping timeout: 256 seconds]
10:41
jxie has quit [Quit: leaving]
10:44
jovy88 has quit [Read error: Connection reset by peer]
10:44
<
zachlatta >
How can I submit a form using ruby that uses GET?
10:44
<
spike|spiegel >
zachlatta: try #rubyonrails?
10:45
jovy88 has joined #ruby-lang
10:45
tarruda has quit [Remote host closed the connection]
10:45
fosky has quit [Remote host closed the connection]
10:45
ritek has joined #ruby-lang
10:48
<
charliesome >
judofyr: haha nice
10:48
<
judofyr >
charliesome: I actually wanted a segfault, but for some reason the defined method keeps the proc's self
10:49
<
charliesome >
oh interesting
10:49
<
charliesome >
judofyr: i'm trying to figure out how to write into another objet
10:49
<
spike|spiegel >
charliesome: you can write into any return value from nil.lambda
10:50
marr has joined #ruby-lang
10:50
marr has quit [Excess Flood]
10:50
francisfish has quit [Remote host closed the connection]
10:50
<
charliesome >
spike|spiegel: you have to arrange the objects just so
10:50
<
spike|spiegel >
but that's only limited to first 4/8 bytes of RBasic
10:50
<
charliesome >
so pointers are in the right places
10:52
<
spike|spiegel >
one can technically fake some flags / klass of the object .. but that'd just go unnoticed / crash later
10:54
<
charliesome >
judofyr: so what exactly is that doing?
10:54
<
judofyr >
I forgot the to_proc
10:55
<
judofyr >
charliesome: I was trying to transplant a method
10:55
jonuts has quit [Read error: Operation timed out]
10:55
swav has quit [Remote host closed the connection]
10:55
<
charliesome >
judofyr: you can transplant ruby methods
10:55
<
spike|spiegel >
naw, you molest $plus in there
10:55
<
charliesome >
by scanning the object space for the frozen core
10:56
<
judofyr >
charliesome: I know. just wanted to see if it possible this way too :)
10:56
gds0123 has quit [Ping timeout: 245 seconds]
10:56
<
judofyr >
but it seems like the proc keeps its self
10:56
<
charliesome >
ooooh
10:56
xcombelle has joined #ruby-lang
10:56
<
judofyr >
even through define_method
10:58
dc5ala has joined #ruby-lang
10:58
<
charliesome >
ruby behaves a lot differently inside gdb :\
10:59
<
judofyr >
charliesome: what does is_from_method actually do?
11:00
<
charliesome >
no idea
11:00
<
charliesome >
oh shit, i got it writing into another object
11:00
<
charliesome >
it segfaults on inspect though
11:00
alessio_rocco has joined #ruby-lang
11:01
idkazuma has joined #ruby-lang
11:02
<
spike|spiegel >
charliesome: like I said.. you get to touch first 4 or 8 bytes of any object.. thats all
11:02
gds0123 has joined #ruby-lang
11:03
<
charliesome >
spike|spiegel: by my maths you get to touch 4 bytes from the 20th byte of an object
11:03
<
spike|spiegel >
charliesome: yeah most of the time.. that's a VALUE :) which points to another object
11:03
<
spike|spiegel >
Array might be interesting
11:05
rwk1 has joined #ruby-lang
11:05
<
judofyr >
I'm getting 2147483656 here in 1.9.3
11:05
<
charliesome >
judofyr: niiice
11:06
<
spike|spiegel >
yeah Array all the way :)
11:06
<
charliesome >
hang on
11:06
<
charliesome >
trying to figure out how that works
11:07
runeb has quit [Remote host closed the connection]
11:07
<
charliesome >
judofyr: oh yeah keep in mind execpad is 32 bit
11:07
<
charliesome >
so our maths is off
11:07
vlad_starkov has joined #ruby-lang
11:08
<
charliesome >
yeah it would
11:09
<
charliesome >
since execpad is 32 bit, it can write that int anywhere and it'll come out to a 0 value
11:09
workmad3 has quit [Ping timeout: 245 seconds]
11:09
rwk1 has quit [Ping timeout: 255 seconds]
11:09
<
charliesome >
but on a 64 bit machine, if it writes to the high 32 bits of a pointer, that pointer becomes invalid
11:09
<
judofyr >
shouldn't it be a 1?
11:10
<
judofyr >
these pointers make me dizzy
11:12
<
charliesome >
>> 0.object_id
11:12
vlad_starkov has quit [Ping timeout: 245 seconds]
11:12
<
judofyr >
ah, right
11:13
<
spike|spiegel >
same fail whale in nil.proc too :)
11:17
<
charliesome >
spike|spiegel: ah you wrote an actual 0 somewhere?
11:17
goshakkk has quit [Quit: Computer has gone to sleep.]
11:18
<
spike|spiegel >
curry is far more interseting in that aspect ;)
11:20
<
spike|spiegel >
now I'm fairly satisfied that this can us somewhere... but need to go get some urgent done.. play on
11:21
<
charliesome >
i have a poker that will write a 1 to any odd memory address i want
11:21
<
charliesome >
and then a 0 to the three bytes after
11:21
<
charliesome >
but its behaving weirdly
11:21
<
spike|spiegel >
file a bug for starters I guess :)
11:22
<
spike|spiegel >
later
11:22
<
charliesome >
poke(1) #=> Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000001
11:22
<
charliesome >
cool :D
11:23
<
judofyr >
charliesome: code?
11:24
<
judofyr >
charliesome: not bad
11:27
sepp2k has joined #ruby-lang
11:28
gds0123 has quit [Ping timeout: 252 seconds]
11:28
goshakkk has joined #ruby-lang
11:28
<
charliesome >
hang on my 64 bit detection is wrong
11:31
<
charliesome >
humm weird, looks like ruby on a 32 bit machine will align objects to a 2 byte boundary
11:31
gds0123 has joined #ruby-lang
11:35
rwk1 has joined #ruby-lang
11:36
krohrbaugh has joined #ruby-lang
11:36
workmad3 has joined #ruby-lang
11:41
krohrbaugh has quit [Ping timeout: 268 seconds]
11:46
<
judofyr >
charliesome: I'm getting Reason: KERN_INVALID_ADDRESS at address: 0x00000000deadbf0b
11:46
<
charliesome >
judofyr: oh really?
11:46
<
charliesome >
wait yeah
11:46
<
charliesome >
try changing the '% 8' to a '% 4'
11:47
<
judofyr >
charliesome: better
11:48
nickchow has joined #ruby-lang
11:48
bizdak has quit [Remote host closed the connection]
11:49
<
charliesome >
interesting
11:49
nickchow has quit [Client Quit]
11:55
celinedior has joined #ruby-lang
11:55
<
judofyr >
charliesome: I only get segfaults when writing to that pointer
11:55
<
charliesome >
weird
11:55
<
charliesome >
so i'm working on fixing it
11:55
<
charliesome >
and learning a lot about how ruby blocks work
11:56
<
charliesome >
shit's wird
11:56
<
charliesome >
weird
11:56
mbj has joined #ruby-lang
11:57
gds0123 has quit [Quit: Leaving]
11:57
idkazuma has quit [Remote host closed the connection]
11:59
mrwibbles has joined #ruby-lang
11:59
<
mrwibbles >
I need some software i can conduct online ruby tests with
11:59
<
mrwibbles >
anyone know of any?
11:59
<
charliesome >
mrwibbles: how do you mean
11:59
<
mrwibbles >
oh sorry, online ruby examiniations
11:59
<
mrwibbles >
is a better word
11:59
aymeric_ has joined #ruby-lang
11:59
<
mrwibbles >
here's a problem, solve it.. click on next
12:00
rking has quit [Ping timeout: 268 seconds]
12:00
<
mrwibbles >
executes without leaving tons of security holes etc
12:01
<
mrwibbles >
yeah.. really i just want the platform to be able to let them run the code
12:02
<
mrwibbles >
yeah that's awesome!
12:02
<
mrwibbles >
love the interface
12:03
carlosdo has quit [Quit: Leaving...]
12:04
mbj has quit [Read error: Operation timed out]
12:06
workmad3 has quit [Ping timeout: 246 seconds]
12:07
<
charliesome >
mrwibbles: on eval.in, i use a ptrace sandbox
12:08
vlad_starkov has joined #ruby-lang
12:08
<
charliesome >
i wouldn't trust anything that didn't operate at a level above ruby
12:08
benlovell has joined #ruby-lang
12:11
<
mrwibbles >
charliesome: yeah that says it onlys works with Pascal, C, C++ C$ and haskell
12:11
<
mrwibbles >
I basically need javascript and ruby
12:11
<
charliesome >
mrwibbles: it can work with anything
12:14
vlad_starkov has quit [Read error: Connection reset by peer]
12:14
vlad_sta_ has joined #ruby-lang
12:16
<
mrwibbles >
do you know if their evaluator v2 is working?
12:17
<
charliesome >
not sure, i use the v1
12:18
AndChat| has joined #ruby-lang
12:19
swav has joined #ruby-lang
12:20
Banistergalaxy has quit [Ping timeout: 245 seconds]
12:24
mbj has joined #ruby-lang
12:24
retro|cz has quit [Ping timeout: 256 seconds]
12:26
banisterfiend has joined #ruby-lang
12:29
<
charliesome >
judofyr: yeah that's pretty bang on
12:30
<
judofyr >
charliesome: also, mentioned String/Array explicitly, but I assume all instances of Ruby classes (user-level) are sunny too?
12:30
<
judofyr >
ko1 mentioned*
12:30
<
charliesome >
i'm not sure
12:30
<
charliesome >
i think only strings and arrays are covered in this first cut
12:31
<
charliesome >
lol why are people writing "Geneartional" everywhere
12:31
<
judofyr >
it was in the redmine title :P
12:32
<
charliesome >
i'm amazed nobody has fixed that typo
12:35
<
charliesome >
someone on r/ruby: "anyone know if this is copy on write-friendly?"
12:35
<
charliesome >
good point
12:36
<
charliesome >
are the generation and sunny/shady flags stored on the object itself?
12:36
<
judofyr >
charliesome: yes
12:36
<
judofyr >
charliesome: just like frozen
12:36
tarruda has joined #ruby-lang
12:36
krohrbaugh has joined #ruby-lang
12:36
mbj has quit [Ping timeout: 252 seconds]
12:36
<
charliesome >
so gen gc undoes the bitmap mark flag improvement
12:37
<
judofyr >
RUBY_FL_RESERVED1 and RUBY_FL_RESERVED2 has been renamed to RUBY_FL_KEEP_WB and RUBY_FL_OLDGEN
12:38
krohrbaugh has quit [Read error: Operation timed out]
12:38
runeb has joined #ruby-lang
12:38
<
khaase >
anyone know how to compile an ext in ruby without recompiling all of ruby?
12:38
<
khaase >
ie, cd ext/strscan && ruby extconf.rb && make
12:38
<
charliesome >
khaase: cd into the directory, ruby extconf.rb; make; make install
12:38
<
khaase >
except that doesn't work
12:39
<
charliesome >
works on my machine :p
12:39
<
khaase >
make:
*** No rule to make target `/regint.h', needed by `strscan.o'. Stop.
12:40
<
charliesome >
huh weird
12:40
<
charliesome >
are you using the ruby that you're trying to build the ext for?
12:40
carlosdo has joined #ruby-lang
12:40
<
khaase >
I use the same version but build from ruby-build
12:41
<
khaase >
I just ran a make in all of ruby
12:41
<
khaase >
got the same error
12:41
<
khaase >
make[2]:
*** No rule to make target `/regint.h', needed by `strscan.o'. Stop.
12:41
<
khaase >
make[1]:
*** [ext/strscan/all] Error 2
12:41
<
khaase >
make:
*** [build-ext] Error 2
12:41
<
charliesome >
no clue
12:41
<
charliesome >
try rebuilding ruby manually
12:41
<
judofyr >
charliesome: I asked about user-level classes and flags on ruby-core :)
12:41
<
khaase >
yeah, that's the message I got from rebuilding ruby
12:42
<
charliesome >
khaase: hmm, try maybe running ./configure again
12:42
<
charliesome >
judofyr: cool cheers
12:42
<
khaase >
removed generated files in ext/strscan and trying again, maybe I messed up something
12:42
kogent has quit [Ping timeout: 248 seconds]
12:43
<
khaase >
uh, now it works. with just running ./configure, no need to rebuild ruby
12:43
<
khaase >
it's just if I run extconf.rb manually that I mess up everything
12:44
tomzx_mac has joined #ruby-lang
12:46
tomzx_mac has quit [Remote host closed the connection]
12:46
tomzx_mac has joined #ruby-lang
12:47
<
judofyr >
charliesome: do you know if there's been work on an on-the-fly GC (concurrent marking)?
12:48
<
charliesome >
not to my knowledge
12:48
<
judofyr >
now that we have write barriers it might be possible
12:49
<
charliesome >
i don't know much about GCs but i'd imagine to support concurrent marking you'd need proper write barriers?
12:50
<
judofyr >
you usually stop the thread to capture the root, then you resume the thread again
12:50
<
khaase >
maybe I'm stupid here or something, but where does the .so end up?
12:51
<
judofyr >
root pointers*
12:51
<
judofyr >
and then you need something to detect changes in objects while the tracing occurs
12:51
<
judofyr >
i.e. write-barriers
12:52
<
khaase >
I mean, the bundle
12:54
<
whitequark >
you don't need write barriers if your GC is non-moving...
12:55
carlosdo has quit [Quit: Leaving...]
12:58
<
judofyr >
whitequark: sure? what if this runs concurrently: `a = obj.thing; obj.thing = nil; (some time passes); obj.thing = a`
12:59
<
judofyr >
if the marking phase ends during (some time passes) it won't find the obj.thing
12:59
<
judofyr >
(the old one)
12:59
symm- has quit [Ping timeout: 252 seconds]
13:00
<
judofyr >
and `a` would be a dangling pointer
13:00
rwk1 has quit [Ping timeout: 245 seconds]
13:01
<
judofyr >
hm. actually, the write barriers in RGenGC isn't good enough. they only record that `a` now points to `b`; not that something no longer points there.
13:02
<
judofyr >
Petrank's sliding view on-the-fly collector assumes that you can always get the old value
13:04
<
judofyr >
(see An On-the-Fly Mark and Sweep Garbage Collector Based on Sliding Views)
13:05
<
whitequark >
judofyr: er, you are right, of course
13:05
mrwibbles has quit [Remote host closed the connection]
13:05
<
whitequark >
s,write,read,
13:05
<
judofyr >
that is correct
13:06
<
judofyr >
I wonder if it would be possible to implement it if OBJ_WB also took the old value
13:06
<
judofyr >
and do something funky with shady objects
13:07
<
judofyr >
that's the tricky thing
13:08
<
judofyr >
maybe stop-the-world + mark roots and shady objects, mark the rest concurrently
13:08
rwk1 has joined #ruby-lang
13:08
<
whitequark >
judofyr: you've mentioned sliding view... :)
13:09
<
whitequark >
I like that paper, but the complexity it adds is substantial
13:09
<
judofyr >
whitequark: as long as Ruby stays single-threaded you can get rid of the thread handshake
13:09
<
whitequark >
I wonder if it is possible to compose GC'd and non-GC'd code in a sane way.
13:09
pskosinski has joined #ruby-lang
13:09
<
judofyr >
whitequark: define "sane" :P
13:09
<
whitequark >
judofyr: (handshake) nah, with the MRI's design that is trivial
13:10
<
whitequark >
it doesn't even JIT, so what's the problem?
13:10
<
whitequark >
simply add a checking call to rb_funcall and emit a bytecode before loop back edges
13:11
<
whitequark >
judofyr: sane? usable by someone who is aware of how GCs generally work
13:11
<
whitequark >
the general idea is that you can attach attributes to lexical scopes
13:12
* whitequark
is writing a gist
13:14
gix has quit [Quit: Client exiting]
13:15
pcboy__ has joined #ruby-lang
13:16
danrage77 has quit [Remote host closed the connection]
13:16
<
khaase >
why the hell strscan isn't using matchdata is unclear to me
13:17
<
whitequark >
sigh... whatever
13:17
<
khaase >
also, private c methods all over the place
13:17
<
whitequark >
judofyr: scratch that
13:17
zmike has joined #ruby-lang
13:17
workmad3 has joined #ruby-lang
13:18
gix has joined #ruby-lang
13:18
pcboy_ has quit [Ping timeout: 256 seconds]
13:20
<
judofyr >
whitequark: brb
13:20
judofyr has quit [Remote host closed the connection]
13:25
<
rue >
C ALL the things!
13:26
jstemmer has joined #ruby-lang
13:26
runeb has quit [Remote host closed the connection]
13:28
vlad_sta_ has quit [Remote host closed the connection]
13:29
swav has quit [Remote host closed the connection]
13:29
vlad_starkov has joined #ruby-lang
13:33
swav has joined #ruby-lang
13:36
tsion has quit [Quit: Leaving]
13:37
krohrbaugh has joined #ruby-lang
13:37
canton7 has quit [Remote host closed the connection]
13:37
swav has quit [Remote host closed the connection]
13:37
canton7 has joined #ruby-lang
13:37
<
banisterfiend >
rue: have you used bacon.js on any projects?
13:40
runeb has joined #ruby-lang
13:41
krohrbaugh has quit [Ping timeout: 252 seconds]
13:43
wallerdev has joined #ruby-lang
13:45
jxie has joined #ruby-lang
13:46
mrfelix has quit [Quit: Computer has gone to sleep.]
13:46
workmad3 has quit [Ping timeout: 256 seconds]
13:47
aymeric_ has quit [Remote host closed the connection]
13:52
<
khaase >
oniguruma memory management, how does it work?
13:53
<
khaase >
if (RREGEXP(regex)->usecnt) onig_free(oldre);
13:53
<
khaase >
doesn't that mean I free it when it is still in use?
13:54
<
khaase >
I'm at a path way here: segfault or memory leak
13:55
<
whitequark >
khaase: hmm, interesting
13:56
<
zzak >
khaase: you're a mad man
13:57
runeb has quit [Remote host closed the connection]
13:58
celinedior has quit [Quit: celinedior]
13:58
<
whitequark >
khaase: I think that it handles the case where rb_reg_prepare_re (line 459) sometimes returns the original regexp and sometimes a copy
13:59
rking has joined #ruby-lang
14:00
postmodern has quit [Quit: Leaving]
14:03
<
khaase >
also, how is p->regs different from RMATCH_REGS?
14:03
benlovell has quit [Ping timeout: 245 seconds]
14:04
setmeaway has quit [Quit: Leaving]
14:04
spinky has quit [Read error: Connection reset by peer]
14:05
<
khaase >
also, how do I turn a re_registers into a re_registers into a OnigRegion?
14:06
<
khaase >
ie, why is regs in strscanner different from regs in re.c (MatchData) but onig writes to both without issue?
14:06
judofyr has joined #ruby-lang
14:07
<
khaase >
typedef struct re_registers OnigRegion;
14:08
<
khaase >
ah, no, need to deref
14:08
<
khaase >
haven't done c in a while
14:08
<
judofyr >
I've been thinking about concurrent tracing: I think it's doable. but objects that are being shaded during tracing would have to be traced right away.
14:09
<
khaase >
fuck yeah working
14:09
<
khaase >
now I only have to figure out freeing the regexp
14:10
<
judofyr >
khaase: what are you implementing?
14:12
<
khaase >
judofyr: named captures for stringscanner
14:13
setmeaway has joined #ruby-lang
14:13
<
judofyr >
so: stop thread, gather roots + shady-set, start thread, run tracing concurrently. if an object gets shady, trace the object, carry on. if a write-barrier gets invoked, add the old value to the marklist.
14:14
<
khaase >
see the // THIS SEGFAULTS
14:14
<
khaase >
compare with line 58 to 67
14:17
vlad_sta_ has joined #ruby-lang
14:17
tarruda has quit [Remote host closed the connection]
14:18
<
banisterfiend >
khaase: what line is it segv on
14:19
vlad_sta_ has quit [Remote host closed the connection]
14:19
<
khaase >
wait, now it's not segfaulting
14:20
<
khaase >
test_pos_unicode(TestStringScanner) [../../test/strscan/test_stringscanner.rb:208]:
14:20
<
khaase >
<"def\u00F6"> expected but was
14:20
GeissT has quit [Quit: MillBroChat AdIRC User]
14:20
vlad_starkov has quit [Ping timeout: 245 seconds]
14:21
<
khaase >
now it did
14:22
<
banisterfiend >
khaase: are you messing with it in gdb? i find gdb a necessity when debugging C stuff
14:23
<
banisterfiend >
it gives clearer backtraces too, i can never make sense of the ruby ones..
14:23
<
khaase >
not yet, I'm adding string lookup first
14:23
jovy88 has quit [Read error: Connection reset by peer]
14:23
<
khaase >
will do that next
14:23
<
khaase >
I think the problem is that I don't fully understand the pointer freeing code of the regex
14:23
glebm has joined #ruby-lang
14:23
jovy88 has joined #ruby-lang
14:24
<
banisterfiend >
you'll probably need to recompile ruby with -O0 for gdb to be really useful
14:25
jbsan has quit [Quit: jbsan]
14:26
<
whitequark >
but what if your program doesn't work with -O0
14:26
glebm has quit [Read error: Connection reset by peer]
14:26
febuiles has quit [Quit: febuiles]
14:27
<
khaase >
string matching done. have to run, will do gdb later
14:27
<
khaase >
thanks for being my rubber ducky so far
14:28
<
khaase >
isn't -O0 the default anyways?
14:28
<
banisterfiend >
for ruby i think it's like -O2
14:28
kgrz has quit [Quit: Computer has gone to sleep.]
14:31
glebm has joined #ruby-lang
14:31
kgrz has joined #ruby-lang
14:33
kgrz has quit [Client Quit]
14:35
<
khaase >
ah, I solved it
14:36
<
khaase >
it was a misconception on my end
14:36
<
khaase >
doing to mutch
14:36
<
khaase >
I can pretty much keep the old code
14:36
<
judofyr >
you shouldn't do to mutch
14:37
glebm has quit [Ping timeout: 252 seconds]
14:37
toretore has quit [Quit: Leaving]
14:37
krohrbaugh has joined #ruby-lang
14:39
<
injekt >
it's 90 already?
14:39
mbj has joined #ruby-lang
14:39
<
zzak >
judofyr: congrats!
14:39
<
judofyr >
I haven't managed to finish/release many projects though…
14:39
glebm has joined #ruby-lang
14:40
<
zzak >
90 day streak is still something to be proud of
14:40
arubin has joined #ruby-lang
14:41
krohrbaugh has quit [Ping timeout: 252 seconds]
14:43
vlad_starkov has joined #ruby-lang
14:44
toretore has joined #ruby-lang
14:45
zmike has quit [Quit: Выходжу]
14:46
<
whitequark >
judofyr: wow. did you do it deliberately?
14:46
vlad_sta_ has joined #ruby-lang
14:46
<
judofyr >
whitequark: streak? yes
14:46
<
judofyr >
messing it up: nope
14:46
vlad_starkov has quit [Read error: Connection reset by peer]
14:47
<
judofyr >
I had a commit on a feature-branch in March. I
*think* it should count now that I've merged the branch, but I think they have to fix it manually
14:47
glebm has quit [Ping timeout: 252 seconds]
14:47
<
whitequark >
my graph isn't exactly that impressive... every once in a while, computers annoy me bad enough so I just turn everything off for a few days :)
14:47
swav has joined #ruby-lang
14:48
<
judofyr >
whitequark: I have 4x commits when you include private repos
14:48
<
judofyr >
which makes me a bit sad
14:48
<
whitequark >
oh right, private repos
14:49
* whitequark
shrugs
14:49
vlad_sta_ has quit [Remote host closed the connection]
14:49
glebm has joined #ruby-lang
14:51
<
whitequark >
(it's a stereogram)
14:52
swav has quit [Ping timeout: 245 seconds]
14:55
srbaker has quit [Quit: Computer has gone to sleep.]
14:55
swygue has joined #ruby-lang
14:56
sush24 has joined #ruby-lang
14:56
runeb has joined #ruby-lang
14:57
<
injekt >
whitequark: you want this code?
14:58
<
whitequark >
injekt: I think so
15:00
holgerno has joined #ruby-lang
15:00
holgerno has joined #ruby-lang
15:00
holgerno has quit [Changing host]
15:00
holgerno has quit [Client Quit]
15:02
glebm has quit [Ping timeout: 240 seconds]
15:02
judofyr has quit [Ping timeout: 255 seconds]
15:05
glebm has joined #ruby-lang
15:07
JohnBat26 has joined #ruby-lang
15:10
JohnBat26 has quit [Client Quit]
15:10
DomKM has joined #ruby-lang
15:10
JohnBat26 has joined #ruby-lang
15:12
Mon_Ouie has quit [Ping timeout: 246 seconds]
15:15
wallerdev has quit [Quit: wallerdev]
15:16
guiambros has quit [Ping timeout: 256 seconds]
15:16
guiambros has joined #ruby-lang
15:19
justinram has joined #ruby-lang
15:20
judofyr has joined #ruby-lang
15:20
kgrz has joined #ruby-lang
15:28
guiambros has quit [Ping timeout: 256 seconds]
15:29
thatJasonSmith has joined #ruby-lang
15:32
workmad3 has joined #ruby-lang
15:33
glebm has quit [Read error: Connection reset by peer]
15:33
randallagordon has quit [Ping timeout: 240 seconds]
15:35
randallagordon has joined #ruby-lang
15:36
nXqd has joined #ruby-lang
15:37
krohrbaugh has joined #ruby-lang
15:38
glebm has joined #ruby-lang
15:39
wallerdev has joined #ruby-lang
15:41
krohrbaugh has quit [Read error: Operation timed out]
15:42
MartynKeigher has joined #ruby-lang
15:44
MartynKeigher has quit [Excess Flood]
15:46
herbalist has joined #ruby-lang
15:47
workmad3 has quit [Ping timeout: 255 seconds]
15:50
<
herbalist >
can someone help me?
15:52
MartynKeigher2 has joined #ruby-lang
15:53
judofyr has quit [Read error: No route to host]
15:53
judofyr_ has joined #ruby-lang
15:54
mistym has joined #ruby-lang
16:00
jonahR has joined #ruby-lang
16:00
jonahR has left #ruby-lang [#ruby-lang]
16:03
MaddinXx_ has quit [Remote host closed the connection]
16:06
judofyr_ has left #ruby-lang [#ruby-lang]
16:06
judofyr has joined #ruby-lang
16:06
<
judofyr >
injekt: zzak: you here?
16:07
<
judofyr >
herbalist: still here?
16:13
Mon_Ouie has joined #ruby-lang
16:15
workmad3 has joined #ruby-lang
16:17
tbuehlmann has joined #ruby-lang
16:18
<
gjaldon >
herbalist: just post your question
16:18
sepp2k has quit [Remote host closed the connection]
16:20
<
ddfreyne >
judofyr: 90 day streak is pretty long
16:20
<
ddfreyne >
Mine is 0 :(
16:20
<
ddfreyne >
I don’t get to code often enough
16:21
<
judofyr >
ddfreyne: code today and your streak is 1!
16:21
<
ddfreyne >
I am coding, but I’m not ready to commit anything at all
16:21
<
ddfreyne >
judofyr: Oh I did commit today
16:21
<
ddfreyne >
judofyr: I guess it’ll become 1 tomorrow
16:23
countdigi has quit [Ping timeout: 240 seconds]
16:24
norplr has quit [Ping timeout: 264 seconds]
16:25
<
ddfreyne >
judofyr: Is it auto-generated from source code? Or does it keep the documentation in a separate file, not inside the source code?
16:25
vivekrai has quit [Ping timeout: 256 seconds]
16:25
Spaceghost|cloud has quit [Ping timeout: 246 seconds]
16:26
<
judofyr >
ddfreyne: separate
16:26
<
judofyr >
ddfreyne: I'm going to add comments in the file that explains the internal details
16:26
rgn has quit [Ping timeout: 268 seconds]
16:26
UziMonkey__ has quit [Ping timeout: 268 seconds]
16:29
workmad3 has quit [Ping timeout: 264 seconds]
16:31
countdigi has joined #ruby-lang
16:34
<
injekt >
judofyr: I am now
16:35
<
judofyr >
injekt: see link above. I think that's my new documentation style
16:35
<
judofyr >
one .md file per class for API reference
16:36
<
judofyr >
add comments to the source that explains the internal details
16:38
krohrbaugh has joined #ruby-lang
16:39
<
injekt >
judofyr: I like it, but I always have the same opinion on api documentation: frames are good. It's one of the reasons I have a problem with the default rdoc darkfish template
16:39
fsvehla has joined #ruby-lang
16:40
AndChat| has quit [Ping timeout: 240 seconds]
16:40
runeb has quit [Remote host closed the connection]
16:40
<
injekt >
that and I like to read all the docs within the source (but that's a personal opinion, I like reading code)
16:42
mrfelix has joined #ruby-lang
16:42
Banistergalaxy has joined #ruby-lang
16:42
krohrbaugh has quit [Ping timeout: 252 seconds]
16:44
gjaldon has quit [Remote host closed the connection]
16:44
vivekrai has joined #ruby-lang
16:45
<
banisterfiend >
brown paper bags for sergeant pepper!
16:45
<
ddfreyne >
judofyr: I like keeping my source code documentation close to my source code
16:45
<
judofyr >
injekt: I agree. it needs a custom template.
16:45
rgn has joined #ruby-lang
16:45
<
judofyr >
ddfreyne: I think code is better when you use comments to explain the code
16:45
<
ddfreyne >
judofyr: It lessens the chance that the source code docs are out-of-date
16:46
<
ddfreyne >
judofyr: It also ensures that you document everything that needs to be documented
16:46
r0bgleeson has joined #ruby-lang
16:51
glebm has quit [Ping timeout: 264 seconds]
16:51
glebm has joined #ruby-lang
16:52
<
banisterfiend >
r0bgleeson: wb
16:53
bzalasky has joined #ruby-lang
16:54
countdigi has quit [Read error: Operation timed out]
16:58
justinram has quit [Remote host closed the connection]
17:03
blacktul_ has quit [Remote host closed the connection]
17:03
blacktulip has joined #ruby-lang
17:05
francisfish has joined #ruby-lang
17:06
glebm has quit [Ping timeout: 256 seconds]
17:07
bzalasky has quit [Remote host closed the connection]
17:09
bashdy has joined #ruby-lang
17:10
glebm has joined #ruby-lang
17:11
bashdy has quit [Client Quit]
17:13
chrismar035 has joined #ruby-lang
17:14
chrismar035 has quit [Client Quit]
17:21
kogent has joined #ruby-lang
17:22
workmad3 has joined #ruby-lang
17:25
bzalasky has joined #ruby-lang
17:28
francisfish has quit [Remote host closed the connection]
17:31
francisfish has joined #ruby-lang
17:32
bzalasky has quit [Remote host closed the connection]
17:32
workmad3 has quit [Ping timeout: 245 seconds]
17:36
emptyflask has joined #ruby-lang
17:37
francisfish has quit [Remote host closed the connection]
17:37
emptyflask has quit [Remote host closed the connection]
17:38
krohrbaugh has joined #ruby-lang
17:39
TheNotary has joined #ruby-lang
17:40
runeb has joined #ruby-lang
17:41
krohrbaugh has quit [Read error: Operation timed out]
17:42
norplr has joined #ruby-lang
17:42
nofxx has joined #ruby-lang
17:44
bzalasky has joined #ruby-lang
17:45
runeb has quit [Ping timeout: 246 seconds]
17:51
workmad3 has joined #ruby-lang
17:52
srbaker has joined #ruby-lang
17:53
thejspr_ has joined #ruby-lang
17:53
symm- has joined #ruby-lang
17:53
thejspr_ has left #ruby-lang [#ruby-lang]
17:55
brianpWins has joined #ruby-lang
17:55
thejspr has joined #ruby-lang
17:55
thejspr has left #ruby-lang [#ruby-lang]
17:59
asunderland has joined #ruby-lang
17:59
bzalasky has quit [Remote host closed the connection]
18:04
bzalasky has joined #ruby-lang
18:04
workmad3 has quit [Ping timeout: 245 seconds]
18:05
mwjcomputing has joined #ruby-lang
18:08
benlovell has joined #ruby-lang
18:09
asunderland has quit [Ping timeout: 248 seconds]
18:14
Nisstyre has joined #ruby-lang
18:14
MaddinXx_ has joined #ruby-lang
18:17
workmad3 has joined #ruby-lang
18:18
solars has quit [Ping timeout: 252 seconds]
18:18
bzalasky has quit [Remote host closed the connection]
18:19
justinram has joined #ruby-lang
18:20
breakingthings has joined #ruby-lang
18:20
francisfish has joined #ruby-lang
18:21
judofyr has quit [Remote host closed the connection]
18:22
glebm has quit [Ping timeout: 258 seconds]
18:22
Spaceghost|cloud has joined #ruby-lang
18:22
UziMonkey__ has joined #ruby-lang
18:23
glebm has joined #ruby-lang
18:25
judofyr has joined #ruby-lang
18:27
gix has quit [Ping timeout: 276 seconds]
18:29
solars has joined #ruby-lang
18:30
gix has joined #ruby-lang
18:34
francisfish has quit [Remote host closed the connection]
18:39
tomzx_mac has quit [Ping timeout: 252 seconds]
18:39
bzalasky has joined #ruby-lang
18:40
kgrz has quit [Quit: Computer has gone to sleep.]
18:45
bzalasky has quit [Remote host closed the connection]
18:49
swav has joined #ruby-lang
18:53
DesertAlopex has joined #ruby-lang
18:58
judofyr has quit [Remote host closed the connection]
18:59
srbaker has quit [Quit: Computer has gone to sleep.]
19:00
vlad_starkov has joined #ruby-lang
19:01
tylersmith has joined #ruby-lang
19:06
vlad_starkov has quit [Ping timeout: 256 seconds]
19:12
xcombelle has quit [Remote host closed the connection]
19:13
DesertAlopex has quit [Quit: leaving]
19:15
divout has quit [Quit: Leaving.]
19:23
glebm has quit [Ping timeout: 256 seconds]
19:23
marr has joined #ruby-lang
19:25
glebm has joined #ruby-lang
19:26
srbaker has joined #ruby-lang
19:27
TheNotary has quit [Quit: Leaving]
19:27
symm- has quit [Ping timeout: 272 seconds]
19:30
glebm has quit [Ping timeout: 245 seconds]
19:32
MaddinXx_ has quit [Remote host closed the connection]
19:33
rippa has quit [Ping timeout: 240 seconds]
19:33
glebm has joined #ruby-lang
19:34
athaeryn has joined #ruby-lang
19:34
adambeynon has joined #ruby-lang
19:37
mistym has quit [Remote host closed the connection]
19:37
mistym has joined #ruby-lang
19:37
mistym has quit [Changing host]
19:37
mistym has joined #ruby-lang
19:38
sinclair has joined #ruby-lang
19:38
vlad_starkov has joined #ruby-lang
19:39
krohrbaugh has joined #ruby-lang
19:39
mistym has quit [Remote host closed the connection]
19:40
symm- has joined #ruby-lang
19:42
tylersmith has quit [Quit: tylersmith]
19:43
tbuehlmann has quit [Remote host closed the connection]
19:43
sepp2k has joined #ruby-lang
19:43
krohrbaugh has quit [Ping timeout: 240 seconds]
19:47
tjcravey has quit [Ping timeout: 245 seconds]
19:48
jerrytgarcia has joined #ruby-lang
19:48
jovy88 has quit [Read error: Connection reset by peer]
19:50
jovy88 has joined #ruby-lang
19:50
r0bby_ is now known as robbyoconnor
19:51
srbaker has quit [Quit: Computer has gone to sleep.]
19:54
dc5ala has quit [Quit: Ex-Chat]
20:00
sush24 has quit [Quit: This computer has gone to sleep]
20:01
srbaker has joined #ruby-lang
20:06
benlovell has quit [Ping timeout: 260 seconds]
20:07
athaeryn has quit [Remote host closed the connection]
20:12
mwjcomputing has quit [Ping timeout: 252 seconds]
20:19
erpuds has joined #ruby-lang
20:22
Banistergalaxy has quit [Ping timeout: 258 seconds]
20:23
FramEater has joined #ruby-lang
20:23
workmad3 has quit [Read error: Operation timed out]
20:23
Banistergalaxy has joined #ruby-lang
20:27
FramEater has quit [Ping timeout: 245 seconds]
20:28
adambeynon has quit [Quit: Computer has gone to sleep.]
20:30
spuk has quit [Ping timeout: 248 seconds]
20:30
norplr has quit [Ping timeout: 245 seconds]
20:31
workmad3 has joined #ruby-lang
20:33
benanne has quit [Quit: kbai]
20:34
randym has quit [Ping timeout: 260 seconds]
20:34
wycats__ has quit [Ping timeout: 264 seconds]
20:35
kvs has quit [Ping timeout: 246 seconds]
20:35
jwollert has quit [Ping timeout: 246 seconds]
20:35
kalleth has quit [Ping timeout: 246 seconds]
20:35
khaase_ has quit [Ping timeout: 246 seconds]
20:35
darix has quit [Ping timeout: 256 seconds]
20:35
jacknagel has quit [Ping timeout: 264 seconds]
20:36
kalleth has joined #ruby-lang
20:37
zachlatta has quit [Remote host closed the connection]
20:37
darix has joined #ruby-lang
20:37
athaeryn has joined #ruby-lang
20:37
eval-in_ has joined #ruby-lang
20:38
eval-in has quit [Remote host closed the connection]
20:39
kvs has joined #ruby-lang
20:39
norplr has joined #ruby-lang
20:39
krohrbaugh has joined #ruby-lang
20:40
khaase_ has joined #ruby-lang
20:41
beawesomeinstead has quit [Ping timeout: 276 seconds]
20:41
jwollert has joined #ruby-lang
20:41
Muz has quit [Ping timeout: 255 seconds]
20:41
Muz has joined #ruby-lang
20:41
spuk has joined #ruby-lang
20:44
krohrbaugh has quit [Ping timeout: 256 seconds]
20:49
mbj_ has joined #ruby-lang
20:51
glebm has quit [Ping timeout: 256 seconds]
20:52
jbsan has joined #ruby-lang
20:53
mbj has quit [Ping timeout: 272 seconds]
20:53
glebm has joined #ruby-lang
21:03
GeissT has joined #ruby-lang
21:03
bzalasky has joined #ruby-lang
21:05
srbaker has quit [Quit: Computer has gone to sleep.]
21:10
<
yorickpeterse >
wohoo, my talk made it into the Euruko shortlist
21:10
<
yorickpeterse >
now I just have to go from #26 to <= #10
21:10
erikh has joined #ruby-lang
21:11
KU0N has joined #ruby-lang
21:12
nofxx has quit [Remote host closed the connection]
21:13
<
KU0N >
Is it possible to do a gsub of a pattern only if this pattern is not within another? For example in the following AA5AA6AA I want to replace first two and last two A, I don't want to replace occurence between 5 and 6.
21:13
<
KU0N >
So it becomes BB5AA6BB
21:14
mbj_ has quit [Read error: Operation timed out]
21:17
erpuds has quit [Quit: erpuds]
21:18
idkazuma has joined #ruby-lang
21:22
<
r0bgleeson >
yorickpeterse: cool, what's the talk?
21:23
<
yorickpeterse >
also, the amount of upvotes seems to be incorrect
21:23
<
yorickpeterse >
it was 25/7
21:25
workmad3 has quit [Read error: Operation timed out]
21:29
lmars has joined #ruby-lang
21:30
toretore has quit [Quit: Leaving]
21:32
herbalist has quit [Ping timeout: 245 seconds]
21:34
<
yorickpeterse >
also the ranking seems to be really weird
21:35
<
yorickpeterse >
A talk with 36 unique views, 16 upvotes and 4 downvotes gets ranked higher than a talk with 54 unique views, 21 (actually 25) upvotes and 7 downvotes
21:36
Mon_Ouie has quit [Ping timeout: 268 seconds]
21:37
fsvehla has quit [Read error: Connection reset by peer]
21:42
benanne has joined #ruby-lang
21:47
tomzx_mac has joined #ruby-lang
21:50
athaeryn has quit [Remote host closed the connection]
21:50
jstemmer has quit [Remote host closed the connection]
21:51
mistym has joined #ruby-lang
21:53
bizdak has joined #ruby-lang
21:54
thone has joined #ruby-lang
21:57
thone_ has quit [Ping timeout: 255 seconds]
22:03
jovy88 has quit [Read error: Connection reset by peer]
22:04
jovy88 has joined #ruby-lang
22:08
TheNotary has joined #ruby-lang
22:09
mikestok has joined #ruby-lang
22:13
mikestok has quit [Client Quit]
22:16
brianpWins has quit [Quit: brianpWins]
22:17
athaeryn has joined #ruby-lang
22:24
lmars has quit [Quit: Leaving]
22:25
idkazuma has quit [Remote host closed the connection]
22:30
enebo has joined #ruby-lang
22:31
jacknagel has joined #ruby-lang
22:31
randym has joined #ruby-lang
22:31
wycats__ has joined #ruby-lang
22:33
ericwood has quit [Ping timeout: 248 seconds]
22:34
idkazuma has joined #ruby-lang
22:35
ericwood has joined #ruby-lang
22:35
enebo has quit [Quit: enebo]
22:37
blacktulip has quit [Remote host closed the connection]
22:38
srbaker has joined #ruby-lang
22:39
athaeryn has quit [Remote host closed the connection]
22:39
solars has quit [Read error: Operation timed out]
22:39
sinclair has quit []
22:40
r0bgleeson has quit [Read error: Connection reset by peer]
22:40
r0bgleeson has joined #ruby-lang
22:41
beawesomeinstead has joined #ruby-lang
22:47
vlad_starkov has quit [Remote host closed the connection]
22:48
oneirophren has joined #ruby-lang
22:51
sepp2k1 has joined #ruby-lang
22:52
fosky has joined #ruby-lang
22:52
sepp2k has quit [Ping timeout: 258 seconds]
22:56
athaeryn has joined #ruby-lang
22:58
benanne has quit [Quit: kbai]
23:03
sduckett has joined #ruby-lang
23:05
agarie has joined #ruby-lang
23:06
brianpWins has joined #ruby-lang
23:06
tylersmith has joined #ruby-lang
23:07
lcdhoffman has joined #ruby-lang
23:14
justinram has quit [Remote host closed the connection]
23:20
erpuds has joined #ruby-lang
23:20
erpuds has quit [Client Quit]
23:20
erpuds has joined #ruby-lang
23:20
tylersmith has quit [Quit: tylersmith]
23:32
athaeryn has quit [Remote host closed the connection]
23:38
ritek has quit [Ping timeout: 245 seconds]
23:41
mrfelix has quit [Quit: Computer has gone to sleep.]
23:42
v0yager has joined #ruby-lang
23:42
erpuds has quit [Quit: erpuds]
23:43
v0yager has quit [Remote host closed the connection]
23:43
v0yager has joined #ruby-lang
23:45
joshH2 has joined #ruby-lang
23:46
symm- has quit [Ping timeout: 272 seconds]
23:47
vlad_starkov has joined #ruby-lang
23:48
brianpWins has quit [Quit: brianpWins]
23:49
erpuds has joined #ruby-lang
23:52
alessio_rocco has quit [Remote host closed the connection]
23:53
vlad_starkov has quit [Ping timeout: 276 seconds]
23:59
zachlatt_ has joined #ruby-lang