00:01
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:02
omosoj has quit [Ping timeout: 252 seconds]
00:02
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:07
D9 has quit [Quit: Leaving]
00:08
datanoise has quit [Ping timeout: 265 seconds]
00:08
danijoo has quit [Read error: Connection reset by peer]
00:09
danijoo has joined #ruby-lang
00:12
RobertBirnie has quit [Ping timeout: 245 seconds]
00:18
ddv has quit [Ping timeout: 245 seconds]
00:19
miwood has joined #ruby-lang
00:21
cored has joined #ruby-lang
00:22
marr has quit [Ping timeout: 258 seconds]
00:23
miwood has quit [Ping timeout: 252 seconds]
00:24
ascarter has joined #ruby-lang
00:24
ddv has joined #ruby-lang
00:26
ascarter has quit [Client Quit]
00:27
ddux has joined #ruby-lang
00:29
ur5us has quit [Remote host closed the connection]
00:30
seako has joined #ruby-lang
00:32
sleepy_keita has joined #ruby-lang
00:34
seako has left #ruby-lang [#ruby-lang]
00:34
seako has joined #ruby-lang
00:35
crudson has quit [Quit: Leaving.]
00:37
ascarter has joined #ruby-lang
00:40
danguita has quit [Ping timeout: 272 seconds]
00:47
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:49
kitak has quit [Remote host closed the connection]
00:49
kitak has joined #ruby-lang
00:51
toastynerd has quit [Remote host closed the connection]
00:52
danguita has joined #ruby-lang
00:53
hahuang61 has joined #ruby-lang
01:03
thomasxie has joined #ruby-lang
01:04
datanoise has joined #ruby-lang
01:07
GrooveStomp has quit [Ping timeout: 240 seconds]
01:07
toastynerd has joined #ruby-lang
01:09
alexju has quit [Remote host closed the connection]
01:10
dik_dak has joined #ruby-lang
01:12
shashin has quit [Quit: shashin]
01:13
amclain has joined #ruby-lang
01:13
pixelhandler has quit [Quit: pixelhandler]
01:16
Barrin6 has joined #ruby-lang
01:19
Nexus_x1 has joined #ruby-lang
01:21
seako1 has joined #ruby-lang
01:21
seako has quit [Ping timeout: 240 seconds]
01:21
thomasxie has quit [Quit: Leaving.]
01:25
lsegal has joined #ruby-lang
01:27
yatish27 has joined #ruby-lang
01:28
cnivolle_ has quit [Remote host closed the connection]
01:31
wallerdev has quit [Quit: wallerdev]
01:37
wallerdev has joined #ruby-lang
01:40
t4nk824 has joined #ruby-lang
01:40
ur5us has joined #ruby-lang
01:44
yock has joined #ruby-lang
01:45
ur5us has quit [Ping timeout: 264 seconds]
01:46
ddux has quit [Remote host closed the connection]
01:50
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
01:50
crudson has joined #ruby-lang
01:52
lsegal has joined #ruby-lang
01:54
ascarter has joined #ruby-lang
01:55
mistym has quit [Remote host closed the connection]
01:55
yfeldblu_ has quit [Ping timeout: 240 seconds]
01:59
t4nk824 has quit [Ping timeout: 240 seconds]
01:59
mistym has joined #ruby-lang
01:59
ddux has joined #ruby-lang
01:59
mistym has quit [Remote host closed the connection]
02:00
diegoviola has joined #ruby-lang
02:01
ddux has quit [Client Quit]
02:02
sleepy_keita has quit [Quit: sleepy_keita]
02:03
wallerdev has quit [Quit: wallerdev]
02:03
sleepy_keita has joined #ruby-lang
02:04
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:05
Nexus_x1 has quit [Quit: Computer has gone to sleep.]
02:07
cored has quit [Ping timeout: 255 seconds]
02:11
datanoise has quit [Quit: leaving]
02:11
datanoise has joined #ruby-lang
02:11
charliesome has joined #ruby-lang
02:12
diegoviola has quit [Quit: WeeChat 0.4.3]
02:12
omosoj has joined #ruby-lang
02:13
omosoj has quit [Client Quit]
02:16
omosoj has joined #ruby-lang
02:16
nertzy3 has quit [Ping timeout: 252 seconds]
02:19
rizidoro has joined #ruby-lang
02:22
yock has quit [Ping timeout: 276 seconds]
02:28
franzip has quit [Quit: ...]
02:33
nertzy has joined #ruby-lang
02:33
seako1 has quit [Quit: Leaving.]
02:38
bahar has joined #ruby-lang
02:40
Barrin6 has quit [Quit: Leaving]
02:40
derek has joined #ruby-lang
02:41
diegoviola has joined #ruby-lang
02:41
bahar has quit [Client Quit]
02:42
CodeBunny has joined #ruby-lang
02:51
nathanstitt has joined #ruby-lang
02:52
diegoviola has quit [Quit: WeeChat 0.4.3]
02:55
agarie has joined #ruby-lang
02:57
marcdel has joined #ruby-lang
02:59
sepp2k has quit [Read error: Connection reset by peer]
03:00
marcdel_ has joined #ruby-lang
03:01
marcdel has quit [Ping timeout: 240 seconds]
03:02
Asher has quit [Quit: Leaving.]
03:07
sindork has quit [Changing host]
03:07
sindork has joined #ruby-lang
03:07
Xzyx987X has joined #ruby-lang
03:08
diegoviola has joined #ruby-lang
03:09
Xzyx987X_ has quit [Ping timeout: 240 seconds]
03:09
nightshadow has joined #ruby-lang
03:11
rizidoro has quit [Remote host closed the connection]
03:14
nightshadow_ has joined #ruby-lang
03:15
nightshadow has quit [Quit: Leaving...]
03:15
nightshadow_ is now known as nightshadow
03:15
nightshadow has quit [Client Quit]
03:17
anibara has joined #ruby-lang
03:19
<
anibara >
Hello all…My first time trying IRC…
03:19
<
havenwood >
anibara: hi
03:19
<
anibara >
what do I expect here…totally clueless
03:20
<
anibara >
started learning Ruby since this morning and site said I should frequent IRC
03:20
<
havenwood >
anibara: nice, well welcome!
03:21
patrick has joined #ruby-lang
03:22
patrick is now known as Guest40897
03:22
<
havenwood >
anibara: if you have any questions, feel free to ask them
03:23
<
havenwood >
anibara: there's sometimes more chatter going on in #ruby by the way, and #rubyonrails or #sinatra if you're interested in those too
03:23
mistym has joined #ruby-lang
03:24
<
anibara >
sure. Thanks for pointing them
03:25
danguita has quit [Remote host closed the connection]
03:25
havenwood has quit [Remote host closed the connection]
03:26
havenwood has joined #ruby-lang
03:27
<
centrx >
anibara, Or #teamdoge !
03:31
sleepy_keita has quit [Quit: sleepy_keita]
03:32
Nexus_x1 has joined #ruby-lang
03:34
havenn has joined #ruby-lang
03:36
havenwood has quit [Quit: Leaving...]
03:36
danguita has joined #ruby-lang
03:36
Nexus_x1 has quit [Client Quit]
03:37
havenn is now known as havenwood
03:40
marcdel_ has quit []
03:46
Xzyx987X_ has joined #ruby-lang
03:49
Xzyx987X has quit [Ping timeout: 258 seconds]
04:06
nathanstitt has quit [Quit: I growing sleepy]
04:13
fragamus has joined #ruby-lang
04:16
fragamus has quit [Remote host closed the connection]
04:18
fragamus has joined #ruby-lang
04:18
yfeldblum has joined #ruby-lang
04:18
yfeldblum has quit [Remote host closed the connection]
04:19
yfeldblum has joined #ruby-lang
04:22
fragamus has quit [Ping timeout: 276 seconds]
04:44
historypeats has joined #ruby-lang
04:44
<
historypeats >
Heyy
04:44
<
historypeats >
I had a question hopefully someone can help me answer
04:44
<
historypeats >
How come in rails, I don't need to require certain modules? For example, SecureRandom and Base64
04:46
<
centrx >
historypeats, Rails uses them or requires them for you
04:46
<
historypeats >
centrx: Ah, thanks. I was very confused as to why I didn't need to require it
04:46
<
historypeats >
Does it cause a problem if I require it again?
04:46
<
centrx >
historypeats, nope
04:46
<
historypeats >
centrx: Perfect! Thanks!
04:47
stardiviner has quit [Ping timeout: 252 seconds]
04:53
araujo has quit [Quit: Leaving]
04:53
mistym has quit [Remote host closed the connection]
05:04
phansch has joined #ruby-lang
05:07
rickyrickyrice has joined #ruby-lang
05:07
rickyrickyrice has joined #ruby-lang
05:10
Xzyx987X_ has quit [Read error: Connection reset by peer]
05:11
Xzyx987X_ has joined #ruby-lang
05:13
sferik has joined #ruby-lang
05:20
historypeats has quit [Quit: Leaving.]
05:26
kitak_ has quit [Remote host closed the connection]
05:44
toastynerd has quit [Remote host closed the connection]
05:47
marcdel has joined #ruby-lang
05:51
omosoj has quit [Quit: Leaving]
05:52
marcdel has quit [Ping timeout: 276 seconds]
05:53
marcdel has joined #ruby-lang
05:56
phansch_ has joined #ruby-lang
05:59
phansch has quit [Ping timeout: 240 seconds]
06:00
phansch^ has joined #ruby-lang
06:00
Miphix has quit [Ping timeout: 245 seconds]
06:01
alexju has joined #ruby-lang
06:01
datanoise has quit [Ping timeout: 255 seconds]
06:02
phansch has joined #ruby-lang
06:02
miwood has joined #ruby-lang
06:03
phansch_ has quit [Ping timeout: 240 seconds]
06:03
Miphix has joined #ruby-lang
06:04
fragamus has joined #ruby-lang
06:04
marcdel has quit []
06:05
rickyrickyrice has quit []
06:05
phansch^ has quit [Ping timeout: 265 seconds]
06:07
tbuehlmann has joined #ruby-lang
06:08
wallerdev has joined #ruby-lang
06:09
Asher has joined #ruby-lang
06:09
saarinen has joined #ruby-lang
06:09
wallerdev has quit [Client Quit]
06:17
saarinen has quit [Quit: saarinen]
06:19
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:21
saarinen has joined #ruby-lang
06:24
toastynerd has joined #ruby-lang
06:27
retro|simi has joined #ruby-lang
06:28
centrx has quit [Quit: All this computer hacking is making me thirsty]
06:28
datanoise has joined #ruby-lang
06:34
saarinen has quit [Quit: saarinen]
06:38
solars has joined #ruby-lang
06:42
_ht has joined #ruby-lang
06:45
datanoise has quit [Ping timeout: 240 seconds]
06:46
stardiviner has joined #ruby-lang
06:47
LlamaLad has joined #ruby-lang
06:48
jeer has joined #ruby-lang
06:51
symm- has joined #ruby-lang
06:53
[spoiler] has joined #ruby-lang
06:54
mykoweb has joined #ruby-lang
07:00
miwood has quit [Remote host closed the connection]
07:00
toastynerd has quit [Remote host closed the connection]
07:00
miwood has joined #ruby-lang
07:07
amclain has quit [Quit: Leaving]
07:10
dik_dak has quit [Quit: Leaving]
07:11
LlamaLad has quit [Quit: Ex-Chat]
07:11
relix has joined #ruby-lang
07:12
miwood has quit [Remote host closed the connection]
07:13
mistym has joined #ruby-lang
07:23
mykoweb has quit [Remote host closed the connection]
07:24
lolmaus has quit [Remote host closed the connection]
07:24
mykoweb has joined #ruby-lang
07:24
jaimef has quit [Ping timeout: 258 seconds]
07:26
marcdel has joined #ruby-lang
07:26
lolmaus has joined #ruby-lang
07:28
mykoweb has quit [Ping timeout: 240 seconds]
07:29
fragamus has quit [Quit: Computer has gone to sleep.]
07:30
GBrawl has joined #ruby-lang
07:30
kitak has quit [Remote host closed the connection]
07:31
jaimef has joined #ruby-lang
07:33
solars has quit [Ping timeout: 240 seconds]
07:33
symm- has quit [Quit: Leaving...]
07:36
datanoise has joined #ruby-lang
07:38
memorozovm has joined #ruby-lang
07:41
datanoise has quit [Ping timeout: 252 seconds]
07:41
supergeek has joined #ruby-lang
07:44
matp has quit [Ping timeout: 255 seconds]
07:46
cstrahan has quit [Ping timeout: 252 seconds]
07:47
matp has joined #ruby-lang
07:52
jimbauds has joined #ruby-lang
07:54
supergeek has quit [Quit: Goodbye, cruel world.]
08:01
GBrawl_ has joined #ruby-lang
08:03
GBrawl has quit [Ping timeout: 265 seconds]
08:05
sarkyniin has joined #ruby-lang
08:05
memorozovm has quit [Remote host closed the connection]
08:14
GBrawl has joined #ruby-lang
08:15
GBrawl has quit [Client Quit]
08:16
memorozovm has joined #ruby-lang
08:18
mr-foobar has joined #ruby-lang
08:20
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
08:24
marr has joined #ruby-lang
08:26
GBrawl has joined #ruby-lang
08:26
GBrawl has quit [Client Quit]
08:26
arBmind has joined #ruby-lang
08:29
cnivolle has joined #ruby-lang
08:31
marcdel has quit []
08:32
arBmind1 has joined #ruby-lang
08:33
havenwood has quit []
08:34
arBmind has quit [Ping timeout: 276 seconds]
08:36
arBmind1 has quit [Ping timeout: 252 seconds]
08:38
datanoise has joined #ruby-lang
08:41
arBmind has joined #ruby-lang
08:42
datanoise has quit [Ping timeout: 240 seconds]
08:44
arBmind1 has joined #ruby-lang
08:45
cnivolle has quit [Remote host closed the connection]
08:46
cnivolle has joined #ruby-lang
08:47
arBmind has quit [Ping timeout: 255 seconds]
08:48
jhass|off is now known as jhass
08:48
arBmind has joined #ruby-lang
08:48
arBmind1 has quit [Ping timeout: 240 seconds]
08:51
cnivolle has quit [Ping timeout: 265 seconds]
08:52
memorozovm has quit [Remote host closed the connection]
08:53
arBmind1 has joined #ruby-lang
08:53
arBmind has quit [Ping timeout: 265 seconds]
08:56
arBmind has joined #ruby-lang
08:59
arBmind1 has quit [Ping timeout: 240 seconds]
08:59
arBmind1 has joined #ruby-lang
09:00
arBmind has quit [Ping timeout: 240 seconds]
09:03
GBrawl has joined #ruby-lang
09:05
GBrawl has quit [Client Quit]
09:08
GBrawl_ has joined #ruby-lang
09:22
memorozovm has joined #ruby-lang
09:24
diegovio1 has joined #ruby-lang
09:25
diegoviola is now known as Guest81153
09:25
diegovio1 is now known as diegoviola
09:25
Guest81153 has quit [Ping timeout: 252 seconds]
09:26
stamina has joined #ruby-lang
09:26
mistym has quit [Remote host closed the connection]
09:27
kitak has joined #ruby-lang
09:28
memorozovm has quit [Ping timeout: 240 seconds]
09:30
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:32
kitak has quit [Ping timeout: 240 seconds]
09:32
junkmechanic_ has joined #ruby-lang
09:32
sarkyniin has quit [Quit: Quitte]
09:32
<
junkmechanic_ >
hi all..new to ruby here...
09:33
<
junkmechanic_ >
been working on parsing an xml
09:33
<
junkmechanic_ >
hi jhass
09:33
<
junkmechanic_ >
want to iterate over specific elements
09:34
<
junkmechanic_ >
for example i need elements that are either <abc> or <xyz>...
09:35
<
jhass >
what do you use? nokogiri?
09:35
<
junkmechanic_ >
and these have to be in the same order as they appear..
09:35
<
junkmechanic_ >
rexml is what i have been using
09:36
<
junkmechanic_ >
hadnt thought of nokogiri...
09:37
<
zenspider >
you shouldn't use rexml. esp if the files are of any significant size
09:37
<
zenspider >
nokogiri is a much better choice
09:38
<
jhass >
junkmechanic_: make a gist with what you have so far and if possible some example input and output
09:38
<
junkmechanic_ >
hmm..just started looking into after jhass mentioned...
09:41
<
junkmechanic_ >
jhass, well the thing is i was plan to grab all the elements in an xml that are either abc or xyz and then feed the list to a generator for futher processing..
09:41
<
jhass >
and where are you stuck?
09:41
jimbauds has quit [Remote host closed the connection]
09:42
<
junkmechanic_ >
to give you a better idea, i would have used iterdescendents from lxml in python and then move on ...
09:42
<
junkmechanic_ >
but with the method elements, one can only specify a particular xpath
09:43
<
jhass >
and xpath is powerful enough for that ;)
09:43
<
jhass >
//abc | //xyz
09:43
<
junkmechanic_ >
damn...
09:44
<
junkmechanic_ >
thanks jhass
09:44
<
junkmechanic_ >
onwards to nokogiri...
09:45
shinnya has quit [Ping timeout: 240 seconds]
09:45
<
junkmechanic_ >
24 hrs into ruby and i already know who zenspider is ...cant ignore his suggestion...
09:50
charliesome has joined #ruby-lang
09:51
<
chris2 >
TIL ruby 1.8 had instance variables for each fixnum... anyone know where they are stored?
09:55
<
jhass >
junkmechanic_: also have a look at
http://pryrepl.org/ , it's a great tool for experimenting and browsing around, add pry-doc to have docs for everything at hand
09:56
torrieri has joined #ruby-lang
09:57
<
junkmechanic_ >
jhass, thanks....i did come across this...infact i have been using this along with pry-debugger to make sense of the api i have to work with
09:58
<
jhass >
you want pry-byebug on a recent ruby though ;)
09:58
<
jhass >
and when it comes to debugging pry-stack_explorer is incredibly useful
10:01
<
junkmechanic_ >
hah...pry-stack-explorer is quite a thang...
10:08
Squarepy has joined #ruby-lang
10:09
yatish27 has quit [Remote host closed the connection]
10:10
yatish27 has joined #ruby-lang
10:10
VTLob has joined #ruby-lang
10:11
kiddorails has joined #ruby-lang
10:11
yatish27 has quit [Read error: Connection reset by peer]
10:11
yatish27 has joined #ruby-lang
10:13
<
junkmechanic_ >
jhass, you mentioned recent ruby...how recent is recent :D
10:13
yatish27 has quit [Remote host closed the connection]
10:14
yatish27 has joined #ruby-lang
10:14
jamo_ has joined #ruby-lang
10:14
<
junkmechanic_ >
ah...no wonder it couldnt find generator
10:15
<
jhass >
1.9 is transitioning into the security maintenance phase already, you really should start with 2.1 if you're new to the language
10:17
<
jhass >
apeiros: btw 1.9.3-p547 @/topic
10:18
sarkyniin has joined #ruby-lang
10:18
yatish27 has quit [Remote host closed the connection]
10:19
yatish27 has joined #ruby-lang
10:23
yatish27 has quit [Ping timeout: 240 seconds]
10:24
<
junkmechanic_ >
alright from 2.0 to 2.1 now...had to fetch it from testing though...
10:28
luiz_ has quit [Ping timeout: 240 seconds]
10:31
<
junkmechanic_ >
wow...so 2.1 doesnt have getopt..
10:32
<
jhass >
but optparse
10:32
rizidoro has joined #ruby-lang
10:33
jeer has joined #ruby-lang
10:40
datanoise has joined #ruby-lang
10:41
luiz_ has joined #ruby-lang
10:43
rizidoro has quit [Ping timeout: 255 seconds]
10:43
<
junkmechanic_ >
i know this is too early for me to ask, but shouldnt they have left certain modules while moving to higher versions...like getopt seems like a quick perl-type parser.....
10:44
<
junkmechanic_ >
i agree optparse is more comprehensive...but isnt it better to just leave it as an option rahter than removing it altogether..
10:45
datanoise has quit [Ping timeout: 264 seconds]
10:47
ironhide_604 has joined #ruby-lang
10:53
<
junkmechanic_ >
found the method in optparse getopts()
10:53
yfeldblum has quit [Remote host closed the connection]
10:54
<
junkmechanic_ >
of course they are more considerate than i thought and am...
10:56
kiddorails has quit [Quit: Leaving.]
11:02
Squarepy has quit [Quit: Leaving]
11:03
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:04
charliesome has joined #ruby-lang
11:08
<
junkmechanic_ >
jhass, the problem is that even with the 'or' condition in xpath, i get the result with the tags grouped by name...
11:08
<
junkmechanic_ >
not in chronological order..
11:09
danijoo has quit [Read error: Connection reset by peer]
11:09
danijoo has joined #ruby-lang
11:10
<
jhass >
there's really no other property you can sort them by?
11:10
<
junkmechanic_ >
the inefficient solution that i can think of is to iterate over all tags and filter wgile processing...
11:10
<
jhass >
I'm not even sure if order is a property XML (or any generator/parser) really guarantees
11:10
diegoviola has quit [Quit: WeeChat 0.4.3]
11:11
<
junkmechanic_ >
woah...really..lemme check if that makes my work more difficult..
11:13
<
jhass >
stackoverflow says I'm wrong and it should be preserved
11:14
<
junkmechanic_ >
yeah...just ran it over my data...
11:14
<
junkmechanic_ >
but it is not preserved when i put an 'or' in the xpath....they get accumulated
11:15
<
jhass >
why do you need the order? because each consecutive ones are related?
11:16
<
junkmechanic_ >
yes...
11:16
<
jhass >
And I guess you have no control over the generation/schema?
11:16
<
junkmechanic_ >
depends on what precedes what
11:16
<
junkmechanic_ >
yeah...thats not possible..
11:17
<
jhass >
because a sane schema for such a thing would be making the related elements childs
11:17
<
apeiros >
siblings of a common parent
11:18
<
apeiros >
if you need order, you probably have to traverse manually
11:18
<
[spoiler] >
can siblings have an uncommon parent even?
11:18
<
[spoiler] >
in XML i mean, not in real life
11:18
<
apeiros >
[spoiler]: I was more trying to imply that only those which belong together should be siblings
11:19
<
apeiros >
but phrasing wasn't good :)
11:19
<
[spoiler] >
It's alright, I was mind blown for a second though, almost googled "xml step-parent"
11:19
* [spoiler]
is ashamed.
11:20
<
junkmechanic_ >
hmm...thats something i can suggest to the maintainers of the library that generates the xml....
11:20
<
apeiros >
<luke>what is it that you have to tell me?</luke><darth-vader>I'm your father, luke</darth-vader><!-- Star Wars XML -->
11:21
<
junkmechanic_ >
hmm...manual traversal then...thanks a lot guys...
11:22
<
apeiros >
<darth-vader><luke /><leia /></darth-vader><!-- Star Wars XML revelations… -->
11:22
<
jhass >
junkmechanic_: can you share some example data? I've the feeling there's some xpath magic that might make that work
11:23
<
apeiros >
there are sibling selectors, at least in css. pretty sure in xpath too
11:23
<
apeiros >
i.e. maybe you can get the belonging tags together
11:23
<
jhass >
yep, following-sibling for example
11:23
<
junkmechanic_ >
alright...
11:23
<
jhass >
sadly only ancestor-or-self and descendant-or-self but no following-or-self
11:24
<
apeiros >
you can register custom selectors in nokogiri
11:25
memorozovm has joined #ruby-lang
11:26
[spoiler] has quit [Quit: Leaving]
11:26
<
junkmechanic_ >
i have pasted the intial few lines...
11:27
<
jhass >
which doesn't allow me to copy paste into nokogiri...
11:27
<
junkmechanic_ >
this goes on....i need sectionHeader and bodyText tags
11:28
alexju has quit [Remote host closed the connection]
11:29
<
junkmechanic_ >
do you see what i mean jhass
11:29
<
jhass >
let me at least indent that stuff first...
11:30
<
junkmechanic_ >
a powerful text editor to the rescue...vim id suggest..
11:30
<
jhass >
sublime does it too
11:31
memorozovm has quit [Ping timeout: 276 seconds]
11:31
futilegames has joined #ruby-lang
11:32
sferik has joined #ruby-lang
11:32
cored has joined #ruby-lang
11:32
cored has joined #ruby-lang
11:35
jamo_ has quit [Quit: Lost terminal]
11:36
sheperson has joined #ruby-lang
11:37
stayarrr has joined #ruby-lang
11:39
sheperson_ has joined #ruby-lang
11:41
sheperson has quit [Client Quit]
11:41
sheperson_ is now known as sheperson
11:42
datanoise has joined #ruby-lang
11:42
<
jhass >
alright, gonna hate me
11:42
<
jhass >
doc.xpath('//variant/*[self::sectionHeader|self::bodyText]').map(&:name).each_slice(2).to_a
11:43
<
jhass >
junkmechanic_: ^
11:44
<
junkmechanic_ >
haha...wtf is that...
11:45
<
jhass >
all direct childs of variant, filtered by ([] is a predicate) element name (self is an axis, axis::tagName filters it by element)
11:46
<
sheperson >
I am new here!
11:47
datanoise has quit [Ping timeout: 264 seconds]
11:47
<
junkmechanic_ >
this gives me nothing....
11:48
yatish27 has joined #ruby-lang
11:48
<
junkmechanic_ >
jhass, do you get the desired output?
11:49
stamina has quit [Ping timeout: 264 seconds]
11:49
<
jhass >
(yes, I get that with | instead of or too)
11:52
<
junkmechanic_ >
whats map doing here...
11:54
<
jhass >
just truncating output
11:54
<
jhass >
.map {|element| element.name }
11:57
yatish27 has quit [Remote host closed the connection]
11:58
futilegames has quit [Quit: futilegames]
11:58
mujtabahussain has joined #ruby-lang
11:59
yatish27_ has joined #ruby-lang
12:04
<
junkmechanic_ >
jhass, could you explain the axis part again...the use of self
12:05
Jamo has quit [Remote host closed the connection]
12:06
cored has quit [Ping timeout: 258 seconds]
12:13
<
jhass >
junkmechanic_: xpath knows so called axis to reference elements in relation to the current element, so /foo/following_siblings for example selects all siblings that follow foo
12:14
<
jhass >
junkmechanic_: you can restrict the match certain elements: /foo/following-siblings::onlyThese
12:14
<
jhass >
self simply is such an axis referring to the current element
12:15
<
jhass >
so these work in predicates too, /foo/*[self::bar] is a complicated way to write /foo/bar
12:15
<
jhass >
but that syntax allows to make use of the or operator that is allowed in predicates
12:16
<
jhass >
also apparently xpath 2.0 would allow //variant/(sectionHead|bodyText)
12:17
mbj has joined #ruby-lang
12:18
rizidoro has joined #ruby-lang
12:20
rizidoro has quit [Client Quit]
12:20
franzip has joined #ruby-lang
12:20
GBrawl_ has quit [Quit: Computer has gone to sleep.]
12:24
mujtabahussain has quit [Quit: leaving]
12:25
danijoo has quit [Quit: Leaving...]
12:28
simono has joined #ruby-lang
12:39
mbj has quit [Ping timeout: 264 seconds]
12:41
shemerey has joined #ruby-lang
12:44
shemerey has quit [Client Quit]
12:48
GBrawl_ has joined #ruby-lang
12:55
jeer has quit [Ping timeout: 240 seconds]
12:55
yfeldblum has joined #ruby-lang
12:58
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
12:59
yfeldblum has quit [Ping timeout: 240 seconds]
12:59
historypeats has joined #ruby-lang
13:01
memorozovm has joined #ruby-lang
13:02
memorozovm has quit [Remote host closed the connection]
13:05
yatish27_ has quit [Ping timeout: 252 seconds]
13:05
jhass is now known as jhass|off
13:05
Thanatermesis has joined #ruby-lang
13:05
Thanatermesis has joined #ruby-lang
13:08
yatish27 has joined #ruby-lang
13:08
memorozovm has joined #ruby-lang
13:09
jhass|off is now known as jhass
13:14
postmodern has quit [Quit: Leaving]
13:14
datanoise has joined #ruby-lang
13:19
charliesome has quit [Ping timeout: 276 seconds]
13:20
BucOder has joined #ruby-lang
13:21
datanoise has quit [Ping timeout: 264 seconds]
13:23
charliesome has joined #ruby-lang
13:24
danijoo has joined #ruby-lang
13:28
bahar has joined #ruby-lang
13:28
bahar has quit [Remote host closed the connection]
13:36
memorozovm has quit [Read error: Connection reset by peer]
13:37
memorozovm has joined #ruby-lang
13:38
tbuehlmann has quit [Remote host closed the connection]
13:38
matp has quit [Ping timeout: 240 seconds]
13:39
kiddorails has joined #ruby-lang
13:39
<
junkmechanic_ >
thanks again jhass for the explanation...
13:40
Cakey has joined #ruby-lang
13:44
GBrawl_ has quit [Quit: Computer has gone to sleep.]
13:48
datanoise has joined #ruby-lang
13:49
yatish27 has quit [Ping timeout: 240 seconds]
13:50
GBrawl_ has joined #ruby-lang
13:51
bahar has joined #ruby-lang
13:54
bahar has quit [Client Quit]
13:55
bahar has joined #ruby-lang
13:55
bahar has quit [Client Quit]
13:55
bahar has joined #ruby-lang
13:56
BucOder has quit [Quit: Computer has gone to sleep.]
13:56
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
13:56
bahar has quit [Changing host]
13:56
bahar has joined #ruby-lang
13:57
VTLob has quit [Quit: VTLob]
13:57
historypeats has quit [Quit: Leaving.]
14:03
shashin has joined #ruby-lang
14:04
shashin has quit [Changing host]
14:04
shashin has joined #ruby-lang
14:04
datanoise has quit [Ping timeout: 240 seconds]
14:05
danijoo has quit [Quit: Leaving...]
14:09
shashin has quit [Ping timeout: 265 seconds]
14:10
BucOder has joined #ruby-lang
14:15
datanoise has joined #ruby-lang
14:17
nathanstitt has joined #ruby-lang
14:23
patcarolan has joined #ruby-lang
14:24
GBrawl__ has joined #ruby-lang
14:24
GBrawl_ has quit [Ping timeout: 265 seconds]
14:26
datanoise has quit [Ping timeout: 252 seconds]
14:31
patcarolan is now known as patc
14:32
patc is now known as patcarolan
14:34
toastynerd has joined #ruby-lang
14:37
ironhide_604 has quit [Ping timeout: 265 seconds]
14:40
patcarolan has left #ruby-lang [#ruby-lang]
14:41
datanoise has joined #ruby-lang
14:42
shemerey has joined #ruby-lang
14:43
toastynerd has quit [Remote host closed the connection]
14:46
mbj has joined #ruby-lang
14:46
havenwood has joined #ruby-lang
14:47
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:51
Cakey has quit [Ping timeout: 240 seconds]
14:51
BucOder has quit [Quit: Computer has gone to sleep.]
14:54
simono has joined #ruby-lang
14:56
rsl has joined #ruby-lang
14:57
smapdi has joined #ruby-lang
15:02
GBrawl___ has joined #ruby-lang
15:02
GBrawl__ has quit [Ping timeout: 265 seconds]
15:06
<
sheperson >
I have been doing Ruby for about a year (with Rails)
15:06
<
sheperson >
Now, I want to move to the next level
15:06
<
sheperson >
what resources do you recommend?
15:07
relix has joined #ruby-lang
15:10
<
havenwood >
sheperson: Read a lot of code. Take a look at some gems and learn to cut your own. If you haven't read it, The Ruby Programming Language is a good book.
15:10
<
sheperson >
The one by Dave?
15:11
<
havenwood >
sheperson: yup, "the Sparrow"
15:12
apeiros has quit [Remote host closed the connection]
15:12
<
havenwood >
sheperson: Any particular areas you're interested in?
15:12
apeiros has joined #ruby-lang
15:13
<
sheperson >
havenwood: As I said, I have been doing RoR for a year now. Now I want to move to the next level both in Ruby itself and also in Rails.
15:14
<
sheperson >
havenwood: I am trying to boost y knowledge in order to be able to find a job, specifically in Europe.
15:14
historypeats has joined #ruby-lang
15:15
<
havenwood >
sheperson: One thing that might be interesting is looking at other Rack frameworks in addition to Rails, just for some diversity of ideas. Maybe take a look at Sinatra, NYNY, Hobbit, Cuba, Ramaze, Camping, Scorched, Lotus and friends on the Githubs.
15:15
<
chris2 >
what's the recommended markdown formatter nowadays?
15:15
<
manveru >
i think bluecloth
15:15
<
chris2 >
manveru: welcome to 2004
15:16
<
manveru >
havenwood just summoned us with all the keywords
15:16
<
havenwood >
manveru: hahah! :)
15:16
apeiros has quit [Ping timeout: 240 seconds]
15:17
<
sheperson >
havenwood: Nice idea
15:17
<
manveru >
redcarpet?
15:17
<
manveru >
looks like that's what we use in production
15:18
mehlah has joined #ruby-lang
15:18
GBrawl___ has quit [Quit: Computer has gone to sleep.]
15:19
mbj_ has joined #ruby-lang
15:20
* chris2
realizes he wants to hack in some extensions
15:20
datanoise has quit [Ping timeout: 276 seconds]
15:20
<
chris2 >
red carpet seems best supported
15:21
stayarrr has quit [Quit: Leaving...]
15:22
mbj has quit [Ping timeout: 240 seconds]
15:27
yfeldblum has joined #ruby-lang
15:28
alexju has joined #ruby-lang
15:31
memorozovm has quit []
15:32
yfeldblum has quit [Ping timeout: 265 seconds]
15:35
Xzyx987X has joined #ruby-lang
15:35
historypeats has quit [Quit: Leaving.]
15:36
mbj_ has quit [Ping timeout: 264 seconds]
15:37
Xzyx987X_ has quit [Ping timeout: 258 seconds]
15:44
shinnya has joined #ruby-lang
15:46
datanoise has joined #ruby-lang
15:47
bahar has quit [Ping timeout: 240 seconds]
15:48
bahar has joined #ruby-lang
15:49
GBrawl___ has joined #ruby-lang
15:49
marcdel has joined #ruby-lang
15:50
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:51
Miphix has quit [Quit: Leaving]
15:51
Miphix has joined #ruby-lang
15:51
anibara has quit [Quit: anibara]
15:52
marcdel_ has joined #ruby-lang
15:54
GBrawl___ has quit [Ping timeout: 265 seconds]
15:54
marcdel has quit [Ping timeout: 252 seconds]
15:55
robbyoconnor has quit [Ping timeout: 252 seconds]
15:56
chouhoulis has joined #ruby-lang
15:56
stardiviner has quit [Ping timeout: 255 seconds]
15:57
Thanatermesis has left #ruby-lang ["ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ"]
15:57
chouhoulis has quit [Remote host closed the connection]
15:57
datanoise has quit [Ping timeout: 240 seconds]
15:57
chouhoulis has joined #ruby-lang
15:57
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:58
knightwrestle has joined #ruby-lang
15:59
canton7 has quit [Remote host closed the connection]
16:00
ascarter has joined #ruby-lang
16:01
shinnya has quit [Ping timeout: 264 seconds]
16:07
canton7 has joined #ruby-lang
16:10
<
chris2 >
i think i prefer kramdown
16:10
stardiviner has joined #ruby-lang
16:11
x0f has joined #ruby-lang
16:14
arooni-mobile has joined #ruby-lang
16:14
arooni-mobile__ has joined #ruby-lang
16:15
x0f_ has quit [Ping timeout: 258 seconds]
16:17
jimbauds has joined #ruby-lang
16:20
rippa has joined #ruby-lang
16:24
BucOder has joined #ruby-lang
16:26
datanoise has joined #ruby-lang
16:33
eam has quit [Ping timeout: 252 seconds]
16:34
VTLob has joined #ruby-lang
16:34
eam has joined #ruby-lang
16:34
ayonkhan has joined #ruby-lang
16:35
ayonkhan has quit [Remote host closed the connection]
16:36
ayonkhan has joined #ruby-lang
16:42
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:43
BucOder has quit [Quit: Computer has gone to sleep.]
16:43
GBrawl___ has joined #ruby-lang
16:46
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:47
<
whitequark >
kramdown is probably the best
16:47
stayarrr has joined #ruby-lang
16:48
GBrawl___ has quit [Ping timeout: 265 seconds]
16:51
<
jtoy >
havenwood: i see, thanks, missing the ()s
16:57
fenicks has joined #ruby-lang
17:05
derek has quit [Remote host closed the connection]
17:06
derek has joined #ruby-lang
17:08
atmosx has joined #ruby-lang
17:09
Burgestrand has quit [Quit: Burgestrand]
17:10
stardiviner has quit [Read error: Connection reset by peer]
17:10
derek has quit [Ping timeout: 240 seconds]
17:12
stayarrr has quit [Quit: Leaving...]
17:12
alexju has quit [Remote host closed the connection]
17:13
centrx has joined #ruby-lang
17:14
smapdi has quit [Remote host closed the connection]
17:16
ascarter has joined #ruby-lang
17:26
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:26
Jamo has joined #ruby-lang
17:27
imperator has joined #ruby-lang
17:28
xcesariox has joined #ruby-lang
17:28
xcesariox has quit [Max SendQ exceeded]
17:28
ptahdunbar has joined #ruby-lang
17:28
xcesariox has joined #ruby-lang
17:29
stardiviner has joined #ruby-lang
17:29
jamo_ has joined #ruby-lang
17:30
atmosx has left #ruby-lang ["Lost in trance"]
17:32
mehlah has quit [Quit: Leaving...]
17:33
amclain has joined #ruby-lang
17:38
GBrawl___ has joined #ruby-lang
17:39
arooni-mobile__ has quit [Ping timeout: 276 seconds]
17:39
arooni-mobile has quit [Ping timeout: 276 seconds]
17:41
marcdel_ has quit []
17:42
GBrawl___ has quit [Ping timeout: 265 seconds]
17:45
phansch has quit [Quit: WeeChat 0.4.3]
17:45
phansch has joined #ruby-lang
17:51
ptahdunbar has quit [Remote host closed the connection]
17:51
sheperson has quit [Quit: sheperson]
17:54
tbuehlmann has joined #ruby-lang
17:56
phansch has quit [Quit: WeeChat 0.4.3]
17:56
phansch has joined #ruby-lang
17:58
marr has quit [Ping timeout: 258 seconds]
18:01
toastynerd has joined #ruby-lang
18:02
bahar has quit [Ping timeout: 240 seconds]
18:02
bahar has joined #ruby-lang
18:04
maoko has joined #ruby-lang
18:04
araujo has joined #ruby-lang
18:08
t4nk994 has joined #ruby-lang
18:08
<
t4nk994 >
Hey, guys. Can anyone help a bit with MRuby?
18:11
<
imperator >
we can try
18:11
<
havenwood >
t4nk994: Having trouble?
18:11
<
t4nk994 >
Yes, I have a bit of trouble with mrb_get_args.
18:12
<
t4nk994 >
The problem is that I'm trying to get them to work with varible number of arguments.
18:14
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:14
futilegames has joined #ruby-lang
18:17
phansch has quit [Quit: WeeChat 0.4.3]
18:17
mbj has joined #ruby-lang
18:17
phansch has joined #ruby-lang
18:23
deepwater has joined #ruby-lang
18:24
marcdel has joined #ruby-lang
18:25
marcdel_ has joined #ruby-lang
18:27
phansch has quit [Ping timeout: 265 seconds]
18:28
marcdel has quit [Ping timeout: 255 seconds]
18:29
mbj has quit [Ping timeout: 265 seconds]
18:29
yfeldblum has joined #ruby-lang
18:33
stamina has joined #ruby-lang
18:34
yfeldblum has quit [Ping timeout: 264 seconds]
18:36
bahar has quit [Ping timeout: 265 seconds]
18:38
bahar has joined #ruby-lang
18:39
symm- has joined #ruby-lang
18:42
<
t4nk994 >
Any ieads?
18:49
yfeldblum has joined #ruby-lang
18:50
chouhoul_ has joined #ruby-lang
18:50
chouhoulis has quit [Ping timeout: 252 seconds]
18:55
<
imperator >
i'm not familiar with mrb_get_args, and I'm having trouble finding the actual docs for it
18:55
cstrahan has joined #ruby-lang
18:56
<
imperator >
if it works like rb_scan_args, use '*'
18:57
mistym has joined #ruby-lang
18:58
Barrin6 has joined #ruby-lang
18:59
relix has joined #ruby-lang
19:02
<
t4nk994 >
Dude. You're a genius!!!
19:02
<
t4nk994 >
Thanks a lot.
19:03
<
imperator >
did it work? that's a guess based on standard MRI extensions
19:07
seako has joined #ruby-lang
19:10
kiddorails has quit [Quit: Leaving.]
19:10
marr has joined #ruby-lang
19:11
Barrin6 has quit [Quit: Leaving]
19:13
<
t4nk994 >
It doesn't want to work, yet.
19:14
ascarter has joined #ruby-lang
19:16
futilegames has quit [Quit: futilegames]
19:19
BucOder has joined #ruby-lang
19:19
<
t4nk994 >
I solved the problem.
19:19
<
t4nk994 >
We're good.
19:19
<
t4nk994 >
You were of SUCH great help.
19:19
<
t4nk994 >
Thanks a lot, imperator.
19:19
workmad3 has joined #ruby-lang
19:26
simono has joined #ruby-lang
19:31
nofxx has joined #ruby-lang
19:34
_ht has quit [Remote host closed the connection]
19:35
mbj has joined #ruby-lang
19:35
solars has joined #ruby-lang
19:35
<
imperator >
you're welcome, glad you got it working
19:36
<
imperator >
what was the solution ultimately?
19:41
mykoweb has joined #ruby-lang
19:48
symm- has quit [Ping timeout: 264 seconds]
19:50
Mon_Ouie has quit [Ping timeout: 252 seconds]
19:50
symm- has joined #ruby-lang
19:52
memorozovm has joined #ruby-lang
19:52
BucOder has joined #ruby-lang
19:52
dorei has joined #ruby-lang
19:53
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:53
datanoise has quit [Ping timeout: 240 seconds]
19:54
phansch has joined #ruby-lang
19:56
futilegames has joined #ruby-lang
20:02
yfeldblum has quit [Read error: Connection reset by peer]
20:02
yfeldblum has joined #ruby-lang
20:02
Pat__ has joined #ruby-lang
20:04
memorozovm has quit []
20:06
mbj has quit [Quit: leaving]
20:06
bahar has quit [Ping timeout: 258 seconds]
20:07
bahar has joined #ruby-lang
20:09
workmad3 has quit [Ping timeout: 252 seconds]
20:09
amerine_ has joined #ruby-lang
20:10
amerine has quit [Ping timeout: 240 seconds]
20:15
BucOder has quit [Quit: Computer has gone to sleep.]
20:16
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:18
BucOder has joined #ruby-lang
20:19
BucOder has quit [Client Quit]
20:20
tbuehlmann has quit [Remote host closed the connection]
20:20
datanoise has joined #ruby-lang
20:20
BucOder has joined #ruby-lang
20:21
franzip has quit [Quit: ...]
20:23
mykoweb has quit [Remote host closed the connection]
20:23
nofxx has quit [Remote host closed the connection]
20:23
mykoweb has joined #ruby-lang
20:26
<
t4nk994 >
I was giving it a function pointer instead of the address of that pointer. But now it works wonders.
20:28
Silex has quit [Quit: WeeChat 0.4.3]
20:28
mykoweb has quit [Ping timeout: 258 seconds]
20:32
simoz115 has joined #ruby-lang
20:34
stamina has quit [Remote host closed the connection]
20:35
cstrahan has quit [Ping timeout: 255 seconds]
20:36
BucOder has quit [Quit: Computer has gone to sleep.]
20:37
mistym has quit [Remote host closed the connection]
20:40
mykoweb has joined #ruby-lang
20:42
futilegames has quit [Quit: futilegames]
20:43
BucOder has joined #ruby-lang
20:45
VTLob has quit [Quit: VTLob]
20:52
phansch has quit [Quit: WeeChat 0.4.3]
20:52
bahar has quit [Ping timeout: 240 seconds]
20:53
phansch has joined #ruby-lang
20:54
bahar has joined #ruby-lang
20:58
cstrahan has joined #ruby-lang
20:58
stayarrr has joined #ruby-lang
20:59
ur5us has joined #ruby-lang
20:59
ironhide_604 has joined #ruby-lang
21:01
Burgestrand has joined #ruby-lang
21:03
mykoweb has quit [Remote host closed the connection]
21:03
mykoweb has joined #ruby-lang
21:04
devgiant has joined #ruby-lang
21:07
ironhide_604 has quit [Ping timeout: 240 seconds]
21:07
mykoweb has quit [Ping timeout: 240 seconds]
21:08
bahar has quit [Ping timeout: 240 seconds]
21:10
bahar has joined #ruby-lang
21:10
t4nk994 has quit [Ping timeout: 240 seconds]
21:14
retro|simi has quit [Ping timeout: 265 seconds]
21:24
Burgestrand has quit [Quit: Burgestrand]
21:26
lsegal has joined #ruby-lang
21:28
mykoweb has joined #ruby-lang
21:35
Pat__ has quit [Remote host closed the connection]
21:39
<
zenspider >
chris2: look at generic_ivar_set and st_init_numtable in variable.c
21:40
<
zenspider >
and st.c
21:41
phansch has quit [Ping timeout: 240 seconds]
21:42
<
chris2 >
ah yes. thanks
21:42
<
zenspider >
(via object.c's rb_obj_ivar_set -> rb_ivar_set)
21:46
shinnya has joined #ruby-lang
21:47
nathanstitt has quit [Quit: I growing sleepy]
21:48
BucOder has quit [Quit: Computer has gone to sleep.]
21:49
postmodern has joined #ruby-lang
21:49
workmad3 has joined #ruby-lang
21:50
simoz115 has quit [Ping timeout: 258 seconds]
21:51
simoz115 has joined #ruby-lang
21:52
simoz116 has joined #ruby-lang
21:53
marcdel_ has quit [Ping timeout: 240 seconds]
21:55
elia has joined #ruby-lang
21:55
jhass is now known as jhass|off
21:55
GBrawl___ has joined #ruby-lang
21:56
simoz115 has quit [Ping timeout: 276 seconds]
21:56
marcdel has joined #ruby-lang
21:58
marcdel_ has joined #ruby-lang
22:01
marcdel has quit [Ping timeout: 258 seconds]
22:05
dmitrykorotkov has joined #ruby-lang
22:05
imperator has quit [Quit: Leaving]
22:06
mykoweb has quit [Read error: Connection reset by peer]
22:07
mykoweb has joined #ruby-lang
22:09
historypeats has joined #ruby-lang
22:09
historypeats has quit [Changing host]
22:09
historypeats has joined #ruby-lang
22:10
sarkyniin has quit [Quit: Quitte]
22:11
mykoweb has quit [Ping timeout: 252 seconds]
22:13
nofxx has joined #ruby-lang
22:16
workmad3 has quit [Ping timeout: 265 seconds]
22:19
mykoweb has joined #ruby-lang
22:19
WishBoy- has joined #ruby-lang
22:21
WishBoy has quit [Ping timeout: 240 seconds]
22:22
havenwood has quit [Remote host closed the connection]
22:23
mykoweb has quit [Ping timeout: 240 seconds]
22:24
apeiros has joined #ruby-lang
22:27
derek has joined #ruby-lang
22:30
WishBoy- has quit [Remote host closed the connection]
22:30
WishBoy has joined #ruby-lang
22:32
derek has quit [Remote host closed the connection]
22:32
derek has joined #ruby-lang
22:37
derek has quit [Ping timeout: 258 seconds]
22:38
fowl has joined #ruby-lang
22:38
<
fowl >
hi does know how to search a list in o(-n) time?
22:39
<
apeiros >
1. build a time machine, 2. ???, 3. profit
22:39
<
fowl >
need an algorithm that gets faster the more data you have
22:39
<
apeiros >
you mean grows slower than linearly?
22:39
GBrawl___ has quit [Quit: Computer has gone to sleep.]
22:39
<
apeiros >
bsearch can do that
22:39
<
apeiros >
bsearch is O(log(n))
22:39
<
apeiros >
requires your list to be sorted
22:40
<
apeiros >
all sub O(n) algorithms require your data-to-search to be prepared in some way
22:40
ur5us has quit [Remote host closed the connection]
22:40
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:46
danguita has quit [Quit: WeeChat 0.3.8]
22:51
<
apeiros >
fowl: did that help you?
22:51
wallerdev has joined #ruby-lang
22:52
MindfulMonk has quit [Ping timeout: 276 seconds]
22:53
<
fowl >
im just gonna give up and go be homeless
22:54
<
fowl >
im bad at programming and i feel bad about it
22:56
<
apeiros >
are you fowlduck on twitter?
22:56
saarinen has joined #ruby-lang
22:57
saarinen has quit [Client Quit]
22:57
MindfulMonk has joined #ruby-lang
22:58
<
fowl >
i would hopefully not be so obviously redundant
22:58
apeiros has quit [Read error: Connection reset by peer]
22:59
apeiros has joined #ruby-lang
23:00
<
apeiros >
hrm, rare that my machine crashes :(
23:02
<
apeiros >
hm, k, can't help with "I'm bad at programming"
23:06
<
apeiros >
the part about openssl
23:06
<
wallerdev >
havent seen slashdot in forever
23:06
<
apeiros >
the part about libressl is nice and encouraging :)
23:09
simoz116 has quit [Ping timeout: 255 seconds]
23:09
solars has quit [Ping timeout: 240 seconds]
23:10
saarinen has joined #ruby-lang
23:11
cstrahan has quit [Ping timeout: 240 seconds]
23:12
dmitrykorotkov has quit [Quit: Ex-Chat]
23:12
dmitrykorotkov has joined #ruby-lang
23:13
rh1n0 has joined #ruby-lang
23:13
dmitrykorotkov has quit [Read error: Connection reset by peer]
23:14
devgiant has quit [Quit: Leaving]
23:14
dmitrykorotkov has joined #ruby-lang
23:14
saarinen has quit [Client Quit]
23:19
elia has quit [Quit: Computer has gone to sleep.]
23:20
WishBoy has quit [Ping timeout: 276 seconds]
23:21
centrx has quit [Quit: All this computer hacking is making me thirsty]
23:21
WishBoy has joined #ruby-lang
23:22
mykoweb has joined #ruby-lang
23:23
centrx has joined #ruby-lang
23:23
dik_dak has joined #ruby-lang
23:25
rh1n0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:28
simoz116 has joined #ruby-lang
23:29
mykoweb has quit [Remote host closed the connection]
23:29
froginapot has joined #ruby-lang
23:29
simoz117 has joined #ruby-lang
23:31
ironhide_604 has joined #ruby-lang
23:31
WishBoy has quit [Remote host closed the connection]
23:31
WishBoy has joined #ruby-lang
23:33
simoz116 has quit [Ping timeout: 264 seconds]
23:39
jeer has joined #ruby-lang
23:41
kitak has joined #ruby-lang
23:45
simoz118 has joined #ruby-lang
23:47
simoz119 has joined #ruby-lang
23:47
DevDoo has joined #ruby-lang
23:47
simoz117 has quit [Ping timeout: 240 seconds]
23:48
simoz1110 has joined #ruby-lang
23:50
simoz118 has quit [Ping timeout: 252 seconds]
23:51
simoz119 has quit [Ping timeout: 252 seconds]
23:54
charliesome has joined #ruby-lang