apeiros changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
<hays> i don't really like that i have that empty array initialization
linuxboy_ has quit [Remote host closed the connection]
<drbrain> hays: use map instead of each
renderful has quit [Remote host closed the connection]
<drbrain> then you'll get an Array of Threads back
renderful has joined #ruby
bodgix1 has joined #ruby
nux443 has quit [Quit: leaving]
bodgix has quit [Quit: ZNC - http://znc.in]
bodgix1 has quit [Client Quit]
bodgix has joined #ruby
christiandsg has quit [Ping timeout: 265 seconds]
<jhass> hays: yeah. btw your do/end vs {/} usage seems a bit random. The two schools are single line vs multiline and https://web.archive.org/web/20140221124509/http://onestepback.org/index.cgi/Tech/Ruby/BraceVsDoEnd.rdoc
<zenspider> I always adhere to the weirich method
mleung has quit [Quit: mleung]
astrobun_ has joined #ruby
<jhass> I mostly due, though not strictly I think
<jhass> er, do
<jhass> some I can't decide still, tap for example
<jhass> I execute it for side effects, yet quite often I like to chain onto it
omegamike has joined #ruby
<hays> if I have (1..100) and I want to add a bias to the range, is there a way to do this.. e.g to get (3..102) for example
<shevy> you can add the +2 when you get a position
<hays> yeah that's what im doing now
snockerton has quit [Quit: Leaving.]
<zenspider> that doesn't seem like a bias... still linear distribution
webopsx has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bluOxigen has joined #ruby
bodgix has quit [Quit: ZNC - http://znc.in]
<zenspider> >> class Range; def + n; Range.new self.begin+n, self.end+n; end; end; (1..100)+2
<ruboto> zenspider # => 3..102 (https://eval.in/416051)
Seich has quit [Ping timeout: 246 seconds]
ctalr has quit [Ping timeout: 246 seconds]
<jhass> more like >> ?
radgeRayden_ has quit [Ping timeout: 255 seconds]
blueOxigen has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 265 seconds]
<shevy> a monkey Range :)
<hays> hmm you can just add bits to a class like that?
<jhass> yes
ctalr has joined #ruby
<hays> cool i think. either that or terrible. can't decide
<shevy> hays you can always modify ruby classes
Seich has joined #ruby
<jhass> though use it with much consideration in real world code
carlosoliveira has quit [Quit: Connection closed for inactivity]
rehat has quit [Remote host closed the connection]
darwingr has quit [Quit: bye bye]
<jhass> hays: you may also want to read up on refinements
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
Cache_Money has quit [Quit: Cache_Money]
<shevy> the syntax is kinda weird
<jhass> it's just method calls!
josh3 has quit [Ping timeout: 250 seconds]
pothibo has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Synthead has quit [Quit: Leaving]
michaeldeol has joined #ruby
cpruitt has joined #ruby
hotpancakes has quit [Remote host closed the connection]
<hays> i know there is a cleaner way to do this: one day I will figure it out https://bpaste.net/show/339f92575a98
c0ncealed has quit [Ping timeout: 264 seconds]
NeverDie has quit [Read error: Connection reset by peer]
NeverDie has joined #ruby
IceyEC has joined #ruby
<bricker> hays: it looks like you're opening a new connection on every loop
pothibo has quit [Quit: pothibo]
<hays> well i think only if the connection fails
jenrzzz has quit [Ping timeout: 272 seconds]
<hays> but i agree it is confusing
baweaver has joined #ruby
olivierrr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zanloy has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
drewo has joined #ruby
lannonbr has quit [Ping timeout: 246 seconds]
<hays> i wonder if regs[mreg] ^= 1 would work
tubulife- has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
baweaver has quit [Ping timeout: 264 seconds]
FernandoBasso has quit [Quit: May the force be with you.]
allcentury has joined #ruby
<hays> watchdog = regs[mreg] = watchdog ^ 1 <== this maybe is bad form? or makes it clearer?
<jhass> it's not equivalent to the former
havenwood has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> and most "would work" questions are answered by just spending 20 seconds in irb or pry ;)
<hays> yeah ill have to try it out with the modbus server actually going
keen___ has joined #ruby
<jhass> whether some syntax is valid? nah, just construct the minimal case
[Butch] has quit [Quit: Linkinus - http://linkinus.com]
<jhass> >> a = 1; a ^= 1; a
<ruboto> jhass # => 0 (https://eval.in/416054)
rbennacer has quit [Remote host closed the connection]
keen__ has quit [Ping timeout: 260 seconds]
rehat has joined #ruby
jpfuente_ has quit [Ping timeout: 250 seconds]
coban2k has quit [Remote host closed the connection]
drewo has quit [Ping timeout: 245 seconds]
josh3 has joined #ruby
GnuYawk has joined #ruby
bronson has quit [Remote host closed the connection]
jenrzzz has joined #ruby
yo has joined #ruby
tkuchiki has joined #ruby
shazaum_ has joined #ruby
yo is now known as Guest38519
oo_ has joined #ruby
TheNet has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Guest38519 has left #ruby [#ruby]
drewo has joined #ruby
bronson has joined #ruby
houhoulis has joined #ruby
hotpancakes has joined #ruby
tkuchiki has joined #ruby
autofsckk has joined #ruby
rbennacer has joined #ruby
<autofsckk> hello, im trying to install fedena and i get this error http://codepad.org/9ElnrQft im really new to ruby, its my first time trying to install something, any help would be appreciated
tkuchiki has quit [Remote host closed the connection]
jpfuentes2 has joined #ruby
josh3 has quit [Ping timeout: 250 seconds]
rubie has quit [Remote host closed the connection]
TheNet has quit [Ping timeout: 260 seconds]
<shevy> autofsckk this means that "iconv" is missing
omegamike has quit [Ping timeout: 246 seconds]
<shevy> the gem is probably on https://rubygems.org/gems/iconv
<shevy> you can try on the commandline "gem install iconv"
northfurr has joined #ruby
jackjackdripper has joined #ruby
tkuchiki has joined #ruby
dh64 has quit [Remote host closed the connection]
<autofsckk> shevy: should i install gems with root? cause the guide im using says to install with sudo, is it right?
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
ascarter has joined #ruby
hotpancakes has quit [Ping timeout: 252 seconds]
<hays> you can do user-install also
noethics has quit [Quit: Leaving]
rubie has joined #ruby
<shevy> autofsckk well there are two main modes of installing
TheNet has joined #ruby
<shevy> autofsckk globally into that prefix you see, /usr/lib/ruby bla, or home-dir local
RegulationD has joined #ruby
<autofsckk> hays: i read about that too, that if i want to install to all users do it with root privileges, but what is recommended? im using a specific user to show webpages on his /home
<shevy> the second would go via "gem install --user-install"
<hays> gem install iconv --user-install perhaps
<shevy> autofsckk on my machine here, with me as the only user, I install globally
<shevy> at work I had no access to /usr hierarchy so I had to use --user-install
hotpancakes has joined #ruby
<autofsckk> this is testing environment too, so system wide its ok?
dseitz has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
c0ncealed has joined #ruby
<shevy> yeah. I don't know why you are so reluctant. if it is your machine, you find out you don't like it, you uninstall it again via "gem uninstall name_here"
zanloy has quit [Ping timeout: 250 seconds]
blue_deref has quit [Quit: bbn]
<shevy> anyone happens to know if I made a mistake here? goo.gl/15XiCX - the intent was to compare 4 programming languages
<autofsckk> its not being reluctant, its that this is new to me, all jajajaj so i dont know whats safer and best practices, i've been reading for 2 days about ruby, its a lot of information
TheNet has quit [Ping timeout: 245 seconds]
mistym has quit [Ping timeout: 246 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
<hays> i am very much enjoying ruby here at my 2nd or 4rd week
<shevy> you can install and uninstall gems just fine
<hays> that range is [ , )
mistym has joined #ruby
<shevy> hays but you used another programming language before right
<hays> sure
Pupeno has quit [Ping timeout: 246 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hotpancakes has quit [Ping timeout: 260 seconds]
mandarinkin has quit [Quit: Leaving]
casadei has quit [Remote host closed the connection]
<autofsckk> now i get this error after iconv been installed
<hays> my personal preference is to keep everything in user directories on my mac..
<shevy> autofsckk hmm I don't think I have seen that error before
<autofsckk> neither do i jajajaja :/
<shevy> RDocTask is not a standalone gem; the :: prefix means it is part of the Rake namespace, probably it is a rake-addon
<shevy> does the thing you are trying to install, not have any readme or instructions?
<shevy> and btw why do you have /root/.gem/ruby/2.2.0/gems/, that is --user-install or?
<autofsckk> shure https://en.wikibooks.org/wiki/Fedena/Installation#Ubuntu_Linux but i got stuck at the middle with these errors
xcesariox has joined #ruby
tkuchiki_ has joined #ruby
twohlix has quit [Ping timeout: 244 seconds]
jalcine has quit [Ping timeout: 244 seconds]
sevenseacat has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thang has quit [Ping timeout: 246 seconds]
Nightmare has quit [Ping timeout: 244 seconds]
<autofsckk> shevy: i got this warning when installing iconv by the way http://codepad.org/TndXFbgz
Davey has quit [Ping timeout: 246 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjohnson has quit [Quit: Connection closed for inactivity]
thang has joined #ruby
Hijiri has quit [Ping timeout: 244 seconds]
LBRapid has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
christiandsg has joined #ruby
podman has quit [Quit: Connection closed for inactivity]
tkuchiki_ has quit [Remote host closed the connection]
Nightmare has joined #ruby
Davey has joined #ruby
jalcine has joined #ruby
twohlix has joined #ruby
<shevy> autofsckk that is strange, it seems to install into your home dir by default.
krz has quit [Quit: WeeChat 1.2]
<shevy> autofsckk you can also look at "gem env" and "gem list"
<shevy> you need to keep in mind when you follow a guide that this is distribution specific
<shevy> so if you want to follow a guide, you should follow it without modifications
LBRapid has joined #ruby
Lucky__ has joined #ruby
christiandsg has quit [Ping timeout: 265 seconds]
josh3 has joined #ruby
oo_ has quit [Remote host closed the connection]
msnyon has joined #ruby
<shevy> when I do a "gem install foo", it will install into /Programs/Ruby/Current/lib/ruby/gems/2.2.0/gems/
<autofsckk> i didnt know about the distro specific, i use arch and i dont know where gems get installed, im installing the app at a users home dir, and now im trying to install gems as that user instead of root
<zenspider> mmm... you're installing it in public_html... which is not a good idea
Hijiri has joined #ruby
rubie has quit [Remote host closed the connection]
lannonbr has joined #ruby
rubie has joined #ruby
<autofsckk> zenspider: ok i see, so i should install it in /home/user
rubie has quit [Read error: Connection reset by peer]
rubie has joined #ruby
<shevy> autofsckk well, when you do a "gem install", the gems will be downloaded; you can switch to the specific user, and always perform a --user-install installation of the .gem in question
maletor has quit [Quit: Computer has gone to sleep.]
rubie has quit [Remote host closed the connection]
rubie has joined #ruby
msnyon has quit [Ping timeout: 256 seconds]
bricker has quit [Ping timeout: 245 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
baweaver has joined #ruby
josh3 has quit [Ping timeout: 260 seconds]
frem has quit [Quit: Connection closed for inactivity]
<autofsckk> pwdi moved the folder from public_html to /home/user and installed as user, asked me for "gem install i18n -v 0.4.0" and "gem install -v=2.3.5 rails" with i did, and then after doing "rake gems:install --trace" i get this erros http://lpaste.net/6491805770408001536
<autofsckk> what does rake do?
<autofsckk> man rake
coban2k has joined #ruby
sgambino has joined #ruby
<autofsckk> oh i see, it does like compile and make the binary right?
<zenspider> this code is ancient, isn't it?
<zenspider> Rake::RDocTask implies this is ooold
nerio has joined #ruby
<zenspider> and you're installing rails 2.3.5???
<zenspider> but you're using ruby 2.2.0 ... you're just going to have a ton of problems
<autofsckk> jejejeje im already having them :/ zenspider
rubie has quit [Remote host closed the connection]
<autofsckk> when i did "rake gems:install" this was the answer Fedena requires i18n gem version 0.4.0 to be installed.Run gem install i18n -v 0.4.0
<autofsckk> Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. thats why i installed that rails version
<zenspider> rails 2.3 is _ancient_. the rake task you want to run is _ancient_. But you're trying to do that with the latest version of ruby. This isn't going to end well for you
<zenspider> either, find a project that is actually kept up to date, or follow their instructions EXACTLY
baweaver has quit [Remote host closed the connection]
<zenspider> which, by looking at their instructions, you've failed to do
swgillespie has joined #ruby
<Coraline> Eep, 2009
<zenspider> these instructions are terrible
ecksit has joined #ruby
bronson has quit [Remote host closed the connection]
hydrozen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpablo__ has joined #ruby
rubie has joined #ruby
j4cknewt has quit [Remote host closed the connection]
<zenspider> autofsckk: I'd just stop what you're doing right now
<zenspider> the instructions are bad and are going to waste your time
<autofsckk> ok
<zenspider> this project hasn't had a commit to it since jan 2013
davedev24 has joined #ruby
j4cknewt has joined #ruby
<zenspider> http://projectfedena.org/install is better... but still assuming that apt-get install ruby will install 1.8.x, which is false
bronson has joined #ruby
<autofsckk> zenspider: i can maybe downgrade the ruby version and rails so that project works?
ponga has quit []
<autofsckk> zenspider: im using arch and i can install ruby 2.2 2.1 2.0 or 1.9
decaff has joined #ruby
oo_ has joined #ruby
bigmac has quit [Ping timeout: 260 seconds]
juanpablo__ has quit [Ping timeout: 246 seconds]
mesamoo has joined #ruby
C1V0 has quit []
mesamoo has quit [Client Quit]
northfurr has quit [Quit: northfurr]
j4cknewt has quit [Remote host closed the connection]
hydrozen has joined #ruby
bootstrappm has left #ruby [#ruby]
EllisTAA has quit [Quit: EllisTAA]
coban2k has quit [Remote host closed the connection]
coban2k has joined #ruby
michaeldeol has joined #ruby
<sphex> hey.. the "WeakHash" example from the "WeakRef" documentation doesn't allow the hash table itself to free up its space right? just the key/value objects it points to?
drewo has quit [Ping timeout: 245 seconds]
drewo has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
coban2k has quit [Ping timeout: 245 seconds]
ivanskie has joined #ruby
djbkd has quit [Quit: My people need me...]
allcentury has quit [Ping timeout: 250 seconds]
arescorpio has quit [Quit: Leaving.]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> autofsckk downgrading will become even harder ;)
devoldmx has joined #ruby
<shevy> autofsckk if you are using arch though, you can wait for jhass to wake up (european time zone); he is an arch pro
NeverDie has quit [Read error: Connection reset by peer]
NeverDie has joined #ruby
TheNet has joined #ruby
hotpancakes has joined #ruby
SirFunk has quit [Remote host closed the connection]
RobertBirnie has joined #ruby
tkuchiki has joined #ruby
SirFunk has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
NeverDie has quit [Max SendQ exceeded]
towski_ has quit [Remote host closed the connection]
NeverDie has joined #ruby
galeido has quit [Ping timeout: 244 seconds]
galeido has joined #ruby
_blizzy_ has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
tmtwd has joined #ruby
bronson has quit [Remote host closed the connection]
galeido has quit [Ping timeout: 246 seconds]
galeido_ has joined #ruby
casadei has joined #ruby
drewo has quit [Ping timeout: 244 seconds]
tmtwd has quit [Client Quit]
astrobun_ has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
workmad3 has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
htmldrum has quit [Ping timeout: 260 seconds]
htmldrum has joined #ruby
blackmesa has joined #ruby
bmurt has joined #ruby
frozen3 has joined #ruby
mmmmmagic has joined #ruby
mmmmmagic has left #ruby [#ruby]
omegamike has joined #ruby
hahuang61 has quit [Ping timeout: 246 seconds]
hotpancakes has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 244 seconds]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drewo has joined #ruby
yfeldblum has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 252 seconds]
dorei has quit []
scripore has joined #ruby
omegamike has quit [Ping timeout: 240 seconds]
christiandsg has joined #ruby
oo_ has quit [Remote host closed the connection]
nerio has quit [Ping timeout: 264 seconds]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coban2k has joined #ruby
bmurt has quit []
saddad has joined #ruby
bigmac has joined #ruby
olivierrr has joined #ruby
lampshades has joined #ruby
seanmclaren has joined #ruby
arooni-mobile has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<miah> downgrading is ... don't do it.
htmldrum has quit [Ping timeout: 265 seconds]
Feyn has joined #ruby
Alayde has joined #ruby
Musashi007 has joined #ruby
LMity has joined #ruby
seanmclaren has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
<pontiki> hi, folks o/
juanpablo__ has joined #ruby
j4cknewt has joined #ruby
devbug has joined #ruby
rbennacer has joined #ruby
ascarter has joined #ruby
centrx has joined #ruby
<shevy> hey tikipontas
<pontiki> hey shevy
oo_ has joined #ruby
Limix has joined #ruby
juanpablo__ has quit [Ping timeout: 264 seconds]
Yzguy has quit [Quit: Zzz...]
michael_mbp has quit [Excess Flood]
lampshades has quit []
LMity has quit [Ping timeout: 260 seconds]
oo_ has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
northfurr has joined #ruby
hydrozen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michael_mbp has joined #ruby
Musashi007 has quit [Quit: Musashi007]
bronson has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
htmldrum has joined #ruby
Rickmasta has joined #ruby
northfurr has quit [Quit: northfurr]
northfurr has joined #ruby
tubulife- has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
ecksit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dseitz has joined #ruby
josh3 has joined #ruby
Channel6 has joined #ruby
frem has joined #ruby
LMity has joined #ruby
linuxboytoo has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
radgeRayden_ has joined #ruby
phutchins1 has quit [Ping timeout: 246 seconds]
phutchins has quit [Ping timeout: 272 seconds]
linuxboytoo has quit [Ping timeout: 244 seconds]
josh3 has quit [Ping timeout: 252 seconds]
bronson has quit [Remote host closed the connection]
josh3 has joined #ruby
ivanskie has joined #ruby
hotpancakes has joined #ruby
christiandsg has quit [Read error: Connection reset by peer]
christiandsg has joined #ruby
christiandsg has quit [Read error: Connection reset by peer]
Darkwater has quit [Ping timeout: 250 seconds]
Pupeno has joined #ruby
Igor2__ has joined #ruby
LMity has quit [Ping timeout: 260 seconds]
rbennacer has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
baweaver has joined #ruby
TheNet has quit [Quit: Leaving...]
frozen3 has quit [Remote host closed the connection]
rcs has quit [Ping timeout: 252 seconds]
<shevy> huh
<shevy> i.gsub!(/\n/,'')
<shevy> that is equal to i.delete!("\n") or?
frozen3 has joined #ruby
<centrx> can't be because Rails has a String#remove for that
RobertBirnie has joined #ruby
<centrx> might be the same when it's only one character
celly has joined #ruby
josh3 has quit [Ping timeout: 256 seconds]
christiandsg has joined #ruby
bronson has joined #ruby
rcs has joined #ruby
frozen3 has quit [Ping timeout: 255 seconds]
christiandsg has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<shevy> I didn't know you do rails
braincrash has quit [Quit: bye bye]
<centrx> yeah I'm a rails pro
yfeldblum has quit [Remote host closed the connection]
techsethi has joined #ruby
yfeldblum has joined #ruby
ascarter has joined #ruby
<celly> anyone here have some good experience with DEVISE?
autofsckk has quit [Quit: leaving]
<celly> getting a weird bug where when a user changes their email address, instead of changing it and allowing them to log in with said email, it just cancels their account
autofsckk has joined #ruby
ascarter has quit [Max SendQ exceeded]
astrobun_ has joined #ruby
ascarter has joined #ruby
<Aeyrix> celly: #rubyonrails
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
<celly> @Aeyris: i posted in there but got no response, and i just saw someone else get kicked (gambl0re) that was being pushy, i guess, and i didn't want to be that guy....
jenrzzz has joined #ruby
northfurr has quit [Quit: northfurr]
drewo has quit [Ping timeout: 246 seconds]
braincrash has joined #ruby
Torrieri has joined #ruby
<centrx> celly, Yeah it's pretty heated in there, but you can ask questions,just seems to be getting drowned out
<centrx> celly, It helps to ask something specific, with say an error message, with what you've tried so far, code pastes
<centrx> celly, Did you find anything about this problem by searching online?
<centrx> celly, Usually you're not the first one
<celly> yeah, i've been asking, but apparently, its goign unnoticed
<celly> yeah
<celly> i usually try to search online before jumping on IRC
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hotpancakes has quit [Remote host closed the connection]
countryHick has joined #ruby
chipotle has joined #ruby
autofsckk has quit [Ping timeout: 250 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
autofsckk has joined #ruby
cantaberry has quit []
jackjackdripper has quit [Quit: Leaving.]
shinnya has quit [Ping timeout: 265 seconds]
<shevy> is there a simple way to downcase all keys of a hash?
coban2k has quit [Remote host closed the connection]
<Aeyrix> I went with x.map{ |k,v| k.downcase } tbh
<Aeyrix> returns an array of keys
ctalr_ has joined #ruby
<shevy> centrx damn... they have a lot of stuff
<centrx> shevy, Yeah you don't need to use the rest of Rails either, all these utility methods are in ActiveSupport which can be used by itself
Torrieri has quit [Quit: Be back later ...]
ctalr has quit [Ping timeout: 256 seconds]
ecksit has joined #ruby
ctalr_ is now known as ctalr
sphex_ has joined #ruby
ctalr is now known as Guest73551
sphex has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
ecksit has quit [Client Quit]
Guest73551 has quit [Quit: leaving]
galeido_ has quit [Ping timeout: 246 seconds]
bweston92 has quit [Read error: Connection reset by peer]
cohiijay has quit [Ping timeout: 250 seconds]
galeido has joined #ruby
ctalr_ has joined #ruby
ctalr_ has quit [Client Quit]
jackjackdripper has joined #ruby
autrilla has quit [Quit: Connection closed for inactivity]
jackjackdripper has quit [Client Quit]
hydrozen has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
oo_ has quit [Remote host closed the connection]
centrx has quit [Quit: "You cannot fix a machine by just power-cycling it with no understanding of what is going wrong."]
icebourg has joined #ruby
towski_ has joined #ruby
hotpancakes has joined #ruby
josh3 has joined #ruby
christiandsg has joined #ruby
christiandsg has quit [Remote host closed the connection]
devoldmx has joined #ruby
hotpancakes has quit [Ping timeout: 245 seconds]
cpruitt has quit [Quit: cpruitt]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
framling has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
Musashi007 has joined #ruby
workmad3 has joined #ruby
josh3 has quit [Ping timeout: 264 seconds]
devoldmx has quit [Ping timeout: 260 seconds]
Vile` has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
dimasg has quit [Ping timeout: 265 seconds]
saddad has quit [Ping timeout: 244 seconds]
Vile` has joined #ruby
hotpancakes has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
lessless has joined #ruby
oo_ has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
carlosoliveira has joined #ruby
josh3 has joined #ruby
oo_ has quit [Remote host closed the connection]
decaff has quit [Remote host closed the connection]
GnuYawk has quit [Read error: No route to host]
jonee has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josh3 has quit [Ping timeout: 264 seconds]
gix has quit [Ping timeout: 264 seconds]
gix has joined #ruby
nirvdrum has joined #ruby
celly has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
lannonbr has quit [Quit: WeeChat 1.2]
<ght> Is this syntax not correct for rescuing SocketError and XMLRPC:;FaultExceptions?: rescue SocketError, XMLRPC::FaultException => e
<sevenseacat> ght: don't cross-post.
freerobby has joined #ruby
<ght> Two different channels.
Musashi007 has quit [Quit: Musashi007]
<ght> Anyone?
<sevenseacat> yeah thats kinda the definition of cross-posting
<sevenseacat> and given I asked you a question in the other channel you didnt answer, well
nirvdrum has quit [Ping timeout: 255 seconds]
<ght> I'm looking for the answer, not more questions.
<sevenseacat> !mute ght
<sevenseacat> don't be rude, also.
Musashi007 has joined #ruby
juanpablo__ has joined #ruby
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
<Aeyrix> dam sun
<Aeyrix> Is there something in the water today?
* Aeyrix looks outside at the rain.
ShellsForDays has joined #ruby
swgillespie has joined #ruby
<ShellsForDays> Hi!
<sevenseacat> ShellsForDays: good afternoon
<ShellsForDays> Hello sir.
<Aeyrix> sevenseacat: Wait is it afternoon for you now?
<ShellsForDays> As you can see by my nick, I have, in fact, "shells for days"
<Aeyrix> My understanding of timezones is clearly broken.
<Aeyrix> ShellsForDays: neat
coban2k has joined #ruby
<ShellsForDays> Mute away!
<sevenseacat> Aeyrix: we're tww hours behind you.
<sevenseacat> *two
<Aeyrix> ShellsForDays: what
<sevenseacat> ShellsForDays: huh?
<Aeyrix> sevenseacat: Oh. I genuinely thought you were 3.
<sevenseacat> Aeyrix: only during daylight savings.
<ShellsForDays> ShellsForDays: wat?
juanpablo__ has quit [Ping timeout: 265 seconds]
<Aeyrix> sevenseacat: Oh, right.
<sevenseacat> ShellsForDays: you want me to mute you?
<ShellsForDays> Well, you muted shell #57 over there
<sevenseacat> oh I see, you're ght playing stupid tricks?
michael_mbp has quit [Excess Flood]
<ShellsForDays> That's not very polite.
<ShellsForDays> Adios!
<Aeyrix> So edgy.
ShellsForDays has quit [Client Quit]
<sevenseacat> k
<sevenseacat> that was entertaining.
NeverDie has quit [Max SendQ exceeded]
Musashi007 has quit [Quit: Musashi007]
michael_mbp has joined #ruby
NeverDie has joined #ruby
xwct has joined #ruby
chihhsin has quit [Ping timeout: 265 seconds]
chihhsin has joined #ruby
sbnrd has joined #ruby
haraoka has joined #ruby
<Aeyrix> Worst botflood I've ever seen tbh.
kp666 has joined #ruby
houhoulis has quit [Remote host closed the connection]
Oka has quit [Quit: さようなら]
mary5030 has joined #ruby
hololeap has quit [Ping timeout: 250 seconds]
dagda1_ has quit [Quit: Textual IRC Client: www.textualapp.com]
christiandsg has joined #ruby
Meow-J has joined #ruby
techsethi has quit [Ping timeout: 244 seconds]
yh has quit [Ping timeout: 256 seconds]
techsethi has joined #ruby
darkf has joined #ruby
qiukun has quit [Quit: qiukun]
symm- has joined #ruby
Renich has quit [Quit: leaving]
dimasg has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
techsethi_ has joined #ruby
techsethi has quit [Ping timeout: 250 seconds]
techsethi_ is now known as techsethi
dimasg has quit [Ping timeout: 244 seconds]
josh3 has joined #ruby
Creator has joined #ruby
iamninja has joined #ruby
niiggeradder has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
khebbie has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arooni-mobile has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 255 seconds]
techietrash has joined #ruby
khebbie has quit [Remote host closed the connection]
Pupeno has joined #ruby
rbennacer has quit [Remote host closed the connection]
mary5030_ has joined #ruby
Musashi007 has joined #ruby
mary5030 has quit [Ping timeout: 246 seconds]
olivierrr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swgillespie has joined #ruby
techsethi has quit [Quit: techsethi]
Pupeno has quit [Ping timeout: 244 seconds]
swgillespie has quit [Max SendQ exceeded]
mary5030_ has quit [Ping timeout: 245 seconds]
techietrash has quit [Ping timeout: 246 seconds]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rubie has quit [Remote host closed the connection]
swgillespie has joined #ruby
djbkd has joined #ruby
rubie has joined #ruby
josh3 has quit [Ping timeout: 255 seconds]
josh3 has joined #ruby
hydrozen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
qiukun has joined #ruby
michael_mbp has quit [Excess Flood]
nofxx has joined #ruby
<niiggeradder> has anyone seen miss watson's big nigger named jim around?
michael_mbp has joined #ruby
<miah> !ban niiggeradder
<Aeyrix> n i c e m e m e
<niiggeradder> don't let your memes be dreams
<Radar> fin
niiggeradder was banned on #ruby by ChanServ [niiggeradder!*@*]
niiggeradder was kicked from #ruby by ChanServ [Banned: http://ruby-community.com/pages/user_rules#rule_2_10]
icebourg has quit []
<Radar> !ban niiggeradder !T 1D
<ruboto> Radar, could not find a matching user for "niiggeradder"
yardenbar has joined #ruby
<miah> i think i won the race
autofsckk has quit [Remote host closed the connection]
<sevenseacat> yay.
<miah> i dont understand it :/
<miah> lets talk about ruby!
<Radar> sure
<Radar> So I'm expected to be able to take data from one system and magically make it appear in another system, with extra data added
<Aeyrix> pubsub
<Radar> For instance there's a product in System #1 called "Giant Cypress DX", and then in System #2, it has a different name which really means the same thing, let's say it
<Radar> it's "Cypress DX 2015", and "Giant" is some other field
SOLDIERz has joined #ruby
<Radar> There is no shared unique ID between the two products, and yet I am supposed to know magically how to work out that these two products are the same
<Radar> Can Ruby make these demands more reasonable?
<Aeyrix> Yes.
christiandsg has quit [Read error: Connection reset by peer]
TvL2386 has joined #ruby
<mozzarella> does it follow specific rules?
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
jpfuentes2 has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
riotjones has joined #ruby
josh3 has quit [Ping timeout: 244 seconds]
oo_ has joined #ruby
jonee has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
freeze has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
ramfjord has joined #ruby
jokester has quit [K-Lined]
joe2 has quit [K-Lined]
jpfuente_ has joined #ruby
hotpancakes has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 246 seconds]
dhjondoh has joined #ruby
jpfuentes2 has quit [Ping timeout: 260 seconds]
countryHick has quit [Quit: Connection closed for inactivity]
<sevenseacat> i have no idea how you would do that
<Radar> mozzarella: Nope.
<sevenseacat> I'd be printing a long list of each product name and getting an intern somewhere to match them up
<Aeyrix> Big hash
<Aeyrix> :D
hotpancakes has joined #ruby
<mozzarella> do they have some common data?
oo_ has quit [Ping timeout: 246 seconds]
khebbie has joined #ruby
khebbie has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
freeze has joined #ruby
jonee has joined #ruby
bruno- has joined #ruby
baroquebobcat has joined #ruby
oo_ has joined #ruby
blt has joined #ruby
<Radar> mozzarella: Nope.
<Radar> Titles *might* be identical, but that's a stretch.
<Igor2__> hmm, it seems there is no Integer() in mruby
riotjones has joined #ruby
<Igor2__> what could I use as an alternative?
workmad3 has joined #ruby
Rickmasta has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
<Igor2__> I'd like to convert a string to an integer
<sevenseacat> .to_i ?
ferhaty has joined #ruby
<Igor2__> it did the trick, thanks!
<sevenseacat> :)
Hayate has joined #ruby
RobertBirnie has joined #ruby
Hayate has left #ruby [#ruby]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
workmad3 has quit [Ping timeout: 272 seconds]
Creator has quit [Quit: Leaving]
UtkarshRay has joined #ruby
devoldmx has joined #ruby
maletor has joined #ruby
<Igor2__> ... and... tada! from now on libgpmi has support for mruby
Limix has quit [Quit: Limix]
skade has joined #ruby
mary5030 has quit [Ping timeout: 244 seconds]
devoldmx has quit [Ping timeout: 260 seconds]
danieli has joined #ruby
blt has left #ruby ["WeeChat 1.2"]
skade has quit [Quit: Computer has gone to sleep.]
NeverDie has quit [Max SendQ exceeded]
aibo has joined #ruby
Musashi007 has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
FamilyGuy has joined #ruby
<FamilyGuy> [ace] [spoiler] \13k _5moufl __main__ _aeris_ _ht _mh_ _vision _whitelogger `derpy abbe abyss AccordLTN AckZ adaedra adam12 adambeynon adamholt AdamMeghji adeponte Adran adzuci aep Aeyrix Affix ahuman aibo ajafo ajaiswal akahn akitada akkad akosednar akurilin al2o3-cr alakra Alayde alekst_ alem0lars
<FamilyGuy> AlexAltea alexblom alexherbo2 Alina-malina allie alxndr amclain amcoder amitchellbullard ammar andersh anekos angelixd Ankhers AnoHito Antiarc apeiros Apocalypse araujo ArchRogem Aria artmann Asher ashleyhindle ashleyis asi_ aspiers astrobun_ astrobunny atmosx atom3_ atomical AustinMatherne avdi avelldiroll awk axisys Azure badeball bakedb
<FamilyGuy> banister bankair baroquebobcat bartj3 bascht bauruine baweaver bcavileer benatkin benlakey bestie bf4_ bffff_ bhaak bhorn1|away bier bigkevmcd bigmac bihi Billias Biohazard_ Bish bjeanes bkutil_ blackjid blowmage` Blue_Ice_ BLuEGoD bluOxigen bmcginty bmn_ bnagy bnizzle bodie_ borkdude bougyman bourbon bove BraddPitt bradland
<FamilyGuy> braidn braincrash brainslug Brando753 brixen bronson bryancp BTRE bttf busterarm ByronJohnson bzf C0deMaver1ck_ c0ncealed Caelum Caius cajone callumacrae camilasan camt canton7 cardoni carlosoliveira casadei catbusters cball cbednarski cbetta ccbn ccooke certainty cescalante cFouts cgrieger^away Channel6 charles81 charliesome ChasedSpade chihhsin chipotle
<FamilyGuy> chridal chris2 chrisarcand chrisseaton chuy CHVNX cibs cina cj cjk101010 ckrailo clamstar cliffstah closer coban2k code1o6 code_ codeitagile coffeejunk Coldblackice colstrom connor_goodwolf contradictioned cookiez Coraline Cork cornerman corpsicle cout crankharder crayfishx crdpink2 Criten crowell csaunders cscheib cschneid cstrahan culturelabs Cust0sLim3n
<FamilyGuy> dabradley daed dandrade danieli DanKnox danman danoo_ danshultz danzilio darix DarkBushido darkf DarthGandalf davedev24 Davey davidcelis daxroc daynaskully dbussink dcope ddfreyne ddv DEac- deavid DefV deimos_ demophoon DenSchub destructure devbug devn devyn DexterLB df dfedde dfoolz_ dfrakk dhjondoh dhruvasagar dhtns
<FamilyGuy> Diabolik diegok dijikul djbender djbkd djcp dling DmitryM dmoe dogeuira dont-panic dopamean_ dostoyevsky drager Drakevr drbrain drizz drPoggs drzel dseitz dualbus duckson_ dudedudeman duderonomy dukedave duoi dvabr Dwarf DylanJ eam ebarrett ec\_ edenc edwardly eggoez Eising ejnahc ekem elaptics ELCALOR
<FamilyGuy> ElderFain elektronaut ELLIOTTCABLE ElSif elton emdub Encapsulation EnergyCoffee entropie epochwolf eregon erichmenge ericwood Esya EvanGuru EvilJStoker ex0ns exadeci exceion existensil eytanfb FamilyGuy farn FastJack ferhaty Feyn FifthWall finges firevolt firoxer Flipez flori fluchtreflex Fluent flughafen fold forgot Fraeon framling franckverrot
<FamilyGuy> frank_____ frankS2 freedrull freerobby freeze frem frigidcode frode15243 fulgore_ fumduq- fumk funnel G g0rx_ Gadgetoid gagrio galeido GarethAdams ged__ george2 gf3 ggherdov GGMethos ghormoon ght gigetoo gix glowcoil gnarf Gnubie_ go|dfish graft greedo gregf gregf_ grubernaut gsingh93 Guest41043 Guest70057 Guest85414______
<FamilyGuy> Guest87023 haasn hachiya hackeron_ hagabaka hakunin hal_9000 halfdan Hamled hanmac haraoka harleypig haroldwu hasB4K HashNuke hays headius Heero heftig heinrich5991 Helheim hellschreiber helpa heyimwill hfp hfp_work Hien Hijiri Hobbyboy hoelzro hoey holsee_ hostess hotpancakes hplar htmldrum humd1ng3r hyperdrive hypnosb iamayam
<FamilyGuy> iamdevnul iamninja icedp IceDragon IceyEC Igor2__ im0b imajes infernix infinite1tate inukshuk iooner ipstatic irk_ ironcamel iszak ivanf j416 j4cknewt jalcine Jamo jamo_ janno jaredrhine_ jatb JaTochNietDan jaxxstorm jayne jeaye Jello_Raptor jenrzzz jeregrine jevs jgpawletko jhass jidar jimbeaudoin jimeh JimmyNeutron jinie
<FamilyGuy> jinx123 jlyndon jmcc jmhmccr jmignault joaomdmoura joast joelataylor joevandyk joeyjones johnhamelink jokke JoL1hAHN jonee joneshf-laptop jordanm jpfuente_ jpinnix______ jsaak jso jsrn JStoker jtdowney jtperreault Juanchito jud julie_harshaw Junaos justinmcp justinweiss jxf jxie jzigmund kadoppe kalleth kallisti5 kalz kalzz Kamilion kannan4k
<FamilyGuy> kapowaz kappy Karunamon kaspergrubbe KC9YDN keen___ Kellin kenichi kent\n Kero Kharma kies kiki_lamb KillerFox Killerkeksdose kitallis kith klaas klingeldraht kloeri Klumben knowtheory knu Koshian Kovensky kp666 kq_away_ krainboltgreene KramerC krasnus kriskropd Kruppe KrzaQ lacrosse lady3bean lagweezle lampd1 lancetw lanemeyer larissa
<FamilyGuy> LBRapid leafybasil ledestin lele lele|w leslie lessless levifig lguardiola lhz Liam` lianj Lildirt linc01n linduxed Liothen LiquidInsect livcd ljarvis Lloyd lnx Log1x lokulin loop3r lorn lostcuaz lotherk low-profile lsmola ltd Lucky__ luksaur luluapple lupine luzidco lwu M-mistake M-prosodyContext M-Technic m4rCsi
<FamilyGuy> machty madhatter mago0 mahlon major_majors malcolmva maletor maloik mame2 manveru marcoamo1 MarcWeber marens marienz marsjaninzmarsa martinbjeldbak martinium Matadoer mathie matled matp MatrixBridge matrixise matti mattp- maxmanders mburns mclee Meeh Mekkis melter Meow-J mgorbach mhenrixon Mia miah michael_mbp mighty_gorilla MiracleBlue Miron
<FamilyGuy> MissionCritical mist MisterRusty mistym mjc_ mjmac mlue mmasaki mnemon modern mondo monoprotic monsieurp moredhel Morrolan mosez moshee Motoservo mozzarella mroth mrsolow MuffinPimp Musashi007 musl Muz MVPhelp n1ftyn8_ ndrst neanias neektza neersighted nemesit|znc nertzy neurotech nfsnobody nicechap nickfausnight nickjj nifoc Nightmare
<FamilyGuy> NightMonkey Nilium Nirgali43 nirix nisstyre nitrix nizmow njr njs126 nlsun nocturnalviolet nofxx nomadic noname noobQ nopc0de Nowaker nuck nullwarp nwhirschfeld nyandoge Obfuscate oddmunds okdas olblak Olipro omegahm Omni- oo_ opalraava oxpom oz ozzloy p7r p8952 pabs papercode Paradox parus patronus
<FamilyGuy> patteh_ PaulCapestany PaulePanter Pavel_Fin pawnbox perrier perry petems peterhil peterhu petersaints peteyg petridish ph8 PhilK Phoop phreakocious phrozen77 pipework Pisuke pizzaops pjaspers_ pl1ght PlasmaStar Platini platosha_ pleiosaur pmarreck pocketprotector poguez_ pontiki postmodern pragmatism prasselpikachu preller preyalone Prira programmerq prosodyContext psmolen
<FamilyGuy> psy_ ptierno pusewicz pygospa pyon qiukun QKO quarcu Raboo Radar radens radgeRayden_ raenk ramblinpeck ramfjord RandyT Ray` raypulver RazorX rcs rdema RealMarc redlegion redondos rehat renanoronfle renderful Rennex reprazent_ retornam rfi rflot rfv rhg135 Rickmasta rikai Riking riotjones Rixius rj-code
<FamilyGuy> rmoriz Roa rob_ robbyoconnor RobertBirnie roger_rabbit romero roolo_ Ropeney RTG` rtl rubie ruboto ruisantos russt rvchangue ryotarai ryuu saltsa sanguisdex sarid sarlalian sbhatore sbnrd Schmidt Scient scottstamp scottymeuk scpike scripore scroff SebastianThorn SegFaultAX segmond segv segy Seich Senjai sethetter sevenseacat
<FamilyGuy> sevin sevvie sfr^ shadeslayer shaman42 shawnacscott shazaum_ shelling__ shevy Shibo Shidash shortdudey123 shreknet shtirlic SHyx0rmZ SilentEcho Silex silverdust sindork sirecote SirFunk sivoais sjohnsen skakri skarn Skelz0r skmp slackbotgz slani slash_nick slawrence00 slide sluukkonen smooth_penguin sn0wb1rd snapcase soahccc_ SOLDIERz soloone Someguy123
<FamilyGuy> sonOfRa soosfarm sorah_ Sou|cutter Sp4rKy spacemud Spami sparr spastorino speakingcode spectra_ sphex_ Spleeze ss_much ss_ss sshuff|gone starship Steve_Jobs stevednd StevenXL Sthebig stnly stonecolddevin stoodfarback stryek suffice sumark superrorc superspring SuperTux88 swgillespie swills symm- sysanthrope ta tabakhase tacotaco_ Takumo tbuehlmann tchebb
jenrzzz has quit [Ping timeout: 245 seconds]
<FamilyGuy> TDJACR tekacs tekk Tempesta tenderlove tenseiten teotwaki tercenya terrellt thang TheBrayn thejoecarroll TheMoonMaster TheMysticWyvern theRoUS thesheff17 thomas three18ti timanema timmow_ tkuchiki tobiasvl tobyx tokik tomaw tommylommykins tonini torpig towski_ Tratos Trieste tris Tristan-Speccy troter___ troyready Trynemjoel tskogberg tsunamie TTilus tubbo
<FamilyGuy> tubuliferous_ tuor TvL2386 twistedpixels twohlix tylersmith uber ukd1 unclouded universa1 unreal unsymbol Urocyon UtkarshRay uxp v0n valeri_ufo ValicekB vcoinminer verto vifino Vile` Voker57 vondruch voxxit vt102 warreng wasamasa waxjar weaksauce webhat wedgwood wheresmyjetpack whiteline WillAmes wjimenez5271 wlanboy wldcordeiro wldcordeiro_ wmoxam
<FamilyGuy> wnd woodruffw wookiehangover xcesariox Xiti xMopxShell xnr Xoro xsdg xwct xxneolithicxx xxx yardenbar yasu yawniek ybian yeltzooo yeticry yie yo61 yokel yorickpeterse yosafbridge ytti yxhuvud z3uS zack6849 Zackio zacts Zarthus ZeeNoodleyGamer zemmihates zenguy_pc zenspider zero7 zipkid zly znz_jp zrl ZYPP
<FamilyGuy> zz_barkerd427 zz_Outlastsheep zzak
FamilyGuy was banned on #ruby by Radar [FamilyGuy!*@*]
FamilyGuy has left #ruby [#ruby]
<Radar> Shut. Up.
<Aeyrix> nice meme
<Radar> Asshole.
harleypig has left #ruby [#ruby]
<djbkd> Thank you.
<Lildirt> This dick was just in #android :(
<joaomdmoura> tks
<radgeRayden_> lol
<sorah_> :/
<iamayam> thanks
<towski_> it seems today
<towski_> spammers you see
<Caelum> this guy is spamming like every channel
* Radar celebrates the first proper detection of spam by helpa :D
<Aeyrix> lmao
<Aeyrix> I'm a bad test case.
AlexRussia has joined #ruby
astrobun_ has quit [Remote host closed the connection]
<danieli> lol
NeverDie has joined #ruby
<demophoon> Heh
dimasg has joined #ruby
hotpancakes has quit []
User458764 has joined #ruby
<Radar> Totes weird that we have required nickserv registration turned on in #rubyonrails and we don't get spammers.
<Radar> Must just be a coincidence.
ivanskie has joined #ruby
danman has quit [Quit: danman]
<Igor2__> well, if nickserv was on for #ruby, i couldn't come here to get help and [spoiler] couldn't tell me about mruby and I guess gpmi would have stayed with ruby1.8
<Aeyrix> Not allowed to enable it here?
<Aeyrix> Igor2__: Why don't you just register..?
<Aeyrix> Hell to even USE my IRC network you have to register yourself.
<Igor2__> because I came here only for a few simple questions
<Igor2__> this is a barrier for users like me
<Aeyrix> tbh
<Aeyrix> if that's a barrier
<Aeyrix> then i don't really know what to tell you
<ddv> true
<Igor2__> it's a question of preference or goal of a channel/project
<Igor2__> if you want to be open for wide audience
<Igor2__> you have to accept that not everyone is a hardcore ruby fan who will do anything to join
<Aeyrix> #ror is open to a wide audience
casadei has quit [Remote host closed the connection]
NeverDie has quit [Max SendQ exceeded]
<sevenseacat> Radar: funny, isn't it.
<Igor2__> when I get hooked with a new project, I often look at such barriers
techsethi has joined #ruby
dimasg has quit [Ping timeout: 245 seconds]
<Aeyrix> sevenseacat: I assume this is a uh
<Aeyrix> #ruby BDFL directive
<Aeyrix> yes?
<Igor2__> if I can't report a bug or can't get support without registration, that means to me that the proejct is hostile to users
<Aeyrix> lol
<devbug> woops
<devbug> DISREGARD
<devbug> NSFW
khebbie has joined #ruby
Thomas-0725 has joined #ruby
<devbug> oh god
* devbug runs in shame
<sevenseacat> glad I didn't click that.
<sarid> LOL
<devbug> (it's just an alien egg laying didlo from reddit)
<Aeyrix> um
<Igor2__> lol
khebbie has quit [Remote host closed the connection]
<sarid> devbug's acting a little buggy
<danieli> devbug: lol wut
<danieli> what kind of shady subreddits do you even hang on?
<devbug> wrong channel :S
<devbug> danieli: /r/all
<danieli> aha.
<Aeyrix> If anyone wants the thread: Please seek help.
<Igor2__> lol
<danieli> ^
<danieli> arrow block
jpfuente_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ohaibbq has joined #ruby
techsethi has quit [Ping timeout: 244 seconds]
techsethi_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
* Nilium looks up, is glad he didn't click.
<devbug> Ah, it's called a "Splorch."
juanpablo__ has joined #ruby
<Nilium> OK, you can stop talking about it
<devbug> I'll take you up on that.
oo_ has quit [Remote host closed the connection]
<sevenseacat> please do.
<Nilium> So, in unrelated news, I decided to buy a MinnowBoard because having a Raspberry Pi-sized x86-64 computer would be nice.
carlosoliveira has quit [Quit: Connection closed for inactivity]
<Nilium> Also because it turns out it's hard to do anything CPU-dependent on my Pi 2.
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
UtkarshRay has quit [Remote host closed the connection]
<Nilium> Like running anything in Ruby.
<sevenseacat> so use elixir instead. :trollface:
<Nilium> ¬_¬
sbhatore has quit [Read error: Connection reset by peer]
<Nilium> I use Go.
* Nilium drops the pin.
<Aeyrix> Same.
<sevenseacat> and how is that go...ing?
<Nilium> Sadly, arm64 support in the Go compiler's also not too great right now.
<Nilium> Getting better, but not great.
<Aeyrix> sevenseacat: ಠ_ಠ
<sevenseacat> :D
<Nilium> Considering I made it into one of our primary languages at work, pretty well
<sevenseacat> nice.
<Nilium> Downside is I really need to do more code review with the coworkers who are just now learning it 'cause it's not great.
juanpablo__ has quit [Ping timeout: 260 seconds]
celly has joined #ruby
oo_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
sbhatore has joined #ruby
<Nilium> Lots of obvious cases of not reading the language spec/guide and some terrifying data races
sbhatore has quit [Read error: Connection reset by peer]
NeverDie has joined #ruby
<Aeyrix> Which data won?
Musashi007 has joined #ruby
<Nilium> Don't know, but one of the servers a coworker wrote — which isn't in production yet — could accidentally overwrite response data from one request if you hit it with two simultaneously.
<jud> Nilium, are you trying to run it on a pi?
scripore has quit [Quit: This computer has gone to sleep]
<Nilium> I haven't really worked out why exactly the response was a global variable, but it was.
sbhatore has joined #ruby
icarus has joined #ruby
tkuchiki has joined #ruby
celly has quit [Ping timeout: 245 seconds]
<Nilium> jud: Not sure what you're asking about.
<jud> goarm
<jud> oh, arm64. nvm
<Nilium> I had it working on a Pi 2 after building it myself.
<Nilium> Just wasn't really great.
jpfuentes2 has joined #ruby
<jud> speed or something else?
<jud> im sort of interested to try windows 10 iot core on the pi.. i wonder what distro they based it off of.
<Nilium> Speed's generally not great on the Pi 2, obviously, and besides that a lot of other software I want just plain refuses to work 'cause arm64, of course.
<Nilium> So, I got a MinnowBoard and the general plan is to throw CoreOS and Docker on it, and see how it fares
<Nilium> If all goes well, I'm going to buy several more and turn it into a cluster.
amclain has quit [Quit: Leaving]
eGGsha has joined #ruby
<Nilium> At which point I will have finally accomplished my utterly pointless goal of building a very tiny low-power cluster.
<Nilium> Which I could do with Pi 2s, but getting Docker to work with them would be difficult because all Docker images right now assume your architecture is x86-64
RobertBirnie has quit [Quit: Textual IRC Client: www.textualapp.com]
<Nilium> Could probably use Snappy Ubuntu in place of CoreOS, though.
<[spoiler]> Hello! :)
<Aeyrix> hi
<Nilium> Howdy.
astrobun_ has joined #ruby
ruby-lang189 has joined #ruby
roolo_ has quit [Remote host closed the connection]
hakunin has quit [Remote host closed the connection]
Pavel_Fin has quit [Ping timeout: 240 seconds]
Pavel_Fin has joined #ruby
symm- has quit [Quit: Leaving...]
Askilada has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby
<flughafen> oi
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nofxx> Nilium, archlinux-arm , can't find a better distro for those lil bastards
<Nilium> Probably, but I'm not a huge fan of arch
scripore has joined #ruby
<[spoiler]> Nilium: oh what problems did you have with the Pie?
<[spoiler]> the Pi
<Nilium> At this point I just run FreeBSD on the Pi 2 and that keeps me happy.
<[spoiler]> and running Ruby, I mean
<Nilium> Just poor performance because of what it is.
Chau has joined #ruby
<[spoiler]> Ah
aganov has joined #ruby
<nofxx> Nilium, found that new one that's octa core? snapdragon iirc. Lil expensive, ~80 , but might be a better fit for your cluster
<Nilium> I think I saw it, but my concern at this point is just that arm64 support for anything is poor.
<[spoiler]> Why is there a pigeon in my office
<[spoiler]> it's running, too and not flying
<[spoiler]> more like prancing
<Nilium> e.g., Docker, CoreOS, etc. — sort of what I'm trying to do as a proof of concept so I can push our office to build a larger cluster of machines for QA/CI/general dev stuff.
<zenspider> aren't all ios devices in the arm64 family?
<Nilium> Not all of the ones that are still supported are
scripore has quit [Client Quit]
<Nilium> Most are, though
<zenspider> soooo as far as compiler support and stuff goes... arm64 should be pretty tight
<zenspider> might be a good usecase for mruby
michael_mbp has quit [Excess Flood]
<Nilium> Depends on the compiler, but that's not really the main issue.
<[spoiler]> I had zero issues with mruby on pi2
<Nilium> There are plenty of compilers that will work if one doesn't.
oo_ has quit [Remote host closed the connection]
<Nilium> But the software I want to run isn't practical nor really working on arm64
michael_mbp has joined #ruby
<Nilium> It's not a problem with arm64 or the Pi, it's just a problem with that software not supporting it.
j4cknewt has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
<zenspider> what's the problem?
<[spoiler]> Nilium: is it proprietary software, or does it use some x86_64-specific stuff (I don't even know what the differences between ARM x86_64, actually)
solars has joined #ruby
<[spoiler]> never looked up ARM
iamninja has quit [Ping timeout: 256 seconds]
<Nilium> After saying it several times, I kind of just want to drop the conversation now
<[spoiler]> I just know vaguely what it is
<[spoiler]> Nilium: Oh, OK! Sorry, if I was being pushy.
j4cknewt has joined #ruby
solars has quit [Client Quit]
<Nilium> Not at all, it's just annoying repeating myself.
solars has joined #ruby
<Nilium> There's only so many times I can say "CoreOS and Docker don't support arm64"
khebbie has joined #ruby
<Nilium> Or even ARM. Or x86. Just x86-64.
<[spoiler]> Nilium: I went and read the backlog :)
<[spoiler]> Nilium: I missed the conversation from earlier
oo_ has joined #ruby
EllisTAA has joined #ruby
codecop has joined #ruby
Pavel_Fin has quit [Ping timeout: 272 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
icarus has quit [Ping timeout: 264 seconds]
sinkensabe has joined #ruby
Pavel_Fin has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
icarus has joined #ruby
lele is now known as Guest24
Guest24 is now known as lele
troulouliou_div2 has joined #ruby
ankov has joined #ruby
ankov has quit [Remote host closed the connection]
sinkensabe has joined #ruby
Chau has quit [Quit: Leaving]
mary5030 has joined #ruby
djbkd has quit [Quit: My people need me...]
EllisTAA has quit [Quit: EllisTAA]
Pupeno has joined #ruby
Pavel_Fin has quit [Ping timeout: 255 seconds]
mary5030 has quit [Ping timeout: 246 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
EllisTAA has joined #ruby
arup_r has joined #ruby
EllisTAA has quit [Client Quit]
Pupeno has quit [Ping timeout: 246 seconds]
Philipp__ has joined #ruby
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 244 seconds]
joe2 has joined #ruby
Cust0sLim3n has quit [Ping timeout: 264 seconds]
jokester has joined #ruby
towski_ has quit [Remote host closed the connection]
Cust0sLim3n has joined #ruby
blackmesa has joined #ruby
Thomas-0725 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlphaAtom has joined #ruby
stan has joined #ruby
leat has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
k3asd` has joined #ruby
AlphaAtom has quit [Client Quit]
joonty has joined #ruby
djbkd has joined #ruby
railsraider has joined #ruby
yh has joined #ruby
oo_ has quit [Remote host closed the connection]
eGGsha has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anisha has joined #ruby
radgeRayden_ has quit [Ping timeout: 265 seconds]
ishahnaz has joined #ruby
eGGsha has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Igor2__> bumped into the last problem: on x86_64, debian, /usr/lib/libmruby.a is not compiled with -fPIC, at least the compiler is complaining when I try to link
oo_ has joined #ruby
UtkarshRay has joined #ruby
<[spoiler]> Igor2__: you can use the rbconf file to add -fPIC I remember having that issue I think
<[spoiler]> although I didn't install it from the repo
<[spoiler]> I just downloaded the source
<[spoiler]> and built manually
<Igor2__> i'm just doing that
<Igor2__> if it works, i'll issue a debian bugreport
joonty has quit [Quit: joonty]
TheHodge has joined #ruby
AlphaAtom has joined #ruby
workmad3 has joined #ruby
lxsameer has joined #ruby
davedev2_ has quit [Remote host closed the connection]
cron has joined #ruby
towski_ has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlphaAtom has quit [Client Quit]
cron is now known as Guest42660
nomadic has quit [Ping timeout: 255 seconds]
nomadic has joined #ruby
nomadic has joined #ruby
ghormoon has quit [Ping timeout: 255 seconds]
Matadoer has quit [Ping timeout: 255 seconds]
marsjani- has joined #ruby
lorn has quit [Ping timeout: 255 seconds]
_derpy has joined #ruby
Iskarlar has joined #ruby
rhg135 has quit [Ping timeout: 255 seconds]
`derpy has quit [Ping timeout: 255 seconds]
low-profile has quit [Ping timeout: 255 seconds]
Coraline has quit [Ping timeout: 255 seconds]
perrier has quit [Read error: Connection reset by peer]
djbkd has quit []
towski_ has quit [Remote host closed the connection]
perrier has joined #ruby
marsjaninzmarsa has quit [Read error: Connection reset by peer]
marsjani- is now known as marsjaninzmarsa
Guest41043 has quit [Ping timeout: 255 seconds]
sindork has quit [Ping timeout: 255 seconds]
ironcamel has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
ironcamel has joined #ruby
<Igor2__> cool, now it works on x86_64 too, passes the test
low-profile has joined #ruby
ghormoon has joined #ruby
lorn has joined #ruby
Matadoer has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
sindork has joined #ruby
<Igor2__> I think my adventure with ruby ends here, thanks everyone for the help
<Igor2__> will write the debian bugreport later today
Coraline has joined #ruby
DifferentLambda has joined #ruby
Iskarlar has quit [Client Quit]
<[spoiler]> Igor2__: got it to work?
baroquebobcat has quit [Quit: baroquebobcat]
FATZOMBI has joined #ruby
Iskarlar has joined #ruby
sectionme has joined #ruby
Iskarlar has quit [Read error: Connection reset by peer]
<yorickpeterse> morning
<Igor2__> yup, works on x86_64 after recompiled with -fPIC
<[spoiler]> yorickpeterse: hi <3></3>
devbug has quit [Read error: Connection reset by peer]
<[spoiler]> Igor2__: I'd assume it should be compiled with -fPIC by default
alex88 has joined #ruby
<Igor2__> (i wanted to try it because on x86_64 sizeof(int) != sizeof(void *) so if i had any invalid int<->ptr conversion it would ahve bitten me)
<[spoiler]> wonder why it isn't
<Igor2__> me too
<Igor2__> this why i will file a bug report to debian
<Igor2__> they will decide if it was intentional or if it wasn't, they can fix their build
<[spoiler]> Igor2__: I meant mruby in general. Are there any disadvantages to -fPIC?
<Igor2__> (i didn't use the official release of mruby, I used the debian package)
<Igor2__> i think -fPIC adds some overhead, but i am unsure how/where exactly
htmldrum has quit [Ping timeout: 255 seconds]
<Igor2__> I am compiling my software to like 4..8 architectures normally
<Igor2__> and x86_64 is the only one that requires -fPIC, on the others it's optional
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Alayde has quit [Ping timeout: 264 seconds]
wldcordeiro_ has quit [Remote host closed the connection]
greenarrow has joined #ruby
<Igor2__> did some research
wldcordeiro_ has joined #ruby
<Igor2__> it seems the overhead is paltform dependent
ramfjord has quit [Ping timeout: 245 seconds]
<Igor2__> on i386 it affects every function prologue by loading a pic register and using relative addressing
<Igor2__> but i guess i should look at some asm output
vt102 has quit [Ping timeout: 260 seconds]
<[spoiler]> Igor2__: I am confused because I didn't think/know you needed fPIC for static libraries (I could be wrong)
sbhatore has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
devoldmx has joined #ruby
<Igor2__> well
<Igor2__> I am building a dynamic library
sbhatore has joined #ruby
wldcordeiro_ has quit [Remote host closed the connection]
<Igor2__> that in turn depends on a static library (because libmruby is shipped as a static)
<[spoiler]> Right, but if you link your static library into the dynamic one, will it need fPIC?
low-profile has quit [*.net *.split]
marsjaninzmarsa has quit [*.net *.split]
nofxx has quit [*.net *.split]
rubie has quit [*.net *.split]
kp666 has quit [*.net *.split]
chipotle has quit [*.net *.split]
bronson has quit [*.net *.split]
c0ncealed has quit [*.net *.split]
Shibo has quit [*.net *.split]
duderonomy has quit [*.net *.split]
wheresmyjetpack has quit [*.net *.split]
akosednar has quit [*.net *.split]
mago0 has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
wldcordeiro has quit [*.net *.split]
programmerq has quit [*.net *.split]
andersh has quit [*.net *.split]
JimmyNeutron has quit [*.net *.split]
humd1ng3r has quit [*.net *.split]
njr has quit [*.net *.split]
bmcginty has quit [*.net *.split]
tercenya has quit [*.net *.split]
StevenXL has quit [*.net *.split]
matp has quit [*.net *.split]
sarlalian has quit [*.net *.split]
DanKnox has quit [*.net *.split]
Nirgali43 has quit [*.net *.split]
nickjj has quit [*.net *.split]
lanemeyer has quit [*.net *.split]
scpike has quit [*.net *.split]
hal_9000 has quit [*.net *.split]
sevin has quit [*.net *.split]
lampd1 has quit [*.net *.split]
emdub has quit [*.net *.split]
ZYPP has quit [*.net *.split]
adam12 has quit [*.net *.split]
dont-panic has quit [*.net *.split]
_5moufl has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
nlsun has quit [*.net *.split]
corpsicle has quit [*.net *.split]
mrsolow has quit [*.net *.split]
Kharma has quit [*.net *.split]
graft has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
iszak has quit [*.net *.split]
BraddPitt has quit [*.net *.split]
oz has quit [*.net *.split]
RTG` has quit [*.net *.split]
yie has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
brainslug has quit [*.net *.split]
cescalante has quit [*.net *.split]
phreakocious has quit [*.net *.split]
ashleyhindle has quit [*.net *.split]
MisterRusty has quit [*.net *.split]
irk_ has quit [*.net *.split]
martinbjeldbak has quit [*.net *.split]
C0deMaver1ck_ has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
olblak has quit [*.net *.split]
drzel has quit [*.net *.split]
bmn_ has quit [*.net *.split]
justinmcp has quit [*.net *.split]
shawnacscott has quit [*.net *.split]
Biohazard_ has quit [*.net *.split]
wmoxam has quit [*.net *.split]
petridish has quit [*.net *.split]
apeiros has quit [*.net *.split]
dostoyevsky has quit [*.net *.split]
madhatter has quit [*.net *.split]
nirix has quit [*.net *.split]
rikai has quit [*.net *.split]
Flipez has quit [*.net *.split]
scottstamp has quit [*.net *.split]
pleiosaur has quit [*.net *.split]
devn has quit [*.net *.split]
ipstatic has quit [*.net *.split]
EnergyCoffee has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
ec\_ has quit [*.net *.split]
kenichi has quit [*.net *.split]
<Igor2__> because of my dynamic lib, i need all the .o files to be linked with -fPIC, whether they are coming from my source tree or elsewhere
<Igor2__> static lib is no magic
<Igor2__> .a is just an archive format like tar or zip
rehat has quit [Remote host closed the connection]
<[spoiler]> I realise that
<Igor2__> so it's just a bunch of .o files
<Igor2__> when i build my .so, the rule is that i need all .o files compiled with -fPIC
khebbie has quit [Remote host closed the connection]
14WAATIYW has joined #ruby
conor_ has joined #ruby
<Igor2__> when debian (or anyone else) packages a library, the packager can't predict what a random user will use the lib for
low-profile has joined #ruby
rubie has joined #ruby
nofxx has joined #ruby
kp666 has joined #ruby
chipotle has joined #ruby
devn has joined #ruby
akosednar has joined #ruby
programmerq has joined #ruby
mago0 has joined #ruby
duderonomy has joined #ruby
tercenya has joined #ruby
lanemeyer has joined #ruby
humd1ng3r has joined #ruby
bronson has joined #ruby
Shibo has joined #ruby
sarlalian has joined #ruby
corpsicle has joined #ruby
scpike has joined #ruby
c0ncealed has joined #ruby
bmcginty has joined #ruby
hal_9000 has joined #ruby
andersh has joined #ruby
wldcordeiro has joined #ruby
StevenXL has joined #ruby
matp has joined #ruby
JimmyNeutron has joined #ruby
shadeslayer has joined #ruby
ipstatic has joined #ruby
ZYPP has joined #ruby
_5moufl has joined #ruby
wheresmyjetpack has joined #ruby
emdub has joined #ruby
marsjaninzmarsa has joined #ruby
DanKnox has joined #ruby
nickjj has joined #ruby
sevin has joined #ruby
Kharma has joined #ruby
mrsolow has joined #ruby
ashleyhindle has joined #ruby
martinbjeldbak has joined #ruby
robbyoconnor has joined #ruby
yie has joined #ruby
irk_ has joined #ruby
oz has joined #ruby
nirix has joined #ruby
graft has joined #ruby
drzel has joined #ruby
BraddPitt has joined #ruby
wmoxam has joined #ruby
Killerkeksdose has joined #ruby
shortdudey123 has joined #ruby
shawnacscott has joined #ruby
bmn_ has joined #ruby
C0deMaver1ck_ has joined #ruby
Skelz0r has joined #ruby
cescalante has joined #ruby
Flipez has joined #ruby
dostoyevsky has joined #ruby
justinmcp has joined #ruby
brainslug has joined #ruby
phreakocious has joined #ruby
MisterRusty has joined #ruby
iszak has joined #ruby
Nirgali43 has joined #ruby
petridish has joined #ruby
njr has joined #ruby
Biohazard_ has joined #ruby
nlsun has joined #ruby
madhatter has joined #ruby
lampd1 has joined #ruby
dont-panic has joined #ruby
rikai has joined #ruby
RTG` has joined #ruby
olblak has joined #ruby
adam12 has joined #ruby
apeiros has joined #ruby
scottstamp has joined #ruby
pleiosaur has joined #ruby
kenichi has joined #ruby
EnergyCoffee has joined #ruby
MuffinPimp has joined #ruby
ec\_ has joined #ruby
mago0_ has joined #ruby
<Igor2__> so i think if an arch requires -fPIC, all the libs need to be compiled with that, even if they are static
krz has joined #ruby
infernix has quit [Max SendQ exceeded]
chipotle_ has joined #ruby
tercenya_ has joined #ruby
bronson_ has joined #ruby
nertzy has quit [Ping timeout: 246 seconds]
Hal_9000_ has joined #ruby
MisterRusty has quit [Max SendQ exceeded]
sarlalian has quit [Max SendQ exceeded]
dostoyevsky has quit [Max SendQ exceeded]
martinbjeldbak has quit [Max SendQ exceeded]
robbyoconnor has quit [Max SendQ exceeded]
kp666 has quit [Max SendQ exceeded]
EnergyCoffee has quit [Max SendQ exceeded]
low-profile has quit [Max SendQ exceeded]
ec\_ has quit [Max SendQ exceeded]
programmerq has quit [Max SendQ exceeded]
RTG` has quit [Ping timeout: 245 seconds]
brainslug has quit [Ping timeout: 245 seconds]
drzel has quit [Ping timeout: 245 seconds]
apeiros has quit [Ping timeout: 274 seconds]
MuffinPimp has quit [Ping timeout: 245 seconds]
nlsun has quit [Max SendQ exceeded]
ishahnaz has quit []
<Igor2__> just made some test compilations with gcc on x86_64, there's no diff between fPIC and no-fPIC objects on code level
devoldmx has quit [Ping timeout: 244 seconds]
marsjani- has joined #ruby
MuffinPimp has joined #ruby
humd1ng3r has quit [Ping timeout: 265 seconds]
mrsolow has quit [Ping timeout: 265 seconds]
Kharma has quit [Ping timeout: 265 seconds]
C0deMaver1ck_ has quit [Ping timeout: 265 seconds]
Biohazard_ has quit [Ping timeout: 265 seconds]
kenichi has quit [Ping timeout: 265 seconds]
RTG` has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
<Igor2__> (while linking, my error is about having a .rodata section, which is not allowed in shared libs)
wldcordeiro_ has joined #ruby
robbyoconnor has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
c0ncealed has quit [Ping timeout: 265 seconds]
andersh has quit [Ping timeout: 265 seconds]
StevenXL has quit [Ping timeout: 265 seconds]
Nirgali43 has quit [Ping timeout: 265 seconds]
ZYPP has quit [Ping timeout: 265 seconds]
adam12 has quit [Ping timeout: 265 seconds]
dont-panic has quit [Ping timeout: 265 seconds]
corpsicle has quit [Ping timeout: 265 seconds]
BraddPitt has quit [Ping timeout: 265 seconds]
ashleyhindle has quit [Ping timeout: 265 seconds]
irk_ has quit [Ping timeout: 265 seconds]
madhatter has quit [Ping timeout: 265 seconds]
nirix has quit [Ping timeout: 265 seconds]
devn has quit [Ping timeout: 265 seconds]
ipstatic has quit [Ping timeout: 265 seconds]
thiagovsk has joined #ruby
coban2k has quit [Remote host closed the connection]
rubie has quit [Ping timeout: 265 seconds]
mago0 has quit [Ping timeout: 265 seconds]
hal_9000 has quit [Ping timeout: 265 seconds]
emdub has quit [Ping timeout: 265 seconds]
graft has quit [Ping timeout: 265 seconds]
pleiosaur has quit [Ping timeout: 265 seconds]
Hal_9000_ is now known as hal_9000
<[spoiler]> Hmm, interesting. I learned something, then :)
sbhatore has quit [Read error: Connection reset by peer]
marsjaninzmarsa has quit [Ping timeout: 256 seconds]
nofxx has quit [Ping timeout: 256 seconds]
chipotle has quit [Ping timeout: 256 seconds]
Shibo has quit [Ping timeout: 256 seconds]
wheresmyjetpack has quit [Ping timeout: 256 seconds]
marsjani- is now known as marsjaninzmarsa
duderonomy has quit [Ping timeout: 256 seconds]
akosednar has quit [Ping timeout: 256 seconds]
wldcordeiro has quit [Ping timeout: 256 seconds]
JimmyNeutron has quit [Ping timeout: 256 seconds]
njr has quit [Ping timeout: 256 seconds]
bmcginty has quit [Ping timeout: 256 seconds]
tercenya has quit [Ping timeout: 256 seconds]
matp has quit [Ping timeout: 256 seconds]
DanKnox has quit [Ping timeout: 256 seconds]
nickjj has quit [Ping timeout: 256 seconds]
lanemeyer has quit [Ping timeout: 256 seconds]
scpike has quit [Ping timeout: 256 seconds]
sevin has quit [Ping timeout: 256 seconds]
lampd1 has quit [Ping timeout: 256 seconds]
_5moufl has quit [Ping timeout: 256 seconds]
shadeslayer has quit [Ping timeout: 256 seconds]
shortdudey123 has quit [Ping timeout: 256 seconds]
iszak has quit [Ping timeout: 256 seconds]
oz has quit [Ping timeout: 256 seconds]
yie has quit [Ping timeout: 256 seconds]
Skelz0r has quit [Ping timeout: 256 seconds]
cescalante has quit [Ping timeout: 256 seconds]
phreakocious has quit [Ping timeout: 256 seconds]
Killerkeksdose has quit [Ping timeout: 256 seconds]
olblak has quit [Ping timeout: 256 seconds]
bmn_ has quit [Ping timeout: 256 seconds]
shawnacscott has quit [Ping timeout: 256 seconds]
justinmcp has quit [Ping timeout: 256 seconds]
wmoxam has quit [Ping timeout: 256 seconds]
petridish has quit [Ping timeout: 256 seconds]
rikai has quit [Ping timeout: 256 seconds]
Flipez has quit [Ping timeout: 256 seconds]
scottstamp has quit [Ping timeout: 256 seconds]
dostoyevsky has joined #ruby
EnergyCoffee has joined #ruby
<Igor2__> hmm, strange, there's no diff in the .o either
justinmcp has joined #ruby
<Igor2__> it smells like i am doing something wrong
corpsicle has joined #ruby
olblak has joined #ruby
dont-panic has joined #ruby
ashleyhindle has joined #ruby
devn has joined #ruby
StevenXL has joined #ruby
irk has joined #ruby
Nirgali42 has joined #ruby
emdub has joined #ruby
pleiosaur has joined #ruby
graft has joined #ruby
tomphp has joined #ruby
iszak has joined #ruby
iszak has quit [Changing host]
iszak has joined #ruby
bmcginty has joined #ruby
wmoxam has joined #ruby
Skelz0r has joined #ruby
njr has joined #ruby
scpike has joined #ruby
yie has joined #ruby
Killerkeksdose has joined #ruby
tvw has joined #ruby
sbhatore has joined #ruby
juanpablo__ has joined #ruby
rikai has joined #ruby
<Igor2__> ahh, ok, i had a pure function
<Igor2__> it starts to matter if i reference external symbols
shadeslayer has joined #ruby
yh has quit [Ping timeout: 240 seconds]
sbhatore has quit [Read error: Connection reset by peer]
Zggb has joined #ruby
<Igor2__> hah, yeah, overhead
<Igor2__> so i have an external function call from my function
oz has joined #ruby
<Igor2__> on x86_64 there are only two little differences
sinkensabe has quit [Read error: Connection reset by peer]
shawnacscott has joined #ruby
nlsun has joined #ruby
martinbjeldbak has joined #ruby
charliesome has joined #ruby
_5moufl has joined #ruby
sinkensabe has joined #ruby
shortdudey123 has joined #ruby
<Igor2__> with fpic, i have a leaq instead of a mov, so an indirection, and later on a call to a @PLT function instead of a direct call to the function
<Igor2__> so on x86_64 it's almost neglible
brainslug has joined #ruby
sbhatore has joined #ruby
<Igor2__> on i386, it looks worse
ipstatic has joined #ruby
drzel has joined #ruby
C0deMaver1ck has joined #ruby
MisterRusty has joined #ruby
Biohazard has joined #ruby
<Igor2__> - subl $24, %esp
<Igor2__> + pushl %ebx
<Igor2__> + subl $20, %esp
<Igor2__> + .cfi_offset 3, -12
<Igor2__> + call __i686.get_pc_thunk.bx
<Igor2__> + addl $_GLOBAL_OFFSET_TABLE_, %ebx
gagrio has quit [Remote host closed the connection]
<Igor2__> (- is the no-fpic, + is the fpic version)
humd1ng3r has joined #ruby
C0deMaver1ck is now known as Guest14911
<baweaver> You do realize this is ruby right?
kenichi has joined #ruby
<Igor2__> yup, sorry
sevin has joined #ruby
Flipez has joined #ruby
nirix has joined #ruby
adam| has joined #ruby
DanKnox has joined #ruby
cescalante has joined #ruby
juanpablo__ has quit [Ping timeout: 240 seconds]
nobitanobi has joined #ruby
shredding has joined #ruby
apeiros has joined #ruby
bmn has joined #ruby
gagrio has joined #ruby
<[spoiler]> baweaver: it is marginally realted :P
<[spoiler]> He was compling mruby
<baweaver> netsplit hid most of it
<[spoiler]> Igor2__: we can continue in #ruby-offtopic
<baweaver> seemed odd there was asm around
<Igor2__> ok
ec\ has joined #ruby
lanemeyer has joined #ruby
<[spoiler]> baweaver: yeah I understand what you mean :)
madhatter has joined #ruby
phreakocious has joined #ruby
hakunin has joined #ruby
infernix has joined #ruby
JimmyNeutron has joined #ruby
gagrio has quit [Ping timeout: 244 seconds]
Platini has quit [Ping timeout: 255 seconds]
nofxx has joined #ruby
sarlalian has joined #ruby
akosednar has joined #ruby
kp666 has joined #ruby
lxsameer has joined #ruby
low-profile has joined #ruby
programmerq has joined #ruby
fflush has joined #ruby
blackmesa has joined #ruby
matp has joined #ruby
lampd1 has joined #ruby
kp666 has quit [Max SendQ exceeded]
kp666 has joined #ruby
ZYPP has joined #ruby
crdpink has joined #ruby
Platini has joined #ruby
crdpink2 has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<fflush> bonjour
<fflush> bom dia
<fflush> good morning
<sevenseacat> bonan tagon
Coldblackice has quit [Read error: Connection reset by peer]
kp666 has quit [Max SendQ exceeded]
kp666 has joined #ruby
fflush has quit [Client Quit]
joonty has joined #ruby
bumbar_ has joined #ruby
Coldblackice has joined #ruby
kp666 has quit [Max SendQ exceeded]
kp666 has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
_derpy is now known as `derpy
celly has joined #ruby
danieli has quit [Quit: *does an epic backflip into nowhere*]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
tomphp has joined #ruby
bweston92 has joined #ruby
oo_ has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
charliesome has quit [Client Quit]
stoffus has joined #ruby
oo_ has joined #ruby
celly has quit [Ping timeout: 244 seconds]
c0ncealed has joined #ruby
gagrio has joined #ruby
luzidco has quit [Quit: Bye, bye...]
lokulin has quit [Ping timeout: 260 seconds]
TvL2386 has quit [Ping timeout: 252 seconds]
sameerynho has joined #ruby
nisstyre has quit [Ping timeout: 256 seconds]
apfeluser has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
bodgix has joined #ruby
vdamewood has joined #ruby
Pupeno has joined #ruby
thermatix has joined #ruby
TvL2386 has joined #ruby
arquebus has joined #ruby
pawnbox has quit [Remote host closed the connection]
lessless has joined #ruby
pawnbox has joined #ruby
mrtg9970 has joined #ruby
oo_ has quit [Remote host closed the connection]
lokulin has joined #ruby
oo_ has joined #ruby
iamninja has joined #ruby
chipotle_ has quit [Quit: cheerio]
<mikecmpbll> !isifriday
<mikecmpbll> !isitfriday ..
<mikecmpbll> !isitfriday
* mikecmpbll quits in shame, wrong room.
yeticry has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
darkf_ has joined #ruby
iamninja has quit [Ping timeout: 240 seconds]
sbhatore has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
<yawniek> i'm completely puzzled, code that uses 30gb+ memory on osx uses 700mb on linux. mainly AA's and RBTrees
darkf has quit [Ping timeout: 246 seconds]
freerobby has quit [Quit: Leaving.]
<yawniek> ups wrong channel sry
* adaedra renames #ruby to #wrongchannel
sbhatore has joined #ruby
<corpsicle> that way its always the right channel!
<sevenseacat> lol
sectionme has quit [Ping timeout: 255 seconds]
<mikecmpbll> what does helpa do in here anyway? :P just log?
sectionme has joined #ruby
soc42 has joined #ruby
jbw has joined #ruby
chthon has joined #ruby
iamsnes has joined #ruby
startupality has joined #ruby
<adaedra> mikecmpbll: it's muted
<mikecmpbll> poor helpa :(
<adaedra> so it tries to answer...
kidoz has joined #ruby
yeticry has joined #ruby
michael_mbp has quit [Excess Flood]
<apeiros> mikecmpbll: yes, it logs
<mikecmpbll> apeiros:
michael_mbp has joined #ruby
amoeba has joined #ruby
scottstamp has joined #ruby
marr has joined #ruby
khebbie has joined #ruby
iamsnes has quit []
startupality has quit [Quit: startupality]
iamsnes has joined #ruby
BraddPitt has joined #ruby
yeticry has quit [Ping timeout: 246 seconds]
mrtg9970 has quit [Read error: Connection reset by peer]
htmldrum has joined #ruby
yeticry has joined #ruby
RegulationD has joined #ruby
nisstyre has joined #ruby
TvL2386 has quit [Remote host closed the connection]
startupality has joined #ruby
Kharma has joined #ruby
mrsolow has joined #ruby
f4cl3y has joined #ruby
matcouto has joined #ruby
startupality has quit [Client Quit]
nobitanobi has quit [Ping timeout: 246 seconds]
senayar has joined #ruby
senayar has joined #ruby
dionysus69 has joined #ruby
startupality has joined #ruby
khebbie has quit [Ping timeout: 265 seconds]
FATZOMBI has quit [Ping timeout: 264 seconds]
LMity has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
htmldrum has quit [Ping timeout: 244 seconds]
Pisuke has quit [Max SendQ exceeded]
RegulationD has quit [Ping timeout: 250 seconds]
Pisuke has joined #ruby
iamsnes has quit []
iamsnes has joined #ruby
jokester has quit [K-Lined]
joe2 has quit [K-Lined]
nobitanobi has joined #ruby
galeido has quit [Ping timeout: 244 seconds]
galeido has joined #ruby
quimrstorres has joined #ruby
k3asd` has quit [Ping timeout: 256 seconds]
dumdedum has joined #ruby
sbhatore has quit [Read error: Connection reset by peer]
quimrstorres has quit [Remote host closed the connection]
ohaibbq has quit [Quit: Leaving...]
ekleog has joined #ruby
iamsnes has quit []
sbhatore has joined #ruby
iamsnes has joined #ruby
arquebus has quit [Quit: konversation disconnects]
xgt001 has joined #ruby
Iskarlar has joined #ruby
[k- has joined #ruby
blackmesa has joined #ruby
sideshowcoder has joined #ruby
LMity has quit [Ping timeout: 244 seconds]
FATZOMBI has joined #ruby
FATZOMBI has quit [Read error: Connection reset by peer]
leafybasil has quit [Remote host closed the connection]
<ekleog> Hi there! Just wondering, is there a way to test whether some function prints something to stdout?
c0m0 has joined #ruby
<apeiros> ekleog: stub/mock $stdout
leafybasil has joined #ruby
<ekleog> (I'm 5-hour-new to ruby, so please forgive if my question is stupid)
<apeiros> $stdout = StringIO.new; runyourstuff; $stdout.string == "expected output"
quimrstorres has joined #ruby
dhjondoh has quit [Quit: dhjondoh]
<apeiros> note that this may not work for stuff which prints from native (C) code
blackmesa has quit [Ping timeout: 250 seconds]
<ekleog> OK, thanks!
iamsnes has quit []
<apeiros> also note that some things write to $stderr, not $stdout. and some others fail to follow convention and use STDOUT/STDERR
iamsnes has joined #ruby
iamsnes has quit [Client Quit]
yh has joined #ruby
iamsnes has joined #ruby
dhjondoh has joined #ruby
<jhass> ekleog: or does "test" mean rspec or minitest?
startupality has quit [Quit: startupality]
<ekleog> Well, ATM that's just for grabbing from puts, so it should be OK, but I'll keep that in mind
dhjondoh has quit [Client Quit]
face has joined #ruby
<ekleog> jhass: The tutorials I followed all used minitest so I'm going for minitest
sectionme has quit [Ping timeout: 245 seconds]
leafybasil has quit [Ping timeout: 255 seconds]
* ekleog returns to learning searches
yh has quit [Read error: Connection reset by peer]
apfeluser has quit [Read error: Connection reset by peer]
danieli has joined #ruby
danieli has quit [Max SendQ exceeded]
danieli has joined #ruby
<[spoiler]> minitest is nice because less typing
sectionme has joined #ruby
<[spoiler]> I feel like I type so much with rspev
<[spoiler]> rspef
<[spoiler]> you know what I mena
<jhass> use shoulda ? :P
<[spoiler]> Lmao I saw shoulda
startupality has joined #ruby
<apeiros> either [spoiler]'s autocorrection is working overtime, or it's vacation…
dhjondoh has joined #ruby
DoubleMalt has joined #ruby
<[spoiler]> apeiros: ha. ha. ha. :P
tonios57 has joined #ruby
khebbie has joined #ruby
rubie has joined #ruby
Guest32 has joined #ruby
dhjondoh has quit [Client Quit]
iamsnes has quit []
iamsnes has joined #ruby
blackmesa has joined #ruby
sevenseacat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
techsethi_ has quit [Ping timeout: 240 seconds]
techsethi has joined #ruby
chichou has joined #ruby
khebbie has quit [Remote host closed the connection]
dhjondoh has joined #ruby
arup_r has quit [Remote host closed the connection]
<livcd> what's this in ruby ? n ** 2
dhjondoh has quit [Client Quit]
<gregf_> >> 2 ** 2
<ruboto> gregf_ # => 4 (https://eval.in/416253)
Pathfinder has joined #ruby
<adaedra> livcd: pow
<adaedra> power
jenrzzz has quit [Ping timeout: 252 seconds]
<[spoiler]> gregf_: lol that wasn't the best example
<adaedra> >> 3 ** 2
<ruboto> adaedra # => 9 (https://eval.in/416254)
<[spoiler]> that is much better
<[spoiler]> base ** exponent, basically
sectionme has quit [Read error: Connection reset by peer]
<jhass> &ri Fixnum#**
<`derpy> http://www.rubydoc.info/stdlib/core/Fixnum#%2A%2A-instance_method
<gregf_> >> [2,3,4].each { |v| [ v ** 2, v * v ] }
<ruboto> gregf_ # => [2, 3, 4] (https://eval.in/416255)
yh has joined #ruby
<gregf_> >> [2,3,4].map { |v| [ v ** 2, v * v ] }
<ruboto> gregf_ # => [[4, 4], [9, 9], [16, 16]] (https://eval.in/416256)
leat has quit [Ping timeout: 240 seconds]
dumdedum has quit [Ping timeout: 250 seconds]
<livcd> but i get it...it makes much more sense when i translate powe to my native language :3
<adaedra> hehe
Igor2__ has quit [Quit: Leaving]
ryuu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
krz has quit [Ping timeout: 255 seconds]
leafybasil has joined #ruby
<apeiros> livcd: <pedantic mode>what n ** 2 does depends entirely on n, since ** is a method call</pedantic mode>
<adaedra> apeiros.pedantic_mode = false
<apeiros> >> class Foo; def initialize(str); @str = str; end; def **(n); @str * n * " ** "; end; end; n = Foo.new("weeee"); n ** 4
khebbie has joined #ruby
<ruboto> apeiros # => no implicit conversion of String into Integer (TypeError) ...check link for more (https://eval.in/416257)
Musashi007 has quit [Quit: Musashi007]
* apeiros hits ruboto with a trout
techsethi has quit [Quit: techsethi]
* yorickpeterse slaps ruboto around with a copy of parse.y
<adaedra> apeiros.class.send(:private, :pedantic_mode=)
bruno- has joined #ruby
<jhass> adaedra: you mean :undef
khebbie has quit [Read error: Connection reset by peer]
<apeiros> >> class Foo; def initialize(str); @str = str; end; def **(n); Array.new(n, @str) * " ** "; end; end; n = Foo.new("weeee"); n ** 4
<ruboto> apeiros # => "weeee ** weeee ** weeee ** weeee" (https://eval.in/416258)
<apeiros> there
sectionme has joined #ruby
<apeiros> yorickpeterse: that's unnecessarily brutal, no?
khebbie has joined #ruby
techsethi has joined #ruby
* adaedra slaps yorickpeterse around a bit with a large trout
techsethi has quit [Client Quit]
cornerma1 has joined #ruby
krz has joined #ruby
joonty has quit [Quit: joonty]
<yorickpeterse> :D
<yorickpeterse> I removed the non funny ones
<yorickpeterse> so now it picks all the brutal ones
<adaedra> Brutal.
icarus has quit [Quit: leaving]
bruno- has quit [Ping timeout: 260 seconds]
* yorickpeterse finds the closest large object and gives adaedra a slap with it
<yorickpeterse> meh
* adaedra slaps yorickpeterse's bottom and grins cheekily
<adaedra> Ah, there's this one too
chthon has quit [Quit: Ex-Chat]
cornerman has quit [Ping timeout: 255 seconds]
cornerma1 is now known as cornerman
<livcd> great thanks
juanpablo__ has joined #ruby
joonty has joined #ruby
dc has joined #ruby
galeido_ has joined #ruby
galeido has quit [Ping timeout: 260 seconds]
dumdedum has joined #ruby
dhjondoh has joined #ruby
startupality has quit [Quit: startupality]
postmodern has quit [Quit: Leaving]
startupality has joined #ruby
devoldmx has joined #ruby
woodruffw has quit [Ping timeout: 250 seconds]
einarj has joined #ruby
juanpablo__ has quit [Ping timeout: 255 seconds]
* yorickpeterse breaks out the slapping rod and looks sternly at adaedra
<livcd> is collect and map basically the same ?
yfeldblum has quit [Ping timeout: 244 seconds]
dc has quit [Ping timeout: 250 seconds]
<chichou> it's an alias
nickjj has joined #ruby
<chichou> collect is the "old" name
slackbotgz has quit [Remote host closed the connection]
slackbotgz has joined #ruby
<apeiros> hm, ri doesn't actually properly show that
devoldmx has quit [Ping timeout: 255 seconds]
platzhirsch has joined #ruby
<livcd> yeah
arup_r has joined #ruby
workmad3 has joined #ruby
<gregf_> livcd: they're the same , tho i always end up using map :/
<gregf_> >>class Foo; def initialize (val=nil);@a = val || 10;end; def sqr; @a ** 2;end; end; p [Foo.new,Foo.new(2)].map(&:sqr); p [Foo.new,Foo.new(2)].collect(&:sqr)
<ruboto> gregf_ # => [100, 4] ...check link for more (https://eval.in/416262)
nertzy has joined #ruby
<al2o3-cr> gregf_: you don't need `p` it uses inspect anyway :P
sectionme has quit [Ping timeout: 244 seconds]
<gregf_> al2o3-cr: i know ;)
yfeldblum has joined #ruby
marr has quit [Ping timeout: 252 seconds]
sectionme has joined #ruby
<al2o3-cr> :D
galeido_ has quit [Ping timeout: 240 seconds]
galeido has joined #ruby
platzhirsch has quit [Ping timeout: 250 seconds]
yh_ has joined #ruby
<jhass> gregf_: always using map and forgetting collect even exists is something to be happy about!
<ljarvis> ^
platzhirsch has joined #ruby
yh has quit [Ping timeout: 246 seconds]
symm- has joined #ruby
galeido has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
ferhaty has quit []
khebbie has quit [Remote host closed the connection]
<yorickpeterse> oh nice
<yorickpeterse> I updated this Rails engine
<yorickpeterse> now loading the app results in it gobbling up my CPU
<yorickpeterse> already had to force a reboot because it locked up my entire laptop
<yorickpeterse> yay macbooks, can't even handle 100% CPU usage
jonee has quit [Ping timeout: 246 seconds]
sarkyniin has joined #ruby
_blizzy_ has quit [Read error: Connection reset by peer]
celly has joined #ruby
sectionme has quit [Ping timeout: 250 seconds]
melter has quit [Ping timeout: 244 seconds]
artmann has quit [Remote host closed the connection]
Vile` has quit [Ping timeout: 245 seconds]
Cork has quit [Ping timeout: 264 seconds]
TheBrayn has quit [Ping timeout: 264 seconds]
m8 has joined #ruby
ValicekB has quit [Ping timeout: 264 seconds]
suchness has joined #ruby
bradland has quit [Ping timeout: 264 seconds]
<ekleog> Is there a way to mark a function / class as "private inside the module / gem", or is this only in the documentation?
_blizzy_ has joined #ruby
celly has quit [Ping timeout: 240 seconds]
ferhaty has joined #ruby
<apeiros> ekleog: see Module#private, #protected and #public
<ekleog> Thanks :)
Apocalypse has quit [Ping timeout: 264 seconds]
<apeiros> ekleog: you can also mark a constant as private in newer rubies I think
DoubleMalt has quit [Ping timeout: 246 seconds]
<[spoiler]> how do you mark it as private from the documentation?
<apeiros> be aware though, that that's mostly informal. visibility can be bypassed in ruby.
Vile` has joined #ruby
<apeiros> [spoiler]: depends on whether you use rdoc or yard
kannan4k has quit [Ping timeout: 264 seconds]
<[spoiler]> yes, there's instance_eval, as apeiros poonted out
<[spoiler]> poon
<[spoiler]> poon!
sectionme has joined #ruby
<[spoiler]> Oh
<[spoiler]> they meant document that it's private
artmann has joined #ruby
stamina has joined #ruby
<apeiros> ah, Module#private_constant - figures
BTRE has quit [Ping timeout: 245 seconds]
kannan4k has joined #ruby
artmann has quit [Remote host closed the connection]
artmann has joined #ruby
astrobun_ has quit [Remote host closed the connection]
Apocalypse has joined #ruby
Apocalypse has quit [Changing host]
Apocalypse has joined #ruby
TheBrayn has joined #ruby
<al2o3-cr> So is Enumerable#member?/include? aliases?
sectionme has quit [Ping timeout: 240 seconds]
BTRE has joined #ruby
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<apeiros> al2o3-cr: yes
Cork has joined #ruby
<adaedra> iirc, aliases are together on yard doc
<adaedra> &ri Enumerable#member?
<apeiros> al2o3-cr: if the docs don't tell, you can use `$ Enumerable#member?` to check the source
Rickmasta has joined #ruby
bradland has joined #ruby
<apeiros> ok, yard does an extra effort then
<apeiros> because afaik those are not actually aliases
<al2o3-cr> Ok Thanks. Don't think I ever used member?
<apeiros> it's two methods defined in C backed by the same implementation
<adaedra> :o
<apeiros> "not actually aliases" in the sense of not being defined using alias/alias_method
<adaedra> ah
<adaedra> they point to the same C function then
<adaedra> ?
<apeiros> yes
<al2o3-cr> Ah, yeah what apeiros said
<adaedra> that's the function yard is showing as source, so it may group them by that
chichou has quit [Read error: Connection reset by peer]
ValicekB has joined #ruby
<apeiros> adaedra: yes. that's what I meant by "extra effort"
<apeiros> it checks the backing C function and groups them
pawnbox has quit [Remote host closed the connection]
<adaedra> that's nice
<apeiros> indeed
<ljarvis> i wish rdoc was better so yard didn't exist
<adaedra> ljarvis: make rdoc better then.
<ljarvis> lol
<ljarvis> it's not really that simple
sectionme has joined #ruby
<yorickpeterse> I wish Ruby had gradual typing so we wouldn't need YARD in the first place
<yorickpeterse> That is, much of the advantage of YARD is that it has a clear syntax for documenting arguments and their types and such
<yorickpeterse> which, if it's somehow part of the language itself, wouldn't be needed
shredding has quit [Ping timeout: 264 seconds]
startupality has quit [Quit: startupality]
<ytti> i agree
<ytti> i never really understood why dynamic typing implies productivity
jamesaxl has joined #ruby
juzmach has joined #ruby
<yorickpeterse> Documentation has nothing to do with productivity
spider-mario has joined #ruby
<jhass> gradual typing is still dynamic typing
<yorickpeterse> jhass: it's as much dynamic typing as it is static typing
<jhass> I'd say it's a lot closer to dynamic typing, you have similar runtime requirements
omegahm has quit [Ping timeout: 264 seconds]
howdoi has joined #ruby
iamninja has joined #ruby
startupality has joined #ruby
DoubleMalt has joined #ruby
khebbie has joined #ruby
startupality has quit [Client Quit]
iamsnes has quit []
startupality has joined #ruby
<thermatix> does any one here have any expertise in getting sprockets to work with Sinatra?
<adaedra> google
<thermatix> tried that
<adaedra> I did it once, but don't really remember
<adaedra> I think I had a guide working
<thermatix> my problem is that nothing is being rendered out
<thermatix> It's just... blank
rubie has quit [Ping timeout: 265 seconds]
<thermatix> here's a gist with what I've got so far
iamninja has quit [Ping timeout: 246 seconds]
sectionme has quit [Ping timeout: 260 seconds]
<thermatix> what did you change?
<ljarvis> i fixed the indentation so i could read it
<al2o3-cr> thermatix: indentation
<adaedra> you know you have a diff log on gists?
<thermatix> oh yeah, for some reason it was stuck on 8 spaces
<thermatix> and wouldn't let me change it to 2 or 4
sameerynho has quit [Ping timeout: 246 seconds]
<thermatix> I've been trying to figure this out for hours so now I'm just... at a brick wall
chichou has joined #ruby
<adaedra> I think you have to insert the Sprockets middleware at a moment
sameerynho has joined #ruby
shock_one has joined #ruby
<thermatix> how would I do that without rackup?
<thermatix> I mean a .ru file
<adaedra> how do you run your app then?
<thermatix> executable
<thermatix> my app is packaged as a gem
melter has joined #ruby
<thermatix> and I use an executable to start my app
rodfersou has joined #ruby
sectionme has joined #ruby
sdothum has joined #ruby
sameerynho has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
sameerynho has joined #ruby
wldcordeiro has joined #ruby
jbw has quit [Ping timeout: 260 seconds]
senayar has quit [Remote host closed the connection]
<ytti> can someone recommend me library to produce simple X/Y time series graphs
<ytti> like mrtg/rrdtool style
senayar has joined #ruby
senayar has joined #ruby
<ytti> bonus points for anti-alias manager friendly rendering
<ytti> (unlike gnuplot)
UtkarshRay has quit [Ping timeout: 246 seconds]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
<darix> influxdb+grafana is probably overkill?:p
<thermatix> no
<thermatix> influxdb is just a backend, you still need a frontend
<thermatix> grafana is pretty slick too
khebbie has quit [Remote host closed the connection]
last_staff has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tsvenson has joined #ruby
vdamewood has quit [Quit: Life beckons.]
shreknet has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
khebbie has joined #ruby
njr has quit [Ping timeout: 255 seconds]
marr has joined #ruby
<thermatix> it's like I'm a conversation killer, just by entering a room I murder all conversations \(0.0)>
joonty has quit [Quit: joonty]
bodgix has quit [Quit: Leaving.]
bodgix_ has joined #ruby
bodgix_ is now known as bodgix
railsraider has quit [Read error: Connection reset by peer]
joonty has joined #ruby
jbw has joined #ruby
omegamike has joined #ruby
stardiviner has joined #ruby
bodgix has quit [Client Quit]
ferhaty has quit []
bodgix has joined #ruby
bodgix has quit [Client Quit]
wldcordeiro has quit [Remote host closed the connection]
_blizzy_ has quit [Ping timeout: 240 seconds]
basmoura has joined #ruby
joe2 has joined #ruby
bodgix has joined #ruby
jokester has joined #ruby
<darix> thermatix: that skill can be useful at times ;)
omegamike has quit [Ping timeout: 264 seconds]
ferhaty has joined #ruby
<adaedra> *woop* *woop*
<adaedra> is polis
<adaedra> I herd "murder"
omegahm has joined #ruby
sarkyniin has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allcentury has joined #ruby
sarkyniin has joined #ruby
lxsameer_ has joined #ruby
rdark has joined #ruby
User458764 has quit [Ping timeout: 256 seconds]
AlexRussia has quit [Read error: Connection reset by peer]
Trynemjoel has quit [Ping timeout: 250 seconds]
sameerynho has quit [Ping timeout: 244 seconds]
omegamike has joined #ruby
User458764 has joined #ruby
joonty has quit [Quit: joonty]
Trynemjoel has joined #ruby
joonty has joined #ruby
quimrstorres has quit [Remote host closed the connection]
dangerousdave has joined #ruby
bodgix has quit [Remote host closed the connection]
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bodgix has joined #ruby
krz has quit [Quit: WeeChat 1.2]
quimrstorres has joined #ruby
AlexRussia has joined #ruby
juanpablo__ has joined #ruby
monzie has joined #ruby
monzie has quit [Client Quit]
pyon is now known as ninja-maid-robot
jgpawletko has quit [Quit: jgpawletko]
yfeldblum has quit [Ping timeout: 256 seconds]
sarkyniin has quit [Ping timeout: 244 seconds]
<thermatix> yeah, the conversation was killed dead.
<shevy> le baguette murder
blackmesa has quit [Ping timeout: 265 seconds]
<shevy> ninja-maid-robot cool nick \o/
juanpablo__ has quit [Ping timeout: 272 seconds]
rubie has joined #ruby
<ninja-maid-robot> shevy: Heh, ty. :-)
bodgix has quit [Quit: ZNC - http://znc.in]
jbw has quit [Ping timeout: 250 seconds]
frozen3 has joined #ruby
bodgix has joined #ruby
tsvenson has quit [Read error: No route to host]
jbw has joined #ruby
stamina has quit [Remote host closed the connection]
<ninja-maid-robot> Since I'm talking here already, what guides to Ruby metaprogramming and DSLs would you guys recommend?
bruno- has joined #ruby
northfurr has joined #ruby
<thermatix> the zen kind ;D
<ninja-maid-robot> thermatix: Ah, thanks! :-)
northfurr has quit [Client Quit]
uw667 has joined #ruby
blackmesa has joined #ruby
stamina has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
cohiijay has joined #ruby
<yorickpeterse> ok well this is a nice error: adding an undefined method call in my HAML layout causes Rails to gobble up 100% CPU
krz has joined #ruby
<yorickpeterse> and apparently query the DB to death....
<yorickpeterse> like
<yorickpeterse> what the fuck
krz has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
Trynemjoel has joined #ruby
frozen3 has quit [Remote host closed the connection]
krz has joined #ruby
fgo has joined #ruby
xgt001 has quit [Remote host closed the connection]
oo_ has joined #ruby
[k- has quit [Ping timeout: 250 seconds]
olistik has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
but3k4 has joined #ruby
oo_ has quit [Remote host closed the connection]
dorei has joined #ruby
<shevy> do you people put up include statements and extend statements together? such as: include Foo; extend Bar
scripore has joined #ruby
iateadonut has joined #ruby
Chau has joined #ruby
joonty has quit [Quit: joonty]
senayar has quit [Remote host closed the connection]
scripore has quit [Client Quit]
senayar has joined #ruby
mandarinkin has joined #ruby
northfurr has joined #ruby
<yorickpeterse> Yeah lol wtf
shock_one has quit [Remote host closed the connection]
<yorickpeterse> an undefined method error leading to 100% CPU usage
<yorickpeterse> and no error being outputted
<yorickpeterse> man I love Rails
joonty has joined #ruby
UtkarshRay has joined #ruby
leat has joined #ruby
<yorickpeterse> so tempted to just smash my laptop against the wall
davedev24 has joined #ruby
<jhass> true rockstar programmer!
<yorickpeterse> https://github.com/rails/rails/issues/11068 this sounds exactly like my problem
bronson_ has quit [Remote host closed the connection]
nerio has joined #ruby
mrtg9970 has joined #ruby
sameerynho has joined #ruby
rbennacer has joined #ruby
<adaedra> Your problem is that you use rails :v
conor_ has quit [Remote host closed the connection]
<shevy> and you did not write better alternatives!
<jhass> oh, shevy defining rails, something for the quote db
<shevy> defining?
<jhass> defending
ldnunes has joined #ruby
<jhass> idk, something's broken with me again today
lxsameer_ has quit [Ping timeout: 255 seconds]
* shevy scratches his head.
conor_ has joined #ruby
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
<chichou> the problem is that you use HAML* :p
<shevy> may be the heat
<jhass> mmh, 28.5°C room temperature, maybe
<shevy> note how the issue was closed yorickpeterse :)
<shevy> I guess they can't find the bug
olivierrr has joined #ruby
<chichou> it sounds like haml related tho
<shevy> good point
nirvdrum has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
krz has quit [Ping timeout: 240 seconds]
olistik has quit [Remote host closed the connection]
<chichou> yorickpeterse: can you try with erb instead?
<chichou> oh just read the comment, he said same effect with erb
chipotle has joined #ruby
<shevy> a heisenbug
<shevy> you won't find it chichou
jhass has quit [Excess Flood]
<adaedra> :o
jhass has joined #ruby
joonty has quit [Quit: joonty]
ferhaty has quit []
icedp has quit [Ping timeout: 250 seconds]
<chichou> I know schrödinbug never heard of heisenbug before :D
<adaedra> jhass: stop flooding
<jhass> I'm innocent!
icedp has joined #ruby
* jhass blames weechat
<shevy> what did he do
marr has quit [Ping timeout: 240 seconds]
<adaedra> jhass: away checking maybe
<yorickpeterse> chichou: No
<jhass> most likely, I have a way too high limit :P
<yorickpeterse> I can't just rewrite my whole app to use ERB
<yorickpeterse> also wtf GDB doesn't show anything remotely interesting
<yorickpeterse> nor do the Ruby backtraces
allcentury has joined #ruby
<chichou> nevermind, was more about that part :)
<yorickpeterse> like
<yorickpeterse> literally all I add is:
<yorickpeterse> - dickbutts
<yorickpeterse> and it gobbles up 100% CPU
<shevy> swear words add a penalty
<shevy> it's a heisenbug! you'll never find out where it hides
frozen3 has joined #ruby
terlar has joined #ruby
<yorickpeterse> huh, seems to be the GC going crazy
<yorickpeterse> 1,3GB of memory too
tmtwd has joined #ruby
Cust0sLim3n has quit [Ping timeout: 256 seconds]
<yorickpeterse> and lol, doing an rb_raise from within GDB segfaults Ruby
<shevy> the zombie processes finally won
blueOxigen has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
<yorickpeterse> well, lets see if this problem also occurs on rbx
iamninja has joined #ruby
frozen3 has quit [Ping timeout: 256 seconds]
krz has joined #ruby
Rixius has quit [Ping timeout: 246 seconds]
NeverDie has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
rbennacer has quit [Remote host closed the connection]
<yorickpeterse> ha
<yorickpeterse> on Rbx it at least raises the error
<yorickpeterse> what the fuck MRI
<chichou> just for me to know, which version of MRI are you suing?
joelataylor has quit [Quit: Lingo: www.lingoirc.com]
<chichou> using*
<adaedra> and in JRuby, OutOfMemoryExceptionFactoryException
<yorickpeterse> 2.2.0
tkuchiki has quit [Remote host closed the connection]
<chichou> bleeding edge :)
<yorickpeterse> well, guess I gotta up to 2.2.2 anyway
sanguisdex has quit [Quit: Leaving.]
Rixius has joined #ruby
<yorickpeterse> but now I can at least debug my shit
centrx has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
ninja-maid-robot is now known as pyon
yh_ has quit [Ping timeout: 244 seconds]
<shevy> \o/
<shevy> which version of MRI are we suing
<chichou> haha
<shevy> I sue all of them!
bhorn1|away is now known as bhorn1
Cust0sLim3n has joined #ruby
sanguisdex has joined #ruby
xcesariox has joined #ruby
Me has joined #ruby
<shevy> Is there a simple strategy to follow to avoid "circular require" problems? For some reason I seem to find it not so easy to avoid that in some projects, and I could not even tell you whether I deliberately would have done so or not (since I can't remember how it came to be to this situation)
Me is now known as Guest16712
Guest16712 is now known as VeganGreg
xcesariox has quit [Max SendQ exceeded]
shock_one has joined #ruby
symm- has quit [Quit: Leaving...]
<centrx> shevy, Draw a diagram on a whiteboard and then stare at it for a few hours
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
unver has joined #ruby
banister has joined #ruby
stamina has quit [Quit: WeeChat 1.2]
darkf_ is now known as darkf
ctalr has joined #ruby
NeverDie_ has joined #ruby
yh has joined #ruby
Kallis has joined #ruby
joonty has joined #ruby
NeverDie has quit [Ping timeout: 245 seconds]
seggy has joined #ruby
segmond has quit [Disconnected by services]
seggy is now known as segmond
nobitanobi has quit [Remote host closed the connection]
seggy has joined #ruby
nobitanobi has joined #ruby
<shevy> centrx I did so already!
<shevy> It's complicated
lxsameer_ has joined #ruby
lannonbr has joined #ruby
sameerynho has quit [Ping timeout: 244 seconds]
mrtg9970 has quit [Remote host closed the connection]
Prizee has joined #ruby
<Prizee> 3m Win a Playstation 4 For Free Click Here http://tinyurl.com/oswta9d
phutchins has joined #ruby
phutchins1 has joined #ruby
bruno- has joined #ruby
<apeiros> !kick Prizee no spam
Prizee was kicked from #ruby by ruboto [no spam]
nobitanobi has quit [Ping timeout: 245 seconds]
<suchness> Finally can get my playstation
<suchness> aw
quimrstorres has quit [Remote host closed the connection]
<apeiros> this lovely moment when you start testing against an API and the disparities between docs and reality start to show…
<suchness> I am wondering if it's possible to insert methods onto the method chain lookup in a fashion other than 'push' with subclasses or extending?
symm- has joined #ruby
nobitanobi has joined #ruby
juanpablo__ has joined #ruby
centrx has quit [Quit: "You cannot fix a machine by just power-cycling it with no understanding of what is going wrong."]
blackmesa has quit [Ping timeout: 245 seconds]
<suchness> shevy: Does autoload do that?
j3r0 has joined #ruby
tuxero has joined #ruby
bruno- has quit [Ping timeout: 244 seconds]
rikkipitt has joined #ruby
<yorickpeterse> welp, problem persists with 2.2.2
<suchness> shevy: Ah nevermind, appears to have been depricated
thermatix has quit [Ping timeout: 255 seconds]
juanpablo__ has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
Rickmasta has joined #ruby
[k- has joined #ruby
loc22 has joined #ruby
victortyau has joined #ruby
NeverDie_ has quit [Quit: I'm off to sleep. ZZZzzz…]
<yorickpeterse> aaaaand of course it doesn't occur in a standalone app
<yorickpeterse> ugh
sevenseacat has joined #ruby
joonty has quit [Quit: joonty]
RegulationD has quit [Ping timeout: 240 seconds]
vt102 has joined #ruby
<shevy> heisenbugs
bodgix_wrk has joined #ruby
bodgix_wrk has quit [Client Quit]
bronson has joined #ruby
dblessing has joined #ruby
<chichou> do you have some kind of custom error rendering/rescuing? Not sure it applies to dev env though
s00pcan has joined #ruby
<yorickpeterse> There is Rollbar, could be a problem, lets see
<yorickpeterse> hm nope
senayar has quit [Remote host closed the connection]
<chichou> is your project versioned? you can use bisect with git to "debug" :D
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
<yorickpeterse> Yeah, it's not that easy I'm afraid
<chichou> unless you have like thousands of commits
<yorickpeterse> that's one part of it
bmurt has joined #ruby
<yorickpeterse> The pattern I'm seeing CPU/memory wise suggests it ends up in a loop allocating lots of objects, which could be an error handler of sorts ending up in an infinite loop
<yorickpeterse> so now we play the game of "lets disable every Gem"
<chichou> out of interest, how many gems are you using?
[k-_ has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
vondruch has quit [Quit: Ex-Chat]
<yorickpeterse> 58
VeganGreg has quit [Ping timeout: 240 seconds]
frozen3 has joined #ruby
<yorickpeterse> errr 62 actually
neersighted has quit [Ping timeout: 256 seconds]
Cust0sLim3n has quit [Ping timeout: 265 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thermatix has joined #ruby
decoponio has joined #ruby
mrtg9970 has joined #ruby
rbennacer has joined #ruby
pyon has quit [Quit: only way to stop]
nuttermb has joined #ruby
cohiijay has quit [Ping timeout: 264 seconds]
joonty has joined #ruby
sgambino has joined #ruby
arup_r has quit [Remote host closed the connection]
neersighted has joined #ruby
mrtg9970 has quit [Client Quit]
ctalr has quit [Quit: leaving]
jbw has quit [Ping timeout: 244 seconds]
mephistophocles has joined #ruby
pawnbox has quit [Read error: No route to host]
thermatix has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
arup_r has joined #ruby
jbw has joined #ruby
conor_ has quit [Remote host closed the connection]
Pathfinder has quit [Remote host closed the connection]
conor_ has joined #ruby
pandaant has joined #ruby
rikkipitt has quit [Remote host closed the connection]
Feyn has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 255 seconds]
<yorickpeterse> Aha
<yorickpeterse> There's this one query which tries to get a certain list of objects you have access to
<yorickpeterse> For whatever reason that just returns _all_ records
<yorickpeterse> which are about half a million records
<yorickpeterse> which it then tries to render
<yorickpeterse> like wtf
chichou has quit [Read error: Connection reset by peer]
Cust0sLim3n has joined #ruby
chichou has joined #ruby
hinbody has joined #ruby
<[spoiler]> oh jesus
<[spoiler]> Rails: RENDER ALL \o_ THE OBJECTS
<yorickpeterse> Hm, on Rbx it does also return the same amount of objects
<yorickpeterse> that's...interesting
whippythellama has joined #ruby
accacin has joined #ruby
krz has quit [Ping timeout: 260 seconds]
pandaant has quit [Remote host closed the connection]
pawnbox has joined #ruby
<[spoiler]> Why did you expect different behaviour?
<[spoiler]> Did something get upgraded?
accacin is now known as accacin_
conor_ has quit [Remote host closed the connection]
<yorickpeterse> well for some reason MRI doesn't trigger the error until, apparently, after trying to render everything
<yorickpeterse> yet on rbx, and when we were still on rails 3, it would work fine
<hfp> Hey all, I never know what to do when I get this kind of issues when running bundle install: https://gist.github.com/Coaxial/9aafcaaa639b4ca24b77. I understand there seems to be an issue when compiling a C extension but that's as far as I get. Any pointers?
pawnbox has quit [Read error: No route to host]
decoponyo has joined #ruby
pawnbox has joined #ruby
decoponio has quit [Ping timeout: 245 seconds]
DoubleMalt has joined #ruby
luksaur has quit [Quit: Leaving]
<adaedra> yorickpeterse: ¯\_(ツ)_/¯
olistik has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
* yorickpeterse slaps Rails around with a copy of parse.y
14WAATIYW has quit [Read error: Connection reset by peer]
jtirila has joined #ruby
<adaedra> ok, we got it that you love parse.y
<ljarvis> nobody deserves slapping with that
scripore has joined #ruby
dtzitz has joined #ruby
<[spoiler]> adaedra: parse.y is a hate weapon
<stoodfarback> hfp: Try running the command manually: gem install sqlite3
* yorickpeterse slaps Rails around with a crushing student debt
<yorickpeterse> better?
VeganGreg has joined #ruby
<yorickpeterse> So this code in itself is already weird
<yorickpeterse> we have this contract setup that determines if you can access something or not
<yorickpeterse> yet instead it _only_ relies on CanCanCan permissions here
tkuchiki has joined #ruby
hello_ has joined #ruby
<ljarvis> inb4 CanCanCanCan
<[spoiler]> hfp: are ruby's development headers installed? I am not sure it would get to this point if they weren't, but check anyway
<jhass> hfp: the latest version of the sqlite3 gem is 1.3.10, can you try that one?
oo_ has joined #ruby
conor_ has joined #ruby
<darix> hfp: maybe try newer versions of the sqlite3 gem. maybe your version isnt adapted for ruby 2.2 yet
frozen3 has quit [Remote host closed the connection]
<hello_> hello i want to contribute to open source of ruby
<hello_> any idea how to start
<hello_> i have basics knowledge of ruby
<shevy> webchat!
codecop has quit [Remote host closed the connection]
aganov has quit [Read error: Connection reset by peer]
machinewar has joined #ruby
lxsameer_ has quit [Ping timeout: 246 seconds]
<yorickpeterse> oh ha wtf I think I get what this app is doing
sameerynho has joined #ruby
<jhass> hello_: codetriage.com, https://github.com/trending?l=ruby&since=weekly
<yorickpeterse> which also explains why even though I can access half a million rows it only shows 3
conor_ has quit [Remote host closed the connection]
accacin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<yorickpeterse> oh lol yeah
<yorickpeterse> So this list it actually shows uses an API
<yorickpeterse> that one ignores CanCanCan
<yorickpeterse> that itself only shows 3 rows for me
<yorickpeterse> yet somehow it still tries to do something with the half million rows
bruno- has joined #ruby
<yorickpeterse> ...which are only used to see if the user has access to a single row only
sameerynho has quit [Client Quit]
<yorickpeterse> because in that case it just redirects to that row
<yorickpeterse> lol
dhjondoh has quit [Quit: dhjondoh]
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
<yorickpeterse> ¯\_(ツ)_/¯
<yorickpeterse> no idea how this works
malconis has joined #ruby
accacin has joined #ruby
<hello_> jhass: these seems to be some difficult, previously i have no knowledge of how open source work
loc22 has quit [Quit: Lingo: www.lingoirc.com]
jerius has joined #ruby
<yorickpeterse> looooooooool
<yorickpeterse> so if I move these 500k records to a local variable everything works fine
tkuchiki has quit [Remote host closed the connection]
<jhass> hello_: pick some project you like then and look through its issue tracker or come up with your own ideas to contribute
<yorickpeterse> so I suspect HAML just gobbles up all instance variables, tries to do _something_ with it that triggers loading of them into memory
<hello_> yorickpeterse: how do you make these sign on keyborad?
<yorickpeterse> which then fucks everything up
<yorickpeterse> hello_: plugin
nhhagen has quit [Remote host closed the connection]
pawnbox has quit []
<hello_> yorickpeterse: which plugin
conor_ has joined #ruby
Hal_9000_ has joined #ruby
<hello_> jhass: do i have to personally mail that person or start doing?
<jhass> hello_: most projects on github are happy if you just open a PR, some like to see if you comment on an issue you're working on to announce that fact
tkuchiki has joined #ruby
da3mian has joined #ruby
accacin has quit [Ping timeout: 244 seconds]
frozen3 has joined #ruby
da3mian has quit [Client Quit]
centrx has joined #ruby
<hello_> jhass what does PR means? and in github one can only put code or contribute it to isn't but comment don't know... m naive in this field...
<adaedra> Pull Request
<jhass> http://refactorcop.com/ another thing to find projects that might need a hand
<adaedra> You can comment on anything, hello_
<shevy> can I comment on the code quality of your code adaedra? :)
<adaedra> If you want to submit code, you fork (create a repo you own with the other project current state), do your modifications, then do a Pull Request (ask to import your code to parent repository)
<adaedra> shevy: you can
joonty has quit [Quit: joonty]
Zeroe has joined #ruby
quimrstorres has joined #ruby
nettoweb has joined #ruby
MarcWeber has left #ruby [#ruby]
rikkipitt has joined #ruby
<hello_> you guys are really useful>>
devdazed has joined #ruby
silkfox has joined #ruby
centrx has quit [Read error: Connection reset by peer]
<shevy> webchatter!
lucianopc has joined #ruby
Guest32 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joonty has joined #ruby
JoshL has joined #ruby
quimrstorres has quit [Ping timeout: 250 seconds]
dopamean_ has quit [Quit: Lost terminal]
aganov has joined #ruby
PornPirate has joined #ruby
<PornPirate> hey everyone
rubie has quit [Remote host closed the connection]
rubie has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
<shevy> lol
<PornPirate> I have a sever running ubuntu 14.x and ruby is spawning several hundred thousands open files (network via lsof) quickly and not releasing them.
<PornPirate> sup shevy ?
<shevy> your nick man
<jhass> ?guys hello_
<ruboto> hello_, Though inclusion was probably intended, not everyone relates to being "one of the guys". Maybe consider using "folks", "all", "y'all", or "everyone" instead?
momomomomo has joined #ruby
<hello_> jhass it was for you and others
iamninja has joined #ruby
<adaedra> I'm not a guy, I'm a meat popsicle
<jhass> I'm a sparkling ponycorn
<stoodfarback> PornPirate: Try grep for "TempFile", "mktmpdir", "/tmp", etc
dc has joined #ruby
<adaedra> "ponycorn"
stoffus has quit [Ping timeout: 244 seconds]
<jhass> we're the best!
<jhass> adaedra: http://ponycorns.com/
riotjones has quit [Remote host closed the connection]
<adaedra> I see
okdas has quit [Excess Flood]
okdas has joined #ruby
okdas has quit [Changing host]
okdas has joined #ruby
kristian_on_linu has joined #ruby
<kristian_on_linu> inukshuk: hi, I have a question for jekyll-scholar
<PornPirate> ruboto: So I did well? :)
<adaedra> ?justabot
<ruboto> I'm just a bot. You don't need to address me.
cpruitt has joined #ruby
jmignault has quit [Quit: Textual IRC Client: www.textualapp.com]
<hello_> ponycorn you are a female?
<hello_> nice to see a f on irc?
<jhass> is my or anyone's gender relevant?
<sevenseacat> it's really not.
<adaedra> IRC is not a dating site.
<shevy> it can be
<adaedra> go back to #dating
<yorickpeterse> people use IRC for dating? lol
quimrstorres has joined #ruby
<hello_> lol
<shevy> don't let [k- hear that
<hello_> it was an appreciation!!
<adaedra> Date/IP
krz has joined #ruby
casadei has joined #ruby
nobitanobi has quit [Remote host closed the connection]
joonty has quit [Quit: joonty]
nobitanobi has joined #ruby
<shevy> we could go on a date - discussing ruby!
joonty has joined #ruby
arup_r has quit []
blackmesa has joined #ruby
prestorium has joined #ruby
pyon has joined #ruby
xcesariox has joined #ruby
Askilada has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
* adaedra slaps shevy's bottom and grins cheekily
xcesariox has quit [Max SendQ exceeded]
<adaedra> oh dear
* yorickpeterse likes slapping people and randomly picks adaedra to slap
bumbar_ has quit [Ping timeout: 260 seconds]
<yorickpeterse> (͡° ͜ʖ ͡°)
freerobby has joined #ruby
<adaedra> (•ε •)
nobitanobi has quit [Ping timeout: 260 seconds]
xcesariox has joined #ruby
<yorickpeterse> ( ¯3¯)
a346 has joined #ruby
Cust0sLim3n has quit [Ping timeout: 244 seconds]
yh has quit [Ping timeout: 265 seconds]
Dreamer3 has joined #ruby
xcesariox has quit [Max SendQ exceeded]
qubitz has joined #ruby
hinbody has quit [Quit: leaving]
nofxx has quit [Ping timeout: 260 seconds]
accacin has joined #ruby
Fraeon has quit [Ping timeout: 264 seconds]
<accacin> Where can I see the source code for the enumerable map method? I'm on Ruby's Github repo but I'm not sure which directories to find what I'm looking for in.
<dtzitz> this channel goes sideways whenever anyone says guys, lol
<adaedra> accacin: there is a "show source" on ruby documentation
<accacin> I see, I must have missed that sorry.
<adaedra> &ri Enumerable#map
sshuff|gone is now known as sshuff
stardiviner has quit [Quit: WeeChat 1.2]
xcesariox has joined #ruby
<accacin> Ah! That's perfect, thanks a lot adaedra
<adaedra> yw
The_Phoenix has joined #ruby
yh has joined #ruby
kies has quit [Ping timeout: 260 seconds]
The_Phoenix has quit [Max SendQ exceeded]
bruno- has quit [Ping timeout: 272 seconds]
michaeldeol has joined #ruby
Oka has joined #ruby
duggiefresh has joined #ruby
The_Phoenix has joined #ruby
eGGsha has quit [Quit: Textual IRC Client: www.textualapp.com]
aganov has quit [Remote host closed the connection]
umgrosscol has joined #ruby
freerobby has quit [Quit: Leaving.]
marcoecc has joined #ruby
Fraeon has joined #ruby
dojobo has joined #ruby
tjohnson has joined #ruby
jgpawletko has joined #ruby
rdark has quit [Ping timeout: 240 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
accacin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
accacin has joined #ruby
hs366 has joined #ruby
rdark has joined #ruby
whiteline has quit [Remote host closed the connection]
marcoecc has quit [Ping timeout: 240 seconds]
senayar has quit [Remote host closed the connection]
whiteline has joined #ruby
youngbaks has joined #ruby
prestorium has quit [Quit: Konversation terminated!]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
blackmesa has quit [Ping timeout: 272 seconds]
coban2k has joined #ruby
accacin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
failshell has joined #ruby
curses has joined #ruby
nettoweb has quit [Ping timeout: 265 seconds]
linuxboytoo has joined #ruby
chouhoulis has joined #ruby
senayar has quit [Remote host closed the connection]
xcesariox has quit [Ping timeout: 240 seconds]
oo__ has joined #ruby
senayar has joined #ruby
fmcgeough has joined #ruby
xcesariox has joined #ruby
fmcgeough has quit [Remote host closed the connection]
sarkyniin has joined #ruby
snockerton has joined #ruby
oo_ has quit [Ping timeout: 265 seconds]
but3k4 has quit [Read error: Connection reset by peer]
jhack has joined #ruby
fmcgeough has joined #ruby
but3k4 has joined #ruby
pyon is now known as ninja-maid-robot
Jammyhammy|Work has joined #ruby
rikkipitt has quit [Remote host closed the connection]
rikkipitt has joined #ruby
blackmesa has joined #ruby
dopie has joined #ruby
rikkipitt has quit [Remote host closed the connection]
sepp2k has joined #ruby
juanpablo__ has joined #ruby
EllisTAA has joined #ruby
momomomomo has quit [Quit: momomomomo]
joonty has quit [Ping timeout: 252 seconds]
ndrei_ has joined #ruby
ndrei_ has quit [Client Quit]
ndrei has quit [Quit: Lost terminal]
jpfuentes2 has joined #ruby
ndrei has joined #ruby
Zeroe has quit [Ping timeout: 252 seconds]
Zeroe has joined #ruby
juanpablo__ has quit [Ping timeout: 240 seconds]
hello_ has quit [Ping timeout: 246 seconds]
hazelux has joined #ruby
woodruffw has joined #ruby
uber has quit [Ping timeout: 240 seconds]
DaniG2k has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
mistym has joined #ruby
centrx has joined #ruby
uber has joined #ruby
youngbaks has quit [Quit: WeeChat 1.2]
DoubleMalt has quit [Ping timeout: 244 seconds]
yh has quit [Ping timeout: 244 seconds]
<suchness> I am starting to think something I am trying to do is impossible. Say I have class. I want to extend every instantiation of that class with some module to add to the method lookup chain. Is that even possible? http://pastie.org/10348619
shock_one has quit [Remote host closed the connection]
<[k-_> call super
<suchness> I am calling super
<[k-_> in class A, that is
<suchness> I don't want the chain to go that direction
EllisTAA has joined #ruby
<[k-_> but you are calling it from class A
cschneid_ has joined #ruby
<[k-_> how would you expect module B know that class A exists
webopsx has joined #ruby
stan has quit [Quit: Leaving]
<suchness> Well, that's where the insert code here comes in.
<DaniG2k> B isn't including A or vice-versa
bruno- has joined #ruby
webopsx has quit [Max SendQ exceeded]
<suchness> Again, the comment indicating code here...
allcentury has quit [Quit: WeeChat 1.2]
<[k-_> call super first in class A
<[k-_> then code for class A goes below
blackmesa has quit [Ping timeout: 250 seconds]
jhack has quit [Ping timeout: 245 seconds]
<suchness> Can't call super in class A.
platzhirsch has quit [Quit: Leaving.]
<suchness> Class A needs to remain unchanged.
<[k-_> include B
platzhirsch has joined #ruby
<suchness> That makes it work in the wrong direction
yh has joined #ruby
<suchness> then class A is calling super when I want module bs method to call super and get class As method
sinkensabe has quit [Remote host closed the connection]
<adaedra> suchness: you can make a B.included that will: create an alias for check like orig_check, then inject a new check method that will do your new code then call orig_check
<[k-_> so, you want A to be the superclass
<suchness> The answer needs to come after independent declarations of both the module and class
<suchness> adaedra: Hrm...
<adaedra> ?
<[k-_> you wouldn't have this problem if you took the functional approach!
<suchness> adaedra: Sounds like what I've got for the most part http://pastie.org/10348632
ruby-lang806 has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
ruby-lang806 has quit [Client Quit]
stan has joined #ruby
<suchness> clearly I am playing at work today
<[k-_> B.check(A.instance_method(:check))
<[k-_> no state at all!
<[k-_> amazing
but3k4_ has joined #ruby
but3k4 has quit [Read error: Connection reset by peer]
shock_one has joined #ruby
<suchness> [k-_: Hrm, didn't think about that
<suchness> hmmm
SOLDIERz has quit [Ping timeout: 245 seconds]
yh has quit [Ping timeout: 246 seconds]
rdark has quit [Ping timeout: 256 seconds]
shock_one has quit [Remote host closed the connection]
<suchness> nope that's not going to work
<dtzitz> I called super to fix my AC... it was ineffective
VeganGreg has quit [Ping timeout: 240 seconds]
uw667 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
riotjones has joined #ruby
Torrieri has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
<[k-_> ¯\_(ツ)_/¯
curses has quit [Quit: leaving]
<[spoiler]> I'm confused. You want to include a module into a class without including the module?
<suchness> adaedra: My only fear with that, is I don't want to create methods like that in fear that they would conflict at some point, super and the lookup chain would prevent that from happening
riotjones has joined #ruby
<adaedra> suchness: super is for class inheritence
<suchness> adaedra: Not all the time
bruno- has quit [Ping timeout: 245 seconds]
EllisTAA has quit [Quit: EllisTAA]
<suchness> object.extend(Module.new) will grant inheritance on that instance
<suchness> Which is pretty similar to what I am trying to accomplish
banister has joined #ruby
havenwood has joined #ruby
<suchness> Basically breaking into the singleton class of an instance which acts as a sort of inheritance
Voker57 has quit [Ping timeout: 252 seconds]
sevenseacat has quit [Quit: .]
Voker57 has joined #ruby
Jammyhammy|Work has quit [Quit: Leaving]
hs366 has quit [Quit: Leaving]
<suchness> Anyhow, if there is a way to accomplish what I am trying to do I will find it.
Jammyhammy|Work has joined #ruby
<suchness> [spoiler]: I want a modules methods to be inserted in the method lookup chain of the instance of a class, and I want to do it after the module and class have already been defined.
banister has quit [Client Quit]
chandeer has joined #ruby
mary5030 has joined #ruby
<chandeer> is there a book on writing security exploits in ruby?
Jammyhammy|Work has quit [Remote host closed the connection]
oo__ has quit [Remote host closed the connection]
<yorickpeterse> chandeer: No, but it's very easy
<yorickpeterse> step 1: use YAML
maletor has joined #ruby
<yorickpeterse> ᕕ(ᐛ)ᕗ
Zackio has quit [Quit: C-x C-c]
<yorickpeterse> In all seriousness, there's https://ronin-ruby.github.io/ and IIRC metasploit is Ruby
riotjones has quit [Ping timeout: 250 seconds]
maletor has quit [Client Quit]
Zackio has joined #ruby
jhack has joined #ruby
LMity has joined #ruby
conor_ has quit [Remote host closed the connection]
RegulationD has joined #ruby
<yorickpeterse> I present to y'all, Rails: https://gist.github.com/YorickPeterse/ddc80b17ad1017cffe83
<yorickpeterse> who needs Array#map and Array#join
conor_ has joined #ruby
rdark has joined #ruby
chanadeer has joined #ruby
<adaedra> ?nobody
<ruboto> apeiros is nobody
<havenwood> ruboto: be nice
<[k-> looks like php
<chanadeer> looks like rape
<havenwood> chanadeer: o.O
yardenbar has quit [Quit: Leaving]
<adaedra> calm down
<havenwood> yorickpeterse: eek
<adaedra> elk
<pontiki> i'm trying to find out if and where a particular method is called. is there a static analysis tool i could use for this?
<havenwood> chanadeer: There was a Rails security book a while back that was I think much of the basis of the basic guide: http://guides.rubyonrails.org/security.html
<havenwood> chanadeer: Best bet I think would first be to learn Ruby well, if you haven't already.
big|bad|wolf has joined #ruby
<adaedra> pontiki: put a log message in it?
<yorickpeterse> chanadeer: keep the rape remarks down
<chanadeer> i know ruby
<[k-> pontiki: buuuut ruby is dynamic
chandeer has quit [Ping timeout: 246 seconds]
<pontiki> that would be okay dynamically
<[spoiler]> yorickpeterse: doesn't rails have like a to_sentence thing?
<chanadeer> i don't know how much i know ruby but i'm passing the high level exercises on codewars
<pontiki> i'ma just do a damn grep on 'user_name' :(
<[k-> pontiki: __callee__? set_trace_func__? __caller__?
banister has joined #ruby
chipotle has quit [Quit: cheerio]
<chanadeer> i would like to learn rails too.... i built an app with rails following a tutorial but i can't do anything on my own yet :(
<pontiki> [k-: those are *dynamic*
<[k-> theres no __ after set_trace_func*
<pontiki> [k-: see note about *static*
<adaedra> chanadeer: you'll learn by doing :)
<yorickpeterse> [spoiler]: Yeah, or you just do post.tags.map { |tag| tag.name.capitalize }.join(', ')
<[k-> you can log all calls easily using set_trace_func
s2013 has joined #ruby
<pontiki> ignore [k-
<[k-> and you can grep it afterwards
<havenwood> chanadeer: Learn to make a Rack app. Learn to make a simple Rack middleware.
ruby-lang662 has joined #ruby
<[k-> see avdi's blog about tools
tonios57 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banister has quit [Client Quit]
LMity has quit [Ping timeout: 265 seconds]
psy_ has quit [Ping timeout: 260 seconds]
hydrozen has joined #ruby
<[k-> there's no point in asking a question if you are just going to ignore the responses
<[k-> might as well just ask yourself silently
<[k-> if you do not want responses, label the question as rhetorical
<Diabolik> is there an http response object in ruby?
j3r0 has quit [Ping timeout: 255 seconds]
<havenwood> Diabolik: What does that mean?
<Diabolik> i want to build a case statement like
yh has joined #ruby
<Diabolik> case response
<Diabolik> when 200
<Diabolik> [{lat: 51.536433, lng: -0.122309}, {lat: 51.536139, lng: -0.122266}, {lat: 51.535125, lng: -0.122395}]
<Diabolik> when 423
<Diabolik> raise ApiError::EngineerAtDestinationError.new("Your Engineer should be with you.")
<Diabolik> when 500
Zeroe has quit [Quit: Zeroe]
<jhass> ?flood Diabolik
<ruboto> Diabolik, Please use https://gist.github.com for more than three lines of text!
<Diabolik> sorry jhass
<Diabolik> my bad
icebourg has joined #ruby
<adaedra> ?context Diabolik
<ruboto> Diabolik, Please add more context to your question, what are you doing, why are you doing it, which libraries are involved. Post some code to gist if it clarifies your question.
chanadeer has quit [Ping timeout: 246 seconds]
nobitanobi has joined #ruby
<[k-> its latitude and longitude!
tkuchiki has quit [Remote host closed the connection]
<[k-> he wants the response codes, it seems
<Diabolik> yes
<bradland> where the response codes reside will depend on the lib used to make the request
<bradland> need moar code :)
<adaedra> need some context, so answers to questions made by ruboto
Zeroe has joined #ruby
drewo has joined #ruby
<dtzitz> ?help
<ruboto> You can find an overview of my commands at http://ruby-community.com/ruboto/commands
<startupality> can you set default print area (from which to which row) by using axslx gem?
rikkipitt has joined #ruby
sinkensabe has joined #ruby
coban2k has quit [Remote host closed the connection]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dtzitz> ?smug
<ruboto> I don't know anything about smug
<dtzitz> I disagree
<dtzitz> lol
<bradland> startupality: we use axlsx a lot. you'll often find that you have to do some code diving to find what you're looking for.
hobodave has joined #ruby
platzhirsch has left #ruby [#ruby]
chinmay_dd has joined #ruby
tkuchiki has joined #ruby
revoohc has joined #ruby
VeganGreg has joined #ruby
hashrocket has joined #ruby
sinkensabe has quit [Ping timeout: 250 seconds]
chinmay_dd has quit [Client Quit]
DaniG2k has quit [Quit: leaving]
Guest50 has joined #ruby
Cache_Money has joined #ruby
Guest50 is now known as dmitch
banister has joined #ruby
<pontiki> [k-: there is no point in *answering* a question if you don't understand the question, either
<[k-> as i said, ruby is dynamic, these kinds of things are difficult to achieve
<pontiki> [k-: i asked for a *static* analysis, you kept ticking off *dynamic* tools
<[k-> rubymine can do it
dfockler has joined #ruby
banister has quit [Client Quit]
<bradland> Diabolik: i'm always one to take shots in the dark, so i'll presume you're working backward from response, trying to make a request.
<[k-> pontiki: i didnt kept on, i listed 3 in a sentence, and went on to elaborate
<bradland> have a look at the HTTP clients here: https://www.ruby-toolbox.com/categories/http_clients
fumk has quit [Remote host closed the connection]
<Diabolik> hi bradland sorry im using httparty
<dmitch> Question: Does anyone know if it's possible to send a request through some HTTP client and not wait for the response? Super strange, I know.
blue_deref has joined #ruby
<Diabolik> i want to return different responses depending on the http response code
acej has joined #ruby
kp666 has quit [Remote host closed the connection]
big|bad|wolf has quit [Ping timeout: 244 seconds]
bruno- has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<startupality> @bradland possible to define that I want area from A1 to K50 preslected when printing?
gard has joined #ruby
chinmay_dd has joined #ruby
<machinewar> dmitch: do you mean send request and then keep executing code before response is returned
<dmitch> machinewar: No, I mean the response will predictably get hung up, and yet the request is successful. The goal would be to send the request, and just move on in execution - the response doesn't matter.
ruby-lang662 has quit [Ping timeout: 246 seconds]
kbhat has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
<dmitch> I don't even know if I want to use such a solution, but I am just finding out if it's possible so that I can weigh options.
kbhat has left #ruby ["Bye!"]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<machinewar> could do it in javascript with ajax, I know this is #ruby but is that an option? Other option could be return a 202, and process it in a background job
<dmitch> This is all backend, so not really an AJAX candidate. I thought about background processing, which is another option. My guess is my original question isn't really possible.
drewo has quit [Ping timeout: 252 seconds]
basmoura has quit [Remote host closed the connection]
banister has joined #ruby
<havenwood> dmitch: Sure, you can send a request asynchronously and never check the response.
riotjones has joined #ruby
<machinewar> havenwood: how do you send async requests in ruby
<havenwood> machinewar: Forking, threading or an event loop probably.
<dmitch> There's always opening up a new thread, EM deferring, etc. And that may be what I have to do.
maletor has joined #ruby
<machinewar> havenwood: cool didn't think about it like that
hobodave has joined #ruby
<havenwood> dmitch: A bunch of the HTTP clients in Ruby have options built-in.
scripore has quit [Quit: This computer has gone to sleep]
rikkipitt has quit [Quit: Leaving...]
<havenwood> dmitch: For example from the HTTP.rb gem: https://github.com/httprb/http/wiki/Parallel-requests-with-Celluloid%3A%3AIO
Coldblackice has quit [Ping timeout: 260 seconds]
drewo has joined #ruby
chinmay_dd has quit [Ping timeout: 260 seconds]
gard has quit [Ping timeout: 265 seconds]
<machinewar> only problem is that then you don't know if request was accepted by server right
banister has quit [Client Quit]
<machinewar> what if you send some wrong parameters or something
<machinewar> that's why I think returning quick 202 and processing elsewhere make ssense
<havenwood> machinewar: you could always check the response, but apparently that's not desired
<machinewar> yes
<machinewar> agreed
<dmitch> I think I'm already in that boat. This is not an _ideal_ API I'm using, and I would definitely say this is unacceptable from an API. However, it is what it is in this case.
olistik has quit [Remote host closed the connection]
<havenwood> dmitch: Are you opposed to check the statuses later? :P
banister has joined #ruby
<dmitch> havenwood: In a perfect world, yes, but I was planning on working around that piece.
loc22 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
<havenwood> dmitch: I don't really follow what you're doing. Good luck!!
chinmay_dd has joined #ruby
<dmitch> havenwood: I know. I'm sad even asking these questions. Just send good vibes my way.
Jammyhammy|Work has joined #ruby
<machinewar> lol love it
* apeiros sends good vibes in the general direction of dmitch
banister has quit [Client Quit]
marr has joined #ruby
tkuchiki has joined #ruby
rehat has joined #ruby
djstorm has joined #ruby
mary5030_ has joined #ruby
mary5030 has quit [Ping timeout: 255 seconds]
<bradland> startupality: yes, althought it looks like it's kind of hacky
anisha has quit [Quit: Leaving]
<bradland> have a look at Workbook#add_defined_name and you'll see that it just adds a DefinedName to the collection
banister has joined #ruby
banister has quit [Client Quit]
<suchness> [k- adaedra [spoiler] http://pastie.org/private/vg7xnjiazptpamzdogdupg booya
<adaedra> vad
polpak has joined #ruby
<acej> /msg nickserv info greg
quimrstorres has quit [Remote host closed the connection]
<adaedra> try again
omegamike has quit [Remote host closed the connection]
nettoweb has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
blackmesa has joined #ruby
<wasamasa> Whitespace: With A Vengeance
<shevy> suchness lol
<shevy> suchness I thought you added a spoiler tag to your link
VeganGreg has quit [Quit: WeeChat 1.2]
christiandsg has joined #ruby
shock_one has joined #ruby
<suchness> haha
loc22 has quit [Quit: Be back later ...]
rippa has joined #ruby
<bradland> so much 1999 going on with these nicks :P
<suchness> They said it couldn't be done! It is done. Observers for every method!
tkuchiki has quit [Remote host closed the connection]
<suchness> I knew it had to be possible, just took a bit to evaluate what I was setting out to do.
hazelux has quit [Remote host closed the connection]
<[k-_> we did not say it couldnt be done
<[k-_> dont stuff words into our mouths please
<suchness> Haha
<suchness> I didn't mean that directed at anyone in particular
<suchness> I wonder if it even makes sense to have an intermediary ClassObserver class.
mary5030_ has quit [Remote host closed the connection]
<suchness> And I am also curious about what you guys think about defining a 'new' method and calling super.
blackmesa has quit [Ping timeout: 272 seconds]
hydrozen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
poguez_ has joined #ruby
<[k-_> im pretty sure ruby already offers before_methods, after_methods or something like that already
fgo has quit [Quit: WeeChat 1.1.1]
<unver> Hi, how can I make this if block easier to read? http://hastebin.com/asifojezoz.avrasm
mary5030 has joined #ruby
<suchness> [k-_: That's not the point
drewo has quit [Remote host closed the connection]
momomomomo has joined #ruby
dr3w has joined #ruby
icarus has joined #ruby
olistik has joined #ruby
quimrstorres has joined #ruby
<[k-_> ¯\_(ツ)_/¯
<adaedra> unver: use Range#include?
emmiez has joined #ruby
yh_ has joined #ruby
linuxboytoo has quit [Remote host closed the connection]
<emmiez> is anyone familiar with the 'jira-ruby' gem?
<unver> adaedra: oh, that's a good idea, I was thinking more style wise, it's hard to tell that the ret << is nested in there, is there a way to write it more explicitly
<jhass> ?anyone emmiez
<ruboto> emmiez, Just ask your question, if anyone has or can, they will respond.
startupality has quit [Quit: startupality]
omegamike has joined #ruby
<adaedra> unver: you could put your condition in a method, so the if only takes one line
stan has quit [Ping timeout: 246 seconds]
kies has joined #ruby
<havenwood> unver: You're currently calling #start_time and #end_time a bunch of times.
<jhass> unver: extract a method or two
davejlong has joined #ruby
yh has quit [Ping timeout: 252 seconds]
<unver> good thoughts, time to roll up my sleeves
Torrieri has quit [Read error: No route to host]
startupality has joined #ruby
<adaedra> unver.sleeves.each(&:roll_up)
centrx has quit [Quit: "You cannot fix a machine by just power-cycling it with no understanding of what is going wrong."]
<unver> lol
<jhass> unver: you didn't show context, but given the ret << I suppose there some potential cleanup with #map / #select
Torrieri has joined #ruby
frozen3 has quit [Remote host closed the connection]
gambl0re has joined #ruby
<unver> you're right on that, (just want to let it be known that this is legacy code, I didn't originally write it)
terlar has quit [Quit: WeeChat 1.2]
bronson has joined #ruby
olistik has quit [Remote host closed the connection]
PornPirate is now known as NetworkingPro
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<adaedra> look who's rejecting fault on others.
coban2k has joined #ruby
duggiefresh has quit [Remote host closed the connection]
<emmiez> I'm trying to create a JIRA widget to display the number of tickets that currently have a severity level of "Sev 2" for my Dashing dashboard. Here is what i have https://gist.github.com/anonymous/36aa492808f084bb6c10 The parameters in line 26 are required for the gem. Despite my thorough research, i'm still not sure why. Anyway, i
<emmiez> i'm getting an error that states scheduler caught exception: undefined local variable or method `comments' for main:Object /home/napower/north_american_power_dash/jobs/jira.rb:26:in `block in <top (required)>'
<emmiez> any help would be appreicated
<jhass> ?gist_usage emmiez
<ruboto> emmiez, To properly use gist, please enable syntax highlighting, either by choosing the language manually or by entering a proper filename. If you post multiple things, separate them into multiple files. If you have a Github account, please update your gist with new information instead of posting a new one.
yardenbar has joined #ruby
saddad has joined #ruby
gard has joined #ruby
<jhass> issues = client.Issue.jql(jql_query, [comments, summary])
<jhass> where do you expect comments to come from? it's not defined
<[k-_> unver: did you mean push?
<shevy> aha so emmiez tried to use a non-existing variable!
quimrstorres has quit [Remote host closed the connection]
<emmiez> thank you
<emmiez> :)
linuxboytoo has joined #ruby
gheegh has joined #ruby
emmiez has quit [Quit: Page closed]
<unver> adaedra: what's wrong with that? I still have to fix it
freerobby has joined #ruby
coban2k_ has joined #ruby
<adaedra> look over whose head the joke went.
einarj has quit [Remote host closed the connection]
<jhass> oO, why did they left?
<[k-_> leave*
bronson has quit [Ping timeout: 244 seconds]
<shevy> ruboto must have been too unfriendly again
<adaedra> jhass: emmiez yes
<shevy> bad bot, bad
<adaedra> ?botsnack
<ruboto> nomnomnomnom
haraoka has quit [Remote host closed the connection]
coban2k has quit [Ping timeout: 260 seconds]
sbhatore has quit [Read error: Connection reset by peer]
Amalicon has joined #ruby
hobodave has joined #ruby
renderful has quit [Remote host closed the connection]
renderfu_ has joined #ruby
dc has quit [Remote host closed the connection]
towski_ has joined #ruby
gambl0re has quit []
jamesaxl|2 has joined #ruby
uwa667 has joined #ruby
chinmay_dd has quit [Ping timeout: 264 seconds]
shock_one has quit [Remote host closed the connection]
slide has left #ruby ["Leaving"]
sbhatore has joined #ruby
yardenbar has quit [Ping timeout: 246 seconds]
duggiefresh has joined #ruby
duggiefresh has quit [Client Quit]
duggiefresh has joined #ruby
gambl0re has joined #ruby
shock_one has joined #ruby
shock_one has quit [Remote host closed the connection]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> you are just trying to bribe the bot
banister has joined #ruby
<[k-_> ?bribes
<ruboto> I don't know anything about bribes
Rickmasta has joined #ruby
jamesaxl has quit [Ping timeout: 246 seconds]
moted has joined #ruby
uwa667 has quit [Client Quit]
dr3w has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
<adaedra> &botsnack
Amalicon is now known as ALLAHU_AKBAR
<adaedra> there's multiple bots
gard has quit [Ping timeout: 255 seconds]
<ljarvis> ?cake
<ruboto> here's your cake:
basmoura has joined #ruby
rodfersou has quit [Quit: leaving]
<adaedra> 'tis a lie
<ljarvis> :O
psy_ has joined #ruby
Philipp__ has quit [Read error: Connection reset by peer]
uwa667 has joined #ruby
banister has quit [Client Quit]
scripore has joined #ruby
jonee has joined #ruby
DroidBurgundy has joined #ruby
dr3w has joined #ruby
uwa667 has quit [Client Quit]
<shevy> really a lot of goodies in this bot
hazelux has joined #ruby
khebbie has quit [Remote host closed the connection]
greg has joined #ruby
<greg> hello m new to this group
Oog_ has joined #ruby
<Oog_> why does false || nil evaluate to nil instead of false?
<bradland> startupality: not sure if you're still around, but something like this *should* work: https://gist.github.com/bradland/584391ec594b3027eb69
frozen3 has joined #ruby
sarkyniin has quit [Ping timeout: 256 seconds]
greg has quit [Client Quit]
Oog_ is now known as Oog
hashrocket has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfoolz_ is now known as dfoolz
lampd1 has quit [Remote host closed the connection]
<havenwood> Oog: What would you expect from?: false || true
<[k-_> Oog_: if the LHS is false, ruby returns the RHS
<Oog> true
<ljarvis> that's why
scripore has quit [Client Quit]
<[k-_> >> false || 1
<ruboto> [k-_ # => 1 (https://eval.in/416395)
<Oog> interesting so its not like a real boolean operator?
hanmac has quit [Ping timeout: 244 seconds]
meatchicken has joined #ruby
<bradland> it is
<meatchicken> how do I create a decimal in ruby?
<bradland> well, it's a logical operator
<meatchicken> whenever I try, it creates a float
<bradland> sry, not boolean
<meatchicken> Use case is application versioning -> 2.0 -> I want to increment it by 0.1 each time
<adaedra> meatchicken: use BigDecimal or Rational
<ljarvis> meatchicken: see BigDecimal
<meatchicken> BigDecimal.new should work?
<Oog> i see i guess its more or less the same and will do. thanks
<[k-_> (or use String#succ)
Oog has quit [Client Quit]
lampd1 has joined #ruby
<adaedra> [k-_: NO
<ljarvis> ^ dont
valetudo has joined #ruby
christiandsg has quit [Remote host closed the connection]
<bradland> yikes
scripore has joined #ruby
<[k-_> that's why it's in brackets!
dc has joined #ruby
<adaedra> those are not brackets
mleung has joined #ruby
<bradland> meatchicken: if you're using semver, consider splitting your version components up in an array, so you can increment them individually
alex88 has quit []
<[k-_> parantheses :/
<meatchicken> bradland: these will be in a database
<meatchicken> not much sql database support array store
<bradland> ah ok
<meatchicken> thanks though guys
Pisuke has quit [Ping timeout: 255 seconds]
<meatchicken> checking out string#succ and bigdecimal
Sembei has joined #ruby
riotjones has quit [Ping timeout: 252 seconds]
conor_ has quit [Read error: Connection reset by peer]
ALLAHU_AKBAR has quit [Ping timeout: 246 seconds]
mephistophocles has quit [Remote host closed the connection]
flak has joined #ruby
<bradland> IMO, i'd avoid String#succ if you expect math behavior
conor_ has joined #ruby
Zeroe has quit [Quit: Zeroe]
<[k-_> yeah
<[k-_> >> "1.9".succ
<ruboto> [k-_ # => "2.0" (https://eval.in/416396)
ndrei has quit [Remote host closed the connection]
yardenbar has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
senayar has quit []
<[k-_> in versioning, one would expect "1.10"
<[k-_> which is not math behavior actually
mrtg9970 has joined #ruby
Lucky__ has joined #ruby
<[k-_> bradland: you are wrong!
<meatchicken> bradland: what's wrong with String#succ?
<bradland> damn :)
<meatchicken> im actually okay with this
<meatchicken> not semver*
<bradland> well, as [k-_ just pointed out, "1.9".succ will return "2.0"
s2013 has joined #ruby
<bradland> if that's ok for you, then you're good to go
hololeap has joined #ruby
<bradland> depend on your rules of versioning
spinagon has joined #ruby
<meatchicken> ty guys
<bradland> you bet
<meatchicken> that is good enough!
rippa has quit [Ping timeout: 252 seconds]
mrtg9970 has quit [Remote host closed the connection]
hashrocket has joined #ruby
<startupality> @bradland hmm that didnt change the default layour in ms excel when trying to print -> p.workbook.add_defined_name("'Basic Worksheet'!A1:I30", :local_sheet_id => sheet.index, :name => '_xlnm.Print_Area')
<startupality> *layout
baroquebobcat has joined #ruby
<bradland> startupality: yeah, i'm noticing the same. that should be close to what you want though, according to the docs.
<bradland> the trick is in figuring out why.
Zggb has quit [Quit: Connection closed for inactivity]
josh3 has joined #ruby
chadwtaylor has joined #ruby
leat has quit [Ping timeout: 265 seconds]
Zamyatin has joined #ruby
<startupality> @bradland what about using http://www.rubydoc.info/github/randym/axlsx/Axlsx/PrintOptions ?
flak has quit [Ping timeout: 244 seconds]
<adaedra> how would you take n random letters /with/ repetition?
yardenbar has quit [Ping timeout: 244 seconds]
olivierrr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
olivierrr has joined #ruby
startupality has quit [Quit: startupality]
<unver> How do I check that a range is a subset of another range?
ruby-lang119 has joined #ruby
<apeiros> unver: b.cover?(a.start) && b.cover?(a.end)
mary5030 has quit [Remote host closed the connection]
j4cknewt has quit [Remote host closed the connection]
khebbie has joined #ruby
mary5030 has joined #ruby
<bradland> startupality: Strangely, I didn't see anything for print area there.
ruby-lang497 has joined #ruby
chinmay_dd has quit [Ping timeout: 260 seconds]
hanmac has joined #ruby
sshuff is now known as sshuff|gone
dc has quit [Ping timeout: 265 seconds]
autofsckk has joined #ruby
olivierrr has quit [Ping timeout: 256 seconds]
conor_ has quit [Remote host closed the connection]
<[k-_> adaedra: example? "gatanagabbbbcececececde" ⇒ "bbbb"?
conor_ has joined #ruby
conor_ has quit [Remote host closed the connection]
luksaur has joined #ruby
<adaedra> [k-_: no, just random letters from ?A..?Z, with possible repetition (so A Z A R would be ok)
ruby-lang119 has quit [Ping timeout: 246 seconds]
einarj has joined #ruby
ninja-maid-robot has quit [Ping timeout: 252 seconds]
ruby-lang643 has joined #ruby
conor_ has joined #ruby
greenarrow has quit [Quit: 500]
<[k-_> so, non-unique letters?
<adaedra> but I need to add weight to some letters, so I'll do otherwise
_seanc_ has joined #ruby
markserver has joined #ruby
dc has joined #ruby
<shevy> adaedra give me a hug
yardenbar has joined #ruby
khebbie has quit [Remote host closed the connection]
Alayde has joined #ruby
khebbie has joined #ruby
* adaedra hugs shevy
dcunit3d has joined #ruby
christiandsg has joined #ruby
conor_ has quit [Remote host closed the connection]
riotjones has joined #ruby
conor_ has joined #ruby
<markserver> Hello, can anyone help me with this code: http://pastebin.com/iav9htTe ... I receive this error: mbi.rb:in `validate': undefined method `>' for #<Mysql2::Result:0x00000002b52988> (NoMethodError)
<ruboto> markserver, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/2ab33c376db46ee19101
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<dcunit3d> hey guys is this the place to ask ruby dev questions?
scripore has quit [Quit: This computer has gone to sleep]
bricker has joined #ruby
startupality has joined #ruby
<dcunit3d> i'm working on a non-profit project where we're taking GTFS files for bus system routes and we need to generate maps with all the routes on them.
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
niko has joined #ruby
<dcunit3d> i'm asking around to see if anyone has worked on something similar in the past. most of the project is pretty simple, but there's quite a few gotchas
<ruby-lang643> test
<[k-_> UnpreparedStatementsError
scripore has joined #ruby
olistik has joined #ruby
<markserver> Hello, can anyone help me with this code: https://gist.github.com/2ab33c376db46ee19101 ... I receive this error: mbi.rb:in `validate': undefined method `>' for #<Mysql2::Result:0x00000002b52988> (NoMethodError)
<markserver> Seems like ruby not find the > operator
<[k-_> markserver: @mysql.query returns a Mysql2::Result
<[k-_> which is not a number
<[k-_> it is a general type
<markserver> Thanks :) How i can revert it to a number?
mikecmpbll has quit [Ping timeout: 256 seconds]
<markserver> I need to iterate in the array?
<dcunit3d> first off, where could i obtain the background image for such a map? secondly, only the route stop GPS coordinates are in the GTFS files, but the routes b/w the stops may take turns. so how do i get a line drawn between route stops to follow the curvature of the road?
<[k-_> depends on what Mysql2::Result is
<NetworkingPro> I have a linux server running ruby 1.9.3p547. I am seeing that when I get a connection from a single IP into my apps listening port ruby spawns 47 files for a single connection on the OS
<NetworkingPro> anyone ever seen or heard of that?
Trynemjoel has quit [Ping timeout: 250 seconds]
<markserver> It is a simple query thath returns a field(Balance) with an integer
ascarter has joined #ruby
Alayde has quit [Ping timeout: 272 seconds]
conor_ has quit [Remote host closed the connection]
conor_ has joined #ruby
christiandsg has quit [Read error: Connection reset by peer]
ruby-lang643 has quit [Ping timeout: 246 seconds]
<kenichi> dcunit3d: more gis question than ruby
<[k-_> markserver: extract the integer then
Trynemjoel has joined #ruby
uwa667 has joined #ruby
c0m0 has quit [Ping timeout: 272 seconds]
startupality has quit [Quit: startupality]
conor_ has quit [Remote host closed the connection]
ruby-lang497 has quit [Ping timeout: 246 seconds]
startupality has joined #ruby
<dcunit3d> kenichi true, but i'm hoping to use ruby
maletor has quit [Read error: Connection reset by peer]
<shevy> yay come to use dcunit3d \o/
christiandsg has joined #ruby
<shevy> don't join the evil php hyenas
bootstrappm has joined #ruby
<shevy> adaedra thanks for the hug! I was gone for a moment so you caught me in an afk-hug there
yh has joined #ruby
<NetworkingPro> shevy: you a ruby ninja?
<dcunit3d> i know there has to be some way to do this in an automated fashion. but they're more interested in the design of the maps. i'm asking in a few different channels
acej has quit [Ping timeout: 246 seconds]
yh_ has quit [Ping timeout: 265 seconds]
djstorm has quit [Ping timeout: 265 seconds]
quimrstorres has joined #ruby
<havenwood> markserver: Rather than the whole if statement with `return true` and `return false` just: balance >= @amount
<shevy> NetworkingPro hmm not a ninja, just a simple user
<shevy> ninjas have to be swift and deadly, I have more shaped into a teddy bear
<kenichi> dcunit3d: if you pull coords from the stops out, you can build a geojson linesstring using terraformer.rb
<havenwood> markserver: Drop the empty parens from methods without arguments.
startupality has quit [Client Quit]
<NetworkingPro> lol shevy
<kenichi> dcunit3d: won't be snapped to streets, but it will be a start
<NetworkingPro> I have a completely annoying issue.. ugh
dionysus69 has joined #ruby
<markserver> havenwood thanks a lot
<havenwood> markserver: It's not an Integer apparently. Check: balance.class
lkba has joined #ruby
pyon has joined #ruby
MasterPiece has joined #ruby
<kenichi> dcunit3d: then look into things like mapbox, cartodb, etc.
<havenwood> markserver: Ah, you already showed what it is.
<havenwood> markserver: <Mysql2::Result:...>
<kenichi> dcunit3d: openstreetmap, osgeo.org, there is ffi-ogr gem that may be helpful too
<kenichi> gis is typically a python world...
dumdedum has quit [Quit: foo]
conor_ has joined #ruby
<havenwood> markserver: Distracted at the moment, but try?: balance.first
lannonbr has quit [Quit: WeeChat 1.2]
yh has quit [Ping timeout: 265 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
startupality has joined #ruby
<havenwood> markserver: It looks like #count, #each, and #fields are implemented and it includes Enumerable. So I'd try #first and see if that's what you're after.
mephistophocles has joined #ruby
ascarter has joined #ruby
conor_ has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
ferhaty has joined #ruby
<dcunit3d> thanks kenichi, i've looked around, but i haven't heard of terraformer, mapbox, cartodb. i'm connecting to OSM's irc server now
Vile` has quit [Ping timeout: 256 seconds]
conor_ has joined #ruby
fantazo has joined #ruby
<kenichi> dcunit3d: it can be a bit of an obscure world! good luck :)
<dcunit3d> i live in a smaller town (<300,000) and we have a non-profit hackathon starting tomorrow and i'm trying to get a head start.
<havenwood> dcunit3d: You said non-profit? It looks like various normally-paid APIs have non-profit options. E.g.: http://www.esri.com/nonprofit
ferhaty has quit [Max SendQ exceeded]
segment23 has joined #ruby
<segment23> hi
<segment23> a ny contractors here? i have a question
<havenwood> segment23: What's the question?
Vile` has joined #ruby
<segment23> havenwood: how do you write your termination clause
<shevy> pull out the shotgun
<[k-_> my school is trying out esri
<[k-_> via arcgis
<shevy> [k-_ will you become a teacher at your school?
<kenichi> havenwood: i used to work there, and was trying to point dcunit3d away from propreitary
<[k-_> no shevy
<kenichi> qgis!
kidoz has quit [Quit: Ухожу я от вас]
<havenwood> kenichi: Aha! Yeah, that's probably a good idea. :D
dtzitz has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
towski_ has quit [Remote host closed the connection]
chichou has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
darkf has quit [Quit: Leaving]
conor_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
lk has joined #ruby
<markserver> havenwood: .first doesn't work, i'll simply iterate the array with results.each
al2o3-cr has quit [Quit: WeeChat 1.2]
<havenwood> markserver: Was just hoping #first might give you some bearing.
platzhirsch has joined #ruby
<dcunit3d> shevy lol
mary5030 has quit [Ping timeout: 260 seconds]
j4cknewt has joined #ruby
quimrstorres has quit [Remote host closed the connection]
unver has quit [Ping timeout: 272 seconds]
ndh has joined #ruby
momomomomo has quit [Quit: momomomomo]
<dcunit3d> segment23 if you have time, i would try to present the client with options. bring someone else on, so your client's not screwed, but then gradually let that person take over. although some client's, you wouldn't want to give them to a friend
<ndh> I hate Miggers
programm1 has joined #ruby
<havenwood> !mute ndh
nirvdrum has quit [Remote host closed the connection]
conor_ has joined #ruby
<segment23> dcunit3d: im the client trying to write a termination clause that is fair to protect me
chadwtaylor has quit [Remote host closed the connection]
pietr0 has joined #ruby
jerius has quit [Quit: /quit]
dopie has quit [Read error: Connection reset by peer]
dopie has joined #ruby
rcvalle has joined #ruby
shock_one has joined #ruby
programmerq has quit [Ping timeout: 244 seconds]
programm1 is now known as programmerq
hahuang61 has joined #ruby
<markserver> havenwood: worked with result.first["Balance"] ... it was searching in the first row but not in the first column...
<havenwood> segment23: So do you want termination without cause by either party with written notice? Or what is your goal?
chinmay_dd has joined #ruby
khebbie has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
jerius has joined #ruby
<segment23> havenwood: i want to be compensated in case of termination for any reasons
lannonbr has joined #ruby
autrilla has joined #ruby
chinmay_dd has quit [Client Quit]
<havenwood> segment23: I'd suggest reading some law review articles on New York liquidated damages clauses.
<[k-_> this isnt a ruby question!
<havenwood> havenwood: havenwood ?ot
<segment23> [k-_: its a ruby contract
startupality has quit [Quit: startupality]
kidoz has joined #ruby
<segment23> havenwood: i see. id appreciate it if you have links
<havenwood> segment23: Let's discuss in #ruby-offtopic.
<[k-_> segment23: what's your age? <--- i can ask this here since you are a ruby programmer?
shock_one has quit [Ping timeout: 250 seconds]
<[k-_> no, i cant, because its a ruby contract is a poor excuse
<segment23> [k-_: we usually say how old are you" - i can't correct you since it's a ruby channel?
DifferentLambda is now known as rhg135
ndh has quit [K-Lined]
allcentury has joined #ruby
banister has joined #ruby
jerius has quit [Ping timeout: 240 seconds]
quimrstorres has joined #ruby
Zeroe has joined #ruby
EllisTAA has joined #ruby
<[k-_> segment23: that's not the point (aside: it is okay, since that is the normal flow of conversations), but you shouldn't ask such questions here ¯\_(ツ)_/¯
Torrieri has quit [Quit: Be back later ...]
jerius has joined #ruby
pyon has quit [Ping timeout: 246 seconds]
<RegulationD> I will say it warmed my ex-attorney heart to glance over at IRC and see the phrase "liquidated damages"
<shevy> hehe
TomyLobo has joined #ruby
duggiefresh has quit [Remote host closed the connection]
lk has quit [Ping timeout: 246 seconds]
banister has quit [Read error: Connection reset by peer]
<havenwood> RegulationD: It chilled my ex-att'y heart to its empty core to say it!
RegulationD has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
pauly_oc has joined #ruby
<shevy> ohhh
<shevy> lawyers went ruby
<shevy> I forgot that havenwood is one as well, he seemed way too nice to be one though
<havenwood> shevy: I'm reformed.
KramerC has quit [Ping timeout: 272 seconds]
<shevy> hehehehe
maletor has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
<[k-_> :o you are once a lawyer?
<[k-_> cool
<[k-_> no wonder you read docs a lot
hobodave has quit [Quit: Computer has gone to sleep.]
Synthead has joined #ruby
moshee has quit [Ping timeout: 250 seconds]
conor_ has quit [Remote host closed the connection]
drewo has joined #ruby
sshuff|gone is now known as sshuff
nobitanobi has quit []
dr3w has quit [Read error: Connection reset by peer]
swgillespie has joined #ruby
bronson has joined #ruby
chichou has joined #ruby
al2o3-cr has joined #ruby
duggiefresh has joined #ruby
conor_ has joined #ruby
muntos has joined #ruby
unver has joined #ruby
pyon has joined #ruby
chinmay_dd has quit [Read error: Connection reset by peer]
rakm has joined #ruby
ascarter has joined #ruby
PaulCapestany has quit [Quit: .]
rubie has quit [Remote host closed the connection]
autofsckk has quit [Quit: Lost terminal]
chinmay_dd has joined #ruby
jtdoncas has joined #ruby
wookiehangover has quit [Ping timeout: 244 seconds]
[k-_ has quit [Quit: Lingo: www.lingoirc.com]
<cschneid_> what bit of minitest do I need to enable the `test do..end` syntax? Rails has it setup that way, but I'd like to do it in a standalone gem
conor_ has quit [Remote host closed the connection]
jpfuentes2 has joined #ruby
postmodern has joined #ruby
christiandsg has quit [Remote host closed the connection]
lucianopc has quit [Quit: Connection closed for inactivity]
conor_ has joined #ruby
platzhirsch has left #ruby [#ruby]
conor_ has quit [Remote host closed the connection]
meatchicken has left #ruby [#ruby]
olistik has quit [Remote host closed the connection]
banister has joined #ruby
wookiehangover has joined #ruby
towski_ has joined #ruby
machinewar has quit [Remote host closed the connection]
PaulCapestany has joined #ruby
rdark has quit [Ping timeout: 256 seconds]
<akurilin> question: what's the sanest way I have to upgrade to the latest ruby in ubuntu 14.04? Do I have to rbenv?
tomphp has joined #ruby
<chichou> akurilin: is it a production server?
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> akurilin: Brightbox provides nice Ruby packages for Ubuntu: https://www.brightbox.com/docs/ruby/ubuntu/
rubie has joined #ruby
<akurilin> chichou: dev box
<chichou> rbenv or chruby would be my choices
<havenwood> akurilin: If you just want to switch between MRI versions the Brightbox packages with ruby-switch or update-alternatives should suffice. Otherwise ruby-install with chruby!
icarus has quit [Ping timeout: 260 seconds]
<chichou> that ^, I have to admit that I don't use Ubuntu much :)
frozen3 has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 240 seconds]
gambl0re has quit [Read error: Connection reset by peer]
j3r0 has joined #ruby
djbkd has joined #ruby
malconis_ has joined #ruby
gard has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TheHodge has quit [Quit: Connection closed for inactivity]
<bradland> one man's opinion, but i would not use rbenv
gambl0re has joined #ruby
muntos has left #ruby [#ruby]
<bradland> i would go with chruby
UtkarshRay has quit [Quit: Leaving]
jobewan has joined #ruby
<akurilin> let me try to understand the upside of chruby
<workmad3> bradland: make that two people's opinions ;)
malconis has quit [Ping timeout: 256 seconds]
<havenwood> I third the motion.
<workmad3> akurilin: the motion passes, you are to use chruby! ;)
<akurilin> As far as I'm concerned I'm trying to reduce magic and the complexity of setting up different rubies,so if chruby gets me there, I'm happy
<bradland> lol
<bradland> in terms of reducing magic, chruby is what you want
<workmad3> akurilin: chruby is small enough that you can read through it and grok it quickly, if you're so inclined
<bradland> in order of magic from more to less: rvm, rbenv, chruby
<havenwood> akurilin: That's it ^
Antiarc has quit [Ping timeout: 240 seconds]
woobywoob has joined #ruby
failshell has quit []
<woobywoob> hello
<havenwood> woobywoob: hi
<woobywoob> anyone aware of how to prevent double submit on rails forms?
segment23 has quit [Ping timeout: 246 seconds]
<akurilin> you guys are selling me super hard
<akurilin> :P
<havenwood> woobywoob: #rubyonrails is the best place for Rails stuff
<jhass> ?rails woobywoob
<ruboto> woobywoob, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
Uuku has joined #ruby
Antiarc has joined #ruby
rubie has quit [Remote host closed the connection]
<havenwood> akurilin: Hi, I'm with the chruby welcoming committee. Welcome!
Mon_Ouie has joined #ruby
khebbie has joined #ruby
<akurilin> <3
swgillespie has quit [Ping timeout: 252 seconds]
Rickmasta has joined #ruby
christiandsg has joined #ruby
frozen3 has joined #ruby
dmitch has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rubie has joined #ruby
hobodave has joined #ruby
khebbie has quit [Ping timeout: 246 seconds]
hashrocket has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DroidBurgundy has quit [Ping timeout: 244 seconds]
<shevy> lol
troulouliou_div2 has quit [Remote host closed the connection]
DroidBurgundy has joined #ruby
gard has quit [Ping timeout: 246 seconds]
baweaver has joined #ruby
deol has joined #ruby
Torrieri has joined #ruby
<Coraline> I'm invoking a shell command with ` and capturing its output in a variable. Is there a way to output _variable_ with each line of output from the ` ?
<Coraline> Rather than waiting for the ` to complete/
<jhass> Coraline: you'll have to use something from open3 stdlib or Process.popen
michaeldeol has quit [Ping timeout: 252 seconds]
<jhass> er, IO.popen it was
<adaedra> or Kernel#open
RegulationD has joined #ruby
drewo has quit [Ping timeout: 250 seconds]
<jhass> or just use system if all you really want is the output going to your stdout
jtdoncas has quit [Ping timeout: 250 seconds]
hinbody has joined #ruby
<jhass> or spawn if you don't even want to block on its execution
jerius has quit [Quit: /quit]
baweaver has quit [Remote host closed the connection]
autofsckk has joined #ruby
drewo has joined #ruby
mandarinkin has quit [Quit: Leaving]
Zeroe has quit [Quit: Zeroe]
sarkyniin has joined #ruby
podman has joined #ruby
segv is now known as backtick
hashrocket has joined #ruby
backtick is now known as segv
gambl0re has quit [Ping timeout: 265 seconds]
christiandsg has quit [Remote host closed the connection]
hololeap has quit [Ping timeout: 244 seconds]
juanpablo__ has joined #ruby
shock_one has joined #ruby
jerius has joined #ruby
shinnya has joined #ruby
wldcordeiro has joined #ruby
christiandsg has joined #ruby
Guest50 has joined #ruby
ruby-lang901 has joined #ruby
lagweezle has left #ruby [#ruby]
hahuang61 has joined #ruby
Scriptonaut has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
<Scriptonaut> anyone know of a quick way to take an array of objects and turn it into a hash with each key being a specified key and the valu being each object?
suchness has quit []
<dojobo> sounds like a job for Array#map
<Coraline> adaedra: I tried this https://gist.github.com/CoralineAda/d6a978e4d077873d5740 and get a broken pipe
<adaedra> .map { |o| [ o.field, o ] }.to_h
gambl0re has joined #ruby
<Scriptonaut> cool, ty
sarkyniin has quit [Read error: Connection reset by peer]
<dojobo> adaedra++
shock_one has quit [Ping timeout: 252 seconds]
<adaedra> /nick adaedrb
danieli has quit [Quit: *does an epic backflip into nowhere*]
swgillespie has joined #ruby
Zeroe has joined #ruby
<adaedra> Coraline: works for me :x
tomphp has joined #ruby
juanpablo__ has quit [Ping timeout: 256 seconds]
christiandsg has quit [Ping timeout: 265 seconds]
ruby-lang901 has quit [Ping timeout: 246 seconds]
<Coraline> adaedra: I'm invoking rspec through that command, make a different?
bronson has quit [Remote host closed the connection]
<Coraline> difference
kidoz has quit [Quit: Ухожу я от вас]
toretore has joined #ruby
<adaedra> well
clarkenciel has joined #ruby
<adaedra> if you read only one line and rspec outputs multiple line, it is normal that rspec SIGPIPE
<adaedra> lines*
swgillespie has quit [Client Quit]
mikecmpbll has joined #ruby
<Coraline> Makes sense
<Coraline> Hmm
veonik has joined #ruby
hashrocket has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_clarkenciel has joined #ruby
scripore has joined #ruby
_clarkenciel has quit [Client Quit]
NeverDie has joined #ruby
loc22 has joined #ruby
<veonik> hi everyone. I'm wondering if any have advice regarding activerecord alternatives? i would really prefer a data mapper style ORM but i wanted to see if anyone had specific suggestions
xcesariox has joined #ruby
<Coraline> ROM
<yorickpeterse> veonik: Sequel
howdoico1 has joined #ruby
<Coraline> IIRC they just released a new version?
<Coraline> Oh yeah, that
lannonbr has quit [Quit: WeeChat 1.2]
f4cl3y has quit [Ping timeout: 246 seconds]
<adaedra> Coraline: looping on gets works fine and doesn't SIGPIPE
<Coraline> Yep, that's what I'm trying now
lkba has quit [Ping timeout: 240 seconds]
chichou has quit []
<adaedra> Or #each_line :3
qubitz has quit [Ping timeout: 240 seconds]
chichou has joined #ruby
davedev2_ has joined #ruby
<BraddPitt> this is really neat: https://stripe.com/blog/distributed-ruby-testing
qubitz has joined #ruby
<BraddPitt> not so much about ruby, more about distributed testing
<BraddPitt> but still neat!
DelDotB has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
Valeness has joined #ruby
wldcordeiro has quit [Quit: Leaving because reasons...]
_seanc_ has quit [Quit: _seanc_]
Thomas-0725 has joined #ruby
wldcordeiro has joined #ruby
Lovich has joined #ruby
<Lovich> hey guys
<Lovich> i need help
Kallis has quit [Read error: Connection reset by peer]
<apeiros> hi Lovich
segv is now known as ligature
<apeiros> what do you need help with?
<shevy> loooovich
momomomomo has joined #ruby
<shevy> you caught us red handed here, now we have to know
jonee has quit [Remote host closed the connection]
baweaver has joined #ruby
<yorickpeterse> ok lets see
<yorickpeterse> ?ask
<ruboto> Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
<yorickpeterse> ?guys
<ruboto> Though inclusion was probably intended, not everyone relates to being "one of the guys". Maybe consider using "folks", "all", "y'all", or "everyone" instead?
<yorickpeterse> : D
<yorickpeterse> ?yorickpeterse
<ruboto> I don't know anything about yorickpeterse
<yorickpeterse> dang it
hololeap has joined #ruby
akosednar has quit [Read error: Connection reset by peer]
casadei has quit [Remote host closed the connection]
<jhass> I think we can do something about that, I'm just uncreative
<apeiros> somebody is still available.
<apeiros> someone probably too
<shevy> nobody died
<apeiros> shevy: what? I'm alive and well!
<shevy> I thought you were somebody!
<apeiros> ?apeiros
<ruboto> apeiros is nobody. They're one of the four people with founders access in the #ruby channel, owner of ruboto the channel bot and ruby-community.com the companion website for the #ruby channel
<shevy> oh damn
<apeiros> mistaaaake! :D
<shevy> then jhass was somebody
<jhass> ?jhass
<ruboto> jhass is anybody. They're a member of the op staff in #ruby, contributor to ruboto and ruby-community.com
<apeiros> ?jhass
<ruboto> jhass is anybody. They're a member of the op staff in #ruby, contributor to ruboto and ruby-community.com
<shevy> lol
<adaedra> ?shevy
<ruboto> I don't know anything about shevy
<adaedra> no one does
mandarinkin has joined #ruby
<al2o3-cr> lol
<apeiros> true
howdoico1 has quit [Ping timeout: 240 seconds]
<al2o3-cr> shevy's like a dog in the fog
jobewan has quit [Ping timeout: 255 seconds]
angrywombat has joined #ruby
drewo has quit [Quit: WeeChat 1.2]
howdoico1 has joined #ruby
kirun has joined #ruby
<shevy> I am the hound of baskerville!
Torrieri has quit [Quit: Be back later ...]
<miah> woof
<apeiros> !fact add shevy shevy is the hound of baskerville
<ruboto> apeiros, I will remember that shevy is shevy is the hound of baskerville
<baweaver> I am beaver
<apeiros> I wonder whether anybody is in #ruby & #ruby-lang longer than shevy
baroquebobcat has quit [Quit: baroquebobcat]
<shevy> baweaver I think we had some other coding animal here lately...
<Lovich> so none of you guys want to help?
<shevy> lol
<Scriptonaut> are there any special chars inside a case statement to refer to the match you pass to case?
baroquebobcat has joined #ruby
<jhass> Lovich: you didn't read the facts
<yorickpeterse> Lovich: see above, just ask your question
<shevy> Lovich you'll never say what your problem is right?
<apeiros> 20:20 apeiros: what do you need help with?
<Scriptonaut> like: case x, then $_ returns x or something
<apeiros> Lovich: can't help you if you don't read.
<[spoiler]> yorickpeterse: your way is better, less iterations :)
<Lovich> whoa you guys need to relax man
<apeiros> Scriptonaut: nope
<shevy> Scriptonaut hmm no, $_ is already reserved I think
<Scriptonaut> ah man
<Scriptonaut> alright thanks
<[spoiler]> yorickpeterse: but you're right, to_sentence wouldn't capitalise the words
<jhass> Scriptonaut: case x when y calls y === x
decaff has joined #ruby
<apeiros> Scriptonaut: case expr; when cond # is evaluated as cond === expr
avitzurel has joined #ruby
<Scriptonaut> ya
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
<Scriptonaut> I was hoping it was bound to some variable
<Scriptonaut> automatically
<Scriptonaut> like in a regex
<jhass> so you can write something for y that responds to === and does whatever with x
<apeiros> if you need an explicit reference, then you'll have to use multiple statements
<baweaver> $LAST_READ_LINE
<baweaver> shevy: ^
<shevy> Scriptonaut I'd love for case structures to yield us more information; last evaluated context, main alias key, secondary alias keys e. g. when 'a','b','c' 'a' would be the main one as it would come first
Lovich has left #ruby [#ruby]
<shevy> the usual answer when it comes to case/when I get is "use a hash" instead, but I love case way too much to use a hash <3
<Scriptonaut> agreed
<shevy> baweaver oh
AlphaAtom has joined #ruby
<shevy> I can't remember those $ short ones :(
<[spoiler]> shevy: what do you mean use hashes? :o
djbkd has quit [Quit: My people need me...]
<apeiros> seems lovich didn't need help after all
<baweaver> shevy: me either, I actively avoid memorizing them
<jhass> what a surprise
yardenbar has quit [Remote host closed the connection]
spinagon has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mandarinkin has quit [Ping timeout: 272 seconds]
<baweaver> bad habits from early coding in perl I'd rather leave burried.
<shevy> [spoiler] I dunno, I got told to use a hash several times on the mailing list when I wanted something such as aliased-keys; what I did instead was to try to write a case/when parser instead, but it's not a good implementation since I am lazy
decaff has quit [Remote host closed the connection]
<baweaver> For what type of usecase?
<[spoiler]> shevy: but used where?
casadei_ has joined #ruby
<shevy> [spoiler] I think I wanted tab-completion in readline
kadoppe has quit [Ping timeout: 244 seconds]
<[spoiler]> Ah
josh3 has quit [Ping timeout: 265 seconds]
lwu has quit [Quit: This computer has gone to sleep]
<drbrain> abbrev is great for tab-completion with readline
lwu has joined #ruby
leafybasil has quit [Remote host closed the connection]
AlphaAtom has quit [Max SendQ exceeded]
kadoppe has joined #ruby
chinmay_dd has quit [Ping timeout: 246 seconds]
chinmay_dd_ has joined #ruby
djbkd has joined #ruby
dr3w has joined #ruby
roolo has joined #ruby
ledestin has joined #ruby
spleen has joined #ruby
jobewan has joined #ruby
tkuchiki has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
bruno- has joined #ruby
michael_mbp has quit [Excess Flood]
spleen has left #ruby [#ruby]
quimrstorres has quit [Remote host closed the connection]
josh3 has joined #ruby
howdoico1 has quit [Ping timeout: 246 seconds]
snockerton has left #ruby [#ruby]
dionysus69 has quit [Remote host closed the connection]
_blizzy_ has joined #ruby
michael_mbp has joined #ruby
khebbie has joined #ruby
dcunit3d has quit [Quit: WeeChat 1.0]
momomomomo_ has joined #ruby
momomomomo has quit [Ping timeout: 252 seconds]
momomomomo_ is now known as momomomomo
soc42 has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
JoshL has quit []
_blizzy_ has quit [Read error: Connection reset by peer]
bodgix has quit [Quit: Leaving.]
qubitz has quit [Quit: Lost terminal]
EllisTAA has quit [Quit: EllisTAA]
baweaver has quit [Remote host closed the connection]
_blizzy_ has joined #ruby
chinmay_dd_ has quit [Ping timeout: 250 seconds]
icarus has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
Trynemjoel has joined #ruby
moted has quit [Ping timeout: 260 seconds]
<[spoiler]> ./awat
khebbie has quit [Remote host closed the connection]
markserver has quit [Ping timeout: 246 seconds]
khebbie has joined #ruby
dc has quit [Remote host closed the connection]
dling has quit [Ping timeout: 246 seconds]
linuxboytoo has quit [Remote host closed the connection]
lannonbr has joined #ruby
lannonbr has quit [Client Quit]
Tamae has joined #ruby
linuxboytoo has joined #ruby
jtdoncas has joined #ruby
DroidBurgundy has quit []
diegoviola has joined #ruby
juanpablo__ has joined #ruby
davedev2_ has quit [Ping timeout: 246 seconds]
davedev24 has joined #ruby
gambl0re has quit [Remote host closed the connection]
gambl0re has joined #ruby
arooni-mobile has joined #ruby
khebbie has quit [Remote host closed the connection]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
icarus has quit [Quit: Lost terminal]
<shevy> awat?
centrx has quit [Remote host closed the connection]
centrx has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
linuxboytoo has quit [Ping timeout: 246 seconds]
tomphp has joined #ruby
jenrzzz has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<miah> s/t/y
Trynemjoel has joined #ruby
mary5030 has joined #ruby
ub has joined #ruby
ub has left #ruby ["Konversation terminated!"]
arooni-mobile__ has joined #ruby
lannonbr has joined #ruby
juanpablo__ has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
malconis_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has joined #ruby
mary5030 has joined #ruby
malconis has joined #ruby
swgillespie has joined #ruby
<shevy> miah, slayer of typos!
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
jtdoncas has quit [Ping timeout: 260 seconds]
Trynemjoel has quit [Ping timeout: 245 seconds]
hahuang61 has quit [Ping timeout: 260 seconds]
swgillespie has quit [Client Quit]
bronson has quit [Ping timeout: 240 seconds]
axl_ has joined #ruby
yfeldblum has joined #ruby
lguardiola has quit [Ping timeout: 264 seconds]
avitzurel has quit [Remote host closed the connection]
swgillespie has joined #ruby
Trynemjoel has joined #ruby
sirecote has quit [Ping timeout: 264 seconds]
amclain has joined #ruby
shmilan has joined #ruby
Musashi007 has joined #ruby
<[spoiler]> miah: thanks :)
arooni-mobile has quit [Quit: Leaving]
kies has quit [Ping timeout: 240 seconds]
jerius has quit [Quit: /quit]
hashrocket has joined #ruby
gambl0re has quit [Remote host closed the connection]
jerius has joined #ruby
pyon has quit [Ping timeout: 244 seconds]
scripore has quit [Quit: This computer has gone to sleep]
gambl0re has joined #ruby
scripore has joined #ruby
jschmid has joined #ruby
angrywombat has left #ruby ["WeeChat 1.2"]
troulouliou_div2 has joined #ruby
polpak has quit [Quit: leaving]
troulouliou_div2 has quit [Max SendQ exceeded]
mesamoo has joined #ruby
dc has joined #ruby
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
icarus has joined #ruby
n_blownapart has joined #ruby
zanloy has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
KramerC has joined #ruby
ascarter has joined #ruby
pragmati_ has joined #ruby
scripore has quit [Client Quit]
phutchins has quit [Ping timeout: 246 seconds]
phutchins1 has quit [Ping timeout: 256 seconds]
tercenya_ is now known as tercenya
bruno- has quit [Ping timeout: 250 seconds]
scripore has joined #ruby
yardenbar has joined #ruby
tuxero has quit [Quit: tuxero]
momomomomo has quit [Quit: momomomomo]
Zeroe has quit [Quit: Zeroe]
mkmcdonald has joined #ruby
Guest50 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulcsmith has joined #ruby
dfockler has quit [Remote host closed the connection]
<mkmcdonald> Hi, I am encountering a puzzling problem with RSpec. Running it, when no tests exist, leads to this error:
<mkmcdonald> > /var/lib/gems/2.1.0/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb:644:in `block in expect_with': uninitialized constant RSpec::Expectations::MultipleExpectationsNotMetError (NameError)
kristian_on_linu has quit [Quit: Leaving]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mkmcdonald> Line 644 of configuration.rb is trying to access `::RSpec`
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<postmodern> what's the correct way to configure rdoc, via the rake task or .rdoc_options ?
tomphp has joined #ruby
shock_one has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
chabil has joined #ruby
tkuchiki has quit [Remote host closed the connection]
malcolmva has quit [Ping timeout: 255 seconds]
hydrozen has joined #ruby
dr3w has quit [Ping timeout: 246 seconds]
thiagovsk has quit [Quit: Connection closed for inactivity]
hinbody has quit [Quit: Lost terminal]
basmoura has quit [Ping timeout: 240 seconds]
n_blownapart has quit [Remote host closed the connection]
NeverDie has joined #ruby
<waxjar> .rdoc_options, imo. no need for rake, right?
chichouw has joined #ruby
hazelux has quit [Remote host closed the connection]
rubie has quit [Remote host closed the connection]
baweaver has joined #ruby
<postmodern> waxjar, well it would work with the rake task and the rdoc command
chichou has quit [Ping timeout: 240 seconds]
coban2k_ has quit [Remote host closed the connection]
rubie has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<postmodern> although .rdoc_options is YAML, which is kind of weird
pragmatism has quit [Quit: Connection.close!]
hazelux has joined #ruby
pragmati_ is now known as pragmatism
Guest50 has joined #ruby
DelDotB has quit [Quit: DelDotB]
pragmatism has quit [Quit: Textual IRC Client: www.textualapp.com]
pragmatism has joined #ruby
TheNet has joined #ruby
chichouw has quit [Remote host closed the connection]
C1V0 has joined #ruby
mleung has quit [Quit: mleung]
clarkenciel has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
ascarter has joined #ruby
<jhack> Hey, im having trouble retrieving my data from YAML file and returning it into my arrays
<postmodern> jhack, first off, use File.open(...) { |file| YAML.dump(data,file) }
<postmodern> jhack, that will ensure the file gets closed
veonik has left #ruby [#ruby]
<postmodern> jhack, also use YAML.load_file()
DroidBurgundy has joined #ruby
malcolmva has joined #ruby
<postmodern> jhack, and remember to store or merge the data into a variable, otherwise it will get GCed
<apeiros> um, just File.write(path, data.to_yaml)
howdoico1 has joined #ruby
<postmodern> or that
<shevy> for a moment I thought jhass was asking a question
linuxboytoo has joined #ruby
baweaver has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
DLSteve has joined #ruby
<jhack> apeiros: so File.write would be for my save_game method right?
Mon_Ouie has quit [Ping timeout: 244 seconds]
<apeiros> playing hearthstone atm, so couldn't look at your gist, sorry. but presumably yes
shock_one has quit [Remote host closed the connection]
kies has joined #ruby
AlexRussia has quit [Ping timeout: 260 seconds]
<[spoiler]> shevy: jhass isn't allowed to ask question
<jhass> why not?
<[spoiler]> jhass: go to your corner!
Jackneill has joined #ruby
<jhass> where's that?
<ashleyhindle> :(
<[spoiler]> LOL
shmilan has quit [Ping timeout: 256 seconds]
<autofsckk> /j archlinux-es
nertzy has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
s2013 has joined #ruby
nertzy has quit [Client Quit]
<jhack> I still can't seem to retrieve the data and store into my arrays :x
mary5030_ has joined #ruby
mary5030_ has quit [Remote host closed the connection]
mary5030_ has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
epistrephein has joined #ruby
shmilan has joined #ruby
<jhack> Should i be using YAML::load(filename) to get the data?
dfockler has joined #ruby
yqt has joined #ruby
scripore has joined #ruby
avitzurel has joined #ruby
josh3 has quit [Ping timeout: 244 seconds]
rbowlby has joined #ruby
skinofstars has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
epistrephein has quit [Max SendQ exceeded]
blue_deref has quit [Quit: bbn]
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
mary5030_ has quit [Ping timeout: 240 seconds]
<apeiros> jhack: I think somebody just told you to use YAML.load_file
<apeiros> YAML.load works with a string containing yaml data, not a path.
nhhagen has joined #ruby
scripore has quit [Client Quit]
rcvalle has quit [Quit: rcvalle]
dc has quit []
swgillespie has joined #ruby
josh3 has joined #ruby
avitzurel has quit [Client Quit]
TheNet has quit [Remote host closed the connection]
nertzy has joined #ruby
iateadonut has quit [Quit: Leaving.]
TheNet has joined #ruby
kidoz has joined #ruby
tonios57 has joined #ruby
Mon_Ouie has joined #ruby
n_blownapart has joined #ruby
atomical has quit [Ping timeout: 255 seconds]
atomical has joined #ruby
clarkenciel has joined #ruby
clarkenciel has joined #ruby
_clarkenciel has joined #ruby
startupality has joined #ruby
_clarkenciel has quit [Client Quit]
Guest50 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
woobywoob has quit [Ping timeout: 246 seconds]
jschmid has quit [Ping timeout: 265 seconds]
atomical_ has joined #ruby
umgrosscol has quit [Remote host closed the connection]
<jhack> I'm using YAML.load_file, I'm trying to replace my applications empty array (starting arrays) with the arrays located inside the YAML file. aperios
startupality has quit [Client Quit]
kies has quit [Ping timeout: 272 seconds]
rcvalle has joined #ruby
coban2k has joined #ruby
atomical has quit [Ping timeout: 255 seconds]
gard has joined #ruby
scripore has joined #ruby
<apeiros> ?tabnick jhack
<ruboto> jhack, pro-tip - use tab completion for nicks. avoids typos in nicks.
_seanc_ has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
hazelux has quit []
<apeiros> jhack: is this up to date then? https://gist.github.com/jhack32/f6de20cfd1363d4e241f
malconis_ has joined #ruby
<apeiros> because line 22 there reads YAML.load(yaml.to_yaml), which is wrong in two ways
malconis has quit [Ping timeout: 244 seconds]
<jhack> I just updated it
diegoviola has quit [Quit: WeeChat 1.2]
yqt has quit [Read error: Connection reset by peer]
blueOxigen has quit [Remote host closed the connection]
bluOxigen has joined #ruby
gambl0re has quit [Remote host closed the connection]
howdoico1 has quit [Ping timeout: 245 seconds]
<BraddPitt> besides using `nohup` is there a way I can run a ruby script in the background?
<BraddPitt> oh can I just do `nohub ruby ruby_script.rb &` ?
bruno- has joined #ruby
crazydiamond has joined #ruby
<ccooke> BraddPitt: fork() is your friend
wldcordeiro has quit [Quit: Leaving because reasons...]
josh3 has quit [Ping timeout: 260 seconds]
Guest50 has joined #ruby
wldcordeiro has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sirecote has joined #ruby
<BraddPitt> thanks mate
fmcgeough has quit [Quit: fmcgeough]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
<jhack> apeiros: I ound a solution, YAML.load_file(yaml).guess
<jhack> found*
<jhass> BraddPitt: you could Process.daemon, but http://www.mikeperham.com/2014/09/22/dont-daemonize-your-daemons/
rbennacer has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 255 seconds]
sdwrage has joined #ruby
<[spoiler]> apeiros: I actually read your name as "aperios" sometimes, even though I know it's apeiros
<BraddPitt> so
<BraddPitt> rvnm, chrbuh or rbenv?
<[spoiler]> not sure why
<[spoiler]> BraddPitt: rvm, personally because gemsets
rbennacer has joined #ruby
NeverDie has quit [Max SendQ exceeded]
rbennacer has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jhass> bundler replaced any need for gemsets for me
<[spoiler]> jhass: hmm, indeed
rbennacer has joined #ruby
<[spoiler]> I actually rarely use gemsets
<jhass> so I chruby between system packages
dr3w has joined #ruby
kaps has joined #ruby
Torrieri has joined #ruby
Torrieri has joined #ruby
Pupeno has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
unver has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
ndrei has joined #ruby
rbennacer has joined #ruby
graft has quit [Ping timeout: 246 seconds]
<[spoiler]> BraddPitt: best thing would be to use ruby-install + chruby
_seanc_ has quit [Quit: _seanc_]
jbw has quit [Ping timeout: 252 seconds]
Pupeno has joined #ruby
<BraddPitt> oh
<BraddPitt> well
<BraddPitt> i just installed rben
<BraddPitt> v
<havenwood> BraddPitt: chruby!
<BraddPitt> ahaha
<BraddPitt> oops
jbw has joined #ruby
<TomyLobo> >> /foo/.to_s # is there a way to get something more resembling "foo" back?
<ruboto> TomyLobo # => "(?-mix:foo)" (https://eval.in/416475)
<jhass> rbenv is the worst :P
<BraddPitt> why
dr3w has quit [Ping timeout: 260 seconds]
<jhass> TomyLobo: seems like a broken usecase
scripore has quit [Quit: This computer has gone to sleep]
<TomyLobo> maybe i'm superstitious :)
Torrieri has quit [Ping timeout: 252 seconds]
scripore has joined #ruby
<[spoiler]> TomyLobo: erm the problem is, what will to_s return exactly?
<[spoiler]> It's ambiguous
<jhass> TomyLobo: so before we even think about the how, enlighten us on the how
<[spoiler]> You can use Regexp#inspect I guess
<jhass> er, why
andersh has joined #ruby
<[spoiler]> &ri Regexp#inspect
juanpablo__ has joined #ruby
<TomyLobo> >> /foo/.inspect[1..-2] # how about this? :)
<ruboto> TomyLobo # => "foo" (https://eval.in/416476)
northfurr has joined #ruby
revoohc has quit [Quit: revoohc]
mleung has joined #ruby
ascarter has joined #ruby
<jhass> TomyLobo: seriously, why?
ascarter has quit [Max SendQ exceeded]
TheNet has quit [Quit: Leaving...]
<TomyLobo> jhass, i want to interpolate this into a larger regex
ascarter has joined #ruby
diego3 has joined #ruby
<[spoiler]> jhass: there is actually a method for that
<[spoiler]> Regecp#union
<jhass> TomyLobo: you can do that just fine
<[spoiler]> TomyLobo, not jhass sorry
autofsckk has quit [Remote host closed the connection]
yqt has joined #ruby
<jhass> >> /foo #{/bar/}/
<ruboto> jhass # => /foo (?-mix:bar)/ (https://eval.in/416477)
<[spoiler]> &ri Regexp#union
<`derpy> No results
<[spoiler]> eh
DroidBurgundy has quit []
<jhass> >> /foo #{/bar/}/.match "foo bar"
<ruboto> jhass # => #<MatchData "foo bar"> (https://eval.in/416478)
<[spoiler]> &ri Regexp::union
<`derpy> No results
<al2o3-cr> &ri Rexexp.union
<`derpy> No results
juanpablo__ has quit [Ping timeout: 240 seconds]
* [spoiler] googles
diego3 is now known as diegoviola
<TomyLobo> jhass, yeah i know it, i told you, superstition :)
yh has joined #ruby
<al2o3-cr> `derpy: is having a moment :)
NeverDie has joined #ruby
<[spoiler]> >> Regexp::union(/foo/, /bar/, /baz/)
<ruboto> [spoiler] # => /(?-mix:foo)|(?-mix:bar)|(?-mix:baz)/ (https://eval.in/416479)
millerti has joined #ruby
wldcordeiro__ has joined #ruby
saddad has quit [Ping timeout: 272 seconds]
<jhass> TomyLobo: get over it then, don't to_s, don't inspect, just interpolate the Regexp object into another one
<[spoiler]> or, if you want it to look nicer...
<[spoiler]> >> Regexp::union(/foo/, /bar/, /baz/).inspect
<ruboto> [spoiler] # => "/(?-mix:foo)|(?-mix:bar)|(?-mix:baz)/" (https://eval.in/416480)
<[spoiler]> ok nvm
<[spoiler]> LOL
<Scriptonaut> Can you not pass .first a block?
josh3 has joined #ruby
<Scriptonaut> I swear you used to be able to
<jhass> Scriptonaut: explain with code
wldcordeiro has quit [Read error: Connection reset by peer]
<[spoiler]> Scriptonaut: no, what would the block do?
<Scriptonaut> >> [1, 2, 3, 4].first { |s| s == 4 }
<ruboto> Scriptonaut # => 1 (https://eval.in/416481)
<Scriptonaut> return the first instance
<Scriptonaut> like select
<Scriptonaut> but returns just one object
<jhass> Scriptonaut: you're searching for find
<[spoiler]> Scriptonaut: detect
<Scriptonaut> [1, 2, 3, 4].find { |s| s == 4 }
<[spoiler]> &ri Enumerable#detect
<Scriptonaut> >> [1, 2, 3, 4].find { |s| s == 4 }
<ruboto> Scriptonaut # => 4 (https://eval.in/416482)
<Scriptonaut> what's better detect or find
<[spoiler]> they're the same
tonios57 has quit [Quit: Textual IRC Client: www.textualapp.com]
<baweaver> they're the same
tmillc has joined #ruby
<Scriptonaut> ah, ty
<Uuku> hey gaiz, i'm looking for resources to learn ruby without starting from the bottom (like 'hello world' kinda stuff), but more simplified than just the docs
<baweaver> but find is clearer on intention
<tmillc> what is happening with m << n, where m,n are ints?
<baweaver> at least in my opinion
gard has quit [Ping timeout: 255 seconds]
<jhass> Uuku: what's your background?
<baweaver> bit shift
DelDotB has joined #ruby
<[spoiler]> tmillc: left shit
<baweaver> tmillc look at the integer docs to see it
<[spoiler]> shift
jbw has quit [Ping timeout: 240 seconds]
<tmillc> okay thanks
<[spoiler]> baweaver: I actually think finder is nicer (most of the time), too. I am never sure if it's #search or #find though
<baweaver> that assumes you have programming knowledge though.
northfurr has quit [Quit: northfurr]
josh4 has joined #ruby
jbw has joined #ruby
<[spoiler]> baweaver: and I know #detect is the same as one of those :P
dopie has quit [Quit: This computer has gone to sleep]
<[spoiler]> find is nicer*
bluOxigen has quit [Read error: Connection reset by peer]
_ht has quit [Quit: Konversation terminated!]
<baweaver> I know from using Ruby way too much.
michaeldeol has joined #ruby
tmillc has quit [Client Quit]
josh3 has quit [Ping timeout: 264 seconds]
<[spoiler]> baweaver: I wish I used it more :(
_seanc_ has joined #ruby
wallerdev has joined #ruby
Musashi007 has joined #ruby
dr3w has joined #ruby
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
northfurr has joined #ruby
malconis has joined #ruby
malconis_ has quit [Read error: Connection reset by peer]
northfurr has quit [Client Quit]
deol has joined #ruby
tvw has joined #ruby
michaeldeol has quit [Ping timeout: 250 seconds]
kies has joined #ruby
sarkyniin has joined #ruby
Ox0dea has joined #ruby
RickHull has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
<RickHull> ljarvis: what do you think about adding my usage method in slop_usage.rb? https://gist.github.com/rickhull/4bcbc7debbcaf7e635ff
zenspider has quit [Remote host closed the connection]
omegamike has quit [Remote host closed the connection]
atomical_ has quit [Ping timeout: 255 seconds]
scripore has quit [Client Quit]
jerius has quit [Quit: /quit]
scripore has joined #ruby
scripore has quit [Client Quit]
scripore has joined #ruby
jschmid has joined #ruby
bmurt has quit []
hololeap has quit [Ping timeout: 246 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tercenya has left #ruby [#ruby]
<TomyLobo> constraint = @hash[:constraints][sym] or /[^\/]*/ # is there a way to account for @hash[:constraints] being nil without writing a whole poem around it?
hahuang61 has joined #ruby
jenrzzz_ has joined #ruby
<jhass> .fetch with a block
LMity has joined #ruby
<jhass> er, nope nvm that, brainfart
<jhass> AS/Rails?
gamename has joined #ruby
baweaver has quit [Remote host closed the connection]
malconis has quit [Remote host closed the connection]
<[spoiler]> TomyLobo: not really
<jhass> well, I mean you can .fetch(:constraints, {}) but it's not very efficient
malconis has joined #ruby
BobbyPinfold has joined #ruby
Torrieri has joined #ruby
Torrieri has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
andersh has quit [Quit: (null)]
andersh has joined #ruby
<[spoiler]> TomyLobo: what would happen if there was no :constraint key?
<[spoiler]> It's a NPE, pretty much
<[spoiler]> You need to test for it
<TomyLobo> undefined method `[]', wild guess
shmilan has quit [Ping timeout: 245 seconds]
Musashi007 has quit [Quit: Musashi007]
ruby-lang653 has joined #ruby
<[spoiler]> TomyLobo: Ok, what would you *like* to when someone calls `@hash[:constraint]` and there's no key?
wldcordeiro__ has quit [Read error: Connection reset by peer]
howdoico1 has joined #ruby
<[spoiler]> I phrased the question badly before
northfurr has joined #ruby
chichou has joined #ruby
wldcordeiro has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
<skinofstars> hi, don't suppose anyone can remember where the original rack introduction blog post is? my google foo fails me
NeverDie has quit [Max SendQ exceeded]
wldcordeiro has quit [Client Quit]
<skinofstars> urgh, got it
wldcordeiro has joined #ruby
hahuang61 has quit [Ping timeout: 265 seconds]
<TomyLobo> zip = lottery.drawWinner?().address?.zipcode <-- from the coffeescript examples on coffeescript.org. i guess i'm looking for that
<TomyLobo> existential operator they call it
leafybasil has joined #ruby
northfurr has quit [Client Quit]
shmilan has joined #ruby
<bricker> TomyLobo: closest thing is try() from ActiveSupport
<TomyLobo> hrm
<bricker> TomyLobo: you could also copy and paste the code from try() into your own app, it's a very simple method
<TomyLobo> ok so as usual, there is that thing i'm looking for, but not without adding a bunch of libraries :)
<BobbyPinfold> Question: any of you guys ever use a cross-platform dev framework?
LMity has quit [Ping timeout: 256 seconds]
<TomyLobo> hmm
NeverDie has joined #ruby
<chichou> what do you call dev framework?
<TomyLobo> BobbyPinfold, oh i'd love that too. not having autocomplete is killing me
hahuang61 has joined #ruby
<centrx> a chicken salad?
<BobbyPinfold> "What do I call dev framework"
<chichou> IDE you mean?
<BobbyPinfold> I call a dev framework a dev framework.
ruby-lang653 has quit [Ping timeout: 246 seconds]
<BobbyPinfold> Altova and AppMethod are examples
saddad has joined #ruby
DCameronMauch has joined #ruby
rubie has quit [Remote host closed the connection]
momomomomo has joined #ruby
Guest50 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<[spoiler]> TomyLobo: the quivalent of the existential operator in ruby is this: `constraint = ( tmp = @hash[:constraints]).nil? nil : tmp[sym]` I guess
<[spoiler]> oh
<[spoiler]> sorry
<[spoiler]> lol
<[spoiler]> it's wrong
<[spoiler]> I forgot a ?
<[spoiler]> right after nil?
Guest50 has joined #ruby
BraddPitt has quit [Quit: Lost terminal]
gamename has quit []
BraddPitt has joined #ruby
<chichou> used haxe a bit
ldnunes has quit [Quit: Leaving]
rubie has joined #ruby
gwendall has joined #ruby
olistik has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
EllisTAA has joined #ruby
yh has quit [Ping timeout: 260 seconds]
yardenbar has quit [Quit: Leaving]
scripore has quit [Quit: This computer has gone to sleep]
<weaksauce> has anyone gotten rubymine to work with chruby?
jbw has quit [Ping timeout: 256 seconds]
michaeldeol has joined #ruby
whippythellama has quit [Quit: WeeChat 1.2]
chabil has quit [Quit: WeeChat 1.2]
yh has joined #ruby
FernandoBasso has joined #ruby
jenrzzz has joined #ruby
michaeldeol has quit [Client Quit]
duggiefresh has quit []
startupality has joined #ruby
jbw has joined #ruby
deol has quit [Ping timeout: 250 seconds]
zenspider has joined #ruby
baweaver has joined #ruby
michaeldeol has joined #ruby
BobbyPinfold has quit [Ping timeout: 246 seconds]
andersh_ has joined #ruby
frozen3 has quit [Remote host closed the connection]
andersh_ has quit [Client Quit]
ramfjord has quit [Ping timeout: 260 seconds]
swgillespie has joined #ruby
Nieralyte has joined #ruby
alfajor has joined #ruby
alfajor is now known as Kalov
mesamoo has quit [Quit: Konversation terminated!]
<postmodern> weaksauce, easiest way is to start it from the command-line
ramfjord has joined #ruby
kaps has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
jgpawletko has quit [Quit: jgpawletko]
mrtg9970 has joined #ruby
<weaksauce> hm I tried that and it didn't work. postmodern
renderfu_ has quit [Remote host closed the connection]
renderful has joined #ruby
baweaver has joined #ruby
phutchins has joined #ruby
phutchins1 has joined #ruby
<weaksauce> actually it might be working now. i deleted the remnants of the old rvm install and it doesn't complain at least
jenrzzz has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
EllisTAA has quit [Quit: EllisTAA]
Guest50 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zendrix has joined #ruby
Musashi007 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
NeverDie has quit [Max SendQ exceeded]
EllisTAA has joined #ruby
olistik has quit [Remote host closed the connection]
<[spoiler]> back
<[spoiler]> my cat got sick :/
howdoico1 has quit [Ping timeout: 256 seconds]
<zenspider> shouldn't feed the cat pigeons
Meow-J has quit [Quit: Connection closed for inactivity]
baweaver has quit [Remote host closed the connection]
<zenspider> if there were any words I could ban from this channel it'd be all variants of "it didn't work"
TheNet has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dfockler> my pigeons got sick :?
<apeiros> zenspider: that wouldn't work :o)
<shevy> [spoiler] how can you determine this?
rbennacer has joined #ruby
<adaedra> This solution didn't have the expected effect.
<dfockler> at least that sounds more refined
<[spoiler]> shevy: determine what? :o
<shevy> [spoiler] that the cat is sick
<[spoiler]> shevy: From his behaviour. He's probably having a reaction to the vaccination
<adaedra> shevy: cat owners know these things.
<[spoiler]> TomyLobo: you can implement something like this quite trivially btw
hashrocket has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
<adaedra> I'm afraid I have to inform you that your appreciated efforts to solve my current problem did not lead to a resolution.
<adaedra> ... I'll stop here.
jschmid has quit [Ping timeout: 245 seconds]
<[spoiler]> adaedra: huh
nerio has quit [Ping timeout: 246 seconds]
sshuff is now known as sshuff|gone
<[spoiler]> TomyLobo: this is probably a lame-ish implementation: https://gist.github.com/omninonsense/02a3b6bca599c40f8640
cornerma1 has joined #ruby
DCameronMauch has quit [Quit: Leaving...]
m8 has quit [Quit: Sto andando via]
<[spoiler]> use as @hash.chain_keys *%i{dem nested keys}
baweaver has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
jenrzzz has joined #ruby
mkmcdonald has left #ruby ["Leaving"]
cornerman has quit [Ping timeout: 246 seconds]
yqt has quit [Ping timeout: 245 seconds]
arooni-mobile__ has left #ruby ["Leaving"]
cornerma1 is now known as cornerman
woodruffw has quit [Quit: And then he took off.]
woodruffw has joined #ruby
jgpawletko has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
jgpawletko has quit [Client Quit]
<weaksauce> postmodern do you use the debugging feature of rubymine for rails? it seems impressively slow.
rbennacer has quit [Remote host closed the connection]
hashrocket has joined #ruby
<centrx> Impressive
<[spoiler]> weaksauce: what did you expect? It's ruby, and it's debugging overhead :P
<[spoiler]> centrx: Yeah, I wouldn't use "impressively" to describe something bad either
<weaksauce> well a simple page change takes 15 seconds. i expect a fair bit faster than that
bruno- has joined #ruby
<[spoiler]> weaksauce: hmm ok that *does* seem over the top
<[spoiler]> what are your resources and which implementation are you using?
<centrx> [spoiler], oh it can be impressive: http://thedailywtf.com/
<TomyLobo> [spoiler], i went with "constraint = (@hash[:constraints].to_h[sym] or /[^\/]*/)"
howdoico1 has joined #ruby
pocketprotector has quit [Quit: WeeChat 0.4.3]
startupality has quit [Quit: startupality]
pocketprotector has joined #ruby
decoponyo has quit [Quit: Leaving...]
NeverDie has joined #ruby
<weaksauce> [spoiler] what do you mean by resources? my computer is a mbp i7 with 16gigs of ram. when just running the server by itself normally it's less than a second to render a page change like these
<[spoiler]> TomyLobo: oh clever! I didn't think of calling NilClass#to_h
patrick_star has joined #ruby
<[spoiler]> hmm
Kallis has joined #ruby
<[spoiler]> I am not sure then...
<[spoiler]> I am not that familiar with rubymine to be able to help, sorry
Kallis has quit [Max SendQ exceeded]
troulouliou_div2 has joined #ruby
chichou has quit []
hashrocket has quit [Read error: Connection reset by peer]
Kallis has joined #ruby
but3k4_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrtg9970 has quit [Quit: Leaving]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dr3w has quit [Ping timeout: 250 seconds]
cpruitt has quit [Quit: cpruitt]
<[spoiler]> centrx: lol I love the error'd category
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
victortyau has quit [Quit: Leaving]
tomphp has joined #ruby
gheegh has quit [Ping timeout: 260 seconds]
<TomyLobo> [spoiler], took me a while to figure out why "constraint = @hash[:constraints].to_h[sym] or /[^\/]*/" didnt work like "constraint = (@hash[:constraints].to_h[sym] or /[^\/]*/)"
linuxboytoo has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TomyLobo> or let's say, took me a while THAT it doesnt. i still have no idea *why* the order of precedence would be so messed up
Azure has quit [Quit: Oops.]
webhat has quit [Quit: No Ping reply in 180 seconds.]
zendrix has quit []
<TomyLobo> +to find out
ekleog_ has joined #ruby
zenspider has quit [Quit: bye]
AustinMatherne has quit [Ping timeout: 272 seconds]
ekleog has quit [Ping timeout: 272 seconds]
webhat has joined #ruby
Rickmasta has joined #ruby
diegoviola has quit [Quit: WeeChat 1.2]
Kallis has quit [Ping timeout: 246 seconds]
Kallis has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
tubulife- has joined #ruby
rbowlby has quit [Remote host closed the connection]
<[spoiler]> TomyLobo: it isn't messed up
kies has quit [Ping timeout: 250 seconds]
<TomyLobo> >> foo = nil or 5; foo
Azure has joined #ruby
<ruboto> TomyLobo # => nil (https://eval.in/416489)
Musashi007 has quit [Quit: Musashi007]
<TomyLobo> [spoiler], do you stand by your words? :)
rbowlby_ has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
<[spoiler]> yes
Coldblackice has joined #ruby
cohiijay has joined #ruby
renderful has quit [Remote host closed the connection]
renderful has joined #ruby
<[spoiler]> TomyLobo: that's because it is interpreted as (foo = nil) or 5
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<[spoiler]> which is expected
wallerdev has joined #ruby
<TomyLobo> >> foo = true or false; puts foo; foo = false or true; foo
<ruboto> TomyLobo # => true ...check link for more (https://eval.in/416490)
<TomyLobo> [spoiler], who expects that coming to ruby?
zeroDivisible has joined #ruby
<baweaver> me
riotjone_ has joined #ruby
<jhass> TomyLobo: it's the difference between || and or
<baweaver> operator precedence.
rbowlby__ has joined #ruby
<[spoiler]> TomyLobo: use ||
<baweaver> avoid the english ops like that
<[spoiler]> = has higher precedence
<jhass> (and why many people avoid and/or altogether)
DoubleMalt has joined #ruby
<[spoiler]> constraint = @hash[:constraints].to_h[sym] || /[^\/]*/
<TomyLobo> there is a difference between or and || when ruby is generally full of synonyms?
jamesaxl|2 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<baweaver> the only real uses of them are for perlish type bits
<[spoiler]> TomyLobo: they're not synonyms
<baweaver> TomyLobo: yes
<baweaver> large difference
<TomyLobo> this makes no sense at all
<baweaver> it does if you know perl
roolo has quit [Remote host closed the connection]
dopie has joined #ruby
<TomyLobo> yeah who models on perl
<baweaver> if you know python it's confusing
<baweaver> ruby
loc22 has quit [Quit: Be back later ...]
rbowlby_ has quit [Ping timeout: 252 seconds]
<[spoiler]> haha, Ruby borrows a lot from perl
<baweaver> Matz wasn't joking when he said he stole all the good parts of perl
n_blownapart has quit []
<bougyman> indeed.
<baweaver> some_statement or raise 'error'
<baweaver> is normally how it'd be used
<bougyman> ruby was my perl alternative from very early on.
DLSteve has quit [Ping timeout: 244 seconds]
riotjones has quit [Ping timeout: 250 seconds]
<bougyman> I held out with awk for most things until ruby came along.
<bougyman> perl always just made me a bit sick to my stomach.
<centrx> Perl is like a maze with golden gems inside, somewhere
<[spoiler]> bougyman: I still use awk; I always used awk
<bougyman> [spoiler]: same
<baweaver> some_statemant and return foo or raise 'error'
<TomyLobo> baweaver, that's a non-use-case in a language with exception-based error handling
<bougyman> but not for full stack applications.
<bougyman> I still use awk for what awk does best.
<[spoiler]> bougyman: oh no, I didn't mean it for that
<bougyman> /33
<TomyLobo> last time i used that was in php
TheNet has quit [Remote host closed the connection]
<[spoiler]> TomyLobo: that is why they're not that commonly used
<bougyman> I did write a web server in awk way back when. and an ident server.
<[spoiler]> They have a few usecases where they're extremely useful
DelDotB has quit [Ping timeout: 256 seconds]
<[spoiler]> bougyman: oh my usage of awk is very simple; mostly for file processing
MasterPiece has quit [Quit: Leaving]
<baweaver> I wrote SQL in AWK
<[spoiler]> but a webserver in awk sounds impressive, to me :-)
<baweaver> then burned it in shame later.
pietr0_ has joined #ruby
juanpablo__ has joined #ruby
<[spoiler]> o shit It's past midnight here; I promised I'd pick up someone tomorrow morning!
DoubleMalt has quit [Ping timeout: 250 seconds]
<[spoiler]> talk to you tomorrow, me hearties! :D goodnight! <3
wookiehangover has quit [Ping timeout: 244 seconds]
mesamoo has joined #ruby
pietr0 has quit [Ping timeout: 245 seconds]
pietr0_ is now known as pietr0
allcentury has quit [Quit: WeeChat 1.2]
wasamasa has quit [Ping timeout: 264 seconds]
jobewan has quit [Ping timeout: 255 seconds]
wookiehangover has joined #ruby
pietr0 has quit [Quit: pietr0]
startupality has joined #ruby
juanpablo__ has quit [Ping timeout: 246 seconds]
Nieralyte has quit [Ping timeout: 240 seconds]
DoubleMalt has joined #ruby
Musashi007 has joined #ruby
axl_ has quit [Quit: axl_]
jpfuentes2 has quit [Ping timeout: 272 seconds]
wasamasa has joined #ruby
wasamasa has joined #ruby
startupality has quit [Ping timeout: 250 seconds]
[k- has quit [Quit: -a- IRC for Android 2.1.23]
krz has quit [Quit: WeeChat 1.2]
yfeldblu_ has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
yfeldblum has quit [Ping timeout: 246 seconds]
EllisTAA has quit [Quit: EllisTAA]
<TomyLobo> $ file mountpoint/projects/JFS/issues/JFS-1/attachments/10000/huuu-180x174.png
<TomyLobo> mountpoint/projects/JFS/issues/JFS-1/attachments/10000/huuu-180x174.png: PNG image data, 180 x 174, 8-bit gray+alpha, non-interlaced
<baweaver> ok?
<TomyLobo> jira fuse file system :)
<TomyLobo> made with rfusefs
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
* baweaver stares blankly.
<TomyLobo> now supports attachments in addition to comments
paulcsmith has joined #ruby
banister has quit [Read error: No route to host]
howdoico1 has quit [Ping timeout: 260 seconds]
Azure has quit [Quit: Oops.]
coban2k has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfockler has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
malconis has joined #ruby
malconis has quit [Client Quit]
Scriptonaut has left #ruby [#ruby]
wldcordeiro has quit [Quit: Leaving because reasons...]
wldcordeiro has joined #ruby
wldcordeiro has quit [Client Quit]
<shevy> you got the poor beaver all confused now
kirun has quit [Quit: Client exiting]
Trynemjoel has quit [Ping timeout: 250 seconds]
banister has joined #ruby
wldcordeiro has joined #ruby
tubulife- has quit [Ping timeout: 244 seconds]
wldcordeiro has quit [Read error: Connection reset by peer]
<TomyLobo> going to bed, work tomorrow :)
wldcordeiro has joined #ruby
jpfuentes2 has joined #ruby
coban2k has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
Trynemjoel has joined #ruby
havenwood has joined #ruby
hololeap has joined #ruby
imnars has joined #ruby
towski_ has joined #ruby
sepp2k has quit [Quit: Leaving.]
TomyLobo has quit [Ping timeout: 245 seconds]
zendrix has joined #ruby
tubulife- has joined #ruby
craysiii has joined #ruby
<Thomas-0725> if I need to create several million instances of a class, is it possible to save memory space by rewriting some would-be instance methods as class methods?
diegoviola has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
howdoico1 has joined #ruby
Nieralyte has joined #ruby
dr3w has joined #ruby
fibbel has joined #ruby
zendrix has quit [Read error: No route to host]
<drbrain> Thomas-0725: no, the instance methods are attached to the class
<drbrain> Thomas-0725: unless you're creating singleton methods for each instance
<centrx> Thomas-0725, I doubt it. As I recall instance methods are located in the eigenclass, one, unless they are overridden in a particular variable
zendrix has joined #ruby
<Thomas-0725> ah, that makes sense.
jackjackdripper has joined #ruby
<baweaver> better question, why are you doing that?
DoubleMalt has quit [Ping timeout: 240 seconds]
zendrix_ has joined #ruby
<baweaver> because if memory is starting to become a concern, ruby may not be the best tool depending on what exactly you're doing.
zendrix has quit [Read error: No route to host]
<centrx> boo!
zendrix has joined #ruby
<centrx> boooo!!
<Thomas-0725> it's a curiosity. I botched a search algorithm earlier and accidentally created a large number of extraneous nodes due to poor recursion.
<Thomas-0725> While in reality I didn't need that many nodes, it got me thinking ... what if I did? How could I save space? etc.
<skinofstars> does anyone know why rack's third param must be enumerable? i've only ever seen examples where it has one element
<baweaver> it's a curiosity to your curiosity then :P
freerobby has joined #ruby
decaff has joined #ruby
hydrozen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nfk has joined #ruby
decaff has quit [Client Quit]
freerobby has quit [Read error: Connection reset by peer]
<drbrain> skinofstars: it makes it easy to have a middleware attach new content to the end of another response without reallocating a string
freerobby has joined #ruby
imnars has quit [Quit: WeeChat 1.1.1]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<skinofstars> drbrain: ahh, so you can just push more content in?
<drbrain> skinofstars: yes, or wrap
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<skinofstars> drbrain: both brilliant, and something i wish i knew yesterday :)
hahuang61 has quit [Ping timeout: 244 seconds]
zendrix_ has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
cschneid_ has quit [Remote host closed the connection]
Oog has joined #ruby
benlieb has joined #ruby
C1V0 has quit []
wldcordeiro has quit [Quit: Leaving because reasons...]
hahuang65 has joined #ruby
loc22 has joined #ruby
michaeldeol has joined #ruby
<drbrain> you can also use it to avoid assembling a complete string in your application
g0rx_ is now known as g0rx
loc22 has quit [Client Quit]
<drbrain> for examaple, if you have a bunch of templates you could shove the output of each into an Array
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Azure has joined #ruby
jcdesimp has joined #ruby
zendrix_ has joined #ruby
dojobo has quit [Quit: Leaving]
zendrix_ has quit [Read error: No route to host]
zendrix_ has joined #ruby
zendrix has quit [Ping timeout: 260 seconds]
dopie has quit [Quit: This computer has gone to sleep]
charliesome has joined #ruby
skinofstars has quit [Ping timeout: 244 seconds]
sepp2k has joined #ruby
wldcordeiro has joined #ruby
bruno- has quit [Ping timeout: 244 seconds]
timanema has quit [Quit: leaving]
j4cknewt has quit []
BrazenBraden has joined #ruby
_seanc_ has quit [Quit: _seanc_]
swgillespie has joined #ruby
tvw has quit [Ping timeout: 256 seconds]
Torrieri has quit [Quit: Be back later ...]
craysiii has quit [Remote host closed the connection]
sevvie has quit [Remote host closed the connection]
shock_one has joined #ruby
<BrazenBraden> morning. i have written a simple ruby command line script that includes a file logger. the logger will write to /var/logs/myscript.log. i'm doing File.open('/var/log/my.log', 'w').write but obviously i'm getting a permission denied because i'm running the script as myself and therefore it doesn't have permission to create the file in /var/log (owned by root)
wallerdev has quit [Quit: wallerdev]
<baweaver> chown
<Valeness> su owner make me a sandwich
<baweaver> sudo touch /var/log/my.log && sudo chown !$ `whoami`
mephistophocles has quit [Remote host closed the connection]
<baweaver> backwards
<baweaver> sudo touch /var/log/my.log && sudo chown `whoami` !$
<baweaver> always mix that up....
mephistophocles has joined #ruby
<baweaver> !$ is last argument of last command
mescalito has joined #ruby
<baweaver> BrazenBraden: ^
j4cknewt has joined #ruby
djbkd has quit [Remote host closed the connection]
<BrazenBraden> baweaver, that would be needed first time around, but if i'm doing this from in the script itself?
<baweaver> then make a folder in log
<baweaver> chown that
<baweaver> problem solved, then you can logrotate the thing as well.
<BrazenBraden> i would have to $ sudo ruby myscript.rb? actually, maybe this isn't an issue since the the script will be installed as a cron job
wldcordeiro has quit [Ping timeout: 244 seconds]
shock_one has quit [Remote host closed the connection]
<baweaver> I'd make a directory in log
michael_mbp has quit [Excess Flood]
<baweaver> don't run anything as sudo you don't have to.
<BrazenBraden> ah got you
Vile` has quit [Ping timeout: 264 seconds]
<baweaver> especially if you have permissions on it to allow anyone to edit
<baweaver> and it's getting run as sudo
GeissT has joined #ruby
<BrazenBraden> so /var/log/mylog/ would be owned by *me* and the running the script as *me* would write its files into that with no probs, right?
<baweaver> yep
<baweaver> that and now it's easier to find your logs as well.
<jhack> Has anyone checked out portalplatform?
<BrazenBraden> baweaver, tyvm!
<baweaver> np
Vile` has joined #ruby
<baweaver> saw too many mentions of enterprise and java in the search results and closed that tab real fast.
NeverDie has quit [Max SendQ exceeded]
michael_mbp has joined #ruby
Pupeno has quit [Remote host closed the connection]
NeverDie has joined #ruby
nofxx has joined #ruby
Pupeno_ has joined #ruby
fibbel has quit [Quit: fibbel]
foureight84 has joined #ruby
cohiijay has quit [Ping timeout: 246 seconds]
Pupeno_ has quit [Remote host closed the connection]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
casadei_ has quit [Remote host closed the connection]
icebourg has quit []
howdoico1 has quit [Ping timeout: 260 seconds]
howdoico1 has joined #ruby
djbkd has joined #ruby
scripore has joined #ruby
pyon has joined #ruby
northfurr has joined #ruby
Hal_9000_ has quit [Quit: Hal_9000_]
rcvalle has quit [Quit: rcvalle]
lannonbr has quit [Quit: WeeChat 1.2]
shmilan has quit [Ping timeout: 264 seconds]
djbkd has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arta82 has joined #ruby
Yzguy has joined #ruby
arta82 has quit [Max SendQ exceeded]
cohiijay has joined #ruby
symm- has quit [Quit: Leaving...]
shmilan has joined #ruby
arta82 has joined #ruby
foureight84 has quit [Quit: Be back later ...]
TheNet has joined #ruby
Uuku has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Kalov has quit [Quit: brbasapk]
ruby-lang127 has joined #ruby
ruby-lang715 has joined #ruby
bruno- has joined #ruby
sideshowcoder has quit [Quit: Connection closed for inactivity]
<shortdudey123> anyone know of some good examples of creating encrypted RSA keys w/ the openssl library? when i create the key w/ the openssl command line, the file starts with "ENCRYPTED PRIVATE KEY" but using key.export in Ruby the output starts w/ "BEGIN RSA PRIVATE KEY" and has "Proc-Type: 4,ENCRYPTED..."
shmilan has quit [Ping timeout: 272 seconds]
Lucky__ has joined #ruby
jpfuente_ has joined #ruby
TheNet has quit [Ping timeout: 260 seconds]
jpfuentes2 has quit [Read error: Connection reset by peer]
josh4 has quit [Ping timeout: 246 seconds]
<drbrain> … which creates the second type you mentioned
<shortdudey123> drbrain: thats what i am following
havenwood has quit [Ping timeout: 246 seconds]
<drbrain> I don't know if there's a difference between the two types, though
<shortdudey123> gotcha
<drbrain> for example, my SSH private key starts with BEGIN RSA PRIVATE KEY
<shortdudey123> google foo to see if there is a difference is failing me
<drbrain> (which is encrypted with a passphrase)
Kalov has joined #ruby
shmilan has joined #ruby
<drbrain> and has the Proc-Type: 4,ENCRYPTED in it
<shortdudey123> gotcha, will try it out that way then
<shortdudey123> thanks :)
<drbrain> … should probably upgrade that example to AES-256
<shortdudey123> yeah really
ruby-lang715 has quit [Ping timeout: 246 seconds]
einarj has quit [Remote host closed the connection]
<shortdudey123> i am using AES-256-CBC
pauly_oc has quit [Ping timeout: 245 seconds]
northfurr has quit [Quit: northfurr]
bruno- has quit [Ping timeout: 260 seconds]
benlieb has quit [Quit: benlieb]
RegulationD has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
Torrieri has joined #ruby
Torrieri has joined #ruby
northfurr has joined #ruby
olistik has joined #ruby
shmilan has quit [Ping timeout: 250 seconds]
cFouts is now known as stevejobsthereal
stevejobsthereal is now known as cFouts
<drbrain> ok, I submitted a PR: https://github.com/ruby/openssl/pull/21
josh4 has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
einarj has joined #ruby
dr3w has quit [Ping timeout: 260 seconds]
cohiijay has quit [Remote host closed the connection]
einarj has quit [Remote host closed the connection]
pragmatism has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dorei has quit []
olistik has quit [Ping timeout: 265 seconds]
ruby-lang127 has quit [Ping timeout: 246 seconds]
Cache_Money has quit [Quit: Cache_Money]
rubie has quit [Remote host closed the connection]
rehat has quit [Remote host closed the connection]
kies has joined #ruby
howdoico1 has quit [Ping timeout: 272 seconds]
coban2k has quit [Remote host closed the connection]