apeiros_ changed the topic of #ruby to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
casheew has quit [Read error: Connection reset by peer]
<lectrick> Anyone know why my version of 1.9.3 doesn't include most of the GC methods listed here http://ruby-doc.org/core-1.9.3/GC.html, such as GC.malloc_allocated_size? Are those from a custom patch or build?
<Paradox> nope
sambao21 has quit [Client Quit]
<Paradox> i'd say you're running a custom build
tjbiddle has quit [Quit: tjbiddle]
<lectrick> ruby --version #=> ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin11.4.2]
<lectrick> built via RVM
pepper_chico has quit [Quit: Computer has gone to sleep.]
<Paradox> Spooner, i teach a lot of my friends ruby
<Paradox> and rails
brianpWins has quit [Quit: brianpWins]
LouisRoR has quit []
<Paradox> and they're always amazed when they see my views
<Paradox> esp when they learn ERB first
quazimodo has quit [Read error: No route to host]
sambao21 has joined #ruby
casheew has joined #ruby
IceDragon has joined #ruby
<lectrick> Paradox: let's see a gist of one of these views, mr. not-so-humblebrag :)_
<Paradox> lectrick, kk
LouisRoR has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<lectrick> Is there anything good or bad or otherwise about using "alias newmethod oldmethod" vs. "alias_method :newmethod, :oldmethod"
<tay1> im reading what map does but im still a bit confused
dawkirst has quit [Ping timeout: 246 seconds]
<banisterfiend> lectrick: no, many people prefer it
<tay1> whas the diff between map and each?
<lectrick> tay1: it just maps a series of values to other values, passing in each value, in turn, to the block so the block can figure out what to change those things to
|christian| has joined #ruby
<banisterfiend> lectrick: but the advantage in alias_method is you can use string interpolation
<tay1> oh so its to change teh value of an array?
<apeiros_> tay1: the return value
<lectrick> banisterfiend: a good point!
<banisterfiend> so you can generate new names at runtime
|christian| has left #ruby [#ruby]
<lectrick> tay1: so for example [1,2,3].map{ |number| number * 2} will return [2,4,6]
<tay1> but you can do [1,2,3].each do |n| n*2
<tay1> it would do the same thing right?
<lectrick> tay1: also, ignore those people who use "collect" instead of "map". They're dirty Smalltalkers.
casheew has joined #ruby
<apeiros_> tay1: no it wouldn't
HecAtic has joined #ruby
<apeiros_> it would return [1,2,3], not [2,4,6]
subbyyy has joined #ruby
<lectrick> tay1: each doesn't return the values to a new object
<apeiros_> each usually returns the object it is called on
vickaita has joined #ruby
<tay1> okay its sort of like changing the values in an array without changing it
<apeiros_> map returns an array with the mapped values (hence the name, 'map', because it maps values)
etcetera has quit []
<apeiros_> it does not modify the array. you can map anything that include Enumerable
<apeiros_> >> (1..4).map { |i| i*10 }
<eval-in> apeiros_ => [10, 20, 30, 40] (http://eval.in/12859)
<lectrick> well, if you bang it, it does, no?
<apeiros_> lectrick: yes
Dreamer3 has joined #ruby
Dreamer3 has quit [Read error: Connection reset by peer]
<lectrick> Save a byte... bang a method. Eliminating side effects is for the weak of heart
<MrZYX> hm does map! modify the array in place or just replaces self with the newly build one?
dallasm has joined #ruby
hbpoison has joined #ruby
<tay1> when would i use maps? like any practical examples so i think that might give me a better insight i think i got it now
<apeiros_> MrZYX: it works value by value
<Paradox> tay1, condensing the values from a hash into an array
<apeiros_> i.e., if you abort mid-way you'll end up with a half-mapped array
<MrZYX> okay, thanks
<lectrick> tay1: well for example if I have an array of objects, each of which responds to "id", I can get an array of their id's this way: objects.map{|o| o.id }
nari has quit [Read error: Operation timed out]
S1kx has joined #ruby
S1kx has quit [Changing host]
S1kx has joined #ruby
<tay1> oh ok
<tay1> so i can set oid = objects.map{ |o| o.id}
<danslo> >> p "test"
<eval-in> danslo => "test" ... (http://eval.in/12862)
<apeiros_> or you want to drop the newline from an array of lines: lines.map(&:chomp)
<Paradox> yup
<Paradox> maps are very useful when dealing with json apis
<tay1> that would contain only the ids of that object right?
<lectrick> tay1: yeah
<tay1> gotcha
<tay1> makes more sense now
<tay1> Paradox: yeah thats where i saw it. i was trying to experiment with some apis
<Paradox> if you use reddit
<Paradox> use my gem
<tay1> what is it?
<lectrick> you have a reddit gem?
<tay1> i also have a question. can gems be used for other frameworks or are they framework specific or just general ruby
<Paradox> depends on the gem
<tay1> cause im also learning rails so if i find a gem can i use it for rails or do they have to be modified to work with rails
<Paradox> most of rails is modular
maxmanders has quit [Quit: Computer has gone to sleep.]
<Paradox> and you can use it outside rails
<lectrick> Paradox: nice. is there a reddit.frontpage? :)
<Paradox> lectrick, i think get_listing without params gets a front page
<lectrick> ah, correct. cool
dawkirst has joined #ruby
<MrZYX> [1, 2, 3].map { |v| break if v==2; v*4 } #=> nil, interesting. I'd expect [4] or [4, 2, 3]
<tay1> is there anyway to search reddit for certain topics
<tay1> through your gem i mean
<tay1> i love data and would love to do some infographs on reddit
<Paradox> i do all the time
<apeiros_> MrZYX: um, no, break does not give back control to the yielding method
<Paradox> if you check the examples dir
<Paradox> in the git repo
<apeiros_> so that's not possible
<Paradox> there's a modlog report generator
<MrZYX> oh ok
<apeiros_> and break will return the value you pass it (nil is the default)
<tay1> Paradox how long have you been doing rails/ruby for
<apeiros_> >> [1, 2, 3].map { |v| break "weee!" if v==2; v*4 }
<eval-in> apeiros_ => "weee!" (http://eval.in/12863)
<Paradox> over a year now
<tay1> oh wow and you already made your own gem? nice
<Paradox> my gem mostly offers a 1:1 to the api
<Paradox> but
<Paradox> offers a few things the api is shit at
oxez has quit [Remote host closed the connection]
<Paradox> like parsing reddit logs
<Paradox> that said
<Paradox> since it does html parsing for a bit
danneu1 has joined #ruby
<Paradox> its a bit funky
<tay1> hmm i get an error i tried books = { "Great Gatsby": "Fitzgerald", "The Illiad": "Homer" }
nfisher has joined #ruby
<tay1> is that right or wrong?
<Paradox> >> books = { "Great Gatsby": "Fitzgerald", "The Illiad": "Homer" }
<eval-in> Paradox => /tmp/execpad-fefa48fd0a6d/source-fefa48fd0a6d:2: syntax error, unexpected ':', expecting => ... (http://eval.in/12864)
<MrZYX> you need to use =>, : is for symbols as keys only
<Paradox> use hashroockets
pkrnj has joined #ruby
nomenkun has joined #ruby
mercy____ has joined #ruby
<tay1> so "Great Gatsby" => "Fitzgerald" ?
<Paradox> yup
<Paradox> but its a terrible book anyway
<tay1> or :"Great Gatsby"
<otters> that's a great book
<Paradox> >> { "Great Gatsby" => "Fitzgerald"
<eval-in> Paradox => /tmp/execpad-384089fc3b93/source-384089fc3b93:3: syntax error, unexpected keyword_end, expecting '}' (http://eval.in/12865)
<Paradox> except with a }
<Paradox> >> { "Great Gatsby" => "Fitzgerald" }
<eval-in> Paradox => {"Great Gatsby"=>"Fitzgerald"} (http://eval.in/12866)
jamesfung14 has quit [Quit: Leaving]
LouisRoR has quit []
<tay1> okay so i have an array right that looks like {"blah" => "blah2", etc}
<tay1> how do i extract the blah2 out ?
<apeiros_> that's not an array
<apeiros_> it's a hash and you use hash["blah"]
<tay1> oh
<apeiros_> or hash.fetch("blah")
<tay1> is that called key value pair?
<apeiros_> fetch will raise if the key does not exist. [] will return the default value or invoke the default_proc.
etcetera has joined #ruby
<apeiros_> yes, the "blah" => "blah2" in your hash is a key/value pair
<tay1> so if i want an array of just the value
<tay1> would i use map?
<otters> .values
<tay1> oh
nomenkun has quit [Ping timeout: 252 seconds]
<tay1> so i can do authors = books.values ?
<apeiros_> you could use map, but .values as suggested by otters is the better choice
marr has quit [Ping timeout: 240 seconds]
<apeiros_> tay1: do you know irb?
<tay1> yeah im using irb
<apeiros_> good, you can check "can I do X" in irb easily ;-)
<tay1> i am doing that as well.
<apeiros_> you can still get back at us when/if something doesn't work out as expected
<lectrick> hmmm, how did I break awesome-print? I can't "ap" after "require 'ap'" anymore, it nomethoderrors
<tay1> my main thing is that i know there are multiple ways of doing something
<tay1> so i want to know the right / more efficient way
crackfu has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<lectrick> ah fuck. i installed the Associated Press gem, not awesome-print LOL
casheew has joined #ruby
<apeiros_> sure, but "efficient way to do X" is not the same as "can I do X"
<apeiros_> "can I do X" you can perfectly explore yourself
drumsrgr1 has quit [Ping timeout: 255 seconds]
chimmy has joined #ruby
crackfu has quit [Changing host]
crackfu has joined #ruby
<Paradox> lectrick, lol
<tay1> what is the best way to have an array of hash values?
<Paradox> …
<tay1> is it to add them one by one by using push?
<Paradox> use map
<lectrick> Paradox: the fact that "require 'ap'" requires either the associated-press gem, or awesome-print, seems like a dangerous namespacing issue...
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros_> [{'foo' => 'bar'}, {'baz' => 'quuz'}]
<Paradox> lectrick, it doesnt
dawkirst has quit [Ping timeout: 255 seconds]
<lectrick> what if I have both installed and want both loaded?
<Paradox> ap is just the alias in pry
<apeiros_> if you can use a literal, do it
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
<Paradox> then do require 'awesome_print'
<lectrick> ah ok
martxel has quit [Ping timeout: 264 seconds]
martxel has joined #ruby
<tay1> k i tried doing this in irb but got an error
justsee has joined #ruby
<tay1> books = {[:title => "The Great Gatsby", :author => "Fitzgerald", :rating => 8],
<tay1> [:title => "The Illiad", :author => "Homer", :rating => 10]}
<apeiros_> you're messing it up :)
<apeiros_> {} is hash
<apeiros_> [] is array
zack has joined #ruby
<lectrick> tay1: yeah you better not confuse those two lol
<zack> 1.9.3p392 :001 > BigDecimal("3")
<zack> NoMethodError: undefined method `BigDecimal' for main:Object
<zack> wtf?
<tay1> oops alright i changed it
<apeiros_> zack: bigdecimal isn't core
pskosinski has quit [Quit: Red Eclipse, game of racist admins/devs: http://pawelk.pl/racist-red-eclipse-quin-zeroknight-gingerbear/]
<tay1> so its [{...},{...}]
<tay1> thats the way correct?
<zack> apeiros_: yes it is..
<apeiros_> tay1: yes, just as I showed
<lectrick> zack: require 'bigdecimal'
<apeiros_> zack: no it isn't
<apeiros_> it's stdlib, which means you have to require it
etcetera has quit []
<zack> ah
brianpWins has joined #ruby
<tay1> okay so my main thing is, how do i get a list of authors from that hash array
ephemerian has quit [Quit: Leaving.]
pkrnj has joined #ruby
<apeiros_> tay1: try it yourself, show us the code you came up with
<apeiros_> and we'll tell you how you can improve that
<lectrick> tay1: it's not a "hash array". calling it that will just confuse you. it's either a "hash", an "array", or an "array of hashes"
<tay1> oh ok
<lectrick> or perhaps a "hash of keys to arrays"
<apeiros_> o0
axhlf has joined #ruby
<MrZYX> hash with array values? :P
<lectrick> Yes, it could be that too
zul_ has joined #ruby
<lectrick> But I didn't want to confuse him further :P
banisterfiend is now known as banister`sleep
<zul_> Hi guys I would like to create a scaffold using a little bit complex fields than string or integer. I'm useing in ruby the twitter gem, is it possible to create a scaffold like this? rails generate foo:tweet bar:test (where foo belongs to twitter gem)?
<zul_> errata corridge: bar:text
<apeiros_> zul_: I think you wanted #rubyonrails
<zul_> ok thanks apeiros
utf1000 has quit [Quit: Leaving]
chrisramon has quit [Quit: chrisramon]
<tay1> ok i keep getting errors
frosks has quit [Ping timeout: 252 seconds]
danneu2 has joined #ruby
<tay1> so i did books[0].fetch(:title) to get thet title of the first book
<zack> ok, wtf?
<zack> 1.9.3p392 :002 > require 'memcache'
<zack> => true
<zack> 1.9.3p392 :003 > $cache = MemCache.new("localhost:11211")
<zack> NameError: uninitialized constant MemCache
bradhe has joined #ruby
chipotle_ has joined #ruby
<lectrick> there is no dhh, only zul_
<zack> anyone
<zack> ?
dawkirst has joined #ruby
<zul_> dhh? what is means?
<apeiros_> zack: if the answer is in the readme, I'm gonna smack you :-p
<lectrick> zack: uh, did you "require 'memcache'" or whatever?
<tay1> apeiros_: can you check that and let me know if thats the right way? i got htat to work
<zack> lectrick: i did require memcache
<zack> that was the first line of my paste
danneu1 has quit [Ping timeout: 252 seconds]
<apeiros_> tay1: looks good, I'll show you another way
<lectrick> zack: is it spelled Memcache? I think capitalization matters with constants
<tay1> okay. is it possible using map
<apeiros_> tay1: you've been close
<apeiros_> with the map you tried I mean
<tay1> okay can you show me the proper way please? thanks
<zack> lectrick: it's spelled the way i spelled it. work just fine on my last compueter
<lectrick> zack: use dalli. https://github.com/mperham/dalli
<apeiros_> tay1: http://eval.in/12899
<apeiros_> it's either do/end or {}, you can't mix them ;-)
<tay1> oh ok. thanks. so would maps be a better way to do this if you had lots of data?
<zack> lectrick: dally works, thanks
<apeiros_> zack: there's a memcache client which has require 'memcache' and spells Memcache (instead of MemCache)
<apeiros_> zack: you sure you haven't accidentally installed that one too?
danneu2 has quit [Ping timeout: 252 seconds]
<zack> i'm going to just use dalli
<zack> i think maybe the old MemCache was only compatible with my old OS
wmoxam has joined #ruby
destructure has quit [Quit: Lost terminal]
bradhe has quit [Ping timeout: 245 seconds]
predator117 has joined #ruby
<lectrick> zack: yeah it looks like you may have installed the wrong gem somehow. just use dalli as it appears the memcache-client is no longer maintained anyway
wmoxam has joined #ruby
mduvall has joined #ruby
nomenkun has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
WhereIsMySpoon has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
butblack has joined #ruby
predator217 has quit [Ping timeout: 245 seconds]
lethjakman has joined #ruby
nfisher has quit [Ping timeout: 246 seconds]
nfk has quit [Quit: yawn]
hbpoison has quit [Ping timeout: 256 seconds]
k610 has quit [Ping timeout: 276 seconds]
nomenkun has quit [Ping timeout: 264 seconds]
drumsrgr1 has joined #ruby
Spooner has quit [Quit: Leaving]
yashshah__ has quit [Read error: Connection reset by peer]
yashshah__ has joined #ruby
|christian| has joined #ruby
platzhirsch2 has quit [Read error: Connection reset by peer]
MrZYX is now known as MrZYX|off
chipotl__ has joined #ruby
fantazo has quit [Remote host closed the connection]
chipotle_ has quit [Ping timeout: 264 seconds]
Tectonic has joined #ruby
<zack> 1.9.3-p392 :001 > require 'activesupport'
<zack> LoadError: cannot load such file -- activesupport
<zack> wtf?
<apeiros_> zack has a wtf day…
<apeiros_> require 'active_support'
<apeiros_> not wtf worthy.
<zack> apeiros_:
<zack> 1.9.3-p392 :001 > require 'active_support'
<zack> => true
<zack> 1.9.3-p392 :002 > {}.slice(['a'])
<zack> NoMethodError: undefined method `slice' for {}:Hash
<apeiros_> you want core_ext
<apeiros_> require 'active_support/core_ext'
bubblehead has quit [Remote host closed the connection]
<apeiros_> also slice doesn't work that way
<zack> thanks :)
<zack> sure it does...
<apeiros_> (unless you have array keys…)
<zack> yep :P
<apeiros_> wtf? :-p
Tectonic has quit [Client Quit]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<zack> 1.9.3-p392 :006 > {['a'] => 'b'}
BRMatt has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<zack> you're right, i was being stupid
<matti> zack: When is 2.0.1 coming out?
<zack> matti: i'm still on 1.9.3, i don't even use 2.0.0 - too much gem breakage
<matti> Right.
<matti> I was hoping you know when they want to release one ;p
<lectrick> zack: if you just want the core extensions to hash, you can require 'active_support/core_ext/hash'
casheew has joined #ruby
chimmy has quit [Ping timeout: 240 seconds]
Voting has joined #ruby
vickaita has quit [Ping timeout: 255 seconds]
casheew has quit [Read error: Connection reset by peer]
ukd1_ has joined #ruby
chimmy has joined #ruby
vickaita has joined #ruby
pepper_chico has joined #ruby
casheew has joined #ruby
hbpoison has joined #ruby
ukd1 has quit [Ping timeout: 245 seconds]
drumsrgr1 has quit [Ping timeout: 256 seconds]
brianpWins has quit [Quit: brianpWins]
ukd1 has joined #ruby
nomenkun has joined #ruby
devyn has quit [Read error: Connection reset by peer]
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
devyn has joined #ruby
casheew has quit [Read error: Connection reset by peer]
ukd1_ has quit [Ping timeout: 252 seconds]
joofsh has quit [Remote host closed the connection]
ukd1 has quit [Remote host closed the connection]
casheew has joined #ruby
charliesome has joined #ruby
nfisher has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
slainer68 has joined #ruby
nfisher has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
casheew has quit [Read error: Connection reset by peer]
Astral__ has joined #ruby
casheew has joined #ruby
mduvall has quit []
vickaita has quit [Ping timeout: 255 seconds]
Astral_ has quit [Ping timeout: 264 seconds]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<otters> Module#prepend only adds instance methods?
<ryanf> otters: same as include and extend, yes
ukd1 has joined #ruby
slainer68 has quit [Ping timeout: 245 seconds]
<otters> how do I add class methods?
nfisher has joined #ruby
malnek has quit []
<ryanf> otters: use prepend on the singleton class
robbyoconnor has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<otters> ok
casheew has joined #ruby
BRMatt has quit [Ping timeout: 248 seconds]
Guedes0 has quit [Ping timeout: 255 seconds]
Jake232 has quit [Quit: Computer has gone to sleep.]
senayar has quit [Quit: Quitte]
ukd1 has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
jlkjl has quit [Ping timeout: 245 seconds]
ukd1 has joined #ruby
casheew has joined #ruby
slapt has quit [Ping timeout: 248 seconds]
icole has joined #ruby
tjbiddle has joined #ruby
tjbiddle_ has joined #ruby
ukd1 has quit [Ping timeout: 260 seconds]
nomenkun has joined #ruby
v0yager has joined #ruby
tjbiddle has quit [Ping timeout: 264 seconds]
tjbiddle_ is now known as tjbiddle
jmaya has joined #ruby
yacks has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
chimmy has joined #ruby
xardas has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Read error: No route to host]
robbyoconnor has joined #ruby
v0yager has quit [Remote host closed the connection]
atmosx has quit [Quit: And so the story goes…]
uris has quit [Quit: Leaving]
apeiros_ has quit [Remote host closed the connection]
io_syl has quit [Ping timeout: 252 seconds]
mediko has joined #ruby
io_syl has joined #ruby
nfisher has quit [Ping timeout: 252 seconds]
jmaya has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Tectonic has joined #ruby
Tectonic has quit [Client Quit]
tenmilestereo has quit [Quit: Leaving]
bwlang has left #ruby [#ruby]
nfisher has joined #ruby
postmodern has joined #ruby
zul_ has quit [Quit: Ex-Chat]
DatumDrop has joined #ruby
L4mppu has quit [Ping timeout: 276 seconds]
Hanmac1 has joined #ruby
bwlang has joined #ruby
nomenkun has joined #ruby
freeayu__ has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
butblack has quit [Quit: butblack]
Guedes has quit [Read error: Operation timed out]
nomenkun has quit [Ping timeout: 245 seconds]
butblack has joined #ruby
Guedes has joined #ruby
DatumDrop has quit [Remote host closed the connection]
chimmy has joined #ruby
Virunga has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
ziprar has joined #ruby
sandGorgon has joined #ruby
ddd_ is now known as ddd
zipace has quit [Ping timeout: 256 seconds]
generalissimo has quit [Remote host closed the connection]
slapt has joined #ruby
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
butblack has quit [Quit: butblack]
butblack has joined #ruby
bubblehead has joined #ruby
butblack has left #ruby [#ruby]
dawkirst has quit [Ping timeout: 260 seconds]
chimmy has joined #ruby
bubblehead has quit []
nfisher has quit [Ping timeout: 256 seconds]
sandGorgon has quit [Read error: Connection reset by peer]
yashshah__ has quit [Read error: Connection reset by peer]
sandGorgon has joined #ruby
yashshah__ has joined #ruby
nomenkun has joined #ruby
daed has quit [Ping timeout: 246 seconds]
verysoftoiletppr has joined #ruby
<tay1> so there is not difference between map and collect right
jimeh has quit [Quit: Computer has gone to sleep.]
nomenkun has quit [Ping timeout: 245 seconds]
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
dawkirst has joined #ruby
<charliesome> tay1: no
dallasm has quit [Remote host closed the connection]
vickaita has joined #ruby
astrostl has joined #ruby
defaultro has quit [Remote host closed the connection]
bwlang has left #ruby [#ruby]
daed has joined #ruby
niklasb has quit [Ping timeout: 245 seconds]
subbyyy has quit [Ping timeout: 252 seconds]
chipotl__ has quit [Quit: cya]
Stilo has joined #ruby
Honeycomb has joined #ruby
slainer68 has joined #ruby
subbyyy has joined #ruby
slapt has quit [Ping timeout: 264 seconds]
Xeago has quit [Remote host closed the connection]
Opettaja has quit [Quit: WeeChat 0.4.0]
Davey has joined #ruby
havenn_ has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
dawkirst has quit [Read error: Operation timed out]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
|christian| has quit [Quit: Leaving]
marcdel has quit []
joofsh has joined #ruby
dawkirst has joined #ruby
jaygen has quit [Remote host closed the connection]
subbyyy has quit [Ping timeout: 260 seconds]
toekutr has quit [Remote host closed the connection]
neurone-2337 has joined #ruby
neurone-1337 has quit [Ping timeout: 258 seconds]
Honeycomb has quit [Quit: Leaving.]
sigje has joined #ruby
hbpoison has quit [Ping timeout: 245 seconds]
Myconix has quit [Ping timeout: 264 seconds]
jamescarr has joined #ruby
IceDragon has quit [Quit: Space~~~]
dawkirst has quit [Ping timeout: 245 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
sandGorgon has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
sandGorgon has joined #ruby
nari has joined #ruby
DrShoggoth has joined #ruby
DrShoggoth has quit [Read error: Connection reset by peer]
nfisher has joined #ruby
wuest has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
aapzak has quit [Ping timeout: 252 seconds]
Davey has joined #ruby
rismoney has quit []
aapzak has joined #ruby
astrostl has quit []
dawkirst has joined #ruby
cjibo has joined #ruby
hemanth_ has joined #ruby
AlSquirikou has quit [Read error: Connection reset by peer]
_hemanth has quit [Read error: Connection reset by peer]
AlSquirikou has joined #ruby
<cjibo> any osX 1.8.3 users install ruby 2.0.0 and rails? Having issues regarding openssl
<cjibo> via rvm?
wargasm has left #ruby [#ruby]
<swarley> Is openssl added by default now? I think it used to be something you had to configure yourself in 1.9 via the ext/.. I'm not sure that applies still though. cjibo do you have a specific issue?
<cjibo> gem install rails complains after ruby 2.0.0-p0 is installed
apeiros_ has joined #ruby
nari has quit [Ping timeout: 246 seconds]
Turkishviking has joined #ruby
charlie_ has quit [Ping timeout: 245 seconds]
dawkirst has quit [Ping timeout: 246 seconds]
verysoftoiletppr has quit []
marcdel has joined #ruby
hbpoison has joined #ruby
havenn_ has quit [Remote host closed the connection]
s00pcan has quit [Quit: Lost terminal]
s00pcan has joined #ruby
apeiros_ has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
nfisher has quit [Ping timeout: 240 seconds]
slapt has joined #ruby
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby
jetblack_ has joined #ruby
kennyvb has quit [Read error: Operation timed out]
slainer6_ has joined #ruby
kennyvb has joined #ruby
slainer68 has quit [Ping timeout: 264 seconds]
dallasm has joined #ruby
hakunin has quit [Ping timeout: 245 seconds]
jetblack has quit [Ping timeout: 264 seconds]
dawkirst has joined #ruby
mduvall has joined #ruby
emmanuelux has quit [Remote host closed the connection]
nomenkun has joined #ruby
dmoctezuma has joined #ruby
kornnflake is now known as kornnflake_zzz
<otters> is it possible to "restart" a thread?
<cjibo> I really cannot get gem to work at all after installing 2.0.0
jamescarr has quit [Quit: jamescarr]
<bnagy> otters: not afaik. You mean once it has finished its code, yeah?
<otters> no, I mean abort and restart the thread
nomenkun has quit [Ping timeout: 245 seconds]
<otters> like restarting a timer
<bnagy> oh... well you can just kill it and start a new one
<dmoctezuma> cjibo: using rvm?
<bnagy> which is probably functionally equivalent, no?
<cjibo> dmoctezuma: yes
vickaita has quit [Ping timeout: 264 seconds]
<dmoctezuma> cjibo: rvm installs the corresponding rubygems automatically
<cjibo> dmoctezuma: I think I may just have got it fixed. I had a conflict with homebrew.
<dmoctezuma> oh
slapt has quit [Quit: leaving]
<cjibo> I never had this issue with 1.9.X but I'm building out new macbook so who knows what I did hehe
mercy____ has quit [Quit: mercy____]
mercy____ has joined #ruby
ananthakumaran has joined #ruby
himsin has quit [Remote host closed the connection]
vickaita has joined #ruby
banghouse2 has quit [Remote host closed the connection]
bigmac has joined #ruby
jekotia has quit [Quit: sleep]
megha has quit [Ping timeout: 246 seconds]
hesco has joined #ruby
yashshah__ has quit [Read error: Connection reset by peer]
yashshah__ has joined #ruby
<hesco> my attempt to install rmagick with gem results in creation of this file:
<hesco> /usr/local/lib/ruby/gems/1.9.1/gems/rmagick-2.13.2/ext/RMagick/mkmf.log
<hesco> Can't install RMagick 2.13.2. Can't find Magick-config in ($PATH)
<hesco> how would I install Magick-config so I can get on with this project?
<hesco> I'v tried gen install and apt-get install but so far am coming up empty.
radic has joined #ruby
sigje has quit [Quit: Leaving.]
radic_ has quit [Ping timeout: 252 seconds]
megha has joined #ruby
Opettaja has joined #ruby
danslo has quit [Quit: danslo]
randomor has quit [Remote host closed the connection]
astrostl has joined #ruby
<hesco> found some google advice suggesting this might resolve issue: sudo apt-get install libmagick++-dev; trying that now.
<hesco> and success.
ukd1 has joined #ruby
jgrevich_ has joined #ruby
jgrevich has quit [Ping timeout: 245 seconds]
jgrevich_ is now known as jgrevich
vickaita has quit [Ping timeout: 276 seconds]
Opettaja has quit [Quit: WeeChat 0.4.0]
Opettaja has joined #ruby
astrostl has quit []
yashshah__ has quit [Ping timeout: 276 seconds]
lethjakman has quit [Ping timeout: 245 seconds]
joofsh has quit [Remote host closed the connection]
zack has quit [Quit: zack]
jrajav has quit [Quit: I tend to be neutral about apples]
mercy____ has left #ruby [#ruby]
mercy____ has joined #ruby
nfisher has joined #ruby
mduvall has quit []
squidBits has joined #ruby
LiquidInsect has joined #ruby
nomenkun has joined #ruby
generalissimo has joined #ruby
nfisher has quit [Ping timeout: 246 seconds]
sayan has joined #ruby
nomenkun has quit [Ping timeout: 252 seconds]
emergion has joined #ruby
tjbiddle_ has joined #ruby
tjbiddle_ has quit [Client Quit]
beneggett has quit [Quit: Computer has gone to sleep.]
tjbiddle has quit [Ping timeout: 245 seconds]
beneggett has joined #ruby
girija has joined #ruby
emergion has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dawkirst has quit [Ping timeout: 264 seconds]
breakingthings has joined #ruby
slapt has joined #ruby
apeiros_ has joined #ruby
robustus has quit [Ping timeout: 276 seconds]
emergion has joined #ruby
robustus has joined #ruby
<breakingthings> I hath an rspec conundrum, if any of the night owls should grace me with their presence:
<breakingthings> Is there a better way to achieve the stubbing of the TCPSocket instance without using attr_reader/accessor here?
<breakingthings> any_instance seems like a heavy handed approach when I just need to stub/mock out one instance, I just don't know how to get a hold of that instance.
cjibo has left #ruby [#ruby]
nomenkun has joined #ruby
dawkirst has joined #ruby
brianpWins has joined #ruby
apeiros_ has quit [Ping timeout: 256 seconds]
crodas has quit [Ping timeout: 272 seconds]
nomenkun has quit [Ping timeout: 245 seconds]
rickmasta has joined #ruby
dawkirst has quit [Ping timeout: 252 seconds]
statarb3 has quit [Ping timeout: 245 seconds]
danneu2 has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
megha has quit [Ping timeout: 256 seconds]
hbpoison has quit [Ping timeout: 245 seconds]
sandGorgon has quit [Ping timeout: 245 seconds]
ryanf has quit [Ping timeout: 246 seconds]
yashshah__ has joined #ruby
hbpoison has joined #ruby
ryanf has joined #ruby
crodas has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
dawkirst has joined #ruby
vickaita has joined #ruby
hbpoison has quit [Ping timeout: 264 seconds]
yashshah__ has quit [Ping timeout: 256 seconds]
hbpoison has joined #ruby
vickaita has quit [Ping timeout: 248 seconds]
etcetera has joined #ruby
ryanf has quit [Ping timeout: 264 seconds]
hbpoison has quit [Ping timeout: 240 seconds]
sayan has joined #ruby
hbpoison has joined #ruby
icole has quit [Remote host closed the connection]
etcetera has quit [Client Quit]
gommo has joined #ruby
nomenkun has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
freeayu__ has quit [Read error: Connection reset by peer]
freeayu__ has joined #ruby
ryanf has joined #ruby
nomenkun has quit [Read error: Operation timed out]
hbpoison has quit [Ping timeout: 245 seconds]
tylersmith has quit [Quit: tylersmith]
girija has quit [Remote host closed the connection]
breakingthings has quit []
hbpoison has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
danneu2 has quit [Ping timeout: 245 seconds]
hbpoison has quit [Ping timeout: 256 seconds]
pepper_chico has quit [Quit: Computer has gone to sleep.]
hbpoison has joined #ruby
vlad_starkov has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
pepper_chico has joined #ruby
crackfu has quit [Remote host closed the connection]
ahammond has joined #ruby
megha has joined #ruby
hbpoison has quit [Ping timeout: 252 seconds]
hbpoison has joined #ruby
mikepack has quit [Remote host closed the connection]
ahammond has quit [Client Quit]
pepper_chico has quit [Quit: Computer has gone to sleep.]
<tay1> is it possible to use ruby to write apps that works with java?
Funcoot_ has joined #ruby
megha has quit [Quit: WeeChat 0.4.0]
<Quadlex> tay1: It is, if you use JRuby
<Quadlex> Which is Ruby running on the JVM
<tay1> the reason i ask is because i am liking ruby and want to continue learning it however ia lso want to write android apps which uses java
rickmasta has quit [Quit: Leaving...]
<tay1> so i was wondering if there is some sort of work around
<tay1> or would i have to know java as well
<Funcoot_> I had a quick question about serializing objects in Ruby.
<Funcoot_> First, I have been reading that Classes are used to hold behaviors, if you want to hold data, use a struct. But when I want to serialize an object, I have to create a class that inherits that struct.
<Funcoot_> Am I doing something wrong, because that just seems redundant.
<bnagy> wat?
<bnagy> class inherits struct whatnow?
<Funcoot_> :/
<Funcoot_> It appears I am misunderstanding something.
<Funcoot_> Well, I was making a really basic program. I had a class called resort, and all it held were basic strings like name, location, etc.
<Funcoot_> I was told that using a struct would be better, since all I was using that class for was data.
<bnagy> ok
icole has joined #ruby
<Quadlex> tay1: I'm not sure about using JRuby on Android
ukd1 has quit [Remote host closed the connection]
<Funcoot_> But I can't just use marshal on the struct
<bnagy> why not?
<Funcoot_> Well, it returned an error
<Funcoot_> Let me try and get it again
hbpoison has quit [Ping timeout: 276 seconds]
hbpoison has joined #ruby
generalissimo has quit [Remote host closed the connection]
<Funcoot_> bnagy, should I be able to marshal a struct, no problem
<Funcoot_> ?*
_veer has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
<bnagy> OpenStruct Marshals fine for me?
<Funcoot_> Is it true if I am just creating an object to hold some arbitrary values, that I should use a Struct rather than a Class?
veer has quit [Ping timeout: 245 seconds]
tomzx_mac has quit [Ping timeout: 276 seconds]
pooriaazimi has joined #ruby
yashshah__ has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
shock_one has joined #ruby
carraroj has joined #ruby
hbpoison has joined #ruby
icole has quit [Ping timeout: 264 seconds]
carraroj has quit [Read error: Connection reset by peer]
Hanmac1 is now known as Hanmac
carraroj has joined #ruby
pooriaazimi has quit [Quit: pooriaazimi]
<Paradox> Funcoot_, depends
pooriaazimi has joined #ruby
a_a_g has joined #ruby
sandGorgon has joined #ruby
browndawg has joined #ruby
sayan has quit [Read error: Connection reset by peer]
<bnagy> personally I'd just use a basic datatype, not even a struct
<bnagy> Hash etc
<Funcoot_> You mean, you would use a hash?
<bnagy> typically yeah
akashj87 has joined #ruby
<bnagy> obviously if you have a lot you should be using a database
BizarreCake has joined #ruby
SeySayux has quit [Read error: Operation timed out]
<Funcoot_> I'm just making practice programs to get some experience
<Funcoot_> I really just want to make a program where I enter Vacation Resorts, their names, locations, and a short description
<bnagy> serialising objects is the root of many evils
<Funcoot_> Can't decide how I actually want to store the data
Villadelfia_ has joined #ruby
Villadelfia has quit [Ping timeout: 248 seconds]
devoper has joined #ruby
oposomme has joined #ruby
<Funcoot_> So wait, serializing objects is even a bad idea? D;
<Paradox> sounds like for your case
<Paradox> a struct is perfect
pooriaazimi has quit [Quit: pooriaazimi]
<Paradox> but if you want to have internal data manipulation
<bnagy> not saying that, per se, just that it's caused many screwups in many languages
<Paradox> you gotta use a class
<Paradox> here's my thoughts
ryanf has quit [Ping timeout: 255 seconds]
<Paradox> if im gonna be entering the same fields over and over again
bradhe has joined #ruby
<Paradox> and they never change
<Paradox> and i dont need to do any internal manipulations, struct
<Paradox> if i need to do internal stuff, class
<Funcoot_> What would be the best way to store that data?
<Paradox> if they need to sometimes change, openstruct
<Paradox> if they are too dynamic, hash or array
<Paradox> array probably
<Funcoot_> But how would I store that data on my computer after I close the program?
<Funcoot_> That's why I serialize the objects
SeySayux has joined #ruby
jdolitsky has joined #ruby
<Paradox> use a Store
<Paradox> er
<Paradox> PStore
<Paradox> or a Yaml::Store
bradhe has quit [Ping timeout: 246 seconds]
<Funcoot_> so that is preferred over Marshal.dump
<Funcoot_> For this particular task
<Paradox> ruby adopts MINSWAN
<Paradox> python has pickles, which are obnoxious
<Paradox> ruby has a variety of things
<Paradox> some objects support packing and unpacking
<Paradox> but yeah
<Paradox> marshal would work
<Funcoot_> yeah
<Funcoot_> thats what im using now
<Funcoot_> but would using an OpenStruct or Hash with Pstore be a better idea?
<Paradox> again, it all depends on your implementation
<Paradox> if you're just learning
<Paradox> why not try all of them and figure out which one you prefer
<Funcoot_> true
<Paradox> each has distinct advantages and disadvantages
<Funcoot_> And now to sound really stupid
<Paradox> YAML::Store is human readable
<Paradox> something none of the others are
<Funcoot_> class Resort < Struct.new(:name)
<Paradox> and YAML::Store can also store arbitrary ruby objects, something which kind of caused a kerfuffle a few weeks ago
<Funcoot_> What does that exactly do?
<Paradox> yeah, that just makes a class that inherits from Struct
<Paradox> specifically that specific struct
<Funcoot_> i figured
<Funcoot_> See
<Funcoot_> and that made me ask myself
<Funcoot_> Why even bother making a struct in the first place?
<Paradox> easier way to get attr_accessable in
<Paradox> its a common convention
<Paradox> instead of having 6 billion attr_accessors
<Paradox> or whatever
<Funcoot_> ahhhhhhhh
<Paradox> you just use a struct to define the basic ones
<Funcoot_> wow
<Funcoot_> that makes more sense
<Funcoot_> :|
<Funcoot_> That really left me scratching my head
nomenkun has joined #ruby
<Paradox> you get a few other things too
<Funcoot_> so
<Funcoot_> if I have a class
<Funcoot_> And it has to work with a bunch of arbitrary values, it might be a good idea to just put them in a struct and inherit them
<Funcoot_> to keep the class a little cleaner
<Paradox> when you inherit from struct you get other things too
<Paradox> like automatic enumerable support
<Paradox> and pretty inspections
<Funcoot_> oh wow
<Funcoot_> This is slowly making more sense
<Funcoot_> So much to take in x.x
<Paradox> you might wanna install and get to know pry
<Paradox> its an excellent learning tool
sandGorgon has quit [Read error: Operation timed out]
<Funcoot_> thank you paradox
<Funcoot_> i really appreciate all your help tonight
<Funcoot_> one last question
<Paradox> np
<Funcoot_> I make a class that inherits a struct
<Funcoot_> I can't Pstore that class can i?
<Funcoot_> i have to use Marshal or Yaml?
<Paradox> why not
<Paradox> YAML::Store is a 1:1 api of PStore
<Funcoot_> it looked like Pstore was just for hashes and arrays
<Paradox> it just uses YAML to store it
<Paradox> why not try it and find out
<Paradox> i taught myself ruby last year around this time
nomenkun has quit [Ping timeout: 276 seconds]
<Paradox> found i could usually answer most of my questions by poking at them with pry
<Funcoot_> I'll get at it
<Funcoot_> Thanks again Paradox
decoponio has joined #ruby
<Paradox> now when i'm writing proceedural scripts or whatever
<Paradox> i usually do it in pry
<Paradox> then edit -i 0..-1
<Paradox> and save the file and edit out the crap
<Paradox> and bam, script ready to run
spider-mario has joined #ruby
akashj87 has quit [Ping timeout: 240 seconds]
carraroj has quit [Quit: Konversation terminated!]
bigmac has quit [Quit: Leaving]
yashshah has joined #ruby
yashshah__ has quit [Read error: Connection reset by peer]
ukd1 has joined #ruby
refd has joined #ruby
danneu2 has joined #ruby
sandGorgon has joined #ruby
emergion has joined #ruby
icole has joined #ruby
felixjet has quit [Quit: felixjet]
danneu2 has quit [Ping timeout: 252 seconds]
felixjet has joined #ruby
whitedawg has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
felixjet has quit [Client Quit]
ukd1 has quit [Remote host closed the connection]
felixjet has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
pyro111 has joined #ruby
dallasm has quit [Remote host closed the connection]
gommo has quit [Remote host closed the connection]
<Funcoot_> Paradox, are you still there?
yacks has quit [Quit: Leaving]
dallasm has joined #ruby
xpen_ has joined #ruby
<Paradox> was just heading to bed
apeiros_ has joined #ruby
<Funcoot_> Ah alright
<Funcoot_> Well you have a good night
<Funcoot_> thanks again
brianpWins has quit [Quit: brianpWins]
ndngvr has quit [Read error: Operation timed out]
a_a_g1 has joined #ruby
xpen has quit [Ping timeout: 256 seconds]
apeiros_ has quit [Ping timeout: 276 seconds]
xpen has joined #ruby
a_a_g has quit [Ping timeout: 264 seconds]
<Funcoot_> i use require "pstore"
<Funcoot_> But whenever I run the program, I get NameError: uninitialized constant Pstore
<Funcoot_> resort = Pstore.new("data_list.pstore")
<Funcoot_> And that is the line of code. Any ideas?
<bnagy> yeah, there's no constant called Pstore
dawkirst has joined #ruby
<Funcoot_> Pstore is just part of YAML though isn't it?
kaomoja_ has joined #ruby
xpen_ has quit [Ping timeout: 264 seconds]
niky_mm has joined #ruby
ndngvr has joined #ruby
<niky_mm> sall all
a_a_g1 has quit [Quit: Leaving.]
<Funcoot_> bnagy, Pstore isn't a constant though
<Funcoot_> it's supossed to be a function
<bnagy> no, it's a constant. Class names always are.
bradhe has joined #ruby
xpen_ has joined #ruby
<Funcoot_> oh, i see
<Funcoot_> I just messed up
<Funcoot_> PStore
<Funcoot_> not Pstore
<bnagy> yes
niky_mm has quit []
staafl has quit [Read error: Connection reset by peer]
ndngvr has quit [Read error: Connection reset by peer]
staafl has joined #ruby
xpen has quit [Ping timeout: 240 seconds]
Nisstyre-laptop has quit [Ping timeout: 256 seconds]
bradhe has quit [Ping timeout: 264 seconds]
ryanf has joined #ruby
<felixjet> what is passenger?
<felixjet> im reading there is fastcgi and also passenger
<felixjet> but cant find a difference
pcarrier has joined #ruby
ryanf has quit [Ping timeout: 248 seconds]
wallerdev has quit [Quit: wallerdev]
nari has joined #ruby
nomenkun has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
artm has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
mercy____ has quit [Quit: mercy____]
beneggett has joined #ruby
eliasp has quit [Ping timeout: 256 seconds]
arturaz has joined #ruby
<shock_one> What is the name of the utility to share the console?
tish has joined #ruby
<artm> How could I make this spec less redundant (the example is simplified ad absurdum): https://gist.github.com/artm/5180707
carraroj has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<artm> the idea is that all my specs have the same logic, but I can't wrap my head around writing the spec so it tries different inputs with the same expectations
<artm> shock_one, tmux?
jimeh has joined #ruby
squidBits has quit [Quit: squidBits]
<shock_one> showterm
<artm> mmm, showterm sounds interesting
squidBits has joined #ruby
Matip has joined #ruby
carraroj has quit [Client Quit]
adambeynon has joined #ruby
Funcoot_ has quit [Quit: Page closed]
Mattx has quit [Read error: Operation timed out]
sayan has joined #ruby
squidBits has quit [Ping timeout: 255 seconds]
hashmal has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
beneggett has joined #ruby
angusiguess has joined #ruby
squidBits has joined #ruby
eliasp has joined #ruby
hbpoison has quit [Ping timeout: 248 seconds]
icole has quit [Remote host closed the connection]
icole has joined #ruby
squidBits has quit [Ping timeout: 255 seconds]
angusiguess has quit [Ping timeout: 245 seconds]
apeiros_ has joined #ruby
sandGorgon has quit [Read error: Connection reset by peer]
sandGorgon has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
squidBits has joined #ruby
xpen has joined #ruby
dawkirst has quit [Read error: Operation timed out]
pcarrier has quit []
tay1 has quit [Ping timeout: 248 seconds]
samphippen has joined #ruby
xpen_ has quit [Ping timeout: 252 seconds]
marr has joined #ruby
squidBits has quit [Ping timeout: 255 seconds]
apeiros_ has quit [Read error: Connection reset by peer]
squidBits has joined #ruby
bradhe has joined #ruby
nomenkun has joined #ruby
oposomme has quit [Read error: Connection reset by peer]
jimeh has quit [Ping timeout: 256 seconds]
dawkirst has joined #ruby
pen has joined #ruby
L4mppu has joined #ruby
Catbuntu has joined #ruby
jimeh has joined #ruby
bradhe has quit [Ping timeout: 276 seconds]
nomenkun has quit [Ping timeout: 264 seconds]
<kaomoja_> Does anyone know a ruby debugging tool such as ruby-debug(it works on ruby 1.8) and debugger(it works on ruby1.9) that works on ruby2.0 ?
hbpoison has joined #ruby
apeiros_ has joined #ruby
mpfundstein has joined #ruby
mpfundstein has quit [Remote host closed the connection]
MrZYX|off is now known as MrZYX
s1n4 has joined #ruby
s1n4 has quit [Client Quit]
jdolitsky has quit [Ping timeout: 276 seconds]
mercy____ has joined #ruby
sandGorgon has quit [Ping timeout: 245 seconds]
carraroj has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
carraroj has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
<Paradox> pry-debugger kaomoja_
carraroj has quit [Client Quit]
<Paradox> nvm
<Paradox> 1.9.3 only
<Paradox> pry-nav is supposedly independent of debug
mpfundstein has joined #ruby
gommo has joined #ruby
timonv has joined #ruby
nari has quit [Ping timeout: 256 seconds]
yashshah has quit [Read error: Connection reset by peer]
k610 has joined #ruby
yashshah has joined #ruby
aapzak has quit [Ping timeout: 276 seconds]
nanothief has quit [Ping timeout: 252 seconds]
aapzak has joined #ruby
kevinfagan has quit [Quit: ZNC - http://znc.in]
kevinfagan has joined #ruby
danslo has joined #ruby
teddyp1cker has joined #ruby
<teddyp1cker> hi
<teddyp1cker> how can i convert unix timestamp to iso8601 format string?
decoponio has quit [Quit: Take to stop a load on my PC]
carraroj has joined #ruby
<Hanmac> teddyp1cker require "time" then you can do Time.now.iso8601 #=> "2013-03-17T10:57:46+01:00"
sandGorgon has joined #ruby
carraroj has quit [Client Quit]
pyro111 has quit [Quit: Leaving]
<kaomoja_> thanks, the installation of pry-nav to ruby2.0 succeed, I'll try it. > Paradox
KevinSjoberg has joined #ruby
<teddyp1cker> Hanmac: i already have timestamp like 1306265227. I need to convert this to iso8601, without "now" invocation
<Hanmac> maybe: Time.at(1306265227).iso8601 #=> "2011-05-24T21:27:07+02:00"
sepp2k has joined #ruby
<Hanmac> teddyp1cker: your code is wrong, and why not "Time.at(1306265227).to_datetime"
<teddyp1cker> Hanmac: http://paste.ubuntu.com/5621819
<Hanmac> WHY does no one read my lines? teddyp1cker>>>> require "time"<<<<
<teddyp1cker> o, sh~)
jonahR has quit [Quit: jonahR]
teddyp1cker has quit [Remote host closed the connection]
<apeiros_> Hanmac: common problem :)
angusiguess has joined #ruby
yacks has joined #ruby
nicoulaj has joined #ruby
angusiguess has quit [Ping timeout: 248 seconds]
workmad3 has joined #ruby
maxmanders has joined #ruby
carraroj has joined #ruby
Apocalypse has quit [Ping timeout: 245 seconds]
maxmande_ has joined #ruby
pyrac has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
carraroj has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
roadt has joined #ruby
TheFuzzball has quit [Ping timeout: 246 seconds]
maxmanders has quit [Ping timeout: 240 seconds]
marcdel has quit []
floyd has joined #ruby
bluOxigen has joined #ruby
bradhe has joined #ruby
krainboltgreene has joined #ruby
TheFuzzball has joined #ruby
marcdel has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
icole has quit [Remote host closed the connection]
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
dawkirst has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
ukd1 has joined #ruby
hbpoison has quit [Ping timeout: 252 seconds]
nomenkun has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
marcdel has quit []
ukd1 has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 264 seconds]
pettsson has joined #ruby
znode has joined #ruby
drale2k has quit [Quit: Leaving...]
io_syl has quit [Quit: Computer has gone to sleep.]
znode has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 252 seconds]
k610 has quit [Quit: Leaving]
sayan has quit [Ping timeout: 245 seconds]
<kaomoja_> Paradox: pry-nav worked and it breaked at "binding.pry" line, on ruby 2.0. but it seems there are only continue, next, step commands, but break command.
d34th4ck3r has joined #ruby
banister`sleep has quit [Remote host closed the connection]
banister`sleep has joined #ruby
picca has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
hbpoison has joined #ruby
refd has quit [Read error: Connection timed out]
workmad3 has quit [Ping timeout: 260 seconds]
refd has joined #ruby
nari has joined #ruby
banister`sleep has quit [Read error: Connection reset by peer]
banister_ has joined #ruby
refd has quit [Max SendQ exceeded]
ndngvr has joined #ruby
Zolo has joined #ruby
Tricon has quit [Quit: Leaving...]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
swingha has joined #ruby
floyd has quit [Quit: Leaving.]
gommo has quit [Remote host closed the connection]
gommo has joined #ruby
DarKOoL has joined #ruby
DarKOoL has quit [Client Quit]
eka has joined #ruby
atyz has joined #ruby
jgrevich has quit [Remote host closed the connection]
gommo has quit [Ping timeout: 256 seconds]
angusiguess has joined #ruby
pyrac has quit [Quit: pyrac]
marr has quit [Ping timeout: 252 seconds]
m8 has joined #ruby
xardas has joined #ruby
HecAtic has quit [Quit: Àá¼ö]
atno has quit [Ping timeout: 264 seconds]
skattyadz has joined #ruby
devoper has quit [Remote host closed the connection]
devoper has joined #ruby
Guedes0 has joined #ruby
floyd has joined #ruby
atno has joined #ruby
maxmande_ has quit [Ping timeout: 245 seconds]
artm has quit [Quit: Ex-Chat]
artm has joined #ruby
fantazo has joined #ruby
francisfish has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
gommo has joined #ruby
maxmanders has joined #ruby
francisfish has joined #ruby
<atno> mooorning
artm has quit [Ping timeout: 248 seconds]
bradhe has joined #ruby
casheew has joined #ruby
pskosinski has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
hbpoison has joined #ruby
charliesome has joined #ruby
sayan has joined #ruby
quazimodo has joined #ruby
<quazimodo> haayyy
mityaz has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
eldariof has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
hbpoison has quit [Read error: Connection reset by peer]
k610 has joined #ruby
gommo has quit [Remote host closed the connection]
gommo has joined #ruby
hbpoison has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
icole has joined #ruby
Faris has joined #ruby
akashj87 has joined #ruby
br4ndon has joined #ruby
niklasb has joined #ruby
horrror has joined #ruby
floyd has quit [Quit: Leaving.]
hbpoison has joined #ruby
gommo_ has joined #ruby
icole has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
gommo has quit [Ping timeout: 256 seconds]
yashshah has joined #ruby
danslo has quit [Ping timeout: 252 seconds]
hbpoison has quit [Read error: Connection reset by peer]
kristofers has joined #ruby
hbpoison has joined #ruby
Eldariof-ru has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
becom33 has joined #ruby
eldariof has quit [Ping timeout: 240 seconds]
<becom33> I hear developing android application with ruby is possible but it requires ruby language installed in android ? or can be make a one apk which does everything ?
lkba has joined #ruby
whitedawg has quit [Quit: Leaving.]
backjlack has quit [Remote host closed the connection]
Zolo has quit [Remote host closed the connection]
Vert has quit [Ping timeout: 252 seconds]
niklasb has quit [Ping timeout: 245 seconds]
becom33 has quit [Ping timeout: 256 seconds]
pyrac has joined #ruby
atyz has quit [Quit: Leaving...]
AndChat| has quit [Ping timeout: 252 seconds]
hoelzro|away is now known as hoelzro
niklasb has joined #ruby
Xeago has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
gyre007 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
atmosx has joined #ruby
slapt has quit [Ping timeout: 276 seconds]
kaomoja_ has left #ruby [#ruby]
cantonic has joined #ruby
casheew has joined #ruby
banister_ is now known as banisterfiend
maxmanders has quit [Ping timeout: 256 seconds]
maxmanders has joined #ruby
becom33 has joined #ruby
becom33 has joined #ruby
becom33 has quit [Changing host]
<Amfy> I have another nooby question: If I have #<Resolv::DNS::Name: test.> how can I access 'test.'? object.name doesn't work
tommyvyo has joined #ruby
carraroj has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
carraroj has quit [Client Quit]
casheew has quit [Read error: Connection reset by peer]
<atmosx> Amfy: via methods
Guedes0 has quit [Ping timeout: 264 seconds]
<atmosx> object.methods.sort.join(', ') will display tha available methods for this obj
<atmosx> reading the documentation might be better for newbies though
<Amfy> oh, cool, didn't know that. Thanks.
casheew has joined #ruby
<Hanmac> its to_s
Gooder has joined #ruby
<Amfy> Hanmac oh, even better. Thanks a lot! :)
Eldariof93-ru has joined #ruby
motto has joined #ruby
m8 has quit [Read error: Connection reset by peer]
philipd has joined #ruby
philipd has quit [Max SendQ exceeded]
bradhe has joined #ruby
gommo_ has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
gommo has joined #ruby
becom33 has quit [Ping timeout: 256 seconds]
kornnflake_zzz is now known as kornnflake
casheew has joined #ruby
Eldariof-ru has quit [Ping timeout: 264 seconds]
d34th4ck3r has quit [Quit: Konversation terminated!]
bradhe has quit [Ping timeout: 255 seconds]
francisfish has quit [Remote host closed the connection]
gommo has quit [Ping timeout: 256 seconds]
carraroj has joined #ruby
s1n4 has joined #ruby
picca has quit [Quit: Leaving...]
carraroj has quit [Read error: Operation timed out]
carraroj has joined #ruby
quazimodo has quit [Ping timeout: 256 seconds]
sambao21 has joined #ruby
vickaita has joined #ruby
francisfish has joined #ruby
quazimodo has joined #ruby
neku has joined #ruby
becom33 has joined #ruby
picca has joined #ruby
Banistergalaxy has joined #ruby
Banistergalaxy has quit [Client Quit]
Banistergalaxy has joined #ruby
chipotle_ has joined #ruby
miso1337 has joined #ruby
xpen_ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
xpen has quit [Ping timeout: 264 seconds]
casheew has quit [Read error: Connection reset by peer]
hbpoison has quit [Ping timeout: 264 seconds]
pen has quit [Remote host closed the connection]
marwinism has quit [Ping timeout: 264 seconds]
zabo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
casheew has joined #ruby
pyrac has quit [Quit: pyrac]
vickaita has quit [Ping timeout: 256 seconds]
casheew has quit [Read error: Connection reset by peer]
shock_one has quit [Read error: No route to host]
kofno has joined #ruby
vickaita has joined #ruby
casheew has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
TheFuzzball has quit [Quit: Leaving...]
hbpoison has joined #ruby
picca has quit [Quit: Leaving...]
francisfish has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
hbpoison has quit [Read error: Connection reset by peer]
zabo has quit [Quit: Leaving]
xardas has quit [Read error: Connection reset by peer]
urbanczykd has joined #ruby
casheew has quit [Read error: Connection reset by peer]
urbanczykd has left #ruby [#ruby]
casheew has joined #ruby
hbpoison has joined #ruby
hoelzro is now known as hoelzro|away
ddd has quit [Ping timeout: 245 seconds]
BizarreCake has joined #ruby
pac1 has quit [Ping timeout: 264 seconds]
pyrac has joined #ruby
casheew has quit [Read error: Connection reset by peer]
Bofu2U_ has joined #ruby
ddd has joined #ruby
vickaita has quit [Ping timeout: 240 seconds]
kirun has joined #ruby
Virunga has joined #ruby
gregor3005 has joined #ruby
Guedes0 has joined #ruby
az7ar has joined #ruby
tenmilestereo has joined #ruby
IrishGringo has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931]]
casheew has joined #ruby
drale2k has joined #ruby
carraroj has joined #ruby
BizarreCake has quit [Ping timeout: 245 seconds]
picca has joined #ruby
carraroj has quit [Client Quit]
krainboltgreene has quit []
francisfish has joined #ruby
Bofu2U_ is now known as Bofu2U
hbpoison has quit [Read error: Connection reset by peer]
Gooder has quit [Remote host closed the connection]
hbpoison has joined #ruby
solidoodlesuppor has joined #ruby
whitedawg has joined #ruby
nari has quit [Ping timeout: 256 seconds]
Promotos has joined #ruby
hbpoison_ has joined #ruby
devoper has quit [Quit: Leaving]
hbpoison has quit [Ping timeout: 264 seconds]
Virunga has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
xpen_ has quit [Read error: Connection reset by peer]
xpen has joined #ruby
BizarreCake has joined #ruby
Virunga has joined #ruby
sayan has joined #ruby
artm has joined #ruby
bradhe has joined #ruby
kornnflake is now known as kornnflake_zzz
Xeago has quit [Remote host closed the connection]
Davey has joined #ruby
cantonic has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
kofno has quit [Remote host closed the connection]
workmad3 has joined #ruby
nicoulaj has quit [Remote host closed the connection]
hbpoison_ has quit [Ping timeout: 240 seconds]
hbpoison has joined #ruby
niklasb has quit [Ping timeout: 246 seconds]
workmad3 has quit [Read error: Operation timed out]
shevy has quit [Ping timeout: 260 seconds]
mpfundstein has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
senayar has joined #ruby
elspeth has quit [Ping timeout: 252 seconds]
crazysim has quit [Ping timeout: 245 seconds]
Stilo has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
crazysim has joined #ruby
yashshah has joined #ruby
Xeago has joined #ruby
Goles has joined #ruby
wf2f has quit []
razibog has joined #ruby
jimeh has quit [Quit: Bye.]
postmodern has quit [Quit: Leaving]
Nowaker has joined #ruby
sonda has joined #ruby
jimeh has joined #ruby
Eldariof93-ru has quit [Remote host closed the connection]
<Nowaker> Monkey-patching question. Is it possible to make some class extend another?
<Hanmac> Nowaker no
<sepp2k> Nowaker: Not after the fact, no. You can make it include a module though.
shevy has joined #ruby
<Hanmac> only modules can be included or extended or prepended, classes can not
<Nowaker> thanks.
colonolGron has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
eldariof has joined #ruby
skattyadz has quit [Quit: skattyadz]
mfridh has joined #ruby
drumsrgr1 has joined #ruby
jsaak has quit [Ping timeout: 260 seconds]
jetblack_ has quit [Quit: leaving]
bluenemo has quit [Read error: Connection reset by peer]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
nw has quit [Remote host closed the connection]
shaman42 has quit [Remote host closed the connection]
happosade has quit [Read error: Connection reset by peer]
Faris has quit [Quit: Faris]
horrror has quit [Quit: horrror]
yfeldblum has quit [Read error: Connection reset by peer]
casheew has quit [Read error: Connection reset by peer]
Nowaker has left #ruby [#ruby]
yfeldblum has joined #ruby
vickaita has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
jsaak has joined #ruby
workmad3 has joined #ruby
hbpoison has joined #ruby
casheew has joined #ruby
jastix has joined #ruby
jonahR has joined #ruby
vickaita has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
k610 has quit [Quit: Leaving]
classix has quit [Ping timeout: 255 seconds]
nw has joined #ruby
colonolGron has left #ruby [#ruby]
xpen_ has joined #ruby
drale2k has quit [Quit: Leaving...]
xpen has quit [Ping timeout: 256 seconds]
gyre007 has quit [Remote host closed the connection]
girija has joined #ruby
fantazo has quit [Remote host closed the connection]
uris has joined #ruby
philipd has joined #ruby
philipd has quit [Max SendQ exceeded]
nazty has quit [Read error: Connection reset by peer]
Goles has quit [Quit: Computer has gone to sleep.]
JohnBat26 has joined #ruby
girija has quit [Ping timeout: 276 seconds]
whowantstolivef1 has joined #ruby
marwinism has joined #ruby
bradhe has joined #ruby
freeayu__ has quit [Remote host closed the connection]
realDAB has joined #ruby
tommyvyo has quit [Quit:]
browndawg has quit [Quit: Leaving.]
wobblini has quit [Ping timeout: 240 seconds]
kornnflake_zzz is now known as kornnflake
joofsh has joined #ruby
bradhe has quit [Ping timeout: 256 seconds]
Yakko has joined #ruby
xeronic has joined #ruby
akashj87 has quit [Ping timeout: 260 seconds]
hbpoison has quit [Read error: Connection reset by peer]
hbpoison has joined #ruby
nfk has joined #ruby
braoru has joined #ruby
braoru has quit [Read error: Connection reset by peer]
banisterfiend has quit [Ping timeout: 256 seconds]
`p has joined #ruby
kofno has joined #ruby
aapzak has quit [Read error: Connection reset by peer]
drale2k has joined #ruby
motto has quit [Read error: Connection reset by peer]
Davey has quit [Quit: Computer has gone to sleep.]
elux has quit [Quit: Leaving...]
motto has joined #ruby
banisterfiend has joined #ruby
zubov has joined #ruby
tommyvyo has joined #ruby
aapzak has joined #ruby
horrror has joined #ruby
s1n4 has quit [Quit: leaving]
s1n4 has joined #ruby
cantonic has quit [Quit: cantonic]
s1n4 has quit [Client Quit]
horrror has quit [Client Quit]
chimmy has joined #ruby
banisterfiend has quit [Ping timeout: 245 seconds]
astrostl has joined #ruby
k3rn3lito has quit [Read error: Operation timed out]
wobblini has joined #ruby
Roa has quit [Ping timeout: 252 seconds]
k3rn3lito has joined #ruby
Roa has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
lewis has joined #ruby
Guedes0 has quit [Ping timeout: 264 seconds]
Davey has joined #ruby
lewis is now known as lewix
<lewix> hi
hbpoison has quit [Ping timeout: 245 seconds]
drale2k has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
jamescarr has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
banisterfiend has joined #ruby
kofno has quit [Ping timeout: 245 seconds]
jamescarr has quit [Client Quit]
pac1 has joined #ruby
quazimodo has quit [Read error: No route to host]
tommyvyo has quit [Quit:]
Davey has quit [Quit: Computer has gone to sleep.]
casheew has quit [Read error: Connection reset by peer]
shock_one has joined #ruby
shaman42 has joined #ruby
sayan has quit [Read error: Connection reset by peer]
casheew has joined #ruby
Zolo has joined #ruby
wargasm1 has joined #ruby
<Promotos> Hi lewix
jamescarr has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<lewix> hi Promotos, how' you
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
shaman42 has quit [Client Quit]
<lewix> anybody from canada?
<Promotos> all fine, thx. And you?
pepper_chico has joined #ruby
subbyyy has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
casheew has joined #ruby
shaman42 has joined #ruby
pepper_chico has joined #ruby
realDAB has quit [Quit: realDAB]
<lewix> Promotos: trying to be productive
tommyvyo has joined #ruby
vickaita has joined #ruby
beneggett has joined #ruby
<lewix> Promotos: more like reading some
moos3 has joined #ruby
Davey has joined #ruby
jeremywr1we has joined #ruby
shaman42 has quit [Client Quit]
three18t- is now known as three18ti
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
Zolo has quit [Remote host closed the connection]
vickaita has quit [Ping timeout: 245 seconds]
casheew has quit [Read error: Connection reset by peer]
jeremywr1we has quit [Client Quit]
Neomex has joined #ruby
blf has joined #ruby
Neomex has quit [Client Quit]
<blf> Are Ruby arrays particularly slow?
serhart has joined #ruby
workmad3 has joined #ruby
<Hanmac> blf compared to what?
teddyp1cker has joined #ruby
<blf> Java arrays or C arrays
<lewix> possibly
tommyvyo has quit [Quit:]
<lewix> although I'm not sure what you mean
<blf> Granted, I'm iterating over millions of elements, but I don't think it should take 20 seconds.
casheew has joined #ruby
<sepp2k> blf: Everything is slower in Ruby than it is in Java or C. It's more meaningful to ask whether Ruby arrays are slow compared to other things you can do in Ruby instead of using arrays.
<blf> I've even taken measures to ensure that I'm only accessing elements in a forward-only direction.
moos3 has quit [Quit: Computer has gone to sleep.]
whowantstolivef1 has quit [Ping timeout: 245 seconds]
<lewix> lol
m3pow has quit [Ping timeout: 264 seconds]
BRMatt has joined #ruby
<blf> Why's that funny?
bradhe has joined #ruby
jamescarr has quit [Quit: jamescarr]
<blf> I should encounter fewer cache misses if I'm not bouncing back and forth between previous elements and the current element, right?
drale2k has joined #ruby
serhart has quit [Ping timeout: 264 seconds]
pskosinski has quit [Quit: Red Eclipse, game of racist admins/devs: http://pawelk.pl/racist-red-eclipse-quin-zeroknight-gingerbear/]
workmad3 has quit [Ping timeout: 248 seconds]
<lewix> I have no idea
realDAB has joined #ruby
<Hanmac> ruby does some caching then making subarrays, but only for a bit memory saving
drumsrgr1 has quit [Ping timeout: 276 seconds]
jetblack has joined #ruby
cheez0r has quit [Ping timeout: 264 seconds]
<sepp2k> blf: Yes, but if the things inside your array aren't integers, you have an array of pointers to (presumably non-contiguous) heap memory. So you'll still have plenty of cache misses.
<sepp2k> Hanmac: Pretty sure he's talking about the CPU cache.
bradhe has quit [Ping timeout: 264 seconds]
<blf> sepp2k: That could be where the problem lies. I guess I'll go run a couple tests.
<sepp2k> (The same is true for arrays of non-primitve values in Java as well).
kornnflake is now known as kornnflake_zzz
sayan has joined #ruby
drumsrgr1 has joined #ruby
niklasb has joined #ruby
<blf> sepp2k: Indeed. I don't know why I thought I was allocating a single contiguous space of memory large enough to hold however many elements of size: sizeof(element).
<Hanmac> blf google why ruby strings less 23 chars are faster to allocate then others ... its also true for arrays less than 3 elements
<blf> Hanmac, I'll check that out. Not sure it'll help in this situation, though. I'm implementing the Needleman-Wunsch dynamic alignment algorithm and aligning multiple sequences of many thousands length.
Xeago has quit [Remote host closed the connection]
astrostl has quit []
yashshah has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
yashshah_ has joined #ruby
<blf> Yep, I'm currently reading that one :)
tommyvyo has joined #ruby
jpfuentes2 has joined #ruby
motto has quit [Read error: Connection reset by peer]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago has quit [Remote host closed the connection]
d2dchat has quit [Remote host closed the connection]
maxmanders has quit [Ping timeout: 264 seconds]
floyd has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
xpen_ has quit [Remote host closed the connection]
maxmanders has joined #ruby
Xeago has joined #ruby
tanob has joined #ruby
tealmage has joined #ruby
fschuindt has joined #ruby
drale2k has quit [Ping timeout: 252 seconds]
tenmilestereo has quit [Quit: Leaving]
<tanob> hey there, what do you guys use to find memory leaks in Rails apps? I see memprof but it doesn't seem to work in 1.9
Davey has quit [Quit: Computer has gone to sleep.]
<Hanmac> tanob that is the wrong question ... rails IS a memory leak :D
adambeynon has quit [Quit: Computer has gone to sleep.]
cheez0r has joined #ruby
pskosinski has joined #ruby
adambeynon has joined #ruby
generalissimo has joined #ruby
<tanob> Hanmac: hehe, I can see some refs that hold by Procs but I can't find a way to find which Procs
Guedes0 has joined #ruby
<Hanmac> tanob rails has more problems ... like json and symbols :P
<tanob> that sounds more like Ruby problems
<Hanmac> tanob no, only rails used them wrong
drumsrgr1 has quit [Ping timeout: 264 seconds]
<Hanmac> tanob they are SO anonying that they requested on the issue tracker to make symbols GC'able
crackfu has joined #ruby
<tanob> any problems on symbols being GC'able?
bradhe has joined #ruby
Guedes0 has quit [Ping timeout: 264 seconds]
<Hanmac> tanob: hm not so much ... it only breaks EVERY more advanced C(++) gem, but rails users do not care about that
crackfu has quit [Changing host]
crackfu has joined #ruby
jastix has quit [Quit: Leaving]
teddyp1cker has quit [Remote host closed the connection]
<tanob> talking about C, do you know how to keep track of the file/line where an object got instantiated? I was looking memprof's code and he used some low level trampoline
<tanob> I was thinking if there wouldn't be an easier and more portable way of doing that
bradhe has quit [Read error: Operation timed out]
kofno has joined #ruby
hbpoison has joined #ruby
m3pow has joined #ruby
browndawg has joined #ruby
Promotos has quit [Ping timeout: 252 seconds]
tay1 has joined #ruby
jamescarr has joined #ruby
eAlche___ has joined #ruby
tay1 has quit [Read error: Connection reset by peer]
tay1 has joined #ruby
kofno has quit [Ping timeout: 245 seconds]
tay1 has quit [Read error: Connection reset by peer]
tay1 has joined #ruby
tay1 has quit [Read error: Connection reset by peer]
tay1 has joined #ruby
eAlchemist has quit [Ping timeout: 245 seconds]
tay1 has quit [Read error: Connection reset by peer]
Stilo has joined #ruby
giggity has joined #ruby
tay1 has joined #ruby
<giggity> I get an empty page once I visit users/username/posts, but tags and search work perfect. Any help is appreciated. Here is my code: https://gist.github.com/anonymous/4c840394f3e7875c7de2
tay11 has joined #ruby
<Hanmac> giggity is that a rails question?
tay11 has quit [Read error: Connection reset by peer]
<giggity> Hanmac: um, maybe
tay11 has joined #ruby
<giggity> Hanmac: Are you familiar with rails?
tay11 has quit [Read error: Connection reset by peer]
toretore has joined #ruby
tay11 has joined #ruby
bradhe has joined #ruby
<Hanmac> giggity: no but the guys at #rubyonrails
tay11 has quit [Read error: Connection reset by peer]
tay11 has joined #ruby
DrShoggoth has joined #ruby
tay1 has quit [Ping timeout: 256 seconds]
tay11 has quit [Read error: Connection reset by peer]
jonahR has quit [Quit: jonahR]
tay1 has joined #ruby
jamescarr has quit [Quit: jamescarr]
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
endzyme has joined #ruby
niklasb has quit [Read error: Operation timed out]
Xeago has quit [Remote host closed the connection]
sambao21 has joined #ruby
endzyme has quit [Ping timeout: 245 seconds]
danneu2 has joined #ruby
philipd has joined #ruby
philipd has quit [Max SendQ exceeded]
arturaz has quit [Remote host closed the connection]
skattyadz has joined #ruby
Xeago has joined #ruby
as-cii has joined #ruby
sayan has quit [Read error: Connection reset by peer]
niklasb has joined #ruby
workmad3 has joined #ruby
floyd has quit [Quit: Leaving.]
jimeh has quit [Quit: Computer has gone to sleep.]
lethjakman has joined #ruby
kornnflake_zzz is now known as kornnflake
<as-cii> hi everyone
fphilipe has joined #ruby
danneu2 has quit [Ping timeout: 252 seconds]
as-cii has quit [Remote host closed the connection]
giggity has left #ruby [#ruby]
drumsrgr1 has joined #ruby
as-cii has joined #ruby
crazymykl has quit [Quit: Konversation terminated!]
<as-cii> is there anybody?
yxhuvud has joined #ruby
crazymykl has joined #ruby
<Hanmac> only for UTF8 not for ascii users :P
io_syl has joined #ruby
<as-cii> eheh
a_a_g has joined #ruby
bradhe has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
<tay1> im trying to build a simple rss feed reader but i get an error forbidden access to file '/'
<as-cii> I'm searching for good blogs or developers that write good stuff
<as-cii> can you help me?
sambao21 has quit [Quit: Computer has gone to sleep.]
<as-cii> (obviously I'm talking about Ruby and maybe Rails/Sinatra/etc.)
<Hanmac> as-cii then you go to #rubyonrails , #sinatra and #etc :D
<Hanmac> and "obviously" you are currently in the wrong channel for rails questions
<as-cii> Hanmac: I do not have questions about rails, I just wanted to ask for some great Ruby blogs
realDAB has quit [Quit: realDAB]
tjbiddle has joined #ruby
<as-cii> Hanmac: and if they talk about rails, well it's ok :)
workmad3 has quit [Ping timeout: 264 seconds]
<tay1> can someone help me with my problem?
<Hanmac> tay1 evalin does not allow that
<tay1> oh. okay when i run it on my dos prompt it just runs and doesnt return anything
wallerdev has joined #ruby
hadees has joined #ruby
drale2k has joined #ruby
codecop has joined #ruby
kofno has joined #ruby
<tay1> nevermind i got it. thanks
drumsrgr1 has quit [Ping timeout: 245 seconds]
tomzx_mac has joined #ruby
drale2k has quit [Ping timeout: 256 seconds]
mengu has joined #ruby
jimeh has joined #ruby
havenwood has joined #ruby
sayan has joined #ruby
codecop has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 255 seconds]
a_a_g has quit [Quit: Leaving.]
shock_one has quit [Read error: Connection reset by peer]
codecop has joined #ruby
shock_one has joined #ruby
toretore has left #ruby ["Leaving"]
hubub has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
hubub has quit [Client Quit]
tanob has quit [Quit: leaving]
hubub has joined #ruby
eAlche___ has quit [Remote host closed the connection]
eAlchemist has joined #ruby
breakingthings has joined #ruby
jamescarr has joined #ruby
BizarreCake has quit [Ping timeout: 245 seconds]
<breakingthings> Is there a better way to test should_receive here, other than any_instance? https://gist.github.com/ackerdev/5180333
casheew has quit [Read error: Connection reset by peer]
danneu2 has joined #ruby
maxmanders has quit [Ping timeout: 245 seconds]
as-cii has quit [Remote host closed the connection]
egghead has left #ruby ["WeeChat 0.3.8"]
codecop has quit [Remote host closed the connection]
maxmanders has joined #ruby
as-cii has joined #ruby
casheew has joined #ruby
tndrbt has joined #ruby
tndrbt has quit [Client Quit]
jamescarr has left #ruby [#ruby]
tndrbt has joined #ruby
eAlchemist has quit [Ping timeout: 240 seconds]
emmanuelux has joined #ruby
Faris has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<as-cii> so, any suggestion for some interesting blogs?
shaman42 has joined #ruby
tommyvyo has quit [Quit:]
casheew has joined #ruby
danslo has joined #ruby
<banisterfiend> as-cii: IMO my blog is the most interesting of all
<lewix> "still talking about pythons? I don't like snakes, I like diamonds"
<banisterfiend> as-cii: also this one: cirw.in
drumsrgr1 has joined #ruby
<tay1> why is there almost no documentation on rss for ruby
casheew has quit [Read error: Connection reset by peer]
Rojun has joined #ruby
<Rojun> hiya
<lewix> as-cii: banister blog but too advanced for me
<as-cii> well what's the URL of your blog?
<as-cii> lewix, banisterfiend: nice, thanks!
<havenwood> as-cii: Here is my blog (now to just take code and make blog...): https://gist.github.com/havenwood
<as-cii> banisterfiend: you haven't been writing for a while, haven't you?
<Rojun> I'm trying to install redmine out of curiosity. could someone tell me advice about what's probably going wrong? "Gemfile:44:in 'block in eval_gemfile': undefined method '[]' for nil:NilClass (NoMethodError)"
<lewix> ok too advanced was not the appropriate word as-cii
<banisterfiend> as-cii: no :)
<havenwood> as-cii: Not a blog, but fun Ruby (Mon episodes are free too)! http://www.rubytapas.com
casheew has joined #ruby
<Rojun> I haven't tampered with anything but the database.yml, which has been copy pasted. I
<lewix> i wish more blogs had themes
<lewix> and not random ideas there and there
BizarreCake has joined #ruby
<tay1> how do i check if a word exists within a sentence?
<Rojun> the gemfile is 'virgin' straight from the site
pavilionXP has joined #ruby
<lewix> havenwood: checking
<tay1> is it include?
<as-cii> havenwood: thank you :)
kofno has joined #ruby
anderse has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
marcdel has joined #ruby
<havenwood> tay1: Thats one way!
pitzips has joined #ruby
brad[]` is now known as brad[]
L4mppu has joined #ruby
L4mppu has quit [Changing host]
<tay1> is nokogiri the best way to parse rss?
jrajav has joined #ruby
<havenwood> tay1: Best XML parser, so prolly yes.
sambao21 has joined #ruby
<tay1> oh ok
<tay1> cause ruby has really no doc on rss
L4mppu has quit [Quit: Leaving]
sambao21 has quit [Client Quit]
L4mppu has joined #ruby
L4mppu has joined #ruby
L4mppu has quit [Changing host]
kofno has quit [Remote host closed the connection]
<havenwood> tay1: Yeah, I'd recommend exploring it with Pry!
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
tndrbt has quit [Quit: tndrbt]
pitzips has quit [Quit: Leaving]
pitzips has joined #ruby
fphilipe_ has joined #ruby
shock_one has quit [Ping timeout: 264 seconds]
as-cii has quit []
kofno has joined #ruby
as-cii has joined #ruby
senayar has quit [Ping timeout: 245 seconds]
pitzips has quit [Client Quit]
Voting has quit [Ping timeout: 264 seconds]
pitzips has joined #ruby
tcstar has joined #ruby
fphilipe has quit [Ping timeout: 245 seconds]
luisalima has joined #ruby
kornnflake is now known as kornnflake_zzz
jpfuentes2 has joined #ruby
realDAB has joined #ruby
swex_ has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
happydude has joined #ruby
happydude has quit [Client Quit]
swex has quit [Ping timeout: 245 seconds]
sambao21 has quit [Client Quit]
codecop has joined #ruby
browndawg has quit [Quit: Leaving.]
robbyoconnor has joined #ruby
yxhuvud2 has joined #ruby
colonolGron has joined #ruby
yashshah_ has quit [Read error: Connection reset by peer]
yashshah_ has joined #ruby
whitedawg has quit [Quit: Leaving.]
yxhuvud has quit [Ping timeout: 260 seconds]
pitzips has quit [Ping timeout: 258 seconds]
pitzips has joined #ruby
codecop has quit [Remote host closed the connection]
k3rn3lito has quit [Ping timeout: 255 seconds]
delqn has quit [Ping timeout: 245 seconds]
drumsrgr1 has quit [Ping timeout: 245 seconds]
Roa has quit [Ping timeout: 264 seconds]
Rojun has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
tjbiddle has quit [Quit: tjbiddle]
sambao21 has joined #ruby
k3rn3lito has joined #ruby
sambao21 has quit [Client Quit]
Roa has joined #ruby
Roa has joined #ruby
Roa has quit [Changing host]
m8 has joined #ruby
mikepack has joined #ruby
sambao21 has joined #ruby
jdolitsky has joined #ruby
kornnflake_zzz is now known as kornnflake
bradhe has joined #ruby
jdolitsky has quit [Read error: Connection reset by peer]
sambao21 has quit [Client Quit]
jdolitsky has joined #ruby
jdolitsky1 has joined #ruby
danneu2 has quit [Ping timeout: 252 seconds]
fphilipe_ has quit [Remote host closed the connection]
jdolitsky1 has quit [Client Quit]
altamic has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
hadees has quit [Quit: hadees]
sepp2k has quit [Quit: Leaving.]
yxhuvud2 has quit [Quit: Nettalk6 - www.ntalk.de]
sandGorgon has quit [Read error: Operation timed out]
motto has joined #ruby
altamic has quit [Read error: Connection reset by peer]
drumsrgr1 has joined #ruby
fphilipe has joined #ruby
m8 has quit [Ping timeout: 252 seconds]
jgrevich has joined #ruby
whitedawg has joined #ruby
generalissimo has quit [Remote host closed the connection]
fphilipe has quit [Remote host closed the connection]
tenmilestereo has joined #ruby
yxhuvud has joined #ruby
colonolGron has quit [Ping timeout: 248 seconds]
realDAB has quit [Quit: realDAB]
sambao21 has joined #ruby
bonhoeffer_ has joined #ruby
happydude has joined #ruby
bonhoeffer_ has quit [Client Quit]
rickmasta has joined #ruby
jeffreybaird has joined #ruby
kofno has quit [Remote host closed the connection]
lkba has joined #ruby
aed has joined #ruby
bubblehead has joined #ruby
Zolo has joined #ruby
jeffreybaird has quit [Ping timeout: 252 seconds]
codecop has joined #ruby
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
wobblini has quit [Read error: Operation timed out]
lewix has quit [Remote host closed the connection]
dcwu has joined #ruby
eAlchemist has joined #ruby
ryanf has joined #ruby
randomor has joined #ruby
as-cii has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
eAlchemist has quit [Ping timeout: 252 seconds]
colonolGron has joined #ruby
ChristianS has quit [Excess Flood]
sepp2k has joined #ruby
ChristianS has joined #ruby
mpfundstein has joined #ruby
markisonfire has joined #ruby
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
sonda has quit [Remote host closed the connection]
<Paradox> somone ping me
<Paradox> ?
kornnflake is now known as kornnflake_zzz
originalcamper has joined #ruby
Zolo has quit [Remote host closed the connection]
atyz has joined #ruby
<originalcamper> is there a preference between using a gemfile or declaring dependencies in a gemspec for a new gem? is there an established best practice for this?
bradhe has joined #ruby
<Hanmac> originalcamper: gemspec are for rake or rubygems, gemfile are for bundler
happydude has quit [Quit: Leaving]
jimeh has joined #ruby
r0bby has joined #ruby
robbyoconnor has quit [Disconnected by services]
r0bby is now known as robbyoconnor
Stilo has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
tommylommykins has joined #ruby
* tommylommykins waves
L4mppu has quit [Quit: Leaving]
L4mppu has joined #ruby
L4mppu has quit [Changing host]
L4mppu has joined #ruby
mockra has joined #ruby
<hackeron> is there some library for Ruby to fork say 100 processes and monitor them and restart if needed? -- I tried God and Bluepill but they had no dependencies (starting 1 process only if another is started) and weren't really suited for more than a few processes (very high CPU load with more than 20 or so).
Eldariof-ru has joined #ruby
<originalcamper> Hanmac: thanks for the response
sgmac has joined #ruby
eldariof has quit [Ping timeout: 276 seconds]
BizarreCake has quit [Ping timeout: 264 seconds]
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
ArchBeOS has joined #ruby
jlast has joined #ruby
blf has quit [Quit: Page closed]
hadees has joined #ruby
chipotle_ has quit [Quit: cya]
lewix has joined #ruby
bouchou has joined #ruby
jeffreybaird has joined #ruby
sgmac has left #ruby ["Leaving"]
matchaw has joined #ruby
BizarreCake has joined #ruby
robbyoconnor has quit [Ping timeout: 276 seconds]
skbierm has joined #ruby
r0bby has joined #ruby
bouchou has quit []
sgmac has joined #ruby
timmow has joined #ruby
jetblack has quit [Remote host closed the connection]
timmow has quit [Remote host closed the connection]
timmow has joined #ruby
drumsrgr1 has quit [Ping timeout: 276 seconds]
hadees has quit [Quit: hadees]
vlad_sta_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
tish has quit [Quit: Leaving.]
r0bby has quit [Ping timeout: 240 seconds]
lewix has quit [Remote host closed the connection]
rickmasta has quit [Quit: Leaving...]
pepper_chico has quit [Quit: Computer has gone to sleep.]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
Morkel has joined #ruby
s3m73x has quit [Quit: I'm using a Free IRC Bouncer from BNC4FREE - http://bnc4free.com/]
BizarreCake has quit [Quit: Leaving]
jimeh has quit [Quit: Computer has gone to sleep.]
pskosinski has quit [Remote host closed the connection]
pepper_chico has joined #ruby
bitZero__ has quit [Quit: leaving]
pskosinski has joined #ruby
aed has quit [Quit: aed]
sandGorgon has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
adkron has joined #ruby
aed has joined #ruby
thone has joined #ruby
shock_one has joined #ruby
Grieg has quit [Read error: Connection reset by peer]
dr0p has joined #ruby
yacks has quit [Quit: Leaving]
Nimsical has joined #ruby
i42n has joined #ruby
skattyadz has quit [Quit: skattyadz]
thone_ has quit [Ping timeout: 264 seconds]
Guest44762 has quit [Ping timeout: 252 seconds]
<i42n> Short question: I added a gem in my Gemfile without specifying a version. Now a 'bundle install' always installs a version of the gem that is a lot older than the newest version listen in rubygems.org. What am I doing wrong?
colonolGron has quit [Ping timeout: 255 seconds]
fschuindt has quit [Quit: Computer has gone to sleep.]
<MrZYX> try bundle update gemname
<i42n> MrZYX: if the gem is not installed yet should bundler not install the newest version by default?
<MrZYX> hm yeah but maybe it is installed and you didn't notice? :P
<MrZYX> other possibility: it is a dependency of another gem you have in which locks it down to that version
germanstudent has joined #ruby
<i42n> MrZYX: how can I check that? Or should a 'bundle update gemname' solve it?
<MrZYX> bundle update might solve it if it's not locked down too much. In any case read your Gemfile.lock
<Hanmac> i42n look at #bundler
<i42n> ok...
<MrZYX> Hanmac just doesn't like bundler ;P
Nimsical has quit [Quit: Computer has gone to sleep.]
<Hanmac> i dont know why i should need it when rake is fine too
pen has joined #ruby
<MrZYX> hm, how does rake solve dependency management?
kofno has joined #ruby
razibog has quit [Ping timeout: 264 seconds]
kornnflake_zzz is now known as kornnflake
sigje has joined #ruby
luisalima has quit [Ping timeout: 245 seconds]
skbierm has quit [Quit: Verlassend]
luisalima has joined #ruby
rickmasta has joined #ruby
<Hanmac> MrZYX: rake does maybe not, but rubygems can
<MrZYX> dependency management of your application, not of the gems your application depends on
happydude has joined #ruby
tealmage has quit [Remote host closed the connection]
marcdel has quit []
marr has joined #ruby
pepper_chico has quit [Quit: Computer has gone to sleep.]
Eldariof-ru has quit [Remote host closed the connection]
<Hanmac> MrZYX: i still dont get it for what accactly i need bundler where rubygems is fine too ... all what you call "application" is a gem for my projects too
tealmage has joined #ruby
markisonfire has quit [Quit: markisonfire]
<MrZYX> bundler doesn't replace rubygems it utilises it. And there are applications you don't want to package as a gem
skattyadz has joined #ruby
eldariof has joined #ruby
kofno has quit [Ping timeout: 264 seconds]
m8 has joined #ruby
blacktulip has joined #ruby
hoelzro|away is now known as hoelzro
marcdel has joined #ruby
tealmage has quit [Remote host closed the connection]
motto has quit [Ping timeout: 264 seconds]
jimeh has joined #ruby
happydude has quit [Quit: Leaving]
brandon has joined #ruby
brandon is now known as Guest71936
<shevy> MrZYX sexy apps?
lethjakman has quit [Ping timeout: 252 seconds]
<shevy> I am not sure why we need bundler either
<MrZYX> so you package everything as gem?
tealmage has joined #ruby
<shevy> yeah
mduvall has joined #ruby
<shevy> actually I use setup.rb for my local things
<shevy> a local ruby script can turn those into gems though and then push to rubygems
yashshah_ has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
lethjakman has joined #ruby
yashshah_ has joined #ruby
artm has quit [Ping timeout: 248 seconds]
ryanf has quit [Quit: leaving]
<shevy> but I usually turn only scripts into gems that could be useful for others
robbyoconnor has joined #ruby
kornnflake is now known as kornnflake_zzz
Guedes0 has joined #ruby
Astral__ has quit [Ping timeout: 245 seconds]
adkron has quit [Ping timeout: 256 seconds]
ToApolytoXaos has joined #ruby
neku has quit [Quit: Leaving...]
artm has joined #ruby
sandGorgon has quit [Ping timeout: 240 seconds]
atyz has quit [Quit: Leaving...]
mikepack has quit [Remote host closed the connection]
<aedornm> It was a '-' ... I spent 3 days troubleshooting an issue because of a '-'!
sandGorgon has joined #ruby
brianpWins has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
generalissimo has joined #ruby
<shevy> haha
<shevy> how that?
<shevy> 5 - 3 ?
jimeh has joined #ruby
<aedornm> no.. -eltorito-platform-efi instead of -eltorito-platform efi
sambao21 has quit [Quit: Computer has gone to sleep.]
avelldiroll has quit [Ping timeout: 245 seconds]
aed has quit [Quit: aed]
samphippen has joined #ruby
shock_one has quit [Ping timeout: 255 seconds]
<shevy> ohhh
<shevy> this is not that uncommon in the universe
<shevy> I compared debian package naming scheme to suse to fedora
<shevy> they all used different names, with differently set '-' in between
tay1 has quit [Ping timeout: 264 seconds]
<shevy> for the same package :\ :/
ziprar has quit [Read error: Connection reset by peer]
bradleyprice has joined #ruby
hubub has quit [Quit: hubub]
vlad_starkov has joined #ruby
brianpWins has quit [Quit: brianpWins]
whitedawg has quit [Quit: Leaving.]
<aedornm> Well, I guess I did catch some other bugs but still... I'm sure it wouldn't have taken 3 days if not for that stupidness.
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lewix has joined #ruby
kornnflake_zzz is now known as kornnflake
Morkel has quit [Quit: Morkel]
vlad_starkov has quit [Ping timeout: 258 seconds]
Tricon has joined #ruby
avelldiroll has joined #ruby
francisfish has quit [Remote host closed the connection]
gregor3005 has left #ruby [#ruby]
francisfish has joined #ruby
jeffreybaird has quit [Ping timeout: 258 seconds]
jeffreybaird has joined #ruby
atal421 has joined #ruby
ChristianS has quit [Excess Flood]
bradhe has joined #ruby
ChristianS has joined #ruby
sambao21 has joined #ruby
atyz has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
eldariof has quit []
randomor has quit [Remote host closed the connection]
m8 has quit [Read error: Connection reset by peer]
m8 has joined #ruby
aLeSD_ has quit [Ping timeout: 260 seconds]
originalcamper has quit [Ping timeout: 245 seconds]
fphilipe has joined #ruby
colonolGron has joined #ruby
senayar has joined #ruby
kornnflake is now known as kornnflake_zzz
sambao21 has quit [Quit: Computer has gone to sleep.]
kornnflake_zzz is now known as kornnflake
roadt has quit [Ping timeout: 264 seconds]
beneggett has joined #ruby
luisalima has quit [Remote host closed the connection]
jeffreybaird has quit [Ping timeout: 258 seconds]
intothev01d has joined #ruby
atyz has quit [Ping timeout: 252 seconds]
pepper_chico has joined #ruby
intothev01d has left #ruby [#ruby]
colonolGron has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
tylersmith has joined #ruby
jeffreybaird has joined #ruby
i42n has left #ruby [#ruby]
toekutr has joined #ruby
sambao21 has quit [Client Quit]
ananthakumaran has quit [Quit: Leaving.]
wobblini has joined #ruby
sambao21 has joined #ruby
neku has joined #ruby
sambao21 has quit [Client Quit]
pitzips has quit [Ping timeout: 252 seconds]
atmosx has quit [Quit: And so the story goes…]
dcwu has quit [Read error: Connection reset by peer]
fphilipe has quit [Remote host closed the connection]
tay1 has joined #ruby
Faris2 has joined #ruby
adambeynon has joined #ruby
sandGorgon has quit [Ping timeout: 258 seconds]
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby
tay1 has quit [Read error: Connection reset by peer]
tay1 has joined #ruby
Faris has quit [Ping timeout: 252 seconds]
atmosx has joined #ruby
atmosx has quit [Client Quit]
atmosx has joined #ruby
bradhe has joined #ruby
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
s1n4 has joined #ruby
atal421 has quit [Ping timeout: 258 seconds]
jeffreybaird has quit [Ping timeout: 252 seconds]
jeffreybaird has joined #ruby
Morkel has joined #ruby
nagahoge has joined #ruby
nomenkun has quit [Remote host closed the connection]
WilfredTheGreat has joined #ruby
<shevy> hmm
<shevy> I feel plateaued
rickmasta has quit [Ping timeout: 248 seconds]
<shevy> should I learn python3 ... should I switch to ruby2 ... should I learn C ... or should I focus on my current ruby projects instead...
jeffreybaird has quit [Ping timeout: 258 seconds]
marcdel has quit []
jeffreybaird has joined #ruby
niklasb has quit [Ping timeout: 252 seconds]
<hoelzro> shevy: learn C!
kraljev3 has joined #ruby
<hoelzro> you can use it anywhere
atal421 has joined #ruby
<MrZYX> shevy: write a way to embed python3 in ruby2 using C!
rippa has quit [Ping timeout: 240 seconds]
<kraljev3> >> require 'date'; Date.new(1970).to_time.to_i
<eval-in> kraljev3 => -3600 (http://eval.in/12926)
<kraljev3> Why don't I get 0
<shevy> hmm 2x C
lguardiola has joined #ruby
<shevy> I think I'll dive into C again, thanks guys
<MrZYX> kraljev3: Timezone?
<shevy> kraljev3 you want the seconds?
<kraljev3> For sure, but how can I avoid that compensation
<kraljev3> i'm representing time intervals, so this gives me headaches
<kraljev3> I want the program to be timezone independent
markisonfire has joined #ruby
<kraljev3> Hm, I'll just subtract the offset
squidBits has quit [Quit: whoops]
artm has quit [Ping timeout: 248 seconds]
eAlchemist has joined #ruby
ToApolytoXaos has left #ruby ["Leaving"]
<shevy> hmm would you guys recommend C + vim? or should I be lazy and use a fat IDE ... :\
<hoelzro> shevy: it works pretty well
<hoelzro> Vim was written with C in mind
tealmage has quit [Remote host closed the connection]
<Catbuntu> Hi
<shevy> ok
<Catbuntu> One question about regex
<shevy> hey Catbuntu
<shevy> Two answers :)
<shevy> one question... two answers... but where is the question!
<Catbuntu> Why does ^(^.*)\.kensaku.(.*) in "blah.kensaku.com" match both blah and com, but ^(^.*)\.kensaku.com/(.*) in blah.kensaku.com/bleh don't work?
<Bofu2U> did you escape the last slash?
<Bofu2U> \/
beneggett has quit [Quit: Computer has gone to sleep.]
<hoelzro> Catbuntu: shouldn't that be [^.]*?
zombiebit has joined #ruby
<Catbuntu> err
<hoelzro> >> 'blah.kensaku.com/bleh' =~ /^(.*?)[.]kensaku.com/(.*)/
<eval-in> hoelzro => /tmp/execpad-947318dac57f/source-947318dac57f:2: syntax error, unexpected '(', expecting keyword_end ... (http://eval.in/12927)
brhelwig has joined #ruby
<Bofu2U> son of a there's a bot in here
<hoelzro> ah, =S
jeffreybaird has quit [Ping timeout: 258 seconds]
<Bofu2U> >> 'blah.kensaku.com/bleh' =~ /^(^.*)\.kensaku.com\/(.*)/
<eval-in> Bofu2U => 0 (http://eval.in/12928)
<hoelzro> >> 'blah.kensaku.com/bleh' =~ %r{^(.*?)[.]kensaku.com/(.*)}
<eval-in> hoelzro => 0 (http://eval.in/12929)
<Catbuntu> uhm
<hoelzro> hmm
<hoelzro> >> 'blah.kensaku.com/bleh' =~ %r{^(.*?)[.]kensaku.com}
<eval-in> hoelzro => 0 (http://eval.in/12930)
<Catbuntu> it's for a RewriteRule really, but the regex should be the same
<hoelzro> so it's not Ruby?
<Catbuntu> I have this: http://paste.ubuntu.com/5623515/
<Catbuntu> Just ignore the Apache things, the regex is the same
Spooner has joined #ruby
<shevy> dunno, it looks different
<shevy> RewriteCond %{HTTP_HOST} ^(^.*)\.kensaku.com
<Bofu2U> Regex isn't ... universal on everything from what I've seen
<shevy> where is the regex in it?
<shevy> /^(^.*)\.kensaku.com/
<shevy> that is it?
zombiebit has quit [Client Quit]
Mattx has joined #ruby
<Catbuntu> yws
zombiebit has joined #ruby
<shevy> dont eat the keys of your keyboard man! :)
<Catbuntu> hahaa
<Catbuntu> *yes
sigje has quit [Quit: Leaving.]
<Catbuntu> if stupidly tired of this stupid thing
<shevy> so the (^.*) part would be available in $1
<Catbuntu> and the stupid people on the Apache channel just say stupid things
<shevy> if it were a ruby regex
<Catbuntu> in %1
<shevy> apache sucks
kofno has joined #ruby
<shevy> bastards changed the config format
colonolGron has joined #ruby
<shevy> thus forcing me to write a ruby script to generate apache conf files for me
<shevy> also made a habit for me to split up a huge httpd.conf into several smaller components
<shevy> all rewrite rules go into rewrite_rules.conf
lewix has quit [Remote host closed the connection]
<shevy> and autogenerated_rewrite_rules.conf
Matip has quit [Ping timeout: 255 seconds]
zombiebit has quit [Client Quit]
niklasb has joined #ruby
gommo has joined #ruby
zombiebit has joined #ruby
zombiebit has quit [Client Quit]
Catbuntu has quit [Quit: Leaving]
jeffreybaird has joined #ruby
L4mppu has left #ruby ["Leaving"]
chetoo has joined #ruby
elaptics`away is now known as elaptics
bigoldrock has joined #ruby
chipotle_ has joined #ruby
chetoo has quit [Killed (idoru (Spam is off topic on freenode.))]
lewix has joined #ruby
madb055 has joined #ruby
bigoldrock1 has joined #ruby
bigoldrock has quit [Client Quit]
atyz has joined #ruby
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
hmarr has joined #ruby
nagahoge has left #ruby [#ruby]
danneu has joined #ruby
atyz has quit [Ping timeout: 258 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
marcdel has joined #ruby
codecop has quit [Remote host closed the connection]
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
kumarat9pm has joined #ruby
Mon_Ouie has joined #ruby
swingha has quit [Quit: WeeChat 0.4.0]
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
generali_ has joined #ruby
kumarat9pm has left #ruby [#ruby]
yashshah_ has quit [Read error: Connection reset by peer]
yashshah_ has joined #ruby
pepper_chico has quit [Quit: Computer has gone to sleep.]
Wardje has joined #ruby
aLeSD has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
generalissimo has quit [Ping timeout: 258 seconds]
MikeH has quit [Quit: ZNC - http://znc.sourceforge.net]
mduvall has quit []
atal421 has quit [Quit: atal421]
chrisja has joined #ruby
pyrac has quit [Quit: pyrac]
jpfuentes2 has joined #ruby
Artheist has joined #ruby
HecAtic has joined #ruby
pepper_chico has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
lewix has quit [Remote host closed the connection]
brhelwig_ has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
_main_ has joined #ruby
drumsrgr1 has joined #ruby
colonolGron has quit [Quit: Lost terminal]
toekutr has quit [Remote host closed the connection]
beneggett has joined #ruby
brhelwig has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
_main_ is now known as __main__
octarine has quit [Ping timeout: 245 seconds]
joofsh has quit [Remote host closed the connection]
Faris2 has quit [Read error: Connection reset by peer]
gommo has quit [Remote host closed the connection]
joofsh has joined #ruby
tealmage has joined #ruby
pepper_chico has quit [Quit: Computer has gone to sleep.]
jdolitsky has quit [Quit: Leaving]
drumsrgr1 has quit [Ping timeout: 258 seconds]
elux has joined #ruby
dr0p has quit [Quit: Wychodzi]
HecAtic has quit [Quit: HecAtic]
brhelwig_ has quit [Remote host closed the connection]
tealmage has quit [Ping timeout: 256 seconds]
slyv has joined #ruby
kraljev3 has left #ruby [#ruby]
<apeiros_> Xeago: wow, I'm surprised a zerg (life) made it to the finals…
felipe_Brz has joined #ruby
<felipe_Brz> any reason why I can't assign the result of a block like this http://pastie.org/6586431 to a variable?
stanzh has joined #ruby
<Xeago> apeiros_: I thought innovation would be in finals, not flash
<felipe_Brz> nvm felipe_Brz
<Xeago> innovation having really nice plays
<apeiros_> btw., is flash sc1/bw flash?
<Xeago> yea
<apeiros_> nice
Nisstyre-laptop has joined #ruby
chipotle_ has quit [Quit: cya]
<Xeago> innovation - MC is gonna be cool as well
rickmasta has joined #ruby
<matti> MC?
<apeiros_> the boss-toos
<Xeago> starcraft 2 player
<apeiros_> *toss
<apeiros_> but I guess the boss toss took a loss ^^
<Xeago> yea he's against innovation for 3rd/4th place
Opettaja has quit [Quit: WeeChat 0.4.0]
blacktulip has quit [Remote host closed the connection]
felipe_Brz has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307122853]]
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
<Xeago> btw, I'm gold again >.<
xeronic has quit [Quit: Ex-Chat]
<Xeago> got placed in gold..
atal421 has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
Nimsical has joined #ruby
<matti> ?
<Xeago> also starcraft 2 stuff :)
<apeiros_> Xeago: well, you'll work your way up again, I'm sure
<apeiros_> since you're not such a lazy-bum like me :D
<Xeago> yea, shame on you
<Xeago> why not ladder more?
<banisterfiend> Xeago: do you think dutch is the PHP of spoken languages
<banisterfiend> ;) </troll>
<Xeago> banisterfiend: not necessarily
<Xeago> I aim for 15 ladder matches a week
<Xeago> in 2-4 sessions
rickmasta has quit [Quit: Be back later]
<Xeago> banisterfiend, apeiros_ up for a multi-mini game in sc2?
rickmasta has joined #ruby
<apeiros_> not now
<Xeago> (Raynors Party fyi)
ryanf has joined #ruby
adkron has joined #ruby
ryanf has left #ruby [#ruby]
atyz has joined #ruby
raggedjack has joined #ruby
marcdel has quit []
kirun has quit [Quit: Client exiting]
earthquake has quit [Quit: earthquake]
etcetera has joined #ruby
floyd has joined #ruby
etcetera has quit [Client Quit]
atyz has quit [Ping timeout: 258 seconds]
icole has joined #ruby
hashmal has quit [Quit: Computer has gone to sleep.]
slapt has joined #ruby
adkron has quit [Ping timeout: 260 seconds]
jdolitsky has joined #ruby
brhelwig has joined #ruby
cyberarm has joined #ruby
hoelzro is now known as hoelzro|away
becom33 has quit [Ping timeout: 260 seconds]
bluOxigen has quit [Ping timeout: 256 seconds]
icole has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
spider-mario has quit [Read error: Connection reset by peer]
cyberarm has quit [Remote host closed the connection]
apeiros_ has joined #ruby
floyd has quit [Quit: Leaving.]
mityaz has quit [Quit: See ya!]
_veer has quit [Ping timeout: 245 seconds]
brhelwig has quit [Remote host closed the connection]
brhelwig has joined #ruby
d2dchat has joined #ruby
shammancer has quit [Ping timeout: 246 seconds]
brhelwig_ has joined #ruby
picca has quit [Quit: Linkinus - http://linkinus.com]
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
BRMatt has quit [Quit: Leaving]
etcetera has joined #ruby
drumsrgr1 has joined #ruby
brhelwig has quit [Ping timeout: 264 seconds]
pettsson has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
jphpsf has joined #ruby
_veer has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
becom33 has joined #ruby
becom33 has quit [Changing host]
becom33 has joined #ruby
bradhe has quit [Remote host closed the connection]
tjbiddle has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
tjbiddle has quit [Client Quit]
francisfish has quit [Remote host closed the connection]
raggedjack has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
ryanf has joined #ruby
_veer has quit [Ping timeout: 258 seconds]
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
jgrevich_ has joined #ruby
marcdel has joined #ruby
_veer has joined #ruby
jgrevich has quit [Ping timeout: 264 seconds]
jgrevich_ is now known as jgrevich
ryanf has left #ruby [#ruby]
anderse has quit [Quit: anderse]
Xeago has joined #ruby
adkron has joined #ruby
tealmage has joined #ruby
Grieg has quit [Client Quit]
jrajav has quit [Quit: I tend to be neutral about apples]
zack has joined #ruby
<zack> Anyone here good with statistics?
sepp2k has quit [Remote host closed the connection]
Davey has joined #ruby
kofno has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
<Turkishviking> maybe
becom33 has quit [Quit: Leaving]
<Turkishviking> what's your problem?
Spooner has quit [Remote host closed the connection]
<zack> Turkishviking: I bought 3 stocks on 1/1/2013. I earned a 10% return. During the same period, the S&P 500 returned 5%. Are my results statistically significant?
Spooner has joined #ruby
lethjakman has quit [Ping timeout: 252 seconds]
mengu has quit [Quit: Konversation terminated!]
Yakko has quit [Remote host closed the connection]
<Turkishviking> you must have more than 3 stocks to make satistics, I don't think that it is significant
<zack> What's the minimum?
drumsrgr1 has quit [Ping timeout: 245 seconds]
<Turkishviking> statistic is a mathemathic tool to study big populations
alanp_ has joined #ruby
<yfeldblum> zack, not really
<yfeldblum> zack, traders sample size: 1; trades sample size: 3
toekutr has joined #ruby
danneu has quit [Quit: WeeChat 0.3.8]
<Turkishviking> I don't know exactly, but for example, to study atomistic (80 particles) , it's not enough to use statistic
jekotia has joined #ruby
hasimo-t has joined #ruby
alanp has quit [Ping timeout: 245 seconds]
<Turkishviking> you have to have much more datas if you want to be significant
ukd1 has joined #ruby
<Turkishviking> else it could be coincidences
aed has joined #ruby
ArchBeOS has quit [Quit: Leaving]
markisonfire has quit [Quit: markisonfire]
slapt has quit [Ping timeout: 276 seconds]
<zack> "more data" is not helpful, the question is precisely what is the minimum amount of data
Cork has quit [Ping timeout: 255 seconds]
davetherat has quit [Read error: Connection reset by peer]
<Turkishviking> it depends on what you work
davetherat has joined #ruby
<tay1> is ruby used for gui apps?
<Turkishviking> but you can consider at least 100
<aytch> tay1: you can use it to create GUI apps
tealmage has quit [Ping timeout: 258 seconds]
<Turkishviking> but the time is important too, to study tendencies for 1 year, you have to have a lot of datas studied on one year
adkron has quit [Ping timeout: 252 seconds]
<Turkishviking> I can't help you more if I don't know on what you work
bradhe has joined #ruby
s1n4 has quit [Quit: peace out]
bradleyprice has quit [Remote host closed the connection]
<tay1> is shoe whats used for gui apps?
sambao21 has joined #ruby
bradhe has quit [Remote host closed the connection]
hakunin has joined #ruby
grzywacz has quit [Read error: Operation timed out]
atyz has joined #ruby
Voting has joined #ruby
subbyyy has quit [Ping timeout: 264 seconds]
<Xeago> tay1: I am a noob, from what I've heard here is that shoe is kinda outdated. you can try java ui stuff with JRuby, or Qt via bindings
wallerdev has quit [Quit: wallerdev]
<MrZYX> there are also GI bindings but last time I looked at them they felt kinda in mature
wallerdev has joined #ruby
joofsh_ has joined #ruby
<shevy> GI string!
<Xeago> What is GI?
<MrZYX> GObject Introspection
<MrZYX> Gtk3, Gstreamer all that stuff
<Xeago> ah ok
Nimsical has quit [Quit: Computer has gone to sleep.]
atyz has quit [Ping timeout: 252 seconds]
joofsh has quit [Ping timeout: 252 seconds]
drumsrgr1 has joined #ruby
Simone has joined #ruby
neku has quit [Read error: Connection reset by peer]
jimeh has quit [Quit: Computer has gone to sleep.]
atal421 has quit [Quit: atal421]
yashshah_ has quit [Read error: Connection reset by peer]
yashshah- has joined #ruby
marcdel has quit []
PhilK has quit [Remote host closed the connection]
etank has quit [Quit: WeeChat 0.4.0]
etank has joined #ruby
justsee has quit [Quit: Leaving...]
PhilK has joined #ruby
randomor has joined #ruby
tealmage has joined #ruby
v0yager has joined #ruby
justsee has joined #ruby
rickmasta has quit [Quit: Leaving...]
mpfundstein has quit [Remote host closed the connection]
sgmac has quit [Quit: Leaving]
jimeh has joined #ruby
bubblehead has quit [Remote host closed the connection]
Cork has joined #ruby
otters has quit [Quit: WeeChat 0.4.0]
otters has joined #ruby
nari has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
tenmilestereo has quit [Quit: Leaving]
pepper_chico has joined #ruby
<apeiros_> Xeago: lol, those new animations are hilarious
<apeiros_> marine getting banelinged - throws over while "melting" away, awesome
m8 has quit [Quit: Sto andando via]
otters has quit [Quit: WeeChat 0.4.0]
otters has joined #ruby
etcetera has quit [Ping timeout: 240 seconds]
slapt has joined #ruby
hmarr has quit []
bradhe has joined #ruby
Simone has quit [Quit: Leaving...]
sheerun has quit [Quit: ZNC - http://znc.in]
drumsrgr1 has quit [Ping timeout: 264 seconds]
bradhe_ has joined #ruby
octarine has joined #ruby
bradhe has quit [Read error: Connection reset by peer]
tish has joined #ruby
Spooner has quit [Read error: Connection reset by peer]
pitzips has joined #ruby
lethjakman has joined #ruby
kofno has joined #ruby
jellosea_ has joined #ruby
<jellosea_> whats the best way to slice an array from an index to the end of the array
hmarr has joined #ruby
<banisterfiend> jellosea_: a[index..-1]
<jellosea_> thankyou!
rickmasta has joined #ruby
fschuindt has joined #ruby
bradleyprice has joined #ruby
Davey has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
jellosea_ has quit [Quit: jellosea_]
nga4 has joined #ruby
freeayu has joined #ruby
drumsrgr1 has joined #ruby
slapt has quit [Ping timeout: 276 seconds]