apeiros changed the topic of #ruby to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<banana-socks> ericwood: it's giving me an error - uninitialized constant ClassName::ActiveSupport
jonr22 has joined #ruby
<ericwood> probably because you haven't installed activesupport
jhass has joined #ruby
ixti has quit [Ping timeout: 265 seconds]
<banana-socks> aha
Jake232 has joined #ruby
mistermocha has joined #ruby
sdwrage_ has quit [Quit: This computer has gone to sleep]
mikepack has quit [Remote host closed the connection]
tkuchiki has joined #ruby
ringarin has quit [Ping timeout: 264 seconds]
jhwhite has left #ruby [#ruby]
Bira has joined #ruby
zacstewart has quit [Remote host closed the connection]
zacstewart has joined #ruby
n_blownapart has quit []
beneggett has quit [Ping timeout: 265 seconds]
jack_rabbit has joined #ruby
byprdct has joined #ruby
vectra has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
sdwrage has joined #ruby
gsd has quit [Read error: Connection reset by peer]
elaptics is now known as elaptics`away
Beoran has quit [Ping timeout: 265 seconds]
zacstewart has quit [Ping timeout: 240 seconds]
gsd has joined #ruby
nkumari has joined #ruby
st1gma1 has quit [Read error: Connection reset by peer]
st1gma1 has joined #ruby
sibchcoder has joined #ruby
* jhass still thinks "%.2f€" % [0.123] is most likely enough for him
bricker`work has joined #ruby
nkumari has quit [Remote host closed the connection]
toretore has joined #ruby
nkumari has joined #ruby
MattB2 has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
dc_ has quit [Remote host closed the connection]
mathias3 has joined #ruby
glaksmono has joined #ruby
jonr22 has quit [Remote host closed the connection]
philwantsfish has joined #ruby
nkumari has quit [Remote host closed the connection]
QKO has quit [Ping timeout: 240 seconds]
toretore has quit [Ping timeout: 265 seconds]
mathias3 has quit [Ping timeout: 264 seconds]
Beoran has joined #ruby
cleopatra has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
gsd has quit [Read error: Connection reset by peer]
Hijiri has joined #ruby
gsd has joined #ruby
teddyp1cker has joined #ruby
dc_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
glaksmono has quit [Quit: This computer has gone to sleep]
ghr has quit [Ping timeout: 258 seconds]
mr_foobar_baz has quit [Quit: WeeChat 1.0.1]
toretore has joined #ruby
glaksmono has joined #ruby
teddyp1cker has quit [Ping timeout: 272 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
Takle has quit [Remote host closed the connection]
Bira has quit [Remote host closed the connection]
toretore has quit [Ping timeout: 256 seconds]
tastycode has joined #ruby
banana-socks has quit [Quit: Page closed]
tjsousa has joined #ruby
jaequery has joined #ruby
<tastycode> If I needed to override Kernel#fail, should i alias out raise or fail? documentation seems clear, I would suspect override raise (since its rb_f_raise) and fail is just aliased to raise ?
spastorino has quit [Quit: Connection closed for inactivity]
tkuchiki has quit [Remote host closed the connection]
<graft> wat
<jaequery> hi guys, what's the best way to do something like this? test = if_empty(something['a']['b']['c']) ? 'it is empty' : something['a']['b']['c'] ?? any way to make that cleaner and more ruby like?
tkuchiki has joined #ruby
Azure has joined #ruby
sibchcoder has quit [Ping timeout: 264 seconds]
baweaver has quit [Read error: Connection reset by peer]
sinequanon has quit []
<waxjar> jaequery: what do you mean by empty?
emanu has joined #ruby
baweaver has joined #ruby
<graft> jaequery: something['a']['b']['c'] is asking for a nil nomethoderror
tokik has joined #ruby
oo_ has joined #ruby
uptownhr has joined #ruby
pglombar_ has quit []
sdwrage has joined #ruby
<jaequery> grat: so , how would you do it?
sibchcoder has joined #ruby
arescorpio has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
klmlfl has quit [Remote host closed the connection]
danijoo has joined #ruby
<graft> jaequery: it would help if i had more context. why are you storing things in a nested hash anyway?
tkuchiki has quit [Ping timeout: 272 seconds]
<graft> jaequery: that's probably your first mistake.
arescorpio has quit [Remote host closed the connection]
<jaequery> i just have data = fetch_data_from_api() , and im structuring output with it: company = { :name => data['company']['name'] } , but sometimes, company might not be there
nfk has quit [Quit: yawn]
adriancb has quit [Remote host closed the connection]
ThaDick has joined #ruby
<graft> jaequery: so what's the proper behavior if company is not there?
<tastycode> you could make the argument that some object is going to be deeply coupled into the structure of that hash .. and you should have some sort of other object managing the concerns of the structure of that hash and insulating the system using that against uncertainties about the hash structure
lemur has quit [Ping timeout: 258 seconds]
<jaequery> just be empty string , even null would be fine as long as it don't halt the code
reinaldob has quit [Remote host closed the connection]
<jhass> tastycode: curios, why do you need to override Kernel#fail?
<graft> jaequery: so in that case, company = { :name => nil }?
<jaequery> yes
blackmes1 has quit [Ping timeout: 255 seconds]
reinaldob has joined #ruby
<graft> jaequery: why not do company = Company.new data['company'] ?
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jaequery> i just have a very simple output i want it to look, and, i dont wanna create a codebase full of if/else checks, i wanna do it all inline in the output hash im building
olivier_bK has quit [Ping timeout: 272 seconds]
<graft> jaequery: well, you can do that, but that's probably the wrong way to do things
echooo has joined #ruby
<graft> jaequery: your code will be shit, it will break all the time, and people who have to maintain it after you will curse your name
<jaequery> i wanna just do something like this:
<jaequery> how bout like, res = { :name => get_stuff_if_exists (data['company'], '') , where second param makes it default to empty
mikecmpbll has quit [Quit: ciao.]
<jaequery> how woudl i go about creating the get_stuff_if_exists ?
<graft> jaequery: again, you clearly want an object, not a bare hash
<tastycode> it would be easier to just put a whole bunch of stuff double checking the structure of the hash.. but that would leak details about the structure of the hash into the system using it… it would be better designed to have an object manage that hash
<graft> jaequery: why NOT put this stuff in an object with validations? You obviously want the validations
<jaequery> graft: because data im getting is not reliable, data could keep changing, i can't update validation code every single time it updates or it will break our codebase middle of night
baweaver has quit [Remote host closed the connection]
QKO has joined #ruby
<jaequery> it's a remote data source i have no control over
<tastycode> jaequery: if you do something like this:: class CompanyResponse; def initialize(data); @data = data; end; def company; @data[‘company’] || {}; end; def name; company[‘name’]; end; end;
<graft> jaequery: it's not better that way, it's worse
<tastycode> jaequery: then you’ll only have to account for uncertainty in CompanyResponse… not in the rest of your system
reinaldob has quit [Ping timeout: 256 seconds]
<tastycode> you would be isolating the crapiness.. instead of letting it leak
<graft> jaequery: if they change the format upstream, your code base will break no matter what. you can build the appropriate behavior into your classes, but there's no reason not to use classes to structure the entities you want to manage
iamjarvo has joined #ruby
<jaequery> graft: not true, but point taken
iamjarvo has quit [Max SendQ exceeded]
nb_bez___ has joined #ruby
<jhass> lol
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
arescorpio has joined #ruby
iamjarvo has joined #ruby
jimbach has quit [Remote host closed the connection]
Bira has joined #ruby
tkuchiki has joined #ruby
<graft> jaequery: if you have a remote data source that you have no control over, you should want to protect yourself as much as possible, not hard-code things so they crawl deep into whatever hash structure they happen to be spitting out this week
giuseppesolinas has quit [Quit: This computer has gone to sleep]
foureight84 has joined #ruby
<pontiki> ^ +1
giuseppesolinas has joined #ruby
<pontiki> protect your application from the outside; guard the borders lest you have boarders!
<jaequery> im scraping html from sites
<jaequery> and its not mission critical that sometimes it defaults to empty string if something got updated but like you said, point taken
anaeem1 has joined #ruby
<graft> jaequery: in general the way you want to do data transformations is not A => B, it's A => model => B. That way, before you write B, you can check that it makes sense. You can also then just write model => C and get A => model => C for free.
mistermocha has quit [Remote host closed the connection]
<uptownhr> take a look at the NilClass
<uptownhr> pretty much solves the problem
<graft> yeah, in a terrible way
<uptownhr> how is it terrible?
<graft> because nil[] => NoMethodError is a basic language feature
<jhass> haha "location.respond_to?(:keys) ? location[key] : nil" what could possibly go wrong
<jaequery> lol
Xeago has quit [Remote host closed the connection]
sdwrage has quit [Quit: This computer has gone to sleep]
<godd2> polymorphism has too many syllables anyway
shazaum has joined #ruby
<uptownhr> but if that is what you want
<uptownhr> what is wrong with it?
<graft> patching nil? because who knows what the hell else you're breaking by doing that?
<graft> it might be what i want in that one line of code
<jaequery> graft: i agree i dont want to hack base clases
<graft> it's probably not in the other 9000 lines of dependency
<uptownhr> i mean
<uptownhr> your code stops executing .....
<foureight84> how would you tackle checking if a key exists in a hash then? this conversation is getting interesting
<jhass> foureight84: how about has_key?
<graft> i was dealing with what i think is the larger issue
<uptownhr> jhass: how ab out for nested ?
<benzrf> >> {a: 1, b: 2, c: 3}.include? :a
<eval-in__> benzrf => true (https://eval.in/222727)
<benzrf> ++
anaeem1 has quit [Ping timeout: 255 seconds]
jack_rabbit has quit [Ping timeout: 256 seconds]
<graft> anyway in this case it sounds like nokogiri css selectors might be easiest
jimbach has joined #ruby
<foureight84> jhass: and in the case when the key is n level deep?
<graft> since he's just parsing html
<uptownhr> test[:test]['asdfasdfadsf']['asdfasdfasdf']['zzzxcvzxcvzxcv']['zxcvzxcv']
<uptownhr> will you use if statements on all the levels?
<jhass> in production code I'd do what graft described, model the data through a class, have accessors with sane defaults
<jaequery> i was really hoping something like
<graft> no, i'd never write a piece of code that depended on that hash in the first place
<jaequery> i was hoping something like, { name: data['company']['name'] || 'some default name' }
Nogbit has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> for one of scripts I'd just .is_a? Hash
<uptownhr> graft: so if an external source may or may not have it ....
<jhass> depending on the guarantees of my data structure
tus has joined #ruby
<uptownhr> the problem right now is, "no guarantee" on data structure
<graft> uptownhr: as he said, he's parsing html, so why not use tools built for searching html nodes already?
<uptownhr> that's the problem he is facing
<graft> uptownhr: which already deal with the problem he is facing (i.e., the node does not exist)
<uptownhr> but this can go for non web issues
<jaequery> calm down guys its fine
<jaequery> no need to fight over this
sibchcoder has quit [Ping timeout: 256 seconds]
<jaequery> apparently only i have this sort of problem
<graft> we're just interested
sdwrage has joined #ruby
<graft> no, this is a common problem. i just think that in ruby, reaching down a chain of bare hashes is difficult for a reason
jimbach has quit [Ping timeout: 258 seconds]
<graft> because you shouldn't, in general, store data that way
<jaequery> i must be thinking in a wrong way to handle this problem
<graft> jaequery: i'm telling you, nokogiri + css selectors
<uptownhr> "shouldn't"?
<jaequery> i dont wanna store data, i wanna output data, i have nothing to do with database FYI
<uptownhr> so you against nosql?
shazaum has quit [Quit: Leaving]
<graft> i mean store as in, represent in memory
x77686d has quit [Quit: x77686d]
razieliyo has quit [Quit: Saliendo]
<graft> your code will quickly become impossible to follow
<uptownhr> IMO, the NilClass example from that stackoverflow should have been the default for ruby
michaeldeol has joined #ruby
<godd2> graft not if he's super duper smart
<graft> uptownhr: why? nil is nil for a reason! it's supposed to be nil
<jaequery> im curious, does this look hard to read? { name: data['company']['name'] || 'some name' }
robustus has quit [Ping timeout: 255 seconds]
<uptownhr> and it still returns nil
<uptownhr> instead of erroring out
<uptownhr> you should try it
<uptownhr> makes a lot of sense
<shevy> jaequery yeah hard to read; it's always a problem if you have two conditions on the same line to test
<graft> i'd rather subclass Hash than patch nil
<jhass> uptownhr: you confuse the null pattern with nil
<uptownhr> jhass: please explain
<dkphenom> if i have a hash of arrays like this: array = {"name" => ["jason", "brandon"]}, how can I output it so that I have name: on one line and then both names on each separate line using a .each?
<godd2> uptownhr null pattern makes a special nil for a given class
alexherbo2 has joined #ruby
<jhass> ^ and nil represents the absence of any object
marr has quit [Ping timeout: 255 seconds]
robustus has joined #ruby
<godd2> It solves the problem of being able to add methods to nil without affecting the rest of the system which relies on how nil mornally behaves
<shevy> the magic of nil
tjsousa has quit [Quit: (null)]
woven has quit [Quit: Leaving]
<pontiki> i feel like avdi's shill here, but avdi has an interesting monograph "Much Ado about Naught" about null patterning. he goes *deep* and i don't think it's all that *practical*, but it's and interesting read
<shevy> >> nil.class.ancestors
<eval-in__> shevy => [NilClass, Object, Kernel, BasicObject] (https://eval.in/222730)
stunder has quit [Quit: Screw you guys I'm going home]
<tastycode> graft: in case you were wondering … here https://gist.github.com/tastycode/3da4984004f4b4a483c9
mathias3 has joined #ruby
<pontiki> but my infinity is bigger than your infinity, so nyah
<uptownhr> can someone please expalin...
<uptownhr> i don't want to read or watch all this
<uptownhr> for simplicity sake
<jaequery> its okay guys .. like i said, only i have this sort of problem ... i am good at running into these type of things
<uptownhr> wouldn't it nice to check if something exists by just typing it?
<shevy> if you got a nil you ain't got much uptownhr
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<tastycode> I basically have 100s of “fail ‘some random string’” .. and i’m trying to patch it all in one go by inferring or generating a class at runtime
<godd2> uptownhr I assure you that youtube vid I sent is worth watching and it will provide a better explanation of the null object pattern than any one of us could try to explain to you in irc
<shevy> uptownhr there are much more interesting videos to watch!
<tastycode> uptownhr: I agree with godd2
jenrzzz has joined #ruby
Joufflu_ has joined #ruby
<jhass> tastycode: I would probably opt for including only into the affected classes & custom method name
<uptownhr> im' wqatching
<uptownhr> but i don't like that guy, he is wearing green
<tastycode> its alll the damn classes in the project :/
Hijiri has quit [Ping timeout: 255 seconds]
<godd2> uptownhr beggars cant be choosers ;)
<tastycode> uptownhr: here is my particular null object … much more opinionative.. and i disagree with avdi in some places https://gist.github.com/tastycode/09034813f09d17294c09
<jaequery> can i somehow atleast do something like ...... name = if_exists ( data['a']['b']['c'] ) ? data['a']['b']['c'] : 'not found'
silkfox has joined #ruby
luckyruby has joined #ruby
<jhass> jaequery: you're just rephrasing your initial question there
fabrice31 has joined #ruby
charliesome has joined #ruby
<uptownhr> this video doesn't help me any
sambao21 has quit [Quit: Computer has gone to sleep.]
<jaequery> no before i want it even more concise, like name = data['a']['b']['c'] || 'not found'
<uptownhr> i want to write simpler code
<uptownhr> not more complex
<godd2> uptownhr you can't have watched it by now
<jhass> you've been provided two approaches that would lead to a, in the opinion of the majority of people here, cleaner code base
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<godd2> I'm watching it and he hasnt finished explaining
<uptownhr> hes creating Null objects
<jhass> you don't seem to want to use these approaches
<jhass> so find your own
<pontiki> jaequery: the way you've stated that, there's absolutely no need for a method "if_exists"
arrubin has quit [Quit: Connection closed for inactivity]
<uptownhr> jhass: i have.
<pontiki> you've just implemented a ternary operation
mathias3 has quit [Ping timeout: 272 seconds]
<godd2> uptownhr you can use an Optional monad if you want
<uptownhr> jhass: but people dno't agree
<godd2> but then you have to learn about monads
xymbol has quit [Quit: Lingo: www.lingoirc.com]
<pontiki> the problem arises, still when ['a'] does not exist, or if it does, ['b'] does not exist, and so on, down the chain
pdtpatrick_ has quit [Quit: pdtpatrick_]
<uptownhr> yes
Joufflu has quit [Ping timeout: 258 seconds]
rshetty has joined #ruby
<tastycode> you could easily even do class NullHash < Null; def [](key); self; end; end … if you do that, and you initialize the default for hash .. e.g. company = Hash.new(NullHash.new); then you can do company[“name”][“address”][“whatever”][“you”][“want”].nil? => true
<uptownhr> tastycode: nice, very simiilar to, http://pastebin.com/Mx8SJaSU
<jaequery> i guess the language itself just can't do it
wolflee has quit [Read error: Connection reset by peer]
<jaequery> so i will look at re-arranging my code to better suit it
bricker`work has quit [Ping timeout: 264 seconds]
wolflee has joined #ruby
<jaequery> i will have to validate check every single data levels
<pontiki> by the time you've written `data['a']['b']['c']` you're already evaluating it
<godd2> jaequery thanks to the Church-Turning thesis, any language can do anything any other language can do :)
<pontiki> there you go
Dreamer3__ has quit [Max SendQ exceeded]
<jaequery> the data i have is like 10 levels deep, im dealing with lots of data
<jaequery> gonna be a fun night
<tastycode> jaequery: i gave you an example that would work. for your case.. give you exactly what you want.. also, check out uptownhr’s crazy extension he just mentioned.. it would work for you too
chipotle has joined #ruby
<pontiki> isolate it, put in it's own library / class, keep it away from the application
<jaequery> tastycode: well i will do it the right way, hacking a class is not my forte
<pontiki> ensure the application gets what it needs
agent_white has quit [Read error: Connection reset by peer]
<pontiki> protect the borders!!
<tastycode> uptownhr’s is a hack, .. mine doesn’t patch anything
seitensei has quit [Read error: Connection reset by peer]
<jaequery> gonna be a file with alteast 2,000 lines of code atleast for this type of validation
fabrice31 has quit [Ping timeout: 264 seconds]
apeiros_ has joined #ruby
agent_white has joined #ruby
<uptownhr> tastycode: i agree. someone should have answered with this earlier
<pontiki> there are likely many places where there are patterns
Xiti` has joined #ruby
<jaequery> wish me luck
<tastycode> good luck!!
robbyoconnor has quit [Max SendQ exceeded]
<godd2> uptownhr you can do it any way you want, I just want you to be informed about the different ways so you can choose the best one for you :)
<jaequery> damn this gonna be fun
seitensei has joined #ruby
robbyoconnor has joined #ruby
Dreamer3 has joined #ruby
rshetty has quit [Ping timeout: 255 seconds]
<tastycode> jaequery: we gave you plenty of tools to give you exactly what you need to do without very much code.. i just don’t think you were willing to critically listen, and you just want a 1 liner that’ll just give you what you want.. its just not that simple..
Xiti` has quit [Client Quit]
Xiti has quit [Ping timeout: 264 seconds]
wolflee_ has joined #ruby
apeiros_ has quit [Ping timeout: 240 seconds]
jimbach has joined #ruby
<jaequery> tastycode: i get what you are saying , thanks for the kind help
aspiers has joined #ruby
<pipework> pontiki: Successfully met havenwood and was simultaneously blown away by how awesome truffle and graal are.
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
wolflee has quit [Ping timeout: 240 seconds]
<tastycode> jaequery: here is a very comprehensive example http://pastie.org/9726574
<tastycode> jaequery: no matter what you access on @data, it will chain without error.. and no objects were patched! .. good reason to move the data handling to its own class
<pontiki> pipework: who/what/where are truffle and graal?
Takle has joined #ruby
<waxjar> things that are gonna make jruby crazy fast if i understood it correctly
it0a has joined #ruby
<pipework> waxjar: Well, Graal makes ruby and C crazy. Jruby merged truffle though.
econerd4ever has quit [Remote host closed the connection]
sdwrage has quit [Quit: This computer has gone to sleep]
<jhass> tastycode: puts x.inpsect -> p x ;)
<headius> pipework: glad to hear you were impressed
econerd4ever has joined #ruby
<pipework> headius: Yeah! Were you in the room?
<headius> both jruby proper and jruby+truffle will be working toward more ruby in core and leveraging each others strengths over the next year
<pipework> I think you're at rubyconf, bu cannot confirm.
hamakn has quit [Ping timeout: 240 seconds]
<headius> sure, we had to be there to support chrisseaton :-)
<headius> he did an excellent job
<pipework> headius: Neat! I'll be at the jruby stuff. He was fantastic.
<headius> we've been out of the conf most of the day to finish our talk for tomorrow
<tastycode> jhass: i know.. i don’t know why i did that.. i’ve been in a weird state not remembering what rails gives me and what ruby gives.. i can’t quite figure out who provides “y”
<godd2> "working towards" "leveraging strengths" sound like I'm at a meeting
<pipework> Made me more excited about ruby than keynote.
<pipework> godd2: It's the language of people who do work.
<jhass> tastycode: just hang out here for a few months, that will cure that ;P
x77686d has joined #ruby
charliesome has quit [Quit: zzz]
<godd2> it's the language of people who persuade investors
<headius> godd2: we dun' gon' share mo' code, git 'er fast
<pipework> headius: The C interpreter thing made me go all 90's "whoa, radicool!'
Takle has quit [Ping timeout: 240 seconds]
<headius> pipework: that stuff is crazy...and chrisseaton believes it may even be possible for jruby proper to use it too
<headius> it's going to be very interesting
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pipework> Oh look chrisseaton is on IRC.
valeriansaliou has joined #ruby
<chrisseaton> hello
<pontiki> they're using those terms ironically, so it's okay
vinleod has joined #ruby
<pipework> headius: If I were of any help whatsoever, I'd help out. But I'm no PHDer.
dermothaughey has joined #ruby
<pipework> chrisseaton: Your talk was really awesome and you delivered it so well. havenwood and I were getting more and more excited as you kept telling us more and more amazing things.
<tastycode> Future { Some { Maybe { some.complex.call[“indefiniteness”][“abounds”] }.test }.first }
rudisimo has quit [Remote host closed the connection]
<chrisseaton> pipework: there's some issues tagged as beginner, and we're very happy to hold people's hands working through them if they want - Truffle is conceptually much simpler than other JITs - although in practice there are still some very tricky bits
econerd4ever has quit [Ping timeout: 258 seconds]
Ulrike_Rayne has quit [Ping timeout: 240 seconds]
<godd2> tastycode looks like Clojure
<tastycode> lol.. semantically a little more like scala , but i could see how you might say that.. you could implement it in ruby. easily though
econerd4ever has joined #ruby
<jhass> tastycode: like https://github.com/tomstuart/monads
<tastycode> avdi already has a Maybe through null object.. in github.com/avdi/naught ..
<junmapro> can someone please explain me what this line of code does?
<junmapro> words[1..-1].each do
<pipework> chrisseaton: Can you link me to where the issues are?
<godd2> junmapro "take the second to last element of this thing, and do something with each one"
<tastycode> junmapro: try this “meow”[1..-1]
<jhass> junmapro: that depends on the class of words
<chrisseaton> pipework: if you remove the 'truffle' flag there are also JRuby ones - happy to help you with those as well
<godd2> junmapro err, that's confusing. "take everything between the second element and the last element"
<pipework> chrisseaton: Oh! I didn't know you not only merged code in, but you actually joined forces!
jenrzzz has quit [Ping timeout: 244 seconds]
valeriansaliou has quit [Ping timeout: 272 seconds]
<godd2> junmapro so like [1,2,3,4,5][1..-1] would be [2,3,4,5]
<chrisseaton> pipework: Oracle has 3 people working full time on JRuby now
amclain has joined #ruby
hamakn has joined #ruby
Ulrike_Rayne has joined #ruby
<pipework> chrisseaton: That's so cool. havenwood mentioned that they're even hiring rubyists, but seeing your work, I'm quite happily intimidated.
jaequery has joined #ruby
rpag_ has quit [Quit: Leaving]
kumarat9pm has quit [Ping timeout: 250 seconds]
junmapro has quit [Ping timeout: 246 seconds]
tastycode has left #ruby [#ruby]
jaequery has quit [Client Quit]
Xiti has joined #ruby
kumarat9pm has joined #ruby
foureight84 has quit [Ping timeout: 246 seconds]
jumparo has joined #ruby
<jumparo> can someone please explain me what this code means?
<jumparo> words[1..-1].each do
<pontiki> >> words = %w[the quick brown fox]; words[1..-1]
<eval-in__> pontiki => ["quick", "brown", "fox"] (https://eval.in/222732)
<pontiki> >> words = %w[the quick brown fox]; words[0..-2]
<eval-in__> pontiki => ["the", "quick", "brown"] (https://eval.in/222733)
<pontiki> >> words = %w[the quick brown fox]; words[1..2]
<eval-in__> pontiki => ["quick", "brown"] (https://eval.in/222734)
<pontiki> that help?
<jumparo> thank youy
<jumparo> you*
<jumparo> i'm reading it now
<jumparo> how did you do that?
<godd2> magic
<pontiki> i didn't do anything than what you see...
<jumparo> programming is so hard, i'd like to be like you guys one day :)
<pontiki> old? :D
<jumparo> full of knowledge :D
<ramfjord> >> %w[the quick brown fox][1..-1]
<eval-in__> ramfjord => ["quick", "brown", "fox"] (https://eval.in/222735)
<pontiki> i learn new stuff here every day
<jumparo> so why choose [0..-1] over [0..3]?
startupality has quit [Quit: startupality]
<ramfjord> because it's till the end
<pontiki> -1 is always the last element
<jumparo> oh thank you :)
<ramfjord> that's pretty cool
<jumparo> yeah i tis
<jumparo> it is
sdwrage has joined #ruby
<pontiki> godd2: i am!!
<jumparo> is there a more thorough documentation? i don't really like the official docs, they're not detailed enough
<pontiki> buy the pickaxe book
<jumparo> i already have it
<pontiki> there you go
<jumparo> it's written in a manner that's not easy for me to understand
<jumparo> maybe i'm not meant to be a programmer
<pontiki> even so, the docs will always be more up to date
<pontiki> it's not a primer on programming...
<godd2> jumparo I can sympathize. But I made a goal for myself. I said two years ago that in two years I would know Ruby, and I do now
j_mcnally has joined #ruby
oculus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jumparo> godd2: i have a lot of things on my shoulders right now... some really wealthy individuals would like me to work with them, i'm young but i need to learn as much as i can as fast as i can
<jumparo> i've been learning ruby for the last few months
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jumparo> it's the hardest thing i've done in my life
oculus has joined #ruby
<godd2> jumparo well we can all only learn so fast. but over time you will learn it if you immerse yourself. one day you'll wake up and not know why you never knew stuff!
<airdeluxe> that looks like a good book, thanks for mentioning pontiki
sibchcoder has joined #ruby
rudisimo has joined #ruby
<jumparo> jhass: the docs, in my opinion, are written for professional programmers who know every term
<pontiki> this is generally how i learn something: read the docs, then try it out in pry, ask a question or two if i get stuck, and plow on until i get it, sometimes writing a full application to get the idea, then try to teach someone else
econerd4ever has quit [Remote host closed the connection]
<jumparo> i will need to open a dictionary in order to understand the heightened language
zionpe has joined #ruby
<pontiki> but i have a distinct advantage in this, as i'm starting from a large base of knowledge
<jhass> jumparo: maybe you want something like chris pine's "learn to program"
<pontiki> it's jargon, not heightened
rudisimo has quit [Remote host closed the connection]
<pontiki> and sproul's "think like a programmer"
<jumparo> pontiki: i've been stuck at one exercise for the last few hours
* pontiki highly recommends both
<jumparo> i gave up and looked at the answer
<jumparo> jhass: i've already read that book
<pontiki> that's always fair, if you work out why it's the answer
<jumparo> i feel like i'm at the next level above that book, but i haven't found anything that caters to my current level
<godd2> jumparo "a few hours" is not very much time. "a few weeks" is when you should start to worry
<pontiki> programming is a skill, it's a skill of solving problems, puzzles, etc, with particular language syntax and semantics
<pontiki> and check out http://exercism.io
<jhass> tbh. you're still asking pretty basic questions
<pontiki> and things like project euler
<jumparo> godd2: i think you'd be worried too if you're stuck on these problems https://github.com/ultrasaurus/test-first-teaching
<jumparo> pontiki: right now my problem is expressing myself in ruby
<pontiki> those places will help
<jumparo> i know what i want to do and what logic i would like to implement
sibchcoder has quit [Remote host closed the connection]
dkb20k has joined #ruby
<godd2> jumparo it doesnt matter what the problem is. everyone learns different things differently. I'm just saying remain optimistic :) and that a few hours is like, zero time to understand something
<jumparo> godd2: thank you for the kind words of encouragement
<jumparo> i am however going to a programming bootcamp
<pontiki> i don't now what would help
<jumparo> i don't know how they accepted me
<airdeluxe> money?
<pontiki> you gave them money?
<jumparo> yeah, but it's not just money
<jumparo> they have an application process before you give them money
<jumparo> if they accept you you give them money
<airdeluxe> stressing out in IRC isn't gonna help you mate, go outside and breathe some air
<airdeluxe> you're fine
<jumparo> thanks guys
<jumparo> i love all of you :)
<godd2> airdeluxe easy for you to say with all that deluxe air
<airdeluxe> really digging ruby... on my second week
<jumparo> so realistically how long did it guys take you to become proficient?
rudisimo has joined #ruby
<jumparo> how did you learn?
<jumparo> my biggest regret is not learning it earlier in life
mikepack has joined #ruby
<airdeluxe> time, patience, sweat
<godd2> jumparo I'm 28 and I didn't start learning how to program until I was 25/26.
<airdeluxe> same here
<jumparo> are you guys working for a company now?
testcore has quit [Remote host closed the connection]
<jumparo> or doing your own thing? why did you decide to learn?
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
<airdeluxe> its how i money make
rudisimo has quit [Remote host closed the connection]
<jumparo> thanks for exercism :P
<jumparo> :)
<jumparo> **
<pontiki> good-o
<pontiki> so, i'm probably the truly weird one here
zzzbra has joined #ruby
<pontiki> i just turned 57
<airdeluxe> cheers mate
zzzbra has quit [Remote host closed the connection]
<jumparo> so what?
<jumparo> 57 is a good age
<pontiki> i wrote my first program when i was 11
<jumparo> wow lucky you
zzzbra has joined #ruby
<pontiki> i guess, yeah, i've been lucky
<jumparo> <zionpe> show gratis (solo hooy) --> http://s422803032.scamsite.es
ThaDick has quit [Quit: ThaDick]
<pontiki> my brother dragged me into a summer school programming class because he couldn't figure out how to write programs for his model rockets :P
<jumparo> haha
<jumparo> i wish i started when i was 11
<pontiki> i was supposed to take typing
mleung has quit [Quit: mleung]
<jumparo> i loved computers since i was young and i know how they work, i just can't really "talk" to them
<godd2> jumparo well you can always open irb and type out a line or two
<jumparo> instead of learning things i took up playing video games
<pontiki> these were the bad boys i wrote a lunar landing program on: http://jodypaul.com/gr/ASR33.jpg
louism2wash has joined #ruby
<louism2wash> Hey guys, I am trying to use String#split with a regular expression that matches a pattern of any letter, followed by a space, followed by and digit. I am successfully matching that pattern but I now want to grab only that space between the letter and the number. If anyone could help me out if would be much appreciated. Thanks. https://gist.github.com/louism2/2c506f23127150d72c9a
<pontiki> jumparo: that may be another thing, i really find playing computer/video games boring
<pontiki> louism2wash: what ever is in the split expression is discarded. are you sure you want to be using split?
avarice has joined #ruby
<louism2wash> pontiki: I am trying to split the string on that pattern. My goal is to have that string by split into an array with 4 values... ["Everton","4","Aston Villa","4"]
<godd2> louism2wash have you tried .split(" ") ?
<pontiki> louism2wash: are there are combinations of the two alpha strings that may contain spaces? do the number parts ever contain spaces?
<godd2> >> "Chelsea 2 Aston Villa 2".split(" ")
<eval-in__> godd2 => ["Chelsea", "2", "Aston", "Villa", "2"] (https://eval.in/222736)
mathias3 has joined #ruby
<jumparo> thanks guys!
<jumparo> pontiki: i used to find video games incredibly fun but now i find them incredibly boring too
<godd2> oh he doesn't want it when there's not a number after a space
<louism2wash> godd2: that would make a name like "aston villa" split on the space. Trying to keep names with two words intact
<jumparo> i'll be back in a bit
<jumparo> thanks guys
<pontiki> i don't think split is going to work here, louism2wash
<louism2wash> pontiki: the alpha parts of the string can contain spaces, thats why I chose letter, space, digit
<godd2> >> "Chelsea 2 Aston Villa 2".split(/\s(?=\d)/)
<eval-in__> godd2 => ["Chelsea", "2 Aston Villa", "2"] (https://eval.in/222737)
<godd2> well that's closer. anyway, you can look into lookaheads and lookbehinds
<godd2> but while that will force regex to solve this problem, it probably doesn't solve the issue you have. what are you trying to do?
<louism2wash> godd2: aren't those only validating the presence of a pattern at some point before or after a match?
Spami has joined #ruby
jimbach has quit [Remote host closed the connection]
kireevco1 has quit [Ping timeout: 245 seconds]
narcan has joined #ruby
<louism2wash> godd2: The goal is to split a string such as "Chelsea 2 Aston Villa 2" strings and digits. The string is a team name and the digit is the score of a soccer match
Mars` has quit [Ping timeout: 244 seconds]
mathias3 has quit [Ping timeout: 258 seconds]
<godd2> well I would probably regex over name/number pairs and then do something with those separately
<pontiki> louism2wash: see this: http://rubular.com/r/MdYSz6xXca
<pontiki> look for the inner matches
<pontiki> sorry, this: http://rubular.com/r/z6gvDv0S9K (messed up inital range)
x1337807x has joined #ruby
corehook has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<louism2wash> pontiki: cool, I'll take a look
luckyruby has quit [Quit: Leaving...]
lemur has joined #ruby
<godd2> >> "Chelsea 2 Aston Villa 2".scan(/[^\s][^\d]+ \d+/)
<eval-in__> godd2 => ["Chelsea 2", "Aston Villa 2"] (https://eval.in/222738)
chipotle has quit [Quit: cya]
teddyp1cker has joined #ruby
wex13r has quit [Quit: end]
<pontiki> this might be clearer: https://eval.in/222742
<pontiki> better without the outer groupings? https://eval.in/222743
hiyosi has quit [Ping timeout: 245 seconds]
zionpe has quit [K-Lined]
teddyp1cker has quit [Ping timeout: 250 seconds]
Spleeze has quit [Ping timeout: 244 seconds]
NoNMaDDe_ has joined #ruby
<pontiki> maybe: https://eval.in/222746
NoNMaDDeN has quit [Ping timeout: 245 seconds]
jaequery has joined #ruby
<pontiki> tho that leaves a trailing space
rpag has joined #ruby
dj_zubehoer has joined #ruby
mugiwara has joined #ruby
mugiwara has left #ruby [#ruby]
dorei has quit []
<pontiki> ugly: https://eval.in/222750
Soda has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dj_zubehoer has quit [Ping timeout: 240 seconds]
Spleeze has joined #ruby
pietr0 has quit [Quit: pietr0]
Duckily has quit [Quit: Duckily]
troyready has quit [Quit: Leaving]
jack_rabbit has joined #ruby
kaawee has quit [Quit: Konversation terminated!]
moritzs has quit [Ping timeout: 264 seconds]
Bira has quit [Remote host closed the connection]
Cache_Money has joined #ruby
deric_skibotn has quit [Ping timeout: 240 seconds]
Darryl_ has joined #ruby
Hijiri has joined #ruby
dermothaughey has quit [Remote host closed the connection]
dermothaughey has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
jaequery has joined #ruby
rshetty has joined #ruby
ClarusCogitatio has quit [Ping timeout: 272 seconds]
dermotha_ has joined #ruby
dermothaughey has quit [Read error: Connection reset by peer]
ClarusCogitatio has joined #ruby
parzzix has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leathershibe has joined #ruby
<leathershibe> what up my pretties
<pontiki> nothing, mother
rshetty has quit [Ping timeout: 258 seconds]
jack_rabbit has quit [Ping timeout: 250 seconds]
ClarusCogitatio has quit [Ping timeout: 256 seconds]
tyll has quit [Ping timeout: 244 seconds]
tyll has joined #ruby
aspires has joined #ruby
xymbol has joined #ruby
xymbol has quit [Client Quit]
NoNMaDDe_ has quit [Quit: Leaving...]
wsmoak has quit [Quit: wsmoak]
NoNMaDDeN has joined #ruby
fabrice31 has joined #ruby
ZaRDaK has quit [Read error: Connection reset by peer]
ZaRDaK` has joined #ruby
wallerdev has quit [Quit: wallerdev]
iamjarvo has joined #ruby
Channel6 has joined #ruby
jaequery has joined #ruby
pdtpatrick_ has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
ClarusCogitatio has joined #ruby
pdtpatrick_ has quit [Client Quit]
ClarusCogitatio has quit [Excess Flood]
ClarusCogitatio has joined #ruby
mathias3 has joined #ruby
oleo__ has joined #ruby
dermotha_ has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
oleo is now known as Guest38444
dermothaughey has joined #ruby
Guest38444 has quit [Ping timeout: 264 seconds]
coderhs has joined #ruby
coderhs has quit [Client Quit]
xenomorph is now known as {xenomorph}
mathias3 has quit [Ping timeout: 272 seconds]
ClarusCogitatio has quit [Ping timeout: 250 seconds]
testcore has joined #ruby
{xenomorph} is now known as xenomorph
dermothaughey has quit [Ping timeout: 255 seconds]
vinleod_ has joined #ruby
vinleod has quit [Ping timeout: 240 seconds]
valeriansaliou has joined #ruby
DaveDH2_ has joined #ruby
vinleod_ is now known as vinleod
aspires has quit []
nb_bez___ has quit [Quit: Connection closed for inactivity]
ClarusCogitatio has joined #ruby
tus has quit []
valeriansaliou has quit [Ping timeout: 272 seconds]
Cache_Money has quit [Quit: Cache_Money]
louism2wash has quit [Quit: This computer has gone to sleep]
nkumari has joined #ruby
gonazlo has joined #ruby
aspires has joined #ruby
ClarusCogitatio has quit [Ping timeout: 250 seconds]
wolflee_ has quit [Remote host closed the connection]
dc_ has quit [Remote host closed the connection]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wolflee_ has joined #ruby
ClarusCogitatio has joined #ruby
slawrence00 has joined #ruby
narcan has joined #ruby
rshetty has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sinequanon has joined #ruby
radic has joined #ruby
ThaDick has joined #ruby
techsethi has quit [Quit: techsethi]
adriancb has joined #ruby
radic_ has quit [Ping timeout: 255 seconds]
ClarusCogitatio has quit [Ping timeout: 264 seconds]
dc_ has joined #ruby
Bira has joined #ruby
tokik has quit [Quit: leaving]
amystephen has quit [Quit: amystephen]
etech0_ has quit [Ping timeout: 246 seconds]
benzrf is now known as benzrf|offline
nkumari_ has joined #ruby
adriancb has quit [Ping timeout: 255 seconds]
amystephen has joined #ruby
beneggett has joined #ruby
amystephen has quit [Client Quit]
nkumari__ has joined #ruby
nkumari_ has quit [Read error: Connection reset by peer]
fandi has quit [Read error: Connection reset by peer]
ClarusCogitatio has joined #ruby
rshetty has quit [Remote host closed the connection]
nkumari has quit [Ping timeout: 245 seconds]
tokik has joined #ruby
noop has joined #ruby
Bira has quit [Ping timeout: 244 seconds]
rshetty has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
funburn has joined #ruby
ClarusCogitatio has quit [Ping timeout: 255 seconds]
jack_rabbit has quit [Ping timeout: 264 seconds]
lampd1 has quit []
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kireevco has joined #ruby
corehook_ has joined #ruby
NoNMaDDeN has quit [Remote host closed the connection]
corehook has quit [Ping timeout: 258 seconds]
kireevco has quit [Client Quit]
ClarusCogitatio has joined #ruby
NoNMaDDeN has joined #ruby
benzrf|offline is now known as benzrf
jumparo has quit [Ping timeout: 246 seconds]
benzrf is now known as benzrf|offline
silkfox has quit [Ping timeout: 258 seconds]
kp666 has joined #ruby
braincrash has quit [Quit: bye bye]
ashish1099 has joined #ruby
oo_ has quit [Remote host closed the connection]
braincrash has joined #ruby
agent_white has quit [Quit: leaving]
ClarusCogitatio has quit [Ping timeout: 244 seconds]
MrDoctor2 has quit [Remote host closed the connection]
MrDoctor2 has joined #ruby
beneggett has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
agent_white has joined #ruby
<agent_white> Evenin' folks
ClarusCogitatio has joined #ruby
anaeem1_ has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
adriancb has joined #ruby
anaeem1_ has joined #ruby
ThaDick has quit [Quit: ThaDick]
beneggett has joined #ruby
hiyosi has joined #ruby
Mateon1 has joined #ruby
Mateon1 has quit [Read error: Connection reset by peer]
mathias3 has joined #ruby
parzzix has quit [Ping timeout: 240 seconds]
parzzix has joined #ruby
echooo has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 264 seconds]
ClarusCogitatio has quit [Ping timeout: 255 seconds]
kyb3r_ has joined #ruby
mathias3 has quit [Ping timeout: 272 seconds]
genpaku_ has quit [Ping timeout: 255 seconds]
pocketprotector_ has quit [Remote host closed the connection]
gonazlo has quit [Quit: Page closed]
ClarusCogitatio has joined #ruby
teddyp1cker has joined #ruby
jimbach has joined #ruby
funburn has quit [Quit: funburn]
oo_ has joined #ruby
genpaku has joined #ruby
st1gma1 has quit [Read error: Connection reset by peer]
st1gma1 has joined #ruby
kireevco has joined #ruby
st1gma1 has quit [Read error: Connection reset by peer]
st1gma1 has joined #ruby
teddyp1cker has quit [Ping timeout: 264 seconds]
jimbach has quit [Ping timeout: 258 seconds]
<leathershibe> yo
Takle has joined #ruby
NoNMaDDeN has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
cleopatra has quit [Ping timeout: 250 seconds]
Spami has quit [Quit: This computer has gone to sleep]
st1gma1 has quit [Read error: Connection reset by peer]
st1gma1 has joined #ruby
mary5030 has joined #ruby
ClarusCogitatio has quit [Ping timeout: 250 seconds]
funburn has joined #ruby
Takle has quit [Ping timeout: 256 seconds]
aspires has quit []
marcdel has quit []
electrical has quit [Ping timeout: 244 seconds]
electrical has joined #ruby
ClarusCogitatio has joined #ruby
echooo has joined #ruby
bricker`work has joined #ruby
krz has joined #ruby
pengin has joined #ruby
ninegordon has joined #ruby
bricker`work has quit [Remote host closed the connection]
artm has joined #ruby
ClarusCogitatio has quit [Ping timeout: 256 seconds]
techsethi has joined #ruby
ClarusCogitatio has joined #ruby
nkumari__ has quit [Remote host closed the connection]
vimer has joined #ruby
siso has joined #ruby
mary5030 has quit [Remote host closed the connection]
vimer has quit [Client Quit]
fabrice31 has joined #ruby
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
mary5030 has joined #ruby
ClarusCogitatio has quit [Ping timeout: 250 seconds]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
ClarusCogitatio has joined #ruby
<ericwood> hi
noop has quit [Ping timeout: 258 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
Morkel has joined #ruby
pengin has quit [Ping timeout: 256 seconds]
leathershibe has quit [Ping timeout: 255 seconds]
jaequery has joined #ruby
<zacts> lo
davedev24_ has quit [Remote host closed the connection]
ClarusCogitatio has quit [Ping timeout: 240 seconds]
Channel6 has joined #ruby
zacstewart has joined #ruby
ClarusCogitatio has joined #ruby
mathias3 has joined #ruby
artm has quit [Ping timeout: 255 seconds]
vimer has joined #ruby
mayday_jay has joined #ruby
Eiam_ has joined #ruby
jrvlima has joined #ruby
elemenopy has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Spami has joined #ruby
zacstewart has quit [Ping timeout: 256 seconds]
wolflee_ has quit [Remote host closed the connection]
narcan has joined #ruby
artm has joined #ruby
wolflee_ has joined #ruby
NoNMaDDeN has joined #ruby
ClarusCogitatio has quit [Ping timeout: 245 seconds]
sinequanon has quit [Remote host closed the connection]
ClarusCogitatio has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
valeriansaliou has joined #ruby
hiyosi has joined #ruby
krz has joined #ruby
Soda has quit [Remote host closed the connection]
bricker`work has joined #ruby
ndrei has joined #ruby
sinequanon has joined #ruby
zacstewart has joined #ruby
psy_ has quit [Read error: No route to host]
psy_ has joined #ruby
valeriansaliou has quit [Ping timeout: 272 seconds]
hiyosi has quit [Ping timeout: 255 seconds]
artm has quit [Ping timeout: 258 seconds]
nagaraj has joined #ruby
st1gma1 has quit [Read error: Connection reset by peer]
dc_ has quit [Remote host closed the connection]
st1gma1 has joined #ruby
tatsuo has joined #ruby
kalleth_ has quit [Remote host closed the connection]
kalleth has joined #ruby
freerobby has quit [Quit: Leaving.]
ZaRDaK` has quit [Quit: Leaving]
jxf has quit [Ping timeout: 250 seconds]
Channel6 has quit [Quit: Leaving]
artm has joined #ruby
Spami has quit [Quit: Leaving]
amclain has quit [Quit: Leaving]
ARCADIVS has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.1-dev]
<epitron> >> Hash["Chelsea 2 Aston Villa 2".split(/(\d+)/).map(&:strip).each_slice(2).to_a]
<eval-in__> epitron => {"Chelsea"=>"2", "Aston Villa"=>"2"} (https://eval.in/222787)
<epitron> whee
leathershibe has joined #ruby
JBreit has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0.1]
Spami has joined #ruby
josephndenton has quit [Ping timeout: 258 seconds]
<gr33n7007h> or
<gr33n7007h> >> Hash[*"Chelsea 2 Aston Villa 2".split(/(\d+)/).map(&:strip)]
<eval-in__> gr33n7007h => {"Chelsea"=>"2", "Aston Villa"=>"2"} (https://eval.in/222788)
AliRezaTaleghani has joined #ruby
leathershibe has quit [Ping timeout: 264 seconds]
Bira has joined #ruby
Bira has quit [Ping timeout: 245 seconds]
adriancb has quit [Remote host closed the connection]
JBreit has left #ruby ["Leaving"]
Nilium has quit [Quit: <kristin> Cower is like... I dunno. sometimes he seems senile and other times he seems like a middle schooler.]
yeticry has quit [Ping timeout: 264 seconds]
yeticry has joined #ruby
st1gma1 has quit [Read error: Connection reset by peer]
st1gma1 has joined #ruby
Joufflu_ has quit [Quit: Leaving]
Joufflu has joined #ruby
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
ikaros has joined #ruby
siso has quit [Quit: siso]
NoNMaDDeN has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lolmaus has joined #ruby
oo_ has quit [Remote host closed the connection]
Mateon1 has joined #ruby
oo_ has joined #ruby
parzzix has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
josephndenton has joined #ruby
bluOxigen has joined #ruby
mikepack has quit [Remote host closed the connection]
MrDoctor2 has quit [Remote host closed the connection]
Nilium has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
jmdade has joined #ruby
dseitz has joined #ruby
bricker`1ork has joined #ruby
sargas has joined #ruby
bricker`work has quit [Ping timeout: 256 seconds]
NoNMaDDeN has joined #ruby
parzzix has joined #ruby
psy_ has quit [Remote host closed the connection]
maestrojed has quit [Quit: Computer has gone to sleep.]
jimbach has joined #ruby
beilabs has joined #ruby
shortCircuit__ has joined #ruby
Abhijit has joined #ruby
bricker`1ork has quit [Ping timeout: 256 seconds]
byprdct has quit [Quit: by]
shemerey has joined #ruby
ptrrr has joined #ruby
coderhs has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
jimbach has quit [Ping timeout: 258 seconds]
arescorpio has quit [Excess Flood]
dc_ has joined #ruby
testcore has quit [Quit: Read error: 69 (Excessive sex)]
bricker`work has joined #ruby
gregoriokusowski has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
josephndenton has quit [Ping timeout: 255 seconds]
ta has quit [Remote host closed the connection]
shortCircuit__ is now known as chaotik
dc_ has quit [Ping timeout: 245 seconds]
beneggett has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
gregoriokusowski has quit [Ping timeout: 255 seconds]
BTRE has quit [Ping timeout: 255 seconds]
bricker`work has quit [Ping timeout: 250 seconds]
sinequanon has quit [Remote host closed the connection]
bricker`work has joined #ruby
sinequanon has joined #ruby
leathershibe has joined #ruby
ptrrr has quit [Quit: ptrrr]
Jarboe has quit []
BTRE has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
it0a has quit [Ping timeout: 258 seconds]
Vifid has joined #ruby
ptrrr has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
sinequanon has quit [Ping timeout: 258 seconds]
tagrudev has joined #ruby
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
emmesswhy has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
artm has quit [Ping timeout: 255 seconds]
karmatr0n has quit [Remote host closed the connection]
oculus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
apeiros_ has joined #ruby
techsethi has quit [Remote host closed the connection]
mikepack has joined #ruby
shemerey has quit [Ping timeout: 272 seconds]
it0a has joined #ruby
it0a has quit [Client Quit]
bricker`work has quit [Ping timeout: 272 seconds]
kevr has quit [Quit: ZNC - http://znc.in]
oleo__ has quit [Quit: Verlassend]
mitt3ns has joined #ruby
Avahey has quit [Quit: Connection closed for inactivity]
agent_white has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
teddyp1cker has quit []
mikepack has quit [Ping timeout: 240 seconds]
mitt3ns is now known as agent_white
fabrice31 has joined #ruby
st1gma1 has quit [Read error: Connection reset by peer]
st1gma1 has joined #ruby
last_staff has joined #ruby
sinequanon has joined #ruby
dickoff has joined #ruby
ChoiKyuSang has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
x77686d has quit [Quit: x77686d]
corehook_ has quit [Remote host closed the connection]
corehook has joined #ruby
<dickoff> Anyone here ever have issues with curb and spnego? I can't figure out why curb isn't being built with spnego support
corehook has quit [Remote host closed the connection]
rkalfane has joined #ruby
<Eiam_> dickoff: nope, i use curb & spnego daily
<Eiam_> works fine
<Eiam_> what version of curl is on your system?
<Eiam_> dickoff: if you run curl --version do you see Features: GSS-Negotiate ?
dermothaughey has joined #ruby
<dickoff> curl 7.37.1 (x86_64-apple-darwin14.0) libcurl/7.37.1 SecureTransport zlib/1.2.5
<dickoff> and yes I do
davedev24_ has joined #ruby
<dickoff> yet Curl.spnego? is false
<Eiam_> if you run curl -u : --negotiate <domain> does it work?
<epitron> gr33n7007h: hah, nice. :)
apeiros_ has quit [Remote host closed the connection]
vimer has quit [Quit: leaving]
<dickoff> Eiam_: yes
<Eiam_> k, lemme pop open my library that uses curb
<Eiam_> sec
<Eiam_> dickoff: if you do curl = Curl::Easy.newl curl.http_auth_types = Curl::CURLAUTH_GSSNEGOTIATE ; then use your curl object, does it work?
<Eiam_> l should be a ; there to split the statements.
oo_ has quit [Remote host closed the connection]
jrvlima has quit [Quit: Textual IRC Client: www.textualapp.com]
dermothaughey has quit [Ping timeout: 250 seconds]
jusmyth has joined #ruby
oo_ has joined #ruby
davedev24_ has quit [Ping timeout: 244 seconds]
<dickoff> checking, trying to patch up this libary I inherited. Out of curiousity, what does `Curl.spnego?` print for you
artm has joined #ruby
<Eiam_> dickoff: I was checking that on my server haha
<Eiam_> irb(main):003:0> Curl.spnego?
<Eiam_> => false
<Eiam_> ;)
<Eiam_> it works fine.
valeriansaliou has joined #ruby
<Eiam_> we have the same version of curl on our system so
lxsameer has joined #ruby
<Eiam_> my first thought is perhaps a binding error, or a bug. it definitely works. whats `klist` say on your system? do you have a ticket?
kevr has joined #ruby
iml has joined #ruby
hiyosi has joined #ruby
wolflee_ has quit [Quit: (null)]
jack_rabbit has joined #ruby
<dickoff> yeah I've got an active ticket
aspiers has quit [Ping timeout: 255 seconds]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kevr has quit [Remote host closed the connection]
<Eiam_> We've taken the discussion to PM cause I felt like I was listening to myself talk 7 years ago, suspecting he was working on the same problems I was =p
lolmaus has quit [Ping timeout: 240 seconds]
hiyosi has quit [Ping timeout: 264 seconds]
lxsameer has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
jenrzzz has joined #ruby
bal has joined #ruby
emmesswhy has quit [Quit: Leaving]
jusmyth has left #ruby [#ruby]
mathias3 has quit [Ping timeout: 240 seconds]
kevr has joined #ruby
preview has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
wolflee has joined #ruby
<Eiam_> night gents!
timonv_ has joined #ruby
lxsameer has joined #ruby
Eiam_ has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
timonv_ has quit [Remote host closed the connection]
emanu has quit [Quit: emanu]
artm has quit [Ping timeout: 255 seconds]
godd2 has quit [Ping timeout: 255 seconds]
rshetty has quit [Remote host closed the connection]
DaveDH2_ has quit [Remote host closed the connection]
terlar has joined #ruby
timonv_ has joined #ruby
crus` has joined #ruby
anarang has joined #ruby
josephndenton has joined #ruby
preview has quit [Quit: leaving]
ramfjord has joined #ruby
lolmaus has joined #ruby
crus has quit [Ping timeout: 244 seconds]
kamil has joined #ruby
st1gma1 has quit [Read error: Connection reset by peer]
zzzbra has quit [Remote host closed the connection]
st1gma1 has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Bira has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josephndenton has quit [Ping timeout: 244 seconds]
noop has joined #ruby
ta has joined #ruby
codecop has joined #ruby
Bira has quit [Ping timeout: 244 seconds]
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
apeiros_ has joined #ruby
corehook has joined #ruby
ninegordon has quit []
fandi has joined #ruby
timonv_ has quit [Ping timeout: 240 seconds]
fabrice31 has joined #ruby
parzzix has quit [Ping timeout: 264 seconds]
ht__th has joined #ruby
aganov has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
artm has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
JohnBat26 has joined #ruby
TinkerTyper has quit [Ping timeout: 255 seconds]
mathias3 has joined #ruby
lolmaus_ has joined #ruby
emanu has joined #ruby
TinkerTyper has joined #ruby
st1gma1 has quit [Read error: Connection reset by peer]
st1gma1 has joined #ruby
st1gma1 has quit [Read error: Connection reset by peer]
lolmaus has quit [Ping timeout: 240 seconds]
ptrrr has quit [Quit: ptrrr]
robbyoconnor has quit [Quit: Konversation terminated!]
parzzix has joined #ruby
psy_ has joined #ruby
ChoiKyuSang has quit [Quit: Going offline, see ya! ( www.adiirc.com]
andrewlio has joined #ruby
ringarin has joined #ruby
sinequanon has quit []
funburn has quit [Quit: funburn]
CustosL1men has joined #ruby
CustosL1men has quit [Changing host]
CustosL1men has joined #ruby
andikr has joined #ruby
ringarin has quit [Read error: Connection reset by peer]
ringarin has joined #ruby
emanu has quit [Quit: emanu]
lxsameer has quit [Ping timeout: 244 seconds]
lemur has quit [Remote host closed the connection]
ringarin has quit [Client Quit]
lemur has joined #ruby
timonv_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
preview has joined #ruby
Gadgetoid has quit [Ping timeout: 272 seconds]
preview has quit [Client Quit]
nrsk has joined #ruby
shredding has joined #ruby
tatsuo has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 258 seconds]
ChoiKyuSang has joined #ruby
lolmaus_ has quit [Quit: Konversation terminated!]
Gadgetoid has joined #ruby
despai has joined #ruby
leathershibe has quit [Quit: leaving]
despai has quit [Client Quit]
despai has joined #ruby
shtirlic_ has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
shtirlic has joined #ruby
oo_ has joined #ruby
clauswitt has joined #ruby
funburn has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
tatsuo has joined #ruby
lxsameer has joined #ruby
despai has quit [Client Quit]
AlienCat has joined #ruby
<AlienCat> Hello
<AlienCat> The most guides I see suggest you to install ruby gem as root (sudo)
mocchi has quit [Quit: ZNC - http://znc.in]
<AlienCat> I have this "http" user who is running apache, I am not too fond in allowing another user to access /root
shtirlic has quit [Ping timeout: 265 seconds]
Spami has quit [Quit: This computer has gone to sleep]
philwantsfish has quit [Read error: Connection reset by peer]
<AlienCat> Should I do it anyways?
charliesome has joined #ruby
mocchi has joined #ruby
dj_zubehoer has joined #ruby
RitterJack has joined #ruby
livathinos has joined #ruby
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
<apeiros_> AlienCat: guides suggesting root install are usually rather old
rshetty has joined #ruby
<apeiros_> standard practice nowadays is user install
Spami has joined #ruby
msgodf has joined #ruby
einarj has joined #ruby
nagaraj has quit [Ping timeout: 265 seconds]
jpinnix____ has quit [Ping timeout: 244 seconds]
ballPointPenguin has quit [Ping timeout: 244 seconds]
callenb__ has quit [Ping timeout: 244 seconds]
corehook has quit [Remote host closed the connection]
l3kn has quit [Ping timeout: 272 seconds]
tesuji has joined #ruby
adambeynon has quit [Read error: Connection reset by peer]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
pmarreck has quit [Ping timeout: 244 seconds]
bluehavana has quit [Ping timeout: 244 seconds]
machty has quit [Ping timeout: 244 seconds]
corehook has joined #ruby
callenb__ has joined #ruby
adambeynon_ has joined #ruby
ballPointPenguin has joined #ruby
bcavileer_ has quit [Write error: Connection reset by peer]
charles81 has quit [Write error: Connection reset by peer]
ramblinpeck_ has quit [Write error: Connection reset by peer]
featheryahn has quit [Read error: Connection reset by peer]
pmarreck has joined #ruby
daxroc__ has quit [Ping timeout: 244 seconds]
mjc_ has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
bluehavana has joined #ruby
jpinnix____ has joined #ruby
lidaaa has quit [Ping timeout: 255 seconds]
bcavileer_ has joined #ruby
NameNotFound has quit [Ping timeout: 272 seconds]
ramblinpeck_ has joined #ruby
charles81 has joined #ruby
daxroc__ has joined #ruby
featheryahn has joined #ruby
timonv_ has quit [Remote host closed the connection]
tessi_zz has quit [Ping timeout: 272 seconds]
corehook has quit [Remote host closed the connection]
mjc_ has joined #ruby
musicmatze has quit [Ping timeout: 272 seconds]
NameNotFound has joined #ruby
l3kn has joined #ruby
tessi_zz has joined #ruby
alex88 has joined #ruby
machty has joined #ruby
Xeago_ has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
preview has joined #ruby
dj_zubehoer has quit []
shtirlic has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
reinaldob has joined #ruby
St_Marx has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 265 seconds]
<AlienCat> <apeiros_>, yes I thought so
<AlienCat> but I cannot log in to the http user
reinaldob has quit [Ping timeout: 264 seconds]
funburn has quit [Quit: funburn]
blackmes1 has joined #ruby
gregoriokusowski has joined #ruby
sk87 has joined #ruby
funburn has joined #ruby
preview has quit [Quit: leaving]
<AlienCat> Okay, I can log in now, but is this really a good idea?
timonv_ has joined #ruby
<apeiros_> this?
Zorxax_ has joined #ruby
<Zorxax_> hello everybody
<tatsuo> hi
<Zorxax_> Is posible in nokogiri readd all comments AND some tags?
<Zorxax_> tatsuo, ;D
<Zorxax_> i use .xpath("//tag") how read tag and all comments?
narph has joined #ruby
rh1n0 is now known as rh1n0_away
adriancb has joined #ruby
jack_rabbit has quit [Ping timeout: 272 seconds]
ARCADIVS has quit [Quit: ARCADIVS]
<AlienCat> yes, the http user should not have a user dir or be able to log in
nagaraj has joined #ruby
<AlienCat> But now I created a userdir for it
dangerousdave has joined #ruby
davedev24_ has joined #ruby
chthon has joined #ruby
narcan has joined #ruby
<Zorxax_> ok, second q, how read data inside <tag> text</tag>
<Zorxax_> how read all tags inside text
<apeiros_> AlienCat: then don't install it under the http user
<apeiros_> you'll usually not have your pages under the http user either, do you?
adriancb has quit [Ping timeout: 264 seconds]
giuseppesolinas has joined #ruby
<AlienCat> pages?
Takle has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 256 seconds]
caveat- has quit [Ping timeout: 272 seconds]
timonv_ has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
Mongey has joined #ruby
gregoriokusowski has quit [Quit: gregoriokusowski]
musicmatze has joined #ruby
msgodf has quit [Ping timeout: 264 seconds]
bigkevmcd has quit [Quit: Outta here...]
hiyosi has joined #ruby
mkaesz has joined #ruby
mkaesz has quit [Client Quit]
<gr33n7007h> Zorxax_, .text or .context methods?
<Zorxax_> i have text = "text and <b>text bold</b> and <i>italic</i> ...
<Zorxax_> how convert it to tree, nice format etc.
<Zorxax_> inside .text i have some tags
mathias4 has joined #ruby
rshetty has quit [Remote host closed the connection]
mathias4 has quit [Read error: Connection reset by peer]
<gr33n7007h> using nokogiri?
fabrice31 has quit [Remote host closed the connection]
<gr33n7007h> Zorxax_, ^^
<Zorxax_> yes
mikecmpbll has joined #ruby
mathias3 has quit [Read error: Connection reset by peer]
<Zorxax_> trouble is "<b> text <i> italic and bold</i></b>"
<gr33n7007h> just say, text = "text and <b>text bold</b>"; text.css('b').text
hiyosi has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
<AlienCat> apache need to have access to the passenger gem thing so it seems I have to choose between allowing everyone to access the folder or install it on the http user
blackmes1 has quit [Ping timeout: 264 seconds]
<Zorxax_> gr33n7007h, Is possible more than one tag <b> and <i>
<gr33n7007h> Zorxax_, yes
<Zorxax_> I need normal="text and" bold="text bold" normal="etc"
<Zorxax_> no only text inside bold
fabrice31 has joined #ruby
<Zorxax_> meybe I can read xml but inside some tags use HTML?
danijoo has quit [Quit: Leaving...]
<gr33n7007h> use the id/class for specific content
jheg has joined #ruby
<Zorxax_> I have text with some tags. Text have errors (doubled spaces etc.) I need read xml and write in this same format but with correct text
<Zorxax_> how read a.text() with all tegs , and read id similar .each procedure
timonv_ has joined #ruby
Abhijit has quit [Ping timeout: 258 seconds]
kevr has quit [Quit: ZNC - http://znc.in]
lxsameer has quit [Ping timeout: 256 seconds]
robbyoconnor has joined #ruby
NoNMaDDeN has quit [Read error: Connection reset by peer]
NoNMaDDeN has joined #ruby
kevr has joined #ruby
danijoo has joined #ruby
psy_ has quit [Remote host closed the connection]
shock_one has joined #ruby
valeriansaliou has quit [Quit: Be back later ...]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
valeriansaliou has joined #ruby
danijoo has quit [Client Quit]
lolmaus has joined #ruby
DaniG2k has joined #ruby
josephndenton has joined #ruby
Pupeno has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
danijoo has joined #ruby
Bira has joined #ruby
valeriansaliou has quit [Ping timeout: 264 seconds]
supersym has joined #ruby
lxsameer has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
rshetty has joined #ruby
visof has joined #ruby
agit0 has joined #ruby
agit0 has quit [Client Quit]
Bira has quit [Ping timeout: 250 seconds]
Takle has quit [Client Quit]
roolo_ has joined #ruby
tatsuo has quit [Remote host closed the connection]
x1337807x has joined #ruby
dangerousdave has quit [Ping timeout: 255 seconds]
oo_ has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
marr has joined #ruby
Takle has joined #ruby
synergyz has quit [Ping timeout: 244 seconds]
bigkevmcd has joined #ruby
oo_ has joined #ruby
msgodf has joined #ruby
nagaraj has quit [Remote host closed the connection]
x1337807x has quit [Ping timeout: 245 seconds]
valeriansaliou has joined #ruby
nagaraj has joined #ruby
kevr has quit [Quit: ZNC - http://znc.in]
Abhijit has joined #ruby
gaussblurinc1 has joined #ruby
AFKGeek has joined #ruby
<apeiros_> AlienCat: pages - aka that stuff your webserver serves upon requests
<apeiros_> and no, the two options you presented are not your only option
valeriansaliou has quit [Ping timeout: 265 seconds]
<apeiros_> I have nothing installed under root. I run my apache under user A, I have my gems and website under user B. apache/passenger is configured to use user B's ruby.
elaptics`away is now known as elaptics
sdwrage has quit [Quit: This computer has gone to sleep]
oo_ has quit [Remote host closed the connection]
ozzloy has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 258 seconds]
<AlienCat> okay but in the httpd.conf file would have a path like /home/myuser/.gem/ruby/2.1.0/gems/passenger-4.0.53/...
oo_ has joined #ruby
synergyz has joined #ruby
psy_ has joined #ruby
<AlienCat> so somehow I have to allow the access to this path
<apeiros_> yes. the path which passenger-install-apachesomething tells you
<AlienCat> so I just allow everone to that path?
rodfersou has joined #ruby
ferr has joined #ruby
kevr has joined #ruby
<AlienCat> the home folders are very protected as default, did you have to do anything particular
<AlienCat> ?
Spami has quit [Quit: This computer has gone to sleep]
AndChat| has joined #ruby
funburn has quit [Ping timeout: 255 seconds]
timonv_ has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jusmyth1 has joined #ruby
ozzloy has joined #ruby
jusmyth1 has left #ruby [#ruby]
AndChat| has quit [Ping timeout: 250 seconds]
<gr33n7007h> can you push onto an array while popping?
<apeiros_> AlienCat: no
<apeiros_> gr33n7007h: since push and pop are method calls, one has to happen before the other. or do you mean concurrently in a threaded env?
sdwrage has joined #ruby
<gr33n7007h> apeiros, no, one after the other would do
<AlienCat> Okay, I guess I will try
jenrzzz has quit [Ping timeout: 256 seconds]
<gr33n7007h> basically, I'm trying to populate an queue/array with over 4 billion integers, but thats gonna take forever
kyb3r_ has quit [Quit: Leaving]
<DefV_> it'll mainly eat all your memory
AlSquire has joined #ruby
<Zorxax_> gr33n7007h, This is example https://gist.github.com/marwino/d5579807db718a69311c
x1337807x has joined #ruby
<Zorxax_> gr33n7007h, how read all tags and text between tags
<gr33n7007h> Zorxax_, I'm not to well up on nokogiri, only know some basics
sigurding has joined #ruby
beilabs has quit [Quit: Be back later ...]
<Zorxax_> ;(
<gr33n7007h> sorry
<Zorxax_> ok, np.
sigurding has quit [Read error: Connection reset by peer]
jimbach has joined #ruby
<shevy> I am bored guys
<agent_white> BOARD
tkuchiki_ has joined #ruby
oo__ has joined #ruby
RandyT has quit [Ping timeout: 264 seconds]
oo_ has quit [Read error: Connection reset by peer]
tkuchiki has quit [Read error: Connection reset by peer]
x1337807x has quit [Ping timeout: 240 seconds]
<shevy> BEARD
cassianoleal has quit [Quit: (null)]
sigurding has joined #ruby
Takle has quit [Remote host closed the connection]
Guest91706 is now known as zai
<apeiros_> gr33n7007h: 4 billion? you might reach the limits of array size there too
qba73 has joined #ruby
zai is now known as Guest39503
<gr33n7007h> one sec i'll gist what i'm trying to achieve
AlexRussia has joined #ruby
jimbach has quit [Ping timeout: 265 seconds]
moritzs has joined #ruby
Guest39503 is now known as zai
RandyT has joined #ruby
jusmyth has joined #ruby
wm3|away has joined #ruby
chthon has quit [Ping timeout: 245 seconds]
Areessell has joined #ruby
<apeiros_> gr33n7007h: don't use a structure which requires synchronizing for that
<apeiros_> split your data up, process it in threads, and merge at the end
<shevy> Hanmac, I also have a comic for you this time: http://satwcomic.com/
<gr33n7007h> apeiros, have you got a simple eg?
<apeiros_> make 8 threads. process 0..(2**32/8 - 1) in thread 0, 2**32/8 .. 2**32/8*2-1 in thread 1, etc.
preview has joined #ruby
preview is now known as pre_view
<gr33n7007h> ah, I see what you mean, let write something up
cassianoleal has joined #ruby
AFK_Geek has joined #ruby
<apeiros_> but I think you're still doomed
<apeiros_> I doubt this can be processed in any reasonable time
<gr33n7007h> just, what i was thinking
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
* gr33n7007h fails, again
<apeiros_> a single sample took 0.15ms on my machine. times 2**32 that's 7.5d
AFKGeek has quit [Ping timeout: 255 seconds]
<gr33n7007h> shit, I wasn't thinking that amount of time, program scrapped!
doev has joined #ruby
Bira has joined #ruby
kumarat9pm has left #ruby [#ruby]
narcan has joined #ruby
chthon has joined #ruby
carlosoliveira has joined #ruby
rkalfane has joined #ruby
yfeldblum has joined #ruby
ptrrr has joined #ruby
Bira has quit [Ping timeout: 258 seconds]
sameerynho has joined #ruby
AFK_Geek has quit [Quit: Fades into the shadows]
troulouliou_dev has joined #ruby
lxsameer has quit [Ping timeout: 245 seconds]
ptrrr has quit [Client Quit]
mkrank has joined #ruby
jusmyth1 has joined #ruby
Spami has joined #ruby
cajone has left #ruby [#ruby]
jusmyth1 has left #ruby [#ruby]
finferl has joined #ruby
glaksmono has quit [Quit: Leaving]
GeorgesLeYeti has joined #ruby
jusmyth has quit [Ping timeout: 264 seconds]
timonv_ has quit [Remote host closed the connection]
tkuchiki_ has quit [Remote host closed the connection]
funburn has joined #ruby
AlienCat has quit [Quit: Leaving]
tkuchiki has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
sdwrage has quit [Quit: This computer has gone to sleep]
reinaldob has joined #ruby
braincrash has quit [Ping timeout: 264 seconds]
sdwrage has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
matcouto has joined #ruby
Takle has joined #ruby
sandelius has joined #ruby
pre_view has quit [Quit: leaving]
<sandelius> I LOVE crafting web apis in Ruby but hate Javascript MVC. Bad combo :)
vimer has joined #ruby
testcore has joined #ruby
tokik has quit [Ping timeout: 265 seconds]
chipotle has joined #ruby
jenrzzz has joined #ruby
parzzix has quit [Ping timeout: 264 seconds]
hiyosi has joined #ruby
vinleod has joined #ruby
rshetty has quit [Remote host closed the connection]
Blizzy has quit [Ping timeout: 244 seconds]
Jake232 has joined #ruby
corehook has joined #ruby
Jake232 has quit [Client Quit]
zarubin has joined #ruby
Jake232 has joined #ruby
Jake232 has quit [Client Quit]
jenrzzz has quit [Ping timeout: 258 seconds]
gaussblurinc1 has quit [Read error: Connection reset by peer]
gaussblurinc11 has joined #ruby
startupality has joined #ruby
davidhq has joined #ruby
wm3|away is now known as workmad3
hiyosi has quit [Ping timeout: 250 seconds]
ldnunes has joined #ruby
Morkel has quit [Quit: Morkel]
Caius has quit [Ping timeout: 260 seconds]
chthon has quit [Quit: Ex-Chat]
fabrice31 has quit [Ping timeout: 264 seconds]
mr_foobar_baz has joined #ruby
fantazo has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
sk87 has joined #ruby
ixti has joined #ruby
oo__ has quit [Remote host closed the connection]
Caius has joined #ruby
Caius has joined #ruby
oo_ has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joonty has joined #ruby
x1337807x has quit [Ping timeout: 265 seconds]
MattB2 has joined #ruby
timonv_ has joined #ruby
__main__ has quit [Ping timeout: 255 seconds]
dermothaughey has joined #ruby
FooMunki has joined #ruby
fgo has joined #ruby
siso has joined #ruby
josephndenton has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Ping timeout: 255 seconds]
rdark has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
MattB2 has quit []
NoNMaDDeN has quit [Remote host closed the connection]
dangerousdave has joined #ruby
rdark has quit [Client Quit]
Timgauthier has joined #ruby
dermothaughey has quit [Ping timeout: 265 seconds]
rdark has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
<Zorxax_> hello anybody can help me with nokogiri and parse all tags from xml?
sigurding has quit [Quit: sigurding]
rdark has quit [Client Quit]
__main__ has joined #ruby
echooo has quit [Quit: echooo]
oo_ has joined #ruby
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dANO has joined #ruby
cajone has joined #ruby
fsapo has joined #ruby
Bira has joined #ruby
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cajone has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
airdeluxe has quit [Ping timeout: 244 seconds]
AlSquirrel has joined #ruby
alexherbo2 has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
AlSquire has quit [Ping timeout: 255 seconds]
Bira has quit []
<agent_white> Zorxax_: Ask your question. Don't ask to ask!
Areessell has quit [Quit: (null)]
<Zorxax_> I ask before ;-)
<Zorxax_> how parse all tags and get array or other way
rshetty has joined #ruby
postmodern has quit [Quit: Leaving]
<Zorxax_> i would like use to recursion but i cant know how
davidhq has joined #ruby
Takle has quit [Remote host closed the connection]
Bira has joined #ruby
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
<Zorxax_> meybe You can transfer xml into arrays? one array will have all text second all tags?
lxsameer_ has joined #ruby
Takle has joined #ruby
<Timgauthier> what does your xml contain?
einarj_ has joined #ruby
<shevy> crap
sameerynho has quit [Ping timeout: 255 seconds]
<Timgauthier> Zorxax_ your question is incomplete in english
cajone has joined #ruby
<Timgauthier> shevy shiße?
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> I just pictured what XMl might contain!
<shevy> but more neutrally
<shevy> a lot of line noise it will contain :-)
<shevy> In this context, I actually prefer indent-based layout like in YAML
nagaraj has quit [Remote host closed the connection]
<shevy> though you can get super complex with XML
<shevy> build up your whole GUI logic
einarj has quit [Read error: Connection reset by peer]
<Timgauthier> yea
<Timgauthier> i actuallyl ike yaml
arup_r has joined #ruby
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
timonv_ has quit [Ping timeout: 265 seconds]
nfk has joined #ruby
siso has quit [Read error: Connection reset by peer]
clauswitt has joined #ruby
_br_ has joined #ruby
sandelius has joined #ruby
davidhq has quit [Ping timeout: 240 seconds]
AFKGeek has joined #ruby
anarang has quit [Ping timeout: 264 seconds]
davidhq has joined #ruby
timonv_ has joined #ruby
blackmes1 has joined #ruby
<Zorxax_> Timgauthier, ok tell me what print all tags, and all text between tags
unclouded has quit [Ping timeout: 272 seconds]
unclouded has joined #ruby
jimbach has joined #ruby
rdark has joined #ruby
<Timgauthier> Zorxax_ what is your native language? what do you normally speak?
anarang has joined #ruby
<Timgauthier> i don't really know xml, you'd be best to post in here
fabrice31 has joined #ruby
jimbach has quit [Ping timeout: 244 seconds]
ashish1099 has quit [Remote host closed the connection]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
davidhq has quit [Read error: No route to host]
DaniG2k has quit [Quit: leaving]
Takle has quit [Remote host closed the connection]
doev has quit [Quit: Verlassend]
max96at|off is now known as max96at
davidhq has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.1-dev]
<Zorxax_> Timgauthier, polish
x1337807x has joined #ruby
doev has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
Takle has joined #ruby
_main_ has joined #ruby
corehook has quit [Remote host closed the connection]
wsmoak has joined #ruby
cajone has quit [Remote host closed the connection]
kenndel has joined #ruby
sigurding has joined #ruby
x1337807x has quit [Ping timeout: 258 seconds]
_main_ is now known as __main__
AlexRussia has quit [Ping timeout: 272 seconds]
Blizzy has joined #ruby
AlexRussia has joined #ruby
elcheckito has joined #ruby
parzzix has joined #ruby
<shevy> Zorxax_ whenever I dive into something ruby-related
<shevy> I store information in a local knowledge base
<Zorxax_> shevy, can You correct my code?
NoNMaDDeN has joined #ruby
<workmad3> shevy: whenever I delve into any subject, I store information in a local knowledge base ;)
<shevy> I abandoned XML years ago Zorxax_
doev has quit [Quit: Verlassend]
<shevy> workmad3 you do too?
<workmad3> shevy: sure... I suspect most people do... as long as we count biological knowledge bases carried around in a thin bone casing...
<shevy> Zorxax_, years ago, last time I used REXML ... I have old code like: doc = REXML::Document.new( File.open( 'XML/gamebook02.xml' ) ) in it... I can not even look at it
<shevy> workmad3 oh that
<shevy> I forget too quickly
<workmad3> shevy: ;)
<Timgauthier> workmad3 lol
<Timgauthier> shevy what do you use to create a local knowledge base? (serious question)
shredding has quit [Quit: shredding]
<shevy> Timgauthier ah that is more or less an open question for me as well
doev has joined #ruby
<shevy> Timgauthier I kinda use a mixture of different approaches; most information is just hardcoded in .cgi files right now
<shevy> I kinda inherited that from my old .php files
<shevy> Timgauthier for my ruby projects, I tend to use markdown .md files whenever possible
<Timgauthier> what do you mean by hardcoded in cgi?
nfk has quit [Quit: yawn]
<shevy> well, just as if you'd use a .html page right?
<Timgauthier> i'm mostly interested in how you interact with this information
<shevy> but more dynamic
Zorxax_ has left #ruby ["Wychodzi"]
<shevy> with ruby!
<Timgauthier> so you use irb or whatever as an interface to look up questions etc?
<shevy> in principle, all I could do on the commandline with ruby, I could do through .cgi files as well
<shevy> nah, just serve .cgi files
<shevy> or invoke some .rb file on the commandline through aliases
<Timgauthier> and how does this information look? Like how are your questions/answers stored
<Timgauthier> i think i should learn/figure out how to write documentation (says the guy who can barely figure out how to comment his own code) and start to do that for my own knowledge
<shevy> for instance: "qa chemistry" on the commandline is to ask me a chemistry question; I have this aliased to "chem?" on the commandline, and if my answer is correct I type "solved" or similar to tag it as solved
<Timgauthier> so you use this as a way to study topics?
<shevy> Timgauthier ah, of course I also use yaml files; the exam questions are one huge .rb file though, a module... module Exams or something like that
<shevy> that as well, yes!
<Timgauthier> what about like, i want to remember the syntax for something how would i look that up?
<Timgauthier> What does an else statement in erb look like for example
nrsk has joined #ruby
<shevy> well
<shevy> I have some aliases for that
<shevy> for instance, I can never remember the % syntax
<Timgauthier> to write it out? or to look it up
<shevy> so I remembered it as "beautiful string" or something; "beautify string"; on the commandline I type "beauty?"
<shevy> and this is the result:
<shevy> '%3s' % '1' will become ' 1'
<shevy> '%03d' % 3 # => '003'
<shevy> etc...
<shevy> Timgauthier dunno, I don't use erb so I don't have this snippet stored
<shevy> I have a file generator though; "rubygen foo.rb" will generate a default .rb file for me; "rubygen foo.cgi" a default .cgi file etc...
<shevy> and if I do: "rf ruby" my local knowledge base is loaded in the default browser
<shevy> but it's one huge thing
<shevy> like 30.000 lines or so
<Timgauthier> cool :)
<shevy> Timgauthier one problem is - I store stuff in german :(
<shevy> I was undecided for a long time whether I should use english or german
<Timgauthier> http://getkirby.com/docs/ the documentation here is excellent, i love it. it shows you the code and how to use it etc
chipotle has quit [Max SendQ exceeded]
<shevy> I am ok with english too... but the thing is, I noticed that my brain has a much easier time keeping things organized in german; the cost of processing for my brain is lower
<shevy> k lemme see
<Timgauthier> and i wish i had something like this for everything.
moritzs has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
AFKGeek has quit [Quit: Fades into the shadows]
manzo has joined #ruby
AFKGeek has joined #ruby
godd2 has joined #ruby
AFKGeek has quit [Read error: Connection reset by peer]
<Timgauthier> seriously, if there was a ruby based project that had this level and quality of documentation i'd likely understand it effortlessly
<shevy> Timgauthier this is the current header for my local ruby knowledgebase; don't laugh, the pictures were without colours, I tried to improve on them and combine them http://i.imgur.com/G8S7nOg.png
AFKGeek has joined #ruby
chipotle has joined #ruby
<shevy> aha PHP there
<shevy> <a href="<?php echo $site->twitter() ?>">Twitter</a>
<Timgauthier> nice :P
<Timgauthier> shevy yes, its all PHP
<shevy> I kinda abandoned that sort of embedding
<Timgauthier> but this guys documentation on PHP for his cms is literally how i've learned to read and write PHP
<shevy> I like the rails API for such things more
<shevy> :link_to =>
<shevy> PHP has good docs
<Timgauthier> I dont like :link_to=> because i find it brutal to have control on how my links work
jenrzzz has joined #ruby
cajone has joined #ruby
<Timgauthier> i'm at the will of whatever i'm using to format my links correctly
<shevy> I dunno, I just like the idea more
<shevy> I kinda picture all CMS as an organic living thing
<shevy> it must become clever!
<shevy> like skynet
<Timgauthier> PHP.net docs are okay, this guys stuff though is steller, honestly i'd love to write documentation for everything i know at this level, but i doubt i could
<shevy> when I am dead, my knowledgebase must persist on
<Timgauthier> the benifit of :link_to is that you can fix all of the links at once
<shevy> yes Timgauthier
<shevy> this is a great thing
<shevy> I do this with my main URL mapper
<Timgauthier> if you build something and then you can change the spec is nice
<shevy> for instance: the symbol :local_ruby points to my local knowledge base all the time
<shevy> so if I ever change that, I only have to change it in one place, and all links will work again
<Timgauthier> yeah
Takle has quit [Remote host closed the connection]
karmatr0n has joined #ruby
<dangerousdave> ha, ignore last
<dangerousdave> i'm an idiot
<apeiros_> dangerousdave: because "test," != "test"
<shevy> wow apeiros was fast
<shevy> or his clone is :)
<apeiros_> err, "note,"
<apeiros_> but well…
kasperti_ has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
shazaum has joined #ruby
<Timgauthier> hah
<Timgauthier> shevy i have this huge curiosity for taxonomy and cataloging, but i feel like i utterly suck at them.
<Timgauthier> right now trying to think about them feels like trying to wrap my arms around a big balloon that is too big for my arms to reach around
yeticry has quit [Ping timeout: 240 seconds]
<shevy> cool
<shevy> taxonomy is like the philosophy to clean up things and tag everything
<Timgauthier> yeah
<Timgauthier> but how should i tag files on my mac
<shevy> like calling a human being Homo sapiens sapiens
<shevy> dunno; meta information?
<Timgauthier> its easy when i know a system like the system of classification of animals and humans etc knowing how to class things and apply those is easy
<shevy> File: `screenshot.png'
<shevy> Size: 178870 Blocks: 352 regular file
<shevy> Device: 801h/2049d Inode: 5243487
<shevy> all sorts of extra info!
__main__ has quit [Ping timeout: 244 seconds]
<Timgauthier> but looking at a pile of icons and figuring out how to create a classification system for them is where i am stumbling
<shevy> hmm
yeticry has joined #ruby
<shevy> I have this problem with my images
<Timgauthier> but you shouldn't add tags for .meta info, thats already in the file and searchable!
<shevy> I have like ... 10.000 or so
<Timgauthier> i know that feeling yes
rshetty has quit [Remote host closed the connection]
<shevy> no idea how to really keep the well organized
<shevy> *them
fabrice31_ has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
<Timgauthier> i've taken advantage of things like facial recognition in iPhoto and that helps a bit but like... what about these files. this is a photo i reuse because its the photo of my face. where do i store it, what versions of it do i keep, do i keep each new crop and shape as i generate it, which folder does it go in.
<Timgauthier> i honestly, my heads like *crrrrrr* *static* when i try to focus on this type of thing lol
<Timgauthier> i've started using a os x app called stache to keep track of websites that have content that i deem useful for later knowledge, and that was nice because it has a very flexible system of tagging and folders where things appear in multiple places, or let me reorganize nondestructively
fabrice31 has quit [Ping timeout: 258 seconds]
<Timgauthier> but most of my messes are due to having multiple active systems to sort them going on at once.
Takle has joined #ruby
<Timgauthier> man, this is a very non #ruby discussion :P
anarang has quit [Ping timeout: 264 seconds]
phutchins has joined #ruby
parzzix has quit [Ping timeout: 255 seconds]
ctp has joined #ruby
supersym has quit [Ping timeout: 244 seconds]
<shevy> I dunno
carlosoliveira has quit [Quit: Connection closed for inactivity]
<shevy> my primitive way is to create directories
<shevy> and put images there when they might fit
sameerynho has joined #ruby
Xuerian has quit [Remote host closed the connection]
Xuerian has joined #ruby
lxsameer_ has quit [Ping timeout: 240 seconds]
<Timgauthier> i just had this phrase in my head, "I Have a hard time translating thoughts into words" and i google searched it... now i have cancer thanks webmd
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<workmad3> Timgauthier: hah
<workmad3> Timgauthier: brain tumor pressing on some important part of your brain? :)
<Timgauthier> actually it took me to an asbergers syndrom page.
<Timgauthier> workmad3 maybe actually :P
dissident has joined #ruby
hiyosi has joined #ruby
<workmad3> Timgauthier: you mean aspergers?
<Timgauthier> thanks yeah
<workmad3> Timgauthier: although if that's a common typo it explains why American tv shows seem to call it 'ass burgers'
<Timgauthier> i'm trying to get music playing
<shevy> lol
<shevy> ass burgers
<Timgauthier> workmad3 naw, i spell it wrong because of american tvshows
<workmad3> Timgauthier: :D
<dissident> hi. i want to start out learning ruby. i'm on ubuntu, and from reading am unsure if i use the default ubuntu ruby, or install independently, and if i should use RVM or not.
<shevy> that's what I love about US americans - they bring things down to simple levels of understanding
<dissident> various documentation is telling me rvm has been replaced by bundler
<workmad3> shevy: it threw me on a couple of shows, I wondered why people kept on saying they had ass burgers...
<shevy> dissident bundler can not replace rvm
<shevy> workmad3 HAHAHA
<shevy> this is too funny
<Timgauthier> shevy i'm going to berlin on friday, what should i do there? i'm there for a few hours while my wife has an interview
fantazo has joined #ruby
<shevy> workmad3 do you know the mockery about some song from rihanna and ... hmm
<shevy> and shakira
<workmad3> shevy: I know many a parody and mockery song :)
<workmad3> shevy: not sure I know that one though...
<shevy> workmad3 oh yeah ... this one https://www.youtube.com/watch?v=3wFwYBPvYu8
kamil has quit [Quit: Leaving...]
<shevy> I cracked down at the phrase "communicating through ass telepathy"
<workmad3> shevy: although this one puts me in mind of several people I know :) https://www.youtube.com/watch?v=CGi4Rdf1-nc
<shevy> but another phrase was... "he is an ass clown" ... I never heard the term ass clown before
mayday_jay has quit [Quit: Leaving]
NoNMaDDeN has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
<Timgauthier> how do you store these shevy for easy recall?
krz has quit [Quit: WeeChat 1.0.1]
psy_ has quit [Remote host closed the connection]
<workmad3> hmm, lunch time methinks
hiyosi has quit [Ping timeout: 272 seconds]
workmad3 is now known as wm3|away
<shevy> Timgauthier store what?
<Timgauthier> links like those
<Timgauthier> we should have a room called #rubybullshit for just these conversations :P
<shevy> #ruby is well suited
<shevy> I am still not quite sure what you mean
<Timgauthier> i would like a system to store and organize thoughts, ideas, information, documentation, dates, etc.
ThaDick has joined #ruby
<Timgauthier> i feel like i've got a ton of thoughts, but they are all gas and i can't connect them to works or coherence :| this happens often
<shevy> dissident you could stick to the ubuntu ruby for now if all you want to do is learn ruby; but one day you should switch. ubuntu changes defaults of ruby, and also eliminates functionality like 'mkmf'; you can install this, but most newbies don't know how or what to do
<shevy> Timgauthier ah yeah
<shevy> Timgauthier tell you the truth, aside from the .cgi files, I also store a lot of stuff into .yml files
<shevy> even invalid yaml format!
__main__ has joined #ruby
<Timgauthier> lol
<shevy> it kinda became my favourite dump format
anarang has joined #ruby
<shevy> and whenever it is necessary, I can load it through ruby and easily process it further
<Timgauthier> what does it look like when you do that?
<shevy> reminds me a bit of .md files
o0oo0o has quit [Quit: WeeChat 0.4.3]
<shevy> Timgauthier let me see
<Timgauthier> that was .md :P
<shevy> well actually
<Timgauthier> well markdown extras with a bit of JSON on top
<shevy> it depends on what format I need
<shevy> Arrays will have to be like so
<shevy> - foo
<shevy> - bar
<shevy> or were these hashes, I forgot lol
<shevy> foo: bar
<Timgauthier> could you pastie a file for me to see? :P
<shevy> that should be a hash in yaml
<shevy> I'd have to find a valid one!
<Timgauthier> i'm just looking for what others have done
<shevy> most are invalid ones!!!
<Timgauthier> lol, even an invalid one is a good thing to see
<Timgauthier> just to see how you dump stuff
davedev24_ has joined #ruby
<shevy> ok this is wlan.yml I think - not much in it because I had only one wlan device in one laptop http://pastie.org/pastes/9727527/text
decoponio has joined #ruby
<Timgauthier> okay, and what is the reason for this file to exsist?
<shevy> system_settings.yml has about 2000 lines of that http://pastie.org/pastes/9727529/text
<shevy> Timgauthier dunno! I like to describe my systems in some text file
<Timgauthier> i get 3 lines from that link lol
<shevy> yeah it's a small file
<Timgauthier> oh, i see yeah
<shevy> I also have a mime_types.yml file
karmatr0n has quit [Remote host closed the connection]
<shevy> Timgauthier all programs that I can compile and install also got their own .yml file; php.yml for instance has data to compile and install it
<Timgauthier> these don't seem quite like i'm thinking in my head. i'm like trying to figure out how to store like, This is a way to do this thing, heres a snippet of code that does this other thing etc
sk87 has joined #ruby
<Timgauthier> ahh, so like directions + info and gotchyas ?
<dissident> shevy: I'm learning because I've started using capistrano and have just started looking at Chef. what does the "switch" entail?
<shevy> Timgauthier this is like the cleaned up variant of php.yml, it has more data than the two previous examples http://pastie.org/pastes/9727534/text
<shevy> Timgauthier yes exactly
yfeldblum has quit [Ping timeout: 255 seconds]
<shevy> I removed 20 lines of german :-)
<Timgauthier> lol, i'm learning my german so its okay ;)
<Timgauthier> so this is all the stuff you need to remember how to get php going, or how you got php going
<shevy> dissident well - eventually you will feel that ubuntu ruby restricts you
<shevy> dissident so there are alternatives; rvm... chruby... and other things. I don't use any of these, I compile ruby from source all the time, but many other people do here on #ruby
<shevy> Timgauthier yes, just how to get php going + installed; for php code snippets, I use another approach; actually back then I just stored info in .php but that also kinda sucks
<shevy> Timgauthier I want like a global system where I can manipulate every snippet all the time, regardless of how and where it is stored
<shevy> like a wiki, but a good wiki
<Timgauthier> yea, like store snippets from various languages etc
<shevy> that too - $RUBY_SRC points to my ruby source files; /test/ directory there has all my tests
<Timgauthier> and then some way to tag what they are doing, so you can cross language search for a snippet to do something (maybe ruby, maybe js, maybe php all have answers)
<shevy> hopefully
<shevy> one day
livathin_ has joined #ruby
<Timgauthier> i'm tossing the idea of using kirby to build something right now, i'd use middleman or jekyll but my concern is that i have to rebuild it everytime i change something, where kirby wouldn't be an issue... or maybe github repo?
<shevy> dunno
<shevy> some people here are github freaks
nvdpl has joined #ruby
<Timgauthier> could a git repo really work to hold and store information like that, i could see jekyll on git doing stuff like that maybe
shemerey has joined #ruby
sameerynho has quit [Ping timeout: 256 seconds]
livathinos has quit [Ping timeout: 240 seconds]
<bhaak> sorry, if I'm asking something you already told us but why would you want to have it in HTML form as well?
lesyalife has joined #ruby
<Timgauthier> these are the types of things i love to design, systems that do lots of really good and useful things, but yet i havn't figured out how to do this for myself yet lol
<Timgauthier> bhaak i guess it wouldn't need html form would it... but its the most obvious form of interacting with it i can come up with
gaussblurinc11 has quit [Read error: Connection reset by peer]
thoraxe_ is now known as thoraxe
gaussblurinc1 has joined #ruby
<bhaak> only if you have a problem with readable markdown :)
x1337807x has joined #ruby
f0ster has quit [Ping timeout: 255 seconds]
beilabs has joined #ruby
<Timgauthier> the problem isn't the readible markdown etc, i'm thinking of how do you search and navigate content?
anaeem1_ has quit [Remote host closed the connection]
<bhaak> grep :)
<Timgauthier> i don't spend a ton of time in the terminal, i'd need a way to put terminal commands into my spotlight search but thats not too bad.
<bhaak> but I can see the need of having a static copy if you are away from your main computer
<Timgauthier> lol, look at this list http://www.online-college-blog.com/tips-and-tools/100-powerful-web-tools-to-organize-your-thoughts-and-ideas/ but there isn't a single app that goes into most of these categories.
<bhaak> and yes, if you are not a terminal persion, that, too
<Timgauthier> bhaak well that and syncing, or backup
<Timgauthier> moving it from one computer to another
jonathanwallace has quit [Ping timeout: 256 seconds]
doodlehaus has joined #ruby
banister has quit [Ping timeout: 272 seconds]
NoNMaDDeN has joined #ruby
x1337807x has quit [Ping timeout: 244 seconds]
jonathanwallace has joined #ruby
beilabs has quit [Ping timeout: 256 seconds]
<Timgauthier> i'm going to look at yml files, i think they'd be a great form of outlining, and making i can use them to generate something so that i can expand on content
__main__ has quit [Ping timeout: 258 seconds]
<Timgauthier> if i could make a yml that becomes a navigable tree of sub files that i can then expand on, so it either could be a list of things, but as those things grow it could turn into a list of list of lists of things.
mkaesz has joined #ruby
agjacome has joined #ruby
banister has joined #ruby
InformatiQ has joined #ruby
gaussblurinc1 has quit [Quit: Leaving.]
gaussblurinc1 has joined #ruby
funburn has quit [Quit: funburn]
lesyalife has quit [Quit: Page closed]
doodlehaus has quit [Remote host closed the connection]
engineered_acade has quit []
avarice has quit [Quit: this channel is bakas]
St_Marx has joined #ruby
shemerey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cleopatra has joined #ruby
<bhaak> Timgauthier: you know TiddlyWiki? it might not be exactly what you want but I found the editable html always quite intriguing. much closer to the original concept of the WWW than what we have now
Timgauthier is now known as timgauthier_away
cajone has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
lxsameer has joined #ruby
lxsameer has joined #ruby
doodlehaus has joined #ruby
giuseppesolinas has joined #ruby
fandi has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
jxf has joined #ruby
psy_ has joined #ruby
krz has joined #ruby
spyderman4g63 has joined #ruby
timgauthier_away is now known as Timgauthier
giuseppesolinas has quit [Client Quit]
ReeseCarlyle777 has joined #ruby
toretore has joined #ruby
__main__ has joined #ruby
Soda has joined #ruby
Takle has joined #ruby
razieliyo has joined #ruby
Deele has joined #ruby
mr_foobar_baz has quit [Quit: WeeChat 1.0.1]
shazaum has quit [Changing host]
shazaum has joined #ruby
<Timgauthier> bhaak it seems interesting, but if it was a native app that'd be easier, node.js seems far to complicated to run locally for me
sigurding has joined #ruby
kp666 has quit [Quit: Leaving]
<bhaak> Timgauthier: it's basically a html file, just open it in your preferred browser. the node.js option just gives you some additional features.
benzrf|offline is now known as benzrf
giuseppesolinas has joined #ruby
vimer has quit [Quit: leaving]
<dissident> shevy: thanks
supersym has joined #ruby
BombStrike has quit [Quit: ZNC - http://znc.sourceforge.net]
<Timgauthier> i'm... not really getting this tiddly thing bhaak i'll try to download it and use it now
BombStrike has joined #ruby
caveat- has joined #ruby
lxsameer has quit [Read error: No route to host]
lxsameer has joined #ruby
oo_ has joined #ruby
jimbach has joined #ruby
fsapo has quit [Ping timeout: 264 seconds]
anarang has quit [Quit: Leaving]
<mostlybadfly> Thanks jhass :D
kasperti_ has quit []
<jhass> you're welcome
<Timgauthier> yea that saving the html file business is a mess bhaak
karmatr0n has joined #ruby
<bhaak> hehe
shemerey has joined #ruby
<mostlybadfly> Looked familiar
Xeago has joined #ruby
hiyosi has joined #ruby
Xeago__ has joined #ruby
<Timgauthier> what did i miss
jimbach has quit [Ping timeout: 240 seconds]
vinleod has quit [Quit: Computer has gone to sleep.]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xeago_ has quit [Ping timeout: 264 seconds]
papal has quit [Ping timeout: 272 seconds]
<shevy> Timgauthier XML
<Timgauthier> ew
Xeago has quit [Ping timeout: 240 seconds]
ta has joined #ruby
aclearman037 has joined #ruby
shock_one has quit [Ping timeout: 264 seconds]
wm3|away has quit [Ping timeout: 250 seconds]
papal has joined #ruby
lektrik has joined #ruby
arup_r has quit [Remote host closed the connection]
karmatr0n has quit []
benzrf is now known as benzrf|offline
Spami has quit [Quit: This computer has gone to sleep]
cmckee has joined #ruby
JohnBat26 has quit [Remote host closed the connection]
vectra has quit [Ping timeout: 258 seconds]
fantazo has quit [Ping timeout: 265 seconds]
gaussblurinc1 has quit [Quit: Leaving.]
gaussblurinc1 has joined #ruby
benzrf|offline is now known as benzrf
kamil has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
JohnBat26 has joined #ruby
parzzix has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
_main_ has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
tier has joined #ruby
aclearman037 has quit [Ping timeout: 255 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
yeticry has quit [Ping timeout: 245 seconds]
_main_ is now known as __main__
dissident has quit [Quit: WeeChat 0.4.2]
tus has joined #ruby
x1337807x has quit [Ping timeout: 272 seconds]
yeticry has joined #ruby
testcore has quit [Remote host closed the connection]
testcore has joined #ruby
jenrzzz has joined #ruby
aclearman037 has joined #ruby
Asher1 has quit [Quit: Leaving.]
fantazo has joined #ruby
paulfm has joined #ruby
jimbach has joined #ruby
chaotik has quit [Remote host closed the connection]
Asher has joined #ruby
jimbach has quit [Remote host closed the connection]
arup_r has joined #ruby
jimbach has joined #ruby
arup_r has quit [Remote host closed the connection]
InformatiQ has quit [Ping timeout: 258 seconds]
agent_white has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
Avahey has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
gogiel has joined #ruby
corehook has joined #ruby
Lingo has joined #ruby
blackmes1 has joined #ruby
sstjohn has joined #ruby
KC9YDN has quit [Quit: Condenadme, no importa, la Historia me absolverá. - Fidel Castro]
tesuji has quit [Ping timeout: 240 seconds]
sstjohn has quit [Client Quit]
elemenopy has quit []
x1337807x has joined #ruby
<mostlybadfly> Mmmm Andrew Bird
x1337807x has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
luisjose has joined #ruby
ReeseCarlyle777 has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
wm3|away has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
x1337807x has quit [Ping timeout: 258 seconds]
timonv_ has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
last_staff has quit [Quit: gotta run, run]
joonty has quit [Quit: Leaving]
<Timgauthier> isnt' markdown supposed to add an id="" to markdown #titles ?
i0n has joined #ruby
rimenes has joined #ruby
ponga has joined #ruby
sailias has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
timonv_ has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
luisjose has left #ruby ["Linkinus - http://linkinus.com"]
Channel6 has joined #ruby
AliRezaTaleghani has quit [Quit: Leaving.]
runa has joined #ruby
wsmoak has quit [Ping timeout: 258 seconds]
timonv_ has quit [Remote host closed the connection]
silkfox has joined #ruby
<benzrf> Timgauthier: who the hell knows
Takle has joined #ruby
charliesome has quit [Quit: zzz]
<Timgauthier> whoever wrote that particular implimentation :P
bluOxigen has quit [Ping timeout: 264 seconds]
sigurding has quit [Quit: sigurding]
sk87 has joined #ruby
Juanchito has joined #ruby
nateberkopec has joined #ruby
wsmoak has joined #ruby
gaussblurinc1 has quit [Quit: Leaving.]
tus has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
<ponga> http://pastie.org/9727764 can anyone think of a way to do this without using global variable?
josephndenton has joined #ruby
<twohlix_> you dont need to use the global there, it could just be ar2 references
<ponga> what!?
ndrei has joined #ruby
<ponga> oh yeah twohlix_ i just did that and it worked
<twohlix_> also ponga
* ponga has question mark on his head
<twohlix_> you could just do ar2 = ar.dup
<twohlix_> ar2.push ar2.shift
charliesome has quit [Client Quit]
<ponga> ok wait a moment to test that out plz
aspiers has joined #ruby
sigurding has joined #ruby
blackmes1 has joined #ruby
<ponga> um
<ponga> twohlix_:
<twohlix_> yes
<ponga> i got apple lost
<twohlix_> no
<twohlix_> ar2.push(ar2.shift)
asterite has joined #ruby
<ponga> oh ok
<twohlix_> which is the same as ar2.push ar2.shift
<twohlix_> on one line
Macaveli has joined #ruby
<ponga> oh
<twohlix_> much of what you probably need to do has been done, check the array docs for stuff like that http://www.ruby-doc.org/core-2.1.5/Array.html#method-i-push
coderhs has joined #ruby
asterite has left #ruby [#ruby]
coderhs has quit [Remote host closed the connection]
<ponga> oh ok twohlix_ i read the ruby-doc about 'shift'
<ponga> i understood, thanks!
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<twohlix_> you're welcome
lxsameer has quit [Ping timeout: 250 seconds]
josephnd1nton has joined #ruby
aspiers has quit [Ping timeout: 258 seconds]
adriancb has joined #ruby
supersym has quit [Quit: WeeChat 1.0.1]
St_Marx has quit [Ping timeout: 250 seconds]
timonv_ has joined #ruby
Bira has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
Bira has joined #ruby
Takle has quit [Remote host closed the connection]
<ponga> twohlix_: actually i sort of had an idea that library already exists to help this out, but i just wanted to practice
rshetty has joined #ruby
<ponga> and thank again telling me i did not need $
corehook has quit [Remote host closed the connection]
<twohlix_> also ponga: if you just want to access the end of an array you can do negative indexing. arr[-1] is the end, arr[-2] is one away from the end, etc...
josephnd1nton has quit [Ping timeout: 255 seconds]
Bira has quit [Remote host closed the connection]
Takle has joined #ruby
iamjarvo has joined #ruby
oculus has joined #ruby
tier_ has joined #ruby
timonv_ has joined #ruby
St_Marx has joined #ruby
oculus has quit [Max SendQ exceeded]
oculus has joined #ruby
<shevy> don't be so negative guys!
<shevy> count forward!
<txdv> master shevy
<shevy> hey txdv
dkphenom has joined #ruby
* shevy pretends to be afk
<txdv> >> "shevy " * 1000
<eval-in__> txdv => "shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy sh ... (https://eval.in/222969)
duggiefresh has joined #ruby
<shevy> \o/
tier has quit [Ping timeout: 240 seconds]
benzrf is now known as benzrf|offline
timonv_ has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
Channel6 has quit [Quit: Leaving]
jerius has joined #ruby
wm3|away is now known as workmad3
<ddv> one is more than enough
troulouliou_dev has quit [Read error: Connection reset by peer]
<shevy> that so reminds me of the Simpsons where there are clone of Homers in one halloween-special episode
<shevy> they all are brought down by flying donuts
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
timonv_ has joined #ruby
bweston92 has joined #ruby
Timgauthier is now known as timgauthier_away
Abhijit has quit [Quit: Leaving]
yfeldblum has joined #ruby
<ddv> lol
fsapo has joined #ruby
corehook has joined #ruby
banister has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
allcentury has joined #ruby
Vifid has quit [Remote host closed the connection]
divi has joined #ruby
Kricir has joined #ruby
mary5030 has joined #ruby
Abhijit has joined #ruby
blackmes1 has quit [Ping timeout: 244 seconds]
grn_ has joined #ruby
tus has joined #ruby
dermothaughey has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
clauswitt has quit [Ping timeout: 250 seconds]
supersym has joined #ruby
garycruise has joined #ruby
kasperti_ has joined #ruby
spastorino has joined #ruby
_fre_nod_ir has joined #ruby
Lingo___ has joined #ruby
timgauthier_away is now known as Timgauthier
<Lingo___> hello, i'm trying to parse a file of numbers
<Lingo___> like so:
_fre_nod_ir has left #ruby [#ruby]
<Lingo___> why is the space (\n) being included?
garycruise has quit [Client Quit]
dermothaughey has quit [Ping timeout: 258 seconds]
divi has quit [Ping timeout: 240 seconds]
<ddv> Lingo___: because you're parsing a file with newlines
Takle has quit [Remote host closed the connection]
<Lingo___> how can I fix that?
Lingo has quit [Quit: Be back later ...]
oleo has joined #ruby
Lingo has joined #ruby
<jhass> Lingo___: with String#chomp
jobewan has joined #ruby
<Lingo___> yeah I actually tried that
<jhass> .split.map(&:to_s) is redundant, split already guarantees an array of strings
asterite has joined #ruby
<Lingo___> where could I add the chomp to make it a "one liner"
sigurding has quit [Quit: sigurding]
<jhass> after line of course
asterite has quit [Client Quit]
<Lingo___> doesn't compile
cleopatra has quit [Quit: Saliendo]
<jhass> sure it does
<Lingo___> passcodes << line.split("").chomp?
divi has joined #ruby
<Lingo___> right now im just doing
<Lingo___> line.chomp!
<Lingo___> prior
Takle has joined #ruby
<jhass> think about it
<jhass> line.chomp! works
aspiers has joined #ruby
<jhass> line.split.chomp doesn't
<jhass> what's different
<jhass> btw. split("") == String#chars
troulouliou_dev has joined #ruby
zzzbra has joined #ruby
Lingo has quit [Ping timeout: 272 seconds]
x1337807x has joined #ruby
corehook has quit [Remote host closed the connection]
rimenes has quit [Quit: Textual IRC Client: www.textualapp.com]
rimenes has joined #ruby
corehook has joined #ruby
rimenes has quit [Client Quit]
freerobby has joined #ruby
nilurie has joined #ruby
rkalfane has joined #ruby
rimenes has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jackneill has joined #ruby
x1337807x has quit [Ping timeout: 264 seconds]
grn_ has quit []
brushdemon has quit [Disconnected by services]
tagrudev has quit [Remote host closed the connection]
brushdemon_ has joined #ruby
brushdemon_ has quit [Client Quit]
binw has quit [Ping timeout: 240 seconds]
binw has joined #ruby
timonv_ has quit [Remote host closed the connection]
supersym has quit [Quit: WeeChat 1.0.1]
Jake232 has joined #ruby
jleishman has joined #ruby
allcentury has quit [Ping timeout: 258 seconds]
joncol has joined #ruby
mooru has joined #ruby
<joncol> How can I use Bundler to manage my dependencies without being forced to use Git? When I run "bundle install", I get a "fatal: Not a git repository" message.
Lingo___ has quit [Quit: (null)]
josephndenton has quit [Quit: Lost terminal]
<shevy> the joy of bundler
redjack1964 has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
mooru has quit [Client Quit]
diegoviola has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<joncol> Or should I use something else for dependency management?
<ddv> joncol: Why are you not using Git?
<joncol> My company uses hg
<benzrf> hg is ok
<benzrf> im told that hg has almost exactly the same model as git
<benzrf> and heaven knows that git has an awful interface
iamjarvo has joined #ruby
<benzrf> mabye i should learn hg
noop has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Client Quit]
Lingo has joined #ruby
joonty has joined #ruby
<joncol> But why is Bundler giving me Git error msgs?? What is it trying to do?
<txdv> i kinda got used to gits interface
<txdv> everything else doesn't make sense anymore
<txdv> linus way is the only way
<workmad3> joncol: depends on what's in your Gemfile
<txdv> get used to it or focking die()
<workmad3> joncol: does it have a gem that's trying to be fetched from a company repo with a 'git: "some-repo-url" ' directive?
<joncol> workmad3> Nothing special. More or less what bundle gem xxx gave me by default
treehug88 has joined #ruby
banister has joined #ruby
<workmad3> joncol: oh, you've generated a gem with bundler
banister has quit [Max SendQ exceeded]
arup_r has joined #ruby
<workmad3> joncol: the default template for the gemspec bundler generates tries to look up files using git ;)
<joncol> workmad3> Yes, I have bunch of source code that I wanted to make into a Bundler gem. That's not how to do it?
banister has joined #ruby
josephnd2nton has joined #ruby
banister has quit [Max SendQ exceeded]
ZaRDaK has joined #ruby
timonv_ has joined #ruby
<workmad3> joncol: it's not a 'bundler gem'... it's just a gem (no different from any other)... all bundle does is provide a fairly minimal template... but it does assume you'll use git for source control, and generates a gemspec accordingly
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<workmad3> joncol: just edit your gemspec to look up files differently (should be fairly obvious what needs to change)
allcentury has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<joncol> workmad3> I've removed the reference to git from my gemspec, but it still doesn't help
tvw has joined #ruby
banister has joined #ruby
cajone has joined #ruby
josephnd2nton has quit [Client Quit]
razieliyo has quit [Quit: Saliendo]
<joncol> Oh, it DOES work. I was just confused :)
<workmad3> heh
<joncol> Too many gems open :)
<joncol> Thanks!
yeticry has quit [Ping timeout: 244 seconds]
troulouliou_dev has quit [Read error: Connection reset by peer]
josephnd1nton has joined #ruby
josephnd1nton has quit [Client Quit]
jlebrech has joined #ruby
joncol has quit [Quit: leaving]
yeticry has joined #ruby
econerd4ever has joined #ruby
<jlebrech> any gems to put a value into a clipboard (from rails for example) and then access it from irb?
<jlebrech> guess i could do this with redis
hamakn has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 258 seconds]
hamakn has joined #ruby
<ponga> are you still there twohlix_
<twohlix_> ponga yes.
Bira has joined #ruby
<ponga> http://pastie.org/9727852 my practice code was 0.2 sec slower :(
<ponga> just saying, nothing much
josephndenton has joined #ruby
benzrf is now known as benzrf|offline
redjack1964_ has joined #ruby
oleo has quit [Ping timeout: 258 seconds]
benzrf|offline is now known as benzrf
nilurie has left #ruby [#ruby]
<twohlix_> ponga: interesting. Its funny you benchmarked that, I did some silly benchmarking yesterday too: http://twohlix.com/2014/11/ruby-arrayeach-vs-enumerableany/
cajone has quit [Remote host closed the connection]
aganov has quit [Quit: Leaving]
<ponga> twohlix_: i did 500,000 times and it was
<ponga> 1.100000 0.010000 1.110000 ( 1.103399)
<ponga> 0.810000 0.000000 0.810000 ( 0.814327)
<ponga> above is mine
<ponga> not bad i guess? lol
<twohlix_> 25% speed difference
aspiers has joined #ruby
hamakn has quit [Ping timeout: 240 seconds]
<ponga> yes was around 20~25%
redjack1964 has quit [Ping timeout: 256 seconds]
troulouliou_dev has joined #ruby
<jlebrech> is there a highlevel keyvalue store where i can switch between adapters?
finferl has quit [Read error: Connection reset by peer]
Bira has quit [Ping timeout: 264 seconds]
jtdowney has joined #ruby
yfeldblum has joined #ruby
corehook_ has joined #ruby
josephndenton has quit [Quit: leaving]
josephndenton has joined #ruby
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ta has quit [Quit: Leaving...]
usrj has joined #ruby
blackmes1 has joined #ruby
usrj has quit [Max SendQ exceeded]
oleo has joined #ruby
paulfm has quit []
usrj has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
usrj has left #ruby [#ruby]
jenrzzz has joined #ruby
usrj has joined #ruby
corehook has quit [Ping timeout: 258 seconds]
usrj has quit [Max SendQ exceeded]
redjack1964 has joined #ruby
usrj has joined #ruby
usrj has left #ruby [#ruby]
yfeldblum has quit [Ping timeout: 256 seconds]
paulfm has joined #ruby
finferl has joined #ruby
cajone has joined #ruby
<jhass> jlebrech: moneta
aspiers has quit [Ping timeout: 255 seconds]
<jlebrech> jhass:
<jlebrech> jhass: thanks
redjack1964_ has quit [Ping timeout: 255 seconds]
<jlebrech> i'm just looking for ways to copy variables between rails and irb for tinkering
<ponga> twohlix_: so what he recommended was slower
<ponga> lol
CustosL1men has quit [Ping timeout: 264 seconds]
<twohlix_> ponga: but most of the time that difference doesnt matter compared to the readability it provides
Lingo has quit [Quit: Be back later ...]
<ponga> tru
DaniG2k has joined #ruby
jaequery has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
Lingo has joined #ruby
Hijiri has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
bal has quit [Quit: bal]
gsd has joined #ruby
jtdowney has quit [Quit: Textual IRC Client: www.textualapp.com]
Lingo has quit [Client Quit]
benzrf is now known as benzrf|offline
paulfm_ has joined #ruby
Lingo has joined #ruby
andikr has quit [Remote host closed the connection]
livathin_ has quit []
aclearman037 has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
paulfm has quit [Ping timeout: 255 seconds]
oculus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maestrojed has joined #ruby
Abhijit has quit [Quit: Leaving]
jtdowney has joined #ruby
jtdowney has quit [Max SendQ exceeded]
Lingo has quit [Ping timeout: 264 seconds]
whoisjake has joined #ruby
jtdowney has joined #ruby
sdwrage has joined #ruby
Fire-Dragon-DoL has joined #ruby
klmlfl has joined #ruby
renderful has joined #ruby
olivier_bK has joined #ruby
hamakn has joined #ruby
benzrf|offline is now known as benzrf
klmlfl has quit [Read error: Connection reset by peer]
<shevy> are you guys discussing php again
klmlfl has joined #ruby
<ponga> stop making fun of php shevy
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Remote host closed the connection]
<shevy> I have only but compassion in my heart for php
hamakn has quit [Remote host closed the connection]
<shevy> you know like, the moment you hesitate before you squish that nasty bug with your boots
fandi has joined #ruby
x1337807x has joined #ruby
hamakn has joined #ruby
<apeiros_> ponga: there's no need to do that. php makes sufficiently fun of itself all the time
benzrf is now known as benzrf|offline
<ponga> apeiros_+1
<ponga> much better than shevy's jokes
mikepack has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
dkb20k has quit [Remote host closed the connection]
hamakn has joined #ruby
<shevy> txdv ponga hates me :(
tus has quit [Ping timeout: 265 seconds]
tatsuo has joined #ruby
x1337807x has quit [Read error: Connection reset by peer]
joris1 has joined #ruby
x1337807_ has joined #ruby
tobiasvl has quit [Remote host closed the connection]
mikepack has quit [Client Quit]
jleishman has quit [Quit: Lingo: www.lingoirc.com]
AFKGeek has quit [Quit: Fades into the shadows]
tvl has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
dkphenom has joined #ruby
mikepack has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tvl is now known as tobiasvl
<txdv> shevy: he just knows that apeiros_ has the power to kick everyone
ZaRDaK has quit [Quit: Leaving]
<txdv> so he sticks his appeases him
stunder has joined #ruby
tus has joined #ruby
<txdv> i appease you just for self satisfaction
adriancb has quit [Remote host closed the connection]
tus has quit [Client Quit]
<shevy> lol
redjack1964_ has joined #ruby
tus has joined #ruby
mooru has joined #ruby
mooru has quit [Client Quit]
<godd2> I hate the Collatz Conjecture so much. It's so tantalizing
<txdv> i meant to say: so he appeses him*
nvdpl has quit [Quit: ZZZzzz…]
mooru has joined #ruby
<txdv> What i wanted to say originally is that he sticks his head uptothebottom
x1337807_ has quit [Ping timeout: 245 seconds]
<txdv> but that got mixed, deleted, and not rephrased correctly
anotherZero has quit [Quit: Konversation terminated!]
fabrice31_ has quit [Remote host closed the connection]
redjack1964 has quit [Ping timeout: 256 seconds]
nvdpl has joined #ruby
nvdpl has quit [Max SendQ exceeded]
sambao21 has quit [Quit: Computer has gone to sleep.]
nvdpl has joined #ruby
nvdpl has quit [Max SendQ exceeded]
Avahey has quit [Quit: Connection closed for inactivity]
Timgauthier is now known as timgauthier_away
nvdpl has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
timonv_ has quit [Remote host closed the connection]
klmlfl_ has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
hornairs has joined #ruby
econerd4ever has quit [Remote host closed the connection]
econerd4ever has joined #ruby
econerd4ever has quit [Remote host closed the connection]
econerd4ever has joined #ruby
Techguy305 has joined #ruby
sambao21 has quit [Client Quit]
klmlfl has quit [Ping timeout: 256 seconds]
msgodf has quit [Ping timeout: 250 seconds]
aspiers has joined #ruby
jtdowney has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
econerd4ever has quit [Read error: Connection reset by peer]
econerd4ever has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
mr_foobar_baz has joined #ruby
oo_ has quit [Remote host closed the connection]
josephnd1nton has joined #ruby
oo_ has joined #ruby
jherbst has joined #ruby
aclearman037 has quit [Quit: I'm out!]
x1337807x has joined #ruby
<davidcelis> probably a stupid question but i'm not finding how to do this online. is there an easy way to run a line of ruby before running a file passed to ruby? i.e. i just want to do something like `ruby -e '$stdout.sync = true' file.rb`
aclearman037 has joined #ruby
econerd4ever has quit [Ping timeout: 258 seconds]
sambao21 has joined #ruby
jlast has joined #ruby
x1337807x has quit [Read error: Connection reset by peer]
x1337807_ has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
josephnd1nton has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
oculus has joined #ruby
visof has quit [Ping timeout: 255 seconds]
nvdpl has quit [Quit: ZZZzzz…]
einarj_ has quit [Remote host closed the connection]
redjack1964 has joined #ruby
centrx has joined #ruby
x1337807_ has quit [Ping timeout: 264 seconds]
Spami has quit [Client Quit]
redjack1964_ has quit [Ping timeout: 255 seconds]
ikaros has quit [Quit: Ex-Chat]
Techguy305|2 has joined #ruby
kasperti_ has quit []
mkrank has quit [Remote host closed the connection]
itspots has joined #ruby
itspots has joined #ruby
RitterJack has quit [Remote host closed the connection]
<rpag> davidcelis, best I can come up with is ruby -e 'do_something; eval File.read('file.rb')"
<davidcelis> yeah, that's what i ultimately figured. was hoping for a better way, but thank you!
redjack1964_ has joined #ruby
<davidcelis> or load, i guess
<rpag> yup, load/require should work too
timgauthier_away is now known as Timgauthier
Techguy305 has quit [Ping timeout: 255 seconds]
finferl has quit [Remote host closed the connection]
Timgauthier is now known as timgauthier_away
artm has quit [Quit: Ex-Chat]
timgauthier_away is now known as Timgauthier
tatsuo is now known as umttumt
rippa has joined #ruby
redjack1964__ has joined #ruby
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
redjack1964 has quit [Ping timeout: 256 seconds]
j_mcnally has joined #ruby
jaequery has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby
nilurie has joined #ruby
terlar has quit [Ping timeout: 264 seconds]
redjack1964_ has quit [Ping timeout: 255 seconds]
adriancb has joined #ruby
oo_ has joined #ruby
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
kobain has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
apeiros_ has quit []
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
jenrzzz has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
narph has quit [Quit: Connection closed for inactivity]
lucasmartins has joined #ruby
redjack1964 has joined #ruby
aspires has joined #ruby
redjack1964__ has quit [Ping timeout: 255 seconds]
sdwrage has joined #ruby
jaequery has quit [Ping timeout: 256 seconds]
Pip has joined #ruby
arup_r has quit [Quit: Leaving.]
whoisjake has quit []
arup_r has joined #ruby
lucasmartins has quit [Quit: lucasmartins]
whoisjake has joined #ruby
jxf has quit [Ping timeout: 240 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
Takle has quit [Remote host closed the connection]
geggam has joined #ruby
dermothaughey has joined #ruby
joonty has quit [Quit: Leaving]
redjack1964_ has joined #ruby
blackmes1 has quit [Quit: WeeChat 1.0.1]
spyderman4g63 has quit [Remote host closed the connection]
Timgauthier is now known as timgauthier_away
redjack1964 has quit [Ping timeout: 256 seconds]
spyderman4g63 has joined #ruby
dkb20k has joined #ruby
dermothaughey has quit [Ping timeout: 244 seconds]
jaequery has joined #ruby
duggiefresh has quit [Remote host closed the connection]
gsd has joined #ruby
livingstn has joined #ruby
duggiefresh has joined #ruby
Lingo has joined #ruby
alex88 has quit []
Lingo__ has joined #ruby
Lingo has quit [Read error: Connection reset by peer]
mkaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby
benzrf|offline is now known as benzrf
spyderman4g63 has quit [Ping timeout: 264 seconds]
wald0 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bricker`work has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
jtdowney has joined #ruby
duggiefresh has quit [Ping timeout: 250 seconds]
pietr0 has joined #ruby
Lingo__ has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
troyready has joined #ruby
michaeldeol has joined #ruby
mkaesz has quit [Ping timeout: 258 seconds]
nkumari has joined #ruby
jtdowney has quit [Client Quit]
ptrrr has joined #ruby
michaeldeol has quit [Client Quit]
allcentury has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
<gregf_> how about :ruby -le 'BEGIN { puts "yay"} puts ARGV.join("-");' a.txt b.txt c.txt
<gregf_> oops, scrolls to the bottom :/
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
<gregf_> er, prolly: ruby -pe 'BEGIN { puts "yay"}; $_.chomp;' ../../test.txt ?
<gregf_> ah nevrmind :/
Hijiri has quit [Ping timeout: 240 seconds]
emanu has joined #ruby
ponga has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 258 seconds]
jxf has joined #ruby
michaeldeol has joined #ruby
emanu has quit [Client Quit]
runa has quit [Ping timeout: 240 seconds]
<jheg> is it possible to create a hash with keys 1..9 with the values all ‘ ‘ in a way where you don’t have to explicity type it out like {1 => ‘ ‘, 2 => ‘ ‘ …} ?
Jackneill has quit [Ping timeout: 244 seconds]
DaniG2k has quit [Quit: leaving]
<centrx> jheg, Hash.new { |h,k| h[k] = ' ' }
dkb20k has quit [Ping timeout: 264 seconds]
spyderman4g63 has joined #ruby
redjack1964 has joined #ruby
<centrx> jheg, Hash.new(' ') is similar, but probably uses the exact same string object for every value, not a new separate string
runa has joined #ruby
<jheg> thnx centrx I typed this into irb and it created an empty hash ...
<jheg> h = Hash.new{ |h,k| h[k] = ' '}
jimmyhoughjr has joined #ruby
<centrx> oh I see
redjack1964_ has quit [Ping timeout: 255 seconds]
<centrx> That will give you hash where the default value for any key is always ' ', but doesn't actually create the 1..9
<gregf_> or: Hash[[*1..9].map { |val| [val,val.to_s]}]
<centrx> jheg, (1..9).map { |n| [n, ' '] }
<centrx> .to_h
<jhass> jheg: what do you need that for?
fgo has joined #ruby
chihhsin has quit [Ping timeout: 250 seconds]
<jheg> So I’m creating 9 squares that need to be empty when a new game is initialized
<jheg> its the tic tac toe game or naughts and crosses
klmlfl_ has quit [Remote host closed the connection]
InformatiQ has joined #ruby
<jhass> why a hash?
<jheg> just thought there might be a quickler way then writing each one out
<jhass> if you go the "enumerate the fields route"
<jhass> why not a simple array and start at 0 ?
<jhass> Array.new(9) { ' ' }
<jheg> good idea
<jheg> thanks I’ll try that
allcentury has joined #ruby
vimer has joined #ruby
AdamMeghji has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jheg> jhass perfect thanks :)
Techguy305|2 has quit [Ping timeout: 240 seconds]
sailias has quit [Quit: Leaving.]
sailias1 has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
fgo has quit [Ping timeout: 245 seconds]
Bira has joined #ruby
vimer has quit [Client Quit]
shazaum_ has joined #ruby
vimer has joined #ruby
claw has joined #ruby
jheg has quit [Quit: jheg]
airdeluxe has joined #ruby
mikecmpbll has quit [Ping timeout: 255 seconds]
mwlang has joined #ruby
shazaum has quit [Ping timeout: 240 seconds]
adriancb has quit [Remote host closed the connection]
fantazo has quit [Quit: Verlassend]
chihhsin has joined #ruby
rshetty has quit [Remote host closed the connection]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benzrf is now known as benzrf|offline
Pip has left #ruby ["Leaving"]
toretore has quit [Quit: Leaving]
<mwlang> I just started a new contract where my client is running Ruby on Rails 1.2 on Ruby 1.8.6 in a Windows environment. I have everything set up and running in my local mac environment, but on their production server Time.today actually returns a value whereas my Time.today gives me an undefined method. I checked Ruby docs and Time.today isn’t a part of Ruby 1.8.6 or 1.8.7 for that matter. How do I figure out where Time#today is coming f
yfeldblum has joined #ruby
Bira has quit [Ping timeout: 245 seconds]
ixti has quit [Ping timeout: 265 seconds]
rshetty has joined #ruby
dc_ has joined #ruby
corehook_ has quit [Remote host closed the connection]
<mwlang> it seems like it might be some mysterious gem, but this is just plain vanilla irb that’s working in their production environment.
<jhass> you can try if Time.method(:today).source_location worked 10 years ago already
Jackneill has joined #ruby
<mwlang> jhass: I think that came along with 1.9
Takle has joined #ruby
Pupeno has quit [Ping timeout: 264 seconds]
<mwlang> I did try it, tho’ against hope and it says “undefined method"
<jhass> I'd double check if the irb runs the ruby you think it does
<jhass> RUBY_DESCRIPTION
roolo_ has quit [Quit: AAAAaaaaAAAAAAA]
jimbach has quit [Quit: Leaving...]
<mwlang> NameError: uninitialized constant RUBY_DESCRIPTION
<jhass> sigh
<mwlang> VERSION => ‘1.8.6'
<jhass> does the Config stuff exist back then?
<jhass> any irbrc installed?
<mwlang> There’s an INCLUDED_LIBRARIES or some such, but I can’t quite remember the name.
<jhass> $LOADED_FEATURES
<jhass> ?
<mwlang> bingo!
yfeldblum has quit [Ping timeout: 256 seconds]
kamil has quit [Ping timeout: 265 seconds]
<mwlang> there is an rbconfig.rb in there.
* jhass fetches his archaeology hat
rshetty has quit [Ping timeout: 264 seconds]
<centrx> - One of Matz's nose hairs from 2003, better bag it
* mwlang hands jhass dusting brush
elcheckito has quit [Ping timeout: 258 seconds]
<jhass> damn, I can't find my monocle
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
jaequery has joined #ruby
* mwlang hands jhass microscope
<jhass> thanks!
dANO has quit []
vimer has quit [Quit: leaving]
almostworking has joined #ruby
Guest17263 is now known as Igneous
chihhsin has quit [Ping timeout: 245 seconds]
almostworking has left #ruby [#ruby]
razieliyo has joined #ruby
razieliyo has quit [Client Quit]
razieliyo has joined #ruby
razieliyo has quit [Changing host]
razieliyo has joined #ruby
<mwlang> nothing in the loaded features jumps out at me other than date.rb and date/format.rb
econerd4ever has joined #ruby
<jhass> compared it to where it's not working?
oculus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has joined #ruby
deric_skibotn has joined #ruby
InformatiQ has quit [Ping timeout: 264 seconds]
Hanmac has joined #ruby
mistermocha has joined #ruby
toretore has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
nkumari has quit [Remote host closed the connection]
<mwlang> meh, those are present where its not working, too.
<jhass> md5sum them on both sides
tvw has quit []
Xeago has joined #ruby
<mwlang> how do I md5sum ‘em?
<mwlang> btw, http://osdir.com/ml/lang-ruby-gems-devel/2009-04/msg00103.html (just stumbled upon this — might be a clue)
<jhass> md5sum path/to/file.rb
duggiefresh has joined #ruby
shemerey has quit [Quit: Textual IRC Client: www.textualapp.com]
claw has quit [Ping timeout: 245 seconds]
<jhass> btw. same rubygems version? I recall it ships a dummy Date class, maybe it monkeypatches Time too?
jimbach has joined #ruby
einarj has quit [Remote host closed the connection]
<mwlang> that’s what I’m suspecting at this point.
dangerousdave has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
iamjarvo has joined #ruby
<mwlang> holy smokes…their prod server is on 0.9.2 rubygems…mine’s on 1.3.7
gsd has quit [Quit: Textual IRC Client: www.textualapp.com]
noop has joined #ruby
* mwlang wonders when the last time they ever installed a gem.
<jhass> fancy new stuff!
mistermocha has quit [Remote host closed the connection]
manzo has quit [Remote host closed the connection]
Xeago__ has quit [Ping timeout: 258 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mwlang> ha, this has gotta be it.
jlast has quit [Remote host closed the connection]
elcheckito has joined #ruby
despai has joined #ruby
jlast has joined #ruby
rkalfane has joined #ruby
jlebrech has quit []
tier has joined #ruby
jlast_ has joined #ruby
jlast has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
tier_ has quit [Ping timeout: 244 seconds]
aspires has quit []
aspires has joined #ruby
Lingo____ has joined #ruby
klmlfl has joined #ruby
Takle has quit [Remote host closed the connection]
Pupeno has joined #ruby
clauswitt has joined #ruby
ixti has joined #ruby
umttumt has quit [Remote host closed the connection]
dkphenom has joined #ruby
Hijiri has joined #ruby
adriancb has joined #ruby
tus has quit [Ping timeout: 265 seconds]
gsd has joined #ruby
dkphenom has quit [Client Quit]
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spacemud has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby
banister has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlSquirrel has quit [Quit: This computer has gone to sleep]
benzrf|offline is now known as benzrf
josephnd1nton has joined #ruby
anaeem1 has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
mistermocha has joined #ruby
redjack1964_ has joined #ruby
Lingo____ has quit [Quit: Be back later ...]
fabrice31 has joined #ruby
Lingo____ has joined #ruby
ta has joined #ruby
agent_white has quit [Quit: bbl]
jlast_ has quit [Remote host closed the connection]
jlast has joined #ruby
redjack1964 has quit [Ping timeout: 256 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
josephnd1nton has quit [Ping timeout: 264 seconds]
chihhsin has joined #ruby
spacemud has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lingo____ has quit [Remote host closed the connection]
AlSquire has joined #ruby
Lingo____ has joined #ruby
jenrzzz has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
Soda has quit [Remote host closed the connection]
michaeldeol has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
mooru has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
einarj has joined #ruby
testcore has quit [Remote host closed the connection]
m8 has joined #ruby
jack_rabbit has joined #ruby
Lingo____ has quit [Ping timeout: 255 seconds]
testcore has joined #ruby
Mars` has joined #ruby
Akuma has quit [Quit: So long sukkas!]
Bira has joined #ruby
redjack1964 has joined #ruby
spider-mario has joined #ruby
qba73 has quit [Remote host closed the connection]
fgo has joined #ruby
jherbst has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has joined #ruby
redjack1964_ has quit [Ping timeout: 258 seconds]
Xeago has quit [Remote host closed the connection]
banister has quit [Client Quit]
AlSquire has quit [Quit: This computer has gone to sleep]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iml has quit [Quit: quit]
fgo has quit [Ping timeout: 255 seconds]
rkalfane has joined #ruby
hiyosi has quit [Ping timeout: 255 seconds]
chipotle has quit [Quit: cya]
anaeem1 has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rkalfane has quit [Client Quit]
mooru has joined #ruby
checkit has joined #ruby
marr has quit [Ping timeout: 272 seconds]
<checkit> hey guys... I'm trying to install Jekyll but I'm getting a strange error when executing
<checkit> hey guys... I'm trying to install Jekyll but I'm getting a strange error when executing "gem install jekyll" https://gist.github.com/mrjonleek/d0714c3c2452f6a73670
tus has joined #ruby
MrDoctor has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oculus has joined #ruby
testcore has quit [Quit: [BX] Mr. Peanut uses BitchX. Shouldn't you?]
skiabox has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
Lingos has joined #ruby
anaeem1 has joined #ruby
x1337807x has joined #ruby
ned_[Away] has joined #ruby
JimmyNeutron has quit [Read error: Connection reset by peer]
renderful has quit [Remote host closed the connection]
<ned_[Away]> yo
njames has joined #ruby
ned_[Away] is now known as ned__
<ned__> How to solve EventMachine::ConnectionError ?
zacts- has joined #ruby
chihhsin has quit [Ping timeout: 240 seconds]
Zolty__ has joined #ruby
claw has joined #ruby
kasperti_ has joined #ruby
whoisjake has quit []
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
hydra2 has quit [Quit: WeeChat 1.0.1]
DaveDH2 has joined #ruby
chipotle has joined #ruby
zzzbra has quit [Remote host closed the connection]
elcheckito has quit [Quit: WeeChat 1.0.1]
clauswitt has joined #ruby
jerius has quit []
zzzbra has joined #ruby
Avahey has joined #ruby
rkalfane has joined #ruby
bigkevmcd has quit [Ping timeout: 272 seconds]
chihhsin has joined #ruby
weaksauce has joined #ruby
postmodern has joined #ruby
rixius has joined #ruby
dkphenom has joined #ruby
rixius is now known as Guest85949
Guest85949 has quit [Remote host closed the connection]
zacts- has quit [Ping timeout: 246 seconds]
<rpag> ned__, what you mean by 'solve'? it sounds like an exception, you could rescue it and possibly retry?
yetanotherdave has joined #ruby
<ned__> :/
matcouto has joined #ruby
<ned__> something to do with resolve.conf
maestrojed has quit [Quit: Computer has gone to sleep.]
oculus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GeorgesLeYeti has quit [Quit: Leaving]
rismoney1 has quit [Ping timeout: 240 seconds]
dangerousdave has joined #ruby
claymore has joined #ruby
baweaver has joined #ruby
nvdpl has joined #ruby
nvdpl has quit [Max SendQ exceeded]
aspires has quit []
nkumari has joined #ruby
nvdpl has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
papile has left #ruby [#ruby]
aspires has joined #ruby
AlexRussia has joined #ruby
oculus has joined #ruby
tommyvyo has joined #ruby
chrisja has joined #ruby
jerius has joined #ruby
wald0 has quit [Ping timeout: 255 seconds]
larissa has joined #ruby
renderful has joined #ruby
mistermocha has quit [Remote host closed the connection]
tier has quit [Remote host closed the connection]
InformatiQ has joined #ruby
einarj has quit [Remote host closed the connection]
tier has joined #ruby
j_mcnally has joined #ruby
x1337807_ has joined #ruby
x1337807_ has quit [Max SendQ exceeded]
x1337807_ has joined #ruby
dkb20k has joined #ruby
x1337807x has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
anaeem1 has quit [Remote host closed the connection]
rshetty has joined #ruby
nateberkopec has quit [Quit: Leaving...]
dkb20k has quit [Ping timeout: 240 seconds]
Techguy305 has joined #ruby
kirun has joined #ruby
fabionl has joined #ruby
whoisjake has joined #ruby
<fabionl> 591342
grn_ has joined #ruby
fabionl has left #ruby [#ruby]
joris1 has quit [Quit: WeeChat 1.0.1]
larissa has quit [Quit: Leaving]
arrubin has joined #ruby
msmith_ has joined #ruby
rdark has quit [Quit: leaving]
rshetty has quit [Ping timeout: 250 seconds]
fabionl has joined #ruby
fabionl has left #ruby [#ruby]
niKeITA has joined #ruby
fschuindt has joined #ruby
hiyosi has joined #ruby
<shevy> 674747
<fschuindt> Guys, I am confused with the Date, how can I format a string like "2014/05/12 15:25:32" into a Date Object?
jdj_dk has joined #ruby
<shevy> you need a Date object, of class Date ?
<shevy> otherwise, this would work: DateTime.parse "2014/05/12 15:25:32"
<fschuindt> shevy: I will store it in the database, as datetime
<shevy> Date.parse("2014/05/12 15:25:32")
<shevy> guess this works too
<fschuindt> cool
bigkevmcd has joined #ruby
<fschuindt> thank you
<shevy> \o/
postmodern has quit [Quit: Leaving]
Lingo____ has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soulcake has quit [Quit: Quack.]
postmodern has joined #ruby
<rpag> fschuindt, for custom parsing that Date.parse() doesn't handle there's strptime.
soulcake has joined #ruby
oculus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<rpag> >> Date.parse "2014/05/12 15:25:32"
<eval-in__> rpag => undefined method `parse' for Date:Class (NoMethodError) ... (https://eval.in/223161)
<rpag> >> require 'date'; Date.parse "2014/05/12 15:25:32"
<eval-in__> rpag => #<Date: 2014-05-12 ((2456790j,0s,0n),+0s,2299161j)> (https://eval.in/223162)
mattmcclure has joined #ruby
maestrojed has joined #ruby
Lingo____ has quit [Ping timeout: 245 seconds]
mistermocha has joined #ruby
redjack1964_ has joined #ruby
reinaldob has quit []
larissa has joined #ruby
Techguy305 has quit [Ping timeout: 264 seconds]
wgosling has joined #ruby
nkumari has quit [Remote host closed the connection]
x1337807_ has quit [Ping timeout: 272 seconds]
fgo has joined #ruby
redjack1964 has quit [Ping timeout: 258 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dc_ has quit [Remote host closed the connection]
yetanotherdave has quit [Ping timeout: 244 seconds]
dseitz has joined #ruby
vectra has joined #ruby
wgosling has quit [Client Quit]
mwlang has quit [Quit: mwlang]
mistermocha has quit [Ping timeout: 255 seconds]
divi has joined #ruby
noop has quit [Ping timeout: 255 seconds]
reinaldob has joined #ruby
Lingo____ has joined #ruby
Gatis has joined #ruby
baweaver has quit [Remote host closed the connection]
tier has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 272 seconds]
mooru has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nkumari has joined #ruby
gregoriokusowski has joined #ruby
divi has quit [Ping timeout: 240 seconds]
tgandrews has joined #ruby
divi has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
oculus has joined #ruby
yetanotherdave has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
wallerdev has quit [Quit: wallerdev]
banister has joined #ruby
lmickh has joined #ruby
wallerdev has joined #ruby
marr has joined #ruby
baweaver has joined #ruby
tier has joined #ruby
grn_ has quit []
iamjarvo has quit [Client Quit]
Mateon2 has joined #ruby
Mateon1 has quit [Disconnected by services]
Mateon2 is now known as Mateon1
rshetty_ has joined #ruby
dc_ has joined #ruby
bahar has quit [Ping timeout: 258 seconds]
aspires has quit []
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mooru has joined #ruby
yetanotherdave has quit [Ping timeout: 240 seconds]
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
yetanotherdave has joined #ruby
oculus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jerius has quit []
Pupeno has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
Lingos has quit [Quit: Be back later ...]
vectra has quit [Excess Flood]
rshetty_ has quit [Ping timeout: 250 seconds]
arup_r has quit [Ping timeout: 265 seconds]
lolmaus has joined #ruby
aspires has joined #ruby
bahar has joined #ruby
atomical has joined #ruby
fsapo has quit [Remote host closed the connection]
runa has left #ruby [#ruby]
rshetty has quit [Ping timeout: 250 seconds]
i0n has quit [Quit: snooze]
yfeldblum has joined #ruby
kamil has joined #ruby
mrgrieves has joined #ruby
Bira has quit [Remote host closed the connection]
x1337807x has joined #ruby
baweaver has quit [Remote host closed the connection]
grn_ has joined #ruby
silkfox has quit [Ping timeout: 264 seconds]
<grn_> What's the easiest way to start working with Uncle Bob's Clean Architecture?
fschuindt has quit [Quit: WeeChat 0.4.3]
j_mcnally has quit [Ping timeout: 250 seconds]
lidaaa has joined #ruby
Mars` has quit [Ping timeout: 255 seconds]
triple_b has joined #ruby
adriancb has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
Lingos has joined #ruby
FooMunki has quit [Quit: FooMunki]
rshetty has joined #ruby
niKeITA has quit [Quit: ZZZzzz…]
chipotle has quit [Ping timeout: 264 seconds]
rshetty has quit [Read error: Connection reset by peer]
josephnd1nton has joined #ruby
sambao21 has joined #ruby
aspires has quit []
nkumari has quit [Remote host closed the connection]
Gatis has quit [Quit: Leaving]
rshetty has joined #ruby
chipotle has joined #ruby
aspires has joined #ruby
jerius has joined #ruby
niKeITA has joined #ruby
Bira has joined #ruby
silkfox has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josephnd1nton has quit [Ping timeout: 256 seconds]
rshetty has quit [Ping timeout: 240 seconds]
Pupeno has quit [Quit: Leaving...]
despai has quit [Quit: This computer has gone to sleep]
dermothaughey has joined #ruby
chipotle has quit [Ping timeout: 265 seconds]
despai has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
itspots has quit [Ping timeout: 258 seconds]
benzrf is now known as benzrf|offline
rodfersou has quit [Quit: leaving]
fantazo has joined #ruby
dermothaughey has quit [Ping timeout: 245 seconds]
anaeem1 has joined #ruby
grn_ has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.0.1]
redjack1964 has joined #ruby
grn_ has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
sk87 has joined #ruby
x1337807_ has joined #ruby
ldnunes has quit [Quit: Leaving]
rshetty has joined #ruby
Jesterman81 has joined #ruby
x1337807x has quit [Ping timeout: 240 seconds]
graft has quit [Ping timeout: 240 seconds]
redjack1964_ has quit [Ping timeout: 265 seconds]
rshetty has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
jdj_dk has quit [Quit: Leaving...]
<rpag> is that a book?
fabrice31 has joined #ruby
jenrzzz has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
<ned__> block in run': undefined method `[]' for nil:NilClass (NoMethodError)
workmad3 has joined #ruby
<ned__> hell :/
despai has quit [Quit: This computer has gone to sleep]
grn_ has quit [Ping timeout: 265 seconds]
sk87 has quit [Client Quit]
Bira has quit [Remote host closed the connection]
aspires has quit []
<lupine> oh ruby1.8, you so silly
rshetty has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
* lupine has moved another rails application to ruby1.9, gotten 4-20x speedups
<lupine> only 3 years overdue, wot
parabolize has joined #ruby
aspires has joined #ruby
wallerdev has quit [Quit: wallerdev]
skiabox has quit [Quit: Textual IRC Client: www.textualapp.com]
<ned__> ruby 1.9.3p551
mr_foobar_baz has quit [Quit: WeeChat 1.0.1]
fabrice31 has quit [Ping timeout: 240 seconds]
giuseppesolinas has joined #ruby
x77686d has joined #ruby
aspires has quit [Client Quit]
<rpag> lupine, why not ruby2?
giuseppesolinas has quit [Max SendQ exceeded]
adriancb has joined #ruby
giuseppesolinas has joined #ruby
ablemike has joined #ruby
iamjarvo has joined #ruby
<Beoran> rpag, some people can't choose which ruby version they use, the yhave to use the one that comes with a certain Linux distribution, etc.
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yfeldblu_ has joined #ruby
Takle has joined #ruby
Mars` has joined #ruby
grn_ has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
redjack1964 has quit [Ping timeout: 265 seconds]
russt has joined #ruby
<Beoran> sysops don't like following the bleeding edge, a delay of 1 year or more is sort of normal in some places
maestrojed has quit [Quit: Computer has gone to sleep.]
freerobby has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 258 seconds]
ablemike is now known as michael_bishop
fgo has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phutchins has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
michael_bishop has quit []
michael_bishop has joined #ruby
BadQuanta has joined #ruby
aspires has quit [Client Quit]
funburn has joined #ruby
barriniphone has joined #ruby
rkalfane has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
gregoriokusowski has quit [Quit: gregoriokusowski]
jerematic has joined #ruby
jerius has quit []
lampd1 has joined #ruby
rshetty has joined #ruby
dc___ has joined #ruby
dc___ has quit [Client Quit]
rshetty has quit [Read error: Connection reset by peer]
jerius has joined #ruby
dc___ has joined #ruby
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rshetty has joined #ruby
agjacome_ has joined #ruby
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
parabolize has joined #ruby
duncannz has joined #ruby
agjacome has quit [Ping timeout: 240 seconds]
synergyz has quit [Ping timeout: 264 seconds]
rshetty has quit [Read error: Connection reset by peer]
rshetty_ has joined #ruby
barriniphone has left #ruby [#ruby]
dc_ has quit [Ping timeout: 272 seconds]
Duckily has joined #ruby
oculus has joined #ruby
<rpag> Beoran, yeah, tbh ruby is one of the things i'd compile from source
jdj_dk has joined #ruby
oculus has quit [Max SendQ exceeded]
oculus has joined #ruby
<lupine> if it's not in debian stable, I don't use it on servers ^^
tercenya has joined #ruby
delianides has joined #ruby
whoisjake has quit []
jmdade has quit [Quit: Textual IRC Client: www.textualapp.com]
mooru has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jimmyhoughjr has quit [Read error: Connection reset by peer]
synergyz has joined #ruby
gregoriokusowski has joined #ruby
rshetty_ has quit [Ping timeout: 264 seconds]
mooru has joined #ruby
ptrrr has quit [Quit: ptrrr]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
centrx has joined #ruby
henesy has joined #ruby
zzzbra has quit [Read error: Connection reset by peer]
dcunit3d has joined #ruby
jobewan has quit [Quit: Leaving]
grn_ has quit []
despai has joined #ruby
zzzbra has joined #ruby
otherj has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
Jake232 has joined #ruby
<ctrlrsf> live a little
dc___ has quit [Remote host closed the connection]
InformatiQ has quit [Ping timeout: 245 seconds]
KC9YDN has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
totesjakey has joined #ruby
poweratom_ has joined #ruby
aspires has joined #ruby
<totesjakey> is there some sort of problem with RedCloth
otherj has quit [Client Quit]
x1337807_ has quit [Quit: Textual IRC Client: www.textualapp.com]
rshetty has joined #ruby
kamil has quit [Quit: Linkinus - http://linkinus.com]
<rpag> totesjakey, not sure if it is still maintained or not
dcunit3d has quit [Ping timeout: 245 seconds]
spider-mario has quit [Remote host closed the connection]
<totesjakey> well then what the hell is github pages doing requiring it
ramfjord has joined #ruby
zacts has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
zacts has quit [Changing host]
zacts has joined #ruby
rshetty has quit [Read error: No route to host]
rshetty has joined #ruby
dkb20k has joined #ruby
decoponio has quit [Quit: Leaving...]
benzrf|offline is now known as benzrf
sambao21 has quit [Quit: Computer has gone to sleep.]
auxbuss has joined #ruby
nkumari has joined #ruby
baweaver_ has joined #ruby
deavid has quit [Read error: Connection reset by peer]
deavid has joined #ruby
klap has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
matti has quit [Ping timeout: 264 seconds]
dkb20k has quit [Ping timeout: 240 seconds]
dandrade_ has quit [Ping timeout: 265 seconds]
sambao21 has joined #ruby
dandrade has joined #ruby
oo_ has quit [Remote host closed the connection]
auxbuss has quit [Remote host closed the connection]
gregoriokusowski has quit [Quit: gregoriokusowski]
auxbuss has joined #ruby
iamjarvo has joined #ruby
klap has joined #ruby
oo_ has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
matti has joined #ruby
hmsimha_ has quit [Ping timeout: 255 seconds]
ThaDick has quit [Quit: ThaDick]
jenrzzz has quit [Ping timeout: 264 seconds]
tgandrews has quit [Quit: tgandrews]
NoNMaDDeN has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
auxbuss has quit [Client Quit]
jimms has joined #ruby
x77686d has quit [Read error: Connection reset by peer]
x77686d has joined #ruby
NoNMaDDeN has joined #ruby
ferr has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
iamjarvo has quit [Ping timeout: 256 seconds]
kireevco has quit [Ping timeout: 255 seconds]
JohnBat26 has joined #ruby
niKeITA has quit [Quit: Textual]
jgrevich has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
maletor has joined #ruby
matti has quit [Quit: Reconnecting]
matti has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
jherbst has joined #ruby
deric_skibotn has quit [Ping timeout: 256 seconds]
rshetty has joined #ruby
NoNMaDDeN has quit [Ping timeout: 245 seconds]
vectra has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
siso has joined #ruby
rshetty has joined #ruby
jdj_dk has quit [Remote host closed the connection]
jdj_dk has joined #ruby
agjacome_ has quit [Quit: leaving]
DLSteve has joined #ruby
kireevco has quit [Client Quit]
agjacome has joined #ruby
airdeluxe has quit [Ping timeout: 272 seconds]
patrick99e99 has joined #ruby
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claymore has quit [Quit: Leaving]
robbyoconnor has quit [Quit: Konversation terminated!]
rshetty has quit [Read error: No route to host]
robbyoconnor has joined #ruby
rshetty has joined #ruby
jlast has quit [Remote host closed the connection]
siso has quit [Read error: Connection reset by peer]
jlast has joined #ruby
gregoriokusowski has joined #ruby
gregoriokusowski has quit [Client Quit]
jdj_dk has quit [Ping timeout: 264 seconds]
jdj_dk_ has joined #ruby
spyderma_ has joined #ruby
jdj_dk_ has quit [Remote host closed the connection]
henesy has quit [Ping timeout: 256 seconds]
spyderman4g63 has quit [Ping timeout: 244 seconds]
Bira has joined #ruby
siso has joined #ruby
speaking1ode has joined #ruby
rshetty has quit [Ping timeout: 256 seconds]
luriv has joined #ruby
speakingcode has quit [Ping timeout: 244 seconds]
jlast has quit [Ping timeout: 265 seconds]
rkalfane has joined #ruby
ht__th has quit [Remote host closed the connection]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
funburn has quit [Quit: funburn]
aspires has quit []
ned__ is now known as ned_[Away]
Xeago has joined #ruby
geggam has quit [Ping timeout: 240 seconds]
Bira has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
nb_bez___ has joined #ruby
JBreit has joined #ruby
jfoy has joined #ruby
testcore has joined #ruby
Xeago_ has joined #ruby
vectra has left #ruby ["Konversation terminated!"]
mistermocha has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has joined #ruby
<shevy> totesjakey wasn't that created by _why?
jfoy has quit [Client Quit]
<totesjakey> I dont know, but it worked on mac so im doing it on the laptop
<rpag> shevy, think so
ferr has joined #ruby
jherbst has quit [Ping timeout: 240 seconds]
rshetty has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
rshetty has quit [Read error: Connection reset by peer]
cajone has quit [Remote host closed the connection]
<shevy> rpag you know a lot
rshetty has joined #ruby
<shevy> but I don't remember you from 2013 or beyond
michaeldeol has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
tier has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 255 seconds]
wjimenez5271 has joined #ruby
MattB2 has joined #ruby
pasties has quit [Ping timeout: 250 seconds]
ReRixo has joined #ruby
Takle has quit [Remote host closed the connection]
oo_ has joined #ruby
rshetty has quit [Read error: No route to host]
rshetty has joined #ruby
duncannz has quit [Ping timeout: 265 seconds]
maestrojed has joined #ruby
duncannz has joined #ruby
DaveDH2 has quit [Ping timeout: 255 seconds]
fgo has joined #ruby
Lingos has quit [Read error: Connection reset by peer]
lmickh has quit [Remote host closed the connection]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
baweaver_ has quit [Remote host closed the connection]
robbyoconnor has quit [Quit: Konversation terminated!]
rshetty has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby
wex13r has joined #ruby
duggiefresh has quit [Read error: Connection reset by peer]
duggiefr_ has joined #ruby
gsd has quit [Read error: Connection reset by peer]
Jackneill has quit [Read error: Connection reset by peer]
gsd has joined #ruby
duggiefr_ has quit [Remote host closed the connection]
hesco has joined #ruby
<hesco> is there some convenient way to turn a json data structure into a ruby hash?
jimms has quit [Remote host closed the connection]
aspires has joined #ruby
baweaver_ has joined #ruby
<benzrf> hesco: require 'json'
cajone has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
yourabi has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
<ericwood> >> require 'json'
<eval-in__> ericwood => true (https://eval.in/223258)
workmad3 has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby
<ericwood> >> require 'json'; JSON.parse("[{foo: 'bar'}]")
<eval-in__> ericwood => 399: unexpected token at '{foo: 'bar'}]' (JSON::ParserError) ... (https://eval.in/223260)
<shevy> hesco, Hash[*a]
<ericwood> lol
econerd4ever has quit [Remote host closed the connection]
econerd4ever has joined #ruby
maletor has joined #ruby
baweaver_ has quit [Ping timeout: 258 seconds]
<hesco> So, benzrf, ericwood, shevy: Is this on the right track, then? require 'json'; container_meta_data = JSON.parse( Facter::Core::Execution.exec("/usr/bin/docker inspect #{container}") )
benlieb has joined #ruby
rshetty has joined #ruby
<shevy> dunno what Facter does
<ericwood> sure, as long as it's not taking in arbitrary user input :D
<ericwood> but that looks like it's fine if it's returning a JSON string
<ericwood> idk just try it and see if it works?
<shevy> hesco break it up into a variable, then pass that variable to JSON.parse()
rshetty has quit [Read error: Connection reset by peer]
<shevy> also output that variable and show at least the beginning to verify it can work :P
<hesco> ok, thanks, will try that.
rshetty has joined #ruby
josephnd1nton has joined #ruby
econerd4ever has quit [Ping timeout: 255 seconds]
whoisjake has joined #ruby
elaptics is now known as elaptics`away
jheg has joined #ruby
cmckee has quit [Quit: cmckee]
FDj_ is now known as FDj
patrick99e99 has quit [Ping timeout: 240 seconds]
MattB2 has quit []
rshetty_ has joined #ruby
blackmesa has joined #ruby
rshetty has quit [Ping timeout: 244 seconds]
beilabs has joined #ruby
nvdpl has quit [Quit: ZZZzzz…]
paulfm_ has quit []
sambao21 has quit [Quit: Computer has gone to sleep.]
josephnd1nton has quit [Ping timeout: 272 seconds]
mikeg has joined #ruby
rshetty_ has quit [Ping timeout: 272 seconds]
whoisjake has quit []
tier has joined #ruby
sambao21 has joined #ruby
baweaver has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
jlast has joined #ruby
kireevco has joined #ruby
Takle has joined #ruby
cajone has quit [Remote host closed the connection]
wex13r has quit [Quit: end]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
[gmi] has joined #ruby
LudicrousMango has joined #ruby
yfeldblum has joined #ruby
Jesterman81 has left #ruby [#ruby]
beilabs has quit [Quit: Be back later ...]
maestrojed has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
gregf has joined #ruby
<ReRixo> how do i ruby
maestrojed has joined #ruby
<Igneous> yes
<ericwood> ^^^^^^^
jheg has quit [Quit: jheg]
sailias has quit [Quit: Leaving.]
delianides has quit [Remote host closed the connection]
<ReRixo> I'm fine with html/css but only languages I really know is c
<Igneous> that's not usually a trio you'd expect
<ericwood> go ahead and pick up the pickaxe book
<ericwood> there's a ton of good ruby tutorials out there
<ericwood> codeacademy has one iirc
tier has quit [Remote host closed the connection]
<ReRixo> should I just go straight into ruby
<ReRixo> or learn something else first
<ericwood> Igneous: as much as I love _why that book is a pretty awful way to learn ruby :(
hiyosi has quit [Ping timeout: 265 seconds]
<ericwood> and I say this as someone who was on the verge of getting a tattoo of one of the cartoon foxes :\
<ericwood> ReRixo: jump straight into ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Igneous> yeah, ruby is pretty easy to pick up
<ericwood> tl;dr start learning it and building things and then see where it leads you
<ericwood> and come ask us for help when you need it
ferr has quit [Quit: Lost terminal]
<ericwood> or find a local ruby user group
ta has quit [Quit: Leaving...]
[gmi] has quit [Quit: Leaving]
geggam has joined #ruby
Bira has joined #ruby
airdeluxe has joined #ruby
rshetty_ has joined #ruby
<ReRixo> okay, thanks :)
<Igneous> ericwood: I learned from _why's guide :(
<Igneous> it's short, and definitely more of a primer than a comprehensive reference guide
yourabi has quit [Quit: Textual IRC Client: www.textualapp.com]
<Igneous> but hey, that's all you need usually
<ericwood> it covers a lot of stuff but it's also filled with some wonderful insanity
yourabi has joined #ruby
<ericwood> but I hesitate to point people to it, especially if they come from another language
<ericwood> it's more of a "here is programming" kind of guide, not a "here's ruby" guide if that makes any sense?
ta has joined #ruby
<shevy> Igneous admit it
<shevy> Igneous you looked that guide because the cartoons were so cute
<shevy> erm
<shevy> *liked, not looked
<airdeluxe> sounds interesting, what's the link?
<shevy> dunno if it is still existing
<shevy> _why left
<benzrf> :[
<airdeluxe> bummer
kish has quit [Ping timeout: 240 seconds]
<benzrf> w(p)gtr is fuckin fantastic
<shevy> yeah, no new cartoons as a result
<benzrf> sadly it is not that great a teaching material
<ericwood> keep in mind it's really out of date
<benzrf> still it makes wonderful entertainment
<shevy> benzrf I wanna see you make a haskell cartoon
<benzrf> i aint no cartoonist
<ericwood> it also has a soundtrack which I'm quite fond of
<airdeluxe> oh i've seen this before!
<shevy> haha
<ericwood> shevy: Learn You A Haskell already exists
yourabi has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
<ericwood> iirc it was deeply inspired by the poignant guide
tier has joined #ruby
yourabi has joined #ruby
<shevy> ah well
<shevy> it is not as sophisticated as the clever ruby foxes
<shevy> that hatchling
<shevy> it's so --- mediocre
yourabi has quit [Remote host closed the connection]
<shevy> right benzrf?
<ericwood> it was a good guide though
<ericwood> helped me through haskell
rshetty_ has quit [Ping timeout: 272 seconds]
davidhq has joined #ruby
oo_ has joined #ruby
fabrice31 has joined #ruby
davidhq has quit [Client Quit]
<shevy> do you still code in haskell?
<benzrf> lyah is pedagogically unsound!!!
<benzrf> cis194 ftw
jimbach has quit [Remote host closed the connection]
jenrzzz has joined #ruby
Lingo____ has quit [Quit: Be back later ...]
<benzrf> shevy: lyah is mediocre as a surrealist novel compared to the poignant guide, and it is mediocre as a teaching tool compared to cis194
<benzrf> however it is better than the poignant guide as a teaching tool and better than cis194 as a surrealist novel
codecop has quit [Remote host closed the connection]
<ericwood> I only used it for school
<ericwood> not really a haskell type of guy but I do enjoy FP
Lingo____ has joined #ruby
<eam> why does everyone need a guide now
<shevy> we are a lost generation eam
<eam> I have never in my life learned a language froma guide
<ericwood> because we want to learn things and guides are helpful
Deviser has joined #ruby
<shevy> where is the perl guide eam
<eam> there isn't one, it's an intuitive language
anaeem1 has quit [Remote host closed the connection]
Deviser has left #ruby [#ruby]
tier has quit [Remote host closed the connection]
<ericwood> are we really complaining that there's guides for things?
<ericwood> is this a thing that's happening
doev has quit [Remote host closed the connection]
<eam> are you complaining that I'm complaining??
<bricker`work> ericwood: Ruby is too easy and well-documented. I need to practice my critical thinking!
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinaldob has joined #ruby
<shevy> eh
<ericwood> sometimes it's nice, especially if you don't have a background in certain areas, to have a friendly guide
<shevy> eam thinks otherwise!
Lingo____ has quit [Remote host closed the connection]
<shevy> he suggested to use perldoc
<eam> ruby is the worst documented language that I use seriously
sargas has joined #ruby
jaequery has joined #ruby
Lingo____ has joined #ruby
<shevy> :)
fabrice31 has quit [Ping timeout: 272 seconds]
<eam> lots of guides though!
allcentury has quit [Ping timeout: 250 seconds]
Lingo____ has quit [Client Quit]
<eam> I would rather have thorough technical documentation in lieu of a guide
<rpag> and books
sargas has quit [Client Quit]
<ericwood> depends on what it is but if I'm new at it a guide is appreciated
<ericwood> but hey not everyone learns the same way
sargas has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<eam> if you're new to programming in general a guide is neat
Lingo____ has joined #ruby
benzrf is now known as benzrf|offline
hornairs_ has joined #ruby
fantazo has quit [Ping timeout: 256 seconds]
<ericwood> say I was coming into ruby without any idea of FP or some of the concepts (which ruby uses extensively)
<ericwood> a guide would be helpful to me
renderfu_ has joined #ruby
<ericwood> "hey here's blocks they're closures of sorts lemme show ya!"
<ericwood> how is that a bad thing
<rpag> FP = functional programming?
<ericwood> yeah
<eam> ericwood: I don't think anyone's saying it's a bad thing
<rpag> i dont think of ruby as a functional language
<ericwood> my mistake, then, I got the impression it was being complained about
renderf__ has joined #ruby
<shevy> hehe
DLSteve has quit [Read error: Connection reset by peer]
clauswitt has joined #ruby
<eam> ericwood: only in that a guide might be necessary
<shevy> ruby is like everything and nothing all at the same time
reinaldob has quit [Ping timeout: 272 seconds]
<shevy> it is the ninja language among the programming languages
<airdeluxe> so that makes it something?
rshetty has joined #ruby
<ericwood> rpag: it has a lot of the hallmarks of one
<shevy> airdeluxe well you can get away using things you like - or not using other things
<eam> ruby is like the perl6 that should have been
Soda has joined #ruby
<airdeluxe> so i'm learning sh
<shevy> eam fear not LARRY WALL ANNOUNCED PERL6 FOR 2015!!!
Bira has quit [Remote host closed the connection]
<rpag> perl6 is released ain't it?
<eam> shevy: I learned ruby does not support the -P flag, very sad
<rpag> just not taking off
fgo has joined #ruby
speaking1ode is now known as speakingcode
renderful has quit [Ping timeout: 240 seconds]
<shevy> one month ago
<shevy> <eam> well that's super dumb
<shevy> <eam> I'm disappointed in perl
hornairs has quit [Ping timeout: 255 seconds]
<shevy> eam is the man in the middle - if perl is here | ---- and ruby is there ---- | eam would like to be ---||--- here
einarj has joined #ruby
DLSteve has joined #ruby
Lingo____ has quit [Ping timeout: 264 seconds]
<shevy> IRC drawing is not so easy too
renderfu_ has quit [Ping timeout: 245 seconds]
<eam> shevy: ruby doesn't support perl's format() does it
rshetty_ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
<eam> you could use that for drawing, if it did
<shevy> not sure what format() does
sambao21 has joined #ruby
rshetty has quit [Ping timeout: 245 seconds]
sambao21 has quit [Client Quit]
fgo has quit [Ping timeout: 240 seconds]
boombadaroomba has joined #ruby
<eam> sadly kernel.format is some boring sprintf function
<lampd1> note to self: ActiveResource::Collection objects aren't JSON :P
ClarusCogitatio has quit [Ping timeout: 240 seconds]
econerd4ever has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
rshetty_ has quit [Ping timeout: 255 seconds]
lektrik has quit [Quit: Leaving]
sailias has joined #ruby
Bira has joined #ruby
kasperti_ has quit []
spyderma_ has quit [Remote host closed the connection]
mooru has quit [Quit: Textual IRC Client: www.textualapp.com]
spyderman4g63 has joined #ruby
Bira has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
ClarusCogitatio has joined #ruby
narcan has joined #ruby
Bira has joined #ruby
<ericwood> they definitely are not
<lampd1> they look a lot like JSON in pry :P
doodleha_ has joined #ruby
doodlehaus has quit [Read error: Connection reset by peer]
banister is now known as banisterfiend
<Igneous> ruby inspect notation is pretty close to json
doodleha_ has quit [Remote host closed the connection]
<Igneous> that's probably what you're mistaking for json
<shevy> lampd1 doesn't JSON look like an Array?
spyderman4g63 has quit [Ping timeout: 240 seconds]
<lampd1> not nested json
<lampd1> feel so stupid for not being able to figure out why i couldn't parse this last night
<lampd1> going to blame it on being sick :P
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
olivier_bK has quit [Ping timeout: 258 seconds]
max96at is now known as max96at|off
Photism has joined #ruby
testcore has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
zorak8 has joined #ruby
jheg has joined #ruby
rshetty has joined #ruby
sailias has quit [Quit: Leaving.]
dkb20k has joined #ruby
<Blizzy> anyone know any gems for automating web tasks, like filling out a Google Form?
phutchins has joined #ruby
rshetty has quit [Read error: No route to host]
<rpag> JSON just looks better than XML -_-
<centrx> Blizzy, Mechanize
rshetty has joined #ruby
bmichelsen has joined #ruby
Lightsword has joined #ruby
cajone has joined #ruby
baweaver has joined #ruby
dkb20k has quit [Ping timeout: 240 seconds]
geggam has quit [Remote host closed the connection]
jerius has quit []
geggam has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
<Igneous> it is pretty funny that ruby has a better implementation of mechanize than the language we stole it from
mikeg has quit [Remote host closed the connection]
pietr0 has quit [Ping timeout: 245 seconds]
pietr0 has joined #ruby
<txdv> Igneous: what language?
pietr0 has quit [Remote host closed the connection]
* lampd1 guesses python
<centrx> Perl
einarj has quit [Remote host closed the connection]
<Lightsword> I’m trying to figure out the best way to handle port forwarding automation and queueing of requests, I’m using eventmachine to do requests asynchronously but I can only open a limited number of ports at a time
jgrevich has quit [Ping timeout: 256 seconds]
sdwrage has joined #ruby
chrchr- has joined #ruby
<chrchr-> I am having a horrible problem with bundler/rbenv/osx
michael_bishop has quit []
kasperti_ has joined #ruby
<chrchr-> BUNDLE_PATH=/Users/rc/.bundle bundle install
<chrchr-> Then I get this error message:
<chrchr-> /Users/rc/.rbenv/versions/2.1.1/lib/ruby/2.1.0/fileutils.rb:250:in `mkdir': Permission denied @ dir_s_mkdir - /var/www (Errno::EACCES)
treehug88 has quit []
beilabs has joined #ruby
<chrchr-> Any ideas why it might think it should be putting stuff into /var/www?
DLSteve_ has joined #ruby
jheg has quit [Quit: jheg]
<jhass> that's the whole trace?
<chrchr-> No that's the top.
<chrchr-> Just a sec.
jenrzzz has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DLSteve has quit [Ping timeout: 258 seconds]
x77686d has quit [Ping timeout: 264 seconds]
<chrchr-> That's the whole trace.
<jhass> uh, that's indeed odd
<jhass> can you add your env output to that gist?
rshetty has joined #ruby
omosoj has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
silkfox has quit [Ping timeout: 264 seconds]
rshetty has joined #ruby
Mateon1 has quit [Ping timeout: 240 seconds]
maletor has quit [Ping timeout: 240 seconds]
livingstn has quit []
<chrchr-> jhass Yeah! Nothing looks relevant but sure https://gist.github.com/chrchr/fe211242420b7ba1cfe9
gr33n7007h has quit [Ping timeout: 264 seconds]
<jhass> might be a bundler bug, are you on the latest version?
hiyosi has joined #ruby
<ReRixo> anybody got any ruby cms reccomendations?
uxp has quit [Ping timeout: 272 seconds]
TwinkleHood has quit [Remote host closed the connection]
rshetty_ has joined #ruby
Kricir has quit [Remote host closed the connection]
<chrchr-> Bundler version 1.7.6
<rpag> ReRixo, only one i've seen recommended at all is radiant
benzrf|offline is now known as benzrf
rshetty has quit [Ping timeout: 240 seconds]
siso has quit [Read error: Connection reset by peer]
<jhass> chrchr-: try #bundler, maybe somebody is around. If not then I'd open an issue
m8 has quit [Quit: Sto andando via]
dermothaughey has joined #ruby
Timgauthier has joined #ruby
renderf__ has quit [Remote host closed the connection]
duncannz has quit [Read error: Connection reset by peer]
<rpag> jhass, asked you before, but besides the sample you wrote for crystal, are you using it for much?
Timgauthier has quit [Max SendQ exceeded]
hiyosi has quit [Ping timeout: 264 seconds]
aspires has quit []
rshetty_ has quit [Ping timeout: 240 seconds]
Timgauthier has joined #ruby
<rpag> i'd love to see some "real world" examples of it
<jhass> no, not because I wouldn't but because I've no project that would fit it currently (or any project at all really)
<rpag> yeah
<jhass> I know manastech itself is using it in some realworld stuff
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rpag> i struggle with project ideas for it too
<jhass> but tbh. you still quickly hit bugs in it
<rpag> seems that way, from their github
dermothaughey has quit [Ping timeout: 240 seconds]
<jhass> https://github.com/search?utf8=%E2%9C%93&q=language%3Acrystal doesn't yield anything either, unfortunately
govg has quit [Ping timeout: 255 seconds]
freerobby has quit [Quit: Leaving.]
wjimenez_ has joined #ruby
Timgauthier has quit [Client Quit]
<rpag> still too young perhaps
<rpag> it'd be nice if it had a package manager, something like rubygems
wjimenez5271 has quit [Ping timeout: 258 seconds]
<jhass> but yea, I think we need to attract people now
<jhass> or else it won't progress fast enough at this stage
<rpag> saw that issue, yeah, it seems distributed/non-centralized is being preferred
<jhass> yup
<rpag> i dont know of any other language package manager that well, except rubygems, and it works really well
drewvanstone has joined #ruby
rshetty has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
c0d3rguy has joined #ruby
c0d3rguy has left #ruby [#ruby]
rshetty has joined #ruby
govg has joined #ruby
renderful has joined #ruby
djbkd has joined #ruby
i0n has joined #ruby
jxf has quit [Ping timeout: 272 seconds]
drago777 has joined #ruby
baweaver has quit [Remote host closed the connection]
rylev has joined #ruby
andrewlio has quit [Remote host closed the connection]
Lingo______ has joined #ruby
fustirge has joined #ruby
rshetty_ has joined #ruby
rshetty has quit [Read error: No route to host]
Bira has quit [Remote host closed the connection]
siso has joined #ruby
josephndenton has quit [Ping timeout: 256 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
fgo has joined #ruby
drewvanstone has quit [Quit: Lost terminal]
workmad3 has joined #ruby
ClarusCogitatio has quit [Ping timeout: 256 seconds]
Lingo______ has quit [Ping timeout: 244 seconds]
kirun has quit [Quit: Client exiting]
rshetty_ has quit [Ping timeout: 258 seconds]
ClarusCogitatio has joined #ruby
vinleod has joined #ruby
LudicrousMango has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
allcentury has joined #ruby
benlieb has quit [Quit: benlieb]
davidhq has joined #ruby
asterite1 has joined #ruby
josephndenton has joined #ruby
ClarusCogitatio has quit [Ping timeout: 258 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asterite1 has quit [Client Quit]
Bira has joined #ruby
ClarusCogitatio has joined #ruby
baweaver has joined #ruby
nkumari has quit [Remote host closed the connection]
philwantsfish has joined #ruby
aspires has joined #ruby
rshetty has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
Bira has quit [Ping timeout: 255 seconds]
ClarusCogitatio has quit [Ping timeout: 244 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
doodlehaus has joined #ruby
drewvanstone has joined #ruby
patrick99e99 has joined #ruby
baweaver has quit [Remote host closed the connection]
drewvanstone has quit [Client Quit]
Wolland has joined #ruby
nkumari has joined #ruby
drewvanstone has joined #ruby
aspires has quit [Client Quit]
rshetty_ has joined #ruby
msmith_ has quit [Remote host closed the connection]
rshetty has quit [Read error: No route to host]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta has quit [Remote host closed the connection]
ClarusCogitatio has joined #ruby
lifenoodles has quit [Ping timeout: 264 seconds]
<Lightsword> how would I add additional requests to an eventmachine run loop based on callback triggers?
ta has joined #ruby
baweaver has joined #ruby
<Lightsword> I basically need to feed in requests until all complete, but some rely on other requests to be complete first
<Lightsword> I can only seem to add them at the start
Hobogrammer has joined #ruby
jaequery has joined #ruby
renderful has quit [Remote host closed the connection]
rshetty_ has quit [Ping timeout: 256 seconds]
henesy has joined #ruby
josephndenton has joined #ruby
delianides has joined #ruby
delianides has quit [Remote host closed the connection]
delianides has joined #ruby
ta has quit [Ping timeout: 272 seconds]
delianides has quit [Remote host closed the connection]
lifenoodles has joined #ruby
delianides has joined #ruby
freerobby has joined #ruby
drewvanstone has quit [Quit: leaving]
drewvanstone has joined #ruby
doodlehaus has quit []
drewvanstone has quit [Client Quit]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
drewvanstone has joined #ruby
Lingo______ has joined #ruby
poweratom_ has quit [Quit: (null)]
kasperti_ has quit []
drewvanstone has quit [Client Quit]
drewvanstone has joined #ruby
rshetty has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
adriancb has quit [Remote host closed the connection]
rshetty has joined #ruby