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
<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..
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]
<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 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>
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
<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)
<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]
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
<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>
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
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
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!
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]
<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
<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]
<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
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.
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]
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>
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
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]
<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]
<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?
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
<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
<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
<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
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]
<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
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.
<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…]
<[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]
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)
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]