apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p327: http://ruby-lang.org (ruby-2.0.0-preview2) || Paste >3 lines of text on http://gist.github.com
kascote has joined #ruby
<ddd> bwahahaha, it 404s anyways
<jsilver> what does?
daniel_hinojosa has joined #ruby
<ddd> taht gh link
<ddd> err that
mahmoudi_ has joined #ruby
tenmilestereo[aw has joined #ruby
<ddd> ok, you can quit spamming your chatter now
<autumn> rofl
mephux has joined #ruby
<canton7> "# Ugly mess of a program, I'll admit it" <-- yeah, I'm not touching that, and I don't suspect anyone else will
eroc has joined #ruby
<jsilver> oh that was a joke
<jsilver> i've recently removed that comment. i don't really consider it one
<jsilver> you can mess with it and don't be worried
<jsilver> it won't bite :)
waxjar has joined #ruby
<canton7> also, using ::!!:: as a delimeter? ouch
<jsilver> pushing new version
<jsilver> what's your scientific argument against that?
<jsilver> :)
PetePorty has joined #ruby
PetePorty has joined #ruby
<canton7> it's horrible. using random strings as delimeters is never good. either have a single delimeter with an escape character, or put a structure around the information (instead of encoding the structire in the information), like json
<canton7> *structure
<ddd> its a shitload of text to have to type for ever delimitation you make, random crap doesn't follow any known structure
<ddd> shall i go on?
<ddd> oh canton7 already did
<jsilver> canton7: why? would ::!!:: ever show up in a stream?
<jsilver> have you tried googling for it
<canton7> plus, you're not escaping your delimeter in the text you're sticking between the delimeters
<canton7> I've seen a lot of people go through the "I'll just make up a delimeter" phase, and they invariably move onto better things
<jsilver> it's. 4 bytes.
<jsilver> it's not a shitload
<canton7> and that's for a good reason
<ddd> hmm, not done math on how much that means over time have you
<jsilver> yes, because then someone can type ::!!:: if they need to
<jsilver> which is never
Dario_ has joined #ruby
<jsilver> same as how much 1 vs 2 bytes for text encoding would have meant
<ddd> :shrug: you obviously don't want to hear it, so, off to drinking a beer and watching tv
<canton7> seriously, it's bad design. If you're defending it so strongly, I'm afraid that's another few points against you
cj3kim has joined #ruby
<canton7> yeah, I've heard enough. Beer is a good idea!
<jsilver> same
slainer68 has joined #ruby
<canton7> hmm, also something centralised is never going to take on IRC, precisely because of that
themagiczebra has joined #ruby
jandritsch has left #ruby [#ruby]
jandritsch has joined #ruby
jandritsch has left #ruby [#ruby]
kil0byte_ has joined #ruby
alejandro_ has joined #ruby
friskd has joined #ruby
jfl0wers has joined #ruby
DarkFoxDK has joined #ruby
love_color_text has joined #ruby
felipe_Brz has joined #ruby
ryanlecompte has joined #ruby
<felipe_Brz> hi is there a way to add a module's methods to the global namespace so I don't neet to do FileUtils.foo and FileUtils.bar all the time?
<felipe_Brz> i mean, I want to be able to call the methods in a module without providing the module name
freeayu has joined #ruby
<xybre> felipe_Brz: Adding stuff to the "global" namespace is Bad (tm), but if you have a module or class you can easily include methods using include.
<xybre> felipe_Brz: ex: class Foo; include FileUtils; def whatever; bar # from FileUtils; end; end
<xybre> Extend will work instead if you're doing everything in a class/module definition (class << self) context.
<felipe_Brz> hmm I see
<felipe_Brz> i'm just coding small shell scripts so I'm outside of classes but I guess the effort will probably pay itself in a few minutes hehe
<felipe_Brz> thanks xybre
love_color_text has joined #ruby
<xybre> felipe_Brz: A simple class can really help when writing a script too, you don't need 500 files or anything, it can all be in one small file.
<canton7> you can 'include FileUtils' even if you're not explicitely using classes
jlwestsr has joined #ruby
thams has joined #ruby
<felipe_Brz> canton7: you mean like this? http://pastie.org/5570445
<canton7> yup
verma has joined #ruby
<felipe_Brz> k that'll do for the moment although i know I'll fallback to classes in a few more lines' time =) canton7 xybre
UdontKnow has joined #ruby
moshee has joined #ruby
moshee has joined #ruby
edenc has joined #ruby
nuba has joined #ruby
statarb3 has joined #ruby
statarb3 has joined #ruby
<canton7> felipe_Brz, in fact it's no different really. Without classes, you're writing code/methods/etc in the context of a special "global" class; so you're including FileUtils into that
Dario_ has joined #ruby
whitedawg has joined #ruby
<canton7> If what you're writing is complex, it's probably worth structuring it using classes. But for a simple single-file procedural shell script? nah
seanyo has joined #ruby
yosafbridge has joined #ruby
yosafbridge has joined #ruby
<felipe_Brz> canton7 i see. thank you for helping
<xybre> The "main" object is the object context scripts execute in, so does IRb/Pry. The thing is, it really is global, so it'll be available in any objects you define too, which can lead to unexpected behaviour.
tomoyuki28jp has joined #ruby
kil0byte has joined #ruby
<xybre> pry : def foo; puts 'foo'; end; class Wat; def bar; foo; end; end; Wat.bar #=> 'foo'
<banisterfiend> do this then
<tomoyuki28jp> With rvmsudo prefix, all the commands not found. How can I fix it?
<banisterfiend> extend FileUtils
<banisterfiend> xybre: module Baby; def pig; puts 'hi'; end; end; extend Baby; pig #=> "hi" class Wat; def bar; pig; end; end; Wat.new.bar #=> NoMethodError
pyr0commie has joined #ruby
hotovson has joined #ruby
slainer68 has joined #ruby
v0n has joined #ruby
<xybre> banisterfiend: I meant Wat.new.bar, oops. Your code still runs without error in irb.
<xybre> Oh yeah thats what you meant. :D
robbyoconnor has joined #ruby
<banisterfiend> xybre: hehe my point was you can extend on main instead of include, and u don't pollute global namespace, u just add the methods to main
<banisterfiend> :P
<xybre> banisterfiend: You are correct! Because include runs on Object, which includes it on everything, and extend only works on that one instance of the "main" Object. Good call. :D
<banisterfiend> xybre: ya, you can also just go: def self.foo; puts "hi"; end
<banisterfiend> xybre: instead, that'll put it on main singleton class as well
<xybre> Makes sense
<tomoyuki28jp> 'rvmsudo bundle' returns me 'sudo: bundle: command not found'. How can I fix it?
jmpf has joined #ruby
<xybre> tomoyuki28jp: install bundler?
<tomoyuki28jp> xybre: bundler is already installed.
murz has joined #ruby
hotovson has joined #ruby
tpe11etier_ has joined #ruby
<xybre> tomoyuki28jp: `which gem`
<tomoyuki28jp> xybre: rvmsudo with gem => sudo: with: command not found
<tomoyuki28jp> ah
<tomoyuki28jp> sorry
<tomoyuki28jp> wait a min plz
<tomoyuki28jp> typo
<tomoyuki28jp> xybre: rvmsudo which gem => /home/user/.rvm/rubies/ruby-1.9.3-p327/bin/gem
<banisterfiend> xybre: doesn't make that much sense :P check this out for example
<banisterfiend> xybre: they both define singleton methods on C
<banisterfiend> xybre: C = Class.new; C.instance_eval { def xybre; "xybre"; end } and this: C.instance_eval { def self.banister; "banister"; end }
Iszak has joined #ruby
<xybre> banisterfiend: Yeah I was wondering about that.. I think Ruby is "helping".
<xybre> tomoyuki28jp: and without rvmsudo?
<tomoyuki28jp> xybre: the same output.
<xybre> tomoyuki28jp: did yoy install bundler with sudo? If so, your user might not have execution permissions.
<xybre> s/yoy/you
medik has joined #ruby
medik has joined #ruby
Dario_ has joined #ruby
<tomoyuki28jp> xybre: the wired thing:
<tomoyuki28jp> rvmsudo which rvm => /home/ubuntu/.rvm/bin/rvm
<tomoyuki28jp> rvmsudo rvm => sudo: rvm: command not found
nick_h has joined #ruby
<tomoyuki28jp> xybre: I don't think I installed bundler with sudo.
<xybre> tomoyuki28jp: O_o seppakku and reinstall
jphpsf has joined #ruby
<tomoyuki28jp> seppakku?
<tomoyuki28jp> xybre: reinstall what?
<xybre> `rvm seppuku` uninstalls rvm
<xybre> (I just apparently couldn't spell seppuku)
nouh has joined #ruby
<tomoyuki28jp> xybre: I didn't know there is such command..
pen has joined #ruby
<tomoyuki28jp> xybre: thanks, I'll try.
bigmac has joined #ruby
<xybre> tomoyuki28jp: its also called "implode"
<xybre> And when you reinstall make sure rvm is loaded as a function.
havenn has joined #ruby
<tomoyuki28jp> xybre: How can I make sure this? > rvm is loaded as a function
banisterfiend has joined #ruby
tjasko__ has joined #ruby
<xybre> tomoyuki28jp: it tels you how in the install doc, there's a line you put in your bash start script.
<xybre> You can also reference https://rvm.io/workflow/scripting/
<tomoyuki28jp> xybre: thanks a lot!
swex has joined #ruby
hinmh has joined #ruby
robbyoconnor has joined #ruby
niklasb has joined #ruby
<hinmh> ddd: You still around?
hadees has joined #ruby
reppard has joined #ruby
havenn has joined #ruby
tpelletier has joined #ruby
<tomoyuki28jp> brb
ninegrid has joined #ruby
nerd has joined #ruby
Russell^^ has joined #ruby
postmodern has joined #ruby
Dario_ has joined #ruby
Quadlex has joined #ruby
katze_t4 has joined #ruby
dr_neek has joined #ruby
x82_nicole has joined #ruby
tpe11etier_ has joined #ruby
tjasko__ has joined #ruby
katze_t4 has joined #ruby
nazty has joined #ruby
rellin has joined #ruby
<reppard> .
<Quadlex> -
<reppard> sorry, thats how i see if i am connected after the ol macbook has been closed all day =)
<apeiros_> reppard: you could also just do something which does not show up in a public channel…
<reppard> apeiros_: didn't think one period in the midst of a bunch of network noise was to much of a intrusion
neurotech has joined #ruby
Hanmac1 has joined #ruby
Dario_ has joined #ruby
shamo has joined #ruby
yfeldblum has joined #ruby
love_color_text has joined #ruby
rakl has joined #ruby
gmci has joined #ruby
ryanlecompte has joined #ruby
kevin_ has joined #ruby
Remaps has joined #ruby
<kevin_> i'm trying to install a gem. the first step worked "gem install typhoeus" The second step is giving me an error and I haven't been able to figure out why. The error is
<kevin_> kevin@kevin-VirtualBox ~/ruby/rails/harvardMethod $ sudo gem typhoeus
<kevin_> ERROR: While executing gem ... (RuntimeError)
the_jeebster has joined #ruby
<kevin_> Unknown command typhoeus
<kevin_> anyone know why that might be?
AngeloChang has joined #ruby
<kevin_> I got the same result with " gem typhoeus" (no sudo) and "gem 'typhoeus'"
tjasko__ has joined #ruby
Remaps has left #ruby [#ruby]
kevin_ has joined #ruby
phelps has joined #ruby
nanothief has joined #ruby
stkowski has joined #ruby
cj3kim has joined #ruby
dsdeiz has joined #ruby
fir_ed has joined #ruby
dsdeiz has joined #ruby
The_8472 has joined #ruby
Dario_ has joined #ruby
<shevy> kevin_ did you install typhoeus
<havenn> kevin_: Did you install the gem, I'm confused?: gem install typhoeus
<shevy> kevin_ usually the binary would be called "typhoeus"
keyvan has joined #ruby
<shevy> I dont know anyone doing: "gem typhoeus"
xpen has joined #ruby
<havenn> kevin_: Ohhh, are you looking at Installation section of README.md? The `gem "typhoeus"` is how you include it in a Gemfile. (They mean an alternative way to install from `gem install typhoeus`.)
cableray has joined #ruby
<havenn> kevin_: In irb just: require 'typhoeus'
v0n has joined #ruby
mercwithamouth has joined #ruby
johnmilton has joined #ruby
<shevy> what is better... @right_margin or @rMargin
UdontKnow has joined #ruby
UdontKnow has joined #ruby
havenn has joined #ruby
jmpf has joined #ruby
alexspeller has joined #ruby
<ryanf> shevy: is that a rhetorical question?
<shevy> ryanf no, I look at code written by someone else who is using all sorts of instance variable like @rMargin
<shevy> @rMargin is not that bad, there is also
<eka> shevy: maybe an ex java dev or .net or something
<shevy> @fwPt @fhPt @fw and @fh
<ryanf> ew
<eka> camelcase all over
<shevy> I can figure what he means, format with point, format height point, format width and format height, but it annoys me
<shevy> yeah eka, he also used def FooBla()
<shevy> for ALL the methods
<shevy> *width, not with
<eka> yeah … you can tell, sad
<shevy> ah well, lots of stuff to change, as long as I have beer, I am happy
<shevy> @k
<shevy> :\
<shevy> no idea what this is yet ...
<shevy> aha... a scale factor variable
<eka> shevy: try RubyMine … has refactoring… and you can use it for free for 30 days… :)
<Quadlex> <3 RubyMine
<shevy> hmm ok
<Quadlex> If you can go back in time until last Friday you can get it for 75% off
<speakingcode-wor> vim ftw
Goles has joined #ruby
<shevy> I found that vim gets into the head a lot
<shevy> like you hack into the keyboard a lot machine-like
<shevy> 5dd,p,:15,yy;q!
<shevy> hmm these are fun
<shevy> but the functions, I hate
<speakingcode-wor> never really favored vim until a few months ago
<shevy> function sort() :%!sort endfunction
<shevy> let Tag = ' HR '
<shevy> endif " check on filetype
sayan has joined #ruby
tomoyuki28jp has joined #ruby
Dario_ has joined #ruby
<tomoyuki28jp> xybre: I've re-install rvm and it's rubies, but the problem hasn't solved yet.
freakazoid0223 has joined #ruby
pen has joined #ruby
generalissimo has joined #ruby
ryanlecompte has joined #ruby
charliesome has joined #ruby
iamjarvo has joined #ruby
jenrzzz has joined #ruby
pen has joined #ruby
aedorn has joined #ruby
v0n has joined #ruby
ryanlecompte has left #ruby [#ruby]
havenn has joined #ruby
theRoUS has joined #ruby
thufir_ has joined #ruby
Takehiro has joined #ruby
slash_nick has joined #ruby
dsdeiz has joined #ruby
cakehero has joined #ruby
pcarrier has joined #ruby
Dario_ has joined #ruby
Tabrenus has joined #ruby
radic has joined #ruby
dsdeiz has joined #ruby
matip_ has joined #ruby
alexspeller has joined #ruby
stkowski has joined #ruby
dsdeiz has joined #ruby
yacks has joined #ruby
pen has joined #ruby
pen has joined #ruby
jonathanwallace has joined #ruby
Dario_ has joined #ruby
x42 has joined #ruby
elico has joined #ruby
Spaceghostc2c has joined #ruby
tjasko__ has joined #ruby
My_Hearing has joined #ruby
My_Hearing has joined #ruby
love_color_text has joined #ruby
cableray has joined #ruby
jxriddle has joined #ruby
thams has joined #ruby
havenn has joined #ruby
codezombie has joined #ruby
luckyrub_ has joined #ruby
havenn has joined #ruby
x82_nicole has joined #ruby
Dario_ has joined #ruby
mercwithamouth has joined #ruby
felipe_Brz_ has joined #ruby
sjhuang has joined #ruby
pen has joined #ruby
Shrink has joined #ruby
Shrink has joined #ruby
GreenPlastik has joined #ruby
<GreenPlastik> anyone around for a quick question?
icole has joined #ruby
Shrink has joined #ruby
Shrink has joined #ruby
x82_nicole has joined #ruby
adeponte has joined #ruby
SirRamonGabriel has joined #ruby
Shrink has joined #ruby
Shrink has joined #ruby
<GreenPlastik> anyone around for a quick question about case statements?
<havenn> GreenPlastik: What is the question?
<GreenPlastik> for whatever reason, it wont compare x<1 or x>=30
<GreenPlastik> so setting x to 0 or setting x to 40, will output the else
sjhuang has joined #ruby
blakeeb has joined #ruby
<havenn> GreenPlastik: Internally, case uses threequal operator, e.i., (1...2) === 1 #=> true
<GreenPlastik> interesting. so how would i check for x being less than 1 or greater than or equal to 30?
<havenn> GreenPlastik: What follows 'when' needs to be threequal to x. You prolly need to use an if statement instead of case for what you're wanting to do.
<GreenPlastik> ah ok
<GreenPlastik> so a long chain of if, elsif, else, end?
kil0byte_ has joined #ruby
cj3kim has joined #ruby
<havenn> GreenPlastik: Or you could: if x < 1; "400"; elsif x >= 30; "60"; else; case x...
<havenn> GreenPlastik: The < and >= just can't be a case.
<GreenPlastik> oh yeah
staafl has joined #ruby
<GreenPlastik> worked perfectly
Dario_ has joined #ruby
dsdeiz has joined #ruby
<GreenPlastik> havenn: thank you
<havenn> GreenPlastik: No prob, happy hacking!
dkannan_ has joined #ruby
kil0byte has joined #ruby
akam-it has joined #ruby
<akam-it> hello
ananthakumaran has joined #ruby
<akam-it> can I store data in hash like this?
<akam-it> connect = {}
<akam-it> connect['user1'][0] = ['10:00','11:00']
<akam-it> connect['user1'][1] = ['15:00','17:30']
<akam-it> etc..?
<akam-it> Or may be there is another way?)
sjhuang has joined #ruby
<havenn> akam-it: Would work if you put a `connect['user1'] = {}` after the `connect = {}`.
<akam-it> havenn, thank you
cj3kim has joined #ruby
dsdeiz has joined #ruby
adeponte has joined #ruby
thams has joined #ruby
arietis has joined #ruby
pen has joined #ruby
sjhuang has joined #ruby
Dario_ has joined #ruby
wookiehangover has joined #ruby
icole has joined #ruby
sayan has joined #ruby
cableray has joined #ruby
beneggett has joined #ruby
Solnse has joined #ruby
nomenkun has joined #ruby
dkannan_ has left #ruby [#ruby]
cj3kim has joined #ruby
Goles_ has joined #ruby
thams has joined #ruby
Dario_ has joined #ruby
dkannan has joined #ruby
dkannan has left #ruby [#ruby]
mafolz has joined #ruby
adeponte has joined #ruby
postmodern has joined #ruby
love_color_text has joined #ruby
Gooder has joined #ruby
emmanuelux has joined #ruby
toekutr has joined #ruby
sayan has joined #ruby
cj3kim has joined #ruby
JohnBat26 has joined #ruby
samuel02 has joined #ruby
Dario_ has joined #ruby
yacks has joined #ruby
robustus has joined #ruby
mrdtt has joined #ruby
elsifaka has joined #ruby
tjasko__ has joined #ruby
maesbn has joined #ruby
jeskola303 has joined #ruby
Gooder has joined #ruby
xorigin has joined #ruby
mrdtt has left #ruby [#ruby]
Dario_ has joined #ruby
solidresolve has joined #ruby
dsdeiz has joined #ruby
<dsdeiz> hi all, is there a way to replace specific characters inside a match when using gsub?
<swarley> dsdeiz; what do you mean?
<dsdeiz> this was my stack overflow post http://stackoverflow.com/questions/14013971/ruby-gsub-and
<dsdeiz> i'm trying to replace '<' and '>' inside the match (.*?)
<swarley> hm. That's a job for a parser.
<swarley> At the point when you get into state mattering, that usually calls for more than regex
mercwithamouth has joined #ruby
<swarley> dsdeiz; you may want to ask #regex
<swarley> They might be able to help
<dsdeiz> ok, got it
<Paradox> dsdeiz, hmm
<Paradox> hold on
<Paradox> im decent with regedarek
<Paradox> ಠ_ಠ
<Paradox> sorry ryanf
solidresolve has joined #ruby
<Paradox> gdamnitantakjdshf
<Paradox> ah nevermind
<Paradox> looks like there are some good answers
<dsdeiz> i was wondering if i can do another gsub inside the gsub block
maesbn_ has joined #ruby
<dsdeiz> but im new to ruby too xD
xpen has joined #ruby
solidresolve has joined #ruby
Slivka has joined #ruby
<dsdeiz> how do i use gsub as a block? do i include the replacement?
eldariof has joined #ruby
xorigin has left #ruby [#ruby]
pencilcheck has joined #ruby
GeekOnCoffee has joined #ruby
Takehiro has joined #ruby
vlad_starkov has joined #ruby
hamed_r has joined #ruby
rippa has joined #ruby
Takehiro has joined #ruby
Dario_ has joined #ruby
xpen has joined #ruby
<Hanmac1> dsdeiz: depends on yoru regex
<ryanf> Paradox: it's ok ;)
<dsdeiz> ooh, i think i got it. is this correct? http://pastebin.com/cLAx9X1J
marr has joined #ruby
<Paradox> dsdeiz, open irb/pry and play around with it
<dsdeiz> the one i posted works though i dunno if it has any 'side effects'
<Hanmac1> dsdeiz: what about that: "<pre>#{str.match(/<foo>(.*?)<foo>/m)[1].encode(:xml => :text)}</pre>"
ninegrid has joined #ruby
<dsdeiz> damn it. i've been trying to figure it out all night and you did it in a few minutes xD
<Hanmac> information: my code only works on 1.9+
blaxter has joined #ruby
<dsdeiz> works here on my end. thx!
<Hanmac> dsdeiz you could look at nokogiri it can build the html for you
Takehiro has joined #ruby
tjasko__ has joined #ruby
Vert has joined #ruby
h4mz1d has joined #ruby
<Paradox> noko is quite nice too
tvw has joined #ruby
solidresolve has joined #ruby
stayarrr has joined #ruby
Aqua has joined #ruby
<Aqua> so if i'm interesting in getting in rails
<Aqua> and i have no ruby experience, is that a rather bad idea?
<Hanmac> Aqua: yes and no ... it is not an bad idea to learn ruby, but imo its a bad idea to do rails before ruby
<Aqua> Hanmac: my boss really wants me to learn it, justifying it too me because i have C experience
solidresolve has joined #ruby
Jasko has joined #ruby
<Hanmac> Aqua than imo learn ruby first, than rails ...
<Hanmac> PS: C experience can help you, because stuff like sprintf are nearly similar (and you could extend ruby with your C-Skills)
<Aqua> Hanmac: i'll will take that advice then
dross has joined #ruby
Dario_ has joined #ruby
<Paradox> get a copy of the pickaxe book
<Aqua> was about to ask for starting resources
phelps has joined #ruby
<Aqua> is the book current for ruby 1.9?
dross has joined #ruby
<Aqua> if you don't know i'll dig
<Hanmac> Aqua: you could look at http://www.ruby-lang.org/en/documentation/ , there are starting and "Ruby from Other Languages" sections that may interesting for you
<Paradox> best book
<Paradox> doesnt read like an o'reiley book
<Paradox> (i've always found the Oreiley books good references but bad learning materials
dross has joined #ruby
<Aqua> thank god, thoes books are terrible
<Aqua> yea, great reference, bad learning
<Paradox> get that
<Paradox> and then if you want rails
<Paradox> the PragProg rails book is excellent
<Paradox> speaking of rails
<Aqua> i'm actually getting that book as we speak
<Paradox> sublimetext has some nice rails plugins finally
<Paradox> Rails Navigator is amazing
<Paradox> bind each lookup to a key combo starting with ^R
<Aqua> gotta love ebooks
<Paradox> so i can view all my views via ^r ^v
<Paradox> and models via ^r ^v
<Paradox> erm
<Paradox> no
<Paradox> ^r ^m
<Paradox> etc
<Paradox> rails latest migration
<Paradox> rails partial
<Paradox> simple rails navigator
<Paradox> and a custom bundle build so i can build automatically
adambeynon has joined #ruby
<Aqua> well i'm not reading this tonight my ipad is dead
<Paradox> an ip ad
<Aqua> eh i got it free from work
<Aqua> don't care for it that much
<Aqua> our network is iOS only for mobile email
<Paradox> im a staunch android fan
<Paradox> i also really like webOS
<Paradox> but thats going nowhere
<Aqua> ya, webos was nice
<Aqua> I have 2 hp tablets i rooted for cyanogen
<Paradox> palm wasnt big enough to compete with google and apple
<Paradox> and HP was too stupid to compete with google and apple
Jasko has joined #ruby
<Aqua> they needed to give those things away to start
<Aqua> to get market share
grzywacz has joined #ruby
<Paradox> they didnt give enough to devs
<Paradox> so there weren't enough apps
<Paradox> the hardware was utter shit
<Aqua> it was faster than the androids of the time
cousine has joined #ruby
<Aqua> and it doesn't have the laggyness and bloat that all the androids too...
<Aqua> i swear motorola can take a pure google rom, quad core and make it run like a first gen android build
<Paradox> hell
jianxioy has joined #ruby
<Paradox> moto, in terms of hardware, is still the best
<Paradox> their software is just crap
<Paradox> they are the only one to actually fucking respect hardware buttons
<Aqua> yea, but they have to get away from that droid sense stuff
<Paradox> samsung, htc, and LG are still stuck in 2010
<Paradox> with their fucking physical buttons
<Paradox> come on guys
<Aqua> you played with the dna?
<Paradox> the Xoom came out in 2011
<Paradox> its time to dump your shitty buttons
<Paradox> its been 2 years
cj3kim has joined #ruby
jimeh has joined #ruby
<Aqua> i'd have a droid maxx if it wasn't work work forcing iphones
<Paradox> i have a galaxy nexus
<Paradox> and its quite nice
<Paradox> but im completely unimpressed by the nexus 4
<Aqua> i've heard that
<Paradox> google's getting a "dont buy even nexus" rule
<Paradox> neuxs 1: awesome, set the standard for android for a long time
elkclone has joined #ruby
<Paradox> nexus s: bleh, only interesting thing is NFC
<Paradox> Galaxy Nexus: awesome phone, new OS , new hardware design, fuck yaeh
<Aqua> NFC don't blow my shorts up
<Paradox> nexus 4: you should have just bought an iPhone if you want something that locked up
<Paradox> i call it the Nexus 4S
<Paradox> it pisses off fanboys
<Paradox> glass back
<Paradox> nonremovable battery
statarb3 has joined #ruby
<Paradox> fixed storage
statarb3 has joined #ruby
<Paradox> (at a teeny amount)
<Aqua> Android 4s
<Paradox> and screen with terrible color contrast
<Paradox> its essentially a big iPhone
<Aqua> i don't mind my iphone 5 its better than the 4s (glad google maps are back)
<Paradox> thats another thing that pisses me off about android
<Paradox> google seems to neglect us all the time
<Paradox> sure we get an app first
<Paradox> sometimes
<Paradox> but its usually inferior to the app that eventually launches on iOS
<Paradox> maps is yet another example
<Paradox> android maps has had the same tired UI and whatnot since 2.0
<Paradox> iOS maps is gorgeous
katze_t4 has joined #ruby
<Aqua> they are trying to outdo apple there
<Aqua> you know what thats about
<Paradox> yeah
<Paradox> but why not improve android while you're doing it
<Paradox> instead we get an ugly turd
<Paradox> its yet another example of the google 60% problem
<Paradox> get 60% to utter awesomeness
<Paradox> then just abandon it
<Paradox> they did it with talk
<Paradox> voice
<Paradox> wallet
<Paradox> now maps
<Aqua> body
<Aqua> they do abandon stuff left and right
Takehiro has joined #ruby
<Paradox> its not just android
<Paradox> they do it everywhere
<Paradox> play books is shit compared to iBooks
<Paradox> i shouldn't need 2 book apps
<Paradox> one to read google books
<Paradox> the other for epubs
<Paradox> chrome is ultra laggy
<Aqua> chromes gotta bad...
<Aqua> gotten*
<Paradox> on android
<Paradox> on desktop its still the best
nemesit has joined #ruby
<Aqua> its slower on desktop then it used to be
<Paradox> still faster than firecock
<Aqua> i played with opera for a while
<Paradox> i hate opera because it does derpy crap with the CSS
<Paradox> and always has
<Aqua> yea
<Aqua> that was my complaint
slash_nick has joined #ruby
<Paradox> took them 7 years to get fucking border-radius implemented
<Paradox> people kept asking for it
<Paradox> and they kept ignoring it
<Paradox> then Acid3 added it to the test
<Paradox> and they shit themselves and rushed ahead to add it
<Paradox> no
<Paradox> they will spend time working on some crap no one uses like TV stylesheets
Dario_ has joined #ruby
<Paradox> while ignoring stuff every dev uses
<Paradox> like box-shadow
<Paradox> box-sizing
<Paradox> border-radius
<Paradox> resize:
<Paradox> etc
<slash_nick> Seems paradoxical...
Neomex has joined #ruby
<Aqua> thats the right book right?
ikaros has joined #ruby
rdark has joined #ruby
nari_ has joined #ruby
x82_nicole has joined #ruby
LouisGB has joined #ruby
Guest25886 has joined #ruby
Jasko has joined #ruby
<Paradox> uh
<Paradox> Aqua, yup
adeponte has joined #ruby
pen has joined #ruby
* Hanmac never buyed an ruby book ...
Goles has joined #ruby
<Paradox> really though
banisterfiend has joined #ruby
<Paradox> the best way to learn is just grab pry and play around in the console
<Aqua> eh i have to spend an hour a night reading anyway
<Aqua> before i go to bed
<Aqua> and my boss just payed for it
<Aqua> rofl
Goles__ has joined #ruby
<Aqua> takes me an hour to calm down to i can sleep, so if it does that, it was worth the money
jianxioy has joined #ruby
<Aqua> ty for the tips guys
Goles__ has joined #ruby
<Paradox> ruby is an awesome language anyway
<Paradox> very easy to pick up
<Paradox> but if you know other languages
<Paradox> i have one piece of advise
<Paradox> only remember a vague way of how the language works
Goles_ has joined #ruby
<Paradox> there is a good chance ruby does something differently
<Paradox> given time you may come to think that the ruby way is better
<Paradox> i certainly do
<Paradox> ruby enumerable methods > for or any list comprehension
Goles has joined #ruby
<Paradox> python tards always get butthurt when they cant figure out how to iterate over a list
sepp2k has joined #ruby
<charliesome> python is a language for non-programmers
Goles has joined #ruby
jianxioy has joined #ruby
<slash_nick> it's easy... @array.first, @array.second, @array.third, @array.fourth... and so on
EhyehAsherEhyeh has joined #ruby
* slash_nick forgets people live in different time zones... a little delirious in CST
<Hanmac> slash_nick so you want us to impl ".second" etc for Array (and Enumerable)?
<Paradox> charliesome, no, python is a language for "1337 uber CS Studntz'
* slash_nick also forgets there's a few CSTs
<charliesome> Paradox: My First Programming Language
<slash_nick> Hanmac: No, I was just being goofy...
<Paradox> charliesome, the only thing worse than python is the python community
<slash_nick> Although I would be tickled if I asked for #second and it knew what I meant
<slash_nick> "it"
<ryanf> I think rails has that
<charliesome> Paradox: i don't have much experience with the python community, what's the deal?
<charliesome> all i know is that it's not a very good language
Goles_ has joined #ruby
<Paradox> charliesome, well, other than a few exemplary individuals, they are some of the most bigger, assholish neckveards you've ever met
<Paradox> i used to work for reddit
<Paradox> and dear god
<Paradox> have a basic python question
<Paradox> and they fucking shit all over you
<Paradox> the old reddit admins are excellent guys
<Paradox> but for the most part
<Paradox> the python community is just crap
<Paradox> and it absolutely infuriates them that rails and ruby are as successful as they are
<Paradox> i hear "django is as good as rails!" all the time
<charliesome> that makes me happy
<Paradox> and chuckle
<Paradox> because its not
<charliesome> is there such a thing as a little sibling complex
<Paradox> younger partner syndrome
<Paradox> yes
<charliesome> because i see the exact same thing in android vs ios
<slash_nick> ryanf: was that a joke???
<Paradox> meh, i like android
<charliesome> i have a galaxy s 2
<charliesome> never again
<Paradox> did you root it?
<charliesome> yep
<ryanf> slash_nick: no
<charliesome> only way i could get ics
<Paradox> eh
<Paradox> milage varies per person
<charliesome> but if you go to r/android, half the posts are about ios/apple
<Paradox> r/android is stupid
<charliesome> if you go to r/apple, not a single android mention
<Paradox> like most of reddit
<ryanf> uh, I dunno why google gave me 2.3.8
<ryanf> but you get the idea
<charliesome> haha
<Paradox> the only reason i still use reddit is
<Paradox> nothing better has come along
<slash_nick> ryanf: that's ridiculous! :)
<charliesome> reddit has some good content
beiter has joined #ruby
<Paradox> as a demonstration of a class i helped teach about rails
<Paradox> i built a rails clone
<Paradox> in class
<Paradox> erm
<Paradox> a reddit clone
<Paradox> in rails
<Paradox> in class
<Paradox> over 2 weeks
<charliesome> nice
<Paradox> the kids were like "wtf how!"
<charliesome> my first ever rails app was a reddit clone
<Paradox> my first rails app was an ecommerce site
<Paradox> ugh
<Paradox> fuck paypal
<Paradox> with a spoon
<Paradox> whoever thought of IPN should be shot
<Paradox> basically here's how IPN works
<slash_nick> Mine was the old depot app... book store thingy
<Paradox> in traditional terms
<Paradox> you go to pay a guy
Dario_ has joined #ruby
<Paradox> he scans your credit card
<Paradox> takes your money
<Paradox> but…
<Paradox> you then hang up on his bank
<Paradox> and then wait for them to call back and say its ok and the payment went through
<charliesome> yeah i've worked with it before
<charliesome> it's horrid
<Paradox> the concept of server-client responses is completely lost on paypal
<Paradox> its fucking goddamn stupid
<Paradox> if i make a request
<charliesome> express checkout is decent
<Paradox> i should get a useful response
<Paradox> i have to use Mass Payment API at my current job
<Paradox> and its a fucking nightmare
<Paradox> even with ActiveMerchant
<Paradox> im trying to get them to switch to Google Checkout
<Paradox> but we have legacy users
xaq has joined #ruby
<slash_nick> Got lucky on my last app... We submitted payments to 2 different entities, but didn't process any money directly...
<Paradox> one of the nastiest issues i ever ran into was
<slash_nick> shameless plug: mrarlo.com
<Paradox> trying to run code through both markdown AND liquid
<Paradox> works fine
<Paradox> except i was having a problem with one post
yshh has joined #ruby
<Paradox> it had a bunch of {k} and whatnot in it
<Paradox> because it was some shell script
<Paradox> liquid thinks {} are template tags
<Paradox> even though it was in a markdown ``` code block
<slash_nick> aw
<Paradox> the eventual solution was
<Paradox> gsub any block of ``` with surrounding {raw} tags
<Paradox> then parse through liquid
<Paradox> then parse through markdown
<Paradox> and smartypants
<charliesome> haha ew
<Paradox> yeah ew
<Paradox> but it solved it
<Paradox> its for a blog application
<slash_nick> one of those "dear lord may I never have to do anything this way again"
<Paradox> so its not like it needs to be done that often
<Paradox> i stuck a rails cache block around it because it felt so dirty
<Paradox> and because it took like 300ms to render
<Paradox> the end result is pretty though
<Paradox> i use it in my personal blog
<charliesome> i have a dodgy regex in my personal blog to do syntax highlight in markdown
<Paradox> sigh, i still need to figure out why pjax broke
<charliesome> markdown source.gsub(/^ \\[a-z]+\s*\n( .*(\n|$))*/) { |snippet|
<Paradox> try that
<Paradox> well
<Paradox> you can throw away the liquid parts if you dont need them
<Paradox> the important part is the CustomHTML class
<Paradox> one of my first ever apps was a simple redis-based pastebin
<slash_nick> pastefart? lol
<Paradox> yup
Vainoharhainen has joined #ruby
<Paradox> it fades away like a fart
<charliesome> my fart is at
<Paradox> 6jy9rf186n0gpz2x
<Paradox> i just made one
<Paradox> thats the paste and its password
<slash_nick> I like hastypasty ... can I rename it?
<Paradox> sure
<charliesome> i made a pastebin once
<Paradox> its just a simple sinatra app
<slash_nick> ah fuck it pastefart's great :)
<charliesome> http://eval.in/
<Paradox> it was something i coded up in 30 minutes
<Paradox> just to learn sinatra
<slash_nick> "Time limit exceeded wall clock"
<slash_nick> Had to try something stupid in there
<Paradox> ?
<Paradox> what
Jasko has joined #ruby
<slash_nick> Just wanted to see how it would handle a script that took a while to run...
<Paradox> oh
<Paradox> pastefart just dumps whatever into the DB
<Paradox> after escaping it
lemonsparrow has joined #ruby
<lemonsparrow> I installed rvm using curl -L get.rvm.io | bash -s stable and then when I do rvm in the termilnal I get bash: rvm: command not found
pen has joined #ruby
berserkr has joined #ruby
emocakes has joined #ruby
Gooder has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
ikaros has joined #ruby
<slash_nick> win 1
<slash_nick> lemonsparrow: did you get sorted out?
Goles has joined #ruby
<lemonsparrow> slash_nick: yes I ran To start using RVM you need to run `source /etc/profile.d/rvm.sh` in all your open shell windows, in rare cases you need to reopen all shell windows.
<lemonsparrow> slash_nick: thanks :)
Guest69746 has joined #ruby
<Hanmac> Paradox & slash_nick http://eval.in/5245
<Aqua> so much for going to bed..
<Paradox> xd
<Aqua> nagios woke me up
postmodern has joined #ruby
<lemonsparrow> when I am trying rvm install 1.9.3
<lemonsparrow> rvm install 1.9.3 No binary rubies available for: downloads/ruby-1.9.3-p327. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Fetching yaml-0.1.4.tar.gz to /usr/local/rvm/archives % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 460k 100 460k 0 0 110k 0 0:0
<lemonsparrow> I get o/p like this
<slash_nick> Hanmac: you crazy :)
<lemonsparrow> getting tee: standard output: Broken pipe tee: write error in b/w the o/p
hamed_r has joined #ruby
<slash_nick> b/w the o/p?... black and white, output?
<Paradox> should switch to rbenf ¬_¬
lolmaus has joined #ruby
<slash_nick> Paradox: that's the first I've heard of it... rbenv you mean, right?
<slash_nick> read the readme
<slash_nick> err, not all of it... but y'know
<Paradox> yeah
<Paradox> just hit f because its a fun letter
<postmodern> Paradox, no, you probably want to switch to chruby. https://github.com/postmodern/chruby#readme
<slash_nick> f is for fun
Goles_ has joined #ruby
<postmodern> slash_nick, checkout chruby instead, rbenv has it's own edge-cases
<slash_nick> geezes... how many alternatives are there
<charliesome> i don't see why rbenv is so great
<postmodern> charliesome, me neither
<slash_nick> FWIW I haven't had a qualm with rvm yet
<charliesome> use chruby if you want something simple, use rvm if you want something powerful
<charliesome> yeah i have never had a problem with rvm
<slash_nick> the opposite actually
<postmodern> charliesome, it's pretty big for claiming to be a smaller alternative to rvm
<slash_nick> lemonsparrow: .... how's it going?
* Hanmac lives without chruby or rbenv or rvm
Dario_ has joined #ruby
<charliesome> Hanmac: do you just use one ruby?
<slash_nick> Hanmac: dark ages?
<postmodern> Hanmac, yeah if system ruby suits your needs use it
<Hanmac> slash_nick my system ruby is 1.9.3
<postmodern> Hanmac, fwiw i use Fedora 17 which provides ruby 1.9.3-p327 as the default ruby
gyre007 has joined #ruby
<charliesome> Hanmac: get with the times, 2.0.0-preview2 is out :p
<slash_nick> postmodern: os x comes with it as well
<charliesome> os x comes with 1.8.7
tintin has joined #ruby
<postmodern> slash_nick, when? i thought osx was still on 1.8.7?
<slash_nick> "it" == ruby, sorry
tintin has left #ruby [#ruby]
<charliesome> postmodern: it is
<postmodern> slash_nick, or did you install ruby via homebrew
<charliesome> system ruby is there for the system
<charliesome> the fact you can use it is a side effect
<slash_nick> postmodern: I just meant it comes with ruby... did not mean to be version specific about it
<postmodern> slash_nick, ah yeah, and it sucks you can't upgrade it
<postmodern> slash_nick, unlike with Ubuntu, Fedora, Gentoo, Arch Linux
<slash_nick> Hanmac: What charliesome said: Do you use just one ruby?
<postmodern> users don't nee more than one version of ruby
<charliesome> os x has ruby scripts in it
<Hanmac> slash_nick the world may not end yet, but my support for 1.8 does
wermel has joined #ruby
<slash_nick> Just wondering... I often switch between ruby and jruby
<Hanmac> jruby does not support my gems so i does not support jruby
<csmrfx> lol "support my gems"
<csmrfx> Hanmac: are there problems with jruby and rubygems?
Astral_ has joined #ruby
Goles has joined #ruby
<charliesome> Hanmac: wat
<charliesome> it's the other way round
<Hanmac> csmrfx google "C-Extendsion"
<csmrfx> ah
<charliesome> what c extensions do you use/
<slash_nick> There are problems with jruby and rubygems... yes... specifically 'pry', unless something has changed there
<Hanmac> GUI-Toolkit, 3D-Engine, ingame-toolkit
<charliesome> slash_nick: pry works fine on jruby?
<postmodern> jruby 1.7.0 no longer supports C extensions
<slash_nick> charliesome: nope
<postmodern> you should instead use FFI bindings
<charliesome> what doesn't work
Goles_ has joined #ruby
<charliesome> Hanmac: what postmodern said
<Hanmac> postmodern: haha, show me how to bind an lib like wxWidgets or Ogre3d with FFI allone :D
<slash_nick> charliesome: pry has added the following nonsense to my workflow, whenever I hit "binding.pry" in rails console/server...
<postmodern> Hanmac, show me where you're having problems
<slash_nick> Ctrl+Z... ps aux|grep rails... kill -9 <whatever pid> ... bundle exec rails c/s
<charliesome> hm, how come?
<charliesome> does it just lock up?
Goles__ has joined #ruby
<slash_nick> Basically, Ctrl+C no longer does ANYTHIGN
<Hanmac> postmodern: first show me how to bind C(++) libs with FFI
<slash_nick> so I have to use Ctrl+Z... the process is left running, so I have to find and kill it...
hotovson has joined #ruby
<charliesome> interesting
<slash_nick> It's specific to jruby... something to do with that "load_traps" bit
Goles__ has joined #ruby
<charliesome> haha, os x has some shonky ruby in it
<postmodern> Hanmac, all C++ libraries should provide a C API for backwards compatibility
<banisterfiend> slash_nick: how does pry break on jruby?
<csmrfx> perhaps JNI might work, too
<Hanmac> postmodern and what if not?
<charliesome> banisterfiend: woah
<charliesome> banisterfiend: that was like how headius appears whenever someone mentions jruby
<postmodern> Hanmac, you submit a feature request
<postmodern> Hanmac, just like if the library doesn't provide a *version* variable/function
<banisterfiend> hehe
malte_ has joined #ruby
<slash_nick> banisterfiend: I just described it :) ... when console/server stops at "binding.pry", Ctrl+C ceases to work... therefore I have to kill the server/console with Ctrl+Z, which leaves the process running
Goles has joined #ruby
<Hanmac> postmodern i think you dont understand ... some things of C++ cant be ported into C for FFI
<slash_nick> So I then need to find and kill the process manually
<banisterfiend> slash_nick: ah yeah, i remember
<banisterfiend> slash_nick: that's only recent versions of jruby though right?
<postmodern> Hanmac, no, but they can provide an "extern C { ... }" API which FFI can use
<slash_nick> banisterfiend: that's right... Last I tried was 1.7.1 and the problem was still there
<slash_nick> haven't tried jruby-head lately
<postmodern> Hanmac, all C++ libraries should expose a C API
<postmodern> Hanmac, and most library maintainers will add it if you request it
Jasko has joined #ruby
<postmodern> Hanmac, this is the nature of open source, if someone is missing, you request it, and usually it gets fixed/added
Goles_ has joined #ruby
<postmodern> Hanmac, s/someone/something/g
<charliesome> holy crap, OS X comes with a rails app called device manager in /usr/share/devicemgr
<charliesome> i wonder what it does
<slash_nick> manages devices, i hope
<Hanmac> you still dont get it right? there are stuff that CANT be ported into C like templates
<Aqua> manager devices?
<charliesome> it also comes with thin 1.2.7
<charliesome> vendored into that app
<postmodern> Hanmac, no you still don't get it
<postmodern> Hanmac, you define an extern "C" { } API that _wraps_ around the C++ API
Goles__ has joined #ruby
<charliesome> Paradox: i don't think that's it
<charliesome> i'll start it up and see what happens
<Paradox> i dont have it in my usr/share
<charliesome> really?
<charliesome> what os x?
<Paradox> 10.8
<charliesome> i'm on lion
<Aqua> they change it in 10.8 i beleive
<Aqua> *changed
<charliesome> ok it won't start because it relies on postgresql
<charliesome> how weird
<slash_nick> boooo
<slash_nick> anticlimactic
<csmrfx> profile manager
<slash_nick> I wanted to see some devices being managed
Goles has joined #ruby
<csmrfx> (OSX Lion)
<charliesome> i'll point it at my mysql installation and see if that works
<Aqua> slash_nick: you should install windows
<slash_nick> Aqua: lol
<postmodern> Aqua, or ubuntu :P
<slash_nick> Aqua: I put that behind me
<Paradox> charliesome, just read the source and see if it says what it is
<Aqua> slash_nick: ensure its version 8 (the great version)
<charliesome> the source is large
<csmrfx> uh, or is that called System Profiler
<Paradox> go there
<Aqua> eh i still use it for work
<charliesome> oh interesting
<Aqua> I really wanna go mac
<slash_nick> Aqua: It's been 5 years since I've booted windows
<Paradox> i hate windows
<Paradox> its so ugly
<Hanmac> postmodern it is still shitty when you need to make an C-Function for every C++ function
<Aqua> I hate windows too
<csmrfx> select "About This Mac" from the Apple menu and then click the "More Info..." button and it will launch ASP for you
Goles has joined #ruby
<postmodern> Hanmac, it's called backwards compatibility, welcome to the world of C/C++ :P
<slash_nick> I took a class in school that taught ruby/rails... first week: installed ubuntu over XP AND bought a macbook
<Aqua> i just can't go linux
<slash_nick> now it's been 5 years without windows
<postmodern> Hanmac, also MRI's C-extension API doesn't support C++, so you have to wrap every C++ method in a C function for MRI
<Hanmac> postmodern: what about template functions? like any.getAs<Type>()
<postmodern> Aqua, what do you deploy to?
<Aqua> I could go mac and not go back but mac desktops are so $$$$
<csmrfx> you can go linux
<Hanmac> postmodern: i use macros for automatic generating C functions from C++ methods
Goles has joined #ruby
<Aqua> eh, I have to manage people with windows all day
<Aqua> and windows servers
<Aqua> and vmware
<slash_nick> Aqua: that macbook still runs well... can still develop with it, though there's no reason too with the other machines around
<Paradox> its something to do with OS X server edition
<Paradox> and profile manager
<postmodern> Hanmac, MRI forces you to define everything in C, so might as well just embrace C
<charliesome> Paradox: this reinforces my opinion that the system ruby is there for the system, and the fact users can use it is a side effect
<Aqua> postmodern: i just started ruby so i'm messing with it on my macbook
<Aqua> and I have several openindiana boxes when that time comes
matchaw_ has joined #ruby
dpn` has joined #ruby
jonathanwallace has joined #ruby
<Hanmac> postmodern you didnt read my last sentence right? ... i have a macro that turns class A { B get() }; into namespace Ruby__ { namespace A { VALUE _get(VALUE self); }}
x82_nicole has joined #ruby
Goles has joined #ruby
<ddd> charliesome: then that would also be equally applicable to apache that OSX (desktop *and* server) comes with. what value does a desktop/laptop _system_ gain from having apache installed? i don't think its a side effect for users
zommi has joined #ruby
<Aqua> slash_nick: I get a new macbook every year with work
<postmodern> Hanmac, in order to define a method in Ruby via C-ext requires you define a C function and reference it
Goles has joined #ruby
<slash_nick> Aqua: jealous.
<postmodern> Hanmac, how many C-extensions have you written btw?
<postmodern> Hanmac, and how many FFI bindings?
<Hanmac> 4
<Hanmac> 0
<Aqua> slash_nick: this year is the first year i didn't because I have a 17 and i don't want a retina
<slash_nick> next time you're in that situation... remember, slash_nick loves the retina displays
<Paradox> i wonder how angry stallman gets when he thinks about the fact that the FSF spent years trying to get an OS to run on a microkernel
<Paradox> then apple up and did it with OS X
<Aqua> you know, i like the bigger displays over the resolution
<Paradox> thats what she said
Goles_ has joined #ruby
<Aqua> Paradox: she also likes my thunerbolt port.
<Hanmac> postmodern and as i said, i have macros that does the job for me, somethimes with errorhandling inclusive
<Paradox> its tiny
<postmodern> Hanmac, well those macros wont work against JRuby
<Aqua> its not the size, its how you use it
<Aqua> n-e-ways
<csmrfx> postmodern: I thought OSX kernel is not a microkernel
Goles__ has joined #ruby
<postmodern> csmrfx, if i remember right, it's a hybrid between microkernel and modules
<csmrfx> so Stallman is probably just sneering at the silly capitalist and the sheeple that pay premium for crappy hardware design
<Paradox> mach
<Hanmac> postmodern and unless someone shows to me how it works with FFI "IN THE SAME SPEED" jruby will not be supported
<Paradox> stallman also seems to think that baths are a capitalist plot
<Paradox> alongside shaving and being polite
<csmrfx> What do you mean "planned obsolescence"? Why did my CrapBook Air die after 24 months?
<postmodern> Hanmac, FFI in JRuby drops right down to JFFI, and can unlock the GVL on MRI
<csmrfx> Paradox: you should see what George Carlin said!
<postmodern> Hanmac, the idea with extensions and FFI is not to call into C all the time, but do the expensive work in C
Goles has joined #ruby
<postmodern> Hanmac, that way the penalty for transitioning from Ruby->C is minimal, since the majority of the CPU time is spent in C
<Hanmac> the GVL has nothing todo with that, some extentsions are reverse the calling order ... (so the main loop is in the ext and ruby is called from callbacks)
<postmodern> Hanmac, the GVL has everything to do if your using Threads
<postmodern> Hanmac, but it sounds like you have your mind set, and you really shouldn't be asking anyone about alternatives to C-extensions
slainer68 has joined #ruby
hinmh has joined #ruby
<Hanmac> did i said that? NO i did not! (because the libs are bind are 50% not threadsafe or has its own thread system)
<postmodern> Hanmac, you implied it, you are clearly anti-FFI
<Hanmac> postmodern, my mind is not set, but 1.) the libs does NOT have an C-API and currently its not planed to get one
<ddd> hehe even i got that from the commentary
<Hanmac> 2.) my bindings are more ruby-like than FFI could ever be
<postmodern> Hanmac, ok, then we have nothing to talk about :)
<Hanmac> 3.) my bindings have object protection, so it does not create alltime an new ruby object
<Hanmac> 4.) the objects need to be informed when they get destroyed because they get deleted from the C(++) side, and the GC need to be informed about that
Goles has joined #ruby
<slash_nick> Goodnight everyone... happy holidays
<Hanmac> and with my 3Dengine i get ~300FPS ... i dont think that i can get it with FFI too
Goles_ has joined #ruby
keyvan has joined #ruby
<ddd> ok what does ffi actually stand for? i know what its used for, but whats the letters for? don't see description of it on its wiki
zigomir has joined #ruby
<csmrfx> foreign function interface?
Aqua has joined #ruby
<ddd> you say it like you're questioning as well :)
<csmrfx> might also mean fatal familiar insomnia
Goles_ has joined #ruby
<ddd> ahh
<postmodern> ddd, a la libffi, which almost every language uses for FFI bindings
EhyehAsherEhyeh has joined #ruby
<postmodern> ddd, see also http://luajit.org/ext_ffi.html
<ddd> gotcha. thanks for the links
AlSquire has joined #ruby
Dario_ has joined #ruby
Goles has joined #ruby
slainer68 has joined #ruby
Goles has joined #ruby
moshee has joined #ruby
moshee has joined #ruby
Goles_ has joined #ruby
Virunga has joined #ruby
Goles__ has joined #ruby
Goles__ has joined #ruby
banisterfiend has joined #ruby
Goles has joined #ruby
Morkel has joined #ruby
Goles has joined #ruby
Goles_ has joined #ruby
Goles_ has joined #ruby
gyre007 has joined #ruby
Goles has joined #ruby
apeiros_ has joined #ruby
Goles_ has joined #ruby
stayarrr has joined #ruby
Goles_ has joined #ruby
<Paradox> yolo swag 9gag
<Quadlex> ...
ebouchut has joined #ruby
Goles_ has joined #ruby
affix has joined #ruby
Goles has joined #ruby
bubuz has joined #ruby
<bubuz> hi guys - can anyone help me with this? https://gist.github.com/4368868 something around the array at line :23
Goles has joined #ruby
Jasko has joined #ruby
ebouchut has joined #ruby
<apeiros_> bubuz: seriously?
<apeiros_> "something"?
Goles__ has joined #ruby
<apeiros_> bubuz: probably because you did something wrong.
Goles_ has joined #ruby
nick_h has joined #ruby
<bubuz> yeah well that much is obvious apeiros_
<bubuz> im nre to ruby and was hoping that someone maybe able to help me out
<apeiros_> I did. it seems to me that "something" is an adequate amount of information to you.
<bubuz> huh? that doesnt even make sense
<bubuz> no need to be a douche.
<csmrfx> help people to help you
<apeiros_> bubuz: you fail at explaining your problem
<apeiros_> you don't even try
<csmrfx> provide error message and other debugging info
<bubuz> i'd have thought the code would do the talking
<apeiros_> no dude
<apeiros_> not even close
<csmrfx> maybe #ruby needs something like ##javascript's !help
<apeiros_> if you'd pay for our time, sure. makes lots of billable hours if you don't bother to invest any time in elaborating your issue.
<csmrfx> in ##javascript, saying !help on the channel returns:
<csmrfx> 13:33 < ecmabot> csmrfx: For help, ask your question. Be patient. Code samples should be pasted in a paste service (see !paste). Tell us 1) what you want to happen, 2) what is actually happening, and 3) any error messages you find (see !debug).
<bubuz> its for a chef recipe, am getting a syntax error line 23, unexepected ',' expected '}'
<apeiros_> bubuz: and re douche, in my book, you're the douche. "hey look, I've got a problem, get up your lazy arses and figure out for me what I mean"
<apeiros_> bubuz: oh wow, a *syntax error*, why didn't you tell. that's already so much better than *something*.
<csmrfx> >> perhaps_like = { item: 1, item: 2, }
<apeiros_> still little, though.
<eval-in> csmrfx: Output: "" (http://eval.in/5248)
<bubuz> thats the only error I am seeing apeiros_
<apeiros_> anyway, I'm off, since obviously I'm a douche about it.
<bubuz> sweet
Goles has joined #ruby
<csmrfx> yeah
<csmrfx> I hate it when you have to pick peoples brains to sort out *their* problem
<bubuz> sorry, am very new to ruby
<bubuz> was just looking for some constructive help
<ejnahc> 이브에 아무 이유 없이 마인크 땅굴 파실분
<bubuz> obv the wrong place to find it in my case
<apeiros_> bubuz: providing a usable problem description isn't ruby related.
<apeiros_> it's just common sense.
Goles has joined #ruby
<apeiros_> it's the same when you go to the mechanic because of problems with your car (of course, he's happy if you don't properly describe your issue -> billable hours…)
Goles_ has joined #ruby
<bubuz> nm fixed it
<bubuz> cheers
Goles__ has joined #ruby
darthdeus has joined #ruby
pen has joined #ruby
Goles___ has joined #ruby
hinmh has joined #ruby
<ddd> ejnahc: 영어 여기 말한
Kuifje has joined #ruby
Kuifje has joined #ruby
Goles has joined #ruby
<ddd> hehe pigs to me are food. not pets
_br_ has joined #ruby
<Paradox> sounds like an alien spaceship
eka has joined #ruby
<Paradox> all that squealing and grunting
rakl has joined #ruby
jbermudes has joined #ruby
jbermudes has joined #ruby
Dario_ has joined #ruby
_br_ has joined #ruby
slainer68 has joined #ruby
dkannan has joined #ruby
matchaw___ has joined #ruby
<ddd> http://youtu.be/XRCIzZHpFtY Now to me, *this* is cool stuff!
mengu has joined #ruby
Takehiro has joined #ruby
matchaw_ has joined #ruby
samphippen has joined #ruby
banisterfiend has joined #ruby
hotovson has joined #ruby
ChrisBolton has joined #ruby
<ChrisBolton> Has anyone used savon for dealing with SOAP in ruby/rails?
nomenkun has joined #ruby
VegetableSpoon has joined #ruby
neiled has joined #ruby
stayarrr has joined #ruby
ltsstar has joined #ruby
pen has joined #ruby
matchaw___ has joined #ruby
ToTo has joined #ruby
kamsel has joined #ruby
yacks has joined #ruby
katze_t4 has joined #ruby
trying has joined #ruby
Dario_ has joined #ruby
shiin has joined #ruby
matchaw has joined #ruby
toto- has joined #ruby
tenmilestereo has joined #ruby
ebouchut has joined #ruby
slainer68 has joined #ruby
<maetthew> I'm getting this error when trying to install the gem sqlite3-ruby
<maetthew> anyone got ideas?
matchaw_ has joined #ruby
<apeiros_> maetthew: did you read the error?
<maetthew> apeiros_, yes but i can't understand what's wrong
<maetthew> tried to "yum install sqlite-devel"
<apeiros_> did you try what it suggests?
<maetthew> but that package does not exist
<maetthew> apeiros_, no i don't understand what it suggests other than sqlite-devel :P
<apeiros_> ok, that'd be important information, you know?
<maetthew> yeah :P
<apeiros_> what's wrong is that it can't find the sqlite libraries
<maetthew> yeah something with this?
<maetthew> "check your shared library search path (the
<maetthew> location where your sqlite3 shared library is located)."
<apeiros_> the header files of it, to be precise
<apeiros_> it means that either you haven't installed them (which is why it suggests `yum install sqlite-devel`)
<apeiros_> or that you installed them somewhere where it can't find them (because your shared library search path does not contain them)
Banistergalaxy has joined #ruby
<maetthew> apeiros_, i think perhaps i'm missing libsqlite3-dev
<maetthew> this is ubuntu 12.04 btw
<apeiros_> I don't know yum, I'd suggest you search for an sqlite developer lib
<apeiros_> that sounds like it could be the missing lib, yes.
<maetthew> it was
<maetthew> thanks for trying apeiros_
razibog has joined #ruby
Aqua has joined #ruby
Goles has joined #ruby
vlad_starkov has joined #ruby
matchaw__ has joined #ruby
<csmrfx> >> help
<eval-in> csmrfx: Output: "/tmp/execpad-0078b28c52de/source-0078b28c52de:1:in `<main>': undefined local variable or method `help' for main:Object (NameError)\n" (http://eval.in/5255)
<csmrfx> eval-in help
<csmrfx> eval-in msg help
<csmrfx> duh
kennyvb has joined #ruby
jonahR has joined #ruby
x0F_ has joined #ruby
<Hanmac> >> 1+ 3
<eval-in> Hanmac: Output: "" (http://eval.in/5256)
<Hanmac> who is the owner of this bot?
JohnBat26 has joined #ruby
timonv has joined #ruby
statarb3 has joined #ruby
statarb3 has joined #ruby
whitedawg has joined #ruby
pen has joined #ruby
_whitelogger has joined #ruby
ikaros has quit [Quit: Ex-Chat]
lenovodroid has joined #ruby
whitequark has joined #ruby
<whitequark> Hanmac: charliesome
Guest493 has joined #ruby
<Hanmac> because the bot does not work when i send him the message directly
Guest493 is now known as ddd
ltsstar has quit [Ping timeout: 244 seconds]
mafolz has quit [Remote host closed the connection]
beiter has quit [Quit: beiter]
<whitequark> eval-in: help
<whitequark> >> ->(u){u.(u)}.->(u){u.(u)}
<eval-in> whitequark: Output: "/tmp/execpad-74a9d30d536b/source-74a9d30d536b:1: syntax error, unexpected '{', expecting $end\n->(u){u.(u)}.->(u){u.(u)}\n ^\n" (http://eval.in/5260)
<whitequark> >> ->(u){u.(u)}.(->(u){u.(u)})
<eval-in> whitequark: Output: "/tmp/execpad-ec9a50835c8a/source-ec9a50835c8a:1: stack level too deep (SystemStackError)\n" (http://eval.in/5261)
<whitequark> >> sleep 1000000
<eval-in> whitequark: Output: "" (http://eval.in/5262)
<whitequark> >> ("a"*100)*1000000
<eval-in> whitequark: Output: "/tmp/execpad-37d460755c8f/source-37d460755c8f:1:in `*': failed to allocate memory (NoMemoryError)\n\tfrom /tmp/execpad-37d460755c8f/source-37d460755c8f:1:in `<main>'\n" (http://eval.in/5263)
tectonic has quit [Ping timeout: 240 seconds]
<whitequark> meh. not funny.
awestroke has joined #ruby
<Hanmac> hm evalin itself looks very new .. (from what i could say from the number) can i make feature-requests?
ahuman has quit [Quit: No Ping reply in 180 seconds.]
ahuman has joined #ruby
<whitequark> Hanmac: it has a "Contact" link down there
<whitequark> use it wisely
<Hanmac> i thought it would be faster if i make an message in the channel directly
tectonic has joined #ruby
blaxter has quit [Quit: foo]
nomenkun has joined #ruby
<Hanmac> postmodern i found something FFI cant do ... with my C++ bindings i can use the C++Exceptions of the libs ... this cant be done with an C-Api
buscon has joined #ruby
<whitequark> Hanmac: using C++ exceptions in conjunction with something else is an extremely bad idea
moos3 has joined #ruby
buscon has quit [Client Quit]
<whitequark> in fact, using C++ exceptions is often not a very good idea by itself
friskd has quit [Ping timeout: 252 seconds]
hoelzro|away is now known as hoelzro
<Hanmac> i can live with that, because my binding does automaticly convert the c++exceptions into ruby-exceptions
awestroke has quit [Remote host closed the connection]
<whitequark> some decent C++ codebases chose not to use exceptions at all
jbermudes has joined #ruby
jbermudes has quit [Changing host]
jbermudes has joined #ruby
<whitequark> android does that, too
<whitequark> and IIRC chrome, but not sure about that
mercwithamouth has joined #ruby
kil0byte has quit [Ping timeout: 245 seconds]
<postmodern> Hanmac, everyone knows FFI can't handle C++, which is why developers are encourage to use extern C APIs
<postmodern> Hanmac, why do you keep messaging me about C extensions>
nomenkun has quit [Remote host closed the connection]
<whitequark> the problem with using C++ to do external interfaces is that C++ doesn't have a well-defined ABI, unlike C
<postmodern> ie namespace mangling
<whitequark> so you either have to keep all of your codebase open-source, use C++ to bind to a C interface (silly), or provide binaries for all existing compilers (not future-proof)
<whitequark> so it simply doesn't make sense to write a C++ FFI library
sayan has quit [Read error: Connection reset by peer]
kil0byte has joined #ruby
Dario_ has joined #ruby
gyre007 has joined #ruby
<Hanmac> you are guys are allways saying that FFI is better, i only want to point to you that it isnt
breakingthings has joined #ruby
dross has quit [Quit: leaving]
Takehiro has quit [Remote host closed the connection]
dross has joined #ruby
Dario_ has quit [Ping timeout: 246 seconds]
Virunga has quit [Remote host closed the connection]
Virunga has joined #ruby
<im0b> Hi! does anyone here has a running app with pusher and webhooks, it seems like its down can anyone confirm :( ?
gyre007 has quit [Ping timeout: 252 seconds]
Guest25886 has quit [Read error: Connection reset by peer]
<Quadlex> puts "Merry Christmas World"
* breakingthings puts "Ho "*3
<whitequark> Quadlex: not "world", at least not yet.
<whitequark> im0b: http://status.pusher.com/
Virunga has quit [Ping timeout: 245 seconds]
<Quadlex> whitequark: t'was a programming joke
<Quadlex> s/Merry Christmas/Hello/
<im0b> whitequark: i dont think they know about it yet...
maesbn_ has quit [Remote host closed the connection]
<im0b> whitequark: i tryed 3 different apps, maybe someone has an app that uses webhooks that we can verify that hooks are down?
s1n4 has joined #ruby
dross has quit [Quit: leaving]
dross has joined #ruby
Jackneill has joined #ruby
Jackneill has quit [Changing host]
Jackneill has joined #ruby
pen has quit [Read error: Connection reset by peer]
alexspeller has joined #ruby
pen has joined #ruby
banisterfiend has joined #ruby
alexspeller has quit [Remote host closed the connection]
iamjarvo has joined #ruby
eka has joined #ruby
slainer68 has joined #ruby
kirun has joined #ruby
gmci has joined #ruby
gmci is now known as Guest3997
jonathanwallace has joined #ruby
slainer68 has quit [Ping timeout: 260 seconds]
thillux has joined #ruby
s1n4 has quit [Quit: leaving]
malte_ has joined #ruby
NiteRain has joined #ruby
dash_ has quit [Quit: leaving]
tk__ has joined #ruby
banisterfiend has quit [Ping timeout: 244 seconds]
ChrisBolton has quit [Quit: ChrisBolton]
<im0b> whitequark: lol http://wiki.webhooks.org/ is down
shiin has left #ruby ["Textual IRC Client: http://www.textualapp.com/"]
Takehiro has joined #ruby
xorigin has joined #ruby
xorigin has left #ruby [#ruby]
thams has quit [Read error: Connection reset by peer]
thams has joined #ruby
matchaw__ has quit [Ping timeout: 252 seconds]
Takehiro has quit [Ping timeout: 252 seconds]
m3pow has quit [Ping timeout: 246 seconds]
nomenkun has joined #ruby
Kuifje has quit [Ping timeout: 252 seconds]
xorigin has joined #ruby
xorigin has left #ruby [#ruby]
ippif has joined #ruby
cakehero has joined #ruby
rdark has quit [Quit: leaving]
ananthakumaran has quit [Quit: Leaving.]
mercwithamouth has quit [Ping timeout: 246 seconds]
ippif has quit [Client Quit]
Guest3997 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
TheFuzzball has joined #ruby
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
doritostains has quit [Quit: Linkinus - http://linkinus.com]
cakehero has quit [Ping timeout: 260 seconds]
lenovodroid has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
iamioannis has joined #ruby
ChrisBolton has joined #ruby
<ChrisBolton> Anyone use savon to access a SOAP API?
banisterfiend has joined #ruby
<iamioannis> i
<iamioannis> oupsy
<iamioannis> I don't use it sorry. The "i" didn't mean I do :P
Takehiro has joined #ruby
<rking> ChrisBolton: I have, a bit. What's up?
Banistergalaxy has quit [Ping timeout: 252 seconds]
<ChrisBolton> rking: I'm trying to get this to work. wsdl.endpoint = self.endpoint.to_s
<rking> K. I presume self.endpoint is a URI object?
<ChrisBolton> and keep getting a wrong number of arguments error (0 for 1)
<rking> I imagine that'd be coming from the actual #endpoint call
<rking> ChrisBolton: gem install jist && jist yourfile.rb
<ChrisBolton> jist?
Takehiro has quit [Remote host closed the connection]
<banisterfiend> ChrisBolton: it's a gister
<ChrisBolton> Gotcha. Hold please.
nomenkun has quit [Remote host closed the connection]
<banisterfiend> ChrisBolton: at least play some catchy music while we wait
seich- has quit [Ping timeout: 245 seconds]
<rking> Ya srsly.
mercwithamouth has joined #ruby
<ChrisBolton> Jingle bells, jingle bells ...
Takehiro has joined #ruby
pwelch has joined #ruby
pwelch has quit [Client Quit]
Aqua has quit [Ping timeout: 246 seconds]
<rking> ChrisBolton: I can't see enough of the code to answer this, I don't think.
arkiver has joined #ruby
plenilune has joined #ruby
<rking> ChrisBolton: One minor style comment is that you don't need the 'self.' on any of those
Jasko has quit [Read error: Connection reset by peer]
<ChrisBolton> rking: Only thing I've changed is I've updated the savon version… https://github.com/Iknewthisguy/yield_star_client
plenilune has quit [Client Quit]
<ChrisBolton> rking: I know, I'm still a bit new and it makes me feel safe.
Jasko has joined #ruby
stopbit has joined #ruby
gyre007 has joined #ruby
jonathanwallace has quit [Ping timeout: 255 seconds]
troessner has joined #ruby
<ChrisBolton> Here is my stack trace … https://gist.github.com/4369519
<rking> This is some pretty odd organization. ☺
Aqua has joined #ruby
gyre008 has joined #ruby
<ChrisBolton> I spoke with the creator of the gem and she commented it was a pretty hacked together solution for trying to access this API. I am brand new to SOAP and therefore haven't taken the time to do anything beyond trying to get it to work.
gyre007 has quit [Read error: Connection reset by peer]
<rking> Aha, k.
<rking> ChrisBolton: The tests aren't passing. =\
karakhul has joined #ruby
<karakhul> HI. Is there a cython for ruby?
<rking> 798 failures, 78 passes.
cakehero has joined #ruby
<karakhul> Like cuby or something haha
<rking> karakhul: You realize that probably most of us don't know what cython is, right?
<karakhul> rking: well at least some of you should be acquainted with it, just like how i am with ruby
<ChrisBolton> rking: Well isn't that fantastic.
<rking> Yeah, I just mean it's a courtesy to save us from having to search the web.
mercwithamouth has quit [Ping timeout: 265 seconds]
<rking> ChrisBolton: I don't really know what to say on this one. It has a rather convoluted way of passing around that wsdl value. I'd probably suggest debugging this at a higher level; like start by finding a version of the repo that has tests that pass, then configure that.
<karakhul> rking: well there aren't really many finds on the web
slainer68 has joined #ruby
<ChrisBolton> rking: I appreciate you taking the time. I'll keep digging. I might need to scrap it and write my own gem.
joshman_ has joined #ruby
thone has joined #ruby
<rking> ChrisBolton: Yeah. You could use this as a reference point, but writing a Savon Client is not hard.
<ChrisBolton> rking: Having not handled a SOAP API before I hesitated writing my own gem but the amount of work it would take to get this one working seems like writing my own is probably the way to go.
<ChrisBolton> rking: Thanks again.
<ChrisBolton> Happy Holidays.
<rking> karakhul: I'm buried this morning, so I don't know if I read enough about cython to say, but are you looking for: http://www.zenspider.com/ZSS/Products/RubyInline/
<karakhul> rking: thank you, ill take a look at it
<jonahR> 666 people on this room
thone_ has quit [Ping timeout: 250 seconds]
<jonahR> not anymore :(
gyre008 has quit [Remote host closed the connection]
<rking> ChrisBolton: Reading this code, I don't trust its author to write code that is simple and works. Frankly looks like a Java programmer's first week in Ruby.
Virunga has joined #ruby
<ChrisBolton> rking: That's awesome. Good to know.
ChrisBolton has quit [Quit: ChrisBolton]
Markvilla has joined #ruby
* rking = h8r. ☹
gyre007 has joined #ruby
mercwithamouth has joined #ruby
banisterfiend has quit [Remote host closed the connection]
dkannan has left #ruby [#ruby]
cakehero has quit [Quit: Computer has gone to sleep.]
adkron has joined #ruby
malte_ has quit [Read error: Connection timed out]
malte_ has joined #ruby
Banistergalaxy has joined #ruby
mrdtt has joined #ruby
adambeynon has joined #ruby
trying has quit [Ping timeout: 245 seconds]
alexspeller has joined #ruby
toto- has quit [Quit: Leaving...]
statarb3 has quit [Quit: Leaving]
iamioannis has quit [Ping timeout: 252 seconds]
alexspeller has quit [Ping timeout: 252 seconds]
phelps has joined #ruby
lkba has joined #ruby
phelps has quit [Read error: Connection reset by peer]
hoelzro is now known as hoelzro|away
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
hoelzro|away is now known as hoelzro
cantonic has quit [Quit: cantonic]
benlieb has joined #ruby
<h8R> rking, (think)
<h8R> :D
tk__ has quit [Quit: ばいばい]
diegoviola has joined #ruby
benlieb has quit [Client Quit]
Slivka has joined #ruby
Siphonblast has quit [Read error: Connection reset by peer]
JohnBat26 has quit [Ping timeout: 244 seconds]
ebouchut has quit [Quit: This computer has gone to sleep]
<rking> h8R: Haha, didn't see you there.
<rking> But I saw your essence in what I typed.
<h8R> Everybody is a little bit h8R sometimes ;)
* rking looks to the sunrise, and nods.
timonv has joined #ruby
sepp2k has quit [Remote host closed the connection]
fyolnish has quit [Remote host closed the connection]
fyolnish has joined #ruby
nomenkun has joined #ruby
ananthakumaran has joined #ruby
cantonic has joined #ruby
cantonic has quit [Client Quit]
rippa has joined #ruby
Tarential has quit [Ping timeout: 272 seconds]
whitedawg has quit [Quit: Leaving.]
slainer68 has quit [Remote host closed the connection]
Cyclohexane has joined #ruby
malte_ has quit [Quit: malte_]
<Cyclohexane> Can someone help me convert some ruby to java?
mrdtt has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232]]
Siphonblast has joined #ruby
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cantonic has joined #ruby
tPl0ch has quit [Quit: Verlassend]
arkiver has quit [Quit: Leaving]
pen has quit [Remote host closed the connection]
emocakes has joined #ruby
Tarential has joined #ruby
nomenkun has quit [Remote host closed the connection]
Siphonblast has quit [Read error: Connection reset by peer]
eldariof has quit [Ping timeout: 255 seconds]
Siphonblast has joined #ruby
pmros has joined #ruby
Siphonblast has quit [Read error: Connection reset by peer]
<pmros> hi!
Siphonblast has joined #ruby
cantonic has quit [Ping timeout: 246 seconds]
sayan has joined #ruby
<katherinem13> pmros: What's the deal with you randomly pming me all the time? I don't know you, it's generally not considered polite to PM strangers without asking first.
<pmros> sorry
cantonic has joined #ruby
karakhul has quit [Remote host closed the connection]
v0n has joined #ruby
cousine has joined #ruby
sepp2k has joined #ruby
Cyclohexane has left #ruby [#ruby]
cantonic has quit [Client Quit]
slainer68 has joined #ruby
razibog has quit [Quit: Leaving.]
razibog has joined #ruby
ewag has joined #ruby
cantonic has joined #ruby
Siphonblast has quit [Read error: Operation timed out]
Siphonblast has joined #ruby
matip__ has joined #ruby
sayan has quit [Ping timeout: 252 seconds]
soulcake has joined #ruby
cantonic has quit [Ping timeout: 246 seconds]
blaxter has joined #ruby
alexspeller has joined #ruby
matip_ has quit [Ping timeout: 260 seconds]
katherinem13 has quit [Remote host closed the connection]
katherinem13 has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
ippif has joined #ruby
rondale_sc has joined #ruby
matrixise has joined #ruby
iamjarvo has quit [Quit: Leaving.]
slainer68 has quit [Remote host closed the connection]
soulcake has quit [Quit: ZNC - http://znc.in]
soulcake has joined #ruby
ananthakumaran has joined #ruby
Vainoharhainen has joined #ruby
pen has joined #ruby
thams has quit [Read error: Connection reset by peer]
<rking> katherinem13: Kinda lame to bust him out in the channel like that.
thams has joined #ruby
<katherinem13> rking: It's lame for him to randomly PM people without asking first. I'm not going to sink to his level and do the same.
Vainoharhainen has quit [Client Quit]
kidoz has joined #ruby
<rking> There are more courteous ways of handling it. Replying to the privmsg is one, /ignore is another.
rondale_sc has quit [Remote host closed the connection]
matrixise has quit [Ping timeout: 252 seconds]
kiyoura has joined #ruby
Artheist has joined #ruby
schaerli has joined #ruby
elico has joined #ruby
jonathanwallace has joined #ruby
<pmros> sorry again
nemesit|osx has joined #ruby
cakehero has joined #ruby
<apeiros_> katherinem13: you get that often? uninvited pm's, I mean
Asher has joined #ruby
nemesit has quit [Ping timeout: 250 seconds]
<apeiros_> rking: try a female, or female-like nick once for a while. maybe you'll think different about it.
<pmros> sorry, please
<katherinem13> apeiros_: Not too frequently, pmros has done it a few times though and I'm just a little uncertain why they're doing it.
<katherinem13> This is the only channel in common, so I figure they must have seen me here.
joofsh has joined #ruby
<pmros> at some channels, it is not a fault
<pmros> sorry
<pmros> never again
<Banistergalaxy> Katherinem13 merry xmas
<pmros> I promise
Tabrenus has joined #ruby
<katherinem13> Okay, thanks pmros. Not that big a deal, just that In most channels I'm in it's considered appropriate to ask before PMing.
<rking> apeiros_: Personally, if I was a female, I wouldn't attention-whore by wearing a female nick. But that's me.
<apeiros_> rking: wow, you didn't just say that?
<katherinem13> rking: I don't see how using my name is 'attention-whoring'.
<apeiros_> that's so incredibly rude
<Tabrenus> what an attention whore.
<apeiros_> that's some of the piss poorest chauvinism I've heard in a long time.
Rym has joined #ruby
<rking> Oh come on. As if this isn't evident in every geek forum… female nicks get 100x more attention than neutral or male ones.
<pmros> thank you for forgive me, katherinem13
<apeiros_> rking: yes, and the right way to deal with it is NOT to blame the victim
foohey has quit [Remote host closed the connection]
<apeiros_> indeed, pointing out the perpetrator IS the right thing.
foohey has joined #ruby
<rking> A "victim"? Of a /privmsg? Did we file a police report yet? I sure hope so.
<apeiros_> rking: so why so sensitive about outing it in public if it isn't that bad?
<apeiros_> it's just a public message after all…
<apeiros_> (following your own logic…)
<Tabrenus> this is why I use python more
tenmilestereo has joined #ruby
jonathanwallace has quit [Ping timeout: 252 seconds]
<rking> Trying to trash someone's reputation in public, for anything, without first offering them a gentle correction privately, is something I don't think is cool.
<apeiros_> rking: and you know that she didn't do exactly that how?
<apeiros_> (or he)
<katherinem13> Asking someone why they are doing something != trashing their reputation.
<apeiros_> also that
Virunga has quit [Remote host closed the connection]
<diegoviola> i'm trying to pass some ruby object to a rake task, could i pass it directly as an argument or i have to json encode the object to pass it?
<apeiros_> diegoviola: what do you mean "pass it to a rake task"?
Jasko has quit [Read error: Connection reset by peer]
<Banistergalaxy> Hehe
<rking> apeiros_: I read between the lines, and since katherinem13 didn't deny it, that's more confirmation.
<apeiros_> rking: anyway, suggesting not to use a female name is outright chauvinism and you should be ashamed for that.
<diegoviola> apeiros_: i have an object, an instance variable that contains a hash, i want to be able to use that variable in the rake task
Jasko has joined #ruby
<rking> diegoviola: You might like JSONY. It's sort of designed as a stripped-down JSON suitable for CLI
<apeiros_> diegoviola: then how do you invoke the rake task?
<diegoviola> apeiros_: with system()
<diegoviola> apeiros_: system("rake...")
ebouchut has joined #ruby
<diegoviola> rking: thanks
<apeiros_> diegoviola: ok, via the shell then - yes, use a serialization, like json, marshal or yaml
<katherinem13> rking: What didn't I deny?
<apeiros_> I wonder whether calling a rake task like that is a good idea, though
<diegoviola> apeiros_: thanks
<apeiros_> diegoviola: you may want to refactor that task to a library method, which you can call directly
nomenkun has joined #ruby
<apeiros_> (and call the same lib method from the rake task)
terrorpup has joined #ruby
<rking> apeiros_: If it wasn't such an incredibly consistent cause:effect, I'd agree. But find me one single example of a perosn on IRC, a web forum, etc., where a female nick gets equal attention as the others.
<diegoviola> apeiros_: right, thanks
<rking> katherinem13: That you said anything to him privately before calling him out, here.
<apeiros_> rking: you're creating a self-reinforcing system that way. that's stupid, sorry.
cantonic has joined #ruby
<apeiros_> rking, katherinem13: anyway, if you/we want to continue this discussion, then lets please move it on to a different venue.
jonathanwallace has joined #ruby
<terrorpup> Hi, can I ask rails question here do I need to go if there is a #rails channel?
<rking> terrorpup: #RubyOnRails
<apeiros_> terrorpup: #rails is not the rails channel, mind you
<apeiros_> #ror/#rubyonrails is
<apeiros_> (#ror forwards to #rubyonrails)
<katherinem13> apeiros_: Meh, no need to continue it really, I just wanted to ask him why he was doing it, which was accomplished.
cantonic has quit [Client Quit]
<terrorpup> thanks
cantonic has joined #ruby
terrorpup has quit [Quit: Leaving]
jgrevich has joined #ruby
mahmoudi_ has joined #ruby
ippif has quit [Quit: Computer has gone to sleep.]
jonathanwallace has quit [Ping timeout: 265 seconds]
cantonic_ has joined #ruby
pmros has quit [Ping timeout: 265 seconds]
slainer68 has joined #ruby
cantonic has quit [Ping timeout: 265 seconds]
cantonic_ is now known as cantonic
slainer68 has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
jgrevich_ has joined #ruby
jgrevich has quit [Ping timeout: 265 seconds]
jgrevich_ is now known as jgrevich
awestroke has joined #ruby
dsdeiz has joined #ruby
adeponte has joined #ruby
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
kil0byte has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
johnmilton has joined #ruby
eldariof has joined #ruby
emmanuelux has joined #ruby
alexspeller has quit [Remote host closed the connection]
Chryson has joined #ruby
lenovodroid has joined #ruby
tenmilestereo has quit [Quit: Leaving]
cantonic_ has joined #ruby
sayan has joined #ruby
pmros has joined #ruby
adeponte has joined #ruby
cantonic has quit [Ping timeout: 255 seconds]
cantonic_ is now known as cantonic
timonv has quit [Remote host closed the connection]
ananthakumaran1 has joined #ruby
s1n4 has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
cantonic_ has joined #ruby
lorn has quit [Ping timeout: 265 seconds]
Banistergalaxy has quit [Ping timeout: 244 seconds]
nyuszika7h has quit [Quit: Here we are, going far to save all that we love - If we give all we've got, we will make it through - Here we are, like a star shining bright on your world - Today, make evil go away!]
LouisGB has quit []
cantonic has quit [Ping timeout: 250 seconds]
cantonic_ is now known as cantonic
Banistergalaxy has joined #ruby
BBonifield has quit [Quit: ZNC - http://znc.in]
nick_h has quit [Ping timeout: 245 seconds]
dross has quit [Quit: leaving]
dross has joined #ruby
schaerli has quit [Remote host closed the connection]
tenmilestereo has joined #ruby
slainer68 has joined #ruby
hoelzro is now known as hoelzro|away
nyuszika7h has joined #ruby
pmros has quit [Ping timeout: 260 seconds]
Rym has quit [Quit: Rym]
pmros has joined #ruby
nick_h has joined #ruby
Tabrenus has quit [Quit: Tabrenus]
crackfu has joined #ruby
BBonifield has joined #ruby
<pdtpatrick> Anyone use aws-s3? Ran into a problem where the leading / in your key gets stripped?
lorn has joined #ruby
bigmac has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
fowl has joined #ruby
the_jeebster has joined #ruby
cantonic_ has joined #ruby
fir_ed has joined #ruby
ananthakumaran1 has quit [Ping timeout: 255 seconds]
kidoz has quit [Quit: Ухожу я от вас]
cantonic has quit [Ping timeout: 260 seconds]
cantonic_ is now known as cantonic
canton7 has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
ananthakumaran has quit [Read error: Connection reset by peer]
ananthakumaran1 has joined #ruby
<shevy> rking men are attracted to things they like :)
blaxter has quit [Quit: foo]
friskd has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
cantonic_ has joined #ruby
Jasko has joined #ruby
hoelzro|away is now known as hoelzro
nomenkun has joined #ruby
cantonic has quit [Ping timeout: 244 seconds]
cantonic_ is now known as cantonic
awestroke has quit [Remote host closed the connection]
<fir_ed> How do I read from an HTTP post submit?
<breakingthings> well… huh. I missed something in the last hour or so.
<fir_ed> File.read doesn't work
pmros has quit [Quit: Konversation terminated!]
sayan has quit [Quit: Leaving]
ananthakumaran has joined #ruby
ananthakumaran1 has quit [Ping timeout: 252 seconds]
nerd has joined #ruby
mockra has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
slainer68 has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
<havenn> fir_ed: What are you trying to do? Read the response of a POST request or the body of the request itself?
mockra has quit [Remote host closed the connection]
<fir_ed> havenn, I'm trying to grab the file I'm submitting via post?
<fir_ed> or am I doing something wrong
mybrainis404 has quit [Disconnected by services]
<fir_ed> I'm uploading a file using a file-select html control -> trying to access it on the server side
breakingthings has quit []
<havenn> fir_ed: I'm confused in any case, need coffee. Can you post a Gist of the code?
medik has joined #ruby
medik has quit [Excess Flood]
medik has joined #ruby
medik has quit [Excess Flood]
medik has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
s1n4 has quit [Quit: leaving]
mahmoudi_ has joined #ruby
cantonic has joined #ruby
adeponte has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
zeade has joined #ruby
<fir_ed> havenn, Hold on, may have solved the issue. HTML form might need multipart/form-data attribute
hoelzro is now known as hoelzro|away
fowl has quit [Ping timeout: 264 seconds]
<fir_ed> havenn, Solved. Thank you for the help !
berserkr has joined #ruby
gyre007 has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 256 seconds]
gyre007 has joined #ruby
ebouchut has joined #ruby
slash_nick has joined #ruby
Slivka has quit [Remote host closed the connection]
wermel has quit [Remote host closed the connection]
adeponte has joined #ruby
IceDragon has joined #ruby
Rym has joined #ruby
katherinem13_ has joined #ruby
timonv has joined #ruby
slash_nick has quit [Quit: Changing server]
cj3kim has joined #ruby
katherinem13 has quit [Ping timeout: 244 seconds]
katherinem13_ is now known as katherinem13
ananthakumaran1 has joined #ruby
foohey has quit [Quit: /ɪts ˌnɒt ə ˈbʌg ɪts ə ˈfiː.tʃə/]
cousine has quit [Remote host closed the connection]
ananthakumaran has quit [Ping timeout: 244 seconds]
nomenkun has quit [Remote host closed the connection]
thams has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
thams has joined #ruby
katherinem13 has quit [Remote host closed the connection]
koshii has joined #ruby
katherinem13 has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
slainer68 has joined #ruby
alexspeller has joined #ruby
katherinem13_ has joined #ruby
gyre007 has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 252 seconds]
alexspeller has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
alexspeller has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Solnse has joined #ruby
Jasko has joined #ruby
katherinem13 has quit [Ping timeout: 260 seconds]
katherinem13_ is now known as katherinem13
cantonic_ has joined #ruby
freakazoid0223 has quit [Quit: Leaving]
cantonic has quit [Ping timeout: 250 seconds]
cantonic_ is now known as cantonic
Uranio has joined #ruby
alexspeller has quit [Ping timeout: 252 seconds]
drago757 has joined #ruby
sepp2k has quit [Ping timeout: 265 seconds]
cj3kim has quit [Quit: This computer has gone to sleep]
PetePorty has joined #ruby
PetePorty has joined #ruby
PetePorty has quit [Changing host]
abstrusenick has joined #ruby
Rym has quit [Quit: Rym]
<abstrusenick> anyone know smtp settings for zoho mail?
gyre007 has joined #ruby
koshii has quit [Ping timeout: 260 seconds]
mattb has joined #ruby
troessner has quit [Quit: Leaving]
brian_petersen has joined #ruby
brian_petersen has quit [Client Quit]
berserkr has quit [Ping timeout: 252 seconds]
bean has joined #ruby
brian_petersen has joined #ruby
arietis has joined #ruby
thams has quit [Quit: thams]
wargasm has joined #ruby
cantonic has quit [Ping timeout: 252 seconds]
Uranio has quit [Quit: WeeChat 0.3.8]
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
cantonic has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
Artheist has quit [Ping timeout: 252 seconds]
skrite has quit [Quit: WeeChat 0.3.8]
havenn has quit [Remote host closed the connection]
Monie has joined #ruby
havenn has joined #ruby
Artheist has joined #ruby
Fezzler has joined #ruby
Fezzler has quit [Client Quit]
havenn has quit [Ping timeout: 265 seconds]
bean has quit [Quit: Computer has gone to sleep.]
drago757 has quit [Quit: drago757]
ebouchut has quit [Quit: This computer has gone to sleep]
soulcake has quit [Quit: ZNC - http://znc.in]
sepp2k has joined #ruby
jrajav has joined #ruby
cantonic_ has joined #ruby
Artheist has quit [Ping timeout: 255 seconds]
cantonic has quit [Ping timeout: 250 seconds]
cantonic_ is now known as cantonic
rondale_sc has joined #ruby
Artheist has joined #ruby
rondale_sc has quit [Client Quit]
katherinem13 has quit [Remote host closed the connection]
dsdeiz has quit [Ping timeout: 260 seconds]
katherinem13 has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
katherinem13 has quit [Read error: Connection reset by peer]
katherinem13 has joined #ruby
Jasko has joined #ruby
katherinem13_ has joined #ruby
nomenkun has quit [Ping timeout: 252 seconds]
cantonic has quit [Quit: cantonic]
katherinem13 has quit [Ping timeout: 264 seconds]
katherinem13_ is now known as katherinem13
breakingthings has joined #ruby
berserkr has joined #ruby
Neomex has joined #ruby
g_bleezy has quit [Remote host closed the connection]
toekutr has joined #ruby
skcin7 has quit [Quit: Computer has gone to sleep.]
Choobie has joined #ruby
fir_ed has quit [Ping timeout: 252 seconds]
elaptics`away is now known as elaptics
Neomex has quit [Quit: Neomex]
cj3kim has joined #ruby
brian_petersen has quit [Quit: Leaving]
cantonic has joined #ruby
thufir_ has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
kidoz has joined #ruby
ananthakumaran1 has quit [Quit: Leaving.]
banisterfiend has joined #ruby
dsdeiz has joined #ruby
emocakes has quit [Quit: emocakes]
BBonifield has quit [Quit: ZNC - http://znc.in]
Goles has quit [Quit: Out.]
BBonifield has joined #ruby
Jackneill has quit [Remote host closed the connection]
nick_h has quit [Ping timeout: 255 seconds]
alejandro_ has quit [Remote host closed the connection]
nick_h has joined #ruby
postmodern has quit [Quit: Leaving]
Guest25886 has joined #ruby
arturaz has quit [Remote host closed the connection]
moos3 has quit [Quit: Computer has gone to sleep.]
mercwithamouth has quit [Ping timeout: 255 seconds]
arturaz has joined #ruby
cantonic has quit [Quit: cantonic]
lenovodroid has quit [Read error: Connection reset by peer]
abstrusenick has quit [Quit: abstrusenick]
alexspeller has joined #ruby
nomenkun has joined #ruby
x82_nicole has joined #ruby
reppard has joined #ruby
<reppard> does anyone have any advice on setting up a console based ruby app running in a browser?
alexspeller has quit [Ping timeout: 252 seconds]
<reppard> interactive via gets
soulcake has joined #ruby
awestroke has joined #ruby
NiteRain has quit [Ping timeout: 246 seconds]
eldariof has quit []
havenn has joined #ruby
Guest25886 has quit [Quit: Guest25886]
Takehiro has quit [Remote host closed the connection]
nmabry has joined #ruby
Takehiro has joined #ruby
PetePorty has quit [Read error: Connection reset by peer]
Jackneill has joined #ruby
PetePorty has joined #ruby
PetePorty has quit [Changing host]
PetePorty has joined #ruby
fowl has joined #ruby
Choobie has quit [Ping timeout: 255 seconds]
friskd has quit [Ping timeout: 255 seconds]
havenn has quit [Ping timeout: 244 seconds]
Morkel_ has joined #ruby
banisterfiend has quit [Ping timeout: 245 seconds]
Morkel has quit [Ping timeout: 265 seconds]
Morkel_ is now known as Morkel
awestroke has quit [Remote host closed the connection]
h4mz1d has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
jimeh has joined #ruby
mahmoudi_ has quit [Read error: Connection reset by peer]
Choobie has joined #ruby
shevy has quit [Read error: Operation timed out]
havenn has joined #ruby
Jackneill has quit [Remote host closed the connection]
ryanf has quit [Quit: leaving]
Rym has joined #ruby
Guest25886 has joined #ruby
h4mz1d has quit [Ping timeout: 252 seconds]
<eka> reppard: code school explain how they did somewhere
<oqa> reppard: rack
thufir_ has quit [Remote host closed the connection]
danneu has joined #ruby
danneu has quit [Client Quit]
philips_ has quit [Changing host]
philips_ has joined #ruby
thillux has quit [Remote host closed the connection]
Choobie has quit [Quit: End]
arturaz has quit [Ping timeout: 252 seconds]
shevy has joined #ruby
<shevy> anyone knows... if I use a markdown file foo.md
nilg has quit [Read error: Connection reset by peer]
<shevy> and I want to link in an image, can I "render" a final html page or something, with that image downloaded already?
cantonic has joined #ruby
bigmac has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
cj3kim has quit [Quit: This computer has gone to sleep]
Jasko has joined #ruby
slash_nick has joined #ruby
jonahR has quit [Quit: jonahR]
<shevy> hmm yeah
nomenkun has quit [Remote host closed the connection]
<shevy> I guess I can use a method to load markdown, and when finding the markdown-string containing a remote image, download that
nomenkun has joined #ruby
darthdeus has quit [Quit: Leaving...]
Takehiro has quit [Remote host closed the connection]
Beoran_ has joined #ruby
Beoran__ has quit [Read error: Operation timed out]
reppard has quit [Ping timeout: 265 seconds]
arturaz has joined #ruby
iamjarvo has joined #ruby
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
nomenkun has quit [Remote host closed the connection]
whitedawg has joined #ruby
Rym has quit [Quit: Rym]
jonahR has joined #ruby
cantonic has quit [Quit: cantonic]
fir_ed has joined #ruby
darthdeus has joined #ruby
reppard has joined #ruby
dsdeiz has quit [Ping timeout: 265 seconds]
mahmoudi_ has joined #ruby
dsdeiz has joined #ruby
dyrot has joined #ruby
NiteRain has joined #ruby
havenn has quit [Remote host closed the connection]
nomenkun has joined #ruby
havenn has joined #ruby
jrajav has joined #ruby
reppard has quit [Ping timeout: 265 seconds]
Rym has joined #ruby
zigomir has joined #ruby
dsdeiz has quit [Ping timeout: 250 seconds]
havenn has quit [Ping timeout: 252 seconds]
Morkel has quit [Quit: Morkel]
* slash_nick is working on a gem that unpredictably but evenly distrubtes objects to one of two+ groups (experimental/control)...
Guest25886 has quit [Quit: Guest25886]
Timopheym has joined #ruby
nomenkun has quit [Remote host closed the connection]
dsdeiz has joined #ruby
Timopheym has quit [Ping timeout: 260 seconds]
cj3kim has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
cantonic has joined #ruby
Takehiro has joined #ruby
havenn has joined #ruby
dsdeiz has quit [Ping timeout: 260 seconds]
<slash_nick> eet verks
elaptics is now known as elaptics`away
savant has joined #ruby
<savant> #python sucks
Takehiro has quit [Ping timeout: 265 seconds]
<savant> I just wished everyone a merry christmas
<savant> no response
<savant> merry christmas all you ruby devs! :)
<waxjar> merry christmas
<eka> savant: why you say that
<savant> yay waxjar++ :)
<slash_nick> merry Christmas
<savant> maybe all pythonistas are jewish?
Lemtzas is now known as ChristmasSpirit
<savant> idk.
ChristmasSpirit is now known as XmasSpirit
<slash_nick> savant: or atheist
<havenn> Merry Christmas
<savant> im atheist
<savant> awh
<savant> everyone here is in the spirit
<savant> its too bad im a php developer...
PetePorty has quit [Remote host closed the connection]
<havenn> Atheists love Christmas the most! <3
<slash_nick> savant: yeah, too bad
<slash_nick> lol havenn ... why is that?
the_jeebster has quit [Quit: Leaving.]
<savant> slash_nick: most of my time is spent in ruby or python
<savant> performing ops
<savant> just my productive webapp stuff is all php
<savant> cause php is way better than ruby
<savant> ;)
<slash_nick> pcp maybe
<savant> haha
<savant> woah
<slash_nick> lol... maybe... wouldn't know
<savant> havenn: read that already
<savant> its funny because the guy is complaining about things where there are proper, easy solutions
<slash_nick> I had to port a php app to ruby this past year... wasn't bad
<savant> its like me complaining about how all ruby gems depend upon activesupport
Solnse has quit [Ping timeout: 276 seconds]
<havenn> savant: by all-ruby-gems you mean just rails?
<savant> nah
<savant> i used an inflector gem a few months ago
<savant> depended upon activesupport
Jasko has quit [Read error: Connection reset by peer]
* slash_nick just made a gem... no activesupport
<savant> or like
<savant> my capistrano stuff somehow depends upon sinatra.
nemesit|osx has quit [Quit: Leaving...]
<savant> sorry, sinatra-contrib
Jasko has joined #ruby
<slash_nick> So... important question: Is there some corporate Kinkos-ey thing that will burn dvds for you?
cakehero has quit [Quit: Computer has gone to sleep.]
<savant> slash_nick: doesnt kinkos do that already?
<slash_nick> savant: I don't know
<savant> pretty sure they do
<slash_nick> I imagine it would have to be a kinkos-ey thing
<havenn> DVD's are like LaserDisks.
<slash_nick> Not even sure we have a kinkos here
benlieb has joined #ruby
<slash_nick> My little brother realized today that he can't burn a movie onto a CD... family intended to give away videos of some Christmas program to friends
<savant> yeah i'd try kinkos
dsdeiz has joined #ruby
<slash_nick> members where group is "control": 5001... members where group is "experimental": 5001.... I think my gem works
<apeiros_> savant: um, yeah, the inflector gem *is* rails
<apeiros_> or rather, part of
<apeiros_> so… what havenn said :-p
<havenn> you can burn a video on a cd, a lot of DVD players support VCD playback.
<savant> apeiros_: haha
<savant> w/e
<slash_nick> havenn: size is the problem
<havenn> slash_nick: Ahh, kk.
<savant> php works well for me when I don't use wordpress or whatever
<savant> use a framework like an ADULT
<apeiros_> meh
<apeiros_> adults build their own toys
<savant> nah
<savant> adults use well-tested toys
<savant> i would never build my own framework. seems duplicative.
<slash_nick> I'm pretty psyched that ran well.... perfect balance of control and experimental... but I'm concerned because I expect a rand(0..7) offset...
<apeiros_> well-tested is for business. you wouldn't use toys in business, would you?
* slash_nick dumps db and runs again
<savant> apeiros_: what would you classify as a toy? the framework you use?
<apeiros_> no, the things I build myself
<apeiros_> I build them to have fun
<apeiros_> thus toy
<savant> true I guess
<savant> at the moment, I have a small sinatra app built on top of capistrano and a log tailing tool built in python
<savant> I guess both would be "toys" except they are both in use in production
<apeiros_> you reimplemented `tail -f` in python? o0
joeycarmello has joined #ruby
<savant> are you familiar with logstash?
<apeiros_> no
<savant> basically it ingests log lines for searching, notification, alerting, aggregation etc.
shemerey has joined #ruby
<savant> you can output to elasticsearch, graphite, pager duty etc.
<savant> i am building an alernative shipper for it (lightweight, something not involving the jvm)
<apeiros_> "Hello! I'm your friendly footer. If you're actually reading this, I'm impressed."
alexspeller has joined #ruby
<savant> but yes, its kind of like tail -f, except you can use it to ship out json of your logs over udp/redis/amqp whatever
joeycarmello has quit [Remote host closed the connection]
whitedawg1 has joined #ruby
whitedawg1 has quit [Client Quit]
reppard has joined #ruby
<savant> https://github.com/josegonzalez/beaver <— the thing in python
<apeiros_> so you built logstash?
whitedawg has quit [Ping timeout: 256 seconds]
<savant> nah, I built an alternative shipper
<apeiros_> ah
<savant> because, as you'd expect, the jvm doesn't play nice on c1.medium instances on aws
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<savant> to be honest its mostly a learning experience
crackfu has quit [Remote host closed the connection]
<savant> lots of our work infrastructure is python
<savant> and my day is spent writing ruby for capistrano and chef
<savant> so I figured i should branch back into python
<savant> instead of stuff in php
<slash_nick> awesome... 49 experimental, 51 control... looks a little more trustworthy
<slash_nick> How would I test the "human unpredictability" of this algorithm
<savant> slainer68: what are you writing?
<slash_nick> create 1000... each time, guess the outcome based on which group has more... record the number of wrong guesses
<savant> so a neural net?
<slash_nick> savant: I think that was directed at me... when I create a patient, I need it randomly assigned to either 'experimental' or 'control' group... Pure random has too much variance between groups... Round robin is too predictable
<slash_nick> It's tested... it works... I just want to put some number/rating on how unpredictable the algorithm is
Solnse has joined #ruby
<savant> so then why dont you compare it to both round robin and pure random?
<slash_nick> savant: that wouldn't provide useful information..
<apeiros_> "Pure random has too much variance between groups" <-- hu?
<apeiros_> you're using Kernel#rand, yes?
<apeiros_> because Kernel#rand uses a mersenne twister, which is very evenly distributed
zigomir has quit [Quit: zigomir]
darthdeus has quit [Quit: Leaving...]
<slash_nick> apeiros_: #<EenieMeenie::Result:0x5fa7bb73 @groups={"Experimental"=>4928, "Control"=>5072}, @relative_imbalance=0.0, @imbalance=144, @population=10000>
<slash_nick> @imbalance=144
reppard has quit [Ping timeout: 252 seconds]
adeponte has quit [Remote host closed the connection]
<apeiros_> so you need both 50/50 filled?
<slash_nick> apeiros_: 49/51
<apeiros_> do a shuffle-fillup after the distribution
mengu has quit [Remote host closed the connection]
<slash_nick> one sec, i'll show you what i've done
<apeiros_> i.e., you shuffle the one which is too big and then take the first N and move it to the other group
<slash_nick> apeiros_: I can't go about moving patients from experimental to control
<apeiros_> rand(7)?
<slash_nick> apeiros_: limits the imbalance to 7
<apeiros_> o0 and why not? you already assign them…
<slash_nick> ish
mercwithamouth has joined #ruby
<slash_nick> apeiros_: once they're assigned, they're part of a scientific study
<apeiros_> ok, I totally don't get what you're doing…
<apeiros_> d'uh, then have a staging area…
<slash_nick> apeiros_: I'm not sure what you're suggesting...
<apeiros_> or does something read your memory in real time so you're not allowed to move data around?
<slash_nick> apeiros_: yes, that
<apeiros_> o0
<slash_nick> apeiros_: there's a company that deals with a LOT of medicare/medicaid patients... and they got a BUNCH of money to run some experiments
<apeiros_> and that has what to do with you being unable to have temporary data?
<slash_nick> apeiros_: they're not loaded in a batch job... one at a time
<slash_nick> "Thanks for visiting, I'm going to run a few tests and collect some information...let's enter you in the system"
<apeiros_> and at that point in time, it must be determine whether he's exp or contr
<slash_nick> right
<apeiros_> ok, now it makes more sense
<apeiros_> and you need 49% in experiment and 51% in control?
<apeiros_> (and precisely that amount)
<slash_nick> apeiros_: no... 50/50 is okay... but so is 49/51... 40/60 is no good...
<apeiros_> o0
<slash_nick> 50/50 is good, but it's gotta be unpredictable
<apeiros_> and you claim rand() was too far off of 50/50?
<apeiros_> also, over what size is 50/50 tested? (because after the 2nd patient, you can be at 100/0)
<slash_nick> apeiros_: that's right... it may be 50/50 at 100 patients... 60/40 at 1000... 50/50 at 100000
<slash_nick> I forget what we're expecting... 50000 < x < 100000
<apeiros_> yes, it *can*, that's what randomness is about. but *chances* for it to be beyond 55/45 after >100 runs is very low
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
<slash_nick> apeiros_: bibo?
<apeiros_> bibo?
<slash_nick> bounded in bounded out
gyre007 has quit [Remote host closed the connection]
<slash_nick> I can't let it do it's own thing... it's too unpredictable
<apeiros_> try it
<slash_nick> apeiros_: okay...
xaq has joined #ruby
<apeiros_> run 1000 partitions of 100000 with (rand < 0.5), I bet you'll not get one which is over 55/45
<slash_nick> here's a few for 10000 8, 144, 52, 194, 190, 12, 6
<slash_nick> here's a few "imbalances" for 10000... 8, 144, 52, 194, 190, 12, 6
cakehero has joined #ruby
<apeiros_> slash_nick: and what's that in percentage?
<alexspeller> I'm no mathematician but isn't the idea if it's truly random (or even reasonable pseudorandom) you could at any time get a result that's not what you what, even though the probability of that is small
<savant> "Random is too random"
<apeiros_> alexspeller: random vs. distribution
<slash_nick> very small :)
<slash_nick> [0.0008, 0.0144, 0.0052, 0.0194, 0.019, 0.0012, 0.0006]
<apeiros_> rand is random but well distributed
dr_neek has joined #ruby
<apeiros_> slash_nick: so it'd satsify your 51/49 is still ok, no?
<slash_nick> apeiros_: ... yes... but I got paid to play :)
<apeiros_> lol
<apeiros_> have fun
<slash_nick> :) and lots
<slash_nick> lots of fun i mean... not lots of money
<slash_nick> the maximum imbalance using the other algorithm was .02%
<havenn> slash_nick: Test a bunch of srands and make a white-list of safe ones. >.> http://www.ruby-doc.org/core-1.9.3/Kernel.html#method-i-srand
lenovodroid has joined #ruby
<apeiros_> lol
cakehero has quit [Ping timeout: 260 seconds]
* apeiros_ bets that chances to mess up increase with more complex schemes
arturaz has quit [Remote host closed the connection]
<slash_nick> I'm excited to test the "predictability" of the algorithm
<apeiros_> rand < 0.5 - and in the very very rare case that you're off too far, bypass rand and fill up the smaller basket
<slash_nick> the prediction will always be made for the group with less entrants
<slash_nick> apeiros_: that's essentially what I'm doing
<slash_nick> @groups.sample ... if there's too many in this group, it goes in the other
<apeiros_> you should only do that at the end of assigning people
<slash_nick> too many is defined as "x > y + rand(7)"... so "too many" has a random definition
<apeiros_> i.e. if you know that 10k people will be assigned, start doing it at e.g. 9.9k people
<apeiros_> otherwise you kill the randomness
<slash_nick> apeiros_: the problem is I don't know how many
<oqa> fuck.. my idea just broke itself when I autoupdated some plugins
<apeiros_> then you can't test anyway
<slash_nick> it could be 100000, 1million, half a million...
<apeiros_> well, you can ensure it to stick within certain bounds
<slash_nick> that's what I want... I don't want it falling out of bounds on the last entry
<apeiros_> but the narrower those are, the worse the randomness
<oqa> no editor windows open and there's no way to access preferences to disable the plugins
<slash_nick> apeiros_: I'm honestly happy with the pure rand approach
banisterfiend has joined #ruby
* slash_nick shrugs
Solnse has quit []
<slash_nick> I could make that rand(7) bit grow with the population
<slash_nick> I'm going to take a break from the discussion and write another module to return some "predictability" info
benlieb has quit [Quit: benlieb]
<slash_nick> round_robin should be the most predictable
<apeiros_> I'd just define a threshold and bypass rand entirely if the threshold is crossed
<apeiros_> I'd probably also log how many such cases you actually have
<apeiros_> (and the threshold should not kick in before N patients have been assigned - law of the large numbers…)
dr_neek has quit [Quit: dr_neek]
<apeiros_> (because as said, at patient 2, you have a 50% chance to end up with 100/0)
cableray has joined #ruby
banisterfiend has quit [Ping timeout: 265 seconds]
<slash_nick> at patient 1 you have 100% chance to end up with 100/0 (being captain obvious :))
ewag has quit [Ping timeout: 250 seconds]
<apeiros_> right
<apeiros_> teh horror!
<apeiros_> what shell we do?!
matchaw_ has joined #ruby
<slash_nick> apeiros_: that proves it's impossible...we've wasted too much time already
lenodroid has joined #ruby
<slash_nick> can't even create one record evenly distributed between two groups... how are we going to create billions?
lenovodroid has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: Leaving.]
jonahR has quit [Quit: jonahR]
<apeiros_> ze fail
Marius has joined #ruby
<waxjar> didn't read everything, but isn't the idea that the experimental group and the control group are of equal size?
Y3K has joined #ruby
nomenkun has joined #ruby
<Y3K> Hi all. I've just installes Ruby 1.9.3, it's required from another software I need. I want to know if it's safe to remove all the gems that come with it by default.
moshee has quit [Ping timeout: 245 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
breakingthings has quit [Ping timeout: 255 seconds]
<slash_nick> ew, 100 runs of my preferred algo had 64 correct predictions...
breakingthings has joined #ruby
<waxjar> if that's true, then i'd just make an array with a load of group numbers (say 500 1, 500 2) and take one randomly from the array
<waxjar> and delete it from the array of course
<slash_nick> waxjar... assuming the study stops with 1000 members, that'd be perfect...
<slash_nick> it may stop at 500... it may go on to 100000
<waxjar> well that's not a problem, is it?
ddd1 has joined #ruby
<slash_nick> how many group numbers do I put in my array?
nomenkun has quit [Ping timeout: 252 seconds]
<waxjar> you can generate it?
<slash_nick> waxjar: based on?
ddd is now known as Guest29851
lenodroid has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
<slash_nick> i guess, when it empties, generate some more...
<waxjar> based on the number of participants and the number of groups?
<slash_nick> this experimentation is leading me to pure rand
ddd1 is now known as ddd
tommyvyo has joined #ruby
<Y3K> Anyone? Is it safe to remove ALL the gems?
<slash_nick> waxjar: the number of participants is unknown
<slash_nick> Y3K: depends on the gemspec/Gemfile
<slash_nick> are the gem versions locked down? will your project break if you reinstall the gems and they get different versions?
Jasko has quit [Read error: Connection reset by peer]
<Y3K> slash_nick: I just need ruby for the heroku cli, it looks like it only need the standalone version of it (no gems)
Jasko has joined #ruby
<Y3K> How ever, a fresh install of ruby contains about 5-6 gems with it.
Guest29851 has quit [Ping timeout: 245 seconds]
emmanuelux has quit [Quit: emmanuelux]
<Y3K> slash_nick: They doesn't "hurt" of course, just wanna know if could be secure remove them.
<waxjar> did you already install the heroku tool belt? it might be dependencies of that
<Y3K> waxjar: Hmmm yes, it's installed now. Also, it's pretty undocumented (so I don't know what are its deps)
<Y3K> Well, I'll leave them just like that, thanks for your help though ;-)
Y3K has left #ruby [#ruby]
emmanuelux has joined #ruby
<slash_nick> We barely survived the end of the world... already we're worrying about y3k
<waxjar> you can check with gem dependency [gemname] if they're dependencies of heroku or not
<waxjar> i think they are, i get about 5 for them, too
<slash_nick> he left
<waxjar> ah
<waxjar> anyway, how can you not know your n slash_nick?
whitedawg has joined #ruby
g_bleezy has joined #ruby
<slash_nick> waxjar: I don't know how many patients this facility will recieve during the course of the study
<waxjar> ah, i see
<slash_nick> 1..infinity
<slash_nick> surely not infinity, but ya know
<slash_nick> infinity - 1
<slash_nick> lol
breakingthings has quit [Quit: mer chrimmus]
<waxjar> do you need a random thingy for it though, wouldn't one to group 1, one to group 2, one to group 1, one to group 2, etc work?
<slash_nick> waxjar: if I want doctors fudging the experiments results
<slash_nick> "You look like you would respond to incentives... I'll just enter this other patient before you"
<slash_nick> Round robin is definitely too predictable... the question is, is random too random?... it's looking like random is sufficient, but I might need to provide some boundaries
Xeago has joined #ruby
joshman_ has quit [Quit: Computer has gone to sleep.]
<slash_nick> anyway, it's a bunch of fun
<waxjar> if you go truly random you might end up with a very small group and a very big group and if you're gonna do something about that afterward, you're no longer random
<slash_nick> not random is okay, so long as the doctors don't know the rhythm
<slash_nick> I could do it alphabetically if I knew patients last names were evenly distributed A-Z
<waxjar> if you say in advance, this person no matter what is going in this group you're not basing your decision on any attributes of the person or anything, still pretty random id say. dunno if that's allowed tho
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
<slash_nick> Right now I pick a random group... if that group appears to be too full ('too full' itself has a random definition), then the patient falls in the other group
<waxjar> you won't know what too full is tho, if you don't know your n, right?
PragCypher has quit [Quit: Leaving]
<slash_nick> waxjar: I don't know the eventual n... I will always know the current n
<waxjar> isn't there a standard procedure? i can imagine more people having this problem
<slash_nick> waxjar: yeah, they're are papers written on this
vjt has joined #ruby
<slash_nick> waxjar: it's not a roadblock... it's a discussion :)
<waxjar> ah, ok
otters has quit [Ping timeout: 260 seconds]
<kalleth> anyone give me some advice on some weird behavior with tap? https://gist.github.com/ec2fd9ad204508f62e1a
<kalleth> explanation is in the gist
<kalleth> but basically, within a .tap block the elemen i'm modifying gets set (per a binding.pry on each comment line)
<kalleth> but in the parent model that's supposed touse the returned result, its nil
<kalleth> or, []
<kalleth> also, 'simple' on line 14 hsould be 'search'
cantonic has quit [Quit: cantonic]
zeade has quit [Quit: Leaving.]
<kalleth> updated
atmosx has joined #ruby
* slash_nick plays halo while his computer works
<atmosx> hello
Steve1UK has joined #ruby
autumn has quit [Remote host closed the connection]
Nahra has joined #ruby
cantonic has joined #ruby
zastern has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
alanp_ has joined #ruby
Aqua has quit [Ping timeout: 265 seconds]
nomenkun has joined #ruby
nari_ has joined #ruby
zigomir has joined #ruby
Aqua has joined #ruby
alanp has quit [Read error: Operation timed out]
timur has joined #ruby
seich has joined #ruby
<kalleth> i fixed it
<kalleth> i was using .tap wrong fsr
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
Marius has quit []
samuel02 has quit [Remote host closed the connection]
stopbit has quit [Quit: Leaving]
<ddd> i like the spare-cycles sharing. i let my computer do World Community Grid all day. love this MBP. Doesn't slow me down at all, quad-core i7, 16GB of RAM, I let it take 50% of the CPU at all times. (actually thought that would screw with me, but this system is pretty nice. Can even play Portal 2 on high settings while its working the projects.
<ddd> gah, sorry folks. hit the wrong chan win
Jasko has quit [Read error: Connection reset by peer]
c0rn has joined #ruby
Jasko has joined #ruby
<timur> hey guys, i'm trying to use the rubytree gem in rails and it looks like there is a conflict between hirb/lib/tree.rb and rubytree/lib/tree.rb. Hirb gets loaded with the application and subsequent require 'tree' just returns false. what's the workaround for this?
mahmoudi_ has joined #ruby
whitedawg has quit [Quit: Leaving.]
v0n has quit [Ping timeout: 250 seconds]
<canton7> timur, off-topic, but to be it doesn't look like hirb/lib/tree.rb exists :P
johnmilton has quit [Remote host closed the connection]
<timur> canton7: it was an approximation. here's the full path: hirb-0.6.2/lib/hirb/helpers/tree.rb :P
<timur> i guess one solution is not to include hirb. but is there no way to have both hirb and rubytree loaded?
<canton7> and how are you requiring hirb/.../tree.rb? I would imagine you're doing a 'require "hirb/helpers/tree"'? In which case it shouldn't ignore another 'require "tree"'....
<canton7> ah, realised I'd missed a bit of info
<timur> canton7: I'm not doing it explicitly, actually. I realized Rails manages to load it when it does require File.expand_path('../../config/environment', __FILE__) (in spec_helper.rb)
<timur> speaking of which, are Rails questions fair game here or is there a better channel for it?
<canton7> we're not well versed in rails here at all. #rubyonrails is normally where we direct people
cantonic has quit [Quit: cantonic]
<atmosx> blah too tired to write any code
<atmosx> I'm gonna grab stephenson and get to bed
<atmosx> night all
<timur> canton7: got it, makes sense. this is definitely a rails specific mess :(
<canton7> timur, it does sound rather weird, that require's getting so confused
c0rn has quit [Quit: Computer has gone to sleep.]
<timur> canton7: agreed. i tossed the hirb gem from the gemfile, which then led to the same issue, except it now collided with the netaddr gem. There's gotta be some way to avoid these collisions
atmosx has quit [Quit: And so the story goes…]
<canton7> is your LOAD_PATH getting fecked anywhere? The docs say require refuses the load the *same* file twice, which implies that require's trying to include the same file multiple times
<canton7> (as opposed to different files being included, and require getting confused and only including one)
<canton7> The solution to all that is of course namespacing. gems' sub-files are stored in gemdir/lib/gemname/file.rb, $LOAD_PATH is set to include gemdir/lib, and you require gemname/file
<canton7> that way, so long as 'gemname' is unique, you don't get this problem
perun_ has quit [Ping timeout: 252 seconds]
Virunga has joined #ruby
apeiros_ has quit [Remote host closed the connection]
hoelzro|away is now known as hoelzro
apeiros_ has joined #ruby
alexspeller has quit [Remote host closed the connection]
Nahra has quit [Quit: leaving]
joofsh has quit [Read error: Operation timed out]
Jasko has quit [Read error: Connection reset by peer]
lenovodroid has joined #ruby
Jasko has joined #ruby
<timur> canton7: i'm fairly certain Rails messes with the LOAD_PATH. you are correct that it will refuse to load the same file twice
jenrzzz has joined #ruby
_64k has joined #ruby
PragCypher has joined #ruby
PragCypher has quit [Client Quit]
shemerey has quit [Quit: Linkinus - http://linkinus.com]
perun_ has joined #ruby
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
<timur> canton7: is the "gemdir/lib/gemname/file.rb" standard practice? i have seen in a number of gems "gemdir/lib/gemname.rb" or in the case of rubytree, it's even worse
cableray has quit [Quit: cableray]
<canton7> gemdir/lib/gemname.rb is fine - you include it with 'require "gemname"'. Any other gem files should go in gemdir/lib/gemname/ though, and are included with 'require "gemname/file"'
baroquebobcat has joined #ruby
<canton7> and I believe it is no more than convention - you can't get around the gemdir/lib bit, as rubygems sets the LOAD_PATH up to point to there. But you could bung a load of stuff straight into gemdir/lib/ if you wanted to be mean
nomenkun has quit [Remote host closed the connection]
jfl0wers has quit [Quit: jfl0wers]
zigomir has quit [Quit: zigomir]
malte_ has joined #ruby
baroquebobcat has quit [Client Quit]
statarb3 has quit [Ping timeout: 264 seconds]
statarb3 has joined #ruby
joofsh has joined #ruby
<timur> canton7: hmm ok. i'm confused about one othe thing. it looks like the herb gem does the right thing by doing a require 'hirb/helpers/tree', but then require 'tree' resolves to that file as well. can you give some insight into why that happens or point me where to read about it?
nari_ has quit [Ping timeout: 252 seconds]
havenn has quit [Ping timeout: 265 seconds]
<canton7> that means your LOAD_PATH includes hirb/helpers, I would have thought
io_syl has quit [Quit: Computer has gone to sleep.]
<timur> canton7: i dumped the LOAD_PATH and it's not in there
<canton7> which is why I was asking whether rails had screwed around with it
<canton7> hmm, then I have no idea what on earth is going on
<canton7> are you absolutely, 100% sure 'require"tree"' is resolving to hirb/helpers/tree?
<timur> hang on, let me put this in pastebin, so it's easier to talk about it