adaedra changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8; 2.0.0-p648: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
s00pcan has quit [Remote host closed the connection]
tulak_ has joined #ruby
tulak_ has quit [Remote host closed the connection]
s00pcan has joined #ruby
eregi has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
chipotle has quit [Ping timeout: 250 seconds]
weemsledeux has joined #ruby
Xeago has quit [Remote host closed the connection]
Kryptonical has joined #ruby
ElFerna has joined #ruby
Xeago has joined #ruby
ur5us has joined #ruby
KensoDev has joined #ruby
tulak has quit [Ping timeout: 248 seconds]
cschneid_ has quit [Remote host closed the connection]
eregi has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
sudoubuntu has joined #ruby
albedoa has quit [Ping timeout: 240 seconds]
albedoa has joined #ruby
fourq is now known as fourq|away
allcentury has quit [Ping timeout: 255 seconds]
Sucks has joined #ruby
ElFerna has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
fourq|away is now known as fourq
fourq is now known as fourq|away
allcentury has joined #ruby
fedexo has joined #ruby
jottr is now known as elementz
Guest45323 is now known as C0deMaver1ck
urbanmonk has joined #ruby
thevaliantx has joined #ruby
fedexo has quit [Read error: Connection reset by peer]
Trynemjoel has quit [Ping timeout: 244 seconds]
urbanmonk has left #ruby [#ruby]
paradisaeidae has quit [Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160210153822]]
urbanmonk has joined #ruby
dlitvak has quit [Ping timeout: 276 seconds]
fedexo has joined #ruby
kalopsian has joined #ruby
LoganG has quit [Ping timeout: 240 seconds]
urbanmonk has left #ruby [#ruby]
LoneHerm_ has joined #ruby
urbanmonk has joined #ruby
shazaum has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Trynemjoel has joined #ruby
LoneHerm_ has joined #ruby
nando293921 has joined #ruby
nando293921 has quit [Client Quit]
nando293921 has joined #ruby
sgambino has joined #ruby
sgambino has quit [Client Quit]
kalopsian has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 240 seconds]
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ledestin has joined #ruby
DEA7TH has left #ruby [#ruby]
Sucks has quit [Ping timeout: 240 seconds]
Sucks has joined #ruby
saneax is now known as saneax_AFK
Trynemjoel has quit [Ping timeout: 264 seconds]
sgambino has joined #ruby
postmodern has joined #ruby
ledestin has quit [Read error: Connection reset by peer]
devbug has joined #ruby
albedoa has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
Trynemjoel has joined #ruby
nettoweb has joined #ruby
albedoa has joined #ruby
gaxar77 has quit [Ping timeout: 255 seconds]
bronson has quit [Remote host closed the connection]
duckpupp1 has joined #ruby
ta_ has joined #ruby
moeabdol1 has quit [Ping timeout: 240 seconds]
LoganG has joined #ruby
gaxar77 has joined #ruby
ta_ has quit [Ping timeout: 255 seconds]
duckpupp1 has quit [Ping timeout: 276 seconds]
postmodern has quit [Quit: Leaving]
Dreamer3 has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby
thevaliantx has quit [Quit: Leaving]
postmodern has joined #ruby
<Youngmathimus0> What's wrong with RVM?
eregi has joined #ruby
<Radar> Youngmathimus0: It's extremely bloated and when things go wrong (read: they will go wrong) it's a complete headfuck to debug.
postmodern has quit [Client Quit]
postmodern has joined #ruby
wolffles has quit [Quit: wolffles]
eregi has quit [Ping timeout: 248 seconds]
<bougyman> counterpoint: I completely disagree with Radar.
idefine has quit [Remote host closed the connection]
<bougyman> it doesn't seem "extremely bloated", the footprint is barely noticable.
<bougyman> and when things go wrong, it's been painless to debug.
<bougyman> they haven't gone wrong very often.
robbyoconnor has quit [Quit: Konversation terminated!]
Flakes has joined #ruby
<hays> is there another way to describe class methods either than self.foo
n_blownapart has quit [Remote host closed the connection]
beanHolez has quit [Remote host closed the connection]
Jardayn has quit [Read error: Connection reset by peer]
<bnagy> bougyman: that's kind of a ridiculous diatribe
SCHAAP137 has quit [Remote host closed the connection]
<bnagy> it is the heaviest version manager available
fedexo has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<bnagy> it is the least unix-like (cd hooks, script magic)
<bnagy> those are indisputable
<bougyman> I still don't consider it 'extremely bloated'
nando293921 has quit [Quit: Lost terminal]
<bougyman> it does more than the others.
<bougyman> (out of the box)
<bnagy> the rest of what you said is personal experience. In mine, there are 4-5x as many people on here with hair pulling problems with RVM compared to the other two
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fedexo has joined #ruby
<bnagy> and again IME usually those problems can't be fixed in here, we have to send people to the RVM channel
<bnagy> because it requires specialist knowledge
nando293921 has joined #ruby
<bnagy> so, in summary, I think everything you said there is either wrong or baseless
<bougyman> I haven't seen a lot of rvm-related questions in here.
<bougyman> I see them in #rvm
<hays> how does one implement ruby in ruby, and then somehow it has performance improvements from the reference implementation?
<hays> what does it run on?
<bnagy> llvm
maletor has quit [Quit: Computer has gone to sleep.]
ohaibbq has quit [Read error: Connection reset by peer]
Jonah11_ has joined #ruby
ohaibbq has joined #ruby
<hays> bnagy: how?
<bnagy> so all rubies actually target a VM. The "standard" ruby targets a VM written in C called YARV
<manolo_> use Docker and you never use a ruby version manager again
<bnagy> so your ruby gets turned into VM code not raw machine code
<bnagy> JVM is ruby targeting the Java VM
<bnagy> rubinius targets a VM called LLVM which is used for a ton of projects these days, it's a very good VM
<bnagy> which means they can implement a lot of stdlib in ruby because their VM translation yields good code
<bnagy> although I am slightly mixing the 'in theory' with the 'IRL' here
<bnagy> YARV translation is not very good, which is why most of core is actually written in C
kalopsian has joined #ruby
Trynemjoel has quit [Ping timeout: 244 seconds]
<hays> bnagy: hmm.. so the part i don't get is why its considered to be written in ruby and not whatever language it is written for in llvm
<hays> or did they bootstrap it somehow
<bnagy> well the methods are written in ruby
<bnagy> so they wrote the 'turn ruby in LLVM' part
<bnagy> LLVM takes care of emitting code that the CPU can run
<bnagy> so yeah, 'bootstrapping it' is an OK analogy
Dreamer3 has joined #ruby
<hays> so the turn Ruby into LLVM part is written in what? C?
<bnagy> presumably
maletor has joined #ruby
<chrisseaton> C++
<bnagy> shuttup chrisseaton what would you know
<bnagy> :D
mattwildig has joined #ruby
rubynuby has joined #ruby
<chrisseaton> Wtf?
Trynemjoel has joined #ruby
<rubynuby> hey does anyone know how to grep odd integers in an array?
<bnagy> is joke
<rubynuby> for example: [1,2,3,4,5].grep(/[135]/) #=> []
<rubynuby> i know it works for ['1','2','3','4','5']
<bnagy> rubynuby: you probably want select
<bnagy> numbers are not strings
<rubynuby> well its for this ruby problem on a website
<rubynuby> rubeque
<mozzarella> >> [1, 2, 3, 4, 5].select(&:odd?)
<ruby[bot]> mozzarella: # => [1, 3, 5] (https://eval.in/522923)
<postmodern> use .select and i.odd?
<rubynuby> assert_equal ["1", "2", "3", "4", "5"].grep(___){ |e| e.succ }, ["2", "4", "6"]
<rubynuby> assert_equal [1, 2, 3, 4, 5].grep(___, &:succ), [2, 4, 6]
<rubynuby> i have to figure out the code that fits in the blank
LoneHerm_ has quit [Read error: Connection reset by peer]
<rubynuby> if you use grep(Integers.select {|i| i.odd? } )
<rubynuby> something like that maybe?
<rubynuby> i know in this case grep isn't the first choice for selecting odd integers, i just really want to figure out this problem for no reason
<rubynuby> oh yeah, also the ruby version on rubeque is 1.9.3
rkazak has quit [Ping timeout: 250 seconds]
centrx has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
roccia has joined #ruby
<roccia> hi anyone there?
<hays> select must be like lisp filter
<postmodern> rubynuby, check the documentation for Array#grep
albedoa has quit [Ping timeout: 244 seconds]
<roccia> I have a question about how to read large files more faster, hope someone can help me to look through my code
<roccia> I have a question about how to read large files more faster, hope someone can help me to look through my code
<bnagy> ?anyone roccia
<ruby[bot]> roccia: Just ask your question, if anyone has or can, they will respond.
<roccia> okok
<rubynuby> ive seen it, and i don't fully understand it, but i think it uses a Regexp pattern, but i can't figure out how to make it work on that problem with integers
<rubynuby> because Regexp only seems to work on strings
<postmodern> rubynuby, apparently grep() can accept a lambda/proc instead of a regex
marr has quit [Ping timeout: 240 seconds]
scripore has quit [Quit: This computer has gone to sleep]
<rubynuby> but i think the &:succ is the lambda/proc part
<hays> ok here's a real question. how do I pass a function around in Ruby?
<postmodern> rubynuby, try passing in a proc instead of /.../
<bnagy> hays: you don't
<rubynuby> ok
<rubynuby> illl give it a shot
<bnagy> hays: no first class functions, only procs blocks and lambdas
<postmodern> rubynuby, also i don't think you need &:succ
scripore has joined #ruby
<hays> bnagy: so passing in a label and using method() or something similar might be the best way?
<roccia> I'm importing mongodb documents into elasticsearch using ruby, there are about 60000 documents, I used a each loop to insert the doc into ES one by one , it is really time consuming job, would like to know is there any way to do it faster
duckpupp1 has joined #ruby
rkazak has joined #ruby
<bnagy> hays: uh I can't really answer that because I have no idea what you are doing or what you're using to assess best
<rubynuby> it worked!
<rubynuby> thanks postmodern!
<roccia> I wrote my own connecter(connect mongo and elasticsearch) while not using other plugin for ES
<postmodern> rubynuby, normally you'd use [...].select(&:odd?)
<roccia> if anyone used ES or using ES would know what I'm saying ..
<rubynuby> yep
Sucks has quit [Quit: No Ping reply in 180 seconds.]
<hays> bnagy: something like this, where its ok if try_func and test_func are methods of the same class as try_n: try_func and test_func
robbyoconnor has joined #ruby
rbennacer has joined #ruby
c0ncealed has quit [Remote host closed the connection]
duderono_ has joined #ruby
<hays> bnagy: what i've done to fix that code is pass in labels and then do method() to convert them to their respective methods
<roccia> ;(
duckpupp1 has quit [Ping timeout: 255 seconds]
<Ox0dea> hays: You recognize Ruby's Lispy-ness and still use explicit `for` loops? :(
Sucks has joined #ruby
<hays> seemed like a reasonably expressive choice
rubynuby has left #ruby [#ruby]
<bnagy> it's a "not from here" shibboleth
maletor has quit [Quit: Computer has gone to sleep.]
<bnagy> roccia: sry, that's just IRC. If someone knows they'll answer.
<bnagy> be patient
<bnagy> or don't, I'm not the cops
<roccia> yep ..
c0ncealed has joined #ruby
<hays> i guess no first-class functions is why we have future() in Celluloid, which I've been recently figuring out
<Ox0dea> Procs are first-class functions.
<Ox0dea> But you probably don't want to write your thing with just Procs.
<hays> perhaps the way i've done it is the most reasonable way...
Trynemjoel has quit [Ping timeout: 244 seconds]
<Ox0dea> Well, you've got #call on all sorts of things.
<bnagy> looks pretty functional, which suggests not
<bnagy> but I dunno, it's still pretty abstract
<hays> i just found myself repeating that pattern of logic in my code a lot and figured it was best done with an abstraction
Trynemjoel has joined #ruby
bronson has joined #ruby
<hays> the code is for an embedded system.. so test_func might be switch_closed? and try_function would be close_switch. the code would try 'n' times with a delay of d seconds.. if it succeeded it returns true, false if not
Brando753 has quit [Ping timeout: 240 seconds]
<hays> noticed just now that what I pastebinned isn't quite correct (the code is not on this laptop)
<Ox0dea> hays: It'd be better to make the interface expect Method instances, then.
<Ox0dea> If you accept Symbols, you have to finagle with figuring out which object to send the message to.
Yzguy has joined #ruby
<hays> meaning something that implements .call
LoneHerm_ has quit [Remote host closed the connection]
Ebok has quit [Quit: This computer has gone to sleep]
<hays> i will look into that. i do think that seems better
akem has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
Brando753 has joined #ruby
<akem> hello
allcentury has quit [Ping timeout: 252 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
albedoa has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
roccia has quit [Quit: Page closed]
_djbkd has joined #ruby
x77686d has quit [Quit: x77686d]
kalopsian has quit [Ping timeout: 248 seconds]
eregi has joined #ruby
akem has quit [Read error: Connection reset by peer]
Ebok has joined #ruby
akem has joined #ruby
chipotle has quit [Quit: cheerio]
ixti has joined #ruby
_djbkd has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
Bloomer has joined #ruby
eregi has quit [Ping timeout: 255 seconds]
LoneHerm_ has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
<hays> I guess n.times { } could work pretty well
fullstack has quit [Changing host]
fullstack has joined #ruby
<hays> i liked the for loop in case i wanted to return the number of tries instead
kalopsian has joined #ruby
<hays> since numbers are truthy
Trynemjoel has quit [Ping timeout: 264 seconds]
mikeiniowa has quit [Remote host closed the connection]
Bloomer has quit [Remote host closed the connection]
chipotle has joined #ruby
mikeiniowa has joined #ruby
Trynemjoel has joined #ruby
Dreamer3 has quit [Ping timeout: 240 seconds]
monque_ has joined #ruby
darix has quit [Ping timeout: 248 seconds]
<lemur> only nil and false are falsy in ruby
monque has quit [Ping timeout: 252 seconds]
lemur is now known as baweaver
<baweaver> so that makes very little sense to justify a for loop
nfk|laptop has quit [Ping timeout: 244 seconds]
jeanlinux has quit [Remote host closed the connection]
dlitvak has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
jeanlinux has joined #ruby
<hays> makes sense to me. i can return the number of tries to be sucessful, including zero, and it will still return truthy unless it actially fails after n times
eljimmy has joined #ruby
<hays> at which point it returns false
akem has quit [Remote host closed the connection]
eljimmy has quit [Read error: Connection reset by peer]
yqt has quit [Ping timeout: 240 seconds]
<Ox0dea> hays: Your #times block can have a parameter. :)
<Ox0dea> >> a = []; 5.times { |i| a << i }; a
<ruby[bot]> Ox0dea: # => [0, 1, 2, 3, 4] (https://eval.in/522929)
<hays> hmm.. alright
<baweaver> oi
<baweaver> if that's the case either use map or make a range
<Ox0dea> His thing is inherently stateful.
<baweaver> >> 0..4
<ruby[bot]> baweaver: # => 0..4 (https://eval.in/522930)
<baweaver> I have doubts. Where is said thing?
<baweaver> the bpaste link?
InternetFriend has joined #ruby
<InternetFriend> hola
blackmesa has joined #ruby
<hays> n.times is shorter then
<hays> and more ruby-like
<baweaver> yep
rakm has joined #ruby
Bloomer has joined #ruby
dlitvak has quit [Ping timeout: 244 seconds]
jeanlinux has quit [Ping timeout: 276 seconds]
Bloomer has quit [Client Quit]
elementz has quit [Ping timeout: 276 seconds]
<Ox0dea> hays: https://eval.in/522931
<baweaver> it can be done without state, though that's being pedantic of me.
<Ox0dea> It's sketchy, but I think that's a reasonable enough.
<Ox0dea> +approach
shazaum has quit [Quit: This computer has gone to sleep]
darix has joined #ruby
<Ox0dea> baweaver: How do you abstract away the statefulness of a switch being closed?
<baweaver> return a new switch, though this is going to become an exercise of how far back you can push the state wagon
blackmesa has quit [Ping timeout: 244 seconds]
<Ox0dea> Just so.
<hays> Ox0dea: that gives me some things to chew on
<Ox0dea> hays: Excellent. :)
ensyde_ has joined #ruby
Guest34101 has joined #ruby
<hays> Ox0dea: the nil. why nil and not false?
<Ox0dea> hays: Er, tradition, I guess.
<baweaver> is it>
<Ox0dea> No, it makes semantic sense too. :)
<baweaver> I tend to avoid nil like the plague
<hays> is there a difference between sleep and delay?
<baweaver> sane defaults, whatnot
<baweaver> false in this case, empty array on a find, stuff like that.
fedexo has quit [Remote host closed the connection]
<baweaver> makes for less logic forks down the road to catch nils
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> baweaver: Why `false` in this case?
<baweaver> in this case it's less important
<baweaver> I just dislike nil
<Ox0dea> It should almost always be "returns either `true` or `false`", by my lights. #try here is "returns `n` or `nil`".
<hays> doh. there is no delay in ruby hah. too many languages sloshing around
akem has joined #ruby
darix has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
<hays> the old if at the end of the statement thing... still not sure how I feel about that. my procedure writing instincts don't ilke the if after the action.. probably just preference
darix has joined #ruby
kam270 has joined #ruby
<hays> i like having the try ouside any class--probably a better place for it.. in a namespace somewhere maybe
kam270 has quit [Max SendQ exceeded]
herminio_ has quit [Ping timeout: 250 seconds]
kam270 has joined #ruby
manolo_ has quit [Quit: Leaving]
kam270 has quit [Max SendQ exceeded]
<hays> any thoughts on when to use inheritance vice just a mixin?
kam270 has joined #ruby
<hays> seems like one could get away with just mixins
Dreamer3 has joined #ruby
<akem> free popcorn for my own self.
Jonah11_ has quit [Remote host closed the connection]
<Ox0dea> hays: Mixins are inheritance. :P
<hays> yeah, just difference syntax it seems
<Ox0dea> It's perfectly natural to say that some collection "behaves like an Enumerable", even though that's a mixed-in Module.
LoneHerm_ has quit [Read error: Connection reset by peer]
dome22xl has quit [Ping timeout: 255 seconds]
Yzguy has quit [Quit: Zzz...]
bronson has joined #ruby
Dreamer3 has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
Dreamer3 has joined #ruby
GriffinHeart has joined #ruby
LoneHermit has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 250 seconds]
InternetFriend has quit [Ping timeout: 244 seconds]
wambam has joined #ruby
vdamewood has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
swistak35 has quit [Ping timeout: 248 seconds]
sudoubuntu has joined #ruby
GriffinHeart has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
floatingpoint has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
sgambino has joined #ruby
A124 has quit [Read error: Connection reset by peer]
ihsw has joined #ruby
<ihsw> hi i'm new to ruby, how do i debug my sinatra app? right now i have a test that results in a 500 error but how do i get the error message?
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<toretore> look at the stdout or log file
Jonah11_ has joined #ruby
darkf has quit [Ping timeout: 250 seconds]
babblebre has joined #ruby
A124 has joined #ruby
<ihsw> toretore: hmm, i have enable logging, dump_errors, and raise_errors but nothing is being dumped out to stdout
swistak35 has joined #ruby
<toretore> ihsw: how are you seeing the 500?
darkf has joined #ruby
<ihsw> toretore: assert last_response.ok?, "PUT #{url} was not 200: #{last_response.status}"
maletor has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<toretore> ihsw: gist relevant files?
<toretore> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
krobzaur has quit [Ping timeout: 276 seconds]
jeanlinux has joined #ruby
elifoster has quit [Ping timeout: 255 seconds]
znz_jp has quit [Quit: kill -QUIT $$]
rbennacer has quit [Remote host closed the connection]
daivyk has quit [Quit: ZZZzzz…]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
Musashi007 has joined #ruby
znz_jp has joined #ruby
<toretore> ihsw: lib/server.rb ?
<toretore> ihsw: you can and should separate the files and add proper highlighting
<ihsw> toretore: it can also be found here. https://github.com/ihsw/omega-jazz/tree/master/app
duncannz has joined #ruby
sudoubuntu has joined #ruby
cpup has quit [Ping timeout: 248 seconds]
<toretore> ihsw: where have you enabled logging?
<ihsw> toretore: i am pushing those changes now.
LoneHermit has quit [Remote host closed the connection]
darkf has quit [Ping timeout: 240 seconds]
cpup has joined #ruby
devbug_ has joined #ruby
darkf has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
Guest96205 is now known as awk
kalopsian has quit [Ping timeout: 255 seconds]
krobzaur has joined #ruby
blackmesa has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<toretore> ihsw: i don't know how that works when getting run from a test env, it says it logs to stderr, but if you're not seeing anything it's obviously not
<ihsw> toretore: oh, here is a travis-ci build. https://travis-ci.org/ihsw/omega-jazz/jobs/110870063
Asher has joined #ruby
weemsledeux has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
darkf has quit [Ping timeout: 240 seconds]
<ihsw> i'm not seeing stderr and i don't know why.
Ebok has quit [Quit: This computer has gone to sleep]
darkf has joined #ruby
darkf has quit [Remote host closed the connection]
dfinninger has joined #ruby
<ihsw> also i figured out how to get the errors in the sinatra's last_response, and the error message is shown in the latest build for my project. https://travis-ci.org/ihsw/omega-jazz/jobs/110871019
krobzaur has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
<ihsw> it seems the request body in PUT requests is form encoded rather than json encoded, so the PUT request handler cannot decode it.
InternetFriend has joined #ruby
akem has quit [Remote host closed the connection]
<ihsw> toretore: i forgot to put .to_json in my test's request body.
Toledo|gone has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
DmitryBochkarev has joined #ruby
<ihsw> toretore: thank you for your help
ihsw has quit [Quit: leaving]
CloCkWeRX has quit [Quit: Leaving.]
CloCkWeRX1 has joined #ruby
Outlastsheep has joined #ruby
houhoulis has joined #ruby
ur5us has quit [Remote host closed the connection]
duncannz has quit [Remote host closed the connection]
tomchapin has joined #ruby
pawnbox has joined #ruby
ta_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
Dreamer3 has quit [Ping timeout: 240 seconds]
malcolmva has quit [Ping timeout: 244 seconds]
avenj has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 250 seconds]
davedev24 has quit []
theRealAlexz has quit [Ping timeout: 240 seconds]
Mojo_Nixon has quit [Quit: Textual IRC Client: www.textualapp.com]
maletor has quit [Quit: Computer has gone to sleep.]
johnmilton has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
Dreamer3 has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 250 seconds]
GriffinHeart has joined #ruby
<InternetFriend> \q
InternetFriend has quit [Quit: Lost terminal]
urbanmonk has quit [Quit: urbanmonk]
ElSif has joined #ruby
pawnbox has quit [Ping timeout: 248 seconds]
Dreamer3 has quit [Read error: Connection reset by peer]
aupadhye has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
Jonah11_ has quit [Remote host closed the connection]
malcolmva has joined #ruby
rohit has joined #ruby
Dreamer3 has joined #ruby
braincrash has quit [Quit: bye bye]
scripore has quit [Quit: This computer has gone to sleep]
rbennacer has joined #ruby
monque_ has quit [Quit: monque_]
Dreamer3 has quit [Ping timeout: 240 seconds]
solocshaw has joined #ruby
FlyingChicken has joined #ruby
braincrash has joined #ruby
Dreamer3 has joined #ruby
juanpablo__ has joined #ruby
IrishGringo has joined #ruby
albedoa has left #ruby ["Textual IRC Client: www.textualapp.com"]
rbennacer has quit [Ping timeout: 248 seconds]
rohit_ has joined #ruby
Dreamer3 has quit [Read error: Connection reset by peer]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
terminalrecluse has joined #ruby
rohit has quit [Ping timeout: 244 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpablo__ has quit [Ping timeout: 255 seconds]
LoneHerm_ has joined #ruby
matp has joined #ruby
scripore has joined #ruby
Don_John has joined #ruby
tvon has quit [Quit: tvon]
gix has quit [Ping timeout: 240 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
asprillia has joined #ruby
krz has joined #ruby
pdoherty has joined #ruby
LoneHerm_ has quit [Ping timeout: 244 seconds]
gix has joined #ruby
BaroMeter has joined #ruby
karthikselva has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
flughafen_ has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
theRealAlexz has joined #ruby
Dreamer3 has joined #ruby
pawnbox has joined #ruby
indikator has joined #ruby
elifoster has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
finisherr_ has quit [Quit: finisherr_]
darkf has joined #ruby
Kang0 has joined #ruby
braincra- has joined #ruby
rakm has joined #ruby
graphettion has joined #ruby
bronson has joined #ruby
finisherr has joined #ruby
Guest34101 has quit [Ping timeout: 244 seconds]
finisherr has quit [Client Quit]
braincrash has quit [Ping timeout: 255 seconds]
scripore has quit [Quit: This computer has gone to sleep]
bronson has quit [Ping timeout: 240 seconds]
mattwildig has quit [Remote host closed the connection]
jkahn has quit [Ping timeout: 240 seconds]
adgtl has joined #ruby
metanosulfonico has joined #ruby
wmdrossard has quit [Ping timeout: 255 seconds]
eregi has joined #ruby
Kryptonical has quit [Remote host closed the connection]
duderono_ is now known as duderonomy
Kryptonical has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
dm24 has joined #ruby
eregi has quit [Ping timeout: 240 seconds]
BaroMeter has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 240 seconds]
aupadhye has quit [Quit: Leaving]
pawnbox has quit [Remote host closed the connection]
dm24 has left #ruby [#ruby]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aupadhye has joined #ruby
trosborn has joined #ruby
trosborn has quit [Client Quit]
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
dfinninger has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
eregi has joined #ruby
Gnut has joined #ruby
zast has quit [Remote host closed the connection]
babblebre has quit [Quit: Connection closed for inactivity]
krz has quit [Quit: WeeChat 1.2]
duderono_ has joined #ruby
pdoherty has quit [Ping timeout: 240 seconds]
Kang0 has quit [Ping timeout: 240 seconds]
azure32 has joined #ruby
wambam has quit [Quit: Connection closed for inactivity]
pdoherty has joined #ruby
krz has joined #ruby
IrishGringo_ has joined #ruby
duncannz has joined #ruby
IrishGringo has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 248 seconds]
IrishGringo_ has quit [Remote host closed the connection]
peterhu has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
elifoster has quit [Ping timeout: 248 seconds]
Asher has quit [Quit: Leaving.]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
graffix has quit [Ping timeout: 276 seconds]
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
saneax is now known as saneax_AFK
kalopsian has joined #ruby
astrobunny has joined #ruby
thevaliantx has joined #ruby
mondok has joined #ruby
berserk_ren has quit [Read error: Connection reset by peer]
kalopsian has quit [Ping timeout: 250 seconds]
GriffinHeart has joined #ruby
ta_ has joined #ruby
Sucks_ has joined #ruby
Sucks has quit [Ping timeout: 240 seconds]
indikator has left #ruby [#ruby]
asprillia has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
minimalism has joined #ruby
Rickmasta has joined #ruby
eregi has quit [Ping timeout: 255 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
eregi has joined #ruby
htmldrum has quit [Ping timeout: 248 seconds]
htmldrum has joined #ruby
gaxar77 has quit [Ping timeout: 252 seconds]
ta_ has quit [Ping timeout: 250 seconds]
Mon_Ouie has quit [Ping timeout: 248 seconds]
karthikselva has quit [Ping timeout: 250 seconds]
framling has joined #ruby
lurch_ has joined #ruby
_ht has joined #ruby
Sucks_ has quit [Quit: No Ping reply in 180 seconds.]
LoneHermit has joined #ruby
Sucks has joined #ruby
graffix has joined #ruby
Dreamer3_ has joined #ruby
Dreamer3 has quit [Ping timeout: 240 seconds]
shevy has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
Dreamer3_ is now known as Dreamer3
UtkarshRay has quit [Remote host closed the connection]
graphettion has quit [Remote host closed the connection]
vinleod has joined #ruby
vdamewood has quit [Read error: Connection reset by peer]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vinleod is now known as vdamewood
eregi has quit [Ping timeout: 276 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbennacer has quit [Ping timeout: 250 seconds]
metanosulfonico has quit [Quit: Leaving]
Dreamer3 has quit [Ping timeout: 240 seconds]
ohaibbq has quit [Quit: Leaving...]
ensyde_ has quit [Quit: Leaving]
rakm has joined #ruby
nerium has quit [Quit: nerium]
dionysus69 has joined #ruby
sulky has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
blackmesa has joined #ruby
eregi has joined #ruby
intrigueD has joined #ruby
intrigueD has joined #ruby
pdoherty has quit [Ping timeout: 240 seconds]
crdpink2 has joined #ruby
saneax_AFK is now known as saneax
crdpink has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
eregi has quit [Ping timeout: 255 seconds]
GriffinHeart has quit [Remote host closed the connection]
jolts has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shevy has joined #ruby
Guest34101 has joined #ruby
asprillia has joined #ruby
Sucks has quit [Remote host closed the connection]
eregi has joined #ruby
chipotle has quit [Quit: cheerio]
asprillia has quit [Client Quit]
william3 has joined #ruby
chouhoulis has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
rohit_ has quit [Ping timeout: 252 seconds]
eregi has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Ping timeout: 248 seconds]
eregi has joined #ruby
peterhu has joined #ruby
bronson has joined #ruby
intrigueD has quit [Remote host closed the connection]
agit0 has quit [Quit: zzzZZZ….]
bronson has quit [Ping timeout: 240 seconds]
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
mattwildig has joined #ruby
blackgoat has joined #ruby
mattwildig has quit [Ping timeout: 250 seconds]
rkazak has quit [Quit: Sleep.....ing....]
olblak has quit [Remote host closed the connection]
olblak has joined #ruby
stevemackinnon has quit [Remote host closed the connection]
vdamewood has quit [Quit: Life beckons.]
GriffinHeart has quit [Remote host closed the connection]
thevaliantx has quit [Quit: Leaving]
aufi has joined #ruby
chipotle has joined #ruby
GriffinHeart has joined #ruby
sleetdrop has joined #ruby
duderono_ is now known as duderonomy
thevaliantx has joined #ruby
safe has joined #ruby
lxsameer has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
Dreamer3 has joined #ruby
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TomyLobo has joined #ruby
Dreamer3 has quit [Client Quit]
vikaton has quit [Quit: Connection closed for inactivity]
dionysus69 has quit [Ping timeout: 240 seconds]
htmldrum has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
symm- has joined #ruby
eregi has quit [Ping timeout: 248 seconds]
Dreamer3 has joined #ruby
mhoungbo has joined #ruby
adgtl has quit [Remote host closed the connection]
Abrin has quit [Ping timeout: 250 seconds]
scepticulous has joined #ruby
chipotle has quit [Quit: cheerio]
bigkevmcd has joined #ruby
haxrbyte has joined #ruby
woo has joined #ruby
haxrbyte_ has joined #ruby
kies^ has quit [Ping timeout: 240 seconds]
safe has quit [Read error: Connection reset by peer]
eregi has joined #ruby
blackmesa has joined #ruby
haxrbyte has quit [Ping timeout: 248 seconds]
agit0 has joined #ruby
rohit_ has joined #ruby
Antiarc has quit [Ping timeout: 276 seconds]
kalopsian has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
aslpenguin has joined #ruby
<aslpenguin> why is ruby declining in popularity?
baweaver has quit [Remote host closed the connection]
kalopsian has quit [Ping timeout: 252 seconds]
<apeiros> is it?
<aslpenguin> it is
<aslpenguin> it's being replaced by node
<apeiros> and you know that from? sticking your finger in the air?
<aslpenguin> no by hr people telling me
<aslpenguin> i know a lot of recruiters
<aslpenguin> but i can't understand why
rkazak has joined #ruby
<aslpenguin> i'm an aspiring recruiter
chouhoulis has joined #ruby
firstdayonthejob has joined #ruby
<apeiros> *sob*, you know, when people mistake a framework (or in this case a runtime) for a programming language, I tend to question any points they make.
<aslpenguin> node is a programming language made in javascritp
<aslpenguin> right?
<apeiros> wrong. node is javascript.
<aslpenguin> that's what i said
<apeiros> no. you said "made in". that's quite distinct.
eregi has quit [Ping timeout: 250 seconds]
lsmola has joined #ruby
<aslpenguin> you can't make a programming language out of a programming language that's stupid
moeabdol1 has joined #ruby
<apeiros> a) yes, of course you can and almost all programming languages have at one point been implemented using another
<apeiros> and b) that's not what I said
Gnut has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
<apeiros> you should probably read nodejs' WP or even their own website. maybe you'll learn what nodejs actually is. and no, it's not its own language.
Antiarc has joined #ruby
TomyLobo has quit [Ping timeout: 244 seconds]
moeabdol2 has joined #ruby
aganov has joined #ruby
pawnbox has quit [Remote host closed the connection]
moeabdol1 has quit [Ping timeout: 248 seconds]
quazimodo has quit [Ping timeout: 244 seconds]
Don_John has quit [Read error: Connection reset by peer]
graffix has quit [Ping timeout: 276 seconds]
nando293921 has quit [Ping timeout: 240 seconds]
graffix has joined #ruby
andikr has joined #ruby
rkazak has quit [Ping timeout: 244 seconds]
anisha has joined #ruby
haxrbyte_ has quit [Ping timeout: 276 seconds]
kentnl has joined #ruby
dlitvak has joined #ruby
kentnl has quit [Changing host]
kentnl has joined #ruby
coffeecupp has joined #ruby
kentnl is now known as kent\n
wldcordeiro has joined #ruby
thevaliantx has quit [Quit: Leaving]
scepticulous has quit [Ping timeout: 276 seconds]
dlitvak has quit [Ping timeout: 248 seconds]
janno_ has left #ruby [#ruby]
janno has joined #ruby
houhoulis has quit [Remote host closed the connection]
rohit_ has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
blackgoat has quit [Quit: WeeChat 1.3]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
blaxter has joined #ruby
scepticulous has joined #ruby
svoi has joined #ruby
scepticulous has quit [Client Quit]
FlyingChicken has quit [Ping timeout: 252 seconds]
scepticulous has joined #ruby
ta_ has joined #ruby
Antiarc has quit [Ping timeout: 248 seconds]
codecop has joined #ruby
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
Antiarc has joined #ruby
pawnbox has joined #ruby
LoneHermit has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
svoi has left #ruby ["#ruby*"]
blaxter has quit [Ping timeout: 248 seconds]
UtkarshRay has joined #ruby
rkazak has joined #ruby
ziyadb has joined #ruby
The_Phoenix1 has joined #ruby
SCHAAP137 has joined #ruby
atmosx has joined #ruby
symm- has quit [Ping timeout: 255 seconds]
Youngmathimus0 has left #ruby [#ruby]
chooky87 has joined #ruby
the_drow has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
BtcBen has joined #ruby
chooky87 has quit [Client Quit]
chooky has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
<adaedra> o/
firstdayonthejob has quit [Ping timeout: 248 seconds]
tvw has joined #ruby
<flughafen> hello everybody
FooMunki has joined #ruby
charlemagne has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
skade has joined #ruby
blaxter has joined #ruby
baweaver has joined #ruby
Xeago has joined #ruby
eregi has joined #ruby
chouhoulis has joined #ruby
Domaldel has joined #ruby
The_Phoenix1 has quit [Quit: Leaving.]
baweaver has quit [Ping timeout: 240 seconds]
The_Phoenix has joined #ruby
<apeiros> moin
eregi has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
Snowy has joined #ruby
montyboy has quit [Ping timeout: 240 seconds]
rohit_ has joined #ruby
coffeecupp has quit [Quit: Leaving]
LoneHermit has quit [Remote host closed the connection]
tubuliferous_ has joined #ruby
agit0 has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
woo has joined #ruby
bronson has joined #ruby
azure32 has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
kmckelvin has joined #ruby
moeabdol2 has quit [Quit: WeeChat 1.4]
postmodern has quit [Quit: Leaving]
woo has quit [Ping timeout: 255 seconds]
dmolina has joined #ruby
moeabdol has joined #ruby
mattwildig has joined #ruby
<manveru> moin
<atmosx> aloha
tulak has joined #ruby
toretore has quit [Ping timeout: 248 seconds]
mattwildig has quit [Ping timeout: 255 seconds]
thevaliantx has joined #ruby
DmitryBochkarev has joined #ruby
zenlot1 is now known as zenlot
jeanlinux has quit [Ping timeout: 276 seconds]
jeanlinux has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tulak has quit [Remote host closed the connection]
huyderman has joined #ruby
duderonomy has joined #ruby
gregf_ has joined #ruby
elementz has joined #ruby
zz_denym_ is now known as denym_
pandaant has joined #ruby
renderful has quit [Ping timeout: 240 seconds]
Mon_Ouie has joined #ruby
rbennacer has joined #ruby
sarbs has quit [Ping timeout: 240 seconds]
charlemagne has quit [Remote host closed the connection]
kalopsian has joined #ruby
tvw has quit []
aslpenguin has quit [Ping timeout: 252 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
rohit_ has quit [Ping timeout: 255 seconds]
kalopsian has quit [Ping timeout: 244 seconds]
thevaliantx has left #ruby ["Leaving"]
william3 has joined #ruby
ocbtec has joined #ruby
tesuji has joined #ruby
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
idefine has joined #ruby
astrobunny has quit [Remote host closed the connection]
blackmesa has joined #ruby
<BtcBen> What's the safest way to let someone collaborate on a rails app
devbug_ has quit [Ping timeout: 240 seconds]
<BtcBen> I guess safe isn't the best term
<BtcBen> I'm concerned about mailer account passwords and such
devbug has joined #ruby
vondruch has joined #ruby
<ljarvis> BtcBen: will this person be working for you?
jeanlinux has quit [Read error: Connection reset by peer]
<BtcBen> temporarily
<manveru> BtcBen: env variables
jeanlinux has joined #ruby
<manveru> easiest with http://direnv.net/ :)
william3 has joined #ruby
<manveru> other way would be https://www.agwa.name/projects/git-crypt/
<manveru> anyway, never commit your credentials into git without protection
idefine has quit [Ping timeout: 276 seconds]
rohit_ has joined #ruby
astrobunny has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
f4cl3y has joined #ruby
william3 has quit [Remote host closed the connection]
eregi has joined #ruby
william3 has joined #ruby
lpvb has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<BtcBen> Thanks for the tip manveru. I already have the credentials stored in env variables.
chouhoulis has joined #ruby
<BtcBen> so those won't be pushed to git?
<BtcBen> forgive the noobness
<manveru> no, env variables are in your environment, not in your files
<BtcBen> then how do the passwords work in production?
duncannz has quit [Remote host closed the connection]
nettoweb has joined #ruby
mark2000 has joined #ruby
eregi has quit [Ping timeout: 244 seconds]
marko_ has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
<ljarvis> they're fetched from the environment
<ljarvis> or written to files only on production
<ljarvis> e.g. after you deploy, env variables get written to config/database.yml or some other config file. Ready to be read by something
<ljarvis> if they're yaml files, you can just embed the env variables
djellemah_ has joined #ruby
bweston92 has joined #ruby
LoneHerm_ has joined #ruby
the_drow has joined #ruby
jimcroft has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
rohit_ has quit [Ping timeout: 240 seconds]
SenpaiSilver has joined #ruby
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
renderful has joined #ruby
bronson has joined #ruby
LoneHerm_ has quit [Ping timeout: 244 seconds]
joonty has joined #ruby
sepp2k has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
rdark has joined #ruby
Mon_Ouie has quit [Ping timeout: 250 seconds]
bruce_lee has quit [Ping timeout: 248 seconds]
marr has joined #ruby
jaiks has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
ferr has joined #ruby
minimalism has quit [Quit: minimalism]
laith has joined #ruby
<EdwardIII> hey, how to ruby devs tend to inject test doubles? in python we'd probably use the @patch decorator
astrobunny has quit [Remote host closed the connection]
marko_ has quit [Ping timeout: 252 seconds]
<jhass> they're usually just used as arguments to classes and methods
<hanmac> hm what are "test doubles"? currently i cant image what this should be
<jhass> sometimes a method on a class or object is monkey patched to return the double for the duration of the test
astrobunny has joined #ruby
mondok has quit [Ping timeout: 276 seconds]
<jhass> hanmac: a fake object responding to the same methods as some external dependency
<hanmac> ahh good to know
<jhass> usually with precomputed responses
<canton7> hanmac, usually a dependency of the UUT, but something you don't want to actually include in your unit tests. so you replace that dependency with a mock or stub
<EdwardIII> yeah i'm writing a test for an application_controller concern
<hanmac> so like a dummy object ?
<EdwardIII> and it's using the url for some stuff
<EdwardIII> jhass: i don't suppose there's an example somewhere?
moeabdol1 has joined #ruby
<EdwardIII> hanmac: i'm guessing i can't just say MyModule.request.original_url = 'biscuits' ?
<jhass> EdwardIII: http://www.relishapp.com/rspec/rspec-mocks/docs should have plenty of examples
awe_ has joined #ruby
awe_ has quit [Max SendQ exceeded]
awe_ has joined #ruby
<EdwardIII> ahhh oh
<EdwardIII> so i'm using MiniTest
<EdwardIII> but tbh i'm a little confused
<EdwardIII> i kind of assume the default stuff rails comes with is a sensible default, but then it sort of looks like everyone everwhere is using RSpec
laith has quit [Quit: Leaving.]
<EdwardIII> RSpec > MiniTest?
moeabdol has quit [Ping timeout: 248 seconds]
<hanmac> previous i used TestUnit for tests, but i am switched to RSpec because its more funky to do (like you have shared examples so you dont need to write the whole stuff again)
sarbs has joined #ruby
<EdwardIII> heh
astrobunny has quit [Remote host closed the connection]
<EdwardIII> so i'm just using the test "this does that" do... syntax at the moment, but it looks like MiniTest supports spec-like tests too
tesuji has quit [Read error: Connection reset by peer]
krzkrz has joined #ruby
krz has quit [Ping timeout: 250 seconds]
ferr has quit [Quit: WeeChat 1.4]
ferr has joined #ruby
mark2000 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
GriffinHeart has quit [Remote host closed the connection]
djellemah_ has quit [Ping timeout: 248 seconds]
mark2 has joined #ruby
platzhirsch has joined #ruby
junw has left #ruby ["Leaving"]
mrknip has joined #ruby
coffeecupp has joined #ruby
<ledestin> does HTTParty use one global state?
<ledestin> e.g. setting headers
laith has joined #ruby
ElFerna has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
laith has quit [Client Quit]
laith has joined #ruby
ferr has joined #ruby
ardian has joined #ruby
<EdwardIII> ok so, here's what i'm trying: https://gist.github.com/EdwardIII/de1d893a4a96806de2ae
laith has quit [Client Quit]
dionysus69 has quit [Ping timeout: 244 seconds]
<ardian> Hello, I am iterating with a an each loop and want to save the results in an array
<ardian> but I am doing it wrong, it's only saving the last one
<ardian> a.each do |x|
<ljarvis> ardian: you probably want map
<ardian> letters = [x]
<ardian> end
<ljarvis> ardian: you're assigning letters to [x], not mutating anything
<ardian> it's a Nokogiri XML object btw
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ljarvis> er assigning [x] to letters, rather
rodfersou has joined #ruby
<ardian> ljarvis, umm let me see
devbug has quit [Read error: Connection reset by peer]
tulak has joined #ruby
<ljarvis> ledestin: no it doesn't
<ljarvis> ledestin: it has defaults but that's it
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ledestin> ljarvis well, headers go to defaults, no?
<ardian> ljarvis, but I have it declared as an array before in the code letters = Array.new
<ljarvis> ledestin: yes, I guess I don't really understand your question. I don't see how "state" is involved
<ljarvis> ardian: yes, but you overwrite that assignment on every loop by writing: letters = [x]
<ledestin> ljarvis as opposed to instance state, where headers would apply to a class instance
<ardian> ljarvis, ahh makes sense
<ljarvis> ledestin: right, I believe it creates a new instance when you make a request which is how you override variables like headers
blackmesa has joined #ruby
<ledestin> ljarvis guess I'll try some testing
sarbs has quit [Ping timeout: 248 seconds]
sarbs has joined #ruby
BtcBen has quit [Ping timeout: 244 seconds]
<ledestin> ljarvis seems like state is per class
evidex has joined #ruby
<ledestin> ljarvis thanks
eregi has joined #ruby
laith has joined #ruby
chouhoulis has joined #ruby
ropeney has joined #ruby
Ebok has joined #ruby
tulak has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 240 seconds]
eregi has quit [Ping timeout: 276 seconds]
krzkrz has quit [Ping timeout: 250 seconds]
ElFerna has quit [Ping timeout: 244 seconds]
coffeecupp has quit [Quit: Leaving]
<EdwardIII> hrm i'm confused, https://gist.github.com/EdwardIII/206235f2598059c86aa5 produces "uninitialized constant Request" but i didn't say Request...
<EdwardIII> i guess it's something to do with trying to translate :request into a model name, but i'm not trying to mock a model, just a plain old object
CloCkWeRX1 has quit [Ping timeout: 240 seconds]
laith has quit [Quit: Leaving.]
mattwildig has joined #ruby
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
terlar has quit [Quit: WeeChat 1.4]
terlar has joined #ruby
moeabdol2 has joined #ruby
moeabdol1 has quit [Ping timeout: 255 seconds]
devbug has joined #ruby
Hounddog has joined #ruby
mattwildig has quit [Ping timeout: 244 seconds]
_djbkd has joined #ruby
elementz is now known as jottr
CloCkWeRX has joined #ruby
trinaldi has joined #ruby
_djbkd has quit [Ping timeout: 250 seconds]
ziyadb has quit [Quit: Connection closed for inactivity]
kalopsian has joined #ruby
krzkrz has joined #ruby
MindfulMonk has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
kalopsian has quit [Ping timeout: 240 seconds]
sgambino has joined #ruby
BTRE has quit [Quit: Leaving]
ElFerna has joined #ruby
dcunit3d has joined #ruby
ElFerna has quit [Ping timeout: 255 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ldnunes has joined #ruby
dlitvak has joined #ruby
* ddv *yawns*
Flakes has quit [Ping timeout: 244 seconds]
<ddv> where are all the cool people
<adaedra> At the pool
<ddv> ohai adaedra
<adaedra> hi ddv
recycle has quit [Ping timeout: 240 seconds]
quazimodo has joined #ruby
chipotle has joined #ruby
Mon_Ouie has joined #ruby
<flughafen> ddv: over in #c++
Ebok has quit [Quit: Leaving]
<ddv> I highly doubt that
LoneHermit has joined #ruby
sudoubuntu has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
_ht has quit [Ping timeout: 240 seconds]
AnoHito_ has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
th__ has quit [Read error: Connection reset by peer]
th_ has joined #ruby
th_ is now known as th__
chouhoulis has joined #ruby
eregi has joined #ruby
c355e3b has quit [Ping timeout: 240 seconds]
cschneid has quit [Ping timeout: 240 seconds]
djbender has quit [Ping timeout: 240 seconds]
bove has quit [Ping timeout: 240 seconds]
akahn has quit [Ping timeout: 240 seconds]
drbrain has quit [Ping timeout: 240 seconds]
sushii has quit [Ping timeout: 240 seconds]
ardian has quit [Ping timeout: 244 seconds]
WizJin has quit [Ping timeout: 240 seconds]
Miron has quit [Ping timeout: 240 seconds]
tylersmith has quit [Ping timeout: 240 seconds]
acerna has quit [Ping timeout: 240 seconds]
ujjain has quit [Max SendQ exceeded]
quazimodo has quit [Ping timeout: 276 seconds]
ujjain has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
avdi has quit [Ping timeout: 240 seconds]
mrsolo has quit [Ping timeout: 240 seconds]
HashNuke has quit [Ping timeout: 240 seconds]
zzak__ has quit [Ping timeout: 240 seconds]
RealMarc has quit [Ping timeout: 240 seconds]
LBRapid has quit [Ping timeout: 240 seconds]
spk has quit [Ping timeout: 240 seconds]
halfdan has quit [Ping timeout: 240 seconds]
Scriptonaut has quit [Ping timeout: 240 seconds]
Eleeleth has quit [Ping timeout: 240 seconds]
djbender has joined #ruby
akahn has joined #ruby
zzak___ has joined #ruby
Y_Ichiro has joined #ruby
Y_Ichiro has joined #ruby
Liam` has quit [Ping timeout: 240 seconds]
akitada has quit [Ping timeout: 240 seconds]
skarn has quit [Ping timeout: 240 seconds]
benlakey has quit [Ping timeout: 240 seconds]
alxndr has quit [Ping timeout: 240 seconds]
twe4ked has quit [Ping timeout: 240 seconds]
Luna_Moonfang has quit [Ping timeout: 240 seconds]
sorah_ has quit [Ping timeout: 240 seconds]
duoi has quit [Ping timeout: 240 seconds]
braderhart has quit [Ping timeout: 240 seconds]
Seich has quit [Ping timeout: 240 seconds]
jokester has quit [Ping timeout: 240 seconds]
AnoHito has quit [Ping timeout: 240 seconds]
podman has quit [Ping timeout: 240 seconds]
jlyndon has quit [Ping timeout: 240 seconds]
Liam` has joined #ruby
phredus has quit [Ping timeout: 240 seconds]
GGMethos has quit [Ping timeout: 240 seconds]
saneax has quit [Ping timeout: 240 seconds]
chrisseaton has quit [Ping timeout: 240 seconds]
Meow-J has quit [Ping timeout: 240 seconds]
borkdude has quit [Ping timeout: 240 seconds]
JoL1hAHN has quit [Ping timeout: 240 seconds]
iooner has quit [Ping timeout: 240 seconds]
mahk has quit [Ping timeout: 240 seconds]
bauruine has quit [Ping timeout: 240 seconds]
bttf has quit [Ping timeout: 240 seconds]
ardian has joined #ruby
nemesit|znc has quit [Ping timeout: 240 seconds]
Y_Ichiro_ has quit [Ping timeout: 240 seconds]
sysanthrope has quit [Ping timeout: 240 seconds]
ElderFain has quit [Ping timeout: 240 seconds]
cbetta has quit [Ping timeout: 240 seconds]
boxrick1 has quit [Ping timeout: 240 seconds]
infernix has quit [Ping timeout: 240 seconds]
troter_______ has quit [Ping timeout: 240 seconds]
jpinnix_______ has quit [Ping timeout: 240 seconds]
borkdude has joined #ruby
phredus has joined #ruby
Eleeleth has joined #ruby
alxndr has joined #ruby
halfdan has joined #ruby
cbetta has joined #ruby
boxrick1 has joined #ruby
neanderslob has quit [Ping timeout: 240 seconds]
benlakey has joined #ruby
HashNuke has joined #ruby
podman has joined #ruby
jlyndon has joined #ruby
neanderslob has joined #ruby
avdi has joined #ruby
c355e3b has joined #ruby
acerna has joined #ruby
sysanthrope has joined #ruby
sushii has joined #ruby
bttf has joined #ruby
braderhart has joined #ruby
jpinnix_______ has joined #ruby
mrsolo has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
bove has joined #ruby
drbrain has joined #ruby
chrisseaton has joined #ruby
eregi has quit [Ping timeout: 255 seconds]
laith has joined #ruby
tubuliferous_ has quit [Ping timeout: 248 seconds]
wmdrossard has joined #ruby
akitada has joined #ruby
spk has joined #ruby
tylersmith has joined #ruby
tubuliferous has joined #ruby
mahk has joined #ruby
iooner has joined #ruby
cschneid has joined #ruby
darkf has quit [Quit: Leaving]
ElderFain has joined #ruby
Seich has joined #ruby
LBRapid has joined #ruby
Scriptonaut has joined #ruby
twe4ked has joined #ruby
nemesit|znc has joined #ruby
duoi has joined #ruby
saneax has joined #ruby
bauruine has joined #ruby
troter_______ has joined #ruby
shredding has joined #ruby
infernix has joined #ruby
Meow-J has joined #ruby
bronson has joined #ruby
norc has joined #ruby
norc has quit [Changing host]
norc has joined #ruby
norc has joined #ruby
<norc> Good day, folks.
<manveru> norc: salve
skarn has joined #ruby
dionysus69 has joined #ruby
Xeago has quit [Remote host closed the connection]
Luna_Moonfang has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 240 seconds]
JoL1hAHN has joined #ruby
jokester has joined #ruby
sorah_ has joined #ruby
Xeago has joined #ruby
GGMethos has joined #ruby
jds has joined #ruby
<EdwardIII> hrm i'm using factory_girl with stub_request = create(:request), but it keeps saying ArgumentError: wrong number of arguments (given 0, expected 1)
<EdwardIII> i'm doing stub_request = create(:request)... but that is 1 argument?
<EdwardIII> and whenever i see examples people seem to be just using one argument too, e.g. deal = Factory.build(:deal)
BTRE has joined #ruby
The_Phoenix1 has joined #ruby
krzkrz has quit [Quit: WeeChat 1.2]
ElFerna has joined #ruby
tvw has joined #ruby
The_Phoenix has quit [Ping timeout: 240 seconds]
momo-reina has joined #ruby
Terens has joined #ruby
<Terens> hello I am trying to install nokogiri
<Terens> and i get error checking if the C compiler accepts ... *** extconf.rb failed ***
<Terens> Could not create Makefile due to some reason, probably lack of necessary
tubuliferous has quit [Ping timeout: 252 seconds]
<EdwardIII> Terens: can you gist your whole output?
<hanmac> Terens: can you tell us more about your OS and if you installed the dev tools? (like the stuff needed to build the extension?)
tubuliferous_ has joined #ruby
<Terens> ubuntu trusty on vagrant
<Terens> ruby with rvm 2.3.0
sdothum has joined #ruby
<Terens> I have installed the tools I dont know why it cant find them
laith has quit [Read error: Connection reset by peer]
laith has joined #ruby
Shaboum has joined #ruby
hnagamin has joined #ruby
WizJin has joined #ruby
graffix has quit [Ping timeout: 276 seconds]
charlemagne has joined #ruby
juanpablo__ has joined #ruby
<EdwardIII> hrm i thought it might show the actual header file it was looking for
<EdwardIII> but extconf is pretty basic, right?
<EdwardIII> Terens: how do you know the build tools are installed?
Xeago has quit [Remote host closed the connection]
<norc> EdwardIII: Look at the stack trace.
<norc> EdwardIII: The error likely is risen from some other method. ;-)
<EdwardIII> norc: my error or Terens?
polysics has joined #ruby
<norc> EdwardIII: No your factorygirl issue.
<EdwardIII> norc: well, that was the whole stacktrace pretty much heh it was very quiet
<norc> I do not see a stacktrace.
<EdwardIII> lemme gist the whole thing
<norc> I just see an error message.
<EdwardIII> also i'm using factory_girl for stubs, and they don't really have anything to do with the db/activesupport. is this wrong?
rbennacer has joined #ruby
<norc> EdwardIII: It smells a bit like you actually want VCR. What exactly are you trying to do?
juanpablo__ has quit [Ping timeout: 252 seconds]
<EdwardIII> norc: just trying to write a test for this incredibly simple method: https://gist.github.com/EdwardIII/de1d893a4a96806de2ae
chipotle has quit [Quit: cheerio]
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<EdwardIII> all i want to do is stub out request.original_url and I18n.available_locales
chipotle has joined #ruby
quazimodo has joined #ruby
dlitvak_ has joined #ruby
shredding has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 276 seconds]
adgtl has joined #ruby
adgtl has quit [Remote host closed the connection]
kobain has joined #ruby
devbug has quit [Ping timeout: 250 seconds]
dlitvak has quit [Ping timeout: 252 seconds]
<EdwardIII> norc: is it because it's trying to create a new ActionDispatch::Request, and that (i think) has 1 required argument?
infra-red has joined #ruby
graffix has joined #ruby
william3 has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
quazimodo has quit [Ping timeout: 276 seconds]
chipotle has joined #ruby
gaxar77 has joined #ruby
<norc> EdwardIII: I do not see your factory.
<EdwardIII> hrm crap wrong gist, one sec let me update
<norc> EdwardIII: And the error message please.
haxrbyte has joined #ruby
dn5 has joined #ruby
<norc> EdwardIII: Or the code that uses the factory.
Xeago has joined #ruby
<EdwardIII> norc: the code that uses the factory is in the same gist, but i've added the error too: https://gist.github.com/EdwardIII/de1d893a4a96806de2ae#file-t-rb-L30
allcentury has joined #ruby
neanderslob has quit [Ping timeout: 255 seconds]
haxrbyte_ has joined #ruby
chouhoulis has joined #ruby
eregi has joined #ruby
LoneHerm_ has joined #ruby
william3 has joined #ruby
Tempesta has quit [Ping timeout: 276 seconds]
chipotle has quit [Quit: cheerio]
laith has quit [Read error: Connection reset by peer]
laith has joined #ruby
haxrbyte has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
momo-reina has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
Tempesta has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
pawnbox_ has joined #ruby
eregi has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 252 seconds]
scepticulous has quit [Ping timeout: 252 seconds]
tubuliferous_ has quit [Ping timeout: 252 seconds]
tubuliferous_ has joined #ruby
scripore has joined #ruby
haxrbyte has joined #ruby
blackmesa has joined #ruby
haxrbyte_ has quit [Ping timeout: 276 seconds]
iamvery has quit [Ping timeout: 240 seconds]
<EdwardIII> this seems to be the bit which is actually causing the exception: https://gist.github.com/EdwardIII/de1d893a4a96806de2ae
Mon_Ouie has quit [Ping timeout: 250 seconds]
<EdwardIII> maybe the minitest machinery is somehow chewing up the stacktrace?
<EdwardIII> hmm wait nope, it's deeper
chipotle has quit [Quit: cheerio]
mattwildig has joined #ruby
chipotle has joined #ruby
kalopsian has joined #ruby
lpvb has quit [Ping timeout: 240 seconds]
haxrbyte_ has joined #ruby
blackgoat has joined #ruby
FooMunki has quit [Quit: FooMunki]
<EdwardIII> i think it's because it's trying to do some kind of ActiveSupport::notification, when it's not a model
FooMunki has joined #ruby
<EdwardIII> increasingly i feel like factory_girl is a bad idea for this job
mattwildig has quit [Ping timeout: 240 seconds]
platzhirsch has quit [Quit: Leaving.]
kalopsian has quit [Ping timeout: 276 seconds]
haxrbyte has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
konsolebox has joined #ruby
kam270 has quit [Quit: Leaving]
tulak has joined #ruby
<EdwardIII> ok so 'yield payload if block_given?' block_given? == true, and payload is {:name=>:request, :strategy=>:build_stubbed}. but if i manually run yield payload ruby says *** ArgumentError Exception: wrong number of arguments (given 0, expected 1)
chipotle has quit [Quit: cheerio]
atmosx has quit [Quit: This is aparting message!]
Xeago has quit [Remote host closed the connection]
konsolebox has quit [Max SendQ exceeded]
chipotle has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
f4cl3y has quit [Ping timeout: 248 seconds]
Xeago has joined #ruby
<norc> EdwardIII: I do not think you are seeing the full stack trace there.
synthroid has joined #ruby
<norc> Unless you managed to somehow hit a serious ruby bug.
gagrio has quit [Ping timeout: 240 seconds]
<norc> ast>> build_stubbed(:request)
<ruby[bot]> norc: I have parsed your code, the result is at https://eval.in/523172
<norc> Which shows clearly that this is passing an argument.
<EdwardIII> hrm i did upgrade ruby recently, maybe i'm using an old version of rails/factory_girl or something?
yfeldblum has quit [Ping timeout: 250 seconds]
FooMunki has quit [Quit: FooMunki]
<norc> EdwardIII: I have not much experience with factory_girl. I can just tell you that you are not getting the full stack trace that you actually need.
<EdwardIII> norc: i agree
FooMunki has joined #ruby
<EdwardIII> norc: from putting the debugger on it i can see the exception happens at a different place in the stack
<norc> EdwardIII: Are you running this from pry?
<EdwardIII> byebug
<EdwardIII> well the debugging is from byebug
<EdwardIII> otherwise i'm running it from ruby -v -I'lib::test' test/controllers/concerns/extract_locale_test.rb
pawnbox has joined #ruby
<EdwardIII> maybe minitest hides some of the stacktrace
haxrbyte has joined #ruby
<norc> EdwardIII: It is quite likely.
haxrbyte has quit [Read error: Connection reset by peer]
<EdwardIII> indeed it is, here's the full trace: https://gist.github.com/EdwardIII/de1d893a4a96806de2ae#file-debugger
<norc> :)
ixti has quit [Quit: WeeChat 1.4]
haxrbyte has joined #ruby
monsieurp has left #ruby [#ruby]
<EdwardIII> rails 4.2.4, pretty recent
swills has quit [Ping timeout: 240 seconds]
<norc> EdwardIII: Anyhow, the issue is quite obvious now.
<EdwardIII> it's trying to initialize Request.new but without the required constructor param?
haxrbyte_ has quit [Ping timeout: 240 seconds]
<ddv> EdwardIII: please upgrade your rails version
<norc> EdwardIII: Exactly. You need to provide a initialize_with callback to your factory_girl factory.
<ddv> since your version contains several recently discoverd vulns
<EdwardIII> norc: ahhhhhh
<EdwardIII> ddv: ok, upgrading now
schuc has quit [Quit: HydraIRC -> http://www.hydrairc.com <- IRC with a difference]
laith has quit [Quit: Leaving.]
<EdwardIII> norc: that's what i predicted first off heh
* EdwardIII pats himself on the back
pawnbox has quit [Ping timeout: 244 seconds]
aupadhye has quit [Quit: Leaving]
<EdwardIII> ddv: 4.2.5 right?
<norc> EdwardIII: The issue stems from factory_girl being designed to work with ActiveRecord basically. Using it for anything else usually requires skip_create and initialize_with - at which point its questionable why you want factory_girl in the first place
<EdwardIII> norc: that's also what i said
<ddv> EdwardIII 4.2.5.1
CloCkWeRX has quit [Ping timeout: 252 seconds]
Guest11 has joined #ruby
<EdwardIII> in python i'd just use the mock lib and say "return this answer whenever .original_url is called" and i'd use factory_boy for model-only related stuff
chipotle has quit [Quit: cheerio]
Guest11 has quit [Max SendQ exceeded]
<norc> EdwardIII: I just use VCR in rspec to achieve a similar effect.
chipotle has joined #ruby
diegoviola has joined #ruby
pawnbox has joined #ruby
<norc> EdwardIII: Or just the underlying mechanism: https://github.com/chrisk/fakeweb
<EdwardIII> norc: i'm definitly going to be plugging in VCR for some other stuff
<EdwardIII> norc: for my remote api integration tests
<norc> Oh Im sorry that is grossly outdated.
<EdwardIII> i've used php-vcr
<norc> Of course.
<norc> EdwardIII: You should look at it, apparently it integrates into MiniTest too :)
<norc> Seems like this is exactly what you want.
<EdwardIII> norc: well in this case i'm not sure it is
<EdwardIII> this method gets called whenever you hit a rails page, i wouldn't need vcr if i was doing an integration tests because rails is always there and available for me to use and is fairly determisitic
<norc> EdwardIII: I meant webmock
<EdwardIII> i could just GET /en/something
ping-pong has quit [Ping timeout: 255 seconds]
<EdwardIII> ah ok
<norc> Which does that exactly.
william3 has joined #ruby
<EdwardIII> cool i'll check it out
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<adaedra> All of this sounds a bit railsy, no?
<norc> webmock is not railsy
gagrio has joined #ruby
saneax is now known as saneax_AFK
Miron has joined #ruby
DmitryBochkarev has joined #ruby
rbennacer has joined #ruby
f4cl3y has joined #ruby
pawnbox has quit [Remote host closed the connection]
quazimodo has joined #ruby
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
polysics has quit []
rbennacer has quit [Ping timeout: 255 seconds]
haxrbyte has quit [Remote host closed the connection]
fourq|away is now known as fourq
pawnbox has quit [Ping timeout: 240 seconds]
haxrbyte has joined #ruby
mondok has joined #ruby
Yzguy has joined #ruby
kam270 has joined #ruby
kam270 has quit [Max SendQ exceeded]
kam270 has joined #ruby
pawnbox has joined #ruby
rohit has joined #ruby
solocshaw has joined #ruby
chipotle has quit [Quit: cheerio]
jimcroft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CloCkWeRX has joined #ruby
jimcroft has joined #ruby
xpt has quit [Ping timeout: 248 seconds]
trinaldi has quit [Quit: WeeChat 1.5-dev]
dlitvak has joined #ruby
Guest34101 has quit [Ping timeout: 276 seconds]
norc has quit [Quit: Page closed]
shazaum has joined #ruby
dlitvak_ has quit [Ping timeout: 248 seconds]
trinaldi has joined #ruby
chouhoulis has joined #ruby
eregi has joined #ruby
shevy has quit [Remote host closed the connection]
krz has joined #ruby
LoneHermit has joined #ruby
sgambino has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
shevy has joined #ruby
openstruct has joined #ruby
aryaching has joined #ruby
openstru_ has joined #ruby
eregi has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
voobscout has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
tvw has joined #ruby
openstruct has quit [Read error: No route to host]
openstruct has joined #ruby
johnmilton has joined #ruby
mondok has quit [Ping timeout: 276 seconds]
aryaching has quit [Ping timeout: 255 seconds]
xpt has joined #ruby
hnagamin has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
openstru_ has quit [Ping timeout: 255 seconds]
stannard has joined #ruby
chipotle has joined #ruby
dlitvak_ has joined #ruby
blackgoat has quit [Quit: WeeChat 1.3]
aryaching has joined #ruby
f4cl3y has quit [Ping timeout: 240 seconds]
dlitvak has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
B1n4r10 has quit [Ping timeout: 244 seconds]
steffkes has joined #ruby
steffkes has quit [Changing host]
steffkes has joined #ruby
dmolina has quit [Quit: Leaving.]
WizJin has quit [Ping timeout: 240 seconds]
ESpiney has joined #ruby
<Terens> Hello
<Terens> On github the latest brach is trunk ?
shevy has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 244 seconds]
voobscout has quit [Quit: bye]
shevy has joined #ruby
idefine has quit [Remote host closed the connection]
shevy has quit [Remote host closed the connection]
voobscout has joined #ruby
shevy has joined #ruby
<ddv> Terens: master
_djbkd has joined #ruby
idefine has joined #ruby
the_drow has joined #ruby
kam270 has quit [Quit: Leaving]
<havenwood> Terens: But yeah in the case of the Ruby repo, trunk is master.
gagrio has quit [Ping timeout: 250 seconds]
<Terens> So the next version will come from trunk ?
<Terens> Because I see 2_3 branch latest
blackmesa has quit [Ping timeout: 240 seconds]
shazaum has quit [Read error: Connection reset by peer]
moos3 has joined #ruby
idefine has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
hayden_ has joined #ruby
_djbkd has quit [Ping timeout: 276 seconds]
chipotle has quit [Quit: cheerio]
kalopsian has joined #ruby
Snowy has quit [Remote host closed the connection]
chipotle has joined #ruby
haylon has joined #ruby
idefine has joined #ruby
gagrio has joined #ruby
juanpablo__ has joined #ruby
A124 has quit [Quit: '']
duckpupp1 has joined #ruby
charlemagne has quit [Remote host closed the connection]
<darix> Terens: 2.4 will be trunk. 2.3.x from the 2.3 branch
charlemagne has joined #ruby
awe_ has quit [Ping timeout: 248 seconds]
haxrbyte has quit [Remote host closed the connection]
BtcBen has joined #ruby
haxrbyte has joined #ruby
shazaum has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
ramortegui has joined #ruby
daivyk has joined #ruby
sankaber has joined #ruby
charlemagne has quit [Ping timeout: 244 seconds]
dlitvak_ has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
A124 has joined #ruby
jas02 has joined #ruby
solars has joined #ruby
chipotle has joined #ruby
charlemagne has joined #ruby
Guest34101 has joined #ruby
rbennacer has joined #ruby
Jardayn has joined #ruby
godzillaenlacasa has joined #ruby
rbennacer has quit [Ping timeout: 252 seconds]
techietrash has quit [Max SendQ exceeded]
tulak has quit [Read error: Connection reset by peer]
techietrash has joined #ruby
techietrash has joined #ruby
techietrash has quit [Changing host]
tulak has joined #ruby
mikecmpbll has joined #ruby
adgtl has joined #ruby
charlemagne has quit [Remote host closed the connection]
blackmesa has joined #ruby
charlemagne has joined #ruby
Jonah11_ has joined #ruby
chipotle has quit [Quit: cheerio]
steffkes has quit [Ping timeout: 244 seconds]
kerunaru has joined #ruby
chipotle has joined #ruby
voobscout has quit [Ping timeout: 250 seconds]
f4cl3y has joined #ruby
chthon has joined #ruby
f4cl3y has quit [Max SendQ exceeded]
dlitvak has joined #ruby
gaxar77 has quit [Ping timeout: 252 seconds]
charlemagne has quit [Ping timeout: 276 seconds]
gaxar77 has joined #ruby
platzhirsch has joined #ruby
f4cl3y has joined #ruby
steffkes has joined #ruby
dlitvak has quit [Remote host closed the connection]
malconis has joined #ruby
dlitvak has joined #ruby
Mon_Ouie has joined #ruby
malconis has quit [Remote host closed the connection]
PedramT has joined #ruby
fmcgeough has joined #ruby
malconis has joined #ruby
cdg has joined #ruby
idefine has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
chouhoulis has joined #ruby
eregi has joined #ruby
PedramT has quit [Ping timeout: 248 seconds]
ItSANgo_ has quit [Quit: Leaving...]
chipotle has quit [Quit: cheerio]
<dn5> Could someone give me a hint on this problem
ferr has joined #ruby
<dn5> To dinamicly get Y (as a number) and random(1..Y) ?
chipotle has joined #ruby
voobscout has joined #ruby
TomPeed has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
eregi has quit [Ping timeout: 240 seconds]
dlitvak has quit [Ping timeout: 252 seconds]
idefine has joined #ruby
tulak has quit [Remote host closed the connection]
speaking1ode has quit [Ping timeout: 250 seconds]
mhoungbo has quit [Quit: Quitte]
william3 has quit [Remote host closed the connection]
whippythellama has joined #ruby
kerunaru has quit [Quit: Textual IRC Client: www.textualapp.com]
ferr has quit [Quit: WeeChat 1.4]
<dn5> anyone?
<shevy> dn5 do require 'pp'; pp object
<adaedra> &ri rand
dlitvak has joined #ruby
<adaedra> (Don't forget to read the "See also".)
william3 has joined #ruby
<dn5> adaedra: I know how to generate random number
<gregf_> >> foo = %w{bar baz} p foo[rand foo.size]
<ruby[bot]> gregf_: # => /tmp/execpad-64cd35bc2b9c/source-64cd35bc2b9c:2: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/523215)
ocbtec is now known as ocbtec_AFK
<dn5> shevy: Whats that?
idefine has quit [Read error: Connection reset by peer]
hxegon has joined #ruby
godzillaenlacasa has quit [Quit: ZZZZZ....]
shredding has joined #ruby
idefine has joined #ruby
<shevy> dn5 it'll output your data structure nicely which will make the code easier to see for you
<TheBrayn> c[c.keys.sample]['place']
<shevy> since I assume that you can already solve this if you don't use yaml :)
<TheBrayn> dn5: ^
djcp has joined #ruby
bronson has joined #ruby
<dn5> ah
<adaedra> c.values.sample['place'] could also work.
<dn5> let me check
mrknip has quit [Ping timeout: 240 seconds]
<dn5> this will return number of places, right?
<TheBrayn> adaedra: I like your solution better than mine
mattwildig has joined #ruby
<adaedra> Well it's one call shorter :p
awe_ has joined #ruby
<TheBrayn> and it's not nested
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
chipotle has quit [Quit: cheerio]
<dn5> adaedra: Yes, that works. But, what If I have to gather another information from for e.g. place #1, lets say 1: => place: "Place 1" url: "example.com"
dfinninger has joined #ruby
<adaedra> from your random place, right?
chipotle has joined #ruby
<adaedra> just get c.values.sample and work on it.
<dn5> I could do @c[x][place]; @c[x][url]
juanpablo___ has joined #ruby
SenpaiSilver has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Xeago has quit [Remote host closed the connection]
juanpablo___ has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
mattwildig has quit [Ping timeout: 252 seconds]
juanpablo___ has joined #ruby
juanpablo__ has quit [Read error: Connection reset by peer]
<dn5> adaedra: right, but it would randomise place and url, and they wouldn't be at the same place for e.g. 1
<adaedra> place = c.values.sample; place[place], place[url]
Xeago has joined #ruby
<adaedra> I forgot the '' but you get the idea
william3 has quit [Remote host closed the connection]
<adaedra> otherwise, if you're afraid, take TheBrayn's solution with x = c.keys.sample and roll your way, but you're doing unneeded accesses to your hash.
B1n4r10 has joined #ruby
stannard has joined #ruby
s00pcan has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
william3 has joined #ruby
<dn5> adaedra: your method is fine, and it rocks
<dn5> adaedra: who would say it's that easy
<dn5> I always complicate things
<adaedra> Ruby.
<adaedra>
weemsledeux has joined #ruby
Snowy has joined #ruby
<dn5> Ah, riiight hehe
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
ItSANgo has joined #ruby
juanpablo____ has joined #ruby
PedramT has joined #ruby
juanpablo____ has quit [Read error: Connection reset by peer]
mattwildig has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
ocbtec_AFK is now known as ocbtec
juanpablo___ has quit [Read error: Connection reset by peer]
idefine has quit [Remote host closed the connection]
juanpablo____ has joined #ruby
CloCkWeRX has quit [Remote host closed the connection]
<shevy> keep things simple
<shevy> keep datastructures simple
idefine has joined #ruby
PedramT has quit [Remote host closed the connection]
<kaleido> keep it simple stupid :D
HalcyonicStorm has joined #ruby
anisha has quit [Quit: Leaving]
phredus has quit [Ping timeout: 240 seconds]
phredus has joined #ruby
PedramT has joined #ruby
rohit has quit [Quit: Leaving]
nofacade has joined #ruby
<shevy> no, stupid is not good, we already have php
Jonah11_ has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
victorzimmer has joined #ruby
x77686d has joined #ruby
iamvery has joined #ruby
floatingpoint has joined #ruby
Yzguy has quit [Quit: Zzz...]
sankaber has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 276 seconds]
sankaber has joined #ruby
<dn5> shevy: can't agree more .. was php dev for years, now transition to rails
ta_ has quit [Remote host closed the connection]
Jonah11_ has joined #ruby
AlexRussia has quit [Ping timeout: 248 seconds]
<SebastianThorn> when i need a break, i sometimes read php-code for the lulz
william3 has quit [Remote host closed the connection]
adgtl_ has joined #ruby
IrishGringo has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
rbennacer has joined #ruby
dhollinger has joined #ruby
adgtl_ has quit [Client Quit]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
floatingpoint has quit [Quit: Textual IRC Client: www.textualapp.com]
floatingpoint has joined #ruby
floatingpoint has quit [Remote host closed the connection]
floatingpoint has joined #ruby
awe_ has quit [Ping timeout: 240 seconds]
BtcBen has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 240 seconds]
melter has quit [Quit: Client exiting]
william3 has joined #ruby
tubuliferous_ has quit [Ping timeout: 252 seconds]
aganov has quit [Remote host closed the connection]
mary5030 has joined #ruby
chipotle has quit [Quit: cheerio]
adgtl_ has joined #ruby
PedramT has joined #ruby
lxsameer has quit [Quit: Leaving]
dfinninger has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 276 seconds]
adgtl_ has quit [Client Quit]
william3 has quit [Ping timeout: 255 seconds]
konr has joined #ruby
dopie has quit [Quit: Lost terminal]
voobscout has quit [Quit: bye]
Ishido has joined #ruby
<adaedra> When I need a break, I come read #ruby, and become sad because I see we're discussing another language.
skade has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aryaching has quit []
sgambino has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
eladmeidar has joined #ruby
AlexRussia has joined #ruby
jimcroft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
sgambino has quit [Client Quit]
sgambino has joined #ruby
ss_much has joined #ruby
<ddv> adaedra: shevy and his damn php
blandflakes has joined #ruby
<ddv> his fav language
hnagamin has joined #ruby
<adaedra> I thought it was Java?
<adaedra> Because it's the top on TIOBE
babblebre has joined #ruby
PedramT has quit [Ping timeout: 252 seconds]
pdoherty has joined #ruby
eregi has joined #ruby
laith has joined #ruby
idefine_ has joined #ruby
Marsupermammal has joined #ruby
idefine has quit [Ping timeout: 250 seconds]
polishdub has joined #ruby
* hanmac and no one else does care about TIOBE ;P
Scriptonaut has left #ruby [#ruby]
maletor has joined #ruby
<adaedra> exactly.
ElFerna has quit [Ping timeout: 240 seconds]
cpruitt has joined #ruby
rkazak has quit [Ping timeout: 276 seconds]
Jonah11_ has quit [Remote host closed the connection]
william3 has joined #ruby
futilegames has joined #ruby
tjohnson has joined #ruby
Marsupermammal has quit [Client Quit]
eregi has quit [Ping timeout: 252 seconds]
Xeago has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
dhf has joined #ruby
mary5030 has joined #ruby
Jonah11_ has joined #ruby
adgtl has quit [Remote host closed the connection]
Xeago has joined #ruby
rbennacer has joined #ruby
treehug88 has joined #ruby
Yzguy has joined #ruby
idefine_ has quit [Read error: Connection reset by peer]
mdih has joined #ruby
ljames has joined #ruby
allcentury has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
schaary is now known as schaary|afk
infra-red has quit []
dionysus69 has quit [Ping timeout: 250 seconds]
shevy has quit [Quit: ""]
Jonah11_ has quit [Ping timeout: 244 seconds]
fedexo has joined #ruby
shevy has joined #ruby
dannluciano has quit [Quit: ZNC - http://znc.in]
B1n4r10 has quit [Ping timeout: 276 seconds]
dlitvak has joined #ruby
Xeago has quit [Remote host closed the connection]
joonty has quit [Quit: Leaving]
idefine has joined #ruby
mattwildig has quit [Ping timeout: 248 seconds]
mattwildig has joined #ruby
idefine has quit [Remote host closed the connection]
zast has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
shevy has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
idefine has joined #ruby
dfinninger has joined #ruby
Xeago has quit [Remote host closed the connection]
jas02 has quit [Quit: jas02]
joonty has joined #ruby
eregi has joined #ruby
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
B3rg3lm1r has joined #ruby
kies^ has joined #ruby
_djbkd has joined #ruby
unl0ckd has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
marr has quit [Read error: Connection reset by peer]
kmckelvin has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
_djbkd has quit [Ping timeout: 244 seconds]
unl0ckd has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
mattwild_ has joined #ruby
mattwildig has quit [Ping timeout: 240 seconds]
MindfulMonk has quit [Ping timeout: 255 seconds]
steffkes has quit [Ping timeout: 250 seconds]
godzillaenlacasa has joined #ruby
Gnut has joined #ruby
chouhoulis has joined #ruby
victorzimmer has quit [Remote host closed the connection]
Sucks has joined #ruby
idefine has quit [Read error: Connection reset by peer]
n1colas has quit [Quit: WeeChat 1.4]
codecop has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 244 seconds]
kmckelvin has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
n1colas has joined #ruby
gizmore has joined #ruby
<platzhirsch> The problem is that Rails is becoming the new PHP
dionysus69 has joined #ruby
Jonah11_ has joined #ruby
<adaedra> Aw, you're starting trolls just as I'm leaving.
mattwild_ has quit [Remote host closed the connection]
<gregf_> haha, PHP 7 is quite fast
<gizmore> platzhirsch: actually i extend ActiveController and eval("php -r controller.php")
<platzhirsch> and I don't know how to cut Ruby loose from it so it doesn't drag us into the abyss
mrknip has joined #ruby
synthroid has quit [Remote host closed the connection]
Marsupermammal has joined #ruby
mark2 has quit [Remote host closed the connection]
skade has joined #ruby
rcvalle has joined #ruby
Marsupermammal has quit [Client Quit]
idefine has joined #ruby
MindfulMonk has joined #ruby
Gnut_ has joined #ruby
cschneid_ has joined #ruby
Abrin has joined #ruby
dlitvak_ has joined #ruby
Gnut has quit [Ping timeout: 240 seconds]
idefine has quit [Ping timeout: 244 seconds]
terminalrecluse has joined #ruby
dlitvak has quit [Ping timeout: 252 seconds]
dopamean_ has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby
kmckelvin has quit [Ping timeout: 248 seconds]
maletor has joined #ruby
dfinninger has joined #ruby
dlitvak_ has quit [Ping timeout: 248 seconds]
PedramT_ has joined #ruby
fedexo has quit [Ping timeout: 250 seconds]
diegoviola has quit [Quit: WeeChat 1.4]
dlitvak has joined #ruby
mattwildig has joined #ruby
KensoDev has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
idefine has joined #ruby
sneakerhax has quit [Ping timeout: 255 seconds]
B3rg3lm1r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gnut has joined #ruby
hxegon has quit [Ping timeout: 276 seconds]
hnagamin has quit [Quit: WeeChat 1.3]
voobscout has joined #ruby
jeanlinux has quit [Remote host closed the connection]
hxegon has joined #ruby
jeanlinux has joined #ruby
PedramT has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
PedramT_ has quit [Ping timeout: 255 seconds]
sgambino has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
Gnut_ has quit [Ping timeout: 252 seconds]
lucas has joined #ruby
r4z3r has quit [Max SendQ exceeded]
The_Phoenix1 has quit [Quit: Leaving.]
r4z3r has joined #ruby
dlitvak has joined #ruby
MindfulM_ has joined #ruby
gaxar77 has quit [Ping timeout: 252 seconds]
jeanlinux has quit [Ping timeout: 255 seconds]
r4z3r has quit [Max SendQ exceeded]
baweaver has joined #ruby
idefine has quit [Remote host closed the connection]
r4z3r has joined #ruby
PedramT_ has joined #ruby
dopamean_ has joined #ruby
PedramT has quit [Ping timeout: 276 seconds]
tomchapin has joined #ruby
mondok has joined #ruby
MindfulMonk has quit [Ping timeout: 250 seconds]
idefine has joined #ruby
voobscout has quit [Quit: bye]
SCHAAP137 has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
KensoDev has quit [Quit: Textual IRC Client: www.textualapp.com]
voobscout has joined #ruby
idefine has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
PedramT_ has quit [Ping timeout: 276 seconds]
voobscout has quit [Client Quit]
steffkes has joined #ruby
idefine has joined #ruby
schaary|afk is now known as schaary
despai has joined #ruby
beneggett has joined #ruby
failshell has joined #ruby
nando293921 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
skweek has quit [Remote host closed the connection]
synthroid has joined #ruby
steffkes has quit [Ping timeout: 255 seconds]
skade has joined #ruby
flughafen_ has joined #ruby
flak has joined #ruby
solars has quit [Ping timeout: 244 seconds]
decoponio has joined #ruby
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
bronson has joined #ruby
rippa has quit [Ping timeout: 276 seconds]
marxarelli has joined #ruby
steffkes has joined #ruby
marr has joined #ruby
ta_ has joined #ruby
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
rippa has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
steffkes has quit [Ping timeout: 250 seconds]
_ht has joined #ruby
skweek has joined #ruby
dlitvak has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
beneggett has quit [Quit: (╯°□°)╯︵ ┻━┻) - keep on keeping on]
amclain has joined #ruby
dlitvak has joined #ruby
Asher has joined #ruby
chipotle has joined #ruby
shredding has quit [Ping timeout: 248 seconds]
<tubbo> platzhirsch: lol
<platzhirsch> :[
vdamewood has joined #ruby
KnownSyntax has quit [Read error: Connection reset by peer]
symm- has joined #ruby
<HalcyonicStorm> tubbo: hi
Snowy has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
Guest34101 has quit [Ping timeout: 252 seconds]
dlitvak has quit [Ping timeout: 276 seconds]
TomyLobo has joined #ruby
diegoviola has joined #ruby
PedramT has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
joonty has quit [Ping timeout: 250 seconds]
eregi has quit [Ping timeout: 244 seconds]
steffkes has joined #ruby
RegulationD has quit []
eregi has joined #ruby
kalopsia1 has joined #ruby
canton7 has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 252 seconds]
canton7 has joined #ruby
canton7 has quit [Remote host closed the connection]
LoneHermit has joined #ruby
moos3 has quit [Ping timeout: 248 seconds]
nettoweb has joined #ruby
shevy has joined #ruby
Jonah11_ has quit []
canton7 has joined #ruby
IrishGringo has quit [Ping timeout: 250 seconds]
Hounddog has quit [Ping timeout: 250 seconds]
astrofog has joined #ruby
agit0 has joined #ruby
sneakerhax has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
Gnut_ has joined #ruby
FooMunki has left #ruby [#ruby]
laith has quit [Ping timeout: 252 seconds]
f4cl3y has quit [Ping timeout: 255 seconds]
LoneHermit has quit [Ping timeout: 244 seconds]
jeanlinux has joined #ruby
rcvalle has quit [Ping timeout: 255 seconds]
dlitvak has joined #ruby
Jackneill has joined #ruby
Gnut has quit [Ping timeout: 248 seconds]
mrknip has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Computer has gone to sleep.]
B3rg3lm1r has joined #ruby
kmckelvin has joined #ruby
jmignault has joined #ruby
canton7 has quit [Quit: ZNC - http://znc.in]
rcvalle has joined #ruby
canton7 has joined #ruby
chthon has quit [Quit: Ex-Chat]
Kang0 has joined #ruby
idefine has quit [Read error: Connection reset by peer]
B3rg3lm1r has quit [Client Quit]
idefine has joined #ruby
KensoDev has joined #ruby
failshell has quit [Remote host closed the connection]
canton7 has quit [Client Quit]
polishdub has quit [Quit: Leaving]
canton7 has joined #ruby
B3rg3lm1r has joined #ruby
chipotle has quit [Quit: cheerio]
kalopsian has quit [Quit: leaving]
hayden_ has quit [Quit: Connection closed for inactivity]
podman has quit [Quit: Connection closed for inactivity]
chipotle has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
swills has joined #ruby
Sucks has quit [Quit: No Ping reply in 180 seconds.]
Gnut has joined #ruby
MindfulM_ has quit [Ping timeout: 255 seconds]
Gnut_ has quit [Read error: Connection reset by peer]
Sucks has joined #ruby
idefine has quit [Remote host closed the connection]
steffkes has quit [Ping timeout: 252 seconds]
B1n4r10 has joined #ruby
blackjid has quit [Max SendQ exceeded]
awe__ has joined #ruby
SCHAAP137 has joined #ruby
blackjid has joined #ruby
rakm has joined #ruby
Gnut has quit [Ping timeout: 255 seconds]
Gnut has joined #ruby
aadam21 has joined #ruby
steffkes has joined #ruby
B1n4r10 has quit [Ping timeout: 240 seconds]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
dlitvak has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
rakm has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
Gnut has quit [Ping timeout: 252 seconds]
sgambino has joined #ruby
celly has joined #ruby
kobain has quit [Ping timeout: 260 seconds]
baweaver has joined #ruby
Gnut has joined #ruby
lurch_ has quit [Quit: lurch_]
aufi has quit [Ping timeout: 250 seconds]
rakm has joined #ruby
speakingcode has quit [Remote host closed the connection]
idefine has joined #ruby
evidex has quit [Ping timeout: 240 seconds]
idefine has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 250 seconds]
dlitvak has joined #ruby
saneax is now known as saneax_AFK
charlemagne has joined #ruby
mattwildig has quit [Remote host closed the connection]
devbug has joined #ruby
anisha has joined #ruby
lemur has joined #ruby
ElFerna has joined #ruby
idefine has joined #ruby
victorzimmer has joined #ruby
charlemagne has quit [Remote host closed the connection]
charlemagne has joined #ruby
replay has joined #ruby
charlemagne has quit [Read error: Connection reset by peer]
<[spoiler]> Wisdom of the day "shevy: no, stupid is not good, we already have php"
<[spoiler]> :D
chipotle has quit [Quit: cheerio]
<shevy> :)
chipotle has joined #ruby
astrofog has quit [Quit: Quite]
lemur has quit [Ping timeout: 250 seconds]
<[spoiler]> the fuck is tiobe even
beanHolez has joined #ruby
bronson has joined #ruby
bricker has joined #ruby
_djbkd has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
<[spoiler]> I am not a huge fan of Rails. I feel like it's size is monstrous, and it does come with certain performance issues, sadly. However, I'd still use it over PHP-on-anything.
Guest34101 has joined #ruby
_djbkd has joined #ruby
Alayde has joined #ruby
dlitvak has quit [Remote host closed the connection]
brendan- has joined #ruby
<haylon> why not use Lotus, or Sinatra?
TinkerTyper has joined #ruby
<shevy> tiobe is really strange, but I think the latest increase in perl has to do with perl 6, and then probably more google-searches and other searches, which then somehow found its way onto tiobe (though of course it may well be just totally random too)
<[spoiler]> I love sinatra, haylon!
elifoster has joined #ruby
DmitryBochkarev has quit [Quit: Leaving]
<haylon> I love sinatra too for quick, lightweight stuff
podman has joined #ruby
<haylon> I discovered Lotus not too long afterwards, which seems a moderate mix between Rails, and Sinatra
B1n4r10 has joined #ruby
<Papierkorb> I think what rails really does well is quickly getting something up and running. And as long you painstakenly play by its rules, it works fine for the most part. If you need to deviate however things get funny
afaris has joined #ruby
afaris has quit [Changing host]
afaris has joined #ruby
Alayde has left #ruby [#ruby]
blackmesa has joined #ruby
<[spoiler]> haylon: didn't lotus change name to hasuhime or something?
godzillaenlacasa has quit [Quit: ZZZZZ....]
<Papierkorb> That, and I don't agree that everything that's not a View nor Controller is a Model :)
<haylon> Papierkorb, yes, true, but as I'm learning, there's a lot more work than just using a DSL like Sinatra
<[spoiler]> LOL hasuhime is my friend's twitter handle
<[spoiler]> Lotus changed name to hanamari
<[spoiler]> erm
<[spoiler]> hanamir
<haylon> [spoiler], yes they did
<haylon> just recently
<[spoiler]> hanami**
lsmola has quit [Ping timeout: 248 seconds]
<[spoiler]> gosh, I can't typu
<[spoiler]> ironic.
IrishGringo has joined #ruby
bMalum has joined #ruby
<Papierkorb> haylon: Absolutely. Rails is really good at what it does. It certainly goes by convention over configuration, which does limit flexibility. If you need that flexibility you'll either have to bend some things, or use something different. That's by design and not really rails fault IMO
denym_ is now known as zz_denym_
mrmargolis has joined #ruby
dfinninger has joined #ruby
tubulife- has joined #ruby
unl0ckd has joined #ruby
<[spoiler]> If you learn its conventions it's pretty fast in terms of dev time, I agree. However, unless you carefully add caching mechanisms in the right places, it can be a strain on the resources
DmitryBochkarev has joined #ruby
william3 has quit [Remote host closed the connection]
DmitryBochkarev has quit [Max SendQ exceeded]
chipotle has quit [Quit: cheerio]
DmitryBochkarev has joined #ruby
<[spoiler]> It's good that rails comes with its caching mechanism built in, though, but it's tricky to get right from my experience (I was a much shitteir programmer than, I'm a bit less shitty now so maybe it would be easier)
william3 has joined #ruby
chipotle has joined #ruby
al2o3-cr has joined #ruby
mikecmpbll has joined #ruby
Eiam has joined #ruby
spider-mario has joined #ruby
<shevy> haylon how do they make the strange icon on the left side of "Full featured, but lightweight" on that page?
mattwildig has joined #ruby
awe__ has quit [Ping timeout: 250 seconds]
<haylon> I'm not sure shevy
<[spoiler]> shevy: it's supposed to be a feather
<haylon> looks like its part of the background image rather than its own image
<[spoiler]> it's a font
<[spoiler]> a typeface, rather
elifoster has quit [Ping timeout: 244 seconds]
<haylon> speaking a whole different language to me there
william3 has quit [Ping timeout: 250 seconds]
<[spoiler]> `icon.icon-feather::before` is the selector for the feather
chouhoul_ has joined #ruby
steffkes has quit [Ping timeout: 255 seconds]
<[spoiler]> and the typeface is called `toolkit-entypo`
<haylon> Ahh, I'm not completely up on teh front end development stuff for CSS or anything like that.
<[spoiler]> Ah, I'm (sadly) a "full-stack" developer
<mg^> looks like an oak leaf more than a feather
<shevy> hmm how strange
[Butch] has joined #ruby
<[spoiler]> mg^: you're right!
chouhou__ has joined #ruby
<haylon> [spoiler], aren't we all fancy? lol, front end stuff just baffles me.
cpup has quit [Ping timeout: 252 seconds]
<[spoiler]> I associated it with a feather only because it said "lightweight" next to it
chouhoulis has quit [Ping timeout: 276 seconds]
despai has joined #ruby
jottr has joined #ruby
<mg^> Thankfully I am in systems and not webby stuff. The closest to webby stuff I get to is using or occasionally implementing REST/SOAP/XMl-RPC APIs.
cpup has joined #ruby
voobscout has joined #ruby
<mg^> I agree with you that a feather is probably what they were going for.
jottr has quit [Read error: Connection reset by peer]
jeanlinux has quit [Remote host closed the connection]
moos3 has joined #ruby
jeanlinux has joined #ruby
chouhoul_ has quit [Ping timeout: 276 seconds]
godzillaenlacasa has joined #ruby
chipotle has quit [Quit: cheerio]
shadoi has joined #ruby
<[spoiler]> mg^: I am actually a system developer (mostly work with C), but I do enjoy web development a lot; it's kind of a hobby. I am more partial to backend, though
diego_ has joined #ruby
<diego_> anyone can help me understand what pack does?
<diego_> i need to port this line to go
<diego_> Array.new(10){ rand(0x100000000) }.pack('I*')
joonty has joined #ruby
B3rg3lm1r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<diego_> but i don't know for sure what pack('I') does
dfinninger has quit [Remote host closed the connection]
johnnyt has quit [Ping timeout: 240 seconds]
B3rg3lm1r has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
<[spoiler]> I started a few side projects and they turned out to have a lot of web development, so I got dragged into it and enjoyed it
intrigueD has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
<shevy> I, I_, I! | Integer | unsigned int, native endian
<haylon> for me, I'm tryign to still plan and learn a bunch before I start publishign my stuff
<haylon> and as always someone else has already done it.
<[spoiler]> the * means it will convert to as many unsigned ints as possible
<shevy> I always reinvent the wheel
jeanlinux has quit [Ping timeout: 240 seconds]
<[spoiler]> or "pack"
<[spoiler]> rather than convert
<diego_> the * part i got
<diego_> but the I dont
<diego_> the array already have a integer, it gonna convert to integer again? sorry, cant understand this
<diego_> integer into integer?
jottr has joined #ruby
<[spoiler]> >> puts [65, 65].pack("I*") # should be "AA"
<ruby[bot]> [spoiler]: # => A
<[spoiler]> or not
<mg^> I have no penchant for design, so the few web interfaces I have done don't get rave reviews.
<[spoiler]> >> [65, 65].pack("I*")
<ruby[bot]> [spoiler]: # => "A\x00\x00\x00A\x00\x00\x00" (https://eval.in/523297)
<[spoiler]> ah there
joonty has quit [Ping timeout: 248 seconds]
<mg^> >> [65, 65].pack("c*")
<ruby[bot]> mg^: # => "AA" (https://eval.in/523298)
MindfulMonk has joined #ruby
<[spoiler]> i did mean "A<3 nulls>" x 2, tho,
<[spoiler]> diego_: it's esentially used to serialise data into a string
<mg^> yeah I know, I just wanted to see a clean "AA" :)
<[spoiler]> ah
<[spoiler]> unpack de-seralises the data into an array
GriffinHeart has joined #ruby
<[spoiler]> diego_: the point is that it will be an unsigned integer of that local machine, it won't be very portable though
nando293921 has quit [Ping timeout: 248 seconds]
sulky has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
GriffinHeart has quit [Remote host closed the connection]
<diego_> ok ok, gonna test if see if works, need do a integration with adobe omniture, and there i need to send a nonce
<diego_> thx guys
failshell has joined #ruby
voobscout has quit [Quit: bye]
krz has quit [Quit: WeeChat 1.2]
Yzguy has quit [Quit: Zzz...]
dlitvak has joined #ruby
johnnyt has joined #ruby
diego_ has quit [Quit: diego_]
momomomomo has joined #ruby
kirillzh has joined #ruby
celly has quit [Remote host closed the connection]
blackmesa has quit [Quit: WeeChat 1.4]
<[spoiler]> We forgot to ?guys him
blackmesa has joined #ruby
failshell has quit [Client Quit]
<chris2> obv you need an autoreply pool
<chris2> s/pool/bot
gaxar77 has joined #ruby
diegoviola has joined #ruby
mattwildig has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 255 seconds]
kirillzh has quit [Ping timeout: 244 seconds]
pdoherty has joined #ruby
celly has joined #ruby
platzhirsch has left #ruby [#ruby]
chouhou__ has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
chouhoulis has joined #ruby
nettoweb has quit [Ping timeout: 240 seconds]
eregi_ has joined #ruby
voobscout has joined #ruby
acidrainfall has joined #ruby
eregi has quit [Ping timeout: 250 seconds]
<acidrainfall> Hey guys. I have a question regarding hashes. Is there a `pop` function in ruby?
<acidrainfall> I want to `pop` a key.
<chris2> you can delete it
<chris2> also ?guys
nettoweb has joined #ruby
<acidrainfall> guys / everyone / you people
<chris2> ;)
<acidrainfall> Pedant. :P
<chris2> last time i checked there was no way to get a random key easily
<acidrainfall> Well, maybe I'm not describing my issue well enough.
jottr_ has joined #ruby
<acidrainfall> This is *stupid* and I hate that I have to do it.
<chris2> then explain :)
<acidrainfall> This originates as a puppet issue - but the "issue" is actually TOML and the TOML gem.
<kaleido> what would a "pop" do?
<acidrainfall> Remove an item from a hash/array
<shevy> acidrainfall you could simulate via .reject!; or you can use .delete! which will return the value, and the key must be known to you since you have to pass an argument to .delete!()
jottr has quit [Ping timeout: 276 seconds]
<acidrainfall> That's fine, I actually do know the key
beanHolez has quit [Remote host closed the connection]
<ProofTechnique> Like the opposite of slice?
<chris2> .delete removes an item...
<shevy> ah yes
<acidrainfall> So there's a config file being generated for Grafana, in TOML, and the TOML gem jumbles the file all to hell every time it runs because it doesn't sort or order the data before printing.
<shevy> even better, you don't have to use a ! !!!
<ProofTechnique> Or, I guess, closer to slice!
<shevy> tim and tom
<shevy> prooftechnique oh, the bang!
B3rg3lm1r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
<chris2> >> h = {"foo" => 5, "bar" => 6}; h.delete("foo"); h
<ruby[bot]> chris2: # => {"bar"=>6} (https://eval.in/523303)
<acidrainfall> There's one block that *has* to be first, [[servers]]. It all comes out of a hash called ldap_cfg. I need to basically get ldap_cfg.servers and print it, delete it, then for loop the rest of the hash.
cabargas has joined #ruby
<acidrainfall> (it's really poor coding on Grafana's part, they chose an unordered semi-structured config file language but they treat it like it's an ordered set. YOU CAN'T HAVE BOTH.)
IrishGringo has quit [Ping timeout: 250 seconds]
<acidrainfall> Does this make sense? Related issue for more detail: https://github.com/bfraser/puppet-grafana/issues/69 (the title was a mistype, it's TOML not JSON)
<chris2> so whats the problem now?
<acidrainfall> The hash ldap_cfg prints out in whatever order it wants. There's a section in ldap_cfg that has to appear at the top of the file.
<chris2> and why is my delete proposal not good?
<acidrainfall> I haven't left an evaluation of it
<acidrainfall> I was just expanding on the issue I'm facing.
<chris2> and i just told you the solution, so just read it :P
hxegon has quit [Ping timeout: 255 seconds]
IrishGringo has joined #ruby
<acidrainfall> I will, but do you see a better way to accomplish this?
dubek has quit [Quit: Leaving]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ruby-lang502 has joined #ruby
kcantwel has joined #ruby
athix has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
idefine has quit [Remote host closed the connection]
cabargas has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
celly has quit [Remote host closed the connection]
<ruby-lang502> Does anyone know the big difference between SimpleCov.start and SimpleCov.start 'rails' when called from spec_helper.rb in a rails app? I noticed the coverage is reduced significantly while the lines of code is also somehow reduced?
<athix> I bet it's related to the air speed velocity of an unladen swallow.
kirillzh has joined #ruby
B3rg3lm1r has joined #ruby
blaxter has quit [Ping timeout: 248 seconds]
<mg^> acidrainfall, there probably isn't a pretty way to get what you want
<acidrainfall> I don't think there is.
B3rg3lm1r has quit [Max SendQ exceeded]
momomomomo has quit [Quit: momomomomo]
DmitryBochkarev has joined #ruby
dling has joined #ruby
xfbs has joined #ruby
baweaver has quit [Remote host closed the connection]
<kaleido> athix: european or african?
xfbs has quit [Max SendQ exceeded]
<athix> kaleido: ...I don't know that! *screams while being thrown into the abyss*
<mg^> acidrainfall, ruby hashes *are* ordered. You could construct a new hash with your server data as the first key. Something like new_ldap_cfg = {}; new_ldap_cfg['servers'] = ldap_cfg.delete('servers'); new_ldap_cfg.merge!(ldap_cfg) It's also ugly.
<mg^> ordered since 1.9 anyway
xfbs has joined #ruby
<acidrainfall> mg^: I'm versionn locked on 1.8
<mg^> oh, well, scratch that
<acidrainfall> :/
<acidrainfall> mg^: Granted, that's much less ugly than what I was thinking.
devbug has quit [Ping timeout: 240 seconds]
DarkMoonDancer has joined #ruby
<shevy> wheeee
<shevy> 1.8.x!
<shevy> a fossil :D
cdg has quit [Ping timeout: 250 seconds]
firstdayonthejob has joined #ruby
dfinninger has joined #ruby
azure32 has joined #ruby
tubulife- has quit [Ping timeout: 276 seconds]
<acidrainfall> Yeah I know. :/
cabargas has joined #ruby
<acidrainfall> It's what EL6 supports for base Ruby.
<acidrainfall> I could use Ruby193 from SCL but automating that is a bitch and a half.
<acidrainfall> We're a bit squeemish about huge infrastructure-wide changes like that because we're in perpetual UAT
<mg^> yeah it can be, I've got ~100+ EL6 servers
<acidrainfall> Do you use the 193 scl package?
<mg^> in limited instances
peterhu has quit [Remote host closed the connection]
<acidrainfall> Otherwise you stick to 1.8.4?
momomomomo has joined #ruby
<acidrainfall> Or is it 1.8.6 now? I don't remember.
<shevy> hehe
<mg^> it's a great idea in theory, but a pain in practice
reaVer has quit [Ping timeout: 248 seconds]
<acidrainfall> I agree.
_djbkd has quit [Remote host closed the connection]
<mg^> I've tried to move to EL7 wherever possible.
openstru_ has joined #ruby
<mg^> where I can't, I use wrapper scripts to make things behave
_djbkd has joined #ruby
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
_djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #ruby
pawnbox has quit [Remote host closed the connection]
graffix has quit [Ping timeout: 276 seconds]
_djbkd has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
<acidrainfall> Yeah we'll have an easier time with EL7 once we've abandoned our old software platform.
blackmesa has quit [Ping timeout: 248 seconds]
<acidrainfall> We've only been on 6 for a year, sadly
_djbkd has joined #ruby
DarkMoonDancer has quit [Quit: Leaving]
<mg^> I was going to swear we worked for the same company until that last comment :)
92AAACQUZ has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<acidrainfall> Hahaha
reaVer has joined #ruby
<shevy> fossils sitting in a coffee shop, having a chat
<mg^> We are in the process of abandoning our old platform, but there is customer resistance
openstruct has quit [Ping timeout: 248 seconds]
<acidrainfall> We just don't have the replacement ready to go yet.
kcantwel has quit [Quit: Computer has gone to sleep.]
<acidrainfall> It's spun up quick but it has some way to go too.
<mg^> "ready to go" is a relative thing
<mg^> When we launched our new platform I did not consider it "ready to go" but engineering and management disagreed :)
<acidrainfall> Eh, good point.
<acidrainfall> Hahaha
jobewan has joined #ruby
<mg^> Hence the customer resistance to migrating
<mg^> "It's got less features, but now it runs in your browser" is not compelling.
<acidrainfall> Oh, you work for VMware?
<acidrainfall> :P
<mg^> lol
<mg^> no, but that's the story with their latest stuff, too, isn't it?
<acidrainfall> Eh, honestly this is annoying enough that I'm gonna give up on solving it.
<acidrainfall> I'll just wait for the maintainer to deal with it.
<acidrainfall> mg^: verbatim how their web vsphere client rollout went
<acidrainfall> widespread and ubiquitous backlash
92AAACQUZ has quit [Read error: Connection reset by peer]
<acidrainfall> Because it's the worst designed interface in the history of interfaces. It makes Microsoft Bob look efficient.
idefine has joined #ruby
celly has joined #ruby
B1n4r10 has quit [Ping timeout: 250 seconds]
<mg^> well, I can offer one more possible solution... you could put the keys into an array, get servers as the first item. say like keys.unshift(keys.delete('servers')), and then iterate over it that way
<mg^> Yeah I am not a fan of the way the vsphere web interface works, but you should try interacting with VMware's hypervisor at the API level
<mg^> it's so SOAPy the whole world could bathe
hahuang65 has joined #ruby
celly has quit [Remote host closed the connection]
zast has quit [Remote host closed the connection]
<mg^> In fact, every WSDL-based code generator I've tried against it barfs.
ruby-lang502 has quit [Ping timeout: 252 seconds]
celly has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
devbug has joined #ruby
graffix has joined #ruby
xfbs has quit [Ping timeout: 248 seconds]
baweaver has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
monque has joined #ruby
firstdayonthejob has joined #ruby
xfbs has joined #ruby
tvw has quit [Read error: Connection reset by peer]
ElFerna has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
ur5us has joined #ruby
idefine has joined #ruby
william3 has joined #ruby
speakingcode has joined #ruby
pandaant has quit [Remote host closed the connection]
B3rg3lm1r has joined #ruby
cpup has quit [Ping timeout: 252 seconds]
cpup has joined #ruby
sauvin has quit [Remote host closed the connection]
Gnut_ has joined #ruby
sepp2k has quit [Quit: Leaving.]
whippythellama has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
idefine has quit [Ping timeout: 255 seconds]
_djbkd has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
Gnut has quit [Ping timeout: 244 seconds]
_djbkd has joined #ruby
_djbkd has quit [Write error: Connection reset by peer]
_djbkd has joined #ruby
mattwildig has joined #ruby
dfinninger has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
MindfulM_ has joined #ruby
dfinninger has joined #ruby
cabargas has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
_djbkd has quit [Quit: My people need me...]
MindfulMonk has quit [Ping timeout: 255 seconds]
kinduff has joined #ruby
blackmesa has joined #ruby
Gnut has joined #ruby
failshell has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
voobscout has quit [Ping timeout: 240 seconds]
Gnut_ has quit [Ping timeout: 244 seconds]
william3 has joined #ruby
afaris has quit [Quit: Textual IRC Client: www.textualapp.com]
Garo_ has joined #ruby
<Garo_> Hello. Could somebody point me to a good example on how to build a simple web server with Puma? puma.io doesn't really point to any good tutorial or examples.
whippythellama has joined #ruby
dlitvak has joined #ruby
MindfulM_ has quit [Ping timeout: 255 seconds]
victorzimmer has quit [Remote host closed the connection]
the_drow has quit [Quit: This computer has gone to sleep]
dopamean_ has quit [Ping timeout: 255 seconds]
peterhu has joined #ruby
<tubbo> Garo_: that's kind-of like asking if someone can show you how to build a simple computer with a macbook pro
MindfulMonk has joined #ruby
<tubbo> Garo_: are you looking for a nodejs-style http.createServer interface?
maikowblue has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
anisha has joined #ruby
GinoManWorks has quit [Read error: Connection reset by peer]
<Garo_> tubbo: might be. I'm trying to figure out the best way to embedd a simple http server into my application. What I want is that I need to create my own DSL which creates routes for certain urls and then have those to handle their action inside threads. I'm not an experienced ruby developer, so I'm still just learning around Rackup, Sinatra, Puma and so on as I'm thinking what's the best way to lay the groundwork
ziyadb has joined #ruby
<tubbo> Garo_: yeah i'd definitely start with sinatra. there's just no point in re-writing all the "wire up" code
mary5030 has quit [Remote host closed the connection]
<Garo_> it seems that most ruby web servers start from the assumption that the web server is the framework, but I'm building my own framework and I want my web server to be a library which I use instead
<tubbo> your other option is to implement Rack directly.
cabargas has joined #ruby
beanHolez has joined #ruby
<tubbo> that is, if you want this to be rack compatible
<Garo_> at first it looks that Sinatra uses EventMachine which is not what I want as I want to run my requests inside threads
<tubbo> Garo_: that is not correct.
<Garo_> tubbo: ok. I got some hins that I can use sinatra with Puma, so I guess that way it would use puma's way to use threads instead of the eventmachine
<Garo_> but as said, I'm still learning =)
<tubbo> Garo_: sinatra is just a web framework. it's really just a Ruby DSL for writing the following kind of statement and returning it in a rack app's call() method: [200, { 'Content-Type' => 'text/html' }, "yay!"]
<tubbo> or whatever
MindfulMonk has quit [Ping timeout: 248 seconds]
whippythellama has quit [Ping timeout: 240 seconds]
<tubbo> Garo_: so if you want to do fancy stuff and sinatra gets in your way, just implement rack directly
<tubbo> the whole point of rack is so you don't have to think so low-level
<Garo_> tubbo: thanks. it starts to make sense. so to continue this then Puma would be the one calling that call() method inside a thread after it comes to the puma's web server?
<cschneid_> Is there a generative testing library that's any good?
pdoherty has quit [Ping timeout: 276 seconds]
al2o3-cr has quit [Ping timeout: 252 seconds]
azure32 has quit [Ping timeout: 240 seconds]
juanpablo____ has quit [Quit: (null)]
kobain has joined #ruby
whippythellama has joined #ruby
dlitvak_ has joined #ruby
yqt has joined #ruby
Yzguy has joined #ruby
victorzimmer has joined #ruby
athix has quit [Ping timeout: 252 seconds]
allcentury has quit [Ping timeout: 255 seconds]
chipotle has quit [Ping timeout: 244 seconds]
<Garo_> tubbo: thanks, I'll definitively read those =)
dlitvak has quit [Ping timeout: 276 seconds]
dopamean_ has joined #ruby
justicefries has left #ruby [#ruby]
ramortegui has quit [Quit: Ex-Chat]
mdw has joined #ruby
ElFerna has joined #ruby
krobzaur has joined #ruby
yfeldblum has joined #ruby
nando293921 has joined #ruby
rdark has quit [Ping timeout: 240 seconds]
idefine has joined #ruby
IrishGringo has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
gaxar77 has quit [Ping timeout: 255 seconds]
al2o3-cr has joined #ruby
al2o3-cr has quit [Signing in (al2o3-cr)]
al2o3-cr has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
chipotle has joined #ruby
al2o3-cr is now known as Guest15322
MindfulMonk has joined #ruby
konr has quit [Quit: Connection closed for inactivity]
openstru_ has quit []
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
openstruct has joined #ruby
openstruct has joined #ruby
nofacade has quit [Ping timeout: 248 seconds]
idefine has quit [Read error: Connection reset by peer]
idefine has joined #ruby
norc has joined #ruby
openstruct has quit [Client Quit]
openstruct has joined #ruby
Guest15322 has quit [Client Quit]
allcentury has joined #ruby
al2o3-cr1 has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
cabargas has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
godzillaenlacasa has quit [Quit: ZZZZZ....]
haxrbyte has quit [Remote host closed the connection]
al2o3-cr1 is now known as al2o3-cr
cabargas has joined #ruby
idefine has quit [Read error: Connection reset by peer]
Xeago has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
monque has quit [Quit: monque]
x77686d has quit [Quit: x77686d]
MindfulMonk has quit [Ping timeout: 250 seconds]
haxrbyte has joined #ruby
haxrbyte has quit [Remote host closed the connection]
idefine_ has joined #ruby
Lildirt has quit [Ping timeout: 250 seconds]
last_staff has joined #ruby
kcantwel has joined #ruby
idefine has quit [Read error: Connection reset by peer]
idefine_ has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
anisha has quit [Quit: Leaving]
mattwildig has quit [Remote host closed the connection]
nofacade has joined #ruby
idefine has joined #ruby
voobscout has joined #ruby
godzillaenlacasa has joined #ruby
jeanlinux has joined #ruby
idefine has quit [Remote host closed the connection]
<norc> Which one would you guys prefer and why? https://eval.in/523322
jfutbol has joined #ruby
idefine has joined #ruby
xfbs has quit [*.net *.split]
jolts has quit [*.net *.split]
darix has quit [*.net *.split]
Junaos has quit [*.net *.split]
mrfooo has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
sonOfRa has quit [*.net *.split]
Tharbakim has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
nwhirschfeld has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
edwardly has quit [*.net *.split]
livcd has quit [*.net *.split]
skullcrasher has quit [*.net *.split]
gnarf has quit [*.net *.split]
Shidash has quit [*.net *.split]
matti has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
Papierkorb has quit [*.net *.split]
chrisarcand has quit [*.net *.split]
vqrs has quit [*.net *.split]
kenichi has quit [*.net *.split]
kies has quit [*.net *.split]
drale2k has quit [*.net *.split]
patteh has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
devyn has quit [*.net *.split]
Lorn has quit [*.net *.split]
mattpatt has quit [*.net *.split]
imajes has quit [*.net *.split]
raldu has quit [*.net *.split]
uxp has quit [*.net *.split]
ghoti has quit [*.net *.split]
valeri_ufo has quit [*.net *.split]
low-profile has quit [*.net *.split]
havenwood has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
guardian has quit [*.net *.split]
tabakhase has quit [*.net *.split]
kallisti5 has quit [*.net *.split]
Muz has quit [*.net *.split]
rgs has quit [*.net *.split]
Eising has quit [*.net *.split]
cfloare has quit [*.net *.split]
miah has quit [*.net *.split]
async_prince has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
Karunamon has quit [*.net *.split]
creat has quit [*.net *.split]
z3uS has quit [*.net *.split]
ryotarai has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
microt has quit [*.net *.split]
ndrst has quit [*.net *.split]
segy has quit [*.net *.split]
Cork has quit [*.net *.split]
slackR has quit [*.net *.split]
jtperreault has quit [*.net *.split]
brixen has quit [*.net *.split]
sekrit has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
Veejay has quit [*.net *.split]
jtdoncas has quit [*.net *.split]
cstrahan has quit [*.net *.split]
unreal_ has quit [*.net *.split]
irick has quit [*.net *.split]
wnd has quit [*.net *.split]
hfp_work has quit [*.net *.split]
JoshL has quit [*.net *.split]
kenpoint has quit [*.net *.split]
knight_ has quit [*.net *.split]
beagles has quit [*.net *.split]
ceej has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
deavid has quit [*.net *.split]
droptone has quit [*.net *.split]
diegok has quit [*.net *.split]
eregon has quit [*.net *.split]
qpls_ has quit [*.net *.split]
M-Techni1 has quit [*.net *.split]
inukshuk has quit [*.net *.split]
tvsutton has quit [*.net *.split]
Jello_Raptor_ has quit [*.net *.split]
Gnubie__ has quit [*.net *.split]
DEac- has quit [*.net *.split]
TheBrayn has quit [*.net *.split]
KillerFox has quit [*.net *.split]
plonk has quit [*.net *.split]
funnel has quit [*.net *.split]
genpaku has quit [*.net *.split]
alnewkirk has quit [*.net *.split]
skyjumper has quit [*.net *.split]
dojobo has quit [*.net *.split]
chridal has quit [*.net *.split]
Sthebig has quit [*.net *.split]
ccooke has quit [*.net *.split]
kadoppe_ has quit [*.net *.split]
mame3 has quit [*.net *.split]
klaas has quit [*.net *.split]
iamayam has quit [*.net *.split]
adaedra has quit [*.net *.split]
forgot has quit [*.net *.split]
hypnosb has quit [*.net *.split]
ccooke has joined #ruby
valeri_ufo has joined #ruby
kallisti5 has joined #ruby
droptone has joined #ruby
failshell has quit []
matti has joined #ruby
skyjumper has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
Karunamon has joined #ruby
raldu has joined #ruby
dojobo_ has joined #ruby
klaas has joined #ruby
qpls has joined #ruby
Jello_Raptor has joined #ruby
Muz has joined #ruby
miah has joined #ruby
Kuukunen has joined #ruby
ghoti has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
guardian has joined #ruby
Skelz0r has joined #ruby
wnd has joined #ruby
uxp has joined #ruby
iamayam has joined #ruby
z3uS has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgs has joined #ruby
kenichi has joined #ruby
devyn has joined #ruby
async_prince has joined #ruby
alnewkirk has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
ryotarai has joined #ruby
jtperreault has joined #ruby
cabargas has quit [Write error: Broken pipe]
chrisarcand has joined #ruby
livcd has joined #ruby
M-Technic has joined #ruby
tommylommykins has joined #ruby
b3nt_pin has joined #ruby
samuelkadolph has joined #ruby
segy has joined #ruby
kenpoint has joined #ruby
Junaos has joined #ruby
low-profile has joined #ruby
mattpatt has joined #ruby
Veejay has joined #ruby
LiquidInsect has joined #ruby
cfloare has joined #ruby
jtdoncas has joined #ruby
imajes has joined #ruby
hfp_work has joined #ruby
kadoppe has joined #ruby
drale2k has joined #ruby
creat has joined #ruby
tvsutton has joined #ruby
slackR has joined #ruby
ndrst has joined #ruby
Papierkorb has joined #ruby
adaedra has joined #ruby
kaspergrubbe has joined #ruby
Lorn has joined #ruby
DarthGandalf has joined #ruby
patteh has joined #ruby
[spoiler] has joined #ruby
diegok has joined #ruby
unreal has joined #ruby
darix has joined #ruby
funnel has joined #ruby
kies has joined #ruby
roger_rabbit has joined #ruby
tabakhase has joined #ruby
inukshuk has joined #ruby
irick has joined #ruby
blackgoat has joined #ruby
hypnosb has joined #ruby
xfbs has joined #ruby
eregon has joined #ruby
ndrst is now known as Guest11198
KillerFox has joined #ruby
deavid has joined #ruby
TheBrayn has joined #ruby
havenwood has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
Gnubie_ has joined #ruby
m4rCsi has joined #ruby
DEac- has joined #ruby
ceej has joined #ruby
genpaku has joined #ruby
codecop has quit [Remote host closed the connection]
JoshL has joined #ruby
Tharbakim has joined #ruby
Eising has joined #ruby
Tharbakim has quit [Max SendQ exceeded]
knight_ has joined #ruby
chridal_ has joined #ruby
cyclonis has joined #ruby
bahar has quit [Ping timeout: 255 seconds]
joonty has joined #ruby
Shidash has joined #ruby
Sthebig has joined #ruby
Sthebig has quit [Changing host]
Sthebig has joined #ruby
vqrs has joined #ruby
jeanlinux has quit [Ping timeout: 252 seconds]
tvw has quit [Ping timeout: 244 seconds]
helpa has quit [Ping timeout: 255 seconds]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
sgambino has joined #ruby
skullcrasher has joined #ruby
vqrs has quit [Max SendQ exceeded]
gnarf has joined #ruby
microt has joined #ruby
sekrit has joined #ruby
vqrs has joined #ruby
sonOfRa has joined #ruby
brixen has joined #ruby
trinaldi has joined #ruby
nisstyre has quit [Changing host]
nisstyre has joined #ruby
Tharbakim has joined #ruby
momomomomo has quit [Quit: momomomomo]
ElFerna has quit [Ping timeout: 276 seconds]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
Don_John has joined #ruby
jawr has joined #ruby
idefine has quit [Ping timeout: 252 seconds]
nwhirschfeld has joined #ruby
dn5 has quit [Quit: leaving]
Cork has joined #ruby
mame3 has joined #ruby
<jawr> hey, im havign an issue installing jazzy with gem, anyone familiar with `undefined method `size' for nil:NilClass`
_mak has quit [Ping timeout: 276 seconds]
forgot has joined #ruby
openstruct has quit [Remote host closed the connection]
<norc> Oh that note, why the heck does this work and behave the way it does? https://eval.in/523330
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
<norc> Or more generally:
cstrahan has joined #ruby
<shevy> jawr that is close to useless. put the whole error on a pastie. the error in question happens when you have a nil object and invoke .size on it, which it does not
joonty has quit [Ping timeout: 240 seconds]
<shevy> *have
<norc> >> K=1; class C; end; puts C::K
momomomomo has joined #ruby
mrfooo has joined #ruby
<norc> That resolution makes absolutely no sense if the constant is qualified with a module.
dojobo_ is now known as dojobo
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
bahar has joined #ruby
aryaching has quit []
<Mon_Ouie> C is a subclass of Object, K = 1 at top level defines a constant inside the object class
pdoherty has joined #ruby
<Mon_Ouie> Notice BasicObject::K will not work, for example
<jawr> just cleared cache trying again shevy and will pastie the error if it occurs again
Domaldel has quit [Quit: Leaving]
darix has quit [Quit: Reconnecting]
<norc> Mon_Ouie: Thanks for making sense out of this for me.
darix has joined #ruby
jolts has joined #ruby
rbennacer has quit [Remote host closed the connection]
jolts has quit [Max SendQ exceeded]
<norc> That "toplevel namespace" is a real quirk that keeps haunting me week after week. :/
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
momomomomo has quit [Client Quit]
mrknip has joined #ruby
Xeago has joined #ruby
_djbkd has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
solars has joined #ruby
bkulbida has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
idefine has joined #ruby
baweaver has joined #ruby
sudoubuntu has joined #ruby
eladmeidar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 240 seconds]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
baweaver has quit [Remote host closed the connection]
<shevy> you are very persistent norc!
Sucks has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
cabargas has joined #ruby
dlitvak_ has quit [Read error: Connection reset by peer]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
n_blownapart has joined #ruby
dopamean_ has quit [Quit: WeeChat 1.3]
jobewan has quit [Ping timeout: 240 seconds]
michael_mbp has joined #ruby
dopamean_ has joined #ruby
jolts has joined #ruby
dlitvak has joined #ruby
jolts has quit [Max SendQ exceeded]
baweaver has quit [Remote host closed the connection]
bahar has quit [Changing host]
bahar has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
idefine has quit [Remote host closed the connection]
bkulbida_ has joined #ruby
Cohedrin has joined #ruby
kobain has quit [Read error: Connection reset by peer]
bkulbida has quit [Quit: Lost terminal]
jottr_ has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
openstruct has joined #ruby
steffkes has joined #ruby
baweaver has joined #ruby
idefine has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
trinaldi has joined #ruby
blackmesa has joined #ruby
<shevy> no such gem exists
<shevy> do you install from some github project?
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
<norc> jawr: My initial thought is that this might not behave with the relatively old Ruby version that OSX ships with.
<norc> But that is just a random guess with no real basis in fact.
intrigueD has quit [Remote host closed the connection]
momomomomo has joined #ruby
helpa has joined #ruby
scripore has joined #ruby
<jawr> shevy: "jazzy"
<jawr> i could try a brew install ruby i guess?
idefine has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 244 seconds]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
<norc> jawr: Think I got it. Clear it out of your gem cache and try again.
<norc> It likely got corrupted.
eregi has joined #ruby
<jawr> well i tried
<jawr> sudo gem sources -c
<jawr> before i ran that last command
Channel6 has joined #ruby
<norc> jawr: Just manually delete the gem from your cache.
eregi_ has quit [Ping timeout: 240 seconds]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
skade has joined #ruby
aef has quit [Read error: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac]
idefine has joined #ruby
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdw has quit [Quit: Sleeping Zzzzz]
<shevy> jawr aha I see
<norc> jawr: Are you installing this with bundler?
<shevy> quite a long list
<norc> jawr: and no, dont install it with brew.
<norc> jawr: The best and cleanest option is to directly go with plain ruby-install and chruby.
aef has joined #ruby
<shevy> pretty long list of stuff it wants to install https://gist.github.com/anonymous/164b3a690a72c9a10edd
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jawr> i just cleared the cache
quazimodo has joined #ruby
<shevy> jawr have you tried "gem install jazzy" directly from the commandline as well?
<jawr> nope just with gem norc
<jawr> thats how i am trying shevy
<shevy> hmm
<shevy> normally gem gives more information what failed
kcantwel has quit [Quit: Textual IRC Client: www.textualapp.com]
<norc> jawr: Try installing any other gem please.
<shevy> or perhaps you have an old rubygems :)
<norc> shevy: The more I read about it it should not be an issue.
Kang0 has left #ruby ["AndroIRC"]
<norc> jawr: Did you manually delete the gem from the cache directory?
bkulbida_ has quit [Quit: Lost terminal]
Bloodshot has joined #ruby
<jawr> i dunno if this is normal behaviour for gem, but when i do install it does a lot of: https://gist.github.com/anonymous/8377fa135e8495df8d2b
bkulbida has joined #ruby
<jawr> yep from all cache dirs within gem env paths
<jawr> heh it worked norc
<jawr> thanks for the suggestion
wmdrossard has quit [Ping timeout: 240 seconds]
<norc> jawr: The redirects are normal. Gems are served through a network of various CDN sources.
rizenine has joined #ruby
renderful has quit [Ping timeout: 250 seconds]
FernandoBasso has joined #ruby
<norc> jawr: Lets verify this. gem fetch and gem install the file
<norc> If this still fails it means either the gem is broken or your rubygems.
LoneHermit has joined #ruby
lemur has joined #ruby
mattwildig has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<jawr> i tried using the bin with jazzy
<jawr> it fails for another reason, im pretty sure its installed ok
blandflakes has joined #ruby
<norc> jawr: One other thing could be causing major havoc - do you already have something like rbenv or RVM installed?
shellie_ has joined #ruby
toretore has joined #ruby
Bloodshot has left #ruby [#ruby]
lemur has quit [Ping timeout: 250 seconds]
Gnut_ has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
LoneHermit has quit [Ping timeout: 244 seconds]
openstruct has quit []
mg^ has quit [Quit: Leaving]
jgpawletko has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ElFerna has joined #ruby
FooMunki has joined #ruby
Gnut has quit [Read error: Connection reset by peer]
flughafen_ has quit [Ping timeout: 250 seconds]
azure32 has joined #ruby
<jawr> i dont think so, i would have to check
<jawr> i rarely if ever use ruby itself
frem has joined #ruby
voobscout has quit [Quit: bye]
Lildirt has joined #ruby
Gnut_ has quit [Ping timeout: 244 seconds]
captainphil has joined #ruby
Gnut has joined #ruby
renderful has joined #ruby
idefine has quit [Remote host closed the connection]
<norc> jawr: Look at your .bash_profile to find out
quazimodo has joined #ruby
skade has joined #ruby
duckpuppy has joined #ruby
replay has quit [Ping timeout: 240 seconds]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
godzillaenlacasa has quit [Quit: ZZZZZ....]
sesquipedalian has quit [Ping timeout: 248 seconds]
duckpupp1 has quit [Ping timeout: 240 seconds]
aegis3121 has joined #ruby
idefine has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
PedramT has quit []
Gnut has quit [Ping timeout: 255 seconds]
stannard has quit [Remote host closed the connection]
mgorbach has quit [Quit: ZNC - http://znc.in]
timmyBsd has quit [Quit: WeeChat 1.4]
hxegon has joined #ruby
ElFerna has quit [Ping timeout: 250 seconds]
mgorbach has joined #ruby
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
learning has joined #ruby
Lildirt has quit [Ping timeout: 250 seconds]
stannard has joined #ruby
Musashi007 has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
dfinninger has quit [Remote host closed the connection]
Shaboum has quit [Quit: WeeChat 1.4]
Trynemjoel has joined #ruby
ldnunes has quit [Quit: Leaving]
kinduff has quit [Quit: Textual IRC Client: www.textualapp.com]
Musashi007 has quit [Read error: No route to host]
saneax_AFK has quit [Ping timeout: 250 seconds]
mistym has quit [Ping timeout: 250 seconds]
dfinninger has joined #ruby
mistym has joined #ruby
Musashi007 has joined #ruby
mistym has quit [Changing host]
mistym has joined #ruby
catbusters has quit [Ping timeout: 268 seconds]
UtkarshRay has quit [Ping timeout: 250 seconds]
_ht has quit [Quit: Konversation terminated!]
nettoweb has joined #ruby
azure32 has quit [Ping timeout: 248 seconds]
UtkarshRay has joined #ruby
goodcodeguy has joined #ruby
_djbkd has quit [Remote host closed the connection]
Lildirt has joined #ruby
dlitvak has quit [Remote host closed the connection]
auxbuss has joined #ruby
idefine has quit [Remote host closed the connection]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cajone has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
awe__ has joined #ruby
_djbkd has joined #ruby
Musashi007 has quit [Client Quit]
norc has quit [Quit: Page closed]
catbusters has joined #ruby
bronson has joined #ruby
auxbuss has quit [Client Quit]
mattwildig has quit [Remote host closed the connection]
joonty has joined #ruby
jtfutbol has joined #ruby
idefine has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
jtfutbol has quit [Client Quit]
saneax_AFK has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
saneax_AFK is now known as saneax
mg^ has joined #ruby
SenpaiSilver has joined #ruby
doublemalt__ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
learning has quit [Remote host closed the connection]
learning has joined #ruby
joonty has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
learning has quit [Remote host closed the connection]
learning has joined #ruby
kalopsia1 has quit [Ping timeout: 276 seconds]
captainphil has quit [Ping timeout: 252 seconds]
idefine has quit [Remote host closed the connection]
rizenine has quit [Remote host closed the connection]
rbennacer has joined #ruby
cdg has joined #ruby
doublemalt_ has quit [Ping timeout: 252 seconds]
lpvb has joined #ruby
diegoviola has quit [Ping timeout: 248 seconds]
Trynemjoel has joined #ruby
kalopsian has joined #ruby
ElFerna has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
nofacade has quit [Read error: Connection reset by peer]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rodfersou has quit [Quit: leaving]
rbennacer has quit [Ping timeout: 250 seconds]
kirillzh has joined #ruby
dlitvak has joined #ruby
mondok has quit [Remote host closed the connection]
B3rg3lm1r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mondok has joined #ruby
dfinninger has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
blackice_ has joined #ruby
snockerton has joined #ruby
nettoweb has joined #ruby
pdoherty has quit [Ping timeout: 240 seconds]
MindfulMonk has joined #ruby
MindfulMonk has quit [Client Quit]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aegis3121 has quit [Ping timeout: 250 seconds]
beanHolez has quit [Remote host closed the connection]
william3 has joined #ruby
goodcodeguy has joined #ruby
jeanlinux has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
__chris has joined #ruby
skweek has quit [Ping timeout: 276 seconds]
<__chris> Is there a shortcut to create an array of integers akin to %w{some strings} ?
sgambino has joined #ruby
dlitvak has quit [Ping timeout: 252 seconds]
mattwildig has joined #ruby
william3 has quit [Ping timeout: 248 seconds]
dlitvak has joined #ruby
doctorly has joined #ruby
[Butch]_ has joined #ruby
<apeiros> __chris: no
<doctorly> Hello, I have a quick question. What types of skills would a Junior Ruby developer be expected to know?
<__chris> didn't find any. %w{1 5 7}.map(&:to_i) i guess
<apeiros> doctorly: depends on the hiring company.
tvw has joined #ruby
jeanlinux has quit [Ping timeout: 248 seconds]
<doctorly> apeiros: I believe the job will be scripting deployment commands and such.
<apeiros> __chris: you didn't find any because there is none. map is only "shortcut" once you have >12 integers in the array
<doctorly> apeiros: I think it is basically a dev ops position, using ruby
<__chris> apeiros, what do you mean about > 12?
<apeiros> doctorly: to us, a junior is a dev which is to be trained. that can even start at zero ruby knowledge.
william3 has joined #ruby
moos3 has quit [Quit: leaving]
<apeiros> __chris: try without your shortcut and compare. see how many ints you need for yours to be shorter.
beanHolez has joined #ruby
<doctorly> apeiros: so if a company wants to hire me at a junior level, as long as I have a strong background, I should be able to manage?
[Butch] has quit [Ping timeout: 248 seconds]
[Butch]_ is now known as [Butch]
<Canar> doctorly: that's what i'd assume, yea
<apeiros> doctorly: as said before: it depends on the hiring company.
<Canar> i'm at 3.5yr of c# experience myself
<apeiros> they should lay out what they expect from you.
<Canar> sharepoint x.x
<__chris> apeiros, i understand what you mean now. I have quite a few number thats why i was hoping for a shortcut with out having to resort to map
Trynemjoel has quit [Ping timeout: 244 seconds]
beanHolez has quit [Remote host closed the connection]
ElFerna has quit [Ping timeout: 244 seconds]
dfinninger has joined #ruby
<doctorly> apeiros: The company is hiring senior, but some people managed to convince them to talk to me about a junior position. So I am really in a spot where I'm nervous about the questions they are going to ask me lmao. I don't want to get pushed out because I forgot how to explain something simple.
Cohedrin has joined #ruby
diegoviola has joined #ruby
<doctorly> I will just continue to study and do my best I guess
synthroid has quit []
jeanlinux has joined #ruby
dlitvak has quit [Ping timeout: 255 seconds]
beanHolez has joined #ruby
<apeiros> doctorly: that's not a bad idea.
awe__ has quit [Ping timeout: 244 seconds]
blackice_ is now known as gideon
unl0ckd has quit [Quit: Bye!]
diegoviola has quit [Ping timeout: 248 seconds]
stevemackinnon has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
joonty has joined #ruby
__chris has quit [Quit: Leaving]
wmdrossard has joined #ruby
william3 has quit [Remote host closed the connection]
stevemackinnon has quit [Remote host closed the connection]
lpvb has quit [Ping timeout: 276 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stevemackinnon has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
doctorly has quit [Remote host closed the connection]
victorzimmer has quit [Remote host closed the connection]
yfeldblum has joined #ruby
idefine has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
darkf has joined #ruby
ElFerna has joined #ruby
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
sudoubuntu has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
cyclonis has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
william3 has joined #ruby
idefine has joined #ruby
htmldrum has joined #ruby
ElFerna has quit [Ping timeout: 276 seconds]
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xfbs has quit []
idefine has quit [Remote host closed the connection]
zapata has joined #ruby
pontiki has joined #ruby
william3 has quit [Ping timeout: 252 seconds]
moeabdol3 has joined #ruby
s00pcan has joined #ruby
idefine has joined #ruby
intrigueD has joined #ruby
scripore has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
momomomomo has quit [Quit: momomomomo]
moeabdol2 has quit [Ping timeout: 276 seconds]
cyclonis has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
gizless has joined #ruby
celly has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
johnmilton has quit [Remote host closed the connection]
gaxar77 has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
baweaver has joined #ruby
idefine has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
quazimodo has quit [Ping timeout: 276 seconds]
idefine has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 255 seconds]
Yzguy has quit [Quit: Zzz...]
stevemackinnon has quit [Remote host closed the connection]
bkulbida has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
_mak has joined #ruby
ocbtec has quit [Quit: leaving]
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sesquipedalian has joined #ruby
rbennacer has joined #ruby
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
beanHolez has quit [Remote host closed the connection]
sdothum has joined #ruby
beanHolez has joined #ruby
cyclonis has quit [Ping timeout: 250 seconds]
mostlybadfly has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xfbs has joined #ruby
rbennacer has quit [Ping timeout: 248 seconds]
xfbs has quit [Max SendQ exceeded]
cyclonis has joined #ruby
swills has quit [Ping timeout: 276 seconds]
xfbs has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
tulak has joined #ruby
idefine has joined #ruby
jeanlinux has joined #ruby
SenpaiSilver has quit [Read error: Connection reset by peer]
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
SenpaiSilver has joined #ruby
marxarelli is now known as marxarelli|afk
gideon is now known as blackice99
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 240 seconds]
gaxar77 has quit [Ping timeout: 255 seconds]
LoneHerm_ has joined #ruby
blackice99 has quit []
zenlot1 has joined #ruby
zenlot has quit [Ping timeout: 250 seconds]
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
allcentury has joined #ruby
x77686d has joined #ruby
beanHolez has quit [Remote host closed the connection]
LoneHerm_ has quit [Ping timeout: 244 seconds]
diegoviola has quit [Quit: WeeChat 1.4]
scripore has quit [Client Quit]
scripore has joined #ruby
cisco has joined #ruby
shazaum has quit [Quit: Leaving]
tubuliferous_ has joined #ruby
Musashi007 has joined #ruby
whiteline has quit [Ping timeout: 255 seconds]
rbennacer has joined #ruby
cabargas has quit [Quit: Textual IRC Client: www.textualapp.com]
nando293921 has joined #ruby
thevaliantx has joined #ruby
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
bMalum has joined #ruby
ElFerna has joined #ruby
lemur has joined #ruby
scripore has joined #ruby
solars has quit [Ping timeout: 255 seconds]
scripore has quit [Client Quit]
scripore has joined #ruby
yfeldblum has joined #ruby
snockerton1 has joined #ruby
scripore has quit [Client Quit]
kmckelvin has quit [Ping timeout: 244 seconds]
scripore has joined #ruby
speaking1ode has joined #ruby
lemur has quit [Ping timeout: 250 seconds]
marxarelli|afk is now known as marxarelli
jottr_ has joined #ruby
marxarelli is now known as marxarelli|afk
ElFerna has quit [Ping timeout: 240 seconds]
despai has quit [Quit: This computer has gone to sleep]
jottr_ has quit [Client Quit]
idefine has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
snockerton1 has quit [Read error: Connection reset by peer]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
snockerton has quit [Ping timeout: 252 seconds]
firstdayonthejob has joined #ruby
aadam21 has quit [Ping timeout: 240 seconds]
DarkMoonDancer has joined #ruby
last_staff1 has joined #ruby
last_staff has quit [Ping timeout: 252 seconds]
last_staff1 is now known as last_staff
diegoviola has joined #ruby
cpruitt has quit [Quit: cpruitt]
CloCkWeRX has joined #ruby
idefine has joined #ruby
DarkMoonDancer has quit [Client Quit]
gaxar77 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
stevemackinnon has joined #ruby
SenpaiSilver has quit [Ping timeout: 240 seconds]
cpup has quit [Ping timeout: 240 seconds]
idefine has quit [Remote host closed the connection]
cpup has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
Mio-chan has joined #ruby
Musashi007 has quit [Quit: Musashi007]
thevaliantx has quit [Quit: Leaving]
YourKicks has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
decoponio has quit [Quit: Leaving...]
bollullera has joined #ruby
Channel6 has quit [Ping timeout: 250 seconds]
idefine has joined #ruby
lpvb has joined #ruby
benlieb has joined #ruby
marxarelli|afk is now known as marxarelli
idefine has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gnut has joined #ruby
jfutbol has quit [Remote host closed the connection]
eregi has quit [Read error: Connection reset by peer]
moeabdol3 has quit [Ping timeout: 255 seconds]
joonty has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
mrknip has quit []
dlitvak has joined #ruby
intrigueD has quit [Remote host closed the connection]
thevaliantx has joined #ruby
eregi has joined #ruby
devbug has quit [Ping timeout: 276 seconds]
Musashi007 has quit [Client Quit]
Xeago has quit [Remote host closed the connection]
crowell has quit [Ping timeout: 248 seconds]
tulak has quit []
jfutbol has joined #ruby
Xeago has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
chouhoul_ has joined #ruby
crowell has joined #ruby
azure32 has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
idefine has joined #ruby
workmad3 has joined #ruby
idefine has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 244 seconds]
minimalism has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
mdih has quit [Ping timeout: 276 seconds]
chouhoul_ has quit [Ping timeout: 250 seconds]
workmad3 has quit [Client Quit]
kies^ has quit [Ping timeout: 240 seconds]
stevemackinnon has quit [Remote host closed the connection]
stevemackinnon has joined #ruby
tubuliferous_ has quit [Ping timeout: 248 seconds]
alem0lars__ has joined #ruby
steffkes has quit [Ping timeout: 252 seconds]
TomyLobo has quit [Ping timeout: 248 seconds]
<alem0lars__> I'm trying to install the gem json in Windows. The gem command gives me error (make: x86_64-w64-mingw32-gcc: Command not found). But I have installed (and it's in the $PATH) MinGW. How can I make Ruby use the standalone gcc.exe executable?
benlieb has quit [Quit: benlieb]
yfeldblum has joined #ruby
jfutbol has quit [Remote host closed the connection]
tulak has joined #ruby
<haylon> are you using the DevKit, or vanilla MinGW?
devbug has joined #ruby
dling has quit [Remote host closed the connection]
FernandoBasso has quit [Quit: Leaving]
dling has joined #ruby
weemsledeux has joined #ruby
firstdayonthejob has quit [Ping timeout: 255 seconds]
Renich has joined #ruby
ropeney has joined #ruby
mrmargolis has quit [Remote host closed the connection]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
last_staff has quit [Quit: last_staff]
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
symm- has quit [Ping timeout: 255 seconds]
stevemackinnon has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
recycle has joined #ruby
finisherr has joined #ruby
benlieb has joined #ruby
skweek has joined #ruby