apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
deject3d has quit [Quit: Computer has gone to sleep.]
fabrice31 has joined #ruby
lewix has quit [Remote host closed the connection]
tosbourn has joined #ruby
Igorshp has quit [Ping timeout: 245 seconds]
rixius has quit [Ping timeout: 255 seconds]
<SinCabeza> 4sum (popular interview question) Given A, an array of integers, find out if there are any four numbers in the array that sum up to zero.
mitchellhenke has quit [Quit: Computer has gone to sleep.]
rixius_ has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
redlegion has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
multi_io has joined #ruby
tosbourn has quit [Ping timeout: 245 seconds]
robertt_dex has quit [Ping timeout: 250 seconds]
<havenwood> SinCabeza: gem install subset_sum
<multi_io> rbenv problem: just gem installed asciidoctor under an rbenv environment. No shim was installed for the "asciidoctor" executable.
<multi_io> how come?
<multi_io> shouldn't rbenv install shims for all executables of all gems in all ruby versions it knows about?
macoecho has quit [Quit: Leaving]
macoecho has joined #ruby
<SinCabeza> havenwood: nice, but no documentation http://www.rubydoc.info/gems/subset_sum/1.0.1/index
lidenskap has quit [Remote host closed the connection]
Yzguy has quit [Quit: I'm sleeping, go away.]
macoecho has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
c355E3B has quit [Quit: Leaving]
<havenwood> SinCabeza: It's just `SubsetSum.subset_sum values, want, max_seconds = nil`, look at the code.
<multi_io> ah, forgot to run rbenv rehash
<SinCabeza> havenwood: How can I see the source from the web? Is only possible when I download the gem?
<havenwood> multi_io: That's usually the rbenv answer it seems. There's no #rbenv to point folk to. If you get bored some day checkout chruby and leave the world of shims behind.
geeknik has joined #ruby
rixius_ has quit [Ping timeout: 255 seconds]
Yzguy has joined #ruby
Deele has joined #ruby
<geeknik> Could someone re-open https://bugs.ruby-lang.org/issues/10957? It was closed as fixed, I see the code was patched, but I can still trigger it after compiling from git source today.
OtterCoder has quit [Ping timeout: 252 seconds]
<havenwood> SinCabeza: Look on the Githubs.
{orb} has quit [Quit: {orb}]
<havenwood> geeknik: I wonder if you compiled from the right branch?
<havenwood> geeknik: In your Ruby, try: RUBY_ENGINE_VERSION
<havenwood> geeknik: Does it exist?
ponga has quit [Remote host closed the connection]
ClosedGL has joined #ruby
Rickmasta has joined #ruby
<dorei> Is there something better for ['a', 'b', 'c', ''].join("\r\n") if I want to append "\r\n" at the end of the join'd string ?
{orb} has joined #ruby
Yzguy has quit [Client Quit]
vim_shimm has quit [Read error: No route to host]
<havenwood> dorei: You want it between each element or only at the end?
<dorei> between and at the end
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> dorei: ahhh, gotcha
<dorei> that's why the empty string at the end of the join'd array
<havenwood> i didn't notice the string
malcolmva has quit [Ping timeout: 252 seconds]
macoecho has joined #ruby
maximski has joined #ruby
<havenwood> >> %w[a b c].each_with_object("\r\n").to_a.join
scripore has joined #ruby
<ruboto> havenwood # => "a\r\nb\r\nc\r\n" (https://eval.in/312144)
<geeknik> havenwood: I just cloned the entire repo and built it, didn't checkout any specific branch. ./ruby -v shows ruby 2.3.0dev (2015-04-11 trunk 50237) [x86_64-linux]
macoecho has quit [Client Quit]
scripore has quit [Remote host closed the connection]
<havenwood> >> %w[a b c].zip(["\r\n"].cycle).join
<ruboto> havenwood # => "a\r\nb\r\nc\r\n" (https://eval.in/312145)
<havenwood> dorei: but really, i'd:
dx7 has joined #ruby
maximski has quit [Max SendQ exceeded]
<havenwood> >> %w[a b c].map { |s| "#{s}\r\n" }.join
<ruboto> havenwood # => "a\r\nb\r\nc\r\n" (https://eval.in/312146)
scripore has joined #ruby
mac_ has joined #ruby
ta has quit [Remote host closed the connection]
mozzarella has quit [Quit: WeeChat 1.1.1]
mac_ has quit [Client Quit]
scripore has quit [Client Quit]
mozzarella has joined #ruby
<havenwood> geeknik: What do you get for?: ruby -e "p RUBY_ENGINE_VERSION"
maximski has joined #ruby
scripore has joined #ruby
dx7 has quit [Remote host closed the connection]
maximski has quit [Max SendQ exceeded]
<havenwood> geeknik: "2.3.0" or an error about an uninitialized constant?
<geeknik> the latter
dx7 has joined #ruby
<geeknik> ./ruby -e 'print(RUBY_ENGINE_VERSION)' outputs 2.3.0
maximski has joined #ruby
riotjones has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
<havenwood> geeknik: Ah, so it's there for the one you built?
maximski has quit [Max SendQ exceeded]
<SinCabeza> I was thinking about something using zip and join
<geeknik> havenwood: If I run your command line, I get the uninitialized constant (NameError), but if I run my command line, I get 2.3.0. So, confusing. ;)
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
<havenwood> geeknik: compare `which ruby` with `which ./ruby`
<geeknik> the only ruby installed on this VM is in /home/xxx/ruby
maximski has joined #ruby
dx7_ has joined #ruby
dx7 has quit [Read error: No route to host]
yqt has quit [Ping timeout: 252 seconds]
maximski has quit [Max SendQ exceeded]
astrobunny has joined #ruby
<havenwood> i can reproduce the segfault on yesterdays build, compiling now to try head
<geeknik> havenwood: whoops, I typed your commandline in the wrong VM terminal. I get 2.3.0 now in the right terminal.
<geeknik> I have like 3000 ssh sessions going at the same time. heh
<havenwood> geeknik: aha, just a sanity check that you're on trunk - configuring now
<SinCabeza> def a(v); v.zip(["\r\n"] * v.length).flatten.join; end; a("abc".split("")) ==> "a\r\nb\r\nc\r\n"
mengu has joined #ruby
DEA7TH has quit [Ping timeout: 248 seconds]
<SinCabeza> havenwood: that what I was thinking about, cycle is better than using * to create the array
apoplexy has quit [Ping timeout: 245 seconds]
silentpost has quit [Read error: Connection reset by peer]
<havenwood> SinCabeza: I was just joking with the #each_with_object and #cycle. Just #map.
silentpost has joined #ruby
rixius_ has joined #ruby
malcolmva has joined #ruby
quimrstorres has quit [Remote host closed the connection]
vim_shimm has joined #ruby
mengu has quit [Ping timeout: 252 seconds]
<SinCabeza> /lisp
attamusc has joined #ruby
<havenwood> geeknik: Yup, segfault on trunk with: ruby -e '0..%w.'
coderhs has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
Rollabunna has quit [Remote host closed the connection]
<geeknik> havenwood: excellent.
Rollabunna has joined #ruby
<SinCabeza> bye, time to go bed
OtterCoder has joined #ruby
<geeknik> havenwood: Glad I came back to do another pass over Ruby. ;)
riotjones has quit [Ping timeout: 245 seconds]
Rollabunna has quit [Read error: No route to host]
Rollabunna has joined #ruby
<havenwood> geeknik: I think your report should be sufficient to trigger it being reopened. You could check in #ruby-core but it's usually quite quiet there. Good catch!
<havenwood> 6 char segfault!
<geeknik> Almost as good as the 1 char segfault in PHP5 that earned me CVE-2014-9427. ;)
<SinCabeza> /part
SinCabeza has left #ruby [#ruby]
rixius_ has quit [Read error: Connection reset by peer]
gorpon has quit [Ping timeout: 272 seconds]
Pharaoh2 has joined #ruby
Soda has quit [Remote host closed the connection]
Pharaoh2 has quit [Client Quit]
rixius_ has joined #ruby
doodlehaus has quit [Remote host closed the connection]
ClosedGL has quit [Quit: Leaving]
dfinninger has joined #ruby
<geeknik> havenwood: I posted in #ruby-core, thanks for your help and have a good evening
delianides has quit [Remote host closed the connection]
MXfive has joined #ruby
{orb} has quit [Quit: {orb}]
rixius_ has quit [Ping timeout: 255 seconds]
geeknik has left #ruby ["Closing Window"]
{orb} has joined #ruby
doodlehaus has joined #ruby
doodlehaus has quit [Remote host closed the connection]
lidenskap has joined #ruby
dfinninger has quit [Ping timeout: 250 seconds]
sevvie has quit [Ping timeout: 240 seconds]
delianides has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
robustus has joined #ruby
bergice has quit [Quit: HydraIRC -> http://www.hydrairc.com <- IRC with a difference]
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
Yzguy has joined #ruby
SouL_|_ has quit [Ping timeout: 252 seconds]
delianides has quit [Ping timeout: 256 seconds]
quimrstorres has joined #ruby
SouL_|_ has joined #ruby
dorei has quit []
nettoweb has joined #ruby
_honning_ has quit [Ping timeout: 255 seconds]
astrobunny has quit [Remote host closed the connection]
ruby929 has joined #ruby
ruby929 is now known as dudedudeman
<dudedudeman> greeting to you beautiful rubyists
horsecowdog has joined #ruby
<dudedudeman> greetings*? i can't spell
<ferz_> sup
<hfp> >> (5..1).each { |n| puts n }
<ruboto> hfp # => 5..1 (https://eval.in/312149)
<hfp> Why?!
<hfp> Shouldn't it out put number from 5 to 1, one per line?
MXfive has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hfp> output*
ponga has joined #ruby
<hfp> numbers*
<havenwood> >> (5..1).size
<ruboto> havenwood # => 0 (https://eval.in/312150)
<havenwood> >> 5.downto(1) { |n| puts n }
<ruboto> havenwood # => 5 ...check link for more (https://eval.in/312151)
<hfp> Isn't (5..1) an enumerable?
<havenwood> hfp: It's a Range.
<havenwood> >> (5..1).class
<ruboto> havenwood # => Range (https://eval.in/312152)
iotouch has joined #ruby
<hfp> Ha. Did this change in the last few months? I was almost certain I used to use this syntax with each when I wanted to iterate over something
<havenwood> hfp: But yeah, Range mixes in Enumerable.
<havenwood> hfp: Ranges go up.
<hfp> >> (1..5).each { |n| puts n }
<ruboto> hfp # => 1 ...check link for more (https://eval.in/312153)
<hfp> oh I get it now
<hfp> Thanks havenwood
Yzguy has quit [Ping timeout: 250 seconds]
<havenwood> hfp: You're welcome. Yeah, one would expect it'd work going down but no.
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dudedudeman> i have a question
astrobunny has joined #ruby
<dudedudeman> i have two tables, each represented by their own classes
<dudedudeman> foo = class.new
<dudedudeman> so i get that
<dudedudeman> what i want to do, and i'm sure of the truly correct way to do...
<dudedudeman> class.otherclass.create(stuff)
Nuck has quit [Quit: Computer has gone to sleep.]
A205B064 has joined #ruby
endash has quit [Quit: endash]
robertt_dex has joined #ruby
<dudedudeman> i'm currently digging through activerecord api and rails guides, but i'm of course missing something along the way
<gr33n7007h> >> 5.step(1, -1) {|i| puts i }
<ruboto> gr33n7007h # => 5 ...check link for more (https://eval.in/312154)
<havenwood> dudedudeman: So like?: Klass.new(OtherKlass).create(stuff)
<havenwood> dudedudeman: #RubyOnRails is the best channel for Rails-related topics.
<dudedudeman> well, i'm in sinatra and activerecord.. don't know if they'd like me there. lol
<weaksauce> class.otherclass.build(hash)
<weaksauce> or class.otherclass.create(hash) is the way to go
<weaksauce> depending if you want to build it or build it and save it to the backing store
<dudedudeman> ok, for the has, can i pass in @foo for different key values? so i can accept them from user info?
<weaksauce> rephrase that
michaeldeol has joined #ruby
<dudedudeman> class.otherclass.create(foo: "*", bar: "."... etc)
<dudedudeman> rather
<weaksauce> yes
<dudedudeman> class.otherclass.create(@foo: "*", @bar: "."... etc)
<weaksauce> no
<dudedudeman> ok
<dudedudeman> that's where i'm getting hung up
sevvie has joined #ruby
<weaksauce> @foo is a instance variable and you are trying to use that as a key for a hash
<weaksauce> it doesn't work
nemish has quit [Ping timeout: 250 seconds]
OtterCoder has quit [Ping timeout: 255 seconds]
<weaksauce> technically trying to make it a symbol key inside a hash.
<dudedudeman> ok. i didn't think it would work
attamusc has quit [Remote host closed the connection]
markalanevans has quit [Quit: markalanevans]
<centrx> it could work just not with that syntax
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
<centrx> { @obj => 'foo' }
ohaibbq has joined #ruby
<weaksauce> would that just call to_sym on @obj centrx
<weaksauce> or do something else
<dudedudeman> centrx: I could do that and just do something like, @obj = gets.chomp?
<centrx> yeah I agree, using objects as keys is a bad idea
markalanevans has joined #ruby
<centrx> and can be slow, like using even a slow array as a key is much slower
<centrx> *even a small array
Eiam_ has quit [Ping timeout: 265 seconds]
dx7_ has quit [Remote host closed the connection]
<weaksauce> I guess in the first case it would call to_sym in the second just hash the object and use it as a key
<centrx> dudedudeman, yes
<centrx> dudedudeman, string key is good, or call to_sym on it if that makes sense
juanpablo____ has joined #ruby
<centrx> ?dude
<ruboto> I don't know anything about dude
<dudedudeman> @obj = gets.chomp.to_sym
<centrx> dudedudeman, What is the input? A sentence?
<centrx> dudedudeman, you may want to validate the input
gorpon has joined #ruby
sevvie has quit [Ping timeout: 245 seconds]
<dudedudeman> the input will be a string entered from a text box in one of my forms
<centrx> and why is it the key of a hash?
markalanevans has quit [Client Quit]
michael_mbp has quit [Excess Flood]
<centrx> seems like it would be the value in a field, not the field name/key
<dudedudeman> it doesn't have to be. i'm just searching for the best way to get input from text boxes x y z and matching them the appropiate columns in my two tables
<dudedudeman> reading through that now
mitchellhenke has joined #ruby
juanpablo____ has quit [Ping timeout: 264 seconds]
gorpon has quit [Client Quit]
michael_mbp has joined #ruby
gorpon has joined #ruby
horsecowdog has quit [Remote host closed the connection]
<hfp> I have another issue. I am writing a gem that uses rest-client and nokogiri. In my module,
charliesome has joined #ruby
<dudedudeman> what issue are you running in to, hfp
<dudedudeman> ?
narsrim has joined #ruby
sevvie has joined #ruby
<hfp> I am using RestClient.get('http://example.com') but my tests fail with uninitialized constant VoipmsRates::ControllerMethods::RestClient
<hfp> dudedudeman: Sorry, the cat walked on the keyboard and pressed enter before I was done
marcoamo1 has joined #ruby
legit has quit [Quit: Leaving]
<dudedudeman> ha! I wish i had a cat to walk on my keyboard. :(
<hfp> I am using the Adhearsion framework but if it makes any difference and anyone knows it
CloCkWeRX has quit [Ping timeout: 250 seconds]
<hfp> s/but//
Feyn has joined #ruby
<hfp> I required rest-client and then my module in spec_helper, I would have expected RestClient to be assigned then?
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marcoamo1 has quit [Quit: WeeChat 1.1.1]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pen has joined #ruby
<centrx> Is VoipmsRates a class in rest-client?
<centrx> Seems like that would be in your gem or something else
narsrim has quit []
<centrx> the RestClient at the end is a child of the others, a subcategory
iotouch has quit [Ping timeout: 250 seconds]
iotouch has joined #ruby
jwalk has joined #ruby
<jwalk> I'm trying to use refinements to override Hash#[] but for some reason it seems to be applying the refinement to non-hash classes such as NilClass
<jwalk> I'm not sure if I'm doing it wrong or something
krisquigley has joined #ruby
<jwalk> ruby 2.1.0
<mozzarella> !code
RegulationD has joined #ruby
<ruboto> jwalk, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/4bd7ec76378fcc1677f5
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<jwalk> its pretty simple stuff
<centrx> How would it affect NilClass? Are you calling nil[] or something?
sankaber has joined #ruby
<jwalk> i dont know, but i get wierd errors like [] not defined on NillClass. And when i put puts in the refinement - it tells me the class is NilClass
iotouch has quit [Ping timeout: 256 seconds]
<centrx> That means you have a nil in a variable that you thought had an objecet
<heftig> your use of super is wrong
<heftig> you're basically calling the parent method, then calling [] again on the result
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jwalk> ah... refinements are new to me, I thought super in this context was the original method
iotouch has joined #ruby
<heftig> I think you want super(k.to_s) || super(k.to_sym)
<heftig> jwalk: it is
<jwalk> I see.. That makes more sense
krisquigley has quit [Ping timeout: 250 seconds]
<centrx> You're opening up an existing class, not inheriting from another class
<heftig> or is it? I haven't used refinements before
<centrx> If you defined a class MyHash < Hash
lidenskap has quit [Remote host closed the connection]
<centrx> Refinements are just a way to confine behavior changes to specific areas in your code
<centrx> So e.g. monkey-patching only affects one area of your code, not overriding Hash everywhere
RegulationD has quit [Ping timeout: 244 seconds]
<jwalk> Yeah that was it. I got confused and used [] instead of ()
<jwalk> replacing with () works fine
CloCkWeRX has joined #ruby
delianides has joined #ruby
r0bby_ has joined #ruby
quimrstorres has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 240 seconds]
Igorshp has joined #ruby
<jwalk> thanks for the help
<heftig> centrx: super actually works as in the subclass case
<centrx> yeah it looks like it prepends the refinement in the list of ancestor modules
<centrx> it seems like it shouldn't work like that
dfinninger has joined #ruby
<centrx> since doing the same thing elsewhere requires alias_method/_chain
<centrx> Does make it more useful though
bim has joined #ruby
<centrx> sometimes
bim is now known as Guest18072
<jwalk> do i use self.method() to call other methods in the context of the refinement?
<jwalk> or super.method()
sevvie has quit [Ping timeout: 256 seconds]
<jwalk> i think it would be self - but i'm not sure
freestyl3r has quit [Quit: WeeChat 1.1.1]
<drocsid> Trying to learn to use the net/http lib. I'm getting read_body called twice IOError.
Igorshp has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
dfinninger has quit [Ping timeout: 265 seconds]
Guest18072 has quit [Ping timeout: 276 seconds]
<jwalk> Also, whats a good way to make a spec for refinements?
fedexo has joined #ruby
horsecowdog has joined #ruby
fabrice31 has quit [Ping timeout: 252 seconds]
anthony has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
anthony is now known as Guest10328
<centrx> jwalk, whether you use the parent definition or the refinement definition depends on what the method is supposed to do
<centrx> jwalk, if you don't define a method in the refinement, but call self.method, it will just go up the chain to the parent method
hmsimha has quit [Ping timeout: 252 seconds]
davedev24_ has joined #ruby
Lilian has joined #ruby
maciejczyzewski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobunny has quit [Remote host closed the connection]
casshern2 has quit [Ping timeout: 250 seconds]
horsecowdog has quit [Remote host closed the connection]
<drocsid> anybody have any ideas about the duplicate readbody? It says here http://apidock.com/ruby/Net/HTTPResponse/read_body Calling this method a second or subsequent time for the same HTTPResponse object will return the value already read. When I got the response did it get the body itself? response=http.request request
Lilian has left #ruby ["Leaving"]
hmsimha has joined #ruby
astrobunny has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
Beoran__ has joined #ruby
lemur has quit [Remote host closed the connection]
iotouch has joined #ruby
maximski has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Nuck has joined #ruby
speakingcode has joined #ruby
Beoran_ has quit [Ping timeout: 250 seconds]
speakingcode has quit [Remote host closed the connection]
<hfp> centrx: It seems I needed to manually require it in the controller using that module. Not sure if there is a better way?
<hfp> centrx: Sorry, I meant I have to require 'rest-client' in the module
sevvie has joined #ruby
wingedsnake has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
ParmesanCaesar has joined #ruby
jottr has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
willharrison has joined #ruby
Guest53782 has joined #ruby
lanemeyer has quit [Ping timeout: 256 seconds]
iasoon has quit [Ping timeout: 265 seconds]
r0bby_ is now known as robbyoconnor
jeramy_s has joined #ruby
<{orb}> yes guys where is ruby for a beginning programmer?
<{orb}> I need to know what will make me learn, exercises?
<drocsid> tryruby is the site I'm familiar with.
<sweeper> lol. just scared the crap out of my kids by telling them the story of herobrine
<zubov_> free code school class ruby koans
ausloschung has joined #ruby
<ParmesanCaesar> or just run the irb binary and work on implementing something
<{orb}> erm...where do I learn ruby syntax?
<{orb}> I want an IRC bot
<{orb}> because I'm bored
<ParmesanCaesar> i learned python first
<havenwood> {orb}: Here are some Ruby-related links: http://ruby-community.com/pages/links
<ParmesanCaesar> took me a day to be somewhat competent in ruby
jottr_ has quit [Read error: Connection reset by peer]
<havenwood> {orb}: Try making an IRC bot with Cinch: https://github.com/cinchrb/cinch
<ParmesanCaesar> just run through examples or some documentation while running the irb command line binary
JoshGlzBrk has joined #ruby
cajone has quit [Remote host closed the connection]
shevy has joined #ruby
jottr has joined #ruby
ausloschung has quit [Client Quit]
tus has quit []
<shevy> now on linuxmint and no longer slackware \o/
<sweeper> shevy: time to switch the arch, then the transition will be complete
<sweeper> although slack -> mint is kind of a weird move
<sweeper> *switch to arch
<shevy> dunno
<shevy> I usually download a fat .iso
<shevy> I think when you install the default slackware dvd, you end up with about 7 gig
<sweeper> :o
<sweeper> tis changed a bit then since I used it as my first desktop distro
<sweeper> course that was over 10 years ago
<sweeper> you should ttly try arch
<sweeper> it doesn't even come with ssh :3
xxneolithicxx has joined #ruby
ohaibbq has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 264 seconds]
<shevy> I think that was the reason I did not pick arch, I was only look for fatties and couldn't find a fattie, only a slender base install
<shevy> *was only looking
byprdct has joined #ruby
CloCkWeRX has quit [Ping timeout: 250 seconds]
<xxneolithicxx> shevy walks into a room and states "im looking for fatties". What room did he walk into? The endless interpretations lol
{orb} has left #ruby [#ruby]
<shevy> fat dvds
<shevy> linuxmint has a weird theme
<Hijiri> Is there a tool on windows that will statically put everything a ruby script uses into an executable?
<Hijiri> or on linux, that will pack it into a windows executable
<Hijiri> I think I've asked this question before, but I don't remember if it was here
<shevy> Hijiri there was... hmm
<xxneolithicxx> windows needs a damn package manager, nuff said
dfinninger has joined #ruby
<shevy> I forgot the name... it was from erik
<shevy> he did ruby webdialogs years ago
<shevy> and ruby2... something... ruby2exe or so
<shevy> BUT I think someone else took this project, and made a more recent one... not sure, on rubygems I think
<Hijiri> thanks
maximski has quit []
<xxneolithicxx> interesting is that basically a translator to native code or something or bundling the ruby core/gems + script
<havenwood> xxneolithicxx: the latter
dfinninger has quit [Ping timeout: 255 seconds]
centrx has quit [Ping timeout: 250 seconds]
gorpon has quit [Ping timeout: 256 seconds]
Megtastique has quit []
Joufflu has joined #ruby
vim_shimm has quit [Ping timeout: 272 seconds]
thomas1 has joined #ruby
<willharrison> not ruby related, but chrome spark's music is good to program to
gorpon has joined #ruby
Megtastique has joined #ruby
<willharrison> never heard of him before but he ended up on my youtube and I am very pleased
The_Phoenix1 has joined #ruby
thomas1 has quit [Client Quit]
dfinninger has joined #ruby
The_Phoenix has quit [Ping timeout: 256 seconds]
threh has joined #ruby
CloCkWeRX has joined #ruby
dx7 has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
<xxneolithicxx> white noise or rain sounds all the way here
braincrash has quit [Quit: bye bye]
<xxneolithicxx> focus food for the brain
<willharrison> rain is a good one
juanpablo____ has joined #ruby
iotouch has joined #ruby
threh has quit [Ping timeout: 244 seconds]
dx7 has quit [Ping timeout: 252 seconds]
juanpablo____ has quit [Ping timeout: 264 seconds]
Guest10328 has quit [Ping timeout: 250 seconds]
sd_neil__ has joined #ruby
astrobunny has quit [Remote host closed the connection]
jeramy_s has quit [Quit: Peace out!]
arescorpio has joined #ruby
braincrash has joined #ruby
Rodya_ has joined #ruby
jottr_ has joined #ruby
SouL_|_ has quit [Ping timeout: 240 seconds]
A205B064 has quit [Ping timeout: 246 seconds]
jottr has quit [Ping timeout: 272 seconds]
SouL_|_ has joined #ruby
musashi has joined #ruby
<musashi> Can anyone tell me what "h, l = divmod 3600" does?
<xxneolithicxx> multiple assignment looks like
<xxneolithicxx> though it doesnt look right
<mozzarella> should be
<mozzarella> num.divmod 3600
<xxneolithicxx> ahh method call ok
<musashi> That's what I can't wrap my head around... It seems to work the way it is written.
<mozzarella> divmod returns the division and modulo (remainder)
threh has joined #ruby
amystephen has quit [Quit: amystephen]
exadeci has quit [Quit: Connection closed for inactivity]
<xxneolithicxx> its probably returning an array of two values, each value gets assigned to the variable
Megtastique has quit []
<mozzarella> musashi: maybe someone wrote a divmod function? is it part of a big app?
<xxneolithicxx> it would have been clearer as "h, l = divmod(3600)" imo
Channel6 has quit [Quit: Leaving]
<musashi> I've looked for it and it didn't come up.
astrobunny has joined #ruby
<musashi> mozzarella: i dont get why its not taking 2 arguments.
krisquigley has joined #ruby
<xxneolithicxx> its a method of the first number
<xxneolithicxx> so thats what should have been there
<xxneolithicxx> ie 10.divmod(3600)
RegulationD has joined #ruby
<musashi> The first number- in this case it would be the variable h?
threh has quit [Ping timeout: 250 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> what do you guys think about the design of this page: https://ffmpeg.org/download.html
scripore has quit [Quit: This computer has gone to sleep]
<mozzarella> musashi: try teh following:
<xxneolithicxx> i think the left menu needs more contrast separation or some color differentiation
<mozzarella> p method(:divmod).parameters
<xxneolithicxx> and i think the overall background and the background of the individual sections are too close in color (but thats just my preference)
<shevy> xxneolithicxx interesting. I kind of went from pages to pages, downloading gnutls, libnettle, libogg and lots more things... and that was the first page that was actually visually pleasing (I just downloaded ffmpeg-2.6.2, currently compiling it)
Rodya_ has quit [Quit: Leaving...]
krisquigley has quit [Ping timeout: 256 seconds]
<mozzarella> musashi: tell us what it says
threh has joined #ruby
psy_ has joined #ruby
jason^ has quit [Quit: WeeChat 1.1]
RegulationD has quit [Ping timeout: 252 seconds]
<musashi> Ok.
<xxneolithicxx> shevy: its simplistic and better than some though so its got that going for it lol. its like a modern contemporary clean feel
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> :)
delianides has quit [Read error: Connection reset by peer]
<shevy> if you want to see competitors... gnutls wants libunbound... so I went to find it... https://unbound.net/download.html not so pleasing... but at least it is easily navigable
delianides has joined #ruby
<shevy> what I hate most are pages where I can not quickly find what I am trying to find
<shevy> it's like walking through a labyrinth, that world wide web.....
reinaldob has joined #ruby
astrobunny has quit [Remote host closed the connection]
<musashi> mozzarella: im having trouble doing that because it's part of an application.
tosbourn has joined #ruby
Meow-J has joined #ruby
dc has joined #ruby
<ParmesanCaesar> I wonder if we were the artificial intelligence created by the dinosaurs
dc has quit [Remote host closed the connection]
fabrice31 has joined #ruby
<shevy> the dinosaurs were not great hackers
<ParmesanCaesar> hue hue hue
<shevy> it was too warm and there was too much oxygen in the air
<ParmesanCaesar> AI begets AI
<xxneolithicxx> was that why they were bigger? fuck i forget my grade school stuff
dc has joined #ruby
tosbourn has quit [Ping timeout: 272 seconds]
mitchellhenke has joined #ruby
gorpon has quit [Ping timeout: 244 seconds]
tkuchiki has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
vim_shimm has joined #ruby
lidenskap has joined #ruby
lethosor|away has quit [Quit: Connection closed for inactivity]
lemur has joined #ruby
<shevy> dunno. I mean they required a lot of food logically, so there must have been a lot of plants too
x1337807_ has joined #ruby
<xxneolithicxx> no well the oxygen did play a factor IIRC, similar to how theres some mount people in some country that are insanely short due to high elevation and lack of oxygen
<xxneolithicxx> *mountain
<shevy> the japanese?
<xxneolithicxx> lol
<shevy> :D
<shevy> we are weird because we don't normally have fur
wldcordeiro has joined #ruby
tmk1108 has joined #ruby
bim has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
delianides has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 272 seconds]
x1337807x has quit [Ping timeout: 256 seconds]
edwardly has quit [Read error: Connection reset by peer]
bim is now known as Guest81694
claptor has joined #ruby
willharrison has joined #ruby
<musashi> mozzarella: yeah, i can't print the output. :/
mleung has joined #ruby
<Obfuscate> xxneolithicxx: They're called pygmies, and such people are usually found in heavily forested areas and at low elevation...
jottr_ has joined #ruby
Guest81694 has quit [Ping timeout: 252 seconds]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
ferz_ has quit [Quit: Leaving]
robertt_dex has quit [Remote host closed the connection]
vim_shimm has quit [Ping timeout: 240 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
astrobunny has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
zubov_ has quit [Quit: Bye Bye!]
astrobunny has quit [Remote host closed the connection]
gorpon has joined #ruby
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
spicerack has joined #ruby
spicerack has joined #ruby
Rodya_ has joined #ruby
reinaldob has quit [Remote host closed the connection]
shevy has quit [Quit: ""]
apoplexy has joined #ruby
timanema has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
gsd has joined #ruby
eytanfb has quit [Ping timeout: 252 seconds]
unclouded has quit [Read error: No route to host]
lemur has quit [Remote host closed the connection]
nemela has joined #ruby
mleung has quit [Quit: mleung]
tkuchiki has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
nemela has left #ruby ["/camp"]
Kutten has quit [Ping timeout: 272 seconds]
Channel6 has joined #ruby
delianides has joined #ruby
dudedudeman has quit [Ping timeout: 246 seconds]
threh has quit [Ping timeout: 250 seconds]
apoplexy has quit [Ping timeout: 245 seconds]
<xxneolithicxx> really, i thought they were in one of the latin american countries at high elevation
timanema has quit [Remote host closed the connection]
delianides has quit [Ping timeout: 255 seconds]
timanema has joined #ruby
riotjones has joined #ruby
nonnatus has quit [Quit: WeeChat 1.0.1]
colorisco has quit [Ping timeout: 248 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has quit [Quit: Leaving...]
wldcordeiro has quit [Ping timeout: 245 seconds]
<xxneolithicxx> does anyone have a coding buddy
unclouded has joined #ruby
<xxneolithicxx> was reading about it yesterday and found it weird, considering i tend to learn on my own
dc has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
axilla has quit [Ping timeout: 265 seconds]
<eam> xxneolithicxx: sure do
<xxneolithicxx> at work or outside work
<musashi> Not since college.. Would like one though
<eam> at work
<xxneolithicxx> i work with people who can barely code worth their life so im not so fortunate lol
<eam> musashi: let's write a program together!
BlackGear has joined #ruby
<eam> xxneolithicxx: find a better job with better peers :)
<xxneolithicxx> im trying :-)
BlackGear has quit [Max SendQ exceeded]
<xxneolithicxx> trust me lol
BlackGear has joined #ruby
<xxneolithicxx> copy/paste java coders that look at ruby and say their head hurts is not the type I can ask for help
ujihisa has quit [Ping timeout: 250 seconds]
tmk1108 has quit [Quit: Textual IRC Client: www.textualapp.com]
BlackGear has quit [Max SendQ exceeded]
BlackGear has joined #ruby
<musashi> Sometimes explaining your code can be a useful exercise.. I forget the name for the debugging strat where you read your code to someone
BlackGear has quit [Max SendQ exceeded]
Rollabunna has quit [Quit: Leaving...]
oo_ has quit [Remote host closed the connection]
Rollabunna has joined #ruby
BlackGear has joined #ruby
BlackGear has quit [Max SendQ exceeded]
<xxneolithicxx> pair programming?
riotjones has quit [Ping timeout: 245 seconds]
<eam> rubber ducking
BlackGear has joined #ruby
BlackGear has quit [Client Quit]
<Obfuscate> If you pair two people together, as long as one of them still cares in the slightest, code quality tends to go up simply due to the embarrassment factor.
<xxneolithicxx> wth, seriously, thats whats it called lol
<xxneolithicxx> thats why i like coding on github
<eam> Obfuscate: two people in a pair -- one of them is learning for sure
<xxneolithicxx> weak coders stay away for fear of posting crappy code
<eam> xxneolithicxx: if you like learning you should find a way to enjoy teaching too
<xxneolithicxx> but thats a dumb fear imo, its part of the learning process
colorisco has joined #ruby
<xxneolithicxx> eam: i enjoy teaching, its just my fellow workers dont enjoy learning
<Obfuscate> eam: If both are strong developers, there's not much point (unless perhaps one of them has given up on life and needs constant "motivation").
gr33n7007h has quit [Ping timeout: 245 seconds]
<eam> strength is a magnitude but there are many directions :)
iamninja has joined #ruby
gr33n7007h has joined #ruby
<xxneolithicxx> eam: confusius says?
<Obfuscate> I have no argument. ;)
mburns is now known as mburns_
silentpost has quit [Read error: Connection reset by peer]
ohaibbq has joined #ruby
silentpost has joined #ruby
markholmes has joined #ruby
gr33n7007h has quit [Ping timeout: 246 seconds]
Igorshp has joined #ruby
Eiam_ has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
shevy has joined #ruby
Igorshp has quit [Ping timeout: 252 seconds]
apoplexy has joined #ruby
dx7 has joined #ruby
khebbie has joined #ruby
juanpablo____ has joined #ruby
jottr_ has joined #ruby
pac has joined #ruby
zzing has joined #ruby
<shevy> linux is madness
<shevy> "with the aim of isolating udev from any particular flavor of system initialization"
<shevy> they hate systemd
dx7 has quit [Ping timeout: 240 seconds]
juanpablo____ has quit [Ping timeout: 265 seconds]
x1337807x has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
jottr_ has quit [Ping timeout: 252 seconds]
khebbie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
timanema has quit [Ping timeout: 250 seconds]
<xxneolithicxx> systemd is good for standardization but its scary how much its engulfing
The_Phoenix1 has quit [Quit: Leaving.]
fryguy9 has joined #ruby
<shevy> hehe
fryguy9 has quit [Client Quit]
<shevy> We are The Borg.
<shevy> Resistance is futile.
<shevy> You will be assimilated.
braincra- has joined #ruby
pac has quit [Quit: Leaving]
lxsameer has joined #ruby
Nuck has quit [Quit: Computer has gone to sleep.]
braincrash has quit [Ping timeout: 256 seconds]
<eam> systemd is awful for standardization
<eam> there's no spec
<eam> it'll be gone in 5 years
zotherstupidguy has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
Nuck has joined #ruby
Pharaoh2 has joined #ruby
<shevy> no eam, the bad things last forever
<shevy> this is linux!
Zamerick has quit [Read error: Connection reset by peer]
<shevy> there are still people hoping for perl 6 to come and shine
<Nilium> I hope Perl 6 does well.
<Nilium> I'm always in favor of new programming languages.
<shevy> hey it is perl 5 evolved!
krisquigley has joined #ruby
<Nuck> I'm pretty sure Perl 6 happened and it was named Ruby
<Nuck> :D
lemur has joined #ruby
claptor has quit [Quit: this channel is bakas]
cpt_yossarian has quit [Ping timeout: 256 seconds]
markholmes has quit [Quit: So it goes.]
mleung has joined #ruby
RegulationD has joined #ruby
versatiletech has joined #ruby
oo_ has joined #ruby
dfinninger has quit [Remote host closed the connection]
<versatiletech> ain’t that beautiful. The ruby talk mailing list is being flooded by some russian hacker group.
jwalk has quit [Quit: This computer has gone to sleep]
krisquigley has quit [Ping timeout: 244 seconds]
mburns_ is now known as mburns
<Nilium> That doesn't seem very hackery
<shevy> I never managed to get into mailing lists
<shevy> I can't keep up with things through mails
RegulationD has quit [Ping timeout: 245 seconds]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
khebbie has joined #ruby
khebbie has quit [Client Quit]
A205B064 has joined #ruby
<lemur> Gmail Settings > Filter > Auto Delete any containing words tclmafia
<lemur> done
* lemur sighs
<lemur> If that's their definition of hacking it's pretty sad.
armyriad has joined #ruby
lemur has quit []
Spami has joined #ruby
fabrice31 has joined #ruby
<versatiletech> lemur: yep added a filter
iamjarvo has joined #ruby
charliesome has quit [Quit: zzz]
cpt_yossarian has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
AlphaTech is now known as zz_AlphaTech
lemur has joined #ruby
riotjones has joined #ruby
mleung has quit [Quit: mleung]
Pharaoh2 has quit [Disconnected by services]
Pharaoh2_ has joined #ruby
<lemur> versatiletech: careful not to block by sender
<lemur> last time they had some shenanigans going in forging senders to be all the people who'd replied to the ruby mailing group
<lemur> but seriously though, TCL, how often is it used anymore?
gr33n7007h has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
shevy has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shevy has joined #ruby
JoshGlzBrk has joined #ruby
<lemur> Python I can understand as a valid comparison, Perl as well. TCL I hardly see used anywhere anymore.
<lemur> Feel free to argue that one, but I just haven't seen it in the wild for years.
<shevy> TCL is strong in the underground man
<shevy> they will emerge out of the depths of the sewers with a vengeance
Dakuan has joined #ruby
wallerdev has quit [Quit: wallerdev]
<Eiam_> seems like a lot of eggdrops are written in tcl
VBlizzard has joined #ruby
sevenseacat has joined #ruby
x1337807x has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
Parmesan1aesar has joined #ruby
pontiki_ has joined #ruby
FDj_ has joined #ruby
jheg_ has joined #ruby
cardoni_ has joined #ruby
djbender_ has joined #ruby
bjeanes__ has joined #ruby
gorpon has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
jaygen_ has joined #ruby
grubernaut_ has joined #ruby
x1337807x has quit [Max SendQ exceeded]
coderkevin_ has joined #ruby
cstrahan_ has joined #ruby
bcavileer_ has joined #ruby
Kricir_ has joined #ruby
x1337807x has joined #ruby
ujihisa has joined #ruby
mostlybadfly_ has joined #ruby
daxroc_ has joined #ruby
<shevy> now we know why tcl is useful
alekst__ has joined #ruby
ta has joined #ruby
lavros has joined #ruby
jpinnix_______ has joined #ruby
strmpnk_ has joined #ruby
dukedave_ has joined #ruby
cscheib_ has joined #ruby
zenspider_ has joined #ruby
deimos_ has joined #ruby
panga has joined #ruby
flori_ has joined #ruby
vikram__ has joined #ruby
ponga has quit []
olleromo____ has joined #ruby
panga is now known as ponga
<ponga> why was i panga
ndrei_ has joined #ruby
queequeg2 has joined #ruby
machty_ has joined #ruby
bim has joined #ruby
bigmac_ has quit [Quit: Leaving]
bim is now known as Guest16823
frankS2_ has joined #ruby
iotouch has joined #ruby
<Eiam_> shevy: eh, tcl is a pretty solid language
<Eiam_> it has its place
<shevy> hey ponga
<ponga> hi
jaxxstorm_ has joined #ruby
cjk101010_ has joined #ruby
JaTochNietDan_ has joined #ruby
mosheee has joined #ruby
BackEndCoder_ has joined #ruby
trollface has joined #ruby
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lupine_85 has joined #ruby
yosafbridge` has joined #ruby
nettoweb has joined #ruby
colorisco has quit [*.net *.split]
ParmesanCaesar has quit [*.net *.split]
pontiki has quit [*.net *.split]
Hijiri has quit [*.net *.split]
gregf1 has quit [*.net *.split]
jaygen has quit [*.net *.split]
jheg has quit [*.net *.split]
_blizzy_ has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
ndrei has quit [*.net *.split]
hanmac has quit [*.net *.split]
Kricir has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
Billias has quit [*.net *.split]
moshee has quit [*.net *.split]
flori has quit [*.net *.split]
ValicekB has quit [*.net *.split]
zenspider has quit [*.net *.split]
cscheib has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
deimos has quit [*.net *.split]
froots has quit [*.net *.split]
jimeh has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
bcavileer has quit [*.net *.split]
FDj has quit [*.net *.split]
coderkevin has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
Riking has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
machty has quit [*.net *.split]
Dwarf has quit [*.net *.split]
bjeanes_ has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
djbender has quit [*.net *.split]
olleromo___ has quit [*.net *.split]
fold has quit [*.net *.split]
cardoni has quit [*.net *.split]
skarn_ has joined #ruby
grubernaut has quit [*.net *.split]
cstrahan has quit [*.net *.split]
skarn has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
Paradox has quit [*.net *.split]
dukedave has quit [*.net *.split]
mist has quit [*.net *.split]
lupine has quit [*.net *.split]
daxroc has quit [*.net *.split]
alekst_ has quit [*.net *.split]
strmpnk has quit [*.net *.split]
frankS2 has quit [*.net *.split]
vikram_ has quit [*.net *.split]
jpinnix______ has quit [*.net *.split]
snapcase has quit [*.net *.split]
jheg_ is now known as jheg
JaTochNietDan_ is now known as JaTochNietDan
jaxxstorm_ is now known as jaxxstorm
mist__ has joined #ruby
lupine_85 is now known as lupine
Guest16823 has quit [Ping timeout: 248 seconds]
Billias has joined #ruby
diegoviola has joined #ruby
djbender_ is now known as djbender
Nuck has quit [Quit: Computer has gone to sleep.]
mostlybadfly_ is now known as mostlybadfly
riking_ has joined #ruby
olleromo____ is now known as olleromo___
nettoweb has quit [Client Quit]
bjeanes__ is now known as bjeanes_
bcavileer_ is now known as bcavileer
Takle has joined #ruby
nahtnam has quit []
grubernaut_ is now known as grubernaut
jpinnix_______ is now known as jpinnix______
cardoni_ is now known as cardoni
coderkevin_ is now known as coderkevin
RoryHughes has joined #ruby
alekst__ is now known as alekst_
cstrahan_ is now known as cstrahan
daxroc_ is now known as daxroc
vikram__ is now known as vikram_
frankS2_ is now known as frankS2
coderhs has joined #ruby
yxhuvud has joined #ruby
Meow-J has quit [Quit: Connection closed for inactivity]
Hijiri has joined #ruby
ValicekB_ has joined #ruby
Takle has quit [Ping timeout: 246 seconds]
colorisco has joined #ruby
froots has joined #ruby
machty_ is now known as machty
ValicekB_ is now known as ValicekB
fold has joined #ruby
hanmac has joined #ruby
gregf1 has joined #ruby
oo_ has quit [Remote host closed the connection]
astrobunny has joined #ruby
jimeh has joined #ruby
mlev has quit [Read error: Connection reset by peer]
colorisco has quit [Ping timeout: 256 seconds]
Snarkz has joined #ruby
ta has quit [Remote host closed the connection]
mitchellhenke has joined #ruby
Rickmasta has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
browndawg has joined #ruby
tkuchiki has joined #ruby
<shevy> ponga, are you still writing crystal code?
Snarkz has quit [Remote host closed the connection]
<ponga> shevy: you asked that before and i said 'not at the moment'
<ponga> is it such an important issue whether ponga writes crystal
astrobunny has quit [Remote host closed the connection]
<shevy> ah
<shevy> yeah
<ponga> lol
<ponga> nah im back to ruby 2.2.1
<shevy> \o/
<shevy> we got you back
Dwarf has joined #ruby
oo_ has joined #ruby
pontiki_ has quit [Ping timeout: 245 seconds]
colorisco has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mozzarella> what's special about crystal?
oo_ has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
justin_pdx has joined #ruby
<shevy> dunno. it looks similar to ruby, but promises to be super fast
<ponga> mozzarella: compile to exec, free speed
oo_ has joined #ruby
mlev has joined #ruby
jottr_ has joined #ruby
iamjarvo has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<browndawg> are you guys talking about this? http://crystal-lang.org/
oo_ has quit [Remote host closed the connection]
justin_pdx has quit [Quit: justin_pdx]
jottr_ has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
<mozzarella> ponga: how does it handle eval? does it allow you to do low level stuff? do you have to compile everything every time?
Channel6 has quit [Quit: Leaving]
ta has joined #ruby
JoshGlzB_ has joined #ruby
<ponga> mozzarella: dunno/ nope iirc/ yes and you build it to exec
<shevy> browndawg yeah
JoshGlzBrk has quit [Ping timeout: 244 seconds]
<browndawg> shevy: the type inference any good?
<shevy> I did not try it out yet :)
<shevy> I have way too much to do with ruby really
<mozzarella> I don't know, man
<browndawg> meh
<mozzarella> another compiled managed language
<browndawg> because that alone would be a great reason to explore
<browndawg> crystal
Igorshp has joined #ruby
<ponga> type is dynamic, and sometimes you need to manually declare type for parameters, to be safe
<mozzarella> have you tried elixir?
<mozzarella> the syntax is also similar to ruby
<ponga> not yet
Takle has joined #ruby
<ponga> for crystal, compiler guesses the type most of the time
Darryl___ has joined #ruby
oo_ has quit [Remote host closed the connection]
cefkamcau has joined #ruby
tosbourn has joined #ruby
<mozzarella> you know something that elixir does and I wish ruby also did?
<ponga> haven't tried elixir yet, so my answer is no
arescorpio has quit [Excess Flood]
<mozzarella> 10 / 3 returns a float, not some truncated integer
armyriad has quit [Quit: Leaving]
<ponga> mozzarella: but for crystal i always exprienced free speed, varying from 3~7 times in execution for me
Igorshp has quit [Ping timeout: 256 seconds]
dx7 has joined #ruby
astrobunny has joined #ruby
juanpablo____ has joined #ruby
<mozzarella> I'd rather use an unmanaged language like C or an interpreted language like ruby, I don't have much use for the stuff inbetween
<ponga> for most of the time all i needed to do was to declare type for some variable(mostly parameters) and methods for array i.e. "arr.map_with_index" in crystal whereas i did "arr.map.with_index"
<ponga> in ruby
eshiffob has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
tosbourn has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
<mozzarella> you can't do "arr.map.with_index" in crystal?
lidenskap has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ponga> mozzarella: iirc it spat out error
<ponga> i changed it to map_with_index
oo_ has quit [Remote host closed the connection]
dx7 has quit [Ping timeout: 256 seconds]
juanpablo____ has quit [Ping timeout: 256 seconds]
lidenskap has joined #ruby
<diegoviola> isn't ruby trying to be faster already with things like rubinius by using LLVM, etc?
charliesome has quit [Quit: zzz]
psy_ has quit [Read error: No route to host]
tkuchiki has quit [Remote host closed the connection]
lidenskap has quit [Remote host closed the connection]
<mozzarella> I really should give rubinius a try
tkuchiki has joined #ruby
<mozzarella> but I'm extremely lazy
sevenseacat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JoshGlzB_ has quit [Ping timeout: 265 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has quit [Quit: Leaving...]
ponga has joined #ruby
JoshGlzBrk has joined #ruby
tkuchiki has quit [Ping timeout: 248 seconds]
fedexo has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
versatiletech has quit [Quit: versatiletech]
<diegoviola> lmao
JoshGlzBrk has quit [Ping timeout: 276 seconds]
krisquigley has joined #ruby
zorak8 has quit [Ping timeout: 255 seconds]
Spami has joined #ruby
<shevy> ERROR: While executing gem ... (Gem::Exception)
<shevy> Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
<shevy> so annoying :(
<shevy> diegoviola mruby would promise to be super fast
RegulationD has joined #ruby
grindmodeon has joined #ruby
tkuchiki has joined #ruby
iotouch has joined #ruby
lavros has quit [Quit: leaving]
lavros has joined #ruby
krisquigley has quit [Ping timeout: 252 seconds]
_mak has left #ruby [".."]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 265 seconds]
Porfa has quit [Quit: porfa]
ghr has joined #ruby
aghalarp has joined #ruby
jeromelanteri has joined #ruby
Jackneill has joined #ruby
fabrice31 has joined #ruby
Takle has quit [Remote host closed the connection]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Hounddog has joined #ruby
User458764 has joined #ruby
Hounddog has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 246 seconds]
iotouch has quit [Quit: This computer has gone to sleep]
oo_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
riotjones has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
lkba has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roolo has joined #ruby
DavidDudson has joined #ruby
baash05 has joined #ruby
hanmac has quit [Ping timeout: 256 seconds]
ujihisa has quit [Ping timeout: 252 seconds]
antgel has joined #ruby
FernandoBasso has joined #ruby
Renich has joined #ruby
longfeet has quit [Ping timeout: 240 seconds]
riotjones has quit [Ping timeout: 265 seconds]
roshanavand has joined #ruby
<atmosx> hello
<atmosx> good morning shevy
roshanavand has quit [Read error: Connection reset by peer]
<musashi> Hola
ohaibbq has quit [Quit: Leaving...]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pharaoh2 has joined #ruby
GlenK_ has joined #ruby
<musashi> I'm showing my radio buttons correctly with "%input{type: 'radio', name: 'workout', value: workout.workout_id}" but I can't figure out how to preselect a radio button... Is it possible to do this?
tosbourn has joined #ruby
User458764 has joined #ruby
GlenK_ has left #ruby [#ruby]
hanmac has joined #ruby
<atmosx> musashi: rails?
<Mon_Ouie> checked: "chucked"? That seems to just be something that translates to HTML
lewix has joined #ruby
<musashi> Atmosx:Sinatra
<shevy> yo atmosx
ujihisa has joined #ruby
tosbourn has quit [Ping timeout: 250 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<atmosx> musashi: it is possible but could you offer a little bit more context.
wottam has joined #ruby
<diegoviola> I really like Ruby, but not many jobs with ruby in my area unfortunately
<musashi> atmosx: sure.. What can i do to provide that?
<atmosx> musashi: I'd like to see the entire view file, post it on github (gist)
<atmosx> then show me (screenshot) what exactly you would like to accomplish.
<atmosx> Although first you might wanna try: %input{type: 'radio', name: 'workout', value: workout.workout_id, checked: 'checked'}
<atmosx> or checked: 'yes'
grindmodeon has quit [Quit: Leaving.]
bim has joined #ruby
<atmosx> this trick btw is awesome for keeping notes in terminal quickly: http://lifehacker.com/5592047/turn-your-command-line-into-a-fast-and-simple-note-taking-tool
bim is now known as Guest96842
lidenskap has joined #ruby
wingedsnake has joined #ruby
<musashi> Jhass, thank you but I can't just put checked in there because then it will try to check the whole list of radio buttons
steven43126 has joined #ruby
<jhass> musashi: there's a trick in programming, it's called "conditional"
lidenskap has quit [Remote host closed the connection]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lidenskap has joined #ruby
Guest96842 has quit [Ping timeout: 255 seconds]
Pharaoh2 has joined #ruby
grindmodeon has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
Pharaoh2 has quit [Client Quit]
<musashi> Jhass i dont know how put ruby inline there
<atmosx> musashi: if you show the code you're working on..
<musashi> I'm doing it i swear
<atmosx> No worries.
<jhass> maybe a hint: setting an attribute to nil in haml causes it to not render it
<musashi> I want them all rendered but just one selected
<jhass> %input{type: "radio", name: "workout", value: workout.workout_id, checked: workout.checked? ? "checked" : nil }
tkuchiki has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ujihisa has quit [Ping timeout: 256 seconds]
<musashi> Trying to parse that; gonna try it in code
Pharaoh2 has joined #ruby
<jhass> it's just a ternary
<aawe> bin/rspec spec takes 44 seconds with rbx-2.5.2 and 4 seconds with ruby-2.2.1 ... am I doing something wrong?
DeBot has quit [Remote host closed the connection]
jhass has quit [Read error: Connection reset by peer]
anaeem1_ has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
DavidDudson has joined #ruby
ChoiKyuSang has quit [Quit: AdiIRC is updating to v1.9.7 Beta Build (2015/04/12)32 Bit]
mostlybadfly has quit [Quit: Connection closed for inactivity]
ChoiKyuSang has joined #ruby
<musashi> Can i set it to be equal to a name inline there?
<atmosx> musashi: you already have a name a attribute there, but theoretically you can do anythin gyou want.
<musashi> Something like: Checked: Workout.name === "checkedname" ? Checked : nil
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx> yes
cpt_yossarian has quit [Ping timeout: 256 seconds]
cpt_yossarian has joined #ruby
<musashi> Hm wow. Thank you
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
<musashi> How about checked: value.equals("test")? ? "Checked" : nil
xenokiller has quit [Ping timeout: 240 seconds]
<atmosx> musashi: .equals? is not a core ruby method IIRC. If you wrote that method yourself or added the method via some gem/module of course.
<musashi> I didnt and its giving me an error. Thank you.
<atmosx> >> value = 'test'; value == 'test' ? puts 'yes!' : puts 'no'
<ruboto> atmosx # => /tmp/execpad-6c5117c4898c/source-6c5117c4898c:2: syntax error, unexpected tSTRING_BEG, expecting key ...check link for more (https://eval.in/312334)
<atmosx> >> value = 'test'; value == 'test' ? 'yes!' : 'no'
<ruboto> atmosx # => "yes!" (https://eval.in/312335)
<atmosx> yeap, musashi use '=='
<musashi> Ok
Joufflu has quit [Read error: Connection reset by peer]
<musashi> Why do you have the first value = test there?
jimms has joined #ruby
<musashi> Just for demonstration/testing?
jhass has joined #ruby
<apeiros> atmosx: equals? is core ruby. it's on Object even. it is used for object identity.
browndawg has quit [Ping timeout: 264 seconds]
<apeiros> (should really be called same?, but that's another story)
<apeiros> >> a = "hi"; [a.equals?("hi"), a.equals?(a)]
<ruboto> apeiros # => undefined method `equals?' for "hi":String (NoMethodError) ...check link for more (https://eval.in/312336)
<apeiros> oooh, equal?, not equals?, sorry
dx7 has joined #ruby
<apeiros> meh, I should fully wake up first. I see musashi even wrote "equals", not "equal?". sorry. never mind me :)
juanpablo____ has joined #ruby
<musashi> Hey all good
sigurding has joined #ruby
<musashi> I just got it completely working. :) thanks much
silentpost has quit [Read error: Connection reset by peer]
lemur has quit [Remote host closed the connection]
silentpost has joined #ruby
Pupeno has joined #ruby
<atmosx> apeiros: morning
<atmosx> musashi: good :-)
<apeiros> moin atmosx :)
jayeshsolanki has joined #ruby
roshanavand has joined #ruby
<baash05> be careful with equal? it is not the same as == or eql?
dx7 has quit [Ping timeout: 248 seconds]
juanpablo____ has quit [Ping timeout: 256 seconds]
antgel has quit [Ping timeout: 244 seconds]
antgel has joined #ruby
<wasamasa> no
user083 has joined #ruby
<wasamasa> there's pointer equality and structural equality
<wasamasa> and stuff in-between those
<wasamasa> I suspect eql? would qualify for that
towski_ has joined #ruby
<wasamasa> aha, == is structural equality and implemented by specific classes, eql? is pointer equality and implemented by Object, equal? should be the in-between one gem authors need to write themselves
<apeiros> == is order equality
<apeiros> that is, <=> returning zero implies == being true
<baash05> That really nails it down well.
Renich has quit [Quit: leaving]
<wasamasa> wat
<apeiros> you even get == from defining <=> and including Comparable
<apeiros> if your object does not implement <=>, == should be equivalent to eql?
lewix has quit [Remote host closed the connection]
<baash05> unless your object is a number :) then they == is not the same as eql?
<baash05> 1.eql? 1.0 #=> false
<apeiros> baash05: numbers have <=>
<apeiros> and == is in terms of <=>
<baash05> I love finding things like this out.. often they don't help, but once in a while they really do
bkxd has joined #ruby
iotouch has joined #ruby
psy_ has joined #ruby
DeBot has joined #ruby
<baash05> right numbers have <=> but == is not the same as eql? for numbers of different types.
lkba has quit [Ping timeout: 248 seconds]
<baash05> because eql? won't convert float to int
<apeiros> you may want to reread what I wrote ;-)
<baash05> Ah.. Yeah.. I read it slower.
Pharaoh2 has quit [Disconnected by services]
Pharaoh2_ has joined #ruby
browndawg has joined #ruby
astrobunny has quit [Remote host closed the connection]
krisquigley has joined #ruby
RegulationD has joined #ruby
quimrstorres has joined #ruby
Pharaoh2_ has quit [Ping timeout: 250 seconds]
lavros has quit [Ping timeout: 248 seconds]
lavros has joined #ruby
delianides has joined #ruby
krisquigley has quit [Ping timeout: 244 seconds]
iotouch has quit [Quit: This computer has gone to sleep]
RegulationD has quit [Ping timeout: 265 seconds]
_1_waqas has joined #ruby
_1_waqas has quit [Remote host closed the connection]
ponga has quit [Quit: Leaving...]
delianides has quit [Ping timeout: 244 seconds]
predator117 has quit [Ping timeout: 252 seconds]
predator117 has joined #ruby
grindmodeon has quit [Quit: Leaving.]
fabrice31 has joined #ruby
baash05 has quit [Ping timeout: 264 seconds]
predator117 has quit [Ping timeout: 246 seconds]
<musashi> What is happening in this code? "Workout_models.map(&:attribute)"? Spefically, what is the &:attribute?
aghalarp has quit [Read error: Connection reset by peer]
lobolars has joined #ruby
aghalarp has joined #ruby
<jhass> x = proc { }; models.map(&x) # do you understand this?
<musashi> No sir
fabrice31 has quit [Ping timeout: 250 seconds]
<jhass> models.map {|model| model.attribute } # but this, right?
<musashi> Neither the proc nor the &x
<musashi> That creates an array with all the attributes in it?
Billias has quit [Ping timeout: 256 seconds]
<jhass> yeah
bkxd has quit [Ping timeout: 256 seconds]
bkxd has joined #ruby
aghalarp has quit [Client Quit]
<jhass> .map(&:attribute) is shortcut to this
<jhass> it calls to_proc on the symbol, converts it into a block and passes it to the method
quimrstorres has quit [Remote host closed the connection]
<jhass> the proc returned by Symbol#to_proc calls the method with the name of the symbol on the first argument passed to the proc
A205B064 has quit [Ping timeout: 252 seconds]
<musashi> O.o
predator117 has joined #ruby
<musashi> Lmao i thought i had a clue until that one.. What does the & do?
<jhass> it does what I just wrote
CorpusCallosum has joined #ruby
<musashi> It alone does that?
<jhass> the & is the operator that does that, like the * in 1 * 2 is the operator that does the multiplication
<jhass> it's okay to remember .map(&:foo) is a shortcut to .map {|x| x.foo } for now
<jhass> so you're in rails?
greenbagels has quit [Quit: Leaving]
Billias has joined #ruby
lidenskap has quit [Remote host closed the connection]
<musashi> Sinatra
<jhass> but with activerecord?
<musashi> God the latter is so much more clear to me.
<jhass> it doesn't explain how it works though ;)
Hijiri has quit [Ping timeout: 265 seconds]
<musashi> No active record i believe
bjeanes_ is now known as bjeanes
<jhass> what's your ORM then?
GreyHands has joined #ruby
<musashi> Looking
Hijiri has joined #ruby
jottr_ has joined #ruby
<musashi> Im including active support so it must be active record?
jimms has quit [Ping timeout: 252 seconds]
riotjones has joined #ruby
roshanavand has quit [Remote host closed the connection]
<jhass> no
<jhass> if you use activerecord you also get activesupport, but not the other way around
<musashi> Possibly sequel extension
<jhass> mkay
lobolars has quit [Ping timeout: 256 seconds]
casshern2 has joined #ruby
<jhass> and you call .map on a Sequel::Model ?
jottr_ has quit [Ping timeout: 250 seconds]
towski_ has quit [Remote host closed the connection]
Parmesan1aesar has quit [Ping timeout: 265 seconds]
<musashi> Trying to determine that
anaeem1 has joined #ruby
aghalarp has joined #ruby
<jhass> well, what's Workout_models? entirely made up code?
riotjones has quit [Ping timeout: 256 seconds]
<musashi> Yeah
oddskill_away is now known as oddskill
<jhass> ah, don't make up code
<jhass> that usually makes it harder to help you
<musashi> Heh heh
Takle has joined #ruby
<musashi> I'm gonna keep reading and then ask again later when i have a better understanding.
<musashi> Ty again
ponga has joined #ruby
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has quit [Client Quit]
User458764 has joined #ruby
bim has joined #ruby
bim is now known as Guest94149
predator117 has quit [Ping timeout: 250 seconds]
yetone has joined #ruby
predator117 has joined #ruby
jimms has joined #ruby
Guest94149 has quit [Remote host closed the connection]
gauke has joined #ruby
Takle_ has joined #ruby
jimms has quit [Remote host closed the connection]
Hijiri has quit [Ping timeout: 252 seconds]
Takle has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 250 seconds]
jheg has quit [Quit: jheg]
quimrstorres has joined #ruby
govg has quit [Quit: leaving]
jimms has joined #ruby
Dakuan has quit [Remote host closed the connection]
<atmosx> wtf, my computer just logged me out. hackers!
Dakuan has joined #ruby
<atmosx> truth to be told with all that shit-load of network connections required by osx you can't do proper network monitoring. Not even with littleSnitch.
zotherstupidguy has quit [Ping timeout: 255 seconds]
MXfive has joined #ruby
MXfive has quit [Client Quit]
gauke has quit [Ping timeout: 256 seconds]
Dakuan has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gauke has joined #ruby
reinaldob has joined #ruby
coderhs has quit [Ping timeout: 250 seconds]
wottam has joined #ruby
reinaldob has quit [Remote host closed the connection]
sevenseacat has joined #ruby
jenrzzz has joined #ruby
theotherstupidgu has joined #ruby
elaptics_away is now known as elaptics
maciejczyzewski has joined #ruby
gitup has joined #ruby
gauke has quit [Quit: gauke]
astrobunny has joined #ruby
oo_ has quit [Remote host closed the connection]
roshanavand has joined #ruby
The_Phoenix has joined #ruby
lkba has joined #ruby
User458764 has joined #ruby
Hijiri has joined #ruby
sigurding has quit [Quit: sigurding]
mengu has joined #ruby
cpt_yossarian has quit [Ping timeout: 256 seconds]
ghr has joined #ruby
astrobunny has quit [Ping timeout: 272 seconds]
exadeci has joined #ruby
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
The_Phoenix has quit [Ping timeout: 248 seconds]
coderhs has joined #ruby
User458764 has quit [Ping timeout: 272 seconds]
anaeem___ has joined #ruby
lordkryss has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
bim has joined #ruby
mengu has quit [Remote host closed the connection]
bim is now known as Guest47272
anaeem1 has quit [Ping timeout: 256 seconds]
lidenskap has joined #ruby
otisZart has joined #ruby
wottam has quit [Quit: Textual IRC Client: www.textualapp.com]
jottr_ has joined #ruby
hs366 has joined #ruby
dx7 has joined #ruby
juanpablo____ has joined #ruby
lidenskap has quit [Ping timeout: 252 seconds]
cpt_yossarian has joined #ruby
antgel has quit [Ping timeout: 250 seconds]
anaeem___ has quit [Ping timeout: 245 seconds]
sigurding has joined #ruby
jokke has quit [Quit: ninja vanish]
juanpablo____ has quit [Ping timeout: 245 seconds]
dx7 has quit [Ping timeout: 256 seconds]
jottr_ has quit [Ping timeout: 272 seconds]
antgel has joined #ruby
turtil has quit [Quit: WeeChat 1.1.1]
baash05 has joined #ruby
Lopson has joined #ruby
Takle has joined #ruby
anaeem1_ has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
AlexRussia has quit [Ping timeout: 252 seconds]
Takle_ has quit [Ping timeout: 252 seconds]
AlexRussia has joined #ruby
ponga has joined #ruby
sunny__ has joined #ruby
sunny__ is now known as hyto
hyto has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 250 seconds]
silentpost has quit [Read error: Connection reset by peer]
silentpost has joined #ruby
bluOxigen has joined #ruby
havenwood has quit [Remote host closed the connection]
<Lopson> Hi everyone! I'm trying to build a gem's native extensions, but it's giving me some errors. I'd like to change the arguments used when GCC's called, but I don't really know how to do it in the extconf.rb file. How do I set my own "warnflags" and "CFLAGS" values?
davidhq has joined #ruby
<Mon_Ouie> Change the $CFLAGS global variable
spider-mario has joined #ruby
krisquigley has joined #ruby
<Lopson> And how would I go about changing the warnflags in the generated Makefile, Mon_Ouie?
RegulationD has joined #ruby
Guest47272 has quit [Remote host closed the connection]
<Mon_Ouie> Not sure, I don't know if there's a variable used to generate them as well
jayeshsolanki has quit [Quit: bye!]
<Lopson> I see, thanks Mon_Ouie.
krisquigley has quit [Ping timeout: 248 seconds]
RegulationD has quit [Ping timeout: 255 seconds]
sevenseacat has quit [Quit: Me dun like you no more.]
iss has joined #ruby
scripore has joined #ruby
<iss> hi
<jhass> hi
sigurding has quit [Quit: sigurding]
pagios has joined #ruby
iss has quit [Client Quit]
Dakuan has joined #ruby
panga has joined #ruby
elaptics is now known as elaptics_away
fabrice31 has joined #ruby
elaptics_away is now known as elaptics
ponga has quit [Ping timeout: 265 seconds]
maximski has joined #ruby
vivekananda has quit [Ping timeout: 240 seconds]
riotjones has joined #ruby
iasoon has joined #ruby
Dakuan has quit [Ping timeout: 264 seconds]
jimms has quit [Remote host closed the connection]
axilla has joined #ruby
nszceta has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
michael_mbp has quit [Excess Flood]
elaptics is now known as elaptics_away
DEA7TH has joined #ruby
mengu__ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
jokke has joined #ruby
michael_mbp has joined #ruby
<panga> "Matz noted that so-called “optional” typing is sort of infectious: in any real program, “optional” static typing quickly becomes static typing with 99% coverage"
<panga> static ruby?
* panga is speechless
bkxd has quit [Quit: Reconnecting]
riotjones has quit [Ping timeout: 264 seconds]
bkxd has joined #ruby
scripore has quit [Client Quit]
<Beoran__> panga, type checking can be done by a sufficiently advanced compiler. Not for Ruby though but for certain languages...
snapcase has joined #ruby
tkuchiki has joined #ruby
jimms has joined #ruby
reinaldob has joined #ruby
wingedsnake has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
scripore has joined #ruby
reinaldob has quit [Remote host closed the connection]
scripore has quit [Client Quit]
grindmodeon has joined #ruby
mostlybadfly has joined #ruby
sd_neil__ has quit [Ping timeout: 246 seconds]
robustus has quit [Ping timeout: 255 seconds]
psy_ has quit [Ping timeout: 248 seconds]
psy_ has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
jimms has quit [Ping timeout: 244 seconds]
bim has joined #ruby
bim is now known as Guest94421
robustus has joined #ruby
jimms has joined #ruby
tosbourn has joined #ruby
ghr has joined #ruby
jottr_ has joined #ruby
jimms has quit [Ping timeout: 252 seconds]
tosbourn has quit [Ping timeout: 264 seconds]
tgunr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 248 seconds]
serivich has joined #ruby
yetone has quit [Max SendQ exceeded]
jimms has joined #ruby
ujjain has joined #ruby
banister has joined #ruby
<Lopson> I've changed the CFLAGS variable, yet whenever I try to compile a gem's native extension, it simply ignores the value of this variable. Does anyone know why?
robustus has quit [Ping timeout: 264 seconds]
maximski_ has joined #ruby
jimms has quit [Read error: Connection reset by peer]
jimms has joined #ruby
kirun has joined #ruby
psy_ has quit [Ping timeout: 250 seconds]
kevinying has joined #ruby
maximski has quit [Ping timeout: 248 seconds]
<jhass> did you export it? sometimes that helps. Anyway, usually this is specific to the gem
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
stef204 has joined #ruby
psy_ has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
<jhass> !unmute merdam
m8 has joined #ruby
bruno- has joined #ruby
bruno- has quit [Client Quit]
musashi has quit [Quit: Connection closed for inactivity]
LudicrousMango has joined #ruby
bkxd has joined #ruby
roshanavand1 has joined #ruby
arrnas has joined #ruby
roshanavand has quit [Ping timeout: 246 seconds]
jimms has quit [Read error: Connection reset by peer]
jimms has joined #ruby
lolmaus has joined #ruby
leafybasil has quit [Remote host closed the connection]
robustus|Off has joined #ruby
robustus|Off is now known as robustus
bruno- has joined #ruby
ujjain has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- is now known as Guest76889
Guest76889 has quit [Client Quit]
jimms has quit [Ping timeout: 264 seconds]
bruno-_ has joined #ruby
bruno-_ has quit [Client Quit]
bruno-_ has joined #ruby
bruno-_ has quit [Client Quit]
bruno-_ has joined #ruby
davidhq has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has joined #ruby
VBlizzard is now known as _blizzy_
yeticry has quit [Ping timeout: 250 seconds]
bruno-_ has quit [Client Quit]
yeticry has joined #ruby
maximski_ has quit [Ping timeout: 252 seconds]
maciejczyzewski has quit [Quit: Textual IRC Client: www.textualapp.com]
gitup has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
Lopson has quit [Quit: Goodbye, world!]
RegulationD has quit [Ping timeout: 264 seconds]
<pagios> hello i would like to encrypt in javascritp and decrypt in ruby any library that can do tht?
maximski has joined #ruby
bruno-_ has joined #ruby
maximski has quit [Max SendQ exceeded]
<aawe> pagios: use the same algo in both
<aawe> what are you using the encryption for?
<pagios> aawe: pki
<pagios> singing
<pagios> signing
maximski has joined #ruby
Takle has joined #ruby
<pagios> aawe: anything you recommend?
<aawe> pagios: RSA
<pagios> aawe: thats not for signing
<pagios> thats for enctyption
ghr has quit [Ping timeout: 255 seconds]
<aawe> no, it's for both
bruno-_ has quit [Client Quit]
<pagios> aawe: isnt it a shared passphrase between sender and recipient?
nfk has joined #ruby
<aawe> RSA uses public-private key pairs to encrypt, decrypt, sign and very messages
juanpablo____ has joined #ruby
<aawe> verify*
Rephiax has joined #ruby
<pagios> aawe: cool any recommend ruby lib? angular
bkxd has quit [Ping timeout: 244 seconds]
<jhass> for PKI? openssl stdlib
iotouch has joined #ruby
mengu__ has quit [Read error: No route to host]
mengu__ has joined #ruby
yfeldblu_ has quit [Ping timeout: 245 seconds]
sankaber has joined #ruby
bruno-_ has joined #ruby
apoplexy has quit [Ping timeout: 245 seconds]
juanpablo____ has quit [Ping timeout: 245 seconds]
lkba_ has joined #ruby
<banister> jhass what's up
Aryasam has joined #ruby
delianides has joined #ruby
<jhass> just checked, still the ceiling luckily
<pagios> aawe: can i use https://www.pidder.de/pidcrypt/?page=demo_rsa-encryption with ruby for instance?
duckpunch has joined #ruby
<banister> jhass idk about germany (i think you guys are still rocking to david hasselhoff's music from the 80s) but that joke is no longer consider funny in the english speaking world ;)
reinaldob has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
<jhass> good, I don't like to be funny
reinaldob has quit [Remote host closed the connection]
<jhass> pagios: I wonder if you even did any research before asking
maximski has quit []
duckpunch has quit [Client Quit]
<pagios> jhass: i am asking if the angular implementation of RSA works with ruby RSA
silentpost has quit [Read error: Connection reset by peer]
<jhass> pagios: I don't think you should touch crypto if you ask such a question
<pagios> ok
<jhass> at least not for anything that's in any remote way important
silentpost has joined #ruby
duckpunch has joined #ruby
uri_ has joined #ruby
ParmesanCaesar has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
N0Lif3 has joined #ruby
jayeshsolanki has joined #ruby
triangles has joined #ruby
<triangles> Was hoping someone could give me a quick tip. I'm trying to delete an element from a hash, but by using its value, not its key. What's the preferred way to do this?
scripore has joined #ruby
ParmesanCaesar has quit [Ping timeout: 245 seconds]
<triangles> I couldn't see a method for it in the documentation, so would I use select block, or two inversions?
lkba has joined #ruby
bruno-_ has quit [Quit: Lost terminal]
ndrei_ has quit [Ping timeout: 252 seconds]
bruno-_ has joined #ruby
<triangles> Or delete_if, I suppose?
lkba_ has quit [Ping timeout: 256 seconds]
bruno-_ has quit [Client Quit]
daynaskully has quit [Ping timeout: 264 seconds]
<ytti> hash.delete hash.key(value)
krisquigley has joined #ruby
<triangles> Damn, I missed that one. Thanks ytti.
<jhass> triangles: you're sure you made your mapping the right way around though?
<triangles> jhass: I'm usually deleting/addressing by key, it's just a special case where I have to access by value
anaeem1_ has quit [Remote host closed the connection]
<jhass> kk, just checking ;)
riotjones has joined #ruby
roshanavand has joined #ruby
bruno-_ has joined #ruby
reinaldob has joined #ruby
roshanavand1 has quit [Ping timeout: 264 seconds]
reinaldob has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 252 seconds]
anaeem1 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
Guest24 has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
riotjones has quit [Ping timeout: 248 seconds]
lele has joined #ruby
BTRE has quit [Ping timeout: 246 seconds]
BTRE has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
amystephen has joined #ruby
<hfp> Hey all, I would need a bit of advice. I am writing a module that fetches the per minute rate for a given phone number from an API. If it finds a rate, it will return a float for that rate. If it doesn't find the rate, it will return -1. Is this the right way of handling the "rate not found" case?
<jhass> hfp: doesn't sound right no
<jhass> if not found is a rare case and should probably make a user requested action fail, raise
<jhass> else return nil
LudicrousMango has quit [Remote host closed the connection]
<hfp> ah ok I thought `nil` would be like silently failing and wasn't good
<hfp> Thanks jhass
<jhass> hfp: nil is falsey, so the caller can easily check for it
<jhass> rate = get_rate; if rate; do_it; else; nope_no_idea; end;
<jhass> or rate = get_rate || default_value
delianides has quit [Remote host closed the connection]
sdothum has joined #ruby
ismaelga has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
dfinninger has joined #ruby
<hfp> makes sense, thhanks
mist__ is now known as mist
tosbourn has joined #ruby
lxsameer has quit [Quit: Leaving]
jottr_ has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ringarin has joined #ruby
tosbourn has quit [Ping timeout: 248 seconds]
haxrbyte has joined #ruby
dx7 has joined #ruby
jottr_ has quit [Ping timeout: 276 seconds]
Rickmasta has joined #ruby
lethosor|away has joined #ruby
lethosor|away is now known as lethosor
ghr has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
maximski has joined #ruby
zz_AlphaTech is now known as AlphaTech
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
haxrbyte has quit [Quit: Leaving...]
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
penzur has joined #ruby
wingedsnake has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
roshanavand1 has joined #ruby
haxrbyte has joined #ruby
maximski has quit [Max SendQ exceeded]
roshanavand has quit [Ping timeout: 248 seconds]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
<ohcibi> i have an array of objects... how can I get a specific object by a certain property of that object? I found that one could use any? for this, which I had expected as well, however any? does only return true or false.. whats the current way to do this?
astrobunny has joined #ruby
ndrei has joined #ruby
<undeadaedra> find, iirc
maximski has joined #ruby
digifiv5e has joined #ruby
digifiv5e is now known as Guest44166
penzur has quit [Quit: dc]
penzur has joined #ruby
oo_ has joined #ruby
<shevy> ohcibi .select perhaps
<ohcibi> shevy: undeadaedra those return arrays not elements
<shevy> what is an "element" man
<undeadaedra> er
<ohcibi> shevy: i.e. if i have [1, 2, 3] and i want the 2, than find/select would return [2] instead of 2
<undeadaedra> >> (1..3).to_a.find { |e| e.even? }
<ruboto> undeadaedra # => 2 (https://eval.in/312452)
<undeadaedra> it returns an element
Guest44166 has quit [Changing host]
Guest44166 has joined #ruby
Soda has joined #ruby
Guest44166 is now known as daynaskully
<ohcibi> undeadaedra: i misread... sorry... thanks
<undeadaedra> np
redlegion has joined #ruby
grindmodeon has quit [Quit: Leaving.]
baash05 has quit [Ping timeout: 276 seconds]
kubunto has joined #ruby
havenwood has joined #ruby
timanema has joined #ruby
jerius has joined #ruby
juanpablo____ has joined #ruby
nszceta has quit [Quit: Textual IRC Client: www.textualapp.com]
ghr has quit [Ping timeout: 244 seconds]
alafa1 has joined #ruby
nszceta has joined #ruby
roshanavand has joined #ruby
alafa1 is now known as ddddo
cajone has joined #ruby
Rollabunna has quit [Remote host closed the connection]
roshanavand1 has quit [Ping timeout: 252 seconds]
Rollabunna has joined #ruby
ddddo has left #ruby [#ruby]
jerius has quit [Client Quit]
freerobby has joined #ruby
<aawe> >> 5.try(:is_a_number)
<ruboto> aawe # => undefined method `try' for 5:Fixnum (NoMethodError) ...check link for more (https://eval.in/312454)
<aawe> aw dang
juanpablo____ has quit [Ping timeout: 265 seconds]
<aawe> is try a rails thing?
dx7 has quit [Quit: Leaving...]
<undeadaedra> looks like so
<undeadaedra> googling it refers to rails’ apidock
user083 has quit [Quit: leaving]
tus has joined #ruby
<jhass> it's an activesupport thing, yeah
<jhass> I still need an idea to anti-SEO apidoc :/
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
RegulationD has joined #ruby
<undeadaedra> it is that bad?
c355E3B has joined #ruby
<jhass> yeah
<jhass> I yet have to find somebody who prefers it over _any_ of the alternatives
<undeadaedra> I use it for one thing
penzur has quit [Quit: dc]
<undeadaedra> If it’s it which goes first in google result, I know it’s rails
<undeadaedra> :]
<jhass> xD
<jhass> for example right now it's stuck at rails 4.1.8
<pagios> simple MAC like SipHash is supported in ruby?
haxrbyte has quit [Remote host closed the connection]
<jhass> pagios: ruby is a general purpose programming language, you can implement whatever
<undeadaedra> so yeah jhass, don’t anti-SEO it, you’d break my workflow.
<jhass> undeadaedra: okay, what do i need to do to shift your workflow to checking api.rubyonrails.org or omniref.com instead?
diegoviola has joined #ruby
<undeadaedra> Make Google state clearly if the method I’m looking for is Rails or not
vivekananda has joined #ruby
<jhass> I wanted to avoid getting hired by Google :/
RegulationD has quit [Ping timeout: 244 seconds]
siaw23 has joined #ruby
<siaw23> why is the ouput from this not the actuall content of the page
<siaw23> any ideas?
<jhass> I guess i could hack some news site and announce omniref was bought by google and will be integrated into google search
<jhass> siaw23: it is, you just request another URL than you check against in your browser
<siaw23> jhass: i don’t get it
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> and inspect the output
Soda has quit [Remote host closed the connection]
wingedsnake has quit [Ping timeout: 250 seconds]
<siaw23> jhass: can’t i do this without the use of “curl”
<jhass> siaw23: sure, that command is to teach you what's happening
vivekananda has quit [Ping timeout: 240 seconds]
wingedsnake has joined #ruby
<siaw23> jhass: ok but i know what’s happening. but why can’t the ruby code show me the text in the console?
iotouch has joined #ruby
<jhass> siaw23: asking that question in the second sentence shows that the first sentence is wrong ;)
<siaw23> jhass: ok. let me put it this way
maximski has quit []
<jhass> read all output of that curl command carefully
<siaw23> how do i make the text on the site appear in the console? :D
<jhass> it actually contains a hint or two how to fix your ruby code
bluOxigen has quit [Ping timeout: 265 seconds]
<FernandoBasso> If I have attr_reader :skill and attr_writer :skill, how do I get and set skill from the oject jedi?
<jhass> FernandoBasso: jedi.skill, jedi.skill = :none
<jhass> FernandoBasso: you can define reader and writer in one go with attr_accessor :skill
hmsimha has quit [Ping timeout: 252 seconds]
<siaw23> jhass: what should i expect to see from the curl output?
<siaw23> i see the text i want to see with other server info, how’s that supposed to help me fix the ruby code to show the text?
<jhass> siaw23: since I passed the -v flag, a detailed description of what's actually happening
triangles2 has joined #ruby
iotouch has quit [Client Quit]
<FernandoBasso> jhass: Thanks.
<jhass> siaw23: did you read it top down, not skimming over anything
<jhass> ?
<siaw23> jhass: yeap
<siaw23> got some info. like server name, http code which is 200 etc. but no info or hint to fix the ruby code?
<jhass> then stare for a while at the two (that it's two of them is another hint in itself already) lines that start with Connected to
triangles has quit [Ping timeout: 245 seconds]
Darryl___ has quit [Quit: Connection closed for inactivity]
<siaw23> jhass: HTTP/1.1 301 Moved Permanently. that’s one useful stuff
<shevy> jhass makes bug hunting exciting again
<siaw23> and then it close the connection
browndawg has quit [Quit: Leaving.]
<shevy> it's the yoda jedi move ... "this is not the connection you are looking for *waves hand*"
<siaw23> then changes port to 443
<jhass> yes
<jhass> so net/http does not follow redirects for you
<siaw23> jhass: so what does? :D
<siaw23> jhass: what library?
<jhass> curl wouldn't either if I hadn't passed the -L flag
poguez_ has joined #ruby
<jhass> siaw23: there's an easier solution than following the redirect or switching to a library that does
<undeadaedra> siaw23: curb is nice
<jhass> siaw23: you just start at the place it redirects to
jottr_ has joined #ruby
<siaw23> jhass: which means i have to change my url?
<siaw23> to avoid the redirect?
luluapple has joined #ruby
<jhass> basically, yeah
<undeadaedra> use the redirected address, so it doesn’t redirect to it
Alina-malina has quit [Read error: Connection reset by peer]
<siaw23> jhass: but the funny thing is the original url and the redirect url are the same
<jhass> are they?
<jhass> let's look at the parts an URI (and URL is actually a pointer to an URI to be pedantic) has
Alina-malina has joined #ruby
<jhass> scheme://authority/path
dfinninger has quit [Remote host closed the connection]
<jhass> (I simplified to the relevant parts for this)
<jhass> which parts are the same?
<siaw23> jhass: this is what i got https://gist.github.com/siaw23/41b3c1e0e19ca3cd8f60
jottr_ has quit [Read error: Connection reset by peer]
<jhass> yup, I have the same output
mjuszczak has joined #ruby
jimms has joined #ruby
cpt_yossarian has quit [Ping timeout: 256 seconds]
astrobunny has quit [Remote host closed the connection]
<siaw23> ok but i’m not sure of any hint that will help the ruby code get fixed
zorak8 has joined #ruby
siaw23 has quit [Quit: siaw23]
<jhass> well, then just quit
<jhass> and there I thought humans are good with pattern recognition
ParmesanCaesar has joined #ruby
siaw23 has joined #ruby
<jhass> oh, you came back
jottr_ has joined #ruby
<jhass> well, I already pointed you to the relevant lines
redlegion has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
<jhass> but let's condense it further
<siaw23> you didn’t :p
<siaw23> or i missed it
<jhass> Net::HTTP.start( 'www.ruby-lang.org', 80 ) do |http|
<jhass> * Connected to www.ruby-lang.org (54.204.36.146) port 80 (#0)
<jhass> * Connected to www.ruby-lang.org (54.204.36.146) port 443 (#1)
<jhass> that's all
psy_ has quit [Ping timeout: 245 seconds]
<siaw23> jhass: you know why? i change the port number in the ruby code
<siaw23> from 80 to 443
<jhass> ;)
jimms has quit [Read error: Connection reset by peer]
jimms_ has joined #ruby
maciejczyzewski has joined #ruby
luluapple has quit [Quit: ZNC - http://znc.in]
luluapple has joined #ruby
oo_ has quit [Remote host closed the connection]
krisquigley has joined #ruby
endash has joined #ruby
lavros has quit [Ping timeout: 245 seconds]
ParmesanCaesar has quit [Ping timeout: 256 seconds]
phale has joined #ruby
<phale> hey.
ringarin has quit [Ping timeout: 245 seconds]
bobbrez has joined #ruby
ismaelga has quit [Remote host closed the connection]
maciejczyzewski has quit [Quit: Textual IRC Client: www.textualapp.com]
Aryasam has quit [Quit: Bye]
kubunto has quit [Quit: brb]
<shevy> yo phale
<shevy> rock da house
<phale> hehe
krisquigley has quit [Ping timeout: 248 seconds]
scripore has quit [Quit: This computer has gone to sleep]
<phale> do you know how to get colors from strings that appear to be gibberish
<phale> like this, http://wklej.org/id/1686014/
<jhass> you extract and convert them usually
<shevy> huh
<shevy> is this utf
<phale> it's this format
<jhass> shevy: no, binary data printed to the screen
<phale> this is the color data
<shevy> aaah
codeitagile has joined #ruby
<Mon_Ouie> To deal with binary formats, you'll often want to use String#unpack
konsolebox has joined #ruby
cpt_yossarian has joined #ruby
maximski has joined #ruby
ismaelga has joined #ruby
maximski has quit [Max SendQ exceeded]
Feyn has quit [Quit: Leaving]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
chinmay_dd has joined #ruby
jimms has joined #ruby
maximski has joined #ruby
nettoweb has joined #ruby
scripore has joined #ruby
maximski has quit [Max SendQ exceeded]
ndrei has quit [Ping timeout: 272 seconds]
jimms_ has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
konsolebox has quit [Client Quit]
maximski has joined #ruby
ndrei has joined #ruby
astrobunny has joined #ruby
maximski has quit [Max SendQ exceeded]
<phale> hmm
fabrice31 has joined #ruby
<phale> how dod i use unpack for this specific binary color code
maximski has joined #ruby
<ytti> you reverse engineer the format or find its documents
<ytti> you could start reversing by changing bits
<ytti> and see how it impacts output
maximski has quit [Max SendQ exceeded]
silentpost has quit [Read error: Connection reset by peer]
centrx has joined #ruby
monod has joined #ruby
silentpost has joined #ruby
oo_ has joined #ruby
ParmesanCaesar has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wingedsnake has quit [Ping timeout: 264 seconds]
timanema has quit [Ping timeout: 245 seconds]
jheg has joined #ruby
<shevy> Detective phale is floating about
CloCkWeRX has quit [Quit: Leaving.]
<phale> no im crying
riotjones has quit [Ping timeout: 252 seconds]
delianides has joined #ruby
lavros has joined #ruby
enebo has joined #ruby
ParmesanCaesar has quit [Ping timeout: 250 seconds]
<shevy> haha
<shevy> remember, for any problem out there
<shevy> there is a simple solution
<phale> yea
<jhass> shevy: how about world peace?
bobbrez has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lele is now known as Guest24
<shevy> jhass well, that's harder because as long as there are incentives to go to war it'll happen, so one would have to take out the profit from war first, which I am unsure if this is feasible
Azure has quit [Ping timeout: 248 seconds]
gwm_ has joined #ruby
gwm_ has left #ruby [#ruby]
ascarter has joined #ruby
jimms has quit [Read error: Connection reset by peer]
<shevy> hmm
<shevy> can I write firefox extensions in opal? anyone happens to know that?
jimms has joined #ruby
jimms has quit [Read error: Connection reset by peer]
roolo has quit [Remote host closed the connection]
jimms has joined #ruby
freestyl3r has joined #ruby
reinaldob has joined #ruby
<freestyl3r> hello. i have a class method that needs to call an instance method. can it be done or do i need to make the instance method a class one as well?
yetone has joined #ruby
<freestyl3r> and if so, is there a way to hide that method from outside use? example: https://bpaste.net/raw/7d9698284a2a
<shevy> depends; if you have initialized your object, you could just call the method on said object
<undeadaedra> you can pass the instance to the class method as argument
triangles3 has joined #ruby
siaw23 has left #ruby [#ruby]
<shevy> p First.insult obviously won't work as this is a class method
<shevy> and you have no instance of class First anywhere in that code
<shevy> you could define a class method, and have an instance method call it
enebo has quit [Ping timeout: 265 seconds]
<freestyl3r> i do not want to create an instance of this class ever. i want people to only be able to call First.greet and hide from the my helper functions like insult
<freestyl3r> *from them
<shevy> freestyl3r for instance this code would work http://pastie.org/10088160
chinmay_dd has quit [Ping timeout: 252 seconds]
enebo has joined #ruby
Guest94421 has quit [Remote host closed the connection]
<shevy> hiding class methods?
jimms has quit [Ping timeout: 255 seconds]
Hijiri has quit [Ping timeout: 252 seconds]
<centrx> What is this class for? Why no instances of it?
dfinninger has joined #ruby
triangles2 has quit [Ping timeout: 240 seconds]
<freestyl3r> ok i'll try to reword my question (sorry my english is not very good)
phale has left #ruby ["Leaving"]
<centrx> Doesn't sound like it should be a class
<shevy> that is the first time that I hear that someone is trying to hide a class method :)
<shevy> normally I'd hear that only for instance methods with public vs. private
<shevy> you could try to use the keyword private
<freestyl3r> i want the First class to only have one visible class method. the greet one. i want to be able to use helper methods but i don't want those to be visible to others
<freestyl3r> (others = outside the class scope)
justin_pdx has joined #ruby
willharrison has joined #ruby
Hijiri has joined #ruby
<undeadaedra> Easiest way would be to have instance methods, as they can be private
<undeadaedra> Then, if you want only one instance of your object, make it a Singleton
reinaldob has quit [Remote host closed the connection]
<freestyl3r> so, there is no way without creating class instances afaik
Megtastique has joined #ruby
ParmesanCaesar has joined #ruby
<shevy> yeah I don't think I have heard of access restriction in regards to class-level methods before
<shevy> you define a method and it is usually callable
MatthewsFace has quit [Remote host closed the connection]
<shevy> have you tried class << self; private yet?
<shevy> I mean I never tried myself, I never would have had that idea
Hijiri has quit [Ping timeout: 245 seconds]
<freestyl3r> since the gem i'm trying to contribute makes classes but never makes any objects with them, does modules sound a better design decision?
<shevy> not really
<shevy> the only difference will be that you can "include" a module, which you can't with a class
<shevy> well actually centrx is right
<shevy> a module would seem more logical here
<centrx> yeah if there's no instance
delianides has quit [Ping timeout: 256 seconds]
astrobunny has quit [Remote host closed the connection]
Hijiri has joined #ruby
<freestyl3r> so, inside a module can you hide certain methods from those that include the module?
<centrx> no
<centrx> what's the point of all this
<shevy> you can't ever really hide anything in ruby
<shevy> there is .public_send but also .send
dseitz has joined #ruby
jimms has joined #ruby
delianides has joined #ruby
bim has joined #ruby
dfinninger has quit [Remote host closed the connection]
bim is now known as Guest53266
<shevy> freestyl3r look at this code example: https://gist.github.com/shevegen/18d45843c36f5e5f7120
lolmaus has quit [Ping timeout: 252 seconds]
anaeem1 has joined #ruby
chinmay_dd has joined #ruby
Hijiri has quit [Ping timeout: 265 seconds]
delianides has quit [Ping timeout: 244 seconds]
<freestyl3r> yeap, i understand the concept when you create class instances
<freestyl3r> i think i'll settle for something like this https://bpaste.net/raw/077cced4989a
mgorbach has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
Zamerick has joined #ruby
<freestyl3r> make a module and define my helper outside the class. someone can still call the method directly but at least it's outside the class
anaeem1 has quit [Remote host closed the connection]
delianides has joined #ruby
mgorbach has joined #ruby
anaeem1 has joined #ruby
wingedsnake has joined #ruby
Hijiri has joined #ruby
anaeem1 has quit [Ping timeout: 245 seconds]
mengu__ has quit [Remote host closed the connection]
mengu has joined #ruby
Hijiri has quit [Ping timeout: 276 seconds]
juanpablo____ has joined #ruby
Spami has joined #ruby
wingedsnake has quit [Ping timeout: 255 seconds]
chinmay_dd_ has joined #ruby
soulcake has quit [Quit: Quack.]
Hijiri has joined #ruby
chinmay_dd has quit [Ping timeout: 265 seconds]
soulcake has joined #ruby
pontiki has joined #ruby
triangles2 has joined #ruby
hsps_ has joined #ruby
juanpablo____ has quit [Ping timeout: 244 seconds]
<shevy> perl is making a comeback guys!
<shevy> it climbed a rank
oo_ has joined #ruby
triangles3 has quit [Ping timeout: 255 seconds]
triangles3 has joined #ruby
RegulationD has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
coderhs has quit [Ping timeout: 264 seconds]
triangles2 has quit [Ping timeout: 244 seconds]
rubytor has joined #ruby
FernandoBasso has quit [Quit: leaving]
freerobby has quit [Quit: Leaving.]
RegulationD has quit [Ping timeout: 240 seconds]
chinmay_dd_ is now known as chinmay_dd
leafybasil has joined #ruby
<centrx> shevy, TIOBE turns out to be bullshit
<centrx> shevy, It's just based on Google search results
amclain has joined #ruby
<centrx> "Popular search engines such as Google, Bing, Yahoo!, Wikipedia, Amazon, YouTube and Baidu are used to calculate the ratings. It is important to note that the TIOBE index is not about the best programming language or the language in which most lines of code have been written."
bruno-_ has quit [Ping timeout: 276 seconds]
jimms has quit [Ping timeout: 265 seconds]
<ytti> alternative metrics http://langpop.com/
lkba has quit [Ping timeout: 245 seconds]
quimrstorres has quit [Remote host closed the connection]
arrnas has quit [Remote host closed the connection]
Guest53266 has quit [Remote host closed the connection]
Hijiri has quit [Ping timeout: 272 seconds]
jottr_ has joined #ruby
DexterLB has quit [Read error: Connection reset by peer]
jottr_ is now known as jottr
jayeshsolanki has quit [Quit: bye!]
claw has quit [Read error: No route to host]
delianid_ has joined #ruby
claw has joined #ruby
ujihisa has joined #ruby
claw_ has joined #ruby
lolmaus has joined #ruby
Hijiri has joined #ruby
claw_ has quit [Client Quit]
claw__ has joined #ruby
claw has quit [Read error: Connection reset by peer]
claw___ has joined #ruby
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinaldob has joined #ruby
ByronJohnson is now known as `
sankaber has joined #ruby
reinaldob has quit [Remote host closed the connection]
` is now known as Guest31872
Guest31872 is now known as notnufcha
dorei has joined #ruby
DexterLB has joined #ruby
notnufcha is now known as ByronJohnson
delianides has quit [Ping timeout: 276 seconds]
cscheib_ is now known as cscheib
claw__ has quit [Ping timeout: 244 seconds]
spider-mario has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 240 seconds]
scripore has quit [Quit: This computer has gone to sleep]
starless has joined #ruby
lkba has joined #ruby
wingedsnake has joined #ruby
CorpusCallosum has quit [Read error: Connection reset by peer]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
ismaelga has quit [Remote host closed the connection]
doodlehaus has joined #ruby
freerobby has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
thumpba has joined #ruby
quimrstorres has joined #ruby
dmmoody has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
quimrstorres has quit [Remote host closed the connection]
bim has joined #ruby
The_Phoenix has joined #ruby
serivich has quit [Ping timeout: 240 seconds]
bim is now known as Guest23746
The_Phoenix has quit [Max SendQ exceeded]
dmmoody has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
dmmoody has joined #ruby
MatthewsFace has joined #ruby
akurilin2 has joined #ruby
triangles2 has joined #ruby
AlphaTech is now known as zz_AlphaTech
akurilin has quit [Read error: Connection reset by peer]
dmmoody has quit [Client Quit]
krisquigley has joined #ruby
akurilin2 has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
triangles3 has quit [Ping timeout: 245 seconds]
akurilin2 has joined #ruby
MatthewsFace has quit [Ping timeout: 250 seconds]
ujihisa has quit [Ping timeout: 245 seconds]
Guest23746 has quit [Remote host closed the connection]
strmpnk_ is now known as strmpnk
krisquigley has quit [Ping timeout: 251 seconds]
aryaching has joined #ruby
scripore has joined #ruby
astrobunny has quit [Ping timeout: 264 seconds]
dfinninger has joined #ruby
scripore has quit [Client Quit]
c355E3B has quit [Quit: Leaving]
monod has quit [Ping timeout: 244 seconds]
antgel has quit [Ping timeout: 255 seconds]
CorpusCallosum has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Rickmasta has joined #ruby
aridere_ has joined #ruby
dfinninger has quit [Ping timeout: 256 seconds]
CorpusCallosum has quit [Max SendQ exceeded]
fabrice31 has joined #ruby
CorpusCallosum has joined #ruby
growlove has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
riotjones has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
wallerdev has joined #ruby
tkuchiki has quit [Remote host closed the connection]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
triangles has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
triangles2 has quit [Ping timeout: 240 seconds]
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
mjuszczak has quit []
red_horned_rihno has joined #ruby
starless has quit [Quit: Leaving]
red_horned_rihno has quit [Max SendQ exceeded]
lemur has joined #ruby
scripore has joined #ruby
hsps_ has quit [Ping timeout: 240 seconds]
red_horned_rihno has joined #ruby
triangles2 has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
red_horned_rihno has quit [Max SendQ exceeded]
riotjones has quit [Ping timeout: 240 seconds]
red_horned_rihno has joined #ruby
mjuszczak has joined #ruby
triangles has quit [Ping timeout: 240 seconds]
delianid_ has quit [Remote host closed the connection]
justin_pdx has quit [Quit: justin_pdx]
tpimtts_away is now known as tpimtts
tpimtts has quit [Changing host]
tpimtts has joined #ruby
sigurding has joined #ruby
User458764 has joined #ruby
lewix has joined #ruby
ParmesanCaesar has quit [Ping timeout: 256 seconds]
justin_pdx has joined #ruby
nettoweb has joined #ruby
_ixti_ has joined #ruby
tosbourn has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
triangles has joined #ruby
Megtastique has quit [Ping timeout: 250 seconds]
ParmesanCaesar has joined #ruby
ixti has quit [Ping timeout: 272 seconds]
DexterLB has quit [Read error: Connection reset by peer]
triangles2 has quit [Ping timeout: 244 seconds]
attamusc has joined #ruby
roshanavand1 has joined #ruby
tosbourn has quit [Ping timeout: 245 seconds]
roshanavand has quit [Ping timeout: 276 seconds]
bim has joined #ruby
Filete has joined #ruby
bim is now known as Guest3877
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
wingedsnake has quit [Ping timeout: 256 seconds]
gorpon has joined #ruby
DexterLB has joined #ruby
wallerdev has quit [Quit: wallerdev]
anaeem1_ has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
freerobby has quit [Quit: Leaving.]
Megtastique has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
DerisiveLogic has joined #ruby
poguez_ has joined #ruby
ujihisa has joined #ruby
<atmosx> what is tiobe?
dc has joined #ruby
Guest3877 has quit [Remote host closed the connection]
dc has quit [Remote host closed the connection]
versatiletech has joined #ruby
<ohcibi> The International Online Bullsht Election
triangles2 has joined #ruby
Channel6 has joined #ruby
triangles has quit [Ping timeout: 252 seconds]
lkba_ has joined #ruby
justin_pdx has quit [Quit: justin_pdx]
lkba has quit [Ping timeout: 264 seconds]
yqt has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
attamusc has quit [Ping timeout: 240 seconds]
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamninja has quit [Read error: Connection reset by peer]
delianides has joined #ruby
roshanavand1 has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roshanavand has joined #ruby
<versatiletech> lemur: I think the hacker read your comment about the filter and then randomized the email body. The culprit is in here.
DexterLB has quit [Ping timeout: 248 seconds]
triangles2 has quit [Quit: Leaving]
Igorshp has joined #ruby
riking_ has quit [Changing host]
riking_ has joined #ruby
riking_ is now known as Riking
gsd has joined #ruby
ParmesanCaesar has quit [Quit: leaving]
astrobunny has joined #ruby
delianides has quit [Ping timeout: 248 seconds]
mburns is now known as mburns_
mburns_ is now known as mburns
mburns is now known as mburns_
mburns_ is now known as mburns
mburns is now known as mburns_
mburns_ is now known as mburns
sigurding has quit [Quit: sigurding]
mburns is now known as mburns_
Igorshp has quit [Ping timeout: 276 seconds]
mburns_ is now known as mburns
mburns is now known as mburns_
DexterLB has joined #ruby
dc has joined #ruby
mburns_ is now known as mburns
astrobunny has quit [Ping timeout: 244 seconds]
dfinninger has joined #ruby
mburns is now known as mburns_
leafybasil has quit [Remote host closed the connection]
codeitagile has quit [Remote host closed the connection]
juanpablo____ has joined #ruby
aridere_ has quit [Quit: Leaving]
shazaum has joined #ruby
mburns_ is now known as mburns
ndrei has joined #ruby
haxrbyte has joined #ruby
dfinninger has quit [Ping timeout: 265 seconds]
monod has joined #ruby
gorpon has quit [Ping timeout: 256 seconds]
mburns is now known as mburns_
juanpablo____ has quit [Ping timeout: 255 seconds]
<lemur> versatiletech: well if they did they did a piss job of it.
<lemur> because now it gets straight caught by Gmail's spam filter.
RegulationD has joined #ruby
<lemur> double whammy there because now no one knows that the dreaded TCLMAFIA did it.
justin_pdx has joined #ruby
jottr has joined #ruby
gorpon has joined #ruby
bigmac has joined #ruby
zubov has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
<lemur> Anyways, I'm out.
lemur has quit [Remote host closed the connection]
TheNumb has quit [Quit: ZNC - http://znc.in]
zubov has quit [Client Quit]
TheNumb has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
zubov has joined #ruby
wallerdev has joined #ruby
Soda has joined #ruby
justin_pdx has quit [Ping timeout: 265 seconds]
<shevy> gcc and C is confusing
<undeadaedra> ah ?
<shevy> on linuxmint I have a location for libstdc++ here /usr/lib/x86_64-linux-gnu/libstdc++.so.6
<shevy> and poppler failed to compile stating that it can not find libstdc++.so.6
<shevy> but /usr/lib/x86_64-linux-gnu/ was in my /etc/ld.so.conf and I ran ldconfig too
<shevy> now I just copied that file one level down, into /usr/lib/
<shevy> and poppler compiles fine
<shevy> :\ :/ :\ :/
<undeadaedra> libstdc++ is C++, not C
<shevy> all is compiled via gcc
<undeadaedra> but not by the same command
<shevy> I should expect it to find what it installed
<undeadaedra> which have different parameters
<undeadaedra> even if linking should go though the same pass
<shevy> the issue is not C++ or C but where the file was :D
<undeadaedra> err, can be
<shevy> like hardcoded #include directives
<shevy> isn't there any language that fixes this?
<undeadaedra> "fixes"
<DerisiveLogic> So is it just me or is ruby in a state of decline
<havenwood> DerisiveLogic: you
<undeadaedra> DerisiveLogic: u
nszceta has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> DerisiveLogic dunno, depends a lot on the sites you frequent
<DerisiveLogic> Is it actually growing?
leafybasil has joined #ruby
<havenwood> DerisiveLogic: yes
<shevy> http://www.google.com/trends/explore#q=Ruby%20-%20Programming%20Language%2C%20Python%20-%20Programming%20language%2C%20Perl%20-%20Programming%20Language%2C%20PHP%20-%20Programming%20Language&cmpt=q&tz=
scripore has joined #ruby
<DerisiveLogic> scripore: Hey.
<shevy> DerisiveLogic I'd say it is in a steady state
<shevy> DerisiveLogic during the initial rails hype there was an increase, from like 2005 to 2009, that later subsided again
<DerisiveLogic> shevy: That's what I figured, but it seems like it'll start declining probably in 2-3 years.
dc has quit [Remote host closed the connection]
<DerisiveLogic> Especially with all the node hype at the moment.
<shevy> nah javascript can't be a competitor
<undeadaedra> eurk, node.
<shevy> all tasks that are automatable I wrote in ruby script. I would not know how to use javascript standalone in quite that way
<shevy> *via ruby scripts
<DerisiveLogic> shevy: How come?
<DerisiveLogic> And which scripts?
<shevy> all of them
<shevy> ruby is general purpose after all
<undeadaedra> code all the scripts!
<shevy> a language that could replace ruby there would have to be able to do the very same things as well
<shevy> how do you create a directory in javascript from a standalone file?
<DerisiveLogic> Like not being async friendly?
<undeadaedra> what?
<shevy> do I need async for everything
<zubov> I think Python is the biggest competitor
<shevy> yeah
<DerisiveLogic> How so?
otisZart has joined #ruby
<shevy> it will probably overtake PHP's share
<dorei> do you think so?
<jhass> DerisiveLogic: what are truly wondering here? why do you care how many people do use and will use Ruby in the near future?
<zubov> scripting based language, easy of use, fast enough, tons of library/framework support
<wasamasa> shevy: you'd use node for that
<DerisiveLogic> jhass: So that I don't waste my time learning a language that I won't benefit monetarily from.
chinmay_dd_ has joined #ruby
<a5i> python is fast ?
roshanavand has quit [Ping timeout: 244 seconds]
<shevy> wasamasa so how?
roshanavand1 has joined #ruby
<wasamasa> shevy: dunno, I don't use it
musashi has joined #ruby
<wasamasa> shevy: but be assured, it's possible
<shevy> ok so you don't know
<wasamasa> shevy: people have written streaming torrent clients in it
<jhass> DerisiveLogic: IME every language I learned, applicable in a job that pays me or not, teached me at least one thing that improved my general skills and workflows as a programmer, so that point is moot to me
<zubov> I prefer Ruby at this time.
<DerisiveLogic> I rather learn Haskell than ruby at this point for pushing my skills as a programmer, definitely not ruby.
<jhass> then do that
<havenwood> DerisiveLogic: In several years Ruby will have broken new, novel ground. It will be a popular language along with most of the popular languages now as well as a few others. If you think Node is a threat to Ruby you're sorely mistaken.
<jhass> DerisiveLogic: nobody cares
<a5i> Ruby and haskell are different paradigms
<a5i> how can u compare them ?
<havenwood> DerisiveLogic: I thought HN already dropped Node for Go and dropped Go for Rust. Live in the now, man!
<apeiros> what? people still use Rust?
<apeiros> that's so yesterminute
<shevy> DerisiveLogic haskell is so completely different, do you use a scripting language?
<DerisiveLogic> Shots fired.
<havenwood> As soon as Rust hit beta I was over it.
chinmay_dd has quit [Ping timeout: 264 seconds]
mengu has quit [Remote host closed the connection]
zzing has joined #ruby
lolmaus has quit [Ping timeout: 264 seconds]
<havenwood> :P
<DerisiveLogic> shevy: Yes, I'm debating right now if I should learn Ruby.
mengu has joined #ruby
<shevy> no I mean, what language do you use already
<apeiros> DerisiveLogic: learn what you feel like learning most
<havenwood> DerisiveLogic: Use languages that make you happy.
<apeiros> if that's not ruby, then so be it. no kittens will die due to that.
<shevy> surely you must have written some code before
<zubov> DerisiveLogic, try a couple different ones and continue with the one you like the most/feel comfortable with
dc has joined #ruby
soulcake has quit [Quit: Quack.]
dc has quit [Remote host closed the connection]
bim has joined #ruby
Darryl___ has joined #ruby
michael_mbp has quit [Excess Flood]
bim is now known as Guest76874
marr has joined #ruby
sinkensabe has joined #ruby
<havenwood> DerisiveLogic: Here's an interesting read: http://www.chrisseaton.com/rubytruffle/modularity15/rubyextensions.pdf
shazaum has quit [Quit: Leaving]
<zubov> I think it is good to learn one dynamic, one static and down the road a functional language
<zubov> one or more that is
<zubov> of each
haxrbyte has quit [Remote host closed the connection]
<wasamasa> has this channel turned into ##programming again?
* wasamasa sighs
lewix has quit [Remote host closed the connection]
chinmay_dd_ is now known as chinmay_dd
MatthewsFace has joined #ruby
Stalkr has joined #ruby
michael_mbp has joined #ruby
<DerisiveLogic> havenwood: Thanks.
Guest76874 has quit [Remote host closed the connection]
mengu has quit [Ping timeout: 265 seconds]
krisquigley has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<a5i> why does that channel not accept irc clients :(
justin_pdx has joined #ruby
<a5i> like irccloud ;-;
iamjarvo has joined #ruby
lolmaus has joined #ruby
sinkensabe has joined #ruby
mengu has joined #ruby
ramfjord has joined #ruby
Rickmasta has joined #ruby
ta has joined #ruby
<shevy> because they spam
MatthewsFace has quit [Ping timeout: 252 seconds]
krisquigley has quit [Ping timeout: 250 seconds]
maximski has quit []
sinkensabe has quit [Remote host closed the connection]
<zubov> bug in Gnome 3 or Rubymine in virtual desktop mode with fullscreen. annoying
AlphaAtom has joined #ruby
sinkensabe has joined #ruby
inavele has joined #ruby
jheg has quit [Quit: jheg]
Pharaoh2 has joined #ruby
<shevy> gnome 3 is one big bug
<inavele> shevy: why?
_1_ejo has joined #ruby
<_1_ejo> hi
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<_1_ejo> hello
uri_ has quit [Quit: Textual IRC Client: www.textualapp.com]
reinaldob has joined #ruby
bigmac has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
mostlybadfly has quit [Quit: Connection closed for inactivity]
dagelf has joined #ruby
<havenwood> ?whatschat _1_ejo
<ruboto> _1_ejo, WhatsChat is a crappy app that abuses IRC for something it is not: a dating chat. Please remove this app.
fabrice31 has joined #ruby
<_1_ejo> i am new
<_1_ejo> here
yqt has quit [Ping timeout: 244 seconds]
reinaldob has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<_1_ejo> hi
<shevy> Inavele it's less usably than gnome2 :)
<zubov> anybody have any input on QT Ruby vs GTK Ruby
<shevy> I used qtruby years ago
<shevy> it was visually nicer than ruby-gnome
<shevy> but ruby-gnome seems to be more active
<zubov> work ok?
<shevy> the little I used was ok yeah
<_1_ejo> oh
bruno- has joined #ruby
Azure has joined #ruby
<shevy> but I spent most time into ruby-gnome really
Soda has quit [Ping timeout: 255 seconds]
<_1_ejo> plz help me
<shevy> _1_ejo stop using WhatsChat crap man, use a real IRC client
nszceta has joined #ruby
<_1_ejo> how
<shevy> :(
<_1_ejo> :'(
<_1_ejo> i m new here
sigurding has joined #ruby
djbkd_ has joined #ruby
ndrei has joined #ruby
<shevy> no
<shevy> you don't belong here
<zubov> I was looking at visualruby
<zubov> looks decent
chinmay_dd has quit [Quit: Leaving]
reinaldob has quit [Ping timeout: 250 seconds]
<jhass> _1_ejo: this channel is about the Ruby programming language, your client didn't make that clear? Good, give it a 1-star rating in the play store then please
bigmac has joined #ruby
fabrice31 has quit [Ping timeout: 276 seconds]
babykosh has joined #ruby
<shevy> dunno what visual ruby does
inavele has quit [Remote host closed the connection]
roshanavand1 has quit [Ping timeout: 240 seconds]
<shevy> glade is XML though right?
<shevy> I so hate XML
<zubov> yes
<zubov> not a fan myself of XML
lidenskap has joined #ruby
roshanavand has joined #ruby
quimrstorres has joined #ruby
sinkensabe has joined #ruby
dfinninger has joined #ruby
<undeadaedra> XML is nice for complex data description
N0Lif3 has quit [Quit: Leaving]
versatiletech has quit [Quit: versatiletech]
tvw has joined #ruby
<ytti> it's just quite verbose
<ytti> but most languages come with good library to work with XML data
<ytti> and when handed data to work with
<ytti> if it's XML, things are already pretty good, in my books
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
parduse has joined #ruby
<zubov> indeed, I just rather work with json most of the time
Morkel has joined #ruby
<nszceta> my buddy works for a financial company using Java
_1_Brown has joined #ruby
ZJvandeWeg has joined #ruby
<nszceta> they have XML files which instantiate objects
duckpunch has quit [Quit: leaving]
<nszceta> I am not sure wtf is going on there but have you guys heard of this?
<jhass> ?whatschat _1_Brown
<ruboto> _1_Brown, WhatsChat is a crappy app that abuses IRC for something it is not: a dating chat. Please remove this app.
duckpunch has joined #ruby
xtsee has quit []
<ytti> speaking of serialization, anyone familiar with cap'n proto?
Joufflu has joined #ruby
<nszceta> wtf chatschat?
_1_Brown has left #ruby [#ruby]
<nszceta> IRC is 99.999% dudes so is this the new Grindr?
<nszceta> *whatschat
roshanavand has quit [Ping timeout: 250 seconds]
<wasamasa> rofl
blackmesa has joined #ruby
<wasamasa> _1_ejo: we're no ladyboys
tlarevo has joined #ruby
dc has joined #ruby
versatiletech has joined #ruby
<wasamasa> _1_ejo: go pleasure yourself
dfinninger has quit [Ping timeout: 255 seconds]
tlarevo has quit [Remote host closed the connection]
pen has quit []
willharrison has joined #ruby
<havenwood> wasamasa: Some of us might be, but it's irrelevant.
cpt_yossarian has quit [Ping timeout: 245 seconds]
<havenwood> Ruby please!
<wasamasa> ok, ok
<apeiros> anybody against banning _1_* (the whatschat users)
<apeiros> ?
<havenwood> apeiros: It doesn't seem like anyone is actually trying to use it as an irc client. At least nobody yet.
djbkd_ has quit [Read error: Connection reset by peer]
lidenskap has quit [Remote host closed the connection]
<undeadaedra> apeiros: Already proposed i
<undeadaedra> it*
versatiletech has quit [Client Quit]
<apeiros> undeadaedra: I know. I hesitated. it might ban legitimate users. but so far the score's around 30:0
gorpon has quit [Ping timeout: 246 seconds]
_1_ejo has quit [Ping timeout: 255 seconds]
<undeadaedra> +q them?
<a5i> hes g0ne
<apeiros> I think that's worse than ban
<undeadaedra> send them to #ruby-whatschat ?
<apeiros> heh
Nuck has joined #ruby
<undeadaedra> There should be an automatic warning if there is something done (except ban, for which nothing can really be done)
xtsee has joined #ruby
ZJvandeWeg has quit [Quit: WeeChat 1.1.1]
<undeadaedra> I don’t know if this thing receives notices or pm
jottr has joined #ruby
pushpak has joined #ruby
ujihisa has quit [Ping timeout: 250 seconds]
<apeiros> redirectis a good idea.
<Mon_Ouie> And there should be a bot on that channel that just prints that same message everytime someone joins :p
<apeiros> topic of ##whatschat is "20:27 apeiros has set topic: Dear WhatsChat user - the #ruby channel is not a dating channel and whatschat is crap, please rate it accordingly in the playstore."
<undeadaedra> topic.
scripore has quit [Quit: This computer has gone to sleep]
<undeadaedra> Let’s just hope whatschat displays the topic :D
oo_ has joined #ruby
<jhass> iirc it doesn't :P
<jhass> until you go to menu or something
<apeiros> too bad
<apeiros> welcome message?
hmsimha has joined #ruby
<jhass> I'll get genymotion and we can experiment a bit
panga has quit [Quit: Leaving...]
jottr has quit [Ping timeout: 245 seconds]
<hfp> What is the point of using this syntax in a gemspec file? `s.add_development_dependency %q<rake>, [">= 0"] ` instead of just `'rake'` ?
<jhass> there's none
<shevy> quite convoluted
<shevy> >> %q<rake>
<ruboto> shevy # => "rake" (https://eval.in/312497)
<hfp> That's what I thought, thanks
oo_ has quit [Ping timeout: 265 seconds]
<apeiros> I thought those were just in generated gemspecs
ta has quit [Remote host closed the connection]
<apeiros> but even there I didn't really get why. using .inspect to generate those strings should be less fragile.
wingedsnake has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
zz_AlphaTech is now known as AlphaTech
dc has quit [Read error: Connection timed out]
dc has joined #ruby
jeramy_s has joined #ruby
wingedsnake has quit [Ping timeout: 265 seconds]
anaeem1_ has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
aridere_ has joined #ruby
duckpunch has quit [Quit: leaving]
zerowaitstate has joined #ruby
sigurding has quit [Quit: sigurding]
jrcharney has joined #ruby
maximski has joined #ruby
anaeem1_ has quit [Ping timeout: 245 seconds]
duckpunch has joined #ruby
Megtastique has quit []
lidenskap has joined #ruby
nfk|laptop has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
sinkensabe has joined #ruby
<jrcharney> Just in case nobody at #rvm is home, does anyone know why RVM won't install Ruby on Cygwin? It could but it won't. http://pastebin.com/V4tnMzMB
<ruboto> jrcharney, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/80f922e2d5ff5971b5e4
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
casshern2 has quit [Ping timeout: 255 seconds]
<a5i> is ruboto in ruby ?
konsolebox has joined #ruby
doodlehaus has joined #ruby
kubunto has joined #ruby
<zerowaitstate> what does /home/Jason/.rvm/log/1428581576_ruby-2.2.1/make.log say?
konsolebox has quit [Remote host closed the connection]
casshern2 has joined #ruby
bim has joined #ruby
bim is now known as Guest68912
sigurding has joined #ruby
psy_ has joined #ruby
Guest68912 has quit [Remote host closed the connection]
justin_pdx has quit [Ping timeout: 272 seconds]
lidenskap has quit [Remote host closed the connection]
RegulationD has joined #ruby
justin_pdx has joined #ruby
lavros has quit [Quit: leaving]
spider-mario has joined #ruby
workmad3 has joined #ruby
makepkgnotwar has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
mengu has quit [Read error: Connection reset by peer]
makepkgnotwar has quit [Max SendQ exceeded]
mengu has joined #ruby
makepkgnotwar has joined #ruby
FernandoBasso has joined #ruby
<jrcharney> There is a message about Tcl/Tk not being round. I'll look for that and see if that helps.
makepkgnotwar has quit [Max SendQ exceeded]
delianides has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maximski has quit []
banister has joined #ruby
makepkgnotwar has joined #ruby
juanpablo____ has joined #ruby
makepkgnotwar has quit [Client Quit]
juanpablo____ has quit [Ping timeout: 245 seconds]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jrcharney has quit [Quit: Back in a few. Trying to install ruby]
hectortrope has quit [Remote host closed the connection]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
makepkgnotwar has joined #ruby
pcp135 has quit [Read error: Connection reset by peer]
pcp135 has joined #ruby
dfinninger has joined #ruby
nettoweb has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
reinaldob has joined #ruby
kyrylo has quit [Ping timeout: 245 seconds]
dfinninger has quit [Ping timeout: 272 seconds]
inavele has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
Igorshp has joined #ruby
Igorshp has quit [Remote host closed the connection]
Igorshp has joined #ruby
Morkel has quit [Quit: Morkel]
bigmac has quit [Remote host closed the connection]
ChoiKyuSang has joined #ruby
Spami has joined #ruby
reinaldob has quit [Remote host closed the connection]
<hfp> I'm having trouble with the VCR doc here: https://relishapp.com/vcr/vcr/docs. Where do the different pieces from the Synopsis go? They all go into spec/spec_helper.rb?
MatthewsFace has joined #ruby
mostlybadfly has joined #ruby
freestyl3r has left #ruby ["WeeChat 1.1.1"]
Igorshp has quit [Ping timeout: 272 seconds]
jottr has joined #ruby
nettoweb_ has joined #ruby
byprdct has joined #ruby
nettoweb has quit [Ping timeout: 265 seconds]
soulcake has joined #ruby
bigmac has joined #ruby
MatthewsFace has quit [Ping timeout: 256 seconds]
<a5i> does Ruby support more aspects of functional programming than JS ?
justin_pdx has quit [Quit: justin_pdx]
gregf1 has quit [Quit: WeeChat 1.0.1]
<kubunto> a5i: take a look at ruby lambda
greenbagels has joined #ruby
djbkd_ has joined #ruby
rshetty has joined #ruby
fwaokda has joined #ruby
dc has quit [Remote host closed the connection]
djbkd_ has quit [Ping timeout: 240 seconds]
poguez_ has joined #ruby
<a5i> ooo
anthony has joined #ruby
anthony is now known as Guest49234
jenrzzz has joined #ruby
bruno- has joined #ruby
wallerdev has quit [Quit: wallerdev]
Guest49234 has quit [Max SendQ exceeded]
lobolars has joined #ruby
luluapple has quit [Quit: ZNC - http://znc.in]
iamjarvo has joined #ruby
doodlehaus has quit [Remote host closed the connection]
krisquigley has joined #ruby
cpt_yossarian has joined #ruby
Pupeno_ has joined #ruby
luluapple has joined #ruby
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 265 seconds]
jeramy_s has joined #ruby
Pupeno has quit [Ping timeout: 256 seconds]
yqt has joined #ruby
krisquigley has quit [Ping timeout: 240 seconds]
musashi has quit [Quit: Connection closed for inactivity]
bradleyp_ has joined #ruby
scripore has joined #ruby
blackmesa has joined #ruby
GreyHands has quit [Quit: Textual IRC Client: www.textualapp.com]
MatthewsFace has joined #ruby
bradleyprice has quit [Ping timeout: 245 seconds]
justin_pdx has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
elaptics_away is now known as elaptics
bruno- has quit [Ping timeout: 252 seconds]
MatthewsFace has quit [Ping timeout: 246 seconds]
<zapata> Hi. Ruby-talk ML is being spammed. :-(
<kubunto> whats that?
<apeiros> kubunto: ML = mailing list
pushpak has quit [Quit: Linkinus - http://linkinus.com]
lidenskap has joined #ruby
<kubunto> aha
<apeiros> zapata: we're not ruby-talk maintainers
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lidenskap has quit [Remote host closed the connection]
_honning_ has joined #ruby
lidenskap has joined #ruby
sigurding has quit [Quit: sigurding]
<shevy> down with the mailing lists!
<jhass> that such a list worked unmoderated for more than an hour anyway...
<shevy> just like IRC
rshetty has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 272 seconds]
sinkensa_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
gorpon has joined #ruby
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
dc has joined #ruby
<kubunto> are there mods here?
<havenwood> kubunto: yup
<havenwood> kubunto: /msg ChanServ ACCESS #ruby LIST
juanpablo____ has joined #ruby
ghr has joined #ruby
<kubunto> i should have bet jhass would be in the list
<shevy> yeah
zerowaitstate has quit [Quit: leaving]
<shevy> he is a real killer
scripore has quit [Quit: This computer has gone to sleep]
fierycatnet has joined #ruby
Contigi777 has joined #ruby
<kubunto> tho uh what do those flags mean
scripore has joined #ruby
juanpablo____ has quit [Ping timeout: 252 seconds]
<kubunto> jhass: what do your flags mean
RegulationD has joined #ruby
Pupeno has joined #ruby
riotjones has joined #ruby
<apeiros> !ops
<ruboto> fflush, sepp2k, banisterfiend, apeiros, seanstickle, Mon_Ouie, zzak, Havenn, Radar, jhass, Karpah, miah, workmad3, Coraline
<apeiros> kubunto: ^
<apeiros> note that it currently lists authnames. this will change in the next few days.
gorpon has quit [Ping timeout: 240 seconds]
rshetty has joined #ruby
Contigi has quit [Ping timeout: 244 seconds]
gorpon has joined #ruby
FaresKAlaboud has quit [Quit: Quit~]
<jhass> kubunto: /msg ChanServ help flags
fierycatnet has quit []
Pupeno_ has quit [Ping timeout: 265 seconds]
sinkensabe has joined #ruby
FaresKAlaboud has joined #ruby
sinkensa_ has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 240 seconds]
tpimtts is now known as tpimtts_away
riotjones has quit [Ping timeout: 276 seconds]
<kubunto> is there a reason you dont use nickserv?
dfinninger has joined #ruby
<jhass> ?
rshetty has quit [Remote host closed the connection]
<jhass> oh you mean why I use saslserv?
<kubunto> no
<apeiros> kubunto: can you be a bit more specific?
mtakkman has joined #ruby
rshetty has joined #ruby
bruno- has joined #ruby
<kubunto> the orignal channel i found on freenode shows the little @ and + for ops and voices
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kubunto> i think they use nickserv as the back bone
<apeiros> "they"?
kuiiu has joined #ruby
<kubunto> the ops on those channels
<apeiros> back bone for what?
<apeiros> *sob*
<Mon_Ouie> That's because we only op ourselves when we need op powers
<apeiros> you're speaking in riddles…
<apeiros> "those" channels?
<Mon_Ouie> Which is the recommended policy on freenode
<kubunto> Mon_Ouie: ty
<apeiros> any chance you be specific and not just extremely vague kubunto?
<apeiros> *are
<jhass> kubunto: nickserv is for managing your useraccount on freenode
otisZart has quit [Read error: Connection reset by peer]
<jhass> see, now I have the @
<jhass> and now you have the +v
<jhass> *the +
<jhass> it just means operator and voiced status
Jiyuhen has quit [Ping timeout: 250 seconds]
<jhass> has nothing to do with chanserv or nickserv
<kubunto> ty
Jiyuhen has joined #ruby
dfinninger has quit [Ping timeout: 252 seconds]
tosbourn has joined #ruby
rshetty has quit [Ping timeout: 256 seconds]
SouL_|_ has quit [Remote host closed the connection]
<apeiros> ok, I still have no idea what the question was…
<jhass> "I'm very new to IRC, how does it work?"
<apeiros> hm
<apeiros> actually might be worth an article on ruby-community.com. explain irc and how to use it.
<kubunto> jhass: ive been around for 2 yrs
<undeadaedra> I can haz +v
<shevy> that makes you a half expert
<jhass> kubunto: mh, I googled all the channel and user flags for a long time at that point :P
pangur has joined #ruby
<ytti> ytti@ytti ~/u/l/irc> du -hs .
<ytti> 792M.
<ytti> all gzipped
<ytti> i have no life
<undeadaedra> apeiros: and then, comes the moment you have to provide some IRC clients.
nfk has quit [Remote host closed the connection]
<undeadaedra> du -h logs
<undeadaedra> 0
<apeiros> undeadaedra: linking should be sufficient. worst case link freenode webchat (even though it's IMO horrible)
quimrsto_ has joined #ruby
<kuiiu> little question, can a beginner create a new channel here?
maximski has joined #ruby
<undeadaedra> everyone can create a channel
<pangur> I have switched back from Linux to Windows, and decided that I would give Sequel a whirl with sqlite3. However, when I run the "Short Example" from the Sequel website, I get the following errors: http://fpaste.org/210134/88699631/
<pangur> I have switched back from Linux to Windows, and decided that I would give Sequel a whirl with sqlite3. However, when I run the "Short Example" from the Sequel website, I get the following errors: http://fpaste.org/210134/88699631/
<pangur> I have switched back from Linux to Windows, and decided that I would give Sequel a whirl with sqlite3. However, when I run the "Short Example" from the Sequel website, I get the following errors: http://fpaste.org/210134/88699631/
<apeiros> kuiiu: that's a #freenode question, and yes, you can
<pangur> 21:20:05 | <pangur> I am using Windows 8.
nettoweb_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> pangur: wtf?
<kuiiu> how do you create a new channel?
<undeadaedra> wth pangur
turtil has joined #ruby
<apeiros> kuiiu: you join it
<pangur> oops, sorry
<undeadaedra> kuiiu: join it
<jhass> kuiiu: use ##foo for channels that aren't associated to a project though
<apeiros> pangur: did you cross-post that that you copy&pasted it?
tosbourn has quit [Ping timeout: 255 seconds]
<undeadaedra> then, if you want to have persistant settings, like operator, you can register it through ChanServ
<pangur> Yes, apeiros. I posted first of all in #sequel channel.
<pangur> I then copied and pasted.
<kuiiu> ok, I just created by joining a new channel, can I control the access?
<undeadaedra> ah, I knew I already seen that somewhere
Kricir_ has quit [Remote host closed the connection]
<jhass> kuiiu: yes, you should have ops
<undeadaedra> kuiiu: You’re op there ?
<apeiros> pangur: haven't we told you more than once now that when you cross-post, you're expected to tell that in the channels?
<undeadaedra> kuiiu: what is it, so when can not be noisy here?
quimrstorres has quit [Ping timeout: 245 seconds]
<kuiiu> what is ops?
ghr has quit [Ping timeout: 245 seconds]
<pangur> No, apeiros. I have not been told that before. But it seems a reasonable thing that that should be your expectation. I shall know to do that in the future.
<apeiros> pangur: ok
<apeiros> maybe it was somebody with a similar nick then
<jhass> kuiiu: +o flag, many clients display it with a @ in front
maximski has quit [Client Quit]
<undeadaedra> kuiiu: on unregistered channels, you get it automatically if you’re the first one to join
makepkgnotwar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kuiiu> jhass: thanks, I can see @, now if anyone want to go my channel they need my permission?
<undeadaedra> no
<undeadaedra> the name of the channel
lidenskap has quit [Remote host closed the connection]
<jhass> kuiiu: there are flags you can set for that though
<kuiiu> how can I set the flags?
<undeadaedra> with /mode
<kuiiu> thanks for the link
<kuiiu> I wll pause to read it now
<pangur> There is nobody answering in #sequel, apeiros. That is why I asked here. There is no conversation in #sequel that I can see.
<undeadaedra> #sequel is not very active, but there is activity sometimes.
<pangur> I wondered if it were something wrong with my Ruby installation rather than to do with sequel at all.
lidenskap has joined #ruby
<undeadaedra> But it shouldn’t stop you from saying that you cross-posted in /both/ channels.
<jhass> pangur: how long did you wait before crossposting?
<ytti> pangur, gem install sqlite3
<pangur> I have done that ytti
<undeadaedra> I see you, jhass :p
<ytti> pangur, what is your code
<jhass> undeadaedra: shit
* jhass runs
<ytti> pangur, gem list|grep sql
<pangur> Not very long. There is still no conversation in the other room, jhass.
WildBamboo-Josh has joined #ruby
<jhass> pangur: do you still have the output of gem install sqlite3?
The_Phoenix has quit [Read error: Connection reset by peer]
jud^ has joined #ruby
jud has quit [Ping timeout: 245 seconds]
<jhass> pangur: so in small channels, response times of up to 6 hours and more are nothing unusual ;)
<ytti> pangur, i'm guessing your installation of sqlite3 failed, because it failed to compile native extension, due to missing dependencies
<undeadaedra> jhass: 7 minutes, according to my calculations.
<pangur> I am on Windows 8, ytti - I do not have grep on that.
<ytti> ow, sorry
<undeadaedra> 2 minutes if you count from the last message.
ghr has joined #ruby
<undeadaedra> That’s really small, for #sequel responses times.
<havenwood> pangur: Isn't there grep in PowerShell?
<ytti> linux will be significantly less painful platform to learn ruby
<jhass> undeadaedra: being a 40 users channel, I can imagine
<undeadaedra> Windows’ shell is findtext iirc
<undeadaedra> Windows shell’s grep is findtext iirc
luluapple has quit [Quit: ZNC - http://znc.in]
<ytti> i would install linux on virtualPC, unless i'd be able to autonomously solve issues
tvw has quit []
WildBamboo-Josh has quit [Client Quit]
<jhass> btw gem list supports filtering, no?
<pangur> ytti, I had sequel working on linux. I agree that linux would be easier but I have inherited a machine that has some OCR stuff on it like Omnipage Ultimate, for which Linux does not have a comparable software.
<jhass> yup, gem list sql lists sqlite3 here
gorpon has quit [Ping timeout: 256 seconds]
<zubov> pangur, wingrep is free
willharrison has joined #ruby
dc has quit []
<pangur> *** LOCAL GEMS *** sqlite3 (1.3.10 x64-mingw32)
gorpon has joined #ruby
<jhass> pangur: so, what about my question, do you still have the output of gem install sqlite3 ?
<pangur> jhass The output of gem install sql is *** LOCAL GEMS *** sqlite3 (1.3.10 x64-mingw32)
<jhass> pangur: I can assure you that's the output of gem list sql
<jhass> not gem install sqlite3
luluapple has joined #ruby
astrobunny has joined #ruby
<pangur> Sorry, yes, it is indeed.
Kricir has joined #ruby
Vile` has quit [Ping timeout: 245 seconds]
luluapple has quit [Client Quit]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lidenskap has quit [Remote host closed the connection]
Jackneill has quit [Read error: Connection reset by peer]
<pangur> I take it that the answer indicates that sqlite3 is installed.
<Darkwater> how can I use named groups within a case block with regexes?
<Darkwater> eg. case input when /^(?<something>...)/
<Darkwater> something won't be defined
<Darkwater> will I have to use $1 etc?
<xxneolithicxx> pangur: you know your question is answered on stackoverflow right?
Asher has quit [Quit: Leaving.]
<jhass> Darkwater: slightly less ugly, $~ will be the matching MatchData
<pangur> I looked on stackoverflow, xxneolithicxx, but could not see the answer there.
<pangur> I shall now look again.
<jhass> pangur: https://github.com/sparklemotion/sqlite3-ruby/issues/150 looks to be a known issue
<jhass> the sqlite3 gem does not support your Ruby version on Windows
lolmaus has quit [Quit: Konversation terminated!]
Channel6 has quit [Quit: Leaving]
lobolars has quit [Read error: Connection reset by peer]
astrobunny has quit [Ping timeout: 265 seconds]
oddskill is now known as oddskill_away
bim has joined #ruby
<Darkwater> jhass: good enough, thanks
<pangur> So, what Ruby version should I go for that would work for me, please?
luluapple has joined #ruby
bim is now known as Guest74929
<pangur> Or do I just follow the advice in xxneolithicxx's link?
vivekananda has joined #ruby
<jhass> no, that's for linux or OS X
Lingo has joined #ruby
Lingo has quit [Client Quit]
quimrstorres has joined #ruby
<jhass> this is why people are quick to recommend getting a VM
Guest74929 has quit [Remote host closed the connection]
mbff has joined #ruby
<pangur> I tried downloading a bitnami version but it would not run.
<jhass> it's kinda the inverse of the linux kernel and thinkpads, nobody uses windows in the ruby community, so things get slower patched there or aren't working at all, so nobody uses windows
quimrsto_ has quit [Ping timeout: 240 seconds]
thumpba_ has joined #ruby
hs366 has quit [Quit: Leaving]
<mbff> Can you print an array element with "#{array[0]}"
<jhass> yes
kubunto has left #ruby [#ruby]
<mbff> ok thanks
<jhass> I prefer .to_s over "#{x}" if it's just about ensuring a string
<jhass> methods like puts and print will even call .to_s on the argument for you
thumpba has quit [Ping timeout: 250 seconds]
<mbff> can you do if(conditional) ? with "()"
govg has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
<pangur> One of these days, I shall try to get Linux dual-booted on my machine. Thanks for confirming that my current Windows will not run Ruby, jhass. Do I just find out what previous version of Ruby might work by trial and error, or is there a generally available answer to that?
<jhass> mbff: yes, but it's very unidiomatic
Vile` has joined #ruby
<mbff> hmmm... but it wouldn't break anything right
<jhass> pangur: the last stackoverflow link references a mailing list post which has the answer
nszceta has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> mbff: except any rubyists nerves that has to look at your code? no :P
<pangur> OK, thank you. Sorry for having cross-posted without flagging that up from the outset. I shall bear in mind not to do so in future.
<mbff> haha
<mbff> thanks
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gorpon_ has joined #ruby
unshadow has joined #ruby
<unshadow> Damn, the ryby mail-list is hacked :\
<unshadow> got like 500 mails over the night
<havenwood> spammed or hacked?
<unshadow> not sure, maybe both
unshadow has quit [Client Quit]
thumpba_ has quit [Ping timeout: 252 seconds]
mlev has quit [Read error: Connection reset by peer]
gorpon has quit [Ping timeout: 276 seconds]
ascarter has joined #ruby
mtakkman has quit [Read error: Connection reset by peer]
grindmodeon has joined #ruby
astrobunny has joined #ruby
freerobby has joined #ruby
anaeem1_ has joined #ruby
Asher has joined #ruby
anaeem1_ has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
anaeem1 has joined #ruby
fwaokda has quit [Ping timeout: 264 seconds]
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<a5i> EcmaScript 6 looking pretty good
<a5i> and slightly ruby-like
anaeem1 has quit [Ping timeout: 250 seconds]
makepkgnotwar has joined #ruby
ujihisa has joined #ruby
<undeadaedra> Do you still need external libraries to format dates in a sane way?
kuiiu has left #ruby [#ruby]
versatiletech has joined #ruby
aryaching has quit [Ping timeout: 276 seconds]
<jhass> "sane" is subjective ;P
<jhass> I don't really mind strftime
grindmodeon has quit [Quit: Leaving.]
_honning_ has quit [Ping timeout: 255 seconds]
grindmodeon has joined #ruby
<undeadaedra> me neither
Spami has quit [Quit: This computer has gone to sleep]
<undeadaedra> I was replying to a5i
<ytti> you need 'time' or #iso8601
<ytti> for
gorpon_ has quit [Ping timeout: 250 seconds]
<a5i> undeadaedra: no :(
<shevy> javascript looks ruby like?
<shevy> perhaps on the surface - ruby is very prototypical for a class-based OOP language
<a5i> ES6
justin_pdx has quit [Quit: justin_pdx]
<atmosx> hello
<atmosx> havenwood: it's spammed
vim_shimm has joined #ruby
<atmosx> havenwood: I don't know why apparently of all programming lagnauges TCL attracts idiots in much higher % statistically speaking.
mlev has joined #ruby
Rephiax has quit []
dfinninger has joined #ruby
<ytti> i don't agree or disagree, but if that is true, perhaps eggdrop and irc wars explain it
<ytti> however TCL is very much used in lot of other contexts
<ytti> good or bad
<shevy> mIRC script kiddies
<shevy> I remember the good old botwars
<ytti> i'm personally not big on event programming, i don't like node either
<shevy> 1997-2004
<ytti> i think it looks neat and convenient for simple stuff
<ytti> but quickly becomes very hard to rationale about
<ytti> luckily it seems lua is taking lot of the domains where TCL used to be used
kubunto has joined #ruby
lemur has joined #ruby
iamjarvo has joined #ruby
Filete has joined #ruby
pangur has quit [Read error: Connection reset by peer]
iamjarvo has quit [Client Quit]
<atmosx> However I'm tired, This happens all too often in the ML
<atmosx> if it keeps happening I'll unsubscribe.
grindmodeon has quit [Quit: Leaving.]
dfinninger has quit [Ping timeout: 255 seconds]
<atmosx> it's a pitty because I learn a lot by reading proposed solutiosn and approaches but..
<atmosx> cleaning the mbox is a pain
JoshGlzBrk has joined #ruby
jheg has joined #ruby
Darryl___ has quit [Quit: Connection closed for inactivity]
thumpba has joined #ruby
jheg has quit [Client Quit]
roolo has joined #ruby
<shevy> dunno
<jhass> atmosx: propose to make it moderated and apply as a moderator ;P
<shevy> I never managed to get into mailing lists even without spam
<shevy> the regular activity is already way too much spam for me!!!
psy_ has quit [Ping timeout: 250 seconds]
<atmosx> jhass: not a good idea, I am both out of skills and time.
<atmosx> gonna crash to bed night all
Stalkr has quit [Quit: Leaving...]
<kubunto> jhass: by the way the difference in ops is this channel has +o for op and my other channels have +O for op
<jhass> kubunto: all of them? it's rather unusual
<kubunto> the 2 social ones yes
<jhass> anyway, /msg ChanServ help flags explains the difference
<kubunto> the programming ones are like this
<kubunto> which kinda makes sense
bluOxigen has quit [Ping timeout: 264 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit []
quimrsto_ has joined #ruby
ghr has joined #ruby
anskeit has joined #ruby
quimrstorres has quit [Ping timeout: 252 seconds]
pen-soldier has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krisquigley has joined #ruby
aghalarp has joined #ruby
Azure has quit [Ping timeout: 245 seconds]
casshern2 has quit [Ping timeout: 272 seconds]
krisquigley has quit [Ping timeout: 265 seconds]
casshern2 has joined #ruby
_honning_ has joined #ruby
JDiPierro has joined #ruby
elaptics is now known as elaptics_away
horsecowdog has joined #ruby
FernandoBasso has quit [Ping timeout: 264 seconds]
doodlehaus has joined #ruby
serivich has joined #ruby
iotouch has joined #ruby
rrodriguescesar has quit [Quit: Konversation terminated!]
fabrice31 has joined #ruby
bim has joined #ruby
JDiPierro has quit [Remote host closed the connection]
bim is now known as Guest11323
versatiletech has left #ruby [#ruby]
momomomomo has joined #ruby
doodlehaus has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 265 seconds]
monod has quit [Quit: Sto andando via]
pangur has joined #ruby
luluapple has quit [Quit: ZNC - http://znc.in]
mbff has quit [Quit: Leaving]
<pangur> jhass: Just thought that I would nip in to report back that, after downgrading to Ruby 1.9 everything seems to work fine.
juanpablo____ has joined #ruby
<pangur> Thanks again for your help.
decoponio has quit [Quit: Leaving...]
<pangur> It seems that that is the highest version that Ruby Installer for Windows includes that works with sqlite3.
* pangur is happy.
pangur has left #ruby [#ruby]
yfeldblum has joined #ruby
juanpablo____ has quit [Ping timeout: 264 seconds]
mengu has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 255 seconds]
FernandoBasso has joined #ruby
RegulationD has joined #ruby
kirun has quit [Quit: Client exiting]
quimrsto_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 276 seconds]
riotjones has joined #ruby
last_staff has quit [Quit: last_staff]
zerowaitstate has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
bkxd has joined #ruby
astrobunny has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 252 seconds]
Channel6 has joined #ruby
davedev24_ has joined #ruby
quimrstorres has joined #ruby
riotjones has quit [Ping timeout: 272 seconds]
Kricir has quit [Remote host closed the connection]
zorak8 has quit [Ping timeout: 244 seconds]
ByronJohnson has quit [Quit: Changing server]
Igorshp has joined #ruby
ByronJohnson has joined #ruby
m8 has quit [Quit: Sto andando via]
ByronJohnson has quit [Client Quit]
<Darkwater> I want to read up on something, but I have no idea how it's called
Guest53782 has quit []
jud^ is now known as jud
jud has quit [Changing host]
jud has joined #ruby
<Darkwater> basically I want a class with an initializer that returns an existing instance if available
lanemeyer has joined #ruby
ByronJohnson has joined #ruby
<kubunto> singleton
<Darkwater> so for example, if I create an instance of a user with username foo, it doesn't exist yet, make a new instance
<Darkwater> now create a user with username bar, new instance
<Darkwater> create a user with username foo, already exists, return existing instance
yfeldblu_ has joined #ruby
<kubunto> Darkwater: cant you keep a set of username hashmaps?
ByronJohnson has quit [Client Quit]
<kubunto> check to see if it is in there and if it isnt make a new one and add it in?
bkxd has quit [Ping timeout: 245 seconds]
Igorshp has quit [Ping timeout: 272 seconds]
<Darkwater> that's obvious, I guess my actual question was if it's a good idea to do that in the initialize function
<jhass> Darkwater: make this a class method
CaptainCibai has joined #ruby
<Darkwater> ooh right
<Darkwater> forgot about that
<Darkwater> thanks
<Darkwater> is there a name for this, though?
<jhass> def self.find_or_create(username); CACHE[username] ||= new(username); end;
iotouch has quit [Quit: This computer has gone to sleep]
<Darkwater> ooh, nice
yfeldblum has quit [Ping timeout: 255 seconds]
dfinninger has joined #ruby
ByronJohnson has joined #ruby
ByronJohnson has quit [Client Quit]
nfk|laptop has quit [Quit: yawn]
dfinning_ has joined #ruby
WildBamboo-Josh has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
dfinninger has quit [Ping timeout: 245 seconds]
WildBamboo-Josh has quit [Client Quit]
colorisco has quit [Ping timeout: 252 seconds]
ByronJohnson has joined #ruby
WildBamboo-Josh has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<willharrison> Radar I have just started reading some of R4IA but I was wondering, do you want me to make PRs to remove things like 'This chapter covers' on the preface? or is that a placeholder for something?
sdothum has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mengu has joined #ruby
mengu has joined #ruby
pen-soldier has left #ruby ["Leaving"]
iasoon has quit [Ping timeout: 272 seconds]
rbennace_ has joined #ruby
sdothum has quit [Client Quit]
delianides has quit []
CorpusCallosum has quit [Read error: Connection reset by peer]
ghr has joined #ruby
lidenskap has joined #ruby
sdothum has joined #ruby
<anskeit> can someone tell me how i can access themselves changing keys in json?
<jhass> changing how?
<jhass> can you normalize them perhaps?
AlphaAtom has quit [Ping timeout: 256 seconds]
jottr has quit [Ping timeout: 245 seconds]
<Radar> willharrison: Those will be replaced by Manning's proofers.
<anskeit> the key is different everytime.
<willharrison> Radar ah ok cool
<jhass> anskeit: got some examples?
<centrx> anskeit, I'm not going to let you access my JSON keys without a good reason
<anskeit> yea sure. http://pastebin.com/PaERmgp7 the number in the first row is changing and i have no clue how i can access the other stuff then
<ruboto> anskeit, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/86e57aec7e90d233c805
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<centrx> anskeit, How are they changing?
ghr has quit [Ping timeout: 248 seconds]
lidenskap has quit [Ping timeout: 276 seconds]
mengu has quit [Ping timeout: 245 seconds]
<jhass> anskeit: so it's always just one entry at the top level?
<anskeit> there are 10 different ones and centrx, i dont understand your question. the number in the first row jsut changes everytime(its like a Player ID)
<jhass> do you want all or just the first or?
MatthewsFace has joined #ruby
<anskeit> it would be the best if i can access the stuff from all of them. but if its just one, it would be okay too
Azure has joined #ruby
<centrx> anskeit, You can get all the values in order, but those number keys must have some meaning?
<jhass> okay, if you want to stay vague you'll get a vague answer: iterate over the hash then, look at .each, .each_value, .values
aridere_ has quit [Quit: Leaving]
<anskeit> yea. these keys are the Id of a player in a game. im getting this id with a api call and his name. after that im tryhing to get his ladder ranking in the game and this is what i get back. but the key is changing, because the player isnt always the same.
freerobby has quit [Quit: Leaving.]
<centrx> You're still being kind of vague
<centrx> anskeit, jhass> anskeit: so it's always just one entry at the top level?
Igorshp has joined #ruby
Igorshp has quit [Remote host closed the connection]
MatthewsFace has quit [Ping timeout: 252 seconds]
centrx has quit [Remote host closed the connection]
<jhass> anskeit: if you have the id, just use it?
centrx has joined #ruby
<jhass> >> id = 15; data = {15 => :a, 16 => :b}; data[id]
<ruboto> jhass # => :a (https://eval.in/312550)
<anskeit> wait. so i can use variables in the square brackets? i was trying this already and it didnt work
<jhass> yes you can
havenwood has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
<anskeit> well looks like im not very smart, ha. thank you for your help and sorry that you had to read my horrible english
xenokiller has joined #ruby
<jhass> the english is fine, the detail in the issue description could've been a bit better without us asking half a dozen questions ;) but you're welcome anyway
quimrsto_ has joined #ruby
michael_mbp has quit [Excess Flood]
quimrsto_ has quit [Remote host closed the connection]
quimrsto_ has joined #ruby
quimrstorres has quit [Ping timeout: 252 seconds]
bobbrez has joined #ruby
michael_mbp has joined #ruby
fwaokda has joined #ruby
roolo has quit [Quit: Leaving...]
_ixti_ is now known as ixti
rbennace_ has quit [Ping timeout: 264 seconds]
bobbrez has quit [Client Quit]
quimrsto_ has quit [Ping timeout: 252 seconds]
horsecowdog has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
ramfjord has joined #ruby
rbennacer has joined #ruby
Azure has quit [Ping timeout: 256 seconds]
gsd has joined #ruby
Kricir has joined #ruby
CloCkWeRX has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
grindmodeon has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
Azure has joined #ruby
dodobrain has joined #ruby
lexruee has joined #ruby
astrobunny has joined #ruby
sevvie has quit [Ping timeout: 265 seconds]
sevvie has joined #ruby
justin_pdx has joined #ruby
jeramy_s has joined #ruby
Azure has quit [Ping timeout: 248 seconds]
fwaokda has quit [Ping timeout: 245 seconds]
doodlehaus has joined #ruby
predator217 has joined #ruby
CloCkWeRX has quit [Ping timeout: 256 seconds]
astrobunny has quit [Ping timeout: 255 seconds]
lexruee has quit [Quit: Leaving]
apoplexy has joined #ruby
grindmodeon has quit [Quit: Leaving.]
michaeldeol has joined #ruby
Azure has joined #ruby
predator117 has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 250 seconds]
vim_shimm has quit [Ping timeout: 264 seconds]
thatslifeson has joined #ruby
Azure has quit [Ping timeout: 256 seconds]
rbennacer has joined #ruby
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
rshetty has joined #ruby
doodlehaus has quit [Remote host closed the connection]
krisquigley has joined #ruby
doodlehaus has joined #ruby
kubunto has quit [Quit: A professor is one who talks in someone else's sleep]
rshetty has quit [Ping timeout: 264 seconds]
rbennacer has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
multi_io has quit [Ping timeout: 256 seconds]
rbennacer has joined #ruby
CloCkWeRX has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Evan_ has quit [Quit: Oh shit the geek died!]
ujihisa has quit [Ping timeout: 264 seconds]
krisquigley has quit [Ping timeout: 252 seconds]
mgberlin has joined #ruby
A205B064 has joined #ruby
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
ghr has joined #ruby
Evan_ has joined #ruby
doodlehaus has joined #ruby
scripore has joined #ruby
doodlehaus has quit [Remote host closed the connection]
centrx has quit [Remote host closed the connection]
lidenskap has joined #ruby
momomomomo has quit [Ping timeout: 240 seconds]
Soda has joined #ruby
fabrice31 has joined #ruby
justin_pdx has quit [Quit: justin_pdx]
longfeet has joined #ruby
endash has quit [Quit: endash]
ghr has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
justin_pdx has joined #ruby
lidenskap has quit [Ping timeout: 248 seconds]
mgberlin has quit [Read error: Connection reset by peer]
mgberlin_ has joined #ruby
aghalarp has quit [Read error: Connection reset by peer]
justin_pdx has quit [Client Quit]
aghalarp has joined #ruby
AlphaTech is now known as zz_AlphaTech
fabrice31 has quit [Ping timeout: 252 seconds]
doodlehaus has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
momomomomo has joined #ruby
CpuID has quit [Ping timeout: 256 seconds]
juanpablo____ has joined #ruby
Deele has quit [Ping timeout: 256 seconds]
doodlehaus has quit [Remote host closed the connection]
zubov has quit [Quit: Leaving]
rbennace_ has joined #ruby
centrx has joined #ruby
CloCkWeRX has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby
Igorshp has joined #ruby
juanpablo____ has quit [Ping timeout: 250 seconds]
rbennacer has quit [Ping timeout: 256 seconds]
GeorgeThompson has joined #ruby
Azure has joined #ruby
makepkgnotwar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
iteratorP has joined #ruby
Igorshp has quit [Ping timeout: 255 seconds]
Takle has quit [Remote host closed the connection]
Soda has quit [Read error: Connection timed out]
RegulationD has quit [Ping timeout: 244 seconds]
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
_honning_ has quit [Ping timeout: 250 seconds]
fwaokda has joined #ruby
mgberlin_ has quit [Remote host closed the connection]
makepkgnotwar has joined #ruby