apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
joaoh82 has joined #ruby
joaoh82 has quit [Remote host closed the connection]
<AlexRussia> foobarbaz_: p print object like he saved in ruby
<AlexRussia> foobarbaz_: puts just print string(see name)
<AlexRussia> foobarbaz_: sorry, i never use .inspect
Alina-malina has quit [Read error: Connection reset by peer]
<AlexRussia> akerl: yes, i understand u https://travis-ci.org/rubygems/rubygems/jobs/27643624
phinfone_ has joined #ruby
phinfonet has quit [Ping timeout: 255 seconds]
r00ster has quit [Quit: Peace]
Alina-malina has joined #ruby
charliesome has joined #ruby
havenwood has joined #ruby
<foobarbaz_> okay thanks
monkegjinni has quit [Ping timeout: 272 seconds]
Bumptious has quit [Ping timeout: 264 seconds]
<AlexRussia> foobarbaz_: use irb for test your things
IrcDroidClient has joined #ruby
IrcDroidClient has quit [Client Quit]
lw has quit [Quit: s]
blackgoat has quit [Quit: WeeChat 0.3.8]
mobi_pontiki has joined #ruby
caveat- has quit [Ping timeout: 252 seconds]
tectonic has quit []
benlieb has joined #ruby
tectonic has joined #ruby
marr has quit [Ping timeout: 240 seconds]
caveat- has joined #ruby
jamto11 has joined #ruby
benlieb has quit [Read error: No route to host]
benlieb has joined #ruby
chrishough has joined #ruby
nuck has joined #ruby
Atrumx has quit [Quit: exit]
jamto11 has quit [Ping timeout: 264 seconds]
definiv has joined #ruby
cobakobodob has joined #ruby
Nameo0 has quit [Ping timeout: 240 seconds]
<shevy> foobarbaz_ p should invoke #inspect I think
<shevy> >> class Foo; def inspect; 'yo'; end; end; p Foo.new
<eval-in> shevy => yo ... (https://eval.in/163196)
<shevy> >> class Foo; def inspect; 'yo'; end; end; puts Foo.new
<eval-in> shevy => #<Foo:0x41be2328> ... (https://eval.in/163197)
<shevy> see
<shevy> every day you learn something new
<shevy> isn't life great foobarbaz_ ?
<foobarbaz_> Yip! :)
<foobarbaz_> thanks
yeticry has quit [Ping timeout: 264 seconds]
jcp has joined #ruby
<jcp> is it possible to install nokogiri on osx mavericks?
jcp is now known as Guest88900
<Guest88900> because ive tried literally everything
Guest88900 is now known as streblo
<mobi_pontiki> yes
yeticry has joined #ruby
<akerl> Like what?
<mobi_pontiki> have you got the latest Xcode installed?
<streblo> ive installed libiconv, i'm pointing to the include directory with the gem flag, i can see the include directory has iconv.h, and it still complains about not being able to find iconv.h
fold has quit [Ping timeout: 244 seconds]
<akerl> what
<streblo> i have the latest Xcode, and i have the xcode command line tools installed
<akerl> I have never in my life seen nokogiri complain about a header, and my setup is pretty great at catching weird pathing bugs
Hanmac has joined #ruby
mr_snowf1ake has joined #ruby
<streblo> ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension.
<akerl> Can you pastebin the output of just running `gem install nokogiri`? also `which gem`
<streblo> checking for iconv.h... *** extconf.rb failed ***
<streblo> libraries and/or headers. Check the mkmf.log file for more details. You may
<streblo> Could not create Makefile due to some reason, probably lack of necessary
<mobi_pontiki> how many people are asking this question?
<streblo> need configuration options.
<streblo> akerl: yes
SCHAAP137 has quit [Remote host closed the connection]
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<akerl> for comparsion, I just ran `gem install nokogiri` and it worked fine
<akerl> no fuss, no special args
Hanmac1 has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
<akerl> Are you running it as root?
<streblo> no
<akerl> o.O
<akerl> You're super sure you're doing this on OSX? and you're not passing in weird env variables?
yfeldblum has joined #ruby
<akerl> Because stock OSX will fail to /usr/bin/gem install with permissions errors unless you sudo
ddv has quit [Ping timeout: 245 seconds]
<streblo> understood, i changed the permissions on it
<akerl> o.o
neyeMoo is now known as eyeMoon
<streblo> i'm honestly trying everything i can
<streblo> but i cant get this damn gem to install
Ankhers has quit [Ping timeout: 264 seconds]
<streblo> ive never seen this problem before either
autonomousdev has joined #ruby
<akerl> I'd not have recommened mucking with permissions
<akerl> Did you try w/ sudo?
<shevy> streblo fear not, you can always try to manually compile
<akerl> Heh
<shevy> but you must locate where the .gem file is on your machine
<akerl> I'd recommend using brew's Ruby before that
Ankhers has joined #ruby
<akerl> Really, I'd recommend using brew to get rbenv for greater happiness
<shevy> I have good faith in mac users, they are very clever creatures
<akerl> but that's besides the point
<streblo> ive gone down the path of using brew's ruby before and i didnt enjoy it
Azure has joined #ruby
Takle has joined #ruby
<streblo> same with rvm and rbenv
<shevy> uh oh an unbeliever!
<streblo> "Gemfile had ruby X but you are using ruby Y"
<streblo> is just about the most infuriating thing ever
<akerl> streblo: You don't appear to be enjoying this route either
<shevy> hehehe
<streblo> no, ive enjoyed none of it
<akerl> and version conflicts are even more likely if you *aren't* using rbenv/rvm
<akerl> given that you have 0 control over the ruby version
newUser1234 has quit [Ping timeout: 264 seconds]
benlieb has quit [Quit: benlieb]
trhodes_ has quit [Ping timeout: 264 seconds]
<streblo> i'd almost rather just blow my brains out at this point
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
ddv has joined #ruby
<akerl> I'm like 97% sure some variable or permission you've changed over the course of this endeavour is what's causing your issue
<streblo> ive only changed permissions on /usr/local/bin
<streblo> and i dont think thats the issue
<akerl> Clearly not :P
<akerl> If you'd only changed /usr/local/bin, /usr/bin/gem install would be giving the aforementioned permission errors
binaryhat has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<streblo> ive changed the permissions back to the original and seen similar issues
eyeMoon is now known as yeMoone
<streblo> honestly, no matter what configuration ive tried its failed
<shevy> streblo a good gem will work once the permissions are proper
<streblo> almost always saying its missing a header file
<shevy> then you must lack a .h file
<streblo> i dont, which those pastes show
<shevy> checking for libiconv_open() in iconv.h... no
<akerl> "You have to install development tools first."
caveat- has quit [Ping timeout: 272 seconds]
<shevy> "You should have header files."
<matti> streblo: Can I suggest something else?
<shevy> let me suggest something!
<shevy> Come to linux man
<akerl> :P
<matti> streblo: Instead of wasting time on OS X
<shevy> haha
zz_karupa is now known as karupa
<matti> streblo: Get vagrant, get Linux box.
<matti> streblo: And just for feck sake install nokogiri there.
<matti> streblo: And stop using OS X for development, as one day it will bit half of your arse off.
Takle has quit [Ping timeout: 272 seconds]
<shevy> I think on linux iconv.h is either part of glibc, or of http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
<streblo> ok so
<streblo> in order to install this gem
<streblo> you want me to first install linux
<shevy> it tries to compile somet
<shevy> *something natively
<shevy> so you must provide that
<bean> theres probably a homebrew package for it
<streblo> i installed the homebrew package for it
<streblo> you can brew install libiconv
<shevy> where is iconv.h on your system?
trhodes_ has joined #ruby
<streblo> /usr/local/Cellar/libiconv/1.13.1
<streblo> /usr/local/Cellar/libiconv/1.13.1/include/iconv.h
definiv has quit [Ping timeout: 240 seconds]
<shevy> ok good so we now know that it is there
<streblo> its definitely there
ramers has joined #ruby
<ramers> i don't have chance done .
<streblo> the main thing i dont understand is this message:
<streblo> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:434:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
<streblo> You have to install development tools first.
<ramers> mine
<streblo> ive installed the development tools
<matti> --with-iconv-dir=/usr/local/Cellar/libiconv/1.13.1
<matti> Does that work?
<streblo> ill add that and try again
<ramers> what about all poeple except itself
mgberlin has joined #ruby
caveat- has joined #ruby
<matti> streblo: I still recommend Vagrant with Linux box.
vinleod has joined #ruby
<ramers> failed in life when everything is therefore we must do
<streblo> no, unfortunately that didn't work either
<shevy> on gobolinux, this would be available in /System/Headers/iconv.h
<streblo> there are certainly people who have gotten this working on osx mavericks
<ramers> failed in life when everything is therefore is must make ;
<ramers> failed in life when everything is therefore is must make.
<ramers> sorry
<matti> streblo: brew link libiconv
<ramers> maybe is my fault
<matti> streblo: And try again with all the options.
<streblo> ive tried doing that, but ill try again
<matti> Ah.
<matti> OK
<ramers> dont thing the messiah because the house in school is all
<streblo> oh hmm
<streblo> i just realized
<streblo> i have two versions of libiconv installed
<matti> Ahhh
<shevy> the more the better
<streblo> 1.13.1 and 1.14
<matti> shevy: LOL
<matti> streblo: Take 1.14
<matti> brew install libxml2 libxslt libiconv
<matti> brew link libxml2 libxslt libiconv
binaryhat has quit [Quit: Leaving]
<streblo> let me try that
cashnguns has quit [Quit: I'm just an old fashioned cowboy]
tkuchiki has quit [Remote host closed the connection]
davispuh has quit [Read error: Connection reset by peer]
<ramers> my school great me one first to enroll .
<shevy> ramers stupid spam bot
<ramers> my school great me on first to enroll .
<ramers> dead me .
<matti> streblo: Fix up versions there.
<ramers> like than
<ramers> tou are not dead
<benzrf> jjjjjjjjjjj
<benzrf> oops
<matti> benzrf: LOL
<ramers> dont dream schooll another
<ramers> this far tim e .
yeMoone is now known as eMooney
<ramers> this far time .
<streblo> still the same issue http://dpaste.com/1PSTNPH
<streblo> with 1.14
<ramers> i have all hellding bad
<shevy> ext/nokogiri/extconf.rb: have_func(method, 'iconv.h') or
<shevy> there is the check for iconv.h
davispuh has joined #ruby
<shevy> for it to find it I assume that it must be in some default linker search path
<shevy> checking for libexslt/exslt.h... yes
<shevy> checking for iconv_open() in iconv.h... yes
<shevy> checking for xmlParseDoc() in -lxml2... yes
<ramers> and at the same moment is not the case .
<matti> streblo: Did you do the -- too?
<shevy> and all works here on my linux box \o/
eMooney is now known as Mooneye
<shevy> does mac not have an equivalent for /usr/include ?
<matti> shevy: Using homebrew is a different kettle of fish.
<matti> shevy: Although, usually it's not a problem.
<akerl> homebrew does have an include directory
<akerl> Just not in the exact same place
<shevy> hehe
<matti> It provides one indeed.
<akerl> /usr/local/include
<streblo> matti: yes i did use the --
lw has joined #ruby
<mobi_pontiki> home brew uses /usr/local/include
<matti> Can somone with OS X help streblo?
<ramers> learn more scholl my computer mine to day
<shevy> ok then
sprites has joined #ruby
<shevy> can't he just symlink the stuff he has in Cellar
<akerl> matti: gem install nokogiri works fine on my Mavericks install, both with Mac's gem and brew's gem
<mobi_pontiki> sadly, I'm not at my computer
<shevy> oh wait
<shevy> you are pontiki!
<ramers> i dont know every thing told that .
<shevy> when I read Mobi I thought you are a whale
<matti> akerl: Right.
<mobi_pontiki> yes shevy still am
<ramers> IS DEAD ;
<ramers> is dead .
<streblo> /usr/local/include has a symlink to iconv.h
<streblo> lrwxr-xr-x 1 jcp admin 39B Jun 15 17:53 iconv.h@ -> ../Cellar/libiconv/1.14/include/iconv.h
caveat- has quit [Ping timeout: 252 seconds]
<akerl> Which is why I expect it's something he's changed, which is like looking for a needly in the barn's haystack
<akerl> streblo: Yes, that's how brew works
Mooneye has quit [Quit: Leaving]
<streblo> i'm just confirming its there
<akerl> does /usr/local/Cellar/libiconv/1.14/include/iconv.h exist?
<streblo> yes
<ramers> my school at last great me . once .
<shevy> streblo but that is a symlink towards /usr/Cellar or? not /usr/local/Cellar
<akerl> And you're specifying /usr/local/include when you build?
pu22l3r has joined #ruby
diegovio1 has joined #ruby
armyriad has quit [Quit: Leaving]
<streblo> i'm specifying the /usr/local/Cellar/libiconv/1.14/include path
<akerl> Why?
<akerl> specify /usr/local/include
<ramers> always jalousie
braincrash has joined #ruby
<ramers> wthe school like me great to inscription . liked am i
diegoviola has quit [Ping timeout: 272 seconds]
<streblo> negative, same problem
<akerl> What's the exact command you're running?
<mobi_pontiki> who is this ramers ra and what are they on about?
<shevy> I think it's a bot
<streblo> akerl: i dont think this is something ive changed, this is a new computer
armyriad has joined #ruby
<ramers> i missed my like
<streblo> and the only thing ive changed thus far was the permissions on /usr/local/bin, which i changed back to the default
<shevy> the words seem consistently separated by two ' '
<ramers> it exists
sevenseacat has joined #ruby
<shevy> or not
<shevy> lol
braincra- has quit [Ping timeout: 240 seconds]
<streblo> im on the verge of reformatting this fucking thing
<streblo> but i dont think itll actually solve anything
sprites has quit [Ping timeout: 264 seconds]
<ramers> spouky is my
<ramers> i missed my life . sorry
diegovio1 is now known as diegoviola
<ramers> zero on sport
<ramers> no rattrappage .
havenwood has quit [Remote host closed the connection]
caveat- has joined #ruby
<ramers> ALL INTELLIGENCIA BEFORE TO TALk
<ramers> ALL INTELLIGENCIA BEFORE TO TALK
<ramers> SORRY MY friend .
<ramers> IS YOUR FAULT ;
<streblo> is there an op that can ban this asshole bot
<ramers> TAKE THIS is your .
braincra- has joined #ruby
<diegoviola> i've spent all weekend trying to debug some code that i didn't wrote myself, no luck... there's no error message, just some odd issue, any ideas what i can do at this point? sorry for being vague
george2 has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
PanPan has joined #ruby
Valesk has joined #ruby
<ramers> take this is your . you give me one of that first . to take you
<ramers> givethis is your . you give me one of that first . to take you
freerobby has quit [Quit: Leaving.]
<ramers> givethis is your . you give me one of that first . to give
jameswlane has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
<streblo> ok, to hell with this. im just going to remove the code that uses nokogiri
joaoh82 has joined #ruby
<ramers> take this is your . you give me one of that first . to giveou
<ramers> ine poeple him .
pu22l3r has quit [Remote host closed the connection]
<ramers> oe poeple him .
<streblo> ill postpone killing myself until i run into this problem again. which im sure i inevitably will.
<ramers> the school to script
__class__ has quit [Read error: Connection reset by peer]
<ramers> professorale whn i told him bts he is only told mutch
<ramers> my professorale when i told him bts he is only told mutch
tkuchiki has joined #ruby
braincrash has joined #ruby
braincra- has quit [Ping timeout: 245 seconds]
<streblo> wow
<streblo> i just got it to work
<streblo> after all that
<streblo> in an act of desperation i completely removed homebrew and everything it installed
<shevy> hmm
<streblo> reinstalled it
<shevy> damn it
<streblo> and now it works
<ramers> my professorale when i told him bts he is only told much
binaryhat has joined #ruby
<shevy> <akerl> Which is why I expect it's something he's changed, which is like looking for a needly in the barn's haystack
<shevy> akerl should run for president
<shevy> of the WORLD
<streblo> i think he was talking about changes i made to /usr/local/bin
<shevy> he just wrote "something", he was cautious :-)
<streblo> but if not, fine, fair
<ramers> mutch .
<ramers> only told mutch .
braincra- has joined #ruby
<ramers> i afraid no one .
<ramers> never .
<streblo> is this bot a regualr
<streblo> *regular
<mobi_pontiki> can we dump this bot?
<shevy> we need someone with power
<mobi_pontiki> this client has no
<Radar> apeiros: !ban ramers
<helpa> apeiros: Radar, you should ban the person highlighted, signed Radar.
<Radar> Oops :D
<shevy> lol
vinleod has joined #ruby
<sevenseacat> hah
<shevy> wtf
freerobby has joined #ruby
<ramers> i afraid no one never
<ramers> back .
braincrash has quit [Ping timeout: 245 seconds]
freerobby has quit [Client Quit]
vinleod has quit [Read error: Connection reset by peer]
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has quit []
<ramers> would you see assassin's creed french .
vinleod has joined #ruby
<ramers> would you see triler assassins'creed french .
<ramers> would you see trailer assassins'creed french .
pablohn has joined #ruby
<ramers> all poepler maybe rich
__class__ has joined #ruby
<ramers> all poepler maybe rich.
<pablohn> hi all, is this project https://github.com/phlegx/redmine_gitlab_hook ruby 1.8?
<pablohn> or ruby 1.9
<joelteon> geez
<ramers> all poeple maybe rictch .
aspires has joined #ruby
<joelteon> ramers, what are you hoping to accomplish here
<ramers> all poeple maybe richt.
<shevy> it uses the old 1.8 syntax
<ramers> that known all . friend . the game .
<ramers> that known all friend the game .
<akerl> :P
<matti> Haha
<ramers> FREE PALESTINE .
<shevy> so chances are that it might be 1.8 conforming as well
<akerl> I maintain that it was my leadership and vision that solved the Great Nokogiri Crisis
<ramers> free palestian poeple .
<matti> This person/bot is getting more amusing.
<ramers> and the world
<shevy> it's a weird bot I think
<matti> akerl: We shall call it from this day forth - The Great Nokogiri Crisis.
<ramers> and this land
<ramers> and this land
<shevy> perhaps coded while the programmer was drunk
<ramers> to give world on see free palestine also
robustus has quit [Ping timeout: 252 seconds]
aspires has quit [Client Quit]
ylluminate` has joined #ruby
<pablohn> thanks shevy, probably you are right :)
<ramers> the jews poeple in not than earth
<matti> pablohn: Don't tell him he's right.
<matti> pablohn: We don't want to spoil shevy too much
<matti> ;]
<shevy> hey
aspires has joined #ruby
<matti> shevy: :)
mgberlin has quit [Remote host closed the connection]
<ramers> sioniste .
<pablohn> matti, I said probably :) not completely sure hhahaha
<ramers> sioniste
<ramers> iam not sioniste .
<matti> pablohn: ;]
<ramers> never done
<ramers> great poeple normandie
<ramers> my father is immigrant .
<ramers> it is well for nazi ?
robustus has joined #ruby
<ramers> DON4T NOW BUT ; I THING NOT ;
<ramers> DON4T NOW BUT ; I THING NOT .
phoo1234567 has quit [Quit: Leaving]
ylluminate has quit [Ping timeout: 264 seconds]
maestrojed has quit [Quit: Textual IRC Client: www.textualapp.com]
<mobi_pontiki> ok, you win
mobi_pontiki has left #ruby [#ruby]
<streblo> hah wow this bot just got racist
<ramers> is your to place him . on hospitale
<ramers> dont touch .
<ramers> and little water .
<ramers> water stevia .
<ramers> this word are not understand . lo
<ramers> this word are not understand . lol
<ramers> stévia on water
<ramers> THE MILLIONS POEPLES
<ramers> the billion poeple
freerobby has joined #ruby
<ramers> THE OVNIS OF DEUTCH ALL WONT ON ONE
freerobby has quit [Client Quit]
<ramers> alone
<ramers> the ovnis .
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
armyriad has quit [Ping timeout: 252 seconds]
armyriad has joined #ruby
Gooder has joined #ruby
<ramers> normandit what you say . lol
<ramers> dont you know to search .
<ramers> normandie what you say . lol
<ramers> normandie what you say .
<ramers> is the débarquement
<ramers> well done this time . not very strongthat see sommewhere elese.
<ramers> one against all
<ramers> FIST THIS AVION ON FIRE
<ramers> FIST THIS AVION ON FIRE aviation
<ramers> FrST THIS AVION ON FIRE aviation
<ramers> fist is aviotion on fire.
<ramers> after you what is the retty language of world .
streblo has quit [Ping timeout: 240 seconds]
<sevenseacat> anyone here know anything about the alchemist gem?
ghr has joined #ruby
<ramers> after you what is the pretty language of world .
<ramers> after you what is the pretty language of world ?
Hanmac1 has joined #ruby
<sevenseacat> i just upgraded an app that uses (admittedly a very old version of) alchemist from 1.8.7 to 1.9.3, and now it's behaving very strangely
Hanmac has quit [Ping timeout: 244 seconds]
<sevenseacat> i can no longer do really basic things like 1.Mb.to.kb
ghr has quit [Ping timeout: 252 seconds]
pu22l3r has joined #ruby
<ramers> space time to . look star ine the sky
aspires has quit []
pu22l3r has quit [Read error: Connection reset by peer]
<ramers> space time to . look star in the sky
aspires has joined #ruby
pu22l3r has joined #ruby
<IceDragon> yo shevy, who or what is ramers?
<IceDragon> no offense if its someone and not a bot.
sarkis has joined #ruby
<ramers> no hundred tolking mutch . sorry .
<benzrf> i ignored them :-)
<ramers> not hundread tolking mutch . "sorry" .
<IceDragon> gratz, someone give him the foot+ban treatment, his type is not welcome here
<ramers> not hundread tolking mutch .sorry
mary5030 has joined #ruby
<ramers> *ignored them when i say
<ramers> time .
<ramers> *ignored them when i say
<ramers> look bother . first the chidren . most of mutch poeple .
diegovio1 has joined #ruby
diegoviola is now known as Guest4423
diegovio1 is now known as diegoviola
<ramers> look brother first the chidren most of mutch poeple.
Guest4423 has quit [Ping timeout: 252 seconds]
<ramers> i understand read maybe
<diegoviola> i've spent all weekend trying to debug some code that i didn't wrote myself, no luck... there's no error message, just some odd issue, any ideas what i can do at this point? sorry for being vague
<ramers> than to anwer not . ; TO UNDERSTAND MORE
<sevenseacat> debug it?
<ramers> than to aswer
<ramers> i think to angletere
<ramers> not self royauté indispensable
<ramers> vive la républible
<ramers> vive la françe dixit mittérrand .
bitscraper has quit [Quit: WeeChat 0.4.0]
<diegoviola> sevenseacat: that's what i've been trying to do it, but no luck... i tried to use pry with binding.pry all over the place, i'm still trying
<ramers> vive la françe dixit f.ittérrand .
<matti> diegoviola: And the issue is?
<diegoviola> sevenseacat: there are no error messages
<ramers> vive la françe dixit f.mitterrand
braincra- has quit [Ping timeout: 272 seconds]
senayar has joined #ruby
<ramers> VIVE LA R2BUBLIQUE ; VIVE LA FRAN9E ; DIXIT F ; MITTERAND ;
<diegoviola> matti: the application pulls data from a web service and then tries to update that data with the database, but the data is not consistent or is out of sync, so there are parts in the application where it reads data directly from the webservice (for example, it says there are 50 garages available) and then there's another part where it says there's 70 garages available
<RubyPanther> diegoviola: What I do is I stare at the code until the bug starts to feel heavy
<ramers> vive la république vive la france dixit f. mittérran,d
<ramers> vive la république vive la france dixit f. mittérrand
<diegoviola> matti: so it reads data from different places and i have no idea
<ramers> vive la république vive la france dixit f.mittérrand
monkegjinni has joined #ruby
braincrash has joined #ruby
spastorino has joined #ruby
alexju has joined #ruby
<diegoviola> for example, it says floor 5 has 10 garages available, but then there's another part where it claims floor 5 has 15 garages, etc
<diegoviola> RubyPanther: yeah maybe i should try that
<RubyPanther> diegoviola: Just unify all the data access in one place, don't fight the legacy monster, just brick over the cave opening
<foobarbaz_> " <diegoviola> sevenseacat: that's what i've been trying to do it, but no luck... i tried to use pry with binding.pry all over the place, i'm still trying"
<foobarbaz_> Have you tried an IDE with the inbuilt debugging tools?
<sevenseacat> you havent told us an issue we can help with yet
dseitz has joined #ruby
binaryhat has quit [Quit: Leaving]
<RubyPanther> how is "use the force" not going to help??
<ramers> il nous a accompagner en europe le troper est simple tout dabord
<sevenseacat> i'm trying to use tge force on my alchemist issue... no luck
<diegoviola> right i should have been more specific
<ramers> c'était son idée
lw has quit [Quit: s]
<ramers> avec l'allemagne
<ramers> une europe unis contre la guerre .
<diegoviola> but there are lots of code and i have no idea where the issue is, i just know there's an issue
<sevenseacat> well how do you know there;'s an issue
saarinen has joined #ruby
jameswlane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ramers> la solution est evidement pas la guerre
MatthewsFace has joined #ruby
<ramers> chacun ne devrait pas choisir ça
<ramers> dans l'ensemble .
<RubyPanther> it is obviously not DRY, and that is why mold is growing
r_rios has joined #ruby
kenneth has joined #ruby
monkegjinni has quit [Ping timeout: 272 seconds]
<ramers> parler aussi de chomage
<ramers> à faire en sorte que le constat s'inverse
<diegoviola> sevenseacat: because the user is complaining about it, and the data is not consistent, it says floor 1 has 5 garages available, while in another page, it says the same floor has 10 garages available, data is not consistent
<ramers> il sera ensuite plus senssible
krz has joined #ruby
<ramers> aussibien
ascarter has joined #ruby
<sevenseacat> well which page has the error on it?
<ramers> de détruire les armes .
<sevenseacat> trace back where that page is getting its dodgy data from
<diegoviola> sevenseacat: i looked at the code, there's a controller where an action would pull data from the web service directly via SOAP/XML and there's another controller/action where it pulls the data from the database
<RubyPanther> fix the OO and the bug will crawl away, no need to bother with killing it
<sevenseacat> so which one is right and which is wrong?
<diegoviola> sevenseacat: but there's also a method where the code will try to pull data from the web service and update the database with that data
<sevenseacat> sigh
<diegoviola> sevenseacat: the one in the database is wrong
<sevenseacat> so stop trying to read it from the database then
<ramers> en tout les cas .
<ramers> il sera ensuite plus senssible
<ramers> aussibien
<ramers> de détruire les armes .
<ramers> en tout les cas .
mgberlin has joined #ruby
<diegoviola> sevenseacat: thanks, that's helpful
<sevenseacat> well it doesnt appear to be something you've considered
<diegoviola> what kinda scares me about this is that i don't know the code at all, it also has no test suite
<diegoviola> so i'm afraid to change things
<diegoviola> if i change something the whole thing can break
<diegoviola> there's no test suite at all
<sevenseacat> well then you better just never change anything, ever.
braincra- has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
braincra- is now known as braincrash
havenwood has joined #ruby
<ramers> je demande pas ça disparition
<ramers> ni meme ceux s'en servir .
<diegoviola> sevenseacat: well i'd rather try it anyway
<sevenseacat> then start writing tests to cover the functionality that you're changing
<RubyPanther> sounds like time for somebody to do some QA work and write some integration tests. It's not like you need to test everything.
cantonic has quit [Quit: cantonic]
<diegoviola> thanks
<ramers> LES ARMES EXIST SUR LE PAPIER ;
<diegoviola> ramers: stop spamming, damn
<ramers> les armes existe sur le papier ecrit à la craie
<ramers> ecrit à la craie sur le bitume ;
<ramers> ecrit à la craie sur le bitume .
radic has quit [Ping timeout: 272 seconds]
aspires has quit []
<ramers> UE ARME DE PLUS INVENTER SON FONSCTIONNEMENT
<RubyPanther> # /ignore *!*@cha92-4-82-224-226-31.fbx.proxad.net ALL
<diegoviola> oh well, /ignore is good
<ramers> Un ARME DE PLUS INVENTER SON FONSCTIONNEMENT
<ramers> Une ARME DE PLUS INVENTER SON FONSCTIONNEMENT
<diegoviola> 23:12:28 weechat | [2] mask: ramers / server: * / channel: *
<ramers> Une arme de plus inventer son fonctionnement
caveat- has quit [Ping timeout: 240 seconds]
<ramers> pas à tester
<ramers> surrement pas à tester
jamto11 has joined #ruby
mattmcclure has joined #ruby
pu22l3r has quit [Remote host closed the connection]
fcoury has joined #ruby
Bumptious has joined #ruby
kenndel has joined #ruby
blackgoat has joined #ruby
radic has joined #ruby
foobarbaz_ has quit [Ping timeout: 246 seconds]
blackgoat has quit [Client Quit]
fcoury has quit [Remote host closed the connection]
kenndel_ has quit [Ping timeout: 240 seconds]
<ramers> je suit peut admiratif d'ailleur comme le dessins à leurs dire un truc de nouveau c'est ancien.
<ramers> je suit peu admiratif d'ailleur comme le dessins à leurs dire un truc de nouveau c'est ancien.
freerobby has joined #ruby
<ramers> LES OVNIS DANS LA VISION DE 90 DEGR2 EN D2PLACEMENT
<ramers> L4ENVIRRONEMENT 0 VOIR
kenndel has quit [Read error: Connection reset by peer]
<ramers> AUTREMENT C4EST JUSTE NUL ou extra
jamto11 has quit [Ping timeout: 255 seconds]
danshult_ has joined #ruby
<ramers> l'envirronnement c'est tres beau dans la civilisation offert .
caveat- has joined #ruby
<ramers> à tous depuis la naissance
sepp2k1 has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
hgl has joined #ruby
mikepack has joined #ruby
pencilcheck has joined #ruby
<pencilcheck> hey
<pencilcheck> is it possible to call a function that doesn't accept arguments with arguments without raising exception? just like how javascript does it?
<ramers> j'appréçie mieu ayant de la famille frere et soeur que moi .
<ramers> instinctivement
<sevenseacat> dont think so, but i could be wrong
<pencilcheck> hm
<pencilcheck> that sucks
<pencilcheck> but can I know if the function accepts any arguments?
<ramers> la lois ont pourrait s'en fiche chez les franc maçon
<pencilcheck> maybe not a function, but a proc or lambda
badhatter has quit [Disconnected by services]
<ramers> quelques fois des raisonnement idiot en faite l'emsemble .
r_rios has quit [Ping timeout: 272 seconds]
danshult_ has quit [Ping timeout: 252 seconds]
mikepack has quit [Client Quit]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ramers> COMME DES GENS DU D2BART SYMPA
<ramers> PRISE DE CONFIANCE
ahofmann has joined #ruby
<ramers> MAIS PAS TELLEMENT SOFT dans l'idée de planée dans l'environnement
asteve has joined #ruby
<ramers> l'avion sans moteur .
<ramers> attérrire à coté ou pas loin
<ramers> un vole planer pas tres heut .
<ramers> un vole planer pas tres hat .
<ramers> un vole planer pas tres haut.
joaoh82 has quit [Remote host closed the connection]
Nameo0 has joined #ruby
<ramers> demi tour l'attérrissage ensuite ou lautre . 360
<ramers> deux fois 45
asteve has quit [Client Quit]
<ramers> prenons lautre piste au pire dans la nature
<ramers> activation du gps au mayday
joaoh82 has joined #ruby
definiv has joined #ruby
<ramers> le meilleur est un siege ejectable .
<ramers> c'est etrage de pas y penser .
<ramers> meme proche du sole
<ramers> meme proche du sol
<ramers> pas telle ment à l'envers
streblo has joined #ruby
pvb has joined #ruby
<bean> ramers, please leave if you're going to spam
pylix has joined #ruby
caveat- has quit [Ping timeout: 240 seconds]
<ramers> un siege ejectable tout le temps la brasserie à coté
<ramers> ont y pense pase à passer son cod
<ramers> ont y pense pase à passer son code
<ramers> ont y pense pen à passer son code
<ramers> ont y pense pas passer son code
<bean> This is an english channel ramers
<ramers> le siege ejectable assez seul dans le ciel est de tout façon une obliguation.
<ramers> au dernier cas en haut .
mgberlin has quit [Remote host closed the connection]
<ramers> meme proche du sol
caveat- has joined #ruby
<ramers> fréquenter pour attérir en sécriter procher du sol
<ramers> fréquenter pour attérir en sécriter procher du sol
mgberlin has joined #ruby
<ramers> fréquenter pour attérir en sécriter proche du sol
<ramers> gps
<ramers> gps inscrit .
<ramers> c'est appyyer .
<ramers> si tel est le cas c'est un accident
<ramers> autrement il s'est endormit ;
<ramers> autrement il s'est endormit;
<ramers> autrement il s'est endormit.
<sevenseacat> i dont think he cares.
<bean> apeiros, hey are you around.
<definiv> anglais seulement ici
d5sx43 has quit []
<toretore> it's a bot
d5sx43 has joined #ruby
<bean> i figured.
d5sx43 has quit [Client Quit]
<RubyPanther> # /ignore *!*@cha92-4-82-224-226-31.fbx.proxad.net ALL
d5sx43 has joined #ruby
kireevco has quit [Quit: Leaving.]
<bean> is it just a random bot, or does someone own it?
aantix has joined #ruby
<bean> banister, uo
<bean> yo*
<bean> Mon_Ouie, yo
IceDragon has quit [Ping timeout: 244 seconds]
kireevco has joined #ruby
<ramers> AVOIR PLEINS DE GENS EN RESPONSABILIT2 C4EST PIRE ; IL YA PRATIQUEMENT AUCCUN PARRACHUTTE PROCHE DU SOLE
<ramers> AVOIR PLEINS DE GENS EN RESPONSABILIT2 C4EST PIRE ; IL YA PRATIQUEMENT AUCCUN PARRACHUTTE PROCHE DU SOL
d5sx43 has quit [Read error: Connection reset by peer]
<ramers> j'ecrit une lettre si jai pas le temps ..
<ramers> JE VOUS AIMES SAVOIR CE QUE S4AIT LAMOUR
<ramers> VOUS APPR29I2 ;
<ramers> vous appréçié.
<ramers> j'ecrit une lettre ouverte pas le temps ..
niftylettuce_ has joined #ruby
r_rios has joined #ruby
<ramers> j'ecrit une lettre ouverte si ja le temps
<ramers> j'ecrit une lettre ouverte si jaile temps
saarinen has quit [Quit: saarinen]
<ramers> je vous vous aimes et appréçié .
jack_rabbit has joined #ruby
<ramers> tire la manette ejectable si seulement ça fonctionne
<ramers> il ya un parachute avec le siege
ghr has joined #ruby
dgutierrez1287 has quit [Ping timeout: 264 seconds]
<ramers> et une boué .
<ramers> etre dans la bonne direction respirer de l'air
<ramers> c'est pas un mauvait conducteur.
Bumptious has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
<ramers> les minute compte . au quel cas
<ramers> voir une insolence de medecin
<ramers> . au norme
danijoo has joined #ruby
r_rios has quit [Remote host closed the connection]
<ramers> c'est ggné presque le savoir
<ramers> c'est gané presque le savoir
<ramers> c'est gangnpresque le savoir
<ramers> c'est gagné presque le savoir
<ramers> aux meme moment .
phutchins has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
<ramers> un hero est né
<ramers> dieu recupere pardois les meilleur .
r_rios has joined #ruby
<ramers> dieu recupere pardois les meilleurs .
<ramers> dieu recupere parfois les meilleurs .
<ramers> comment dire alors de tous et ceux qui sont aimé que seulement une creation divin tout seul .
lw has joined #ruby
<ramers> une prise electrique assez raisonable pour revenir
<ramers> avec le soufle
pikapp has quit [Ping timeout: 255 seconds]
<ramers> oxygener
pu22l3r has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<ramers> harf ouf
<ramers> un battement de coeur constant
<ramers> à vous .
IceDragon has joined #ruby
<ramers> la tour de babel est achervé
<ramers> la tour de babel est achevé
<ramers> ont à réussit .
<ramers> il faudrait voir ça . mais en faite en plein travaux
definiv has quit [Ping timeout: 240 seconds]
<ramers> il faudrait voir ça . mais en faite en pleinstravaux
<ramers> il faudrait voir ça . mais en faite en pleins travaux
<havenwood> apeiros: banister: Mon_Ouie: Slay the bot ^?
chrishough has quit [Quit: chrishough]
scx_ has joined #ruby
<ramers> le nombre du seigneur est haut dessus.
havenwood has quit []
scx has quit [Ping timeout: 240 seconds]
<ramers> soyer pas jaloux de pas etre aller à l'école comme tous ont vous comprend ou plutot d'avoir raté foiré votre apprentissage écolier .
phinfone_ has quit []
braincrash has quit [Quit: bye bye]
abdulsattar has quit [Ping timeout: 240 seconds]
<ramers> il faudrait savoir ça à vous entendre . depuis le départ
__class__ has quit [Ping timeout: 244 seconds]
<ramers> meme la pleurniche .
braincrash has joined #ruby
<ramers> pourquoi il est pas mort et pourquoi meurt il pas dracul .
MrDoctor has joined #ruby
<ramers> la naissance de dracula
<ramers> le premier
<ramers> parceque c'est l'élu .
<ramers> le premier peut pas mourrire .
<ramers> encore moin.
pikapp has joined #ruby
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DrCode has quit [Ping timeout: 264 seconds]
streblo has quit [Ping timeout: 272 seconds]
<ramers> meme la pleurniche . les larmes de crocdiles
ahofmann has quit [Quit: Computer has gone to sleep.]
__class__ has joined #ruby
<ramers> meme la pleurniche . les larmes de crocodiles
<ramers> la pleurniche . les larmes de crocodiles
definiv has joined #ruby
abdulsattar has joined #ruby
<ramers> il sentent pas que vous avez peur eux
<ramers> à la dirençiation dautres animales de la savanes
Jaood has joined #ruby
<ramers> à la diférençiation d'autres animaux de la savane
yacks has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
Beoran__ has quit [Ping timeout: 244 seconds]
kireevco1 has joined #ruby
DrCode has joined #ruby
Jaood has left #ruby [#ruby]
definiv has quit [Remote host closed the connection]
kireevco has quit [Ping timeout: 264 seconds]
aspires has joined #ruby
ahofmann has joined #ruby
<ramers> le jour .
speakingcode has quit [Ping timeout: 252 seconds]
ahofmann has quit [Client Quit]
<ramers> des larmes de crocodiles non me dites pas ça ma blonde .
<pylix> i have to learn ruby for this job, what's the fastest way for an expirienced programmer to learn the language?
speakingcode has joined #ruby
<akerl> koans?
<pvb> ramers, bonjour
<pylix> thx
ahofmann has joined #ruby
<daxroc> Evening all
ahofmann has quit [Client Quit]
<ramers> what about crying tat to uderstand 2nd war just for you .
tectonic has quit []
<ramers> what about crying that to uderstand 2nd war just for you .
<daxroc> How would I hide the output to STDOUT from the ruby_vcloud_sdk http://rubydoc.info/gems/ruby_vcloud_sdk/frames
Takle has joined #ruby
SCommette has joined #ruby
<pvb> why this bot so boring?
<ramers> my wife can know what i think .
<pvb> a little better
<pvb> try again
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ramers> the crocodile tears
<pontiki> pvb, if you're going to talk to the bot, you'll end up on ignore, too
Beoran__ has joined #ruby
<ramers> i read your sentence .
<pontiki> pylix: read Programming Ruby http://pragprog.com/book/ruby4/programming-ruby-1-9-2-0
streblo has joined #ruby
<ramers> crocodile tears no thank you .
lw has quit [Quit: s]
<pvb> what mean "ignore"?
<ramers> i said no thank you
Takle has quit [Ping timeout: 245 seconds]
GriffinHeart has joined #ruby
SCommette has quit [Client Quit]
<pvb> okay, seems i get it :)
dodosan has joined #ruby
dodosan has quit [Client Quit]
lw has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
definiv has joined #ruby
hermanmunster has quit [Remote host closed the connection]
hermanmunster has joined #ruby
kenneth has joined #ruby
Bosox20051 has quit [Ping timeout: 264 seconds]
GriffinHeart has quit [Ping timeout: 272 seconds]
<ramers> crocodil trears whrite this
<ramers> crocodil tears whrite this
sski has quit [Ping timeout: 264 seconds]
<ramers> iam not crocodile and don't hope to give up
hermanmu_ has joined #ruby
<ramers> iam not crocodile and don't hope to take
mgberlin has quit [Remote host closed the connection]
SCommette has joined #ruby
hermanmunster has quit [Read error: Connection reset by peer]
definiv has quit [Ping timeout: 255 seconds]
MrDoctor has quit []
<ramers> go to babel . ^
<ramers> that mind
<ramers> babel is construction of europe
armyriad has quit [Ping timeout: 244 seconds]
armyriad has joined #ruby
mgberlin has joined #ruby
<ramers> little construction.
<ramers> so many
netserf has joined #ruby
pu22l3r has quit [Remote host closed the connection]
<ramers> tears of crocodile no thank you .
tobago has joined #ruby
pietr0 has joined #ruby
bbloom has joined #ruby
<ramers> say that
<ramers> no than you
hello_nate_ has quit [Quit: Lingo - http://www.lingoirc.com]
<ramers> said that no thank you .
streblo has quit [Ping timeout: 252 seconds]
toastynerd has quit [Remote host closed the connection]
yacks has joined #ruby
sski has joined #ruby
freerobby has quit [Quit: Leaving.]
amargherio has quit [Read error: Connection reset by peer]
jgillman has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
alexju has quit [Remote host closed the connection]
<ramers> before i speaking alone i told about my poésie now .
<ramers> le herd of poeple .
<ramers> le heard of poeple .
artgoeshere has joined #ruby
synfin has quit [Ping timeout: 252 seconds]
Kamilion has quit [Ping timeout: 240 seconds]
<ramers> canal + crypter .
synfin has joined #ruby
pietr0 has quit [Quit: pietr0]
<ramers> once upon a time
hostess has quit [Ping timeout: 240 seconds]
<ramers> batman delirious baston
<ramers> batman en plein délire de baston
<ramers> who never knew who his worst enemy
<ramers> qui aurrait jamais su qui est son pire ennemie
monkegjinni has quit [Ping timeout: 255 seconds]
<ramers> find themselves alone
<ramers> with the stars at a given time
<ramers> se retrouver tout seul
<ramers> avec les étoiles à un moment donné
<ramers> la fin de l'histoire a un autre moment bonne appétit.
<ramers> the end of the story another time good appetite.
dreamchaser has joined #ruby
hostess has joined #ruby
dreamchaser has quit [Client Quit]
Kamilion has joined #ruby
dreamchaser has joined #ruby
pablohn has quit [Ping timeout: 255 seconds]
<ramers> soup meal
ffranz has joined #ruby
<ramers> la soupe du repas
<ramers> la soupe
<ramers> je veux mon gateau
<ramers> i whant my cake
<ramers> I want the end of my cake
SCommette has quit [Quit: SCommette]
<ramers> je veut la fin de mon gateau
Bumptious has joined #ruby
dreamchaser has quit [Client Quit]
<ramers> any time anywhere when something
<ramers> nimporte ou tout l temps
<ramers> nimporte ou tout le temps
jamto11 has joined #ruby
<ramers> nimporte ou n'importe quand mon gateau
<ramers> >>>>>>>>>>>>V anywhere anytime my cake
<eval-in> ramers => /tmp/execpad-30d679d7316a/source-30d679d7316a:2: syntax error, unexpected >> ... (https://eval.in/163213)
<ramers> the lost cake .
<ramers> not miond.
<ramers> not mind.
<ramers> pas le mien
<ramers> jinterdierait de perdre la moitié de mon gateau .
hy2guru_ has quit []
<ramers> forbid Interdiction lost half my cake
snardbafulators has joined #ruby
<ramers> forbid I lose half of my cake.
<ramers> forbid i lose half on my cake
<snardbafulators> uggg I keep getting this compile error
<snardbafulators> and gobbledy gook inm my terminal
<snardbafulators> what does this mean?
<ramers> forbid I lose half of my cake.
autonomousdev has quit [Quit: Textual IRC Client: www.textualapp.com]
GriffinHeart has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
<ramers> i am very not satanic
hy2guru_ has joined #ruby
<ramers> very and very not satanic.
edyth_serrano_m1 has joined #ruby
<ramers> not is the lie .
netserf has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Go on, try it!]
edyth_serrano_m1 has quit [Read error: Connection reset by peer]
streblo has joined #ruby
<ramers> this is not a lie
dreamchaser has joined #ruby
etqqkoiflwhb__ has joined #ruby
ramers has left #ruby [#ruby]
fgo has joined #ruby
thesheff17 has quit [Ping timeout: 252 seconds]
ascarter has joined #ruby
zorak has quit [Remote host closed the connection]
yacks has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby
yacks has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
mgberlin has quit [Remote host closed the connection]
MatthewsFace has quit [Quit: This computer has gone to sleep]
<benzrf> snardbafulators: your problem is probably that you are trying to compile ruby
<benzrf> oh wait
<benzrf> ugh
<pontiki> is that what you call compiling?
<benzrf> hehehehe
nyxalpha has joined #ruby
nyxalpha has left #ruby [#ruby]
nyxalpha has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mercwith1mouth has joined #ruby
snardbafulators has quit [Ping timeout: 264 seconds]
tectonic has joined #ruby
nyxalpha has left #ruby [#ruby]
mercwithamouth has quit [Ping timeout: 244 seconds]
benzrf is now known as benzrf|offline
toastynerd has quit [Ping timeout: 240 seconds]
hermanmu_ has quit [Remote host closed the connection]
snardbafulators has joined #ruby
hermanmunster has joined #ruby
hermanmunster has quit [Read error: Connection reset by peer]
hermanmunster has joined #ruby
ghr has joined #ruby
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
kilk_ has joined #ruby
r_rios has quit [Ping timeout: 240 seconds]
gruz0[russia] has joined #ruby
mikepack has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb__ has joined #ruby
rhys has quit [Ping timeout: 240 seconds]
niftylettuce_ has quit [Quit: Connection closed for inactivity]
etqqkoiflwhb__ has quit [Ping timeout: 255 seconds]
tkuchiki has quit [Remote host closed the connection]
pikapp has quit [Ping timeout: 244 seconds]
etqqkoiflwhb__ has joined #ruby
streblo has quit [Ping timeout: 240 seconds]
aantix has quit [Quit: aantix]
aganov has joined #ruby
blackgoat has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ksinkar_ has quit [Quit: Konversation terminated!]
Nameo0 has quit [Quit: Leaving]
Nameo0 has joined #ruby
garndt has quit [Quit: Connection closed for inactivity]
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Channel6 has quit [Quit: Leaving]
mezett has joined #ruby
<mezett> can you guys go to this site and read over my code, please? http://tinyurl.com/nxs8mdk
<mezett> i would appreciate it
kenneth has joined #ruby
<mezett> its for a game im making
mezett has left #ruby [#ruby]
Xiti has joined #ruby
luckyruby has joined #ruby
chipotle has joined #ruby
mezett has joined #ruby
mezett has left #ruby [#ruby]
etqqkoiflwhb__ has quit [Ping timeout: 240 seconds]
snardbafulators has quit [Quit: I want to fuck TimothyWT up the ass.]
<pontiki> crazy captain skippy?
dreamchaser has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mercwith1mouth has quit [Ping timeout: 264 seconds]
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
blackthor has joined #ruby
NukePuppy has joined #ruby
tkuchiki has joined #ruby
IceDragon has quit [Quit: Space~~~]
<Mon_Ouie> Again? Seems like it happens just a bit too early for me to ban him every time
chipotle_ has joined #ruby
timonv has joined #ruby
nerdy has joined #ruby
chipotle has quit [Ping timeout: 264 seconds]
combusean has quit [Quit: Leaving.]
sinkensabe has joined #ruby
whyy has joined #ruby
lkba has joined #ruby
combusean has joined #ruby
tagrudev has joined #ruby
toastynerd has joined #ruby
why_away has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
whyy has quit [Ping timeout: 272 seconds]
ta has quit [Remote host closed the connection]
whyy has joined #ruby
mikepack has quit [Remote host closed the connection]
toastynerd has quit [Ping timeout: 240 seconds]
whyy has quit [Remote host closed the connection]
mijicd has joined #ruby
why_away has quit [Ping timeout: 255 seconds]
mengu has joined #ruby
why_away has joined #ruby
nitr has joined #ruby
himsin has joined #ruby
ghr has joined #ruby
MrDoctor has joined #ruby
heftig has quit [Quit: Quitting]
diegovio1 has joined #ruby
GriffinHeart has joined #ruby
diegoviola has quit [Ping timeout: 252 seconds]
nitr has quit [Ping timeout: 255 seconds]
NukePuppy has quit [Ping timeout: 245 seconds]
diegovio1 is now known as diegoviola
ghr has quit [Ping timeout: 255 seconds]
apeiros has quit [Read error: Connection reset by peer]
dumdedum has joined #ruby
apeiros has joined #ruby
nitr has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
frogssgy is now known as frogsy
yacks has joined #ruby
ramers has joined #ruby
ramers has left #ruby [#ruby]
ta has joined #ruby
chihhsin has quit [Ping timeout: 276 seconds]
anarang has joined #ruby
diegoviola has quit [Remote host closed the connection]
chihhsin has joined #ruby
relix has joined #ruby
monday22 has joined #ruby
apeiros has quit [Remote host closed the connection]
dangerousdave has joined #ruby
apeiros has joined #ruby
Xeago has joined #ruby
timonv has quit [Remote host closed the connection]
<monday22> how can i get mor information about a specific gem listet by gem -r xy. I want basic informations for what a gem is.
monkegjinni has joined #ruby
timonv has joined #ruby
<pontiki> you could look it up on rubygems
aspires has quit []
<pontiki> night all
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
apeiros has quit [Ping timeout: 252 seconds]
<mnemon> monday22: gem specifications gemnamehere
nfk has joined #ruby
monkegjinni has quit [Ping timeout: 255 seconds]
Xeago has quit [Ping timeout: 272 seconds]
timonv has quit [Ping timeout: 272 seconds]
nerdy has quit [Quit: Computer has gone to sleep.]
bal has joined #ruby
<sevenseacat> unknown command specifications, here
<mnemon> *specification
mostlybadfly has quit [Quit: Connection closed for inactivity]
krz has quit [Read error: Connection reset by peer]
<sevenseacat> hey cool :)
charliesome has joined #ruby
gruz0[russia] has quit [Quit: This computer has gone to sleep]
krz has joined #ruby
<sevenseacat> a bit hard to read because its just a yaml dump, but still, cool
gruz0[russia] has joined #ruby
subraminion has joined #ruby
kireevco1 has quit [Quit: Leaving.]
why_away is now known as whyy
kiri has joined #ruby
jamto11 has joined #ruby
whyy has quit []
klaut has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
<monday22> mnemon: Unknown command specifications
bal has quit [Read error: Connection reset by peer]
bal has joined #ruby
ValicekB has quit []
<mnemon> monday22: yeah like i said, typo ... it's "gem specification"
toastynerd has joined #ruby
<monday22> mnemon: pk, thanks. wonder that this command is not listed under gem -h
gruz0[russia] has quit [Quit: This computer has gone to sleep]
etqqkoiflwhb__ has joined #ruby
<Hanmac1> monday reading helps "gem help commands list all 'gem' commands"
lxsameer has joined #ruby
ta has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby
adhdhero has joined #ruby
<adhdhero> I can't concentrate. Can you recommend a good concentration camp with nice Jewish kids for me?
alexju has joined #ruby
fgo has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
fantazo has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
anaeem1_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
holden247 has joined #ruby
Macaveli has joined #ruby
duncannz has joined #ruby
duncannz has joined #ruby
duncannz has quit [Client Quit]
duncannz has quit [Client Quit]
ValicekB has joined #ruby
sarkis has quit [Ping timeout: 264 seconds]
DouweM has quit [Ping timeout: 276 seconds]
duncannz has joined #ruby
jackneill has joined #ruby
sinkensa_ has joined #ruby
arya_ has joined #ruby
sinkensa_ has quit [Ping timeout: 240 seconds]
bigkevmcd has joined #ruby
tomaw has quit [Ping timeout: 610 seconds]
combusean has quit [Quit: Leaving.]
tomaw has joined #ruby
monday22 has quit [Quit: Page closed]
fgo has joined #ruby
jprovazn has joined #ruby
toastynerd has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
jarray52 has joined #ruby
mengu has quit [Ping timeout: 245 seconds]
Asher has quit [Remote host closed the connection]
<jarray52> Is there any way to call module methods (i.e methods defined with def self.my_method) as class methods from a class that mixes in the module?
Asher1 has joined #ruby
Asher1 is now known as Asher
CorpusCallosum has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
ghr has quit [Ping timeout: 240 seconds]
arya_ has joined #ruby
axl_ has joined #ruby
sinkensabe has joined #ruby
ByronJohnson has joined #ruby
ByronJohnson has left #ruby [#ruby]
axl_ has quit [Client Quit]
MrDoctor has quit [Ping timeout: 240 seconds]
narendraj9 has joined #ruby
mijicd has quit [Quit: Lost terminal]
zigomir has joined #ruby
fabrice31 has joined #ruby
subraminion has quit [Remote host closed the connection]
subraminion has joined #ruby
baroquebobcat has joined #ruby
<Hanmac1> jarray52: nope, you need module_function
Hanmac1 is now known as Hanmac
Morkel has joined #ruby
<adhdhero> I can't concentrate. Can you recommend a good concentration camp with nice Jewish kids for me?
<jarray52> Hanmac1: what is module_function?
baroquebobcat has quit [Client Quit]
mijicd has joined #ruby
<jarray52> Hanmac1: Google helped me out.
<jarray52> I'm reading up on that one.
mijicd has quit [Client Quit]
mijicd has joined #ruby
<Hanmac> apeiros: huhu
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mon_Ouie> Wrong 'a' I think
arya__ has joined #ruby
ghr has joined #ruby
arya_ has quit [Ping timeout: 240 seconds]
ghr has quit [Client Quit]
ghr has joined #ruby
riotjone_ has quit [Quit: waT]
timonv has joined #ruby
noop has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
holden247 has left #ruby [#ruby]
anarang has quit [Quit: Leaving]
mijicd has quit [Quit: leaving]
<apeiros> hi Hanmac
mijicd has joined #ruby
<Hanmac> apeiros: look at the last lines of adhdhero
<apeiros> Hanmac: oh dear
Xeago has joined #ruby
adhdhero was kicked from #ruby by apeiros [absolutely inappropriate. go away.]
<Mon_Ouie> Oh man, I hadn't even read what he said
mijicd has quit [Client Quit]
<apeiros> Hanmac: thank you very much
<apeiros> such scum is not welcome here.
timonv has quit [Ping timeout: 255 seconds]
ddv has quit [Changing host]
GriffinHeart has joined #ruby
LiohAu has joined #ruby
alem0lars has joined #ruby
harryk has joined #ruby
grieg has joined #ruby
arya_ has joined #ruby
shevy has quit [Ping timeout: 244 seconds]
anarang has joined #ruby
arya__ has quit [Ping timeout: 272 seconds]
harryk has quit [Ping timeout: 244 seconds]
<certainty> ugh, disgusting.
<certainty> also moin
harryk has joined #ruby
mijicd has joined #ruby
zarubin has joined #ruby
mijicd has quit [Client Quit]
mijicd has joined #ruby
mijicd has quit [Client Quit]
Takle has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mijicd has joined #ruby
alex88 has joined #ruby
relix has joined #ruby
ValicekB has quit []
tectonic has quit []
mehlah has joined #ruby
Takle has quit [Ping timeout: 272 seconds]
shevy has joined #ruby
klaut has quit [Remote host closed the connection]
ValicekB has joined #ruby
kwd has joined #ruby
ctp has quit [Quit: Textual IRC Client: www.textualapp.com]
Port3M5[Work] has quit [Remote host closed the connection]
rdark has joined #ruby
ta has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
<tagrudev> certainty, yolonized
etqqkoiflwhb___ has joined #ruby
mrnugget has joined #ruby
Port3M5[Work] has joined #ruby
hermanmunster has quit [Remote host closed the connection]
etqqkoiflwhb___ has quit [Client Quit]
etqqkoiflwhb__ has quit [Ping timeout: 272 seconds]
hermanmunster has joined #ruby
senayar has joined #ruby
luckyruby has quit [Quit: Leaving...]
arya_ has quit [Ping timeout: 264 seconds]
hermanmunster has quit [Ping timeout: 252 seconds]
testcore has quit [Quit: [BX] mIRCrap: JUST DON'T DO IT!]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
schaary|afk is now known as schaary
frosgy has joined #ruby
Zai00 has joined #ruby
lw_ has joined #ruby
relix has joined #ruby
mikecmpbll has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has joined #ruby
frogsy has quit [Ping timeout: 244 seconds]
spider-mario has joined #ruby
monkegjinni has joined #ruby
lw has quit [Ping timeout: 244 seconds]
Vivekananda has quit [Ping timeout: 264 seconds]
arya_ has joined #ruby
Takle has joined #ruby
pvb has quit [Ping timeout: 244 seconds]
monkegjinni has quit [Ping timeout: 264 seconds]
monkegjinni has joined #ruby
CorpusCallosum has quit [Read error: No route to host]
alem0lars has quit [Quit: Going AFK...]
relix has quit [Read error: Connection reset by peer]
relix has joined #ruby
roolo has joined #ruby
xcv has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
jamto11 has joined #ruby
MrDoctor has joined #ruby
boris has joined #ruby
LekeFly has joined #ruby
etqqkoiflwhb___ has joined #ruby
Joulse has joined #ruby
timonv has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamto11 has quit [Ping timeout: 240 seconds]
arya__ has joined #ruby
mehlah has quit [Quit: Leaving...]
m1lt0n has joined #ruby
Hobogrammer has quit [Ping timeout: 244 seconds]
mijicd has quit [Remote host closed the connection]
mehlah has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
Guest5953 has joined #ruby
Takle has quit [Remote host closed the connection]
kilk_ has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
RubyPanther has quit [Ping timeout: 255 seconds]
blackthor has quit [Ping timeout: 240 seconds]
mijicd has joined #ruby
RubyPanther has joined #ruby
zoraj has joined #ruby
mijicd has quit [Remote host closed the connection]
charliesome has joined #ruby
olivier_bK has joined #ruby
monkegjinni has quit [Remote host closed the connection]
toastynerd has quit [Ping timeout: 252 seconds]
subraminion has quit [Quit: Computer has gone to sleep.]
Joulse has quit [Quit: Joulse]
andrewlio has joined #ruby
klaut has joined #ruby
frosgy has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
jhass|off is now known as jhass
Deele has joined #ruby
arya_ has joined #ruby
shredding has joined #ruby
arya__ has quit [Ping timeout: 240 seconds]
moritzs has joined #ruby
mehlah has quit [Quit: Leaving...]
arya__ has joined #ruby
mijicd has joined #ruby
mehlah has joined #ruby
arya_ has quit [Ping timeout: 244 seconds]
xcv has quit [Remote host closed the connection]
mailo has joined #ruby
arya_ has joined #ruby
moritzs has quit [Read error: No route to host]
subraminion has joined #ruby
subraminion has quit [Remote host closed the connection]
cibs has quit [Quit: leaving]
arya__ has quit [Ping timeout: 255 seconds]
subraminion has joined #ruby
moritzs has joined #ruby
roolo has quit [Ping timeout: 272 seconds]
arya__ has joined #ruby
mrnugget has quit [Quit: mrnugget]
arya_ has quit [Ping timeout: 264 seconds]
mijicd has quit [Quit: Lost terminal]
moritzs has quit [Ping timeout: 240 seconds]
NET||abuse has quit [Quit: WeeChat 0.4.2]
schickung has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
narendraj9 has quit [Quit: Connection closed for inactivity]
arya_ has joined #ruby
obs has joined #ruby
sarkis has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
arya__ has quit [Ping timeout: 240 seconds]
sourabh has joined #ruby
cibs has joined #ruby
alexju has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 264 seconds]
AlSquire has joined #ruby
Joulse has joined #ruby
mijicd has joined #ruby
dreamchaser has joined #ruby
sarkis has quit [Ping timeout: 240 seconds]
mijicd has quit [Remote host closed the connection]
davispuh has quit [Remote host closed the connection]
mijicd has joined #ruby
heftig has joined #ruby
arya_ has quit [Ping timeout: 252 seconds]
Takle has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
Nameo0 has quit [Read error: Connection reset by peer]
dreamchaser has quit [Ping timeout: 264 seconds]
mijicd has quit [Remote host closed the connection]
Shidash has quit [Quit: Leaving.]
b00stfr3ak has quit [Ping timeout: 252 seconds]
mijicd has joined #ruby
mijicd has quit [Remote host closed the connection]
dreamchaser has joined #ruby
decoponio has joined #ruby
ohvlad has joined #ruby
mijicd has joined #ruby
wald0 has joined #ruby
schickung has quit [Quit: schickung]
shredding has quit [Quit: shredding]
obs has left #ruby [#ruby]
sourabh has quit [Quit: Page closed]
DouweM has joined #ruby
rube_ has joined #ruby
<rube_> hi
<jhass> hi
dilated_dinosaur has joined #ruby
Morkel has quit [Quit: Morkel]
workmad3 has joined #ruby
mijicd has quit [Remote host closed the connection]
arya_ has joined #ruby
sevenseacat has quit [Quit: Leaving.]
frogsy has joined #ruby
workmad3 has quit [Client Quit]
dreamchaser has quit [Ping timeout: 264 seconds]
<rube_> what's this syntax called? I can't find anything in the internet: def myfunc(:hey 'blah')
arya__ has joined #ruby
<Mon_Ouie> It's called a syntax error
mijicd has joined #ruby
workmad3 has joined #ruby
nitr has quit [Remote host closed the connection]
shredding has joined #ruby
<Edelwin> :')
arya_ has quit [Ping timeout: 245 seconds]
toastynerd has joined #ruby
<Hanmac> rube_: you are looking for "def myfunc(hey: 'blah')"
sinkensabe has joined #ruby
<rube_> eoops
<rube_> sorry
<rube_> yeah, that one
survili has joined #ruby
<jhass> that's a keyword argument, new in 2.0
<apeiros> those are named/keyword arguments
<Nilium> Thought that was in 1.9
<apeiros> Nilium: only caller side
<jhass> Nilium: don't mistake it for the new hash literal syntax
<Nilium> I'm not. I also hate the new hash literal syntax.
<rube_> oh right. thanks guys :)
<apeiros> I hate that it was used for hashes. now there's no distinction between named arguments and hashes.
<Nilium> I hate that it makes symbol->symbol hashes look really weird if you don't use =>
<apeiros> which has led to obvious and predictable issues :-/
<Hanmac> you mean like that?
<Hanmac> >> { key: :value }
<eval-in> Hanmac => {:key=>:value} (https://eval.in/163319)
<Nilium> Also odd that keyword/named arguments can only have symbols as names.
<Hanmac> Nilium: thats not odd
<survili> Hi all. I have a project, in which I'm dynamically requiring .rb files and then using Kernel.const_get I get reference to the class.. it all works fine using MRI, but I want to run my project in Jruby and for some reason the call to Kernel.const_get throws exception "wrong constant name XXX:Yyyy". I am wondering, is there some different way I can dynamically require .rb files and the get reference to them ?
heftig has quit [Quit: Quitting]
<jhass> Nilium: they don't? they just look the same
<jhass> they're still variables
<Hanmac> survili: thats because your Jruby is to old
<Nilium> jhass: No, I mean you can't do foo(**{ 1 => 3 })
<jhass> sure not, you can't have a local named 1
<Hanmac> Nilium: are you sure?
toastynerd has quit [Ping timeout: 244 seconds]
<survili> Hanmac: don't know what is the reason, I'm wondering how it runs rails... but can you help me with alternative to Kernel.const_get ?
<Nilium> >> def foo(**k) ; end ; foo(**{ 1 => 3})
<eval-in> Nilium => wrong argument type Fixnum (expected Symbol) (TypeError) ... (https://eval.in/163320)
<Hanmac> yep "wrong argument type Fixnum (expected Symbol)"
mijicd has quit [Remote host closed the connection]
<jhass> Nilium: that's like expecting instance_variable_set(1, 3) to work
<Nilium> ..
<DouweM> Nilium: how would you have that work?
<DouweM> jhass: yeah exactly
<Nilium> Have it get swallowed.
<Nilium> It either goes in the catch-all argument or it's an error.
pylix has quit [Ping timeout: 244 seconds]
<DouweM> Nilium: swallowing is asking for trouble
<Hanmac> survili: the internal ruby version for this jruby to old ... it runs in 1.8 mode which is outdated ... ask at #jruby why they are outdated
<jhass> Nilium: the point of introducing named arguments is having validation by the interpreter
mijicd has joined #ruby
<Nilium> I'm not serious about having it work, I'm just pointing out it's odd since it ends up being a hash
<Nilium> A limited hash, anyway
<survili> Hanmac: actually I'm running in 1.9 mode(ruby "1.9.3", :engine => "jruby", :engine_version => "1.7.12"). I asked on #jruby but not getting any answers for 30 min, so I thought I'd try my luck here
mijicd has quit [Remote host closed the connection]
Guest5953 is now known as marr
<jhass> Nilium: no you convert a hash to named arguments and then named arguments to hash, that's two conversions steps which shouldn't short-circuit. If you want to pass a hash, accept a hash
etqqkoiflwhb___ has quit [Quit: Lingo - http://www.lingoirc.com]
Takle has quit [Remote host closed the connection]
<Nilium> You're kind of missing the point
lkba has quit [Ping timeout: 245 seconds]
<Hanmac> >> def foo(**h);h;end;foo(**{ 1 => 3,:a => 4 }.select {|k,_|k.is_a?(Symbol)})
<eval-in> Hanmac => {:a=>4} (https://eval.in/163321)
<apeiros> I have difficulties common up with a sane situation where that would be an issue
<Nilium> There is no sane situation
<apeiros> if you have a hash with arguments and non-arguments mixed, you're probably doing something very very wrong long before this
<Nilium> Well, except maybe in someone's inane pretend DSL
<Nilium> Are we done calling ruby scripts DSLs yet?
<Nilium> Can I make fun of those people?
<apeiros> if you consider "ruby applications" a domain…
<apeiros> and you can make fun of all people all the time.
<survili> Hanmac: is that for me ? (def foo(**h);h;end;foo(**{ 1 => 3,:a => 4 }.select {|k,_|k.is_a?(Symbol)})) ?
<Hanmac> survili: nope
<apeiros> survili: top level constant is Object, not Kernel
<apeiros> survili: but if it works in MRI and doesn't work in JRuby (for the same RUBY_VERSION), then you should report it as a bug to jruby anyway
<Hanmac> >> Object.const_get("RbConfig::CONFIG");0
<eval-in> Hanmac => 0 (https://eval.in/163322)
<Hanmac> 20>> Object.const_get("RbConfig::CONFIG");0
<eval-in> Hanmac => 0 (https://eval.in/163323)
<Hanmac> 19>> Object.const_get("RbConfig::CONFIG");0
<eval-in> Hanmac => wrong constant name RbConfig::CONFIG (NameError) ... (https://eval.in/163324)
<Hanmac> survili: what is your MRI version?
mailo has quit [Remote host closed the connection]
<DouweM> Hanmac: I'm out of the loop, what changed in 2.0 to make that valid? why wasn't it before?
<jhass> DouweM: 2.0 just added the feature to resolve that in const_get
<Hanmac> 19>> "RbConfig::CONFIG".spit("::").inject(Object,:const_get);0
<eval-in> Hanmac => undefined method `spit' for "RbConfig::CONFIG":String (NoMethodError) ... (https://eval.in/163326)
<Hanmac> 19>> "RbConfig::CONFIG".split("::").inject(Object,:const_get);0
<jhass> DouweM: so people can get rid of the .split.inject(Object) stuff
<eval-in> Hanmac => 0 (https://eval.in/163328)
<DouweM> ah, what changed is the :: resolution
<DouweM> yeah, sure
railzForDaiz has joined #ruby
<DouweM> wasn't aware that didn't work before. nice
gruz0[russia] has joined #ruby
Takle has joined #ruby
barratt has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
kilk_ has joined #ruby
sinkensabe has joined #ruby
kilk_ has quit [Client Quit]
matrixise has quit [Ping timeout: 245 seconds]
kilk_ has joined #ruby
xcv has joined #ruby
kilk_ has quit [Client Quit]
MK has joined #ruby
MK is now known as Guest98048
sinkensabe has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
nitr has joined #ruby
Guest98048 has left #ruby [#ruby]
<survili> Hanmac: 2.1.1 amd 2.1.2, both worked
hello_world101 has joined #ruby
<Hanmac> survili: thats why, your jruby version is older than your MRI verstion thats why something like that happens
kyb3r_ has quit [Read error: Connection reset by peer]
mist has quit [Ping timeout: 612 seconds]
moritzs has joined #ruby
sinkensabe has joined #ruby
<survili> Hanmac: you think, it won't work in MRI 1.9.3 ? Kernel.const_get is it something relatively new ? (I haven't seen it as something new in Ruby 2)
hello_world101 has quit [Client Quit]
<Hanmac> survili: Object.const_get("RbConfig::CONFIG") does not work on 1.9 and lower, you need "RbConfig::CONFIG".split("::").inject(Object,:const_get) there
fgo has quit [Remote host closed the connection]
gruz0[russia] has quit [Quit: This computer has gone to sleep]
zoraj_ has joined #ruby
hello_world101 has joined #ruby
hello_world101 has quit [Client Quit]
oo_ has joined #ruby
ohvlad has quit [Ping timeout: 244 seconds]
zoraj has quit [Ping timeout: 264 seconds]
tobago has quit [Remote host closed the connection]
subraminion has quit [Quit: Computer has gone to sleep.]
MrDoctor has quit []
fabrice31 has quit [Remote host closed the connection]
sarkis has joined #ruby
Mattias has quit [Ping timeout: 245 seconds]
tiguser has quit [Ping timeout: 276 seconds]
obs has joined #ruby
Mattias has joined #ruby
Arkaniad has quit [Remote host closed the connection]
roby77 has joined #ruby
<roby77> !ciao
<roby77> !lista
gigetoo has quit [Ping timeout: 245 seconds]
sarkis has quit [Ping timeout: 240 seconds]
jamto11 has joined #ruby
roby77 has left #ruby [#ruby]
tiguser has joined #ruby
gigetoo has joined #ruby
pranny has joined #ruby
tkuchiki has quit [Remote host closed the connection]
subraminion has joined #ruby
subraminion has quit [Remote host closed the connection]
tkuchiki has joined #ruby
subraminion has joined #ruby
jamto11 has quit [Ping timeout: 245 seconds]
mrmist has joined #ruby
tiguser has quit [Ping timeout: 252 seconds]
obs has left #ruby [#ruby]
frosgy has joined #ruby
mrmist is now known as mist
tiguser has joined #ruby
maximski has joined #ruby
frogsy has quit [Ping timeout: 272 seconds]
franka_ has joined #ruby
Dingus has joined #ruby
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
seaned has joined #ruby
mrnugget has joined #ruby
Joulse has quit [Quit: Joulse]
<survili> Hanmac: thanks, I will try that now!
ayaz has joined #ruby
railzForDaiz has quit [Ping timeout: 240 seconds]
Joulse has joined #ruby
DrCode has quit [Remote host closed the connection]
hackeron has quit [Ping timeout: 245 seconds]
DrCode has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
hackeron has joined #ruby
fgo has joined #ruby
toastynerd has joined #ruby
railzForDaiz has joined #ruby
<survili> Hanmac: THANKS A LOT!
fgo has quit [Ping timeout: 240 seconds]
subraminion has quit [Quit: Computer has gone to sleep.]
toastynerd has quit [Ping timeout: 272 seconds]
pranny has quit [Quit: Leaving.]
pranny has joined #ruby
himsin has quit [Quit: himsin]
zoraj_ has quit []
zoraj has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
seaned has quit [Quit: seaned]
Takle has quit [Remote host closed the connection]
DrCode has quit [Ping timeout: 264 seconds]
Asher has quit [Read error: Connection reset by peer]
pranny has quit [Quit: Leaving.]
adnausea1 has quit [Ping timeout: 252 seconds]
Asher has joined #ruby
obs has joined #ruby
Asher has quit [Read error: Connection reset by peer]
adnauseam has joined #ruby
subraminion has joined #ruby
mengu has quit []
Joulse has quit [Quit: Joulse]
Asher has joined #ruby
DrCode has joined #ruby
ephemerian has joined #ruby
roshanavand has joined #ruby
Takle has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<shevy> dumdedum
oo_ has quit [Remote host closed the connection]
<canton7> dedede
danijoo has joined #ruby
r_rios has joined #ruby
pranny has joined #ruby
duncannz has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
phoo1234567 has joined #ruby
<shevy> did you guys ever wish to package all dependencies of any given gem into the same gem?
<jhass> no
danshult_ has joined #ruby
joaoh82 has quit [Remote host closed the connection]
jackneill has quit [Quit: jackneill]
Darryl has quit [Quit: Connection closed for inactivity]
apx has joined #ruby
<apx> Ho! Is there a way to make Ruby dump the AST of the code?
sarkis has joined #ruby
apx has quit [Changing host]
apx has joined #ruby
<Mon_Ouie> apx: Ripper.sexp(code)
<Mon_Ouie> (You need to require 'ripper' first)
jarray52 has left #ruby [#ruby]
<apx> Is it possible to dump the AST of the current runtime code? That is, not requiring to pass the code but loading the target script
<apx> like require "ripper" require "targetscript" <dumpast>
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
blackthor has joined #ruby
sarkis has quit [Ping timeout: 240 seconds]
<Mon_Ouie> You can print File.open(__FILE__) { |io| Ripper.sexp(io) }
sinkensabe has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
<apx> tl;dr I am currently reverse engineering a rubyencoder encrypted script that was encoded by a coworker of us before he parted the company
sinkensabe has joined #ruby
<apx> There's a patch described at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/318464 that looks promising. Just asking if there's a another way
jackneill has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
Takle has quit [Remote host closed the connection]
kirun has joined #ruby
alem0lars has joined #ruby
<Mon_Ouie> Well I don't know about RubyEncoder so I wouldn't know what happens with it
fgo has joined #ruby
fgo has quit [Client Quit]
sinkensabe has quit [Ping timeout: 264 seconds]
<apx> It seems that in the binary of RubyEncoder it decrypts code by means of XOR, some blowfish hashing and CRC routines. then it dumps the resultcode to ruby and that's pretty much it as far as I can see
fschuindt has joined #ruby
fschuindt has quit [Max SendQ exceeded]
Takle has joined #ruby
dorei has joined #ruby
<dorei> hello, any idea how can I replace all whitespace at the beggining or the end of a String with underscores? some_string.gsub(/^\s+|\s+$/,'_') unfortunately replaces all whitespace at the beggining or the end with just one underscore
<canton7> dorei, two ways (that I can think of)
<canton7> 1) use the form of gsub which takes a block, and be smart about your replace string
oo_ has joined #ruby
<canton7> 2) make your rule match a single space (in the right place), and replace that with an underscore
<dorei> i dont think i understart 2, so i'll give 1 a try :)
Mon_Ouie has quit [Ping timeout: 272 seconds]
<canton7> yeah, 1) comes out really nicely
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
MrDoctor has joined #ruby
jespada has joined #ruby
gr33n7007h has joined #ruby
shredding has joined #ruby
<dorei> yeap, 1 works :) some_string.gsub(/^\s+|\s+$/) { $&.tr(' ', '_') }
<dorei> thanx canton7 :)
klaut has quit [Remote host closed the connection]
<canton7> sure, that works
<jhass> you're yielded the match, no need to resort to the global
<canton7> I'd have gone for .gubs(...){ |m| '_' * m.length } myself
<dorei> jhass: thanks, no global = less uglyness :)
oo_ has quit [Ping timeout: 255 seconds]
joaoh82 has joined #ruby
tkuchiki has joined #ruby
garndt has joined #ruby
yfeldblum has joined #ruby
toastynerd has joined #ruby
danshult_ has quit []
himsin has joined #ruby
gr33n7007h is now known as rubyXchat
rubyXchat is now known as gr33n7007h
teoric has joined #ruby
setra has joined #ruby
Ankhers has quit [Ping timeout: 264 seconds]
joaoh82 has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
toastynerd has quit [Ping timeout: 272 seconds]
<workmad3> dorei: don't forget that .tr(' ', '_") will only change spaces though
<workmad3> dorei: so you might really want "_" * match.size
autonomo_ has joined #ruby
GreekFreak has joined #ruby
<GreekFreak> hi all
<GreekFreak> I would like to display a string as following var = "Something '#{my_var}' cool". How do I escape the quotes from within the my_var variable?
autonomo_ has quit [Client Quit]
autonomousdev has joined #ruby
Mon_Ouie has joined #ruby
teoric has quit [Quit: WeeChat 0.4.2]
<gr33n7007h> GreekFreak, use backslash
gattuso has quit [Ping timeout: 260 seconds]
<workmad3> GreekFreak: you don't need to there
<GreekFreak> workmad3, I'm doing this "<span title='#{my_title}'>foobar</span>" If my_title has single quotes then I don't get the right title. It's on ROR
<workmad3> GreekFreak: that's a different type of quoting ;)
<workmad3> GreekFreak: namely, HTML output
<workmad3> GreekFreak: and you shouldn't be using raw strings for HTML... it bypasses all of the stuff rails gives you for generating good HTML output
<workmad3> GreekFreak: in your case, I'd suggest using 'content_tag(:span, title: my_title, "foobar")' (content_tag can also take a block for content too)
<GreekFreak> workmad3, I'm using this from withing a datatable (a custom class to display datatables), and not a .html.haml file
gattuso has joined #ruby
<GreekFreak> workmad3, it's a .rb file... hence the string
<workmad3> GreekFreak: I wasn't talking about template files either
<GreekFreak> workmad3, ok. let me try it
<workmad3> GreekFreak: content_tag is for generating HTML tags from within ruby files and helpers without resorting to spitting back string literals and screwing stuff up with home-rolled HTML escaping
<workmad3> GreekFreak: you may need to pull in a view helper or two to get to content_tag from within your own files... not sure which ones though ;P
TheKruex has joined #ruby
spider-mario_ has joined #ruby
spider-mario has quit [Ping timeout: 264 seconds]
spider-mario_ has quit [Remote host closed the connection]
pietr0 has joined #ruby
alem0lars has quit [Quit: alem0lars]
combusean has joined #ruby
joaoh82 has joined #ruby
lw_ has quit [Quit: s]
spider-mario has joined #ruby
<GreekFreak> workmad3, thank you. That's better and much cleaner. I'll fix all my code now. The helper you need to include is: ActionView::Helpers::TagHelper
sinkensabe has joined #ruby
himsin has quit [Quit: himsin]
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
dawkirst has joined #ruby
SCommette has joined #ruby
gr33n7007h has quit [Remote host closed the connection]
tus has joined #ruby
gr33n7007h has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
ldnunes has joined #ruby
combusean has quit [Quit: Leaving.]
GreekFreak has quit [Quit: Leaving]
sarkis has joined #ruby
sski has quit [Ping timeout: 240 seconds]
karupa is now known as zz_karupa
pietr0 has quit [Quit: pietr0]
kaspergrubbe has joined #ruby
jameswlane has joined #ruby
wald0 has quit [Quit: Lost terminal]
jamto11 has joined #ruby
sarkis has quit [Ping timeout: 244 seconds]
Takle has quit [Read error: Connection reset by peer]
Darryl has joined #ruby
Takle has joined #ruby
sski has joined #ruby
jamto11 has quit [Ping timeout: 244 seconds]
joaoh82 has quit []
paulfm has joined #ruby
seaned has joined #ruby
tvw has joined #ruby
vifino has joined #ruby
subraminion has quit [Quit: Computer has gone to sleep.]
Fire-Dragon-DoL has joined #ruby
subraminion has joined #ruby
alem0lars has joined #ruby
robertodecurnex has joined #ruby
yfeldblum has joined #ruby
Joulse has joined #ruby
sumark has quit [Remote host closed the connection]
mijicd has joined #ruby
oo_ has joined #ruby
ohvlad has joined #ruby
sumark has joined #ruby
pvb has joined #ruby
r_rios has quit [Ping timeout: 240 seconds]
newUser1234 has joined #ruby
monkegjinni has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
charliesome has quit [Ping timeout: 245 seconds]
bmurt has joined #ruby
kaspergr_ has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby
kaspergr_ has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
charliesome has joined #ruby
TheKruex has quit []
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
toastynerd has quit [Ping timeout: 272 seconds]
kaspergr_ has joined #ruby
Takle has quit [Remote host closed the connection]
rube_ has quit [Read error: Connection reset by peer]
arya__ is now known as arya_
rube_ has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
kilk_ has joined #ruby
SCommette has quit [Quit: SCommette]
fgo has joined #ruby
jameswlane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Havoc][ has joined #ruby
<Havoc][> hello
<jhass> hi
kaspergrubbe has quit [Ping timeout: 264 seconds]
<Havoc][> I get this Error on Debian: cannot load such file -- DateTime
<shevy> well
<workmad3> Havoc][: did you do 'require "date" '?
<Havoc][> I tought its a Standard Library...
survili has quit [Quit: Page closed]
<apeiros> that'd be because there's no such file in stdlib
<apeiros> it's date
<Havoc][> no, i did require DateTime
<apeiros> require 'date', gives you DateTime also
SCommette has joined #ruby
<jhass> the standard library is called date, it contains the class DateTime
<jhass> or was there even datetime?
<apeiros> also note that it is lowercase. 'date', not 'Date' (the file)
<shevy> this inconsistency is so annoying
<Havoc][> aaah, okay, is there any hint on http://www.ruby-doc.org/ where i can find that information which class i need?
dymv has joined #ruby
<apeiros> jhass: nope
<shevy> Havoc][ DateTime docu is here, but be warned, it's a joke http://www.ruby-doc.org/stdlib-2.1.1/libdoc/date/rdoc/DateTime.html
<jhass> Havoc][: http://www.ruby-doc.org/stdlib-2.1.2/ on the left side are the library names
<apeiros> Havoc][: the class name does not have to correspond with the filename
dymv has quit [Client Quit]
<apeiros> usually it will. sadly the stdlib isn't consistent there :(
roshanavand has quit [Ping timeout: 255 seconds]
<shevy> :)
mercwithamouth has joined #ruby
<Havoc][> okay, thanks guys
<Havoc][> it worked :-)
<shevy> like require 'optparse' and then having to use OptionParser.new
<apeiros> oh wow, datetime has been converted to a native extension? didn't notice…
<apeiros> shevy: or ostruct -> OpenStruct
<shevy> hehe
<workmad3> shevy: or 'require "securerandom" ' and then using SecureRandom...
<apeiros> it's regrettable and would be easy to fix.
<shevy> the thing I hated most was this example though:
<shevy> end.parse!(ARGV)
pranny has quit [Quit: Leaving.]
<apeiros> workmad3: well, *that* is in line with ruby conventions
<apeiros> secure_random is a rails convention
definiv has joined #ruby
<workmad3> apeiros: heh :) secure_random is also a rubygems convention now, isn't it? :P
SCommette has quit [Client Quit]
<shevy> workmad3 yeah that is not ideal but I think it is better than require 'xyz' -> LambadaDancer.new
<apeiros> though, the rails convention becomes more and more prevalent.
jerius has joined #ruby
dblessing has joined #ruby
<shevy> I find 'secure_random' easier to read than 'securerandom'
<workmad3> apeiros: but yeah... looking at all the stdlib, it seems there are no _ anywhere :)
newUser1_ has joined #ruby
<workmad3> apeiros: open-uri is somewhat confusing...
aantix has joined #ruby
monkegjinni has quit []
<workmad3> oh wait... one _... for mutex_m, which defines the class Mutex_m
<workmad3> *module
aantix has quit [Client Quit]
jameswlane has joined #ruby
<shevy> eeks
<workmad3> it's warted :(
<shevy> class MutexM
<shevy> that's also awful haha
<workmad3> shevy: it's a module
<apeiros> workmad3: yikes
<shevy> that I hate even more
<workmad3> shevy: the _m is a wart saying 'Mutex module'
<shevy> that you need to know whether it is a class or module before you can extend it
<shevy> class Foo; module Foo...
<shevy> agnostic Foo; def hi; puts 'YO MAN'; end; end
linojon has joined #ruby
obs has quit [Quit: obs]
<apeiros> should make a pull request, where the libs are renamed, and a placeholder is there which emits a deprecation warning
subraminion has quit [Remote host closed the connection]
<shevy> YES
<shevy> but they will think you are PEDANTIC
<apeiros> and then one major release later, placeholder raises with an info where to find it now
<workmad3> apeiros: you could do a first release as a rubygem :)
definiv has quit [Quit: leaving]
subraminion has joined #ruby
subraminion has quit [Changing host]
subraminion has joined #ruby
<shevy> don't distract him from his game!
<apeiros> workmad3: not a bad idea, since they want to gemify stdlib anyway
newUser1234 has quit [Ping timeout: 264 seconds]
<apeiros> (which is a good idea)
<apeiros> shevy: you're right!
<apeiros> game first!
* workmad3 distracts
<shevy> hehehe
<workmad3> although I should be getting lunch
zz_karupa is now known as karupa
<apeiros> funny bug atm - if you finish a research tree, you end up having these items for research: undefined (99999 RP)
<apeiros> (I fixed it, but didn't have time to test it yet :D)
flops has joined #ruby
karupa is now known as zz_karupa
<shevy> sounds more like a feature
<shevy> psy research
oo_ has quit [Remote host closed the connection]
<shevy> or whatever the name was of that race that gave a research boost...
<shevy> psilon?
<apeiros> yeah
<apeiros> psilons where the science race
<shevy> I liked them the most... those dudes that did not care about pollution were also cool
<apeiros> underground population was also nice
<apeiros> always tried to conquer them asap to send them around my empire
dvabr has quit [Quit: Textual IRC Client: www.textualapp.com]
Fire-Dragon-DoL has quit [Ping timeout: 240 seconds]
thesheff17 has joined #ruby
mary5030 has joined #ruby
Bumptious has quit [Remote host closed the connection]
roshanavand has joined #ruby
Bumptious has joined #ruby
newUser1_ has quit [Remote host closed the connection]
tier has joined #ruby
joaoh82 has joined #ruby
mary5030 has quit [Remote host closed the connection]
urinal-cake has quit []
klaut has joined #ruby
wald0 has joined #ruby
mary5030 has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
qwyeth has joined #ruby
definiv has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
Takle has joined #ruby
jameswlane has quit [Quit: Logging off]
Fire-Dragon-DoL has joined #ruby
danijoo has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
jottr has joined #ruby
danijoo has joined #ruby
stantona has joined #ruby
metasyntax has quit [Quit: Leaving]
lw has joined #ruby
Morkel has joined #ruby
DeanH has joined #ruby
TheKruex has joined #ruby
postmodern has quit [Quit: Leaving]
<lxsameer> hey guys, I have gem called ABC, i used ABC in my project. ABC have some gems inside its Gemfile (not in gemspec) does "bundle install" in my project cause those gems (in ABC's gemfile) install too ?
kaspergrubbe has joined #ruby
<jhass> no
Mattias has quit [Ping timeout: 245 seconds]
skylite has joined #ruby
armyriad has quit [Ping timeout: 240 seconds]
sarkis has joined #ruby
TheKruex has quit [Client Quit]
<lxsameer> jhass: is there any solution to do such a thing?
armyriad has joined #ruby
<jhass> properly declare your dependencies in your gemspec
diegoviola has joined #ruby
<lxsameer> jhass: i want to use https://rails-assets.org, is there any way to specify additional source in gemspec ?
Mattias has joined #ruby
yubrew has joined #ruby
<jhass> not that I'm aware of
Ankhers has joined #ruby
kaspergr_ has quit [Ping timeout: 264 seconds]
seaned has quit [Quit: seaned]
<jhass> since those are only fake gems, you probably have to add directions to your gems readme to include these
<mikecmpbll> i think you just add the sources to your gemfile.
stantona has quit [Remote host closed the connection]
stantona has joined #ruby
<mikecmpbll> nvm maybe not
<jhass> well, yes you could declare them in the gemspec and adding the source in the project Gemfile would probably work, it would break gem install'ing your gem though afaik
<jhass> and I'd find that confusing as hell
<Mon_Ouie> A gemspec keeps track of what dependencies there are, it doesn't care how you install them
sarkis has quit [Ping timeout: 252 seconds]
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
spyderman4g63 has joined #ruby
mary5030_ has joined #ruby
mary5030_ has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 240 seconds]
arya__ has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mary5030_ has joined #ruby
qwyeth_ has joined #ruby
alexju has joined #ruby
<lxsameer> thanks guys
mary5030 has quit [Ping timeout: 245 seconds]
qwyeth has quit [Ping timeout: 244 seconds]
diegoviola has joined #ruby
arya_ has quit [Ping timeout: 255 seconds]
djcp has joined #ruby
djcp has left #ruby [#ruby]
cocotton has joined #ruby
sinkensabe has quit [Ping timeout: 272 seconds]
mary5030_ has quit [Ping timeout: 240 seconds]
arya__ has quit [Read error: Connection reset by peer]
arya_ has joined #ruby
yfeldblum has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
mikesplain has joined #ruby
trhodes_ has quit [Ping timeout: 264 seconds]
jheg has joined #ruby
michaelchum has joined #ruby
oo_ has joined #ruby
andrewjanssen has joined #ruby
stantona has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 272 seconds]
jheg has quit [Ping timeout: 240 seconds]
alem0lars has quit [Quit: alem0lars]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
sinkensabe has joined #ruby
alem0lars has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
trhodes_ has joined #ruby
stantona has joined #ruby
Rollabunna has joined #ruby
sethetter has joined #ruby
dreamchaser has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
stantona has quit [Remote host closed the connection]
lord4163 has joined #ruby
ffranz has quit [Quit: Leaving]
Sawbones has joined #ruby
ffranz has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
schickung has joined #ruby
mary5030 has joined #ruby
toastynerd has joined #ruby
lxsameer has quit [Quit: Leaving]
ta has quit [Ping timeout: 244 seconds]
andrewjanssen has quit [Quit: Leaving...]
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Fire-Dragon-DoL has quit [Ping timeout: 240 seconds]
sski has quit [Remote host closed the connection]
alem0lars has quit [Quit: alem0lars]
sski has joined #ruby
HashNuke has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
alem0lars has joined #ruby
toastynerd has quit [Ping timeout: 255 seconds]
stantona has joined #ruby
byteoverfl0w has joined #ruby
LekeFly_ has joined #ruby
andrewjanssen has joined #ruby
maximski has quit []
oo_ has joined #ruby
Fire-Dragon-DoL has joined #ruby
sski has quit [Ping timeout: 272 seconds]
LekeFly has quit [Ping timeout: 272 seconds]
abuzze_ has joined #ruby
maximski has joined #ruby
MrDoctor has quit []
tvw has quit []
dilated_dinosaur has quit [Ping timeout: 240 seconds]
mrnugget has quit [Quit: mrnugget]
codabrink has joined #ruby
ta has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
abuzze_ is now known as abuzze
dreamchaser has joined #ruby
dreamchaser has quit [Client Quit]
pu22l3r has joined #ruby
metasyntax has joined #ruby
benzrf|offline is now known as benzrf
freerobby has joined #ruby
workmad3 has joined #ruby
hermanmunster has joined #ruby
oo_ has quit [Remote host closed the connection]
sski has joined #ruby
rube_ has quit [Quit: WeeChat 0.3.8]
bwlang has joined #ruby
diegovio1 has joined #ruby
mary5030 has quit [Remote host closed the connection]
subraminion has quit [Quit: Computer has gone to sleep.]
Zenigor has joined #ruby
sailias has joined #ruby
mrnugget has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
Takle has quit [Remote host closed the connection]
Fire-Dragon-DoL1 has joined #ruby
Fire-Dragon-DoL1 has quit [Read error: Connection reset by peer]
<bwlang> I need to run a ruby program (along with dependencies active_record, yaml, slop...) on a compute cluster where ruby is not installed. Is there a way to get everything in a single directory? bundler doesn't take care of ruby itself from what I can tell.
stantona has quit [Remote host closed the connection]
<bwlang> probably should have just written this in python .... ;)
Fire-Dragon-DoL has quit [Ping timeout: 264 seconds]
stantona has joined #ruby
cpruitt has joined #ruby
diegovio1 is now known as diegoviola
anaeem1_ has quit [Remote host closed the connection]
dilated_dinosaur has joined #ruby
almostwhitehat has joined #ruby
railzForDaiz has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
cocotton has quit [Remote host closed the connection]
snath has quit [Ping timeout: 264 seconds]
definiv_ has joined #ruby
railzForDaiz has joined #ruby
Takle has joined #ruby
jobewan has joined #ruby
mostlybadfly has joined #ruby
ehc has joined #ruby
<workmad3> bwlang: you could check out omnibus ruby packages
jamto11 has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
m1lt0n has quit [Quit: Lost terminal]
railzForDaiz has quit [Ping timeout: 244 seconds]
definiv_ has quit [Client Quit]
Parker0 has joined #ruby
alem0lars has quit [Quit: Going AFK...]
railzForDaiz has joined #ruby
sarkis has joined #ruby
lemur has joined #ruby
tiguser has quit [Ping timeout: 272 seconds]
abuzze has quit [Remote host closed the connection]
oo_ has joined #ruby
<shevy> guys
<shevy> it's the time of the day again
<shevy> down with the pants!
<shevy> has anyone of you implemented unix-like pipes in ruby?
robsonsnjr has joined #ruby
cocotton has joined #ruby
<robsonsnjr> z
cocotton has quit [Remote host closed the connection]
robsonsnjr has left #ruby ["Leaving..."]
tiguser has joined #ruby
<benzrf> shevy: somebody implemented them in haskell long ago :-D
cocotton has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
<shevy> hmm
sarkis has quit [Ping timeout: 255 seconds]
<shevy> on my todo list is to get audio and videofilters
<shevy> like in avisynth
kevind has joined #ruby
cocotton has quit [Remote host closed the connection]
<shevy> Trim(0, 12000) ++ Trim(20000, 32000) ++ Trim(44000, 0)
<shevy> AudioDub(video, audio) # two variables, video, audio, to mux the video and audio tracks together into a new file
yfeldblum has joined #ruby
speakingcode has quit [Ping timeout: 272 seconds]
Zenigor has quit [Remote host closed the connection]
stantona has quit [Remote host closed the connection]
diegovio1 has joined #ruby
Bumptious has quit [Remote host closed the connection]
Zenigor has joined #ruby
mary5030 has joined #ruby
Bumptious has joined #ruby
Takle has quit [Remote host closed the connection]
tiguser has quit [Ping timeout: 244 seconds]
diegoviola has quit [Ping timeout: 244 seconds]
mary5030 has quit [Remote host closed the connection]
chipotle_ has quit [Quit: cya]
mary5030 has joined #ruby
momomomomo has joined #ruby
lmickh has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
kilk_ has quit [Ping timeout: 244 seconds]
jottr has joined #ruby
tiguser has joined #ruby
kilk_ has joined #ruby
cocotton has joined #ruby
streblo has joined #ruby
cocotton has quit [Remote host closed the connection]
whowantstolivefo has joined #ruby
cocotton has joined #ruby
subraminion has joined #ruby
Joulse has quit [Quit: Joulse]
Takle has joined #ruby
kilk_ has quit [Remote host closed the connection]
stantona has joined #ruby
kilk_ has joined #ruby
Bumptious has quit [Ping timeout: 264 seconds]
railzForDaiz has quit [Ping timeout: 272 seconds]
<bwlang> workmad3: I'll look at omnibus - thanks for replying
stantona has quit [Remote host closed the connection]
railzForDaiz has joined #ruby
mengu has quit []
subraminion has quit [Quit: Lingo - http://www.lingoirc.com]
sarkis has joined #ruby
dANOKELOFF has joined #ruby
tagrudev has quit [Remote host closed the connection]
apeiros has joined #ruby
tiguser has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
stantona has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
asteve has joined #ruby
ohvlad has quit []
RaCx has joined #ruby
echevemaster has joined #ruby
gr33n7007h has quit [Ping timeout: 255 seconds]
NukePuppy has joined #ruby
LadyRainicorn has joined #ruby
utkarsh_ has quit [Remote host closed the connection]
stantona has quit [Remote host closed the connection]
utkarsh_ has joined #ruby
baroquebobcat has joined #ruby
toastynerd has joined #ruby
definiv has quit [Quit: leaving]
Joulse has joined #ruby
gruz0[russia] has joined #ruby
tiguser has joined #ruby
ta has quit [Ping timeout: 252 seconds]
jottr has quit [Ping timeout: 252 seconds]
ta has joined #ruby
rotor has quit [Ping timeout: 240 seconds]
jprovazn has quit [Quit: Leaving]
BWStearn1 has quit [Ping timeout: 264 seconds]
jprovazn has joined #ruby
definiv has joined #ruby
andrewjanssen has joined #ruby
Takle has quit [Remote host closed the connection]
<AntelopeSalad> when you push a gem rubygems prompts you for your email/password once but then once you've entered it, it stores it somewhere for the next time
<AntelopeSalad> where does it store this info?
oo_ has quit [Remote host closed the connection]
jprovazn has quit [Client Quit]
definiv has quit [Client Quit]
definiv has joined #ruby
armyriad has quit [Ping timeout: 252 seconds]
toastynerd has quit [Ping timeout: 272 seconds]
<jhass> .gem/credentials
<definiv> l
definiv has quit [Client Quit]
GGMethos has quit [Quit: WeeChat 0.4.3]
<AntelopeSalad> jhass: thanks
zarubin has quit []
definiv has joined #ruby
sski has quit [Remote host closed the connection]
treehug88 has joined #ruby
definiv has quit [Client Quit]
sski has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
shredding has quit [Quit: shredding]
benzrf is now known as benzrf|offline
obs has joined #ruby
<shevy> jhass knows it all
Bumptious has joined #ruby
definiv has joined #ruby
<shevy> hmm
<shevy> I don't seem to have a .gem/credentials file
<shevy> though
<shevy> I think I reinstalled everything
<shevy> so I might be on a new machine
tiguser has quit [Ping timeout: 244 seconds]
definiv has quit [Client Quit]
Takle has joined #ruby
sski has quit [Ping timeout: 252 seconds]
MZAWeb has joined #ruby
definiv has joined #ruby
olivier_bK has quit [Ping timeout: 245 seconds]
Vivekananda has joined #ruby
definiv has quit [Client Quit]
aganov has quit [Remote host closed the connection]
definiv has joined #ruby
xcv has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
tiguser has joined #ruby
diegovio1 is now known as diegoviola
matrixise has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
Takle has joined #ruby
rotor has joined #ruby
jamto11 has quit [Read error: Connection reset by peer]
GGMethos has joined #ruby
arrubin has joined #ruby
definiv has quit [Client Quit]
RaCx has joined #ruby
bal has quit [Quit: bal]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
byteoverfl0w has quit [Quit: Leaving... have a good one...]
bal has joined #ruby
jamto11 has joined #ruby
MZAWeb has quit [Ping timeout: 272 seconds]
definiv has joined #ruby
mikepack has joined #ruby
definiv has quit [Client Quit]
definiv has joined #ruby
mikepack has quit [Remote host closed the connection]
definiv has quit [Client Quit]
noop has quit [Ping timeout: 264 seconds]
definiv has joined #ruby
definiv has quit [Client Quit]
definiv has joined #ruby
BWStearns has joined #ruby
definiv has quit [Client Quit]
boris has quit [Remote host closed the connection]
IceDragon has joined #ruby
LekeFly_ has quit [Ping timeout: 240 seconds]
geggam has joined #ruby
rayners has joined #ruby
cro_ has joined #ruby
cro_ has left #ruby [#ruby]
tus has quit [Excess Flood]
theberlin has joined #ruby
tus has joined #ruby
tus has joined #ruby
tus has quit [Changing host]
jamto11 has quit [Ping timeout: 272 seconds]
bal has quit [Quit: bal]
tus has quit [Client Quit]
mikepack has joined #ruby
enebo has joined #ruby
BWStearns has quit [Ping timeout: 255 seconds]
diegovio1 has joined #ruby
definiv has joined #ruby
diegoviola is now known as Guest33380
BWStearns has joined #ruby
diegovio1 is now known as diegoviola
theberlin has quit [Client Quit]
olivier_bK has joined #ruby
Guest33380 has quit [Ping timeout: 240 seconds]
benzrf|offline is now known as benzrf
Macaveli has quit [Ping timeout: 252 seconds]
GriffinHeart has quit [Remote host closed the connection]
kaspergr_ has joined #ruby
greenarrow has joined #ruby
GriffinHeart has joined #ruby
anaeem1 has joined #ruby
jfran has joined #ruby
toastynerd has joined #ruby
MZAWeb has joined #ruby
kaspergrubbe has quit [Ping timeout: 264 seconds]
anaeem1 has quit [Remote host closed the connection]
thomasxie has joined #ruby
anaeem1 has joined #ruby
ixti has joined #ruby
ta has quit [Remote host closed the connection]
kwd has quit [Quit: kwd]
anaeem1 has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 240 seconds]
BWStearns has quit [Quit: Lost terminal]
yfeldblum has joined #ruby
oo_ has joined #ruby
terrellt has joined #ruby
thomasxie has quit [Remote host closed the connection]
alex88 has quit [Ping timeout: 244 seconds]
chrisbolton has joined #ruby
mehlah has quit [Quit: Leaving...]
fabrice31 has quit [Remote host closed the connection]
snath has joined #ruby
fabrice31 has joined #ruby
<chrisbolton> Good morning, I’m trying to print out a board via terminal with the location of a player on a map. The map is made up of 9 rooms, like a tic tac toe board. I’m just having trouble figuring out how to inject the location of the player. Player has a property of room which is identical to one of the rooms on the map, here is where I started … https://gist.github.com/Iknewthisguy/f5ee7653c5c888637398
boris has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
<chrisbolton> Any help would be appreciated.
mehlah has joined #ruby
aniM has joined #ruby
moritzs has quit [Ping timeout: 245 seconds]
cczona has joined #ruby
<shevy> simplest way would be to keep the whole board in a hash
kireevco has joined #ruby
<shevy> and use methods to manipulate that hash
oo_ has quit [Ping timeout: 244 seconds]
<chrisbolton> I actually have the board in a hash
<apeiros> chrisbolton: printable_board = board.dup; printable_board[player_position] = …whateveryouwanttoprint…; …
moted has joined #ruby
<apeiros> actually, board.keys instead of board.dup
ZyTer has joined #ruby
<chrisbolton> I just added the hash to the gist https://gist.github.com/Iknewthisguy/f5ee7653c5c888637398
fgo has quit [Remote host closed the connection]
<Edelwin> '/win 38
<Edelwin> hmmm shit
<Edelwin> sorry
toastynerd has quit [Remote host closed the connection]
setra has quit [Ping timeout: 252 seconds]
fabrice31 has quit [Ping timeout: 245 seconds]
Rollabunna has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<chrisbolton> apeiros: Your suggestion is to find the position of the player on the board and then …? Maybe I’m missing something. I can find the position of the player on the board. Im just struggling with how to print something that represents the players location via minimal gui.
tus has joined #ruby
tus has quit [Excess Flood]
tus has joined #ruby
tus has quit [Client Quit]
tus has joined #ruby
tus has quit [Client Quit]
jonahR has joined #ruby
joaoh82 has quit [Remote host closed the connection]
maletor has joined #ruby
tus has joined #ruby
lbwski has quit [Ping timeout: 252 seconds]
diegoviola has quit [Ping timeout: 255 seconds]
alem0lars has quit [Quit: Going AFK...]
maximski has quit []
diegovio1 has joined #ruby
<slash_nick> use cartesian coordinates?
diegovio1 is now known as diegoviola
RaCx has quit [Quit: Computer has gone to sleep.]
LekeFly has joined #ruby
cczona has quit [Remote host closed the connection]
maletor has quit [Ping timeout: 264 seconds]
axl_ has joined #ruby
rippa has joined #ruby
momomomomo has quit [Quit: momomomomo]
axl_ has quit [Client Quit]
tier has quit [Read error: Connection reset by peer]
xcv has joined #ruby
alex88 has joined #ruby
tier has joined #ruby
xcv has quit [Remote host closed the connection]
<apeiros> chrisbolton: well, that's your decision
<apeiros> you could mark the player as an X
<apeiros> or as an O
kaspergr_ has quit [Remote host closed the connection]
<apeiros> or if terminal colors are allowed, you could just blot a colored dot (via space with background color)
xcv has joined #ruby
xcv has quit [Remote host closed the connection]
toastynerd has joined #ruby
xcv_ has joined #ruby
Mapley is now known as Mapley[POR]
<jhass> ☃ <- there use that snowman
<apeiros>
<apeiros> it's a happy turd, after all (at least on OSX)
<apeiros> problem with those: they might be too wide for monospace font and thus kill layout
acrussell has joined #ruby
roshanavand has quit [Quit: Leaving]
<chrisbolton> apeiros: Right. I guess my question was less of how to find them or represent them but more how to show them on a board. I’m printing out the board in 3 rows of 3. Ideally I’d just like the players name below whatever room they are in. That’s what I’m struggling with.
baroquebobcat has joined #ruby
momomomomo has joined #ruby
<jhass> you mean you struggle with doing print "you're here" if room == player.room ?
cobakobodob has quit [Quit: WeeChat 0.4.3]
<apeiros> chrisbolton: ok, your question becomes more and more confusing
<chrisbolton> jhass: Did you look at the gist? https://gist.github.com/Iknewthisguy/f5ee7653c5c888637398 . I’m struggling with maintaining my board structure while showing the location of the player.
<apeiros> chrisbolton: maybe you show us an example output
toastynerd has quit [Ping timeout: 244 seconds]
frem has joined #ruby
<apeiros> chrisbolton: yes, *that* question I answered you. at least the way I understood your question.
<chrisbolton> apeiros: Was that your first answer?
<apeiros> yes
cobakobodob has joined #ruby
LiquidInsect has joined #ruby
<apeiros> if that's not the answer you're looking for, then again, I suggest you show us the desired output
<chrisbolton> apeiros: I added an example of what I’m looking for to the gist. https://gist.github.com/Iknewthisguy/f5ee7653c5c888637398
aantix has joined #ruby
<apeiros> oh, that looks odd…
<apeiros> your room width is not fixed?
<slash_nick> well you need to know the length of the longest word...
<chrisbolton> I’m open to other suggestions. I’m just trying to figure out a way to show the board with the player location
<apeiros> slash_nick: not really. only of the words in front of the name on the row where the player is located
Wolland has joined #ruby
ta has joined #ruby
<jhass> chrisbolton: so what's player? A string containing "Ted" ?
<chrisbolton> player is an instance of a Player class with a attr_accessor of name #=> Ted
dvabr has joined #ruby
endash has joined #ruby
<jhass> so how do you store the player position currently, not at all?
<slash_nick> apeiros: i dunno, row 1 is not aligned with row 2...with or without the presence of "Ted"
<apeiros> rows = board.keys; rows[player_y,0] = rows[player_y].map { |room| room.gsub(/./, ' ') }.tap { |row| row[player_x] = "Ted" }
<apeiros> slash_nick: yes, that's what I meant with regards to his rooms not being fixed length
<apeiros> slash_nick: but that means you align it with the row just above the player
<apeiros> chrisbolton: above code inserts a row with the player name aligned to the room he is. it assumes player_x and player_y containing the proper coordinates of the player
baroquebobcat has quit [Quit: baroquebobcat]
ZyTer has left #ruby [#ruby]
<apeiros> but IMO you really should align room width. unless there's a real reason not to
<apeiros> board.keys.max_by(&:length).length # <-- longest word
<chrisbolton> apeiros: Thank you. That denotes a x,y location instead of index as I was previously suggesting correct?
<Sigma00> maybe his game is about multiple dimensions and non-euclidean space
<apeiros> chrisbolton: yes. index can easily converted to x,y, though
<chrisbolton> Sigma00: I appreciate the benefit of the doubt but it’s not.
<apeiros> Sigma00: it'd be more interesting if it was hyperdimensional
<Sigma00> looks like the lazy argument wins again :P
robbyoconnor has quit [Ping timeout: 252 seconds]
<chrisbolton> This is a swag at a flat turn based training game for some of our interns.
aantix has quit [Quit: aantix]
<dideler|work> is using the ternary operator considered bad when the condition ends with a '?'? e.g. foo = thing.present? ? 0 : 1
norm has joined #ruby
<slash_nick> okay same question, but the rooms are aranged on the surface of a hemisphere
<dideler|work> is the double ? ? confusing?
aspires has joined #ruby
binaryhat has joined #ruby
dANOKELOFF has quit [Remote host closed the connection]
<jhass> I vote for no, it's not
devdazed has quit [Ping timeout: 245 seconds]
<chrisbolton> apeiros && slash_nick: Thank you for your help. I appreciate it.
_maes_ has joined #ruby
kwhite has joined #ruby
kwhite is now known as kmwhite
Takle has quit [Remote host closed the connection]
havenwood has joined #ruby
braincrash has quit [Quit: bye bye]
<apeiros> dideler|work: ternary in that situation is still fine IMO
definiv has quit [Ping timeout: 240 seconds]
<dideler|work> jhass, apeiros: thanks
maximski has joined #ruby
railzForDaiz has quit [Ping timeout: 240 seconds]
baroquebobcat has joined #ruby
lxsameer has joined #ruby
j75 has quit [Ping timeout: 244 seconds]
devdazed has joined #ruby
danman has joined #ruby
fantasticsid has joined #ruby
<shevy> dideler|work I find it rather ugly
<norm> can anyone check if this is safe? https://gist.github.com/anonymous/2afd4b18c5bf8c31b588
railzForDaiz has joined #ruby
chrisbolton has quit [Quit: chrisbolton]
<norm> specifically, storing Fiber.current outside the callback, then referencing it within
<shevy> dideler|work it becomes even more annoying if you do: foo? ? bla.ble? : bla.blo?
<dideler|work> shevy: what do you prefer, a simple if else?
<shevy> dideler|work that depends; sometimes I can do stuff like:
<shevy> x = 'default value here'
<shevy> x = 'something else' unless game_over?
<shevy> what I don't like about if/else is that you have to use an end :(
alem0lars has joined #ruby
<shevy> the best would be to not have to use any conditionals at all
<dideler|work> shevy: ha, that's actually the style of code i saw that made me think how to do it differently
hackeron_ has joined #ruby
<shevy> dideler|work well, ternary has one huge advantage aside from being ugly: it is so much shorter than if/else
<shevy> I think it depends a lot on how you tend to code in ruby
<shevy> some time ago I was annoyed at methods like this:
<shevy> def foo
<shevy> 5
mijicd has quit [Remote host closed the connection]
<shevy> end
timonv has joined #ruby
<shevy> so my genius idea was to do this
<shevy> def foo; 5; end
hgl has quit [Ping timeout: 255 seconds]
<shevy> until when I realized that it visually distracts me because the rest of the code with longer methods does not have any ; at all
Takle has joined #ruby
hackeron has quit [Ping timeout: 272 seconds]
<Mon_Ouie> You can halve the amount of semicolons in there by the way
braincrash has joined #ruby
<Mon_Ouie> def foo; 5 end
dda has joined #ruby
benzrf is now known as benzrf|offline
hackeron_ has quit [Ping timeout: 244 seconds]
cocotton has quit [Remote host closed the connection]
maestrojed has joined #ruby
hackeron has joined #ruby
schickung_ has joined #ruby
bricker`work has joined #ruby
schickung_ has quit [Client Quit]
obs has quit [Quit: obs]
<dideler|work> shevy: in that case, i agree with the community style guide "Avoid single-line methods" https://github.com/bbatsov/ruby-style-guide#source-code-layout
schickung has quit [Ping timeout: 240 seconds]
andrewjanssen has quit [Quit: Leaving...]
dawkirst has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
<shevy> I am not sure whose community that guide is but yeah, single lines just conflict with the rest of my code so I abandoned it again
RaCx has joined #ruby
<shevy> though I also sometimes like no-comments code
<shevy> class Foo
<shevy> def yippie; puts 'oki dokie'; end
fgo has joined #ruby
<shevy> def yappie; 'puts 'yappie pappy'; end
<shevy> end
<shevy> lol
<shevy> I even managed to produce code that is not working
xcv has joined #ruby
<shevy> dideler|work but just look at that style code
<shevy> it rants against single lines method
andrewjanssen has joined #ruby
<shevy> and then it goes to say that this is good:
<shevy> def no_op; end
<shevy> so what now!
<ddv> your code is your documentation
yfeldblum has joined #ruby
<ddv> comments are code smell imo
xcv__ has joined #ruby
hackeron_ has joined #ruby
fold has joined #ruby
<apeiros> ddv: within code, agreed
<apeiros> but API docs IMO not
toastynerd has joined #ruby
<ddv> true
<dideler|work> ddv: code can only describe so much, and it cannot explain why, only the how
<jhass> comments that explain what your code is doing are, comments that define / explain the api or why your code is doing what it's doing and not that other "smart" method, are mostly ok
<slash_nick> eh i appreciate entertaining comments
pu22l3r has quit [Ping timeout: 244 seconds]
dawkirst has joined #ruby
hackeron has quit [Ping timeout: 255 seconds]
dawkirst_ has joined #ruby
<jhass> oh yeah, nothing against a nice # TOTAL_HOURS_WASTED = 35 here or there
dumdedum has quit [Ping timeout: 252 seconds]
<apeiros> jhass: "comments explaining what your code is doing" - disagree there. agree with dideler|work
troyready has joined #ruby
<apeiros> there are rare moments where I comment the what. not because it was not possible to extract it into more digestable code, but because cost/benefit is just not given.
<apeiros> but those are usually cases of "stuff is already insanely complex"
fgo has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Remote host closed the connection]
xcv_ has quit [Ping timeout: 252 seconds]
stantona has joined #ruby
kaspergrubbe has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
xcv has quit [Ping timeout: 252 seconds]
<dideler|work> all else being equal, i'd rather work on commented code. i'd hate having to read through a bunch of code if i want to quickly find out what it does. and at the end of the day, code is written for computers, docs are for humans
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ddv> I have seen lots of commenting that is incomplete, insufficient, outdated, wrong, contradicts itself etc. Good code is easy to read and understand
yfeldblum has quit [Ping timeout: 272 seconds]
<apeiros> dideler|work: disagree :)
dawkirst has quit [Ping timeout: 244 seconds]
<apeiros> if the choice is: well written, but uncommented code, vs. badly written but commented code, I take the former any day
SCHAAP137 has joined #ruby
<apeiros> even more so given that comments and code can desynchronize
wallerdev has joined #ruby
<dideler|work> apeiros: with those limited choices, i would choose the former as well :)
amargherio has joined #ruby
aantix has joined #ruby
aantix has quit [Client Quit]
GriffinHeart has joined #ruby
Hobogrammer has joined #ruby
Takle has quit [Remote host closed the connection]
dumdedum has joined #ruby
eka has joined #ruby
b00stfr3ak has joined #ruby
<olivier_bK> how can i apply a gsub on hash ?
mrnugget has quit [Quit: mrnugget]
yeticry has quit [Ping timeout: 252 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
<jhass> .values.each do |value| value.gsub!(...); end
mercerist has joined #ruby
yeticry has joined #ruby
<Hanmac> jhass: why not each_value ?
<jhass> good question
<jhass> I figured since we didn't get a proper problem description it's not that important
greenarrow has quit [Quit: 500]
maletor has joined #ruby
railzForDaiz has quit [Ping timeout: 252 seconds]
stantona has quit [Remote host closed the connection]
ahofmann has joined #ruby
vpretzel has joined #ruby
fantazo has joined #ruby
nitr has quit [Remote host closed the connection]
railzForDaiz has joined #ruby
sdelmore has left #ruby [#ruby]
huginn has joined #ruby
benzrf|offline is now known as benzrf
huginn has left #ruby [#ruby]
banister is now known as banisterfiend
GriffinHeart has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
x1337807x has joined #ruby
binaryhat has quit [Quit: Leaving]
streblo has quit [Ping timeout: 245 seconds]
four04 has joined #ruby
olivier_bK has quit [Ping timeout: 240 seconds]
ixti has quit [Ping timeout: 240 seconds]
ahofmann has quit [Quit: Computer has gone to sleep.]
four04 has quit [Quit: leaving]
dumdedum has quit [Quit: foo]
streblo has joined #ruby
kaspergr_ has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
dumdedum has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
peterhu has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
aspires has quit []
pu22l3r has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
kaspergrubbe has joined #ruby
kaspergr_ has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
railzForDaiz has quit [Ping timeout: 272 seconds]
mikecmpbll has quit [Ping timeout: 244 seconds]
benzrf|offline is now known as benzrf
jottr has joined #ruby
zeropx has joined #ruby
benzrf is now known as benzrf|offline
definiv has joined #ruby
wallerdev has quit [Quit: wallerdev]
railzForDaiz has joined #ruby
fantasticsid has quit [Remote host closed the connection]
Tricon has joined #ruby
dik_dak has joined #ruby
pu22l3r has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 255 seconds]
RaCx has quit [Ping timeout: 252 seconds]
pu22l3r has joined #ruby
benzrf|offline is now known as benzrf
aspires has joined #ruby
djbkd has joined #ruby
baroquebobcat has joined #ruby
kaspergrubbe has quit []
ephemerian has quit [Quit: Leaving.]
fgo has quit [Ping timeout: 255 seconds]
RaCx has joined #ruby
ahofmann has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
anarang has quit [Quit: Leaving]
preller has quit [Quit: leaving]
preller has joined #ruby
dANOKELOFF has joined #ruby
Takle has joined #ruby
dumdedum has quit [Quit: foo]
alex88 has quit [Quit: Leaving...]
x1337807x has quit [Ping timeout: 252 seconds]
dumdedum has joined #ruby
streblo has quit [Ping timeout: 255 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deric_skibotn has joined #ruby
terrellt has quit [Quit: Leaving...]
timonv has quit [Remote host closed the connection]
Mapley[POR] is now known as Maple__[POR]
terrellt has joined #ruby
Bosox20051 has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
mikecmpbll has joined #ruby
<shevy> dumdedum
<dumdedum> what
<shevy> ddv yeah, sometimes documentation gets outdated
streblo has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
<shevy> I usually try to document intent rather than specific implementation details, unless it's important for a method to understand it
baroquebobcat has quit [Quit: baroquebobcat]
<shevy> or explain design decisions that were made at that moment in time
fayimora has joined #ruby
redondos has quit [Excess Flood]
DouweM has quit [Ping timeout: 252 seconds]
redondos has joined #ruby
redondos has quit [Changing host]
redondos has joined #ruby
momomomomo has quit [Quit: momomomomo]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
dilated_dinosaur has quit [Ping timeout: 264 seconds]
pu22l3r has quit [Remote host closed the connection]
Joulse has quit [Quit: Joulse]
wallerdev has joined #ruby
<shevy> hmm
<shevy> what does python's import functionality offer that ruby does not have?
danijoo has quit [Read error: Connection reset by peer]
alem0lars has quit [Quit: Going AFK...]
danijoo has joined #ruby
tier has quit [Remote host closed the connection]
cocotton_ has joined #ruby
dANOKELOFF has quit [Remote host closed the connection]
yfeldblum has joined #ruby
dANOKELOFF has joined #ruby
axl_ has joined #ruby
tier has joined #ruby
peterhu has joined #ruby
klaut has quit [Remote host closed the connection]
tessi_zz is now known as tessi
JBreit has joined #ruby
cocotton has quit [Ping timeout: 244 seconds]
streblo has quit [Ping timeout: 244 seconds]
<benzrf> shevy: namespacing :-)
<shevy> hmm
cocotton has joined #ruby
cocotton_ has quit [Ping timeout: 252 seconds]
kireevco has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
railzForDaiz has quit [Ping timeout: 245 seconds]
dANOKELOFF has quit [Ping timeout: 272 seconds]
synfin has quit [Quit: leaving]
wldcordeiro has quit [Quit: Leaving]
mattstratton has joined #ruby
baroquebobcat has joined #ruby
wldcordeiro has joined #ruby
diegoviola has joined #ruby
mrnugget has joined #ruby
freggles has joined #ruby
definiv has quit [Ping timeout: 255 seconds]
Spami has joined #ruby
dilated_dinosaur has joined #ruby
combusean has joined #ruby
tcstar has joined #ruby
IcyDragon has joined #ruby
IceDragon has quit [Ping timeout: 252 seconds]
michael_imac is now known as michael_mbp
RaCx_ has joined #ruby
railzForDaiz has joined #ruby
RaCx has quit [Ping timeout: 272 seconds]
RaCx_ is now known as RaCx
dawkirst_ has quit [Remote host closed the connection]
Bumptiou_ has joined #ruby
axl_ has quit [Quit: axl_]
dawkirst has joined #ruby
boris has quit [Remote host closed the connection]
Bumptious has quit [Ping timeout: 264 seconds]
noop has joined #ruby
JokerDoomWork has joined #ruby
brandonjmckay has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
mijicd has joined #ruby
lemur has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
zigomir has quit [Remote host closed the connection]
zigomir has joined #ruby
Port3M5[Work] has quit [Remote host closed the connection]
yfeldblum has joined #ruby
spastorino has joined #ruby
rgrinberg has joined #ruby
andrewjanssen has joined #ruby
tier has quit [Remote host closed the connection]
lemur has joined #ruby
yfeldblu_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
IcyDragon is now known as IceDragon
x1337807x has joined #ruby
railzForDaiz has quit [Ping timeout: 264 seconds]
zigomir has quit [Ping timeout: 252 seconds]
Deele has quit [Ping timeout: 255 seconds]
sputnik13 has joined #ruby
Rollabunna has joined #ruby
robbyoconnor has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
yetanotherdave has joined #ruby
wallerdev has quit [Quit: wallerdev]
davidvl has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
dawkirst has joined #ruby
x1337807x has quit [Ping timeout: 240 seconds]
nanoyak has joined #ruby
Rollabunna has quit [Ping timeout: 264 seconds]
blackthor has quit [Ping timeout: 245 seconds]
r_rios has joined #ruby
axl_ has joined #ruby
gondalier has joined #ruby
tessi is now known as tessi_zz
siflyn has joined #ruby
Zai00 has quit [Quit: Zai00]
alem0lars has joined #ruby
RaCx has joined #ruby
fgo has joined #ruby
gondalier has quit [Client Quit]
jfran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
mrnugget has quit [Quit: mrnugget]
braincrash has quit [Quit: bye bye]
pu22l3r has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
ldnunes has quit [Quit: Leaving]
Hobogrammer has quit [Ping timeout: 252 seconds]
gondalier has joined #ruby
tgoodman has joined #ruby
ahofmann has quit [Quit: Computer has gone to sleep.]
benzrf|offline is now known as benzrf
RaCx has quit [Ping timeout: 240 seconds]
alvaro_o has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
rgrinberg has quit [Quit: Leaving.]
timonv has joined #ruby
ixti has joined #ruby
saarinen has joined #ruby
sonofflynn has quit [Ping timeout: 240 seconds]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
alem0lars has quit [Quit: Going AFK...]
definiv has joined #ruby
bstrie has quit [Quit: leaving]
definiv has quit [Client Quit]
aniM has quit [Ping timeout: 240 seconds]
kenneth has joined #ruby
JBreit has left #ruby ["Leaving"]
armyriad has joined #ruby
saarinen has quit [Quit: saarinen]
braincrash has joined #ruby
tier has joined #ruby
rezzack has joined #ruby
rgrinberg has joined #ruby
djbkd has quit [Remote host closed the connection]
SBoolean has joined #ruby
Mooneye has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
saarinen has joined #ruby
streblo has joined #ruby
skaflem has joined #ruby
alem0lars has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
zoraj has quit [Ping timeout: 244 seconds]
definiv has joined #ruby
noop has quit [Ping timeout: 244 seconds]
definiv has quit [Client Quit]
joaoh82 has joined #ruby
ldnunes has joined #ruby
djbkd has joined #ruby
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
Maple__[POR] is now known as Maple__
alem0lars has quit [Client Quit]
pontiki has joined #ruby
<pontiki> hey, kids
<Edelwin> hi, kiddo
zwer has joined #ruby
Hobogrammer has joined #ruby
tirengarfio has quit [Ping timeout: 252 seconds]
chrishough has joined #ruby
onewheelskyward has left #ruby ["Textual IRC Client: www.textualapp.com"]
davidvl has quit [Quit: This computer has gone to sleep]
<apeiros> hi mousy
brasten has quit [Read error: Connection reset by peer]
<apeiros> oh, s/mousy/mousie/
rezzack has quit [Quit: Leaving.]
<apeiros> sorry :)
St_Marx has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
klaut has joined #ruby
<pontiki> anyone have any idea why my ruby processes are hanging on startup? i'm running os/x 10.9, ruby 2.0.0, pry
jtiggo has joined #ruby
<asteve> what's the best way to say "a = b unless a == b"?
<jhass> a = b
<pontiki> it evenutally does a core dump. i'm assuming there's an inf.loop in there somewhere, but what the heck from??
<apeiros> pontiki: run with -rprofile
razrunelord has joined #ruby
<pontiki> pry?
<apeiros> pontiki: for me it was a rogue pry plugin (did a glob('/**/*')
wald0 has joined #ruby
maximski has quit [Ping timeout: 272 seconds]
<apeiros> sure. ruby -rprofile path/to/pry
<apeiros> just exit quickly when the prompt is shown
yfeldblum has joined #ruby
<shevy> mama pontiki is here!
<apeiros> or wait absurdly long to get the method easily distinguished
Alix_ has joined #ruby
<shevy> cool
<apeiros> jhass: not identical, though
<shevy> pry got rogue plugins
<shevy> perhaps even pirate ones
alem0lars has joined #ruby
<jhass> for a.b = c not, yeah
<apeiros> jhass: not just
<jhass> care to elaborate?
maximski has joined #ruby
<apeiros> a = "hi"; b = "hi"; a = b unless a == b
gattuso has quit [Ping timeout: 260 seconds]
<apeiros> here, a.equal?(b) # => false
workmad3 has quit [Ping timeout: 252 seconds]
Sawbones has quit []
<apeiros> with plain a = b, a.equal?(b) # => true
nanoyak has joined #ruby
<apeiros> whether it matters - an entirely different question. just pointing out that there is a difference.
<pontiki> it never actually gets to the prompt, the core dump happens before that
<jhass> hm, the situations where it matters should be really rare or you got other problems IMO
<apeiros> pontiki: oh, you get a core dump?
zigomir has joined #ruby
<pontiki> still waiting on the attempt with -rprofile
<apeiros> jhass: agreed. but it's still not identical :)
<pontiki> just doing `pry` eventually causes a dump
<apeiros> pontiki: if it fails without -rprofile with a core-dump, -rprofile won't help :-/
pu22l3r_ has joined #ruby
<pontiki> ah, okay
<apeiros> -rprofile also increases runtime by 5-100x
<shevy> that's one naughty rogue plugin
nanoyak has quit [Client Quit]
jottr has joined #ruby
gattuso has joined #ruby
RaCx has joined #ruby
<AlHafoudh> hi
jprovazn has joined #ruby
<AlHafoudh> do you know any standalone http proxy server good for HTTP mocking?
maximski has quit []
pu22l3r has quit [Ping timeout: 252 seconds]
tirengarfio has joined #ruby
<apeiros> uh, how'd a *proxy* help with mocking?
<apeiros> a proxy does not respond on its own. it still needs a server behind it.
dblessing has quit [Quit: dblessing]
pu22l3r_ has quit [Ping timeout: 252 seconds]
AlSquire has quit [Quit: This computer has gone to sleep]
MZAWeb has quit [Ping timeout: 240 seconds]
RaCx has quit [Remote host closed the connection]
shvelo has joined #ruby
pu22l3r has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
toastynerd has quit [Remote host closed the connection]
rgrinberg has quit [Quit: Leaving.]
RandyT_ has joined #ruby
pu22l3r has quit [Remote host closed the connection]
aniM has joined #ruby
pu22l3r has joined #ruby
rdark has quit [Quit: leaving]
RandyT has quit [Ping timeout: 245 seconds]
RandyT_ is now known as RandyT
peterhu has quit [Remote host closed the connection]
yfeldblum has joined #ruby
toastynerd has joined #ruby
iceden has quit [Remote host closed the connection]
KTMBoi88 has joined #ruby
pushpak has joined #ruby
shredding has joined #ruby
x1337807x has joined #ruby
Takle has quit [Remote host closed the connection]
Bosox20051 has quit [Ping timeout: 264 seconds]
<pontiki> well, uninstalled all the pry gems i had, reinstalled pry, and no worries
<AlHafoudh> apeiros: for http mocking... i am using puffing-billy gem, but I need it to support jruby :(
LekeFly has joined #ruby
<pontiki> i just don't know which pry add-on was failing
gondalier has quit []
MrDoctor has joined #ruby
alem0lars has quit [Quit: alem0lars]
iceden has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
x1337807x has quit [Ping timeout: 244 seconds]
zoraj has joined #ruby
GriffinHeart has joined #ruby
sonofflynn has joined #ruby
moritzs has joined #ruby
gondalier has joined #ruby
mijicd has quit [Remote host closed the connection]
MZAWeb has joined #ruby
vpretzel has quit [Remote host closed the connection]
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
GriffinHeart has quit [Ping timeout: 252 seconds]
Morkel_ has joined #ruby
Morkel has quit [Ping timeout: 240 seconds]
Morkel_ is now known as Morkel
andrewjanssen has joined #ruby
GriffinHeart has joined #ruby
armyriad has quit [Ping timeout: 240 seconds]
mengu has quit [Remote host closed the connection]
andrewjanssen has quit [Client Quit]
jtiggo has quit []
mikepack has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
pu22l3r_ has joined #ruby
<shevy> pontiki aha so it was a rogue one after all
<shevy> apeiros was right
tgoodman has quit [Quit: tgoodman]
<shevy> let's randomly blame someone
<pontiki> it was
* shevy looks at Mon_Ouie
<shevy> why did you write faulty pry plugins man!
<pontiki> but i don't know which one
<pontiki> um
<pontiki> i've never written a pry plugin, girlfriend
<shevy> hah I wouldn't know either but I once had a funny situation
soulcake has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
<shevy> I had a bug in one of my .rb files, and I required like 500 different .rb files in irb, and irb was happy
sheperson has joined #ruby
<shevy> but in pry, I had a failure that I could not trace down
<apeiros> I bet shevy plays bash roulette: [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live”
dawkirst has quit [Remote host closed the connection]
<shevy> almost
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
<pontiki> ruby roulette!!
<shevy> I now have 19952 aliases in bash
soulcake has joined #ruby
rgrinberg has joined #ruby
fgo has joined #ruby
<shevy> I don't know what all of them are doing
<shevy> some are like 10 years old
pu22l3r has quit [Ping timeout: 244 seconds]
<pontiki> maybe you should nuke some at random
<shevy> hehehe
danman has quit [Ping timeout: 245 seconds]
<pontiki> or set your history limit really high, and get rid of the ones that you never use
<shevy> hahahaha
troulouliou_dev has joined #ruby
nanoyak has joined #ruby
<pontiki> OR JUST KEEP ADDING
ahofmann has joined #ruby
<apeiros> just delete all
<apeiros> and readd those you actually use
Zackio has quit [Quit: ZNC - http://znc.in]
carraroj has joined #ruby
robbyoconnor has quit [Ping timeout: 252 seconds]
<pontiki> start submitting them to commandlinefu.com
x1337807x has joined #ruby
<Mon_Ouie> And add one that will sort those you have by their score on that website
Takle has joined #ruby
dawkirst has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
pu22l3r_ has quit [Remote host closed the connection]
jeet has joined #ruby
pu22l3r has joined #ruby
Bumptiou_ has quit []
Bumptious has joined #ruby
<shevy> omg
<shevy> you folks are poking fun at that
jeet has quit [Client Quit]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
dawkirst has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
Gil has joined #ruby
shredding has joined #ruby
dangerousdave has joined #ruby
x1337807x has quit [Ping timeout: 272 seconds]
Wolland has quit [Remote host closed the connection]
troulouliou_dev has quit [Quit: Leaving]
definiv has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Client Quit]
shredding has quit [Client Quit]
Ankhers has quit [Ping timeout: 264 seconds]
zoraj has quit [Ping timeout: 252 seconds]
jxf has joined #ruby
jhass is now known as jhass|off
chrishough has quit [Quit: chrishough]
zoraj has joined #ruby
farn has quit [Ping timeout: 252 seconds]
centrx has joined #ruby
adnauseam has quit [Ping timeout: 272 seconds]
Zackio has joined #ruby
jailbot has joined #ruby
<jailbot> hey guys
Macaveli has joined #ruby
sheperson has quit [Quit: sheperson]
<jailbot> I’ve got a collection of objects
nighter has quit [Ping timeout: 264 seconds]
<jailbot> and im trying to compare the current object to the next object
adnauseam has joined #ruby
<jailbot> what method would you use?
<terrellt> jailbot: What are you trying to do?
<benzrf> maybe <=>
olivier_bK has joined #ruby
<Morrolan> Enumerable#each_cons for the iterating.
<jailbot> find objects that start on the same date
<jailbot> based on a .due_at attribute
<terrellt> array.group_by(&:due_at)
<terrellt> ^ Only works if it's actually a Date, and not a Time.
<jailbot> huh
chrishough has joined #ruby
joaoh82 has quit [Remote host closed the connection]
nighter has joined #ruby
greenarrow has joined #ruby
Gil has quit [Remote host closed the connection]
RaCx has joined #ruby
<shvelo> >>binding.pry
<eval-in> shvelo => undefined method `pry' for #<Binding:0x41ec656c> (NoMethodError) ... (https://eval.in/163522)
Gil has joined #ruby
zoraj has quit [Ping timeout: 240 seconds]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jailbot> heres the data
<apeiros> jailbot: for what it's worth, in ruby, "I've got a collection of objects" is a verbose way of saying "I've got a collection"
<jailbot> ok
zoraj has joined #ruby
<jailbot> im learning
<jailbot> milestones that have the same due_at are rendered different in the view
<apeiros> active record - let the db do the grouping
<jailbot> trying to write a method in the model that tells the view that this milestone should be diffrent
<apeiros> see group
<jailbot> group api?
<jailbot> or the group docs?
kies has quit [Ping timeout: 255 seconds]
RaCx has quit [Remote host closed the connection]
<terrellt> apeiros: Huh. He doesn't want to use an aggregate function though.
mikepack has joined #ruby
RaCx has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
<apeiros> terrellt: what he wants can be achieved with aggregate functions
RaCx has quit [Client Quit]
GriffinHeart has joined #ruby
<apeiros> unless I misunderstand what he wants, of course.
jhass|off is now known as jhass
<jailbot> thats confusing to me
vinleod has joined #ruby
Gil has quit [Ping timeout: 240 seconds]
<apeiros> "milestones that have the same due_at are rendered different in the view"
<jailbot> yeah
<apeiros> so you must identify which milestones have the same due_at
<apeiros> group can do that for you
LiohAu has quit [Quit: LiohAu]
blackthor has joined #ruby
<terrellt> Except you'd have to get the list of IDs that are associated with that grouping. Is concatenation supported as a standard?
benzrf is now known as benzrf|offline
mengu has joined #ruby
ahofmann has quit [Read error: Connection reset by peer]
<jailbot> i’m thinking about puting each milestone’s id and due_at in a hash and then sorting that
pu22l3r_ has joined #ruby
<apeiros> ah, silly. yes. group_by then. (you can use group aggregation, but that'll become more complex than jailbot can probably handle)
<jailbot> im a front end dev haha
<jailbot> ruby is fun though
pu22l3r has quit [Ping timeout: 244 seconds]
joaoh82 has joined #ruby
<terrellt> jailbot: What you want is to iterate through foo.milestones.group_by(&:due_at)
<apeiros> ^
<jailbot> yeah that worked pretty well
EXetoC has joined #ruby
Maple__ is now known as Maple__[Sealand]
cocotton has quit [Remote host closed the connection]
EXetoC has left #ruby ["WeeChat 0.4.3"]
ahofmann has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
greenarrow has quit [Quit: 500]
pietr0 has joined #ruby
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
Deejay_ has joined #ruby
Maple__[Sealand] has left #ruby ["WeeChat 1.0-dev"]
diegoviola has quit [Quit: WeeChat 0.4.3]
RaCx has joined #ruby
shevy has quit [Ping timeout: 245 seconds]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jailbot> so .first gets the first
<jailbot> how do I get the second?
<apeiros> .second
<jailbot> or nth object
<apeiros> (in rails)
RaCx has quit [Remote host closed the connection]
andrewjanssen has quit [Ping timeout: 245 seconds]
<apeiros> not sure it works on relations too
<jailbot> oh its a hash
RaCx has joined #ruby
asteve has joined #ruby
cocotton has joined #ruby
<jailbot> this shouldnt be too bad
<apeiros> after group_by? you probably don't want nth there
RaCx has quit [Client Quit]
<jailbot> heres the results of the method you told me
<apeiros> why don't you iterate through it?
moritzs has quit [Ping timeout: 245 seconds]
<apeiros> if you want to query nth, you should make sure to establish order first.
<jailbot> the second value in a hash maintains it’s object status right?
nanoyak has quit [Read error: Connection reset by peer]
<apeiros> o0
<jailbot> or the values
<jailbot> sorry
ctp has joined #ruby
<jailbot> bad question
<apeiros> a hash is always key => value
<jailbot> yeah
<apeiros> and in this case, it'll be due_at => [milestone, milestone, …]
nanoyak has joined #ruby
jottr has quit [Quit: WeeChat 0.4.3]
<jailbot> I want to see if value > 1
toastynerd has quit [Remote host closed the connection]
<apeiros> with "value" being what?
andrewjanssen has joined #ruby
<jailbot> milestones associated with the date “key”
gbchaosmaster has joined #ruby
<jailbot> some dates only have one milestone
<apeiros> that's an array. array > 1 makes no sense
<apeiros> do you mean array.length > 1?
<jailbot> yeah
<apeiros> well, result.each do |due_at, milestones| if milestones.length > 1 …
<jailbot> I see this delete_if method which looks useful
combusean has quit [Quit: Leaving.]
mehlah has quit [Quit: Leaving...]
* apeiros prefers select/reject
<jailbot> why?
<apeiros> reads nicer IMO
<apeiros> also nicer opposites
<jailbot> in terms of using “each” vs “delete_if”
<jailbot> ?
<apeiros> no
<apeiros> each and delete_if serve different purposes
x1337807x has joined #ruby
<apeiros> delete_if and reject mostly serve the same purpose
<apeiros> reject/select are opposites, so if your purpose is "only consider items satisfying a condition", the choice between select/reject is just where you don't have to negate
zoraj_ has joined #ruby
kies has joined #ruby
<apeiros> result.select { |due_at, milestones| milestones.length > 1 }
zoraj has quit [Read error: Connection reset by peer]
<apeiros> and since you don't use due_at:
<apeiros> result.select { |_due_at, milestones| milestones.length > 1 }
<jailbot> ?
kirun has quit [Remote host closed the connection]
<jailbot> not |key,value|?
farn has joined #ruby
codabrin_ has joined #ruby
<apeiros> if you can give your key/value proper names, do it. here you obviously can.
<terrellt> Suddenly it's lunch time.
<jailbot> that reads better imo
kirun has joined #ruby
<apeiros> due_at, milestones is *much* more revealing than a generic key, value
<jailbot> this is fun
<apeiros> anybody reading your code after you (that includes future you) will have much more trouble figuring out what key, value is than what due_at, milestones is
<jailbot> if it works my mind will be blown
rezzack has joined #ruby
LiohAu has joined #ruby
GriffinHeart has joined #ruby
<jailbot> .length vs .size?
peterhu has joined #ruby
<apeiros> .size
ffranz has quit [Ping timeout: 240 seconds]
<jailbot> ok
LiohAu has quit [Client Quit]
x1337807x has quit [Ping timeout: 244 seconds]
carraroj has quit [Quit: Konversation terminated!]
codabrink has quit [Ping timeout: 252 seconds]
<apeiros> there's also .count, but that serves a different purpose (but does the same as .size and .length if called without argument)
LiohAu has joined #ruby
<jailbot> and you would use select?
<jailbot> not like select!
kies has quit [Ping timeout: 240 seconds]
<apeiros> I almost never use select! or reject!
<jailbot> set the block to equal a new hash?
<apeiros> yes. give it a revealing name.
<apeiros> less code commenting required that way.
<jailbot> lol
kedare has quit [Ping timeout: 272 seconds]
<jailbot> hard part
GriffinHeart has quit [Remote host closed the connection]
<apeiros> sure. experience helps. doing it from the start builds experience.
<jailbot> ok lets see what this returns
<apeiros> that said, naming is one of the two hard things in computer science (which are: cache pruning, naming and off-by-one errors)
<jailbot> off-by-one being mistakes based on zero index ararys?
momomomomo has joined #ruby
<apeiros> that's one case
diegoviola has joined #ruby
<apeiros> it's just where your calculation is somewhere off by one
LiohAu has quit [Client Quit]
shevy has joined #ruby
<pontiki> the famous are using '<' when you wanted '<=' and the like
volk_ has joined #ruby
Asher has quit [Remote host closed the connection]
<apeiros> iterating one too many or one too few is a common case. comparison operators is another. picking the wrong index yet another.
<jailbot> ah k
<volk_> hey guys was hoping somebody can help me out with this question (security/rails based, but seemingly nobody in #rubyonrails is available to help) http://stackoverflow.com/questions/24250423/rails-security-concerns-with-authorization-token-in-header-for-api , would highly appreciate it
shredding has joined #ruby
<apeiros> miscalculating pointers (in C or another low level language) is also a common case
<banisterfiend> apeiros hey guy
Rollabunna has joined #ruby
<apeiros> volk_: in https communication, a header is part of the encrypted message. unless the interceptor can crack the encryption, he won't be able to read the message.
<jailbot> meh looks good
<apeiros> hi banigirl
djbkd has quit [Remote host closed the connection]
bean has quit [Read error: Connection reset by peer]
<jailbot> pointers suck
<volk_> @apeiros : okay that’s perfect then. so i’m doing it relatively correct?
<pontiki> pointers are the best
<apeiros> jailbot: pointers are awesome. dangerous, but awesome.
<jailbot> lol
<jailbot> nerds
<pontiki> if you don't like pointers, you probably shouldn't like ruby
ahofmann has quit [Read error: Connection reset by peer]
<apeiros> that said, I can understand why you say that. I find juggling running chainsaws horrible too.
bbloom has quit [Read error: Connection reset by peer]
<jailbot> the syntax in ruby is nice C:
ahofmann has joined #ruby
matled- has joined #ruby
jpena has joined #ruby
<apeiros> pontiki: uh, ruby exposes nothing even close to pointers?
<pontiki> it's the flaming bowling balls the get me
spacebug_ has joined #ruby
tessi_zz is now known as tessi
<pontiki> every variable is a pointer
bbloom has joined #ruby
<apeiros> volk_: I'm not a security expert. sorry. I only commented on what fits within my knowledge :)
<shevy> I thought juggling chainsaws is a swiss real passion
<shevy> and yodeling
rezzack has quit [Read error: Connection reset by peer]
matled has quit [Read error: Connection reset by peer]
<volk_> @apeiros , ok no problemo that still helps :)
<apeiros> pontiki: it's a reference. it's not a pointer.
vinleod has quit [Ping timeout: 245 seconds]
zonetti has quit [Ping timeout: 245 seconds]
MZAWeb has quit [Ping timeout: 240 seconds]
matled- is now known as matled
<apeiros> pontiki: you can't do pointer arithmetics with variables.
rezzack has joined #ruby
jonahR has quit [Read error: Connection reset by peer]
K3dare has joined #ruby
<apeiros> (whether it *internally* is a pointer or not is even entirely irrelevant - in MRI, it's not, afaik)
bean has joined #ruby
<shevy> talking about chainsaws... I saw the movie hostel lately; it was disappointingly bad, especially in the last part... bribing kids with bubblegems to randomly take down evil guys? what a silly idea...
fayimora has quit [Quit: Connection closed for inactivity]
jonahR has joined #ruby
<jailbot> I saw gravity the other day
<jailbot> hated it
streblo has quit [Ping timeout: 245 seconds]
spacebug has quit [Ping timeout: 245 seconds]
<pontiki> it's not relevant, but they are pointers internally
DrCode has quit [Ping timeout: 264 seconds]
Rollabunna has quit [Ping timeout: 264 seconds]
<jhass> volk_: I'd say it's secure enough for most applications, though there's a reason things like oAuth use two two tokens, a limited access token and a refresh token to obtain new access tokens. If the access token is intercepted at least the time the attacker has access is limited that way
MZAWeb has joined #ruby
<shevy> jailbot haven't heard of gravity but it significantly seems to have a much higher rating score than hostel had
momomomomo has quit [Quit: momomomomo]
lxsameer has quit [Ping timeout: 245 seconds]
kiri has quit [Ping timeout: 245 seconds]
freannrak has quit [Ping timeout: 245 seconds]
<jailbot> thats the thing, it got great reviews
<volk_> jhass: yeah, fair enough. :) thanks man
<jailbot> and I was excited to see it
<apeiros> pontiki: VALUE afaik is just an int64
<jailbot> but it was just so flat
phutchins has quit [Ping timeout: 240 seconds]
Zai00 has joined #ruby
<apeiros> banisterfiend: you're code diving all the time. is VALUE a pointer or an int?
<volk_> jhass: you should answer it on SO so i can accpet your answer
Zenigor has quit [Remote host closed the connection]
end_guy has quit [Ping timeout: 264 seconds]
<jailbot> unrealistic, boring acting
ptierno has quit [Ping timeout: 245 seconds]
csfranci1 has quit [Ping timeout: 245 seconds]
<shevy> jailbot lol the first review I read is funny ... "a sign that J. Cameron has passed his prime"
<banisterfiend> apeiros it's an unsigned long
<apeiros> pontiki: ^
<pontiki> hmm..
<jailbot> uh yeah
<pontiki> okay then
DrCode has joined #ruby
zonetti has joined #ruby
<banisterfiend> apeiros which iirc is guaranteed to be the same length as a pointer
atmosx has quit [Ping timeout: 264 seconds]
csfrancis has joined #ruby
Alix_ has quit [Read error: Connection reset by peer]
freannrak has joined #ruby
<jhass> volk_: I'll give it a few days so that maybe someone more experienced shows up
ptierno has joined #ruby
<banisterfiend> and it's more or less used as a pointer
<jailbot> hash is fun ;)
<banisterfiend> except in the case of immediate values
<volk_> jhass: sounds good!
RaCx has joined #ruby
<apeiros> banisterfiend: I guess the guys over in ##c know those specs. I found it easier not to engage in such battles as it seems to be a bottomless pit every time :D
ffranz has joined #ruby
atmosx has joined #ruby
datafirm has joined #ruby
RaCx has quit [Remote host closed the connection]
<pontiki> "my rabbit hole is deeper than yours!"
<apeiros> damit. I. MUST. STOP. IRC.
<apeiros> must work on that game. damit.
<pontiki> i need lunch
nitr has joined #ruby
<apeiros> pontiki: now you're just teasing.
momomomomo has joined #ruby
<pontiki> well, yes...
<banisterfiend> apeiros it casts cast to pointers all the time
lxsameer has joined #ruby
railzForDaiz has joined #ruby
RaCx has joined #ruby
<banisterfiend> but it's not a pointer internally cos that would be weird for immediate values
<apeiros> banisterfiend: I can imagine
<apeiros> banisterfiend: but given that VALUE encodes various informations, it makes sense it's not a straight pointer
K3dare has quit [Ping timeout: 240 seconds]
<banisterfiend> yeah
<apeiros> see Fixnum, which is fully encoded in VALUE
<shevy> apeiros did you fix the research bug yet
RaCx has quit [Remote host closed the connection]
<apeiros> or Symbol, which iirc is also fully encoded in VALUE
<banisterfiend> apeiros and flonums too
mengu has quit [Ping timeout: 255 seconds]
<apeiros> same for all other immediates, like true, false, nil
<apeiros> banisterfiend: ah, right, since 1.9? or 2.0?
kiri has joined #ruby
cobakobodob has quit [Ping timeout: 240 seconds]
<apeiros> but for non-immediates and non-flonums, it makes sense to be used as various kinds of pointers. probably segmented in some way.
pushpak has quit [Quit: Linkinus - http://linkinus.com]
treehug__ has joined #ruby
gondalier has quit []
yfeldblum has quit [Remote host closed the connection]
treehug88 has quit [Ping timeout: 264 seconds]
<banisterfiend> apeiros 2.1 i think
<banisterfiend> or maybe 2.0
<Mon_Ouie> unsigned long isn't guaranteed to be the size of a pointer, it just often is
end_guy has joined #ruby
toastynerd has joined #ruby
gondalier has joined #ruby
yfeldblum has joined #ruby
<Mon_Ouie> There are intptr_t and uintptr_t which I think are guaranteed to be large enough to store a pointer (but not necessarily the same size as a pointer)
benzrf|offline is now known as benzrf
<apeiros> is `int` still code for `native size int`? if so, I'd expect that to be the same size as a pointer
superscott[8] has joined #ruby
<apeiros> Mon_Ouie: where do you learn such stuff?
<Mon_Ouie> Where did you learn all the trivia you know about Ruby? ;)
<apeiros> books I found are usually woefully outdated with regards to modern programming (which includes such things as proper types)
K3dare has joined #ruby
flops has quit [Ping timeout: 264 seconds]
<apeiros> Mon_Ouie: it just came to me.
<apeiros> so that's not comparable :-3
mengu__ has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
<Mon_Ouie> int isn't usually big enough, e.g. on many 64-bit platforms int will be 32-bit and long 64-bit
<atmosx> hello
<Mon_Ouie> (The specific guarantee for int is >= 16-bit I believe)
<apeiros> bah. see. when I first learnt C, it said "int is *always* machine native size int"
tier has quit [Remote host closed the connection]
<Hanmac> Mon_Ouie: only on windows is there "long long" because its longer than other "long"s ;P
pu22l3r has joined #ruby
<apeiros> ovbiously it has now been repurposed to mean "usually int is just 4byte int"
<benzrf> god damn thats looooooooooooooooooooooooooong
<apeiros> schloooong
<LadyRainicorn> doublepluslong
<apeiros> orwellian computing
<apeiros> GAH!
* apeiros hides irc window
<Mon_Ouie> Yeah, on Windows 64-bit long is only 32-bit
<lolmaus> How do i map a string?
<jailbot> .push vs .append?
timonv has quit [Remote host closed the connection]
<atmosx> string.split('').map
<centrx> lolmaus, my_string.each_char.map { }
tier has joined #ruby
<benzrf> lolmaus: just .chars
<benzrf> not .each_char
zoraj_ has quit [Read error: Connection reset by peer]
r_rios has quit [Remote host closed the connection]
zoraj has joined #ruby
<lolmaus> atmosx: centrx, benzrf: i would like to recieve a modified string as a result, not an array.
<benzrf> lolmaus: join it afterwards, then
<lolmaus> I thought there might be a sugary way to do that.
mikesplain has quit [Ping timeout: 240 seconds]
<atmosx> lolmaus: use join
* benzrf shrugs
<benzrf> use haskell, ya hoser
pu22l3r_ has quit [Ping timeout: 244 seconds]
<atmosx> use cobol
<benzrf> "foo" >>= replicate 2
<benzrf> "ffoooo"
<lolmaus> atmosx: centrx: benzrf: thx
<Hanmac> lolmaus use gsub(/./) {}
<atmosx> be a real man, write your own programming language
<apeiros> atmosx: s/man/programmer/
<lolmaus> atmosx: or a refinement
<Hanmac> >> "ffoooo".gsub(/./) {|s| s * 2 }
<eval-in> Hanmac => "ffffoooooooo" (https://eval.in/163528)
<benzrf> cute
<atmosx> be Mel
<benzrf> but your using REGEX
<benzrf> squick
<centrx> lolmaus, Usually string mappings are done with sub/gsub
<apeiros> Hanmac: rand(2).zero? ? s.upcase : s
mehlah has joined #ruby
<apeiros> >> "ffoooo".gsub(/./) {|s| rand(2).zero? ? s.upcase : s }
<eval-in> apeiros => "FFoOoo" (https://eval.in/163529)
<apeiros> didn't I just hide this window? wtf?
dodgepong has joined #ruby
<lolmaus> centrx: nice idea. Gonna try it.
andrewjanssen has joined #ruby
zoraj_ has joined #ruby
zoraj has quit [Read error: Connection reset by peer]
<benzrf> apeiros: non referentially transparent???
<benzrf> BURN THE HERETIC
razrunelord has quit [Remote host closed the connection]
* benzrf tosses apeiros into nearby magma
<jailbot> got it
<jailbot> thanks aqeiros
<apeiros> jailbot: you win an internet for finding yet a new way to abuse my nick
bubbajones has quit [Ping timeout: 272 seconds]
MrDoctor has quit [Remote host closed the connection]
<jailbot> lol
<jailbot> pingpingping
<apeiros> benzrf: I did not see your messages because this window is officially hidden. I'll therefore just ignore what you said.
<dodgepong> anyone here willing to help an outrageously new rails user with something in the rails getting started guide?
<benzrf> apeiros: :^)
<benzrf> dodgepong: >>>#rubyonrails
<jailbot> lol
<apeiros> jailbot: *all* irc clients support tab completion.
<dodgepong> thanks
<jailbot> I dont use it
<dodgepong> sorry, didnt know about the other channel
<apeiros> that's why you fail
zoraj has joined #ruby
<dodgepong> #rubyonrails
<dodgepong> fuck
<apeiros> fuck #rubyonrails? tssss, that's not nice dude
<dodgepong> lol
<dodgepong> i pressed ctrl + v before i typed /j
<apeiros> cmd-H for the 3rd time.
phutchins has joined #ruby
<atmosx> I don't understand the aversion to rails from ruby developer
<atmosx> s
MrDoctor has joined #ruby
<lolmaus> centrx: i need to do replacements following several rules. With gsub, i'll have to do multiple gsubs. I guess the map way will be more efficient.
shredding has quit [Quit: shredding]
djbkd has joined #ruby
zoraj_ has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
<centrx> lolmaus, With the block notation for gsub, you can do multiple mappings in one pass
<lolmaus> centrx: awesome, thx
<centrx> lolmaus, Using each_char/map/join is a fine way if it makes more sense for your use case
<lolmaus> centrx: both makes sense, the map way saves from a need to construct a regex.
froy has quit [Remote host closed the connection]
zoraj has quit [Ping timeout: 240 seconds]
phutchin1 has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
combusean has joined #ruby
davidvl has joined #ruby
djbkd has quit [Remote host closed the connection]
Spami has joined #ruby
zoraj has joined #ruby
djbkd has joined #ruby
gigetoo has quit [Remote host closed the connection]
lemur has quit [Remote host closed the connection]
gondalier has quit []
acrussell has quit [Quit: Leaving.]
Zenigor has joined #ruby
gigetoo has joined #ruby
m8 has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
sommardaniel has joined #ruby
b00stfr31k has joined #ruby
b00stfr31k has quit [Client Quit]
Wolland has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
jackneill has quit [Read error: Connection reset by peer]
andrewjanssen has joined #ruby
Stalkr_ has joined #ruby
tesuji has joined #ruby
TheKruex has joined #ruby
michaelchum has quit [Quit: Connection closed for inactivity]
<atmosx> in the end fo the day, the design is the hardest part of building an application.
<atmosx> all other things can be done, one or another, design design design
froy has joined #ruby
cocotton has quit [Remote host closed the connection]
bryanzera has joined #ruby
beneggett has joined #ruby
bryanzera has quit [Quit: Page closed]
bubbajones has joined #ruby
ahofmann has quit [Quit: Computer has gone to sleep.]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
davidvl has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Remote host closed the connection]
<shevy> hehe
mjb2k has joined #ruby
<shevy> atmosx well rails is huge so learning it is takes long
<shevy> I can't think of any other ruby related software that is larger
<shevy> I mean just look at what ActiveRecord all has!
<frankS2> Is there a web site somewhere which explains all the methods in ruby?
<frankS2> like " function reference"
<shevy> frankS2 not really. but there is the official API docu for the major ruby classes
<shevy> frankS2 it also has examples: http://www.ruby-doc.org/core-2.1.2/String.html
<frankS2> String is a class?
<frankS2> !
<frankS2> thanks, hehe, got my answer there
<shevy> a = "hello "; a << "world"
<atmosx> shevy: :-)
<pontiki> also, try the `ri` command
<shevy> most constants are classes. or modules. or ...
<pontiki> like `ri String`
<atmosx> hm there's the documentation
<shevy> what's with the documentation
<frankS2> shevy: thanks mate
<atmosx> if he wanna find methods
<shevy> ah yes
skaflem has quit [Quit: Leaving]
<shevy> if he is lucky then someone else wrote documentation
<shevy> :-)
jtz has quit [Ping timeout: 245 seconds]
* frankS2 walking through the rubymonk lessons :D
<frankS2> or crawling, maybe
bubbajones has quit [Ping timeout: 252 seconds]
bubbajones has joined #ruby
MZAWeb_ has joined #ruby
MZAWeb has quit [Ping timeout: 252 seconds]
gregf has quit [Quit: WeeChat 0.4.3]
b00stfr3ak has quit [Ping timeout: 272 seconds]
agent_white has joined #ruby
danman has joined #ruby
mengu has joined #ruby
<agent_white> Afternoon folks
ikilledthecat has joined #ruby
shredding has joined #ruby
b00stfr3ak has joined #ruby
RaCx has joined #ruby
jailbot has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
<lolmaus> I'm using Nokogiri on some cyrillic content and i recieve this: unknown encoding ASCII-8BIT. Is there a way to resolve this?
<lolmaus> Using ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux].
gondalier has joined #ruby
<jhass> locale is reporting a UTF-8 locale everywhere?
mengu__ has quit [Ping timeout: 272 seconds]
robertodecurnex has quit [Remote host closed the connection]
RaCx_ has joined #ruby
decoponio has quit [Quit: Leaving...]
<lolmaus> jhass: how do i check that?
<jhass> `locale`
siflyn has quit []
<jhass> command in your shell
andrewjanssen has quit [Quit: Leaving...]
sepp2k has joined #ruby
RaCx has quit [Ping timeout: 255 seconds]
RaCx_ is now known as RaCx
mijicd has joined #ruby
MZAWeb_ has quit [Ping timeout: 240 seconds]
shvelo has quit [Ping timeout: 240 seconds]
<jhass> that's basically everything, but just to strike that from the list, try running with LC_ALL=ru_RU.UTF-8 ruby yourscript.rb
djbkd has quit [Remote host closed the connection]
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
arya_ has quit [Ping timeout: 272 seconds]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
<lolmaus> jhass: still the same issue. :(
phutchin1 has quit [Ping timeout: 264 seconds]
kireevco has quit [Quit: Leaving.]
<jhass> so how do you get the data you pass to nokgiri
arya_ has joined #ruby
<jhass> is there something you can gist so we can reproduce?
phutchins has joined #ruby
MZAWeb_ has joined #ruby
mengu has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
terrell_t has joined #ruby
xcv__ has quit [Remote host closed the connection]
blackthor has left #ruby [#ruby]
wallerdev has joined #ruby
fgo has joined #ruby
moritzs has joined #ruby
terrellt has quit [Ping timeout: 252 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
RaCx has joined #ruby
fold has quit [Ping timeout: 245 seconds]
qwyeth_ has quit [Remote host closed the connection]
reset has joined #ruby
yfeldblum has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
arya_ has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
gregf has joined #ruby
superscott[8] has quit [Read error: Connection reset by peer]
LadyRainicorn has quit [Quit: ♡]
mijicd has quit [Ping timeout: 255 seconds]
superscott[8] has joined #ruby
n0n3 has joined #ruby
jtz has joined #ruby
superscott[8] has quit [Remote host closed the connection]
sommardaniel has quit [Remote host closed the connection]
terrell_t has quit [Remote host closed the connection]
superscott[8] has joined #ruby
terrellt has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
bw_ has quit [Ping timeout: 276 seconds]
figgleberry has joined #ruby
figgleberry has quit [Client Quit]
mattmcclure has joined #ruby
gbchaosmaster has quit [Ping timeout: 244 seconds]
IceDragon has quit [Ping timeout: 264 seconds]
xcv has joined #ruby
IceDragon has joined #ruby
shvelo has joined #ruby
razrunelord has joined #ruby
scx_ is now known as scx
nitr has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
Tricon has quit [Quit: Leaving...]
RaCx has joined #ruby
shenkan has quit [Quit: Leaving]
MrDoctor has quit [Remote host closed the connection]
xcv_ has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
mg^ has joined #ruby
paulfm has quit []
K3dare has quit [Ping timeout: 244 seconds]
K3dare has joined #ruby
robbyoconnor has joined #ruby
xcv has quit [Ping timeout: 264 seconds]
jprovazn has quit [Quit: Odcházím]
JokerDoomWork has quit [Ping timeout: 244 seconds]
gondalier has quit []
gattuso has quit [Ping timeout: 260 seconds]
tier has quit []
momomomomo has quit [Quit: momomomomo]
gondalier has joined #ruby
definiv has quit [Quit: leaving]
lkba has joined #ruby
DeanH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gattuso has joined #ruby
reset has quit [Read error: Connection reset by peer]
crazymykl has quit [Ping timeout: 257 seconds]
kinginky_ has joined #ruby
lw has quit [Quit: s]
mary5030 has quit [Remote host closed the connection]
<kinginky_> hey everyone. curious if anyone knows of a way for me to add the Cache-Control header to all of my asset requests. im using sinatra + sprockets.
TheKruex has quit []
LekeFly has joined #ruby
joaoh82 has quit [Remote host closed the connection]
<kinginky_> i know how to set the header w/ sinatra. i could use a before block to do it, but then it'll apply to everything, and i only want it to apply to my sprockets assets.
<jhass> iirc there are rack middlewares that do that
<kinginky_> in fact, only my images/fonts.
pu22l3r has quit [Ping timeout: 252 seconds]
<kinginky_> ive been searching around. ive found some things in the right vein but nothing detailing exactly how to do this.
robbyoconnor has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
ikilledthecat has quit [Ping timeout: 240 seconds]
<kinginky_> i could cache-control all requests in a before block but that wont work. there must be a way to do it, though, as i can't be the first to desire it.
crazymykl has joined #ruby
lemur has joined #ruby
robbyoconnor has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
GriffinHeart has joined #ruby
gbchaosmaster has joined #ruby
razrunelord has quit [Remote host closed the connection]
mary5030 has joined #ruby
lxsameer has quit [Quit: Leaving]
havenwood has joined #ruby
<canton7> typically you'd use a server like apache or nginx to serve your static files, and they'd handle the caching aspect of it
<Edelwin> nginx
reset has joined #ruby
seitensei has quit [Read error: Connection reset by peer]
cocotton_ has joined #ruby
mjb2k has quit [Quit: Leaving]
mikepack has quit [Read error: Connection reset by peer]
zoraj_ has joined #ruby
bmurt has quit []
seitensei has joined #ruby
wallerdev has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
<jhass> ^ if you you really need to serve them through the app, writing a rack middleware that adds them conditionally matching on the request path should be very easy
zoraj has quit [Read error: Connection reset by peer]
dangerousdave has quit [Ping timeout: 245 seconds]
Deejay_ has quit [Quit: Computer has gone to sleep.]
jailbot has joined #ruby
wallerdev has joined #ruby
lemur has quit [Ping timeout: 244 seconds]
gogiel has quit [Ping timeout: 245 seconds]
sivoais has quit [Ping timeout: 245 seconds]
GriffinHeart has quit [Ping timeout: 272 seconds]
arya_ has quit [Ping timeout: 252 seconds]
matrixise has quit [Ping timeout: 245 seconds]
echevemaster has quit [Ping timeout: 245 seconds]
cocotton has quit [Ping timeout: 244 seconds]
pvb has quit [Ping timeout: 240 seconds]
arya_ has joined #ruby
gogiel has joined #ruby
sivoais has joined #ruby
matrixise has joined #ruby
SBoolean has quit [Remote host closed the connection]
cocotton_ has quit [Ping timeout: 244 seconds]
dangerousdave has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bluOxigen has joined #ruby
echevemaster has joined #ruby
iamayam has quit [Ping timeout: 252 seconds]
iamayam has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
toordog has quit [Ping timeout: 240 seconds]
agent_white has quit [Read error: Connection reset by peer]
sinkensabe has quit [Remote host closed the connection]
toordog has joined #ruby
sinkensabe has joined #ruby
kireevco has joined #ruby
newUser1234 has joined #ruby
jailbot is now known as lordflapjack
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
phutchins has joined #ruby
agent_white has joined #ruby
superscott[8] has quit [Ping timeout: 272 seconds]
andrewjanssen has joined #ruby
superscott[8] has joined #ruby
Zenigor has quit [Remote host closed the connection]
almostwhitehat has left #ruby [#ruby]
sinkensabe has quit [Ping timeout: 252 seconds]
combusean has quit [Quit: Leaving.]
Andy1991 has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
Rollabunna has joined #ruby
Andy1991 has quit [Quit: Page closed]
danijoo has joined #ruby
<sweeper> so I've got this proprietary ruby extension I need to package into a gem
RaCx has quit [Quit: Computer has gone to sleep.]
<sweeper> it has one "ruby ext" .so file and a separate .so file
<sweeper> how do I make it so installing the gem installs that so second file and links it in?
djbkd has quit [Remote host closed the connection]
frogssgy has joined #ruby
joaoh82 has joined #ruby
NukePuppy has quit [Ping timeout: 244 seconds]
Arkaniad has joined #ruby
Rollabunna has quit [Ping timeout: 252 seconds]
yubrew has quit [Remote host closed the connection]
djbkd has joined #ruby
superscott[8] has quit []
sarkis has quit [Ping timeout: 244 seconds]
combusean has joined #ruby
combusean has quit [Client Quit]
kireevco has quit [Quit: Leaving.]
mary5030 has quit [Remote host closed the connection]
aniM has quit [Ping timeout: 240 seconds]
andrewlio has left #ruby [#ruby]
hpoydar has joined #ruby
frosgy has quit [Ping timeout: 272 seconds]
razrunelord has joined #ruby
isthisreallife has joined #ruby
zorak has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mostlybadfly has quit [Quit: Connection closed for inactivity]
fgo has joined #ruby
ldnunes has quit [Quit: Leaving]
kireevco has joined #ruby
kireevco has quit [Client Quit]
robbyoconnor has quit [Excess Flood]
volk_ has quit [Quit: volk_]
robbyoconnor has joined #ruby
shvelo has quit [Ping timeout: 244 seconds]
mobi_pontiki has joined #ruby
<shevy> what does "ruby ext" mean
<mobi_pontiki> rehi
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> Mobi whale!
<shevy> pontiki transformed into a whale!
St_Marx has quit [Quit: Ex-Chat]
* agent_white giggles and cheers
kyb3r_ has joined #ruby
<mobi_pontiki> all the bikers left work fast so I did too. thunderstorms!
Guest43929 has joined #ruby
<shevy> sweeper if it is just a .so file and you have no source code anyway, why don't you simply copy it to /usr/lib
<shevy> sounds dangerous
jxf has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Ping timeout: 272 seconds]
<sweeper> shevy: cause I want it to be easy to install :/
autonomousdev has quit [Ping timeout: 264 seconds]
beneggett has joined #ruby
Guest43929 has quit [Quit: Leaving]
sailias has quit [Quit: Leaving.]
<mobi_pontiki> not really, but I don't want to walk in one
jerius has quit [Ping timeout: 244 seconds]
<shevy> sweeper what is so hard using cp
phutchins has quit [Ping timeout: 244 seconds]
<sweeper> shevy: lots of servers...versions will change, etc
fgo has quit [Ping timeout: 272 seconds]
<shevy> I mean that's what a Makefile does as well no? it copies the stuff it compiled in the subdir
<sweeper> so if it's packaged in a gem, I can just ship it up to github and bam
autonomousdev has joined #ruby
dda has quit [Ping timeout: 252 seconds]
<shevy> then make it a gem
benzrf is now known as benzrf|offline
<mikecmpbll> >> [1,1,2,3,1,1,2].chunk{|n| n.even?}.to_a
<eval-in> mikecmpbll => [[false, [1, 1]], [true, [2]], [false, [3, 1, 1]], [true, [2]]] (https://eval.in/163565)
<shevy> for a .gem one needs a .gemspec file
kireevco has joined #ruby
<shevy> then this command will work:
<shevy> gem build *.gemspec
<shevy> then you have that .gem
<lordflapjack> my brain
datafirm has quit [Quit: Computer has gone to sleep.]
<shevy> lordflapjack learn from a zombie and get rid of it
datafirm has joined #ruby
<lordflapjack> ?
<lordflapjack> oh zombie joke I get it
Asher has joined #ruby
<mobi_pontiki> fsvo joke
kirun has quit [Quit: Client exiting]
sinkensabe has joined #ruby
<mobi_pontiki> tram is packed
St_Marx has joined #ruby
aniM has joined #ruby
datafirm has quit [Ping timeout: 244 seconds]
razrunelord has quit []
zwer has quit [Ping timeout: 264 seconds]
zwer_u has joined #ruby
exgf_z_o_m_n_e has joined #ruby
mostlybadfly has joined #ruby
DeanH has joined #ruby
DrCode has quit [Ping timeout: 264 seconds]
DeanH has quit [Max SendQ exceeded]
exgf_z_o_m_n has quit [Ping timeout: 264 seconds]
lemur has joined #ruby
dgutierrez1287 has joined #ruby
ta has quit [Quit: Leaving...]
momomomomo has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klaut has quit [Remote host closed the connection]
zoraj_ has quit [Remote host closed the connection]
Stalkr_ has quit [Quit: Leaving...]
DrCode has joined #ruby
<AlexRussia> someone know where here good channel about C(not C++) PL?
<ericwood> ##c++
<ericwood> or whatever
<AlexRussia> pfff
<Mon_Ouie> Yeah, ##c++ is probably great for 'C (not C++)' :p
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sweeper> c-lang?
<AlexRussia> ericwood: ##c
<AlexRussia> ericwood: remember ;)
<ericwood> ##c++ is the C++ channel
<ericwood> ¯\_(ツ)_/¯
<AlexRussia> sweeper: that more listen like compilator
<AlexRussia> ericwood: yes, i said, not C++, only C
amargherio has quit [Remote host closed the connection]
<ericwood> ##c
<AlexRussia> ericwood: yes, i said
<ericwood> ##c
<ericwood> ¯\_(ツ)_/¯
zwer_u is now known as zwer
Zebroid has joined #ruby
RaCx has joined #ruby
lw has joined #ruby
vifino has quit [Quit: Me sais Laptop sleepy.]
jfran has joined #ruby
charliesome has joined #ruby
Bumptious has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 252 seconds]
andrewjanssen has quit [Quit: Linkinus - http://linkinus.com]
Davey is now known as grumble
rgrinberg has quit [Quit: Leaving.]
rails506 has joined #ruby
binaryplease has joined #ruby
<binaryplease> anyone experience with writing ruby scripts for weechat
toastynerd has quit [Remote host closed the connection]
<rails506> whats weechat ?
yfeldblu_ has joined #ruby
lw has quit [Quit: s]
Steve21 has joined #ruby
jobewan has quit [Quit: Leaving]
jonludlam has quit [Ping timeout: 245 seconds]
benzrf|offline is now known as benzrf
jonludlam has joined #ruby
jxf has joined #ruby
<binaryplease> rails506: a irc client that supports custom scripts written in ruby
utkarsh_ has quit [Quit: No Ping reply in 180 seconds.]
yubrew has joined #ruby
utkarsh_ has joined #ruby
earthquake has joined #ruby
Wolland has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
jhass is now known as jhass|off
Wolland has joined #ruby
Shidash has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
Wolland has quit [Read error: Connection reset by peer]
earthquake has quit [Client Quit]
<binaryplease> rails506: yeah i read some of those, but i dont understand how to get a message written to me
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
earthquake has joined #ruby
arya_ has joined #ruby
Zai00 has quit [Quit: Zai00]
brandonjmckay has quit [Quit: Leaving.]
mobi_pontiki has quit [Quit: Disconnected]
<Steve21> Anyone interested in the ability to get email reminders realted to GitHub issues on a scheduled date and time?
fgo has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
lemur has quit [Remote host closed the connection]
ziggles has joined #ruby
treehug__ has quit []
<ziggles> hi guys... What is the naming convention for classes that start with two capital letters? Like for example "IPFinder"
joaoh82 has quit [Remote host closed the connection]
<ziggles> IpFinder and ip_finder.rb ?
railzForDaiz has quit [Read error: Connection reset by peer]
enebo has quit [Quit: enebo]
hpoydar has quit [Remote host closed the connection]
abdulsattar has quit [Ping timeout: 255 seconds]
hermanmunster has quit [Remote host closed the connection]
<dorei> ip_finder.rb is ok, but IpFinder really looks ugly
sputnik13 has joined #ruby
<ziggles> dorei: so ugly
fgo has quit [Ping timeout: 240 seconds]
jespada has quit [Ping timeout: 264 seconds]
arya_ has quit [Ping timeout: 240 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
abdulsattar has joined #ruby
sarkis has joined #ruby
moritzs has quit [Ping timeout: 244 seconds]
dvabr has quit [Quit: Textual IRC Client: www.textualapp.com]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlexRussia has quit [Remote host closed the connection]
arya_ has joined #ruby
dangerousdave has quit [Ping timeout: 244 seconds]
AlexRussia has joined #ruby
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
t0rc has joined #ruby
riotjones has joined #ruby
t0rc has left #ruby [#ruby]
lmickh has quit [Remote host closed the connection]
asteve has joined #ruby
iamayam has quit [Ping timeout: 276 seconds]
nfk has quit [Quit: yawn]
aspires has quit []
aspires has joined #ruby
ramin has joined #ruby
asteve has quit [Client Quit]
beneggett has joined #ruby
<havenwood> InternetProtocolFinder :P
iamayam has joined #ruby
ziggles has quit [Quit: Page closed]
datafirm has joined #ruby
aniM has quit [Remote host closed the connection]
K3dare has quit [Ping timeout: 255 seconds]
<havenwood> though i guess InternetProtocolAddressFinder >.>
_1_vick has joined #ruby
spider-mario has quit [Ping timeout: 255 seconds]
<_1_vick> hi
<havenwood> _1_vick: hi
jespada has joined #ruby
<_1_vick> hws goin
<_1_vick> :D
_1_vick has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
HashNuke has quit [Quit: Connection closed for inactivity]
freerobby has quit [Quit: Leaving.]
geggam has quit [Remote host closed the connection]
gondalier has quit []
joaoh82 has joined #ruby
gondalier has joined #ruby
kies has joined #ruby
brandonjmckay has joined #ruby
kevind has quit [Quit: kevind]
K3dare has joined #ruby
aef has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
binaryplease has quit [Quit: WeeChat 0.4.3]
Zebroid has quit [Remote host closed the connection]
charliesome has joined #ruby
zigomir has quit [Remote host closed the connection]
hpoydar has joined #ruby
Gooder has quit [Read error: Connection reset by peer]
rails506 has quit [Quit: Page closed]
axl_ has quit [Quit: axl_]
rayners has quit [Remote host closed the connection]
fantazo has quit [Ping timeout: 240 seconds]
hpoydar has quit [Ping timeout: 245 seconds]
<eam> `/win 2
Shidash has quit [Ping timeout: 240 seconds]
lw has joined #ruby
<ixti> hi everybody. i have a file foo.rb that requires file bar.rb, in file bar.rb i want to have `DATA` defined with __END__ in bar.rb not in foo.rb
<ixti> is it ever possible?
foobarbaz has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
sinkensabe has quit [Remote host closed the connection]
<foobarbaz> Just a quick question; How do you deal with renaming variables in your code?
<foobarbaz> Seems to be the most dangerous act you can perform in ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
<RubyPanther> foobarbaz: sed
kireevco has joined #ruby
<foobarbaz> lol, that's just as dangerous surely?
<ixti> sed +1
<RubyPanther> it isolates the danger to a single regex
* foobarbaz wonders if NASA would run sed on their code to rename variables
saarinen has quit [Quit: saarinen]
volk_ has joined #ruby
saarinen has joined #ruby
<RubyPanther> you can ask your version management software what files were changed, and review or reject changes
<_maes_> it depends. If you can use IDE like RubyMine, which is aware of language, - it is better to use it instead of sed
kies has quit [Ping timeout: 244 seconds]
<_maes_> Operation is called 'Refactor'
kies has joined #ruby
<_maes_> real time-saver if you work with complex code
GriffinHeart has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arrubin has quit []
lordflapjack has quit [Remote host closed the connection]
kilk_ has quit [Ping timeout: 244 seconds]
gbchaosmaster has quit [Ping timeout: 240 seconds]
onewheelskyward has joined #ruby
ramin has left #ruby [#ruby]
charliesome has joined #ruby
hpoydar has joined #ruby
toastynerd has joined #ruby
RaCx_ has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
tessi is now known as tessi_zz
rs0 has quit [Ping timeout: 252 seconds]
RaCx has quit [Ping timeout: 272 seconds]
RaCx_ is now known as RaCx
Takle has quit [Remote host closed the connection]
<shevy> ixti I think there exists only one unique DATA for any given .rb file
hermanmunster has joined #ruby
rs0 has joined #ruby
<shevy> possibly global too, like ARGV
<ixti> shevy: nope
charliesome has quit [Client Quit]
<shevy> then it should be trivial, simply load the file up and DATA is available, right?
<foobarbaz> Hm, was just wondering. Because I find most of my time on ruby being unproductive wondering why code isn't working
charliesome has joined #ruby
<ixti> DATA is a const defined with content going after __END__ inside file being executed
<shevy> executed? are you sure?
<foobarbaz> It's generally because i've spelt a variable wrong or i'm pointing at the wrong variable
kies has quit [Ping timeout: 240 seconds]
<ixti> shevy: yes. i'm sure. it's actually a quote from docs. and my experiemnt proves that docs are not lying :D
pika_pika has joined #ruby
charliesome has quit [Client Quit]
<shevy> hmm
frem has quit [Ping timeout: 245 seconds]
<ixti> thus, for example
jxf has quit [Ping timeout: 264 seconds]
<shevy> that sucks
Hobogrammer is now known as Hobogrammer
<apeiros> and yes, DATA only exists for the executed file, as it was already mentioned
davispuh has joined #ruby
<ixti> apeiros: thanks
<shevy> yeah that sucks immensely :(
<apeiros> ixti: note: repository was written in 1.8 times. might need polish to work with 1.9.
hermanmunster has quit [Read error: Connection reset by peer]
<shevy> it should be included into main ruby!
saarinen has quit [Quit: saarinen]
<ixti> apeiros: Well, I just though pretty the same to what your gem does :))
<shevy> !!!
<ixti> Something like File.open(__FILE__).drop_while { |s| s != "__END__" }
Alina-malina has quit [Read error: Connection reset by peer]
gondalier has quit []
Alina-malina has joined #ruby
joaoh82 has quit []
<RubyPanther> DATA is just for doing the Perlism which is intended only for short scripts
<RubyPanther> The whole point of the use case is that there is only 1 file
<shevy> I absolutely love DATA
<shevy> I use it in a few scripts for easy toggleable configuration without yaml
<ixti> lol
<ixti> i need it exactly for yaml :D
<shevy> self modifying files!
<shevy> lol
<shevy> you store whole yaml data after __END__ ?
<RubyPanther> yeah, of course it would still be yaml
<ixti> yup
chrishough has quit [Read error: Connection reset by peer]
danman has quit [Quit: danman]
<apeiros> was my use-case too. yaml-metadata in single-file plugins.
<apeiros> read the data without executing the script
<RubyPanther> I'd quit and become a farm hand before I'd eval a hash
definiv has joined #ruby
definiv has quit [Client Quit]
RaCx has quit [Quit: Computer has gone to sleep.]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
definiv has joined #ruby
Dingus has quit [Ping timeout: 272 seconds]
lw has quit [Quit: s]
definiv has quit [Client Quit]
Takle has joined #ruby
hpoydar has quit [Remote host closed the connection]
<shevy> why isn't it used on a per-load basis and works as a per-executed basis instead?
volk_ has quit [Quit: volk_]
baroquebobcat has quit [Quit: baroquebobcat]
sputnik13 has joined #ruby
andrewjanssen has quit [Quit: Linkinus - http://linkinus.com]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
j_mcnally has joined #ruby
hermanmunster has joined #ruby
Veidit has quit [Read error: Connection reset by peer]
j_mcnally has left #ruby [#ruby]
lemur has joined #ruby
dgaffney has joined #ruby
hermanmunster has quit [Read error: Connection reset by peer]
iceden has quit [Ping timeout: 240 seconds]
<ixti> one-liner to "mimic" per-file DATA:
<ixti> File.open(__FILE__, "r").drop_while { |s| s !~ /^__END__$/ }.tap(&:shift)
Rollabunna has joined #ruby
Veidit has joined #ruby
lemur has quit [Ping timeout: 255 seconds]
saarinen has joined #ruby
earthquake has quit [Quit: earthquake]
pika_pika has quit [Ping timeout: 244 seconds]
Rollabunna has quit [Ping timeout: 244 seconds]
definiv has joined #ruby
lw has joined #ruby
fgo has joined #ruby
dmyers has joined #ruby
fgo has quit [Read error: No route to host]
fgo has joined #ruby
Lucky__ has joined #ruby
mikepack has quit [Remote host closed the connection]
iceden has joined #ruby
Steve21 has quit [Quit: Steve21]
baroquebobcat has joined #ruby
gondalier has joined #ruby
toastynerd has quit [Remote host closed the connection]
badhatte1 has joined #ruby
badhatte1 has quit [Client Quit]
badhatter has joined #ruby
mr_snowf1ake has joined #ruby
fgo has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
beneggett has joined #ruby
beneggett has quit [Client Quit]
mercwithamouth has joined #ruby
joaoh82 has joined #ruby
Avahey_ has joined #ruby
brandonjmckay has quit [Ping timeout: 264 seconds]
olivier_bK has quit [Ping timeout: 240 seconds]
cocotton has joined #ruby
xcv_ has quit [Remote host closed the connection]
sski has joined #ruby
tris has quit [Read error: Connection reset by peer]
cocotton has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
earthquake has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
pikapp has joined #ruby
katlogic is now known as katentropy
skylite has quit [Quit: Linkinus - http://linkinus.com]
predator117 has joined #ruby
sputnik13 has joined #ruby
dgaffney has quit [Remote host closed the connection]
yubrew has joined #ruby
alexandrite has joined #ruby
<alexandrite> yyoyo
dgaffney has joined #ruby
<alexandrite> I get the following error when I try to install rails
<alexandrite> ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
volk_ has joined #ruby
<alexandrite> pls help me beautiful ruby people
baroquebobcat has quit [Quit: baroquebobcat]
predator217 has quit [Ping timeout: 252 seconds]
diegoviola has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 240 seconds]
sepp2k1 has joined #ruby
dgaffney has quit [Ping timeout: 255 seconds]
terrellt has quit [Quit: Leaving...]
diegoviola has joined #ruby
saarinen has joined #ruby
enebo has joined #ruby
<havenwood> alexandrite: what version of RubyGems?: gem -v
dseitz has joined #ruby
lw has quit [Quit: s]