apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
<Aloysius1> But then when I try to use the class in it, it says "Could not find ... among 111 total gems (Gem::LoadError)".
<Aloysius1> (I've stripped down to two lines--from previously working code!--and am getting this error now.)
<dingus_khan> zzak: they fixed the documentation bug!
<drbrain> Aloysius1: the … sounds like the important part of your error
<zzak> dingus_khan: yay :)
<Aloysius1> Well, here's what I have: One line Gemfile: --> gem "bunny", "~> 0.9.0.pre9"
<Aloysius1> One line of code in a test.rb file: gem "bunny", "~> 0.9.0.pre9"
pipework has joined #ruby-lang
cored has quit [Ping timeout: 252 seconds]
<drbrain> Aloysius1: pro-tip, don't use ~> with pre-release dependencies, it probably doesn't do what you mean
<drbrain> Aloysius1: pro-tip: don't use "gem" in your ruby source if you're using Bundler
apeiros_ has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
<Aloysius1> drbrain: Second one first: what?
<drbrain> Aloysius1: if you're using bundler to manage dependencies it should be the single unambiguous place you store that information
<drbrain> aka it is DRY
<drbrain> if you update it in your Gemfile then you must also update it in your source
<drbrain> if someone else wants to upgrade bunny they'll see your Gemfile and change it there, then be very confused when it gives errors
teleological has joined #ruby-lang
<Aloysius1> Let me go back a step: "don't use 'gem' in your ruby source if you're using Bundler"? I must have a misunderstanding there.
<Aloysius1> The only place I'm using "gem" is my Gemfile.
<Aloysius1> Is that what you mean?
imperator has quit [Ping timeout: 248 seconds]
<drbrain> then why did you write: 17:02 Aloysius1: One line of code in a test.rb file: gem "bunny", "~> 0.9.0.pre9"
dingus_khan has quit [Remote host closed the connection]
imperator has joined #ruby-lang
dingus_khan has joined #ruby-lang
<drbrain> combined with “One line Gemfile: --> gem "bunny", "~> 0.9.0.pre9"” it sounds like twice
imperator has quit [Client Quit]
<Aloysius1> Ah..crap...my copy didn't work.
<Aloysius1> That was supposed to be one line of code in a test.rb file: "connection = Bunny.new"
<drbrain> ok
<drbrain> you need to require 'bunny'
<Aloysius1> Sorry.
<drbrain> above Bunny.new
GeissT has joined #ruby-lang
<drbrain> (presumably the bunny gem has a bunny.rb, but there is the rare exception where this is not true)
dingus_khan has quit [Ping timeout: 256 seconds]
marr has quit [Ping timeout: 256 seconds]
spinky has joined #ruby-lang
<Aloysius1> There is a bunny.rb. I'm actually using Rubymine alternating with the command line to figure out the environment differences. But Rubymine IDE sees the "bunny.rb" while running it I get the constant issue. (Either CLI or IDE)
<drbrain> perhaps Rubymine and your command-line ruby are different?
<drbrain> try ruby -e 'p Gem.path' on the command line vs in Rubymine
dingus_khan has joined #ruby-lang
ryez has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
<Aloysius1> Well, from the CLI it's ["~/.rvm/gems/ruby-2.0.0-p0", "~/.rvm/gems/ruby-2.0.0-p0@global"], which is where the bunny.rb gems are.
dingus_khan has joined #ruby-lang
<Aloysius1> (The CLI is my main concern. I know there are going to be discrepancies, but I can work them out if I "get" the CLI.)
spinky has quit [Ping timeout: 264 seconds]
<drbrain> which environment does it fail in?
<Aloysius1> both, and both with the same error.
nathanstitt has quit [Quit: I growing sleepy]
<Aloysius1> Which isn't the gem error but the "test.rb:1:in `<main>': uninitialized constant Bunny (NameError)".
<drbrain> did you require 'bunny'?
io_syl has quit [Ping timeout: 260 seconds]
<Aloysius1> Like it's just not seeing bunny.rb
nathanstitt has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
<Aloysius1> Ah...yeah, that was my original question: I need to do that in the ... module, test or class where it's being used? It doesn't always seem to be necessary.
dingus_khan has quit [Ping timeout: 252 seconds]
<Aloysius1> It definitely fixes my two (now three) line example.
io_syl has joined #ruby-lang
<drbrain> if I have a project with multiple files I typically require my dependencies in the root file
<Aloysius1> So, you have a root that requires all the files and all the dependencies?
<drbrain> yes
<drbrain> most of the time
<drbrain> if the dependency is only used sometimes I may require it inside a method
agarie has quit [Remote host closed the connection]
<Aloysius1> OK, that explains a lot. Mucho appreciato, doc.
<rickhull> if you only want to require a certain chunk, and the requires are structured "properly", you could do require 'foo/bar' instead of require 'foo'
<rickhull> i.e. foo.rb requires ~everything~, but foo/bar.rb just requires what it needs
<drbrain> rickhull: that depends quite a bit on the intention of the author
<rickhull> yeah
<drbrain> sometimes require 'foo' is intended to be the only entry point
hogeo has joined #ruby-lang
<Aloysius1> Right. I've seen that. It seems like an optimization.
<drbrain> most of my projects work that way as otherwise it's difficult to avoid the "circular require" warning
lcdhoffman has joined #ruby-lang
<rickhull> IMHO, it's a smell if you don't have a pure require structure. but agreed fully that it requires authorial intent
<rickhull> and is not "standard"
DEac- has joined #ruby-lang
<Aloysius1> I have another structural question, related to testing.
<Aloysius1> I have a module, and this module publishes to a queue.
<Aloysius1> My thought is that classes who want to publish to the queue will include this module.
<Aloysius1> But I don't have any of those classes yet. Just the publishing module.
jacktrick has quit [Quit: Leaving]
justinmb_ has quit [Remote host closed the connection]
<Aloysius1> Right now, I've done it badly by making all the module elements "self.whateverfunction".
bzalasky has joined #ruby-lang
<Aloysius1> But this seems like a good place for a mock object. Reasonable?
<Aloysius1> Except it would have to be a mock class, I guess, since it needs to include the module?
<drbrain> Aloysius1: when testing modules, I often include them into my TestCase
<Aloysius1> Ahhh. I'm using Cucumber at the moment and have Rspec on the brain but that might make more sense.
<rickhull> Aloysius1: are you talking modules as mixins?
<Aloysius1> (I'm struggling with how to divide testing responsibilities.)
<Aloysius1> rickhull: yes
bzalasky has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
mrsolo has quit [Read error: Connection reset by peer]
sepp2k has quit [Remote host closed the connection]
priodev has quit [Ping timeout: 264 seconds]
mrsolo has joined #ruby-lang
nathanstitt has joined #ruby-lang
tylersmith has joined #ruby-lang
hashkey has quit []
pipework has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
priodev has joined #ruby-lang
plurt has joined #ruby-lang
dingus_khan has joined #ruby-lang
teleological has quit [Remote host closed the connection]
dvorak_ has quit [Ping timeout: 245 seconds]
dvorak has joined #ruby-lang
mrsolo has quit [Quit: Leaving]
roadt_ has joined #ruby-lang
spuk has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
spinky has joined #ruby-lang
dhruvasagar has joined #ruby-lang
plurt has quit [Quit: Textual IRC Client: www.textualapp.com]
LinkedoT has joined #ruby-lang
<dingus_khan> zzak: so I got the docs to generate, after following the instructions on the rvm channel, and I still get the same empty vim-style page for the command ri ruby:re
swygue has joined #ruby-lang
<dingus_khan> I think I'm gonna try telling them in the rvm channel what it is I'm trying to do, lol
Cakey has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
krz has joined #ruby-lang
swygue has quit [Client Quit]
swygue has joined #ruby-lang
spinky has quit [Ping timeout: 248 seconds]
S1kx has joined #ruby-lang
S1kx has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
swygue has quit [Read error: Operation timed out]
swygue has joined #ruby-lang
hapster has quit [Quit: Leaving]
spinky has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 264 seconds]
spinky has quit [Client Quit]
justinmb_ has joined #ruby-lang
swygue has quit [Read error: No route to host]
spinky has joined #ruby-lang
justinmb_ has quit [Remote host closed the connection]
r0bby_ has joined #ruby-lang
swygue has joined #ruby-lang
spinky has quit [Ping timeout: 264 seconds]
pevjan has joined #ruby-lang
robbyoconnor has joined #ruby-lang
r0bby_ has quit [Ping timeout: 256 seconds]
swygue has quit [Read error: Operation timed out]
teleological has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
bzalasky has joined #ruby-lang
Gaelan has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
ryez has left #ruby-lang [#ruby-lang]
lsegal has joined #ruby-lang
swygue has joined #ruby-lang
Domon has joined #ruby-lang
spinky has joined #ruby-lang
jonahR has joined #ruby-lang
swygue has quit [Ping timeout: 245 seconds]
Gaelan has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
dvorak has quit [Ping timeout: 256 seconds]
Gaelan has quit [Client Quit]
Gaelan has joined #ruby-lang
swygue has joined #ruby-lang
spinky has quit [Ping timeout: 248 seconds]
mistym has quit [Remote host closed the connection]
roadt_ has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
dvorak has joined #ruby-lang
pevjan has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
chrishunt has quit [Quit: ZzZzZz...]
lguardiola has quit [Ping timeout: 256 seconds]
nathanstitt has quit [Quit: I growing sleepy]
seydar has joined #ruby-lang
<seydar> drbrain: ping
<seydar> i'm hoping you worked at nokia because my next question presumes so
<seydar> can i write ruby apps for nokia phones (namely the Mer OS)?
<seydar> i've never had a smartphone and now am considering getting one. i am very much not in the loop for this.
dhruvasagar has joined #ruby-lang
Bosox20051 has joined #ruby-lang
pevjan has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
machuga|away is now known as machuga
spuk_ has joined #ruby-lang
spuk has quit [Ping timeout: 276 seconds]
dvorak has quit [Ping timeout: 264 seconds]
machuga is now known as machuga|away
dhruvasagar has quit [Ping timeout: 276 seconds]
chrishunt has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 252 seconds]
nathanstitt has joined #ruby-lang
nathanstitt has joined #ruby-lang
nathanstitt has quit [Client Quit]
bzalasky has joined #ruby-lang
singpolyma has quit [Ping timeout: 246 seconds]
seydar has quit [Quit: leaving]
singpolyma has joined #ruby-lang
dvorak has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
<drbrain> segy: I haven't worked at Nokia, sorry
<drbrain> oops
<drbrain> oh, seydar is gone
<segy> ahh
* segy hides again.
sailias has quit [Ping timeout: 256 seconds]
dankest has quit [Quit: Leaving...]
dankest has joined #ruby-lang
droptone has quit [Read error: Operation timed out]
droptone has joined #ruby-lang
megha has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
jerrytgarcia has quit [Quit: Linkinus - http://linkinus.com]
cofin has quit [Quit: cofin]
wallerdev has joined #ruby-lang
teleological has quit [Remote host closed the connection]
Artheist has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Artheist has quit [Client Quit]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
chrishunt has quit [Quit: ZzZzZz...]
Artheist has joined #ruby-lang
therod has joined #ruby-lang
io_syl has joined #ruby-lang
danrabinowitz has left #ruby-lang ["Linkinus - http://linkinus.com"]
dhruvasagar has joined #ruby-lang
priodev has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
Nisstyre-laptop has quit [Quit: Leaving]
priodev has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
swygue has quit [Read error: Operation timed out]
baba has joined #ruby-lang
megha has quit [Ping timeout: 264 seconds]
dankest has quit [Quit: Leaving...]
breakingthings has quit [Quit: breakingthings]
rwilcox has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kgrz has joined #ruby-lang
roadt_ has joined #ruby-lang
Fretta has quit [Quit: Fretta]
LinkedoT has quit [Quit: This computer has gone to sleep]
bzalasky has quit [Remote host closed the connection]
therod has quit [Quit: Linkinus - http://linkinus.com]
chrishunt has joined #ruby-lang
baba has quit [Quit: WeeChat 0.4.0]
megha has joined #ruby-lang
bzalasky has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 256 seconds]
dankest has joined #ruby-lang
[[thufir]] has joined #ruby-lang
pevjan has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 252 seconds]
arubin has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
pevjan has joined #ruby-lang
kgrz has joined #ruby-lang
robbyoconnor has joined #ruby-lang
<rickhull> question regarding minitest "lacking" wont_raise:
<rickhull> i've got a UDP server, testing the startup
<rickhull> i.e. that if i give it a port, and if that port is not already bound, the server should always start
benlovell has joined #ruby-lang
<rickhull> so i fire up the server in a thread, then u = UDPSocket.new; u.connect( … )
<rickhull> proc { … }.wont_raise IOError # or whatever
dhruvasagar has quit [Ping timeout: 248 seconds]
<rickhull> since the error connection for UDPSocket#connect is a an exception
<rickhull> er, error *indication*
<rickhull> i buy the general rationale for wont_raise being worthless… but wouldn't it be worth something here?
robbyoconnor has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
<rickhull> lets say i've got a bug in my server startup, and u.connect fails with an exception
<rickhull> wouldn't i rather have a test failure than a test error?
benlovell has quit [Ping timeout: 260 seconds]
<rickhull> zenspider ^ (or drbrain)
Gaelan has joined #ruby-lang
<rickhull> rescue IOError; true.must_equal false # heh
<rickhull> u.closed?.must_equal false # hmm
agile has quit [Ping timeout: 256 seconds]
<rickhull> hmm, apparently i don't understand how UDP sockets work. since I can connect "successfully" without the server running
Gaelan has quit [Ping timeout: 252 seconds]
saarinen has joined #ruby-lang
<rickhull> writes apparently succeed, but reads don't TIL
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby-lang
Gaelan has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Bosox20051 has quit [Remote host closed the connection]
bentis has quit [Read error: Operation timed out]
bentis has joined #ruby-lang
Gaelan has quit [Ping timeout: 264 seconds]
bzalasky has quit [Remote host closed the connection]
cordax has joined #ruby-lang
nyuszika7h has quit [Remote host closed the connection]
nyuszika7h has joined #ruby-lang
akagr has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<eam> rickhull: are you using connect() with udp?
<rickhull> yeah, sheepishly
<rickhull> i come from a tcp world :p
narsa has joined #ruby-lang
<rickhull> wide open to alternative suggestions
<eam> it's fine, it just means something different
kgrz has quit [Ping timeout: 276 seconds]
<rickhull> i resolved my particular issue by writing garbage data, then reading. the server is supposed to respond to garbage data
<rickhull> so now i test on the response contents or lack thereof
<eam> when you use connect() with SOCK_DGRAM it sets the default address for a sent dgram, and it filters inbound dgrams to that socket
akagr has quit [Ping timeout: 250 seconds]
<eam> filters dgrams not sourced from the peer you connect() to
<eam> but it doesn't make udp connection oriented :)
<rickhull> right
<eam> so you still have no reliability and no way to know if a remote server is running
<rickhull> yeah
kgrz has joined #ruby-lang
narsa has left #ruby-lang [#ruby-lang]
narsa has joined #ruby-lang
<rickhull> i get no exceptions on writing to non-listening UDP port
<rickhull> and Errno::ECONNREFUSED on reading a non-listening port
<rickhull> i.e. server isn't running
dingus_khan has quit [Remote host closed the connection]
|Vargas| has joined #ruby-lang
|Vargas| has quit [Changing host]
|Vargas| has joined #ruby-lang
narsa has left #ruby-lang [#ruby-lang]
D9 has joined #ruby-lang
spike|spiegel has quit [Quit: WeeChat 0.4.0]
narsa has joined #ruby-lang
narsa has left #ruby-lang [#ruby-lang]
narsa has joined #ruby-lang
<rickhull> arguably i shouldn't even be testing at this level as a "unit test" i guess
<narsa> hello, i have a question. i have a method (call it "run_the_block") that runs data = yield(data) if block_given? . i have another method that calls this (call it "pass_the_block"). i would like to pass a block (not a Proc) to pass_the_block and have it run by run_the_block. is this possible?
<rickhull> i had to add a sleep 0.1 to make sure the server is running before the client does tests
<rickhull> but i'm not convinced mocking or something is a reasonable substitute
Gaelan has joined #ruby-lang
pabs has quit [Ping timeout: 246 seconds]
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
spike|spiegel has joined #ruby-lang
<rickhull> narsa: best bet is paste a toy example
pabs has joined #ruby-lang
<rickhull> e.g. play around in irb or pry, then http://pastie.org/
Gaelan has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
workmad3 has joined #ruby-lang
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
<rickhull> i.e. more people will respond to actual code, correct or not, than english descriptions of code
<rickhull> write it out how you want it to work, and someone can help you make it work or tell you why it can't
dingus_khan has joined #ruby-lang
<narsa> ok, giving it a shot
DomKM has quit [Quit: Leaving.]
pevjan has quit [Remote host closed the connection]
ia___ has joined #ruby-lang
bzalasky has joined #ruby-lang
Artheist has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
pevjan has joined #ruby-lang
dingus_khan has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
tylersmith has quit [Remote host closed the connection]
agile has joined #ruby-lang
solars has joined #ruby-lang
[[thufir]] has quit [Quit: Leaving.]
dingus_khan has quit [Remote host closed the connection]
dankest has quit [Quit: Leaving...]
workmad3 has quit [Ping timeout: 264 seconds]
dankest has joined #ruby-lang
dingus_khan has joined #ruby-lang
<erikh> rickhull: !
hakunin has quit [Remote host closed the connection]
rippa has joined #ruby-lang
dankest has quit [Quit: Leaving...]
dr_bob has joined #ruby-lang
riffraff has joined #ruby-lang
tylersmith has joined #ruby-lang
Gaelan has joined #ruby-lang
rolfb has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
Gaelan has quit [Ping timeout: 240 seconds]
tylersmith has quit [Ping timeout: 245 seconds]
pevjan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
pevjan has joined #ruby-lang
dankest has joined #ruby-lang
narsa has quit [Quit: narsa]
Gaelan has quit [Ping timeout: 256 seconds]
d_roge has quit [Read error: Operation timed out]
d_roge has joined #ruby-lang
pevjan has quit [Remote host closed the connection]
Nisstyre-laptop has quit [Quit: Leaving]
cordax has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 241 seconds]
teleological has joined #ruby-lang
dc5ala has joined #ruby-lang
benlovell has joined #ruby-lang
dhruvasagar has joined #ruby-lang
henrikhodne has joined #ruby-lang
ta has joined #ruby-lang
Serge has joined #ruby-lang
chris2 has quit [Remote host closed the connection]
runeb has joined #ruby-lang
runeb has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
<yorickpeterse> morning
<erikh> yorickpeterse: yo
<erikh> getting my mutt+offlineimap on
marr has joined #ruby-lang
<yorickpeterse> meh, mutt
tylersmith has joined #ruby-lang
<yorickpeterse> Tried it a year ago but I get too many HTML Emails/Emails with images
<erikh> yeah
<erikh> I have os x for that.
<yorickpeterse> heh
<yorickpeterse> most expensive Email client ever
<lianj> ^^
<yorickpeterse> shame it's a bad OS
<yorickpeterse> it's basically the Emacs of OS'
* yorickpeterse runs
<erikh> oh, no, i mean `man open`
<yorickpeterse> and Linux is basically the Vim: every weird combination you can think of does something and beeps at you
<erikh> but I also wrote one that works on linux
<erikh> lemem find it
<erikh> worked pretty well when I was living in linux desktop land
<erikh> uses mailcap by default.
<yorickpeterse> oh, linux has xdg-open
<yorickpeterse> which I just alias to `open`
tylersmith has quit [Ping timeout: 256 seconds]
gnufied has joined #ruby-lang
<erikh> yeah, this predates that
saarinen has quit [Quit: saarinen]
<yorickpeterse> ah
<erikh> you could tell I was younger
<jaska> on linux open is often something totally different, namely opening a process on another virtual console
<erikh> yep
<erikh> you'll notice that it was named openit in later releases
<erikh> heh
<jaska> openvt, yeah
<erikh> err, I meant the perl lib above -- but yeah, it's openvt
<jaska> ah yes
<lianj> how did we get from trashing osx to serious talk
<erikh> lianj: magic beans
<erikh> hmm
<erikh> anyone know how to get tmux in 256color mode on a compatible terminal?
<erikh> back in a minute
<lianj> screen-256color ?
awea has joined #ruby-lang
vmatiyko has joined #ruby-lang
JohnBat26 has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
fsvehla has joined #ruby-lang
yorickpeterse is now known as devops-yorick
megha has quit [Quit: WeeChat 0.4.0]
teleological has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
fsvehla has quit [Read error: Connection reset by peer]
jsullivandigs has quit [Ping timeout: 256 seconds]
skade has joined #ruby-lang
chris2 has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
fsvehla has joined #ruby-lang
stamina has joined #ruby-lang
kgrz has quit [Ping timeout: 260 seconds]
dingus_khan has quit [Remote host closed the connection]
Silex has quit [Ping timeout: 256 seconds]
sush24 has joined #ruby-lang
kgrz has joined #ruby-lang
judofyr has joined #ruby-lang
devops-yorick is now known as yorickpeterse
vlad_starkov has joined #ruby-lang
Criztian has joined #ruby-lang
tylersmith has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
tylersmith has quit [Ping timeout: 248 seconds]
gnufied has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
henrikhodne has quit [Quit: Computer has gone to sleep.]
Gaelan has joined #ruby-lang
elia has joined #ruby-lang
rsync has quit [Quit: rsync]
Cakey has quit [Ping timeout: 276 seconds]
Silex has joined #ruby-lang
Gaelan has quit [Ping timeout: 248 seconds]
jds has quit [Remote host closed the connection]
<judofyr> hey folks
<injekt> moin
<judofyr> sup?
<injekt> hacking all the codes
<injekt> you?
<yorickpeterse> hacking all the servers
<yorickpeterse> shame they're our own servers
<judofyr> hacking all the people
<injekt> lots of hacking going on
<injekt> also I just got a new job
<yorickpeterse> congrats
<yorickpeterse> Does it involve Go?
dingus_khan has joined #ruby-lang
<injekt> It could, but not primarily, no
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
thone_ has joined #ruby-lang
Silex has quit [Ping timeout: 248 seconds]
dingus_khan has quit [Ping timeout: 264 seconds]
thone has quit [Ping timeout: 248 seconds]
<judofyr> injekt: congrats!
<injekt> judofyr: thanks!
dingus_khan has joined #ruby-lang
JohnBat26 has joined #ruby-lang
<yorickpeterse> look at the rails 2.3 example
<yorickpeterse> HAVE YOU PEOPLE NEVER HEARD OF BLOODY #SEND() ?
<andrewvos> no wat is that yorickpeterse
Silex has joined #ruby-lang
judofyr_ has joined #ruby-lang
judofyr has quit [Read error: Connection reset by peer]
<yorickpeterse> har har
judofyr_ has left #ruby-lang [#ruby-lang]
judofyr has joined #ruby-lang
<yorickpeterse> I just don't get this obsession with eval()
<judofyr> yorickpeterse: I like the if in the Rails 3 example
<judofyr> (which always calls new_user_registration_path)
<yorickpeterse> heh
<yorickpeterse> the if statement in the 2.3 example is also stupid
<yorickpeterse> if statements, or all of them for that metter, never should've returned values if it were up to me
<judofyr> yorickpeterse: it's useful when it's the last expression in a method/block body
<yorickpeterse> then use an actual return value
<yorickpeterse> something like this is just borderline stupid:
<yorickpeterse> def foo; if something; end; end
<yorickpeterse> or any other code that actually relies on the statement's return value as a method return value
* yorickpeterse is not a fan of the implicit return statements either
blacktulip has joined #ruby-lang
vmatiyko has quit [Ping timeout: 250 seconds]
faces has joined #ruby-lang
face has quit [Ping timeout: 240 seconds]
blacktulip has quit [Remote host closed the connection]
blacktulip has joined #ruby-lang
hramrach_ has quit [Remote host closed the connection]
adambeynon has joined #ruby-lang
uncleBob has joined #ruby-lang
tylersmith has joined #ruby-lang
tylersmith has quit [Ping timeout: 248 seconds]
mbj has quit [Ping timeout: 256 seconds]
<injekt> Mechanize 2.7.0 hot off the press!
adambeynon has quit [Quit: Computer has gone to sleep.]
uncleBob is now known as bugg
adambeynon has joined #ruby-lang
<andrewvos> Yo. I have multiple web browsers open on my site and I want to send a message to each of them. How do?
rob_ has joined #ruby-lang
<yorickpeterse> websockets
<yorickpeterse> or pusher
<yorickpeterse> or something else like that
<rob_> hi! im trying to load some yaml but when i try and use the [] method, i get this error: Day changed to 18 May 2013
<injekt> wat
<andrewvos> yorickpeterse: how do I websocket?
<rob_> i think its because the yaml i've laoded has a strange header: Day changed to 18 May 2013
<injekt> rob_: You might need to provide some examples
<rob_> sorry, that should be: '--- !ruby/object:Puppet:Transaction::Report'
<andrewvos> haha yaml
Gaelan has joined #ruby-lang
<injekt> rob_: that's yaml attempting to load an instance of Puppet:Transaction::Report
madb055 has joined #ruby-lang
<rob_> injekt: is there any way i can tell YAML.load_file to ignore the header?
<andrewvos> trying to execute code again
hashkey has joined #ruby-lang
<injekt> rob_: it's not a 'header' its part of the yaml to load, you dont want to ignore it, it's not a hash you're loading
<yorickpeterse> andrewvos: google
<yorickpeterse> like, there are lots of ways of doing it
vlad_starkov has quit [Remote host closed the connection]
<rob_> injekt: the problem im having is that i cant use the [] method once ive loaded it
<injekt> rob_: why are you trying to use the [] method?
<injekt> rob_: again, examples would be helpful
vlad_starkov has joined #ruby-lang
<andrewvos> yorickpeterse: okay :(
<rob_> i want to YAML.load_file that, then access 'kind'
<injekt> rob_: are you in a Puppet environment?
<rob_> injekt: yeah, im trying to write a fact
mawueli has joined #ruby-lang
<injekt> rob_: have you tried obj = YAML.load_file(..); obj.kind
vlad_sta_ has joined #ruby-lang
mawueli is now known as Guest78170
<rob_> injekt: oh!
<injekt> rob_: those keys you see are instance variables on a Report class
<injekt> not a traditional hash :)
Gaelan has quit [Ping timeout: 240 seconds]
dingus_khan has quit [Remote host closed the connection]
<rob_> injekt: thanks v.much for the help!
LinkedoT has joined #ruby-lang
<injekt> rob_: :)
vlad_starkov has quit [Ping timeout: 264 seconds]
GeissT_ has joined #ruby-lang
mbj has joined #ruby-lang
<judofyr> andrewvos: Faye
<injekt> pub sub hub chubb wub wub wub wub wub
rob_ has left #ruby-lang [#ruby-lang]
<yorickpeterse> injekt: drop the socket
GeissT has quit [Ping timeout: 276 seconds]
apeiros_ has quit [Remote host closed the connection]
Dan has joined #ruby-lang
dankest has quit [Read error: Connection reset by peer]
LinkedoT has quit [Quit: This computer has gone to sleep]
sush24 has quit [Ping timeout: 264 seconds]
<andrewvos> judofyr: Why you telling me lady names?
<judofyr> andrewvos: http://faye.jcoglan.com/
<andrewvos> Damnit I ruined a potential dubstep joke
sush24 has joined #ruby-lang
<erikh> hello
<judofyr> hello erikh
<erikh> lianj: yeah, that was it
<erikh> just had to force it in my zprofile
<andrewvos> judofyr: Looks ok. Think I should learn how websockets work though
<erikh> judofyr: hihi
<erikh> offlineimap makes my laptop angry
tbuehlmann has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
GeissT_ has quit [Quit: MillBroChat AdIRC User]
<andrewvos> Trying to backup your gmail stuff?
<erikh> eventually, but not until I find a mail host I like
<erikh> but just for mutt atm
Domon has quit [Remote host closed the connection]
<sush24> Hi .. I'm trying to merge folder..
<sush24> FileUtils.mv("asd","new")
<sush24> Errno::EEXIST: File exists - new
<erikh> there's no merge directory
<sush24> workaround?
<erikh> mv renames a directory
<erikh> you have to write it by hand
<erikh> you might like a tool like rsync for this
<sush24> hmm
<sush24> thanks.. I'll see if I can cook it up
vlad_sta_ has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby-lang
<erikh> doing it yourself is the path to madness
<erikh> just sayin'
<andrewvos> yeah
* yorickpeterse created a method called "big_fat_warning"
<andrewvos> and you probably don't want to merge a folder
dc5ala has quit [Quit: Ex-Chat]
<yorickpeterse> that should be hard to miss
<andrewvos> yorickpeterse: websockets are cool
vlad_starkov has quit [Ping timeout: 256 seconds]
GeissT has joined #ruby-lang
<andrewvos> So easy to do
<sush24> :D .
<sush24> using glob, copying, rm later?
<erikh> use rsync.
<erikh> someone has spent a lot of time getting this right for a reason.
<yorickpeterse> do note that not every browser supports them (if I'm not mistaken)
hramrach_ has joined #ruby-lang
<andrewvos> yorickpeterse: Which do?
<sush24> i can't ..
<andrewvos> yorickpeterse: I only care about Chrome, FireFox and Safari
<whitequark> depends on versions
rippa has quit [Ping timeout: 240 seconds]
<whitequark> > NOPE
<whitequark> what the fuck, firefox already goes up to 23
<yorickpeterse> what quark said
tylersmith has joined #ruby-lang
tylersmith has quit [Ping timeout: 260 seconds]
D9 has quit [Ping timeout: 256 seconds]
machuga|away is now known as machuga
bugg has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
dr_bob has quit [Quit: Leaving.]
tdy has quit [Read error: Connection reset by peer]
<darix> whitequark: they are trying to catch up with chrome's version number. which is at 28 by now
tdy has joined #ruby-lang
henrikhodne has joined #ruby-lang
dingus_khan has joined #ruby-lang
vlad_starkov has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
ia___ has quit [Ping timeout: 248 seconds]
dingus_khan has quit [Ping timeout: 246 seconds]
vlad_sta_ has quit [Ping timeout: 256 seconds]
ia___ has joined #ruby-lang
amerine has quit [Excess Flood]
jxie has quit [Quit: leaving]
glebm has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 246 seconds]
carloslopes has joined #ruby-lang
<yorickpeterse> false, 26
<whitequark> derp
LinkedoT has joined #ruby-lang
<erikh> catching up wtih version numbers is the stupidest marketing tactic ever
<judofyr> I think it's more about rapidly shipping
apeiros has joined #ruby-lang
<whitequark> judofyr: "shipping" as in http://www.urbandictionary.com/define.php?term=shipping?
<judofyr> TIL
pipework has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ruurd has joined #ruby-lang
<yorickpeterse> it's rolling release in denial
wallerdev has joined #ruby-lang
roadt_ has quit [Ping timeout: 256 seconds]
machuga is now known as machuga|away
barttenbrinke has joined #ruby-lang
<darix> yorickpeterse: my chromium says 28. but well.
<darix> later
<yorickpeterse> wat
machuga|away is now known as machuga
<yorickpeterse> I'm not on canary/super-unstable-fuck-your-os branches
pipework has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 276 seconds]
postmodern has quit [Quit: Leaving]
barttenbrinke has quit [Ping timeout: 248 seconds]
pskosinski has joined #ruby-lang
ruurd has quit [Quit: Linkinus - http://linkinus.com]
justinmb_ has joined #ruby-lang
Guest78170 has quit []
mawueli has joined #ruby-lang
mawueli is now known as Guest58007
bugg has joined #ruby-lang
krz has quit [Quit: krz]
justinmb_ has quit [Remote host closed the connection]
Guest58007 has quit [Ping timeout: 256 seconds]
cored has quit [Ping timeout: 256 seconds]
dustint has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
piatek has joined #ruby-lang
barttenbrinke has joined #ruby-lang
dustint_ has joined #ruby-lang
mucker has joined #ruby-lang
benlovell has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
tomzx_mac has joined #ruby-lang
aef has joined #ruby-lang
dustint has quit [Quit: Leaving]
dustint_ has quit [Quit: Leaving]
dustint_ has joined #ruby-lang
ryez has joined #ruby-lang
kstuart has quit [Quit: kstuart]
mistym has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
toretore has joined #ruby-lang
kstuart has joined #ruby-lang
roadt_ has joined #ruby-lang
piatek has quit []
henrikhodne has quit [Quit: Computer has gone to sleep.]
ruby-lang118 has joined #ruby-lang
henrikhodne has joined #ruby-lang
ruby-lang118 has quit [Client Quit]
fsvehla has quit [Quit: fsvehla]
breakingthings has joined #ruby-lang
roadt_ has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby-lang
tylersmith has joined #ruby-lang
roadt_ has joined #ruby-lang
bugg has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 246 seconds]
hashkey has quit [Ping timeout: 256 seconds]
hashkey has joined #ruby-lang
hashkey is now known as Guest6153
imperator has joined #ruby-lang
JohnBat26 has joined #ruby-lang
bugg has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
<chris2> i have some code that deals with long base64 encoded strings, and String#unpack("m*") is a bottleneck since i actually just want to write the result into a file
lguardiola has joined #ruby-lang
<yorickpeterse> ok
<pabs> you could run the unpack and write in a background thread or a separate process
<chris2> i wonder if i can split the data and unpack in chunks
<pabs> you can, you just have to align it properly, at 8 byte intervals i think
<chris2> problem is newlines
<pabs> ignore all whitespace, it's not part of the encoding
wrwdev has quit [Remote host closed the connection]
wrwdev has joined #ruby-lang
vlad_starkov has joined #ruby-lang
wmoxam has joined #ruby-lang
pipework has joined #ruby-lang
<chris2> yes
<chris2> but then i cannot align
tomzx_mac has quit [Ping timeout: 276 seconds]
* chris2 decides its fast enough for now :P
cofin has joined #ruby-lang
justinmb_ has joined #ruby-lang
roadt_ has quit [Ping timeout: 276 seconds]
roadt_ has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
fsvehla has joined #ruby-lang
<whitequark> chris2: what about piping it to base64 -d ?
<apeiros> chris2: in base64 with newlines, the newlines are in a given interval (all 72 chars? forgot)
<apeiros> so you could still align
<apeiros> only the last chunk should be off
<chris2> whitequark: yeah, considering such a thing
<chris2> i'd prefer a Digest::XXX.style interface
<chris2> apeiros: in theory yes
roadt_ has quit [Ping timeout: 256 seconds]
sailias has joined #ruby-lang
<whitequark> chris2: require 'base64'
<whitequark> Base64.decode64, I think it was so
<chris2> not incremental
<apeiros> chris2: meaning you have broken base64 in praxis?
<chris2> yes
<chris2> i deal with mail
<chris2> everything is broken
roadt_ has joined #ruby-lang
rippa has joined #ruby-lang
<apeiros> hurray!
<apeiros> I wonder how long we'll be stuck with that broken mess which is SMTP
<chris2> hopefully forever
anildigital_work has joined #ruby-lang
roadt_ has quit [Max SendQ exceeded]
<apeiros> you're a born masochist?
<jaska> anything they replace it with will probably be far worse
<whitequark> apeiros: you like webapps more?
<apeiros> no
<apeiros> but I like sane protocols
<yorickpeterse> I'd say SMTP isn't that bad
<whitequark> we could use a sane, backwards and forwards compatible subset of SMTP
<whitequark> this is better than anything else imo
<yorickpeterse> at least it doesn't shit some form of pseudo-json-extension crap all over the place
<jaska> go look at ldap schemas or snmp mibs if you want insanity
<yorickpeterse> or XML
<whitequark> jaska: I like LDAP
<chris2> apeiros: newer protocols suck more
<whitequark> in fact I have LDAP contact list on my server & I enjoy it
<jaska> whitequark: but the.. schemas.. hurl.
<whitequark> integration with roundcube webmail and android
<whitequark> jaska: I even wrote some custom ones, for jabber and smth else
<whitequark> it requires some consideration but in the end, ASN.1 is for better
mbj has quit [Read error: Operation timed out]
<jaska> 7 types of strings
<whitequark> so?
<whitequark> they're likely all used in practice
<whitequark> even EBCDIC, which I assume is there
<whitequark> or would you rather use XML, where everything is the single type of string? ;)
<jaska> actually hmm, i dont see ebcdic
<chris2> if smtp was 8bit safe everywhere, that i would approve
<whitequark> jaska: that's strange
roadt_ has joined #ruby-lang
<whitequark> chris2: not sure if it makes sense for a text-based protocol to be 8-bit-safe
<whitequark> as in, binary-safe
<whitequark> unicode-safe, maybe
<chris2> yes, because people send fucking non-text things by mail since 1988
<apeiros> all those poor wasted bytes due to base64… silently their sibling bytes weep.
<chris2> yes
<chris2> its just inefficient
rwilcox has joined #ruby-lang
<chris2> else you can just shift stuff around
LinkedoT has quit [Quit: This computer has gone to sleep]
mbj has joined #ruby-lang
<whitequark> chris2: that doesn't matter
LinkedoT has joined #ruby-lang
<whitequark> if you want efficiency that badly, use TLS, which, IIRC, provides compression
roadt_ has quit [Ping timeout: 256 seconds]
<jaska> (which people are disabling, re: the somewhat recent tls exploits)
vlad_starkov has quit [Remote host closed the connection]
<whitequark> that's dumb
roadt_ has joined #ruby-lang
<yorickpeterse> whitequark: https://github.com/whitequark/ast/blob/master/lib/ast/processor.rb#L231-L245 re issues, I'm pretty darn sure you're modifying the AST here
<whitequark> if we're talking about CRIME and similar stuff
<jaska> yea
<judofyr> whitequark: modifying?
<yorickpeterse> whitequark: then you seriously need to fix your own code
<whitequark> jaska: from the description of the attack, it doesn't even apply to SMTP
<whitequark> yorickpeterse: wat?
<yorickpeterse> Click link I pasted
<yorickpeterse> read docs
<yorickpeterse> then read code
<whitequark> I did
<whitequark> the code is correct
<yorickpeterse> it talks *pecifically* about modifying the AST
<yorickpeterse> * specifically
<whitequark> where?
<jaska> whitequark: i wouldnt be surprised if it still resulted in a knee-jerk reaction of disabling it everywhere
<whitequark> jaska: dumb people are dumb. so?
<yorickpeterse> whitequark: or does this return a new version of the entire AST?
<whitequark> yorickpeterse: indeed
<jaska> no argument.
<yorickpeterse> oh
<yorickpeterse> *facedesk*
<whitequark> jaska: plus, the TLS attack reveals plaintext
<whitequark> jaska: by just using plaintext you're going to achieve what
* whitequark shrugs
rockpapergoat has joined #ruby-lang
<whitequark> yorickpeterse: for any single node to be modified, it requires creation of N nodes where N is the depth of the node being modified
<whitequark> this is considered acceptable
<whitequark> (you can actually do insane kinds of magic to achieve even more sharing, as it was described by Eric Lippert; Visual Studio uses a similar structure)
<whitequark> (but that's kind of extrnaeous for now)
<yorickpeterse> hm, just noticed "parser" also has an AST::Processor
<yorickpeterse> which is slightly confusing
<whitequark> yorickpeterse: it's a Processor for Parser::AST
dhruvasagar has quit [Ping timeout: 252 seconds]
<yorickpeterse> no shit, but when you talk about "AST::Processor" it gets confusing
teleological has joined #ruby-lang
akash has joined #ruby-lang
<whitequark> yorickpeterse: yeah, I guess
akash has quit [Quit: leaving]
<yorickpeterse> hm ruby meetup tonight, to go or to not go
<oddmunds> i wish there was one in oslo tonight
<oddmunds> i'd go
<yorickpeterse> well considering I slept shit last night I'm not sure
<yorickpeterse> that and my cat kept sleeping in front of my face
<yorickpeterse> "OH YOU'RE TURNING YOUR HEAD? LET ME PARK MYSELF IN FRONT OF IT...AGAIN!"
<whitequark> yorickpeterse: why is that a problem
<whitequark> you don't like fur in your orifices?
<yorickpeterse> Have you ever tried sleeping with cat pelt in your nose?
<yorickpeterse> or cat paws in your face
<whitequark> I think so
<whitequark> I don't care, I can sleep in any state
jbsan_ has quit [Quit: jbsan_]
<whitequark> including with 90db noise going on right over me
<yorickpeterse> well I'm not deaf
<whitequark> I'm neither
<whitequark> I just don't give a fuck
mistym has quit [Remote host closed the connection]
<yorickpeterse> well I suppose that's the Russian heritage
vlad_starkov has joined #ruby-lang
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
<yorickpeterse> BAH
<yorickpeterse> Found a gem that does what I need
<yorickpeterse> last release: 2012
<yorickpeterse> docs in GH are completely different
<yorickpeterse> so is the code
headius has joined #ruby-lang
tylersmith has joined #ruby-lang
ta has quit [Remote host closed the connection]
<yorickpeterse> well, the gem "countries" seems to be decent
<yorickpeterse> lets try that
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tylersmi_ has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
ryez has quit [Ping timeout: 256 seconds]
<whitequark> thou shalt not release indecenth gems
bugg has quit [Remote host closed the connection]
<yorickpeterse> bah, this old system we used for managing this data apparently stores the countries by their full names
<yorickpeterse> instead of ISO codes
<yorickpeterse> what could possibly go wrong
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
mucker has quit [Ping timeout: 276 seconds]
mucker has joined #ruby-lang
justinseiter has joined #ruby-lang
justinseiter has quit [Quit: Leaving]
rolfb has quit [Quit: Leaving...]
sush24 has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
roadt_ has quit [Ping timeout: 256 seconds]
<zzak> i need moar cats
<whitequark> $ cat `which cat`
wesside has joined #ruby-lang
Squarepy has joined #ruby-lang
teleological has quit [Remote host closed the connection]
kvs has quit [Quit: ZNC - http://znc.in]
forrest has joined #ruby-lang
kvs has joined #ruby-lang
roadt_ has joined #ruby-lang
madb055 has quit [Ping timeout: 260 seconds]
nathanstitt has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
<injekt> zzak: My instagram feed is full enough
nathanstitt has quit [Read error: Connection reset by peer]
davidfrey has joined #ruby-lang
LinkedoT has quit [Quit: This computer has gone to sleep]
<yorickpeterse> here's a picture of a sleeping cat: http://i.imgur.com/Z87SL.png
bugg has joined #ruby-lang
noop has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby-lang
adambeynon has joined #ruby-lang
nathanstitt has joined #ruby-lang
teleological has joined #ruby-lang
jsullivandigs has joined #ruby-lang
apeiros has joined #ruby-lang
saarinen has joined #ruby-lang
|Vargas| has quit [Quit: ...]
<andrewvos> yorickpeterse: cuuteee
<yorickpeterse> I got that one from Reddit
<yorickpeterse> ofc
Technodrome has joined #ruby-lang
<Technodrome> sinatra still the most common light framework
<judofyr> yes
teleological has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Remote host closed the connection]
<Technodrome> i really do prefer sinatra over rails
glebm has quit [Quit: Computer has gone to sleep.]
[[thufir]] has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
<andrewvos> yes
barttenbrinke has quit [Remote host closed the connection]
fsvehla has quit [Quit: fsvehla]
gnufied has quit [Quit: Leaving.]
saarinen has quit [Quit: saarinen]
GeissT has quit [Quit: MillBroChat AdIRC User]
<Technodrome> andrewvos: what do you work on?
DomKM has joined #ruby-lang
<yorickpeterse> According to CodeClime one of our apps has 45 denial of service issues
<yorickpeterse> looks legit
<yorickpeterse> "There are 85 vulnerabilities remaining: "
mytrile has quit [Remote host closed the connection]
mawueli has joined #ruby-lang
mawueli is now known as Guest73853
tylersmi_ has quit [Remote host closed the connection]
<andrewvos> FFFFUUUUUU so I just find out after writing a websockets application that heroku doesn't support websockets
<andrewvos> This is bullshit
<yorickpeterse> tehee
jamilbk has joined #ruby-lang
gnufied has joined #ruby-lang
Squarepy has quit [Remote host closed the connection]
<Technodrome> its taking *forever* to install rdoc documentation for sinatra
<Technodrome> i think its bugged
<apeiros> it's
<Technodrome> hanging or whatever
<andrewvos> --no-rdoc
<Technodrome> still though, it shouldn't take this long
<Technodrome> apeiros: to a non native speaker, its a huge difference huh? :)
<apeiros> it's
<Technodrome> ^^
<apeiros> grammar - the difference between knowing your shit and knowing you're shit.
bugg is now known as _KGBot_
<Technodrome> I know english grammar quite well.
<Technodrome> noticing you have studied the grammar quite hard, you might pick up on things, that many native speakers could give a shit about :) ……but when it comes to speaking it, you sound nothing like native
<yorickpeterse> apeiros: this is #ruby-lang, not #grammar-nazi-lang
<Technodrome> this is becoming quite common with dutch and german speakers , french to
<canton7> Technodrome, 'could give a shit about' - that one really bugs me. I know it's an Americanism, but still :P
<apeiros> yorickpeterse: you missed the opportunity to say `its #ruby-lang`
<yorickpeterse> color vs colour, DISCUSS!
glebm has joined #ruby-lang
<andrewvos> shutup
<breakingthings> i prefer kolore
<canton7> depends whether or not I'm writing code...
<breakingthings> breakingthingslish.
<Technodrome> I was at a conference and some french dude kept correcting peoples english
<Technodrome> like I would never even have the nerve to do something like that to a french person, even if I think I know french, I would never speak as good as a native, never, and vice versa
<zzak> injekt: good!
<yorickpeterse> Technodrome: French people are....wait are there any French in this channel?
<zzak> injekt: you free later tonight?
<Technodrome> the problem is many foreign speakers, think they can spend english just as good as native
<Technodrome> yorickpeterse: there is a few
<andrewvos> they are of eating baguettes
judofyr has quit [Remote host closed the connection]
<yorickpeterse> well in that case lets say I have a biased opinion of French people
<yorickpeterse> mostly those aged between 10-20 playing videogames
<apeiros> Technodrome: dude, it was meant in a friendly way. I'm sorry if you feel attacked.
<apeiros> sheesh
<Technodrome> its really a european thing in general, dutch people , think they're born speaking english
<yorickpeterse> hey now
<yorickpeterse> careful
<yorickpeterse> hup holland hup
<andrewvos> hahah
<Technodrome> then when I speak to them in real life, they get so disappointed :)
<yorickpeterse> Dutch people in general speak terrible English
<apeiros> who doesn't speak terrible english…
<Technodrome> well years of british people complimenting them, you speak better than we do …..got to their heads
<andrewvos> amerrricans
<yorickpeterse> Technodrome: that's probably just becase we don't stick the word "bruv" at the end of every sentence
<andrewvos> you wot mate
<yorickpeterse> see, andrewvos is the prime example of british "slag"
<Technodrome> I don't mind bad english at all, but when someone tells me they got better english than me, and they sound foreign as hell, sometimes one has to refresh their minds
<apeiros> lol
<apeiros> this is getting ridiculous
<Technodrome> i'm not even talking about you apeiros
<apeiros> still, you seem quite butthurt. *shrugs*, *walks off*
<rue> I do.
<Technodrome> apeiros: but it is a sad sad realization for many
<rue> I CHALLENGE YOU TO AN ENGLISH-OFF
<Technodrome> apeiros: yes , I was a little butt hurt, just a little
<yorickpeterse> rue: oi mate, shut up
<yorickpeterse> i'll shank ya
* yorickpeterse is bad at this
<andrewvos> knife*
<yorickpeterse> I like the (apparently) Aussie way: I'LL SMASH YA
<andrewvos> knife ya
<yorickpeterse> or w/e it was
* yorickpeterse deals with way too many cultures/languages on a daily basis to keep track of all this
<apeiros> Technodrome: so what do you see when you see somebody write broken code? do you tell them? or are you afraid to hurt his feelings?
* whitequark giggles
<Technodrome> apeiros: this is not code
<apeiros> same principle.
<Technodrome> apeiros: you notice it because you're not native
<whitequark> Technodrome: both are communication medium for people.
<apeiros> you're evading.
<whitequark> Technodrome: btw. I notice bad grammar equally well in English and Russian.
<Technodrome> not to sure about that bro :)
<yorickpeterse> * too
* yorickpeterse runs
<yorickpeterse> wait, I have something more suitable
benlovell has quit [Ping timeout: 252 seconds]
<whitequark> guys, do you ever work
<Technodrome> as I said, its very popular for europeans that are non english speaking these days, to go around thinking they are better at english than "english speaking people" , it's like a tongue and cheek thing
<Technodrome> here where I live, we get it a lot
<andrewvos> it's
<yorickpeterse> whitequark: work?
<whitequark> well
<yorickpeterse> andrewvos: hahaha jesus
<Technodrome> andrewvos: that was actually the auto correct that time :x
<whitequark> I'm running rsync right now
<Technodrome> andrewvos: you would think i bother writing a '
<apeiros> Technodrome: ever tried to take things at face value instead of interpreting deeper things into it?
<whitequark> "COMPILING"
<yorickpeterse> whitequark: I'm....compiling code! Yes, compiling
<yorickpeterse> darn it
<Technodrome> apeiros: hmm, you are right, the deeper understanding is more hurtful!
<whitequark> it's like posting ruby code with tabs instead of spaces
<apeiros> anyway, the way you have this feeling about others supposedly having a superiority complex makes me wonder how you fare in that regard.
<whitequark> it doesn't matter, but if you will just fucking use spaces, you'll spend less time arguing.
<apeiros> as much as you've said so far I'd say you're probably worse in that regard than those you're accusing of it.
<yorickpeterse> whitequark: but why not use tabs instead?
<yorickpeterse> then you can customize the indentation without changing it!
<Technodrome> apeiros: oh yeah right :) , far from it
* whitequark sighs
nertzy2 has joined #ruby-lang
<Technodrome> apeiros: I never correct someones english or ____ language
<whitequark> someone's
* apeiros giggles
<Technodrome> again, this is what foreigners do :)
carloslopes has joined #ruby-lang
<Technodrome> but as I said above, I understand completely
<whitequark> Technodrome: say that in russian, and I'll do the same.
<apeiros> Technodrome: just to have it said - I was quite grateful to whomever pointed out my its vs it's in here
<yorickpeterse> that's generalizing
<apeiros> helped me a lot. and for what it's worth, I don't care whether my english is better than yours or not.
saarinen has joined #ruby-lang
<yorickpeterse> wait, you're not from glorious US/UK?
<yorickpeterse> I for some reason thought you were an amerikkan
<Technodrome> Swiss it looks like
<yorickpeterse> ooooooh, he backtraced him
<yorickpeterse> jimmies were rustled
<apeiros> finally, someone who doesn't confuse .ch with china :D
<Technodrome> hence why I had my objections!
<whitequark> china is .cn!
<apeiros> indeed!
<yorickpeterse> apeiros: .ch is just .cn minus the factories and with more money
* yorickpeterse runs
henrikhodne has quit [Quit: Computer has gone to sleep.]
nertzy has quit [Ping timeout: 248 seconds]
<apeiros> yorickpeterse: not true! we have chocolate and cows! and cheese!
<apeiros> and banks!
<andrewvos> mmmm cows
<whitequark> mmmm banks
Serge has quit [Remote host closed the connection]
<apeiros> oh, and we're superior to everyone else. but that's common knowledge.
<andrewvos> sweden?
<Technodrome> but at the same time, I got love for you apeiros
<whitequark> huh
<yorickpeterse> apeiros: except you have mandatory army service
tbuehlmann has quit []
<apeiros> except?
<yorickpeterse> well yeah there's probably more but I don't know that much about Switzerland
L0rdShrek____ has quit [Ping timeout: 252 seconds]
<apeiros> ah, you're still comparing ch and cn?
<Technodrome> even compared to python, ruby really does have a lot more *features*
<whitequark> i think china has mandatory army service
<Technodrome> sometimes hard to remember how certain things work
<whitequark> also north korea
<yorickpeterse> apeiros: No, Switzerland as far as I've been told has it too
<yorickpeterse> whitequark: and south korea
<apeiros> yorickpeterse: yes, ch has mandatory army service
<apeiros> you can get around it, though
<yorickpeterse> https://en.wikipedia.org/wiki/Military_of_Switzerland Wikipedia never lies
<whitequark> apeiros: I guess it isn't bad at all.
<whitequark> compared to russian at least.
<Technodrome> does russia have it?
<whitequark> Technodrome: yeah
<Technodrome> can you get out of it?
<whitequark> and if you're enlisted you're as good as dead, literally
<yorickpeterse> whitequark: did you kill people?
<apeiros> whitequark: army service? it's annoying. but not bad in any important way.
<whitequark> Technodrome: yeah, with enough money
<Technodrome> ah, the eastern way whitequark
carloslopes has quit [Ping timeout: 256 seconds]
<apeiros> president of switzerland? wtf…
<whitequark> last time I checked it was about 7000 USD. not bad for your life
<Technodrome> i was watching some documentary, it was talking about in this war, russia was selling the army weapons, as well as fighting them. They still like the money
thatJasonSmith has quit [Remote host closed the connection]
<yorickpeterse> As said before: hup holland hup, we don't have mandatory army service. Not that it would matter, our army is pretty shit anyway
<yorickpeterse> plus we got steamrolled in WW2 anyway
rwilcox has quit [Quit: Computer has gone to sleep.]
<Technodrome> Russia stays more aggressive, still want world domination
<whitequark> lol @ that
cored has quit [Ping timeout: 252 seconds]
<Technodrome> like the army tells americans to surrender if it's the only option
<yorickpeterse> hmpf, for some reason NERDTree keeps removing my bookmark called "models"
<Technodrome> in russia, you are better off dead than to surrender
<yorickpeterse> whitequark: hey you gonna just sit and take that? He's mocking the motherland
<Technodrome> No, I don't mean any hate
<Technodrome> more or less joking
<Technodrome> but its true, their military is much more aggressive
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
<yorickpeterse> that's because of their thirst for human flesh
<yorickpeterse> or capitalist flesh to be more specific
akahn has quit [Ping timeout: 252 seconds]
dlackty_____ has quit [Ping timeout: 252 seconds]
<Technodrome> some soldiers were surrendering once, and other soldiers (russia) shot them for doing such a horrible thing
DarkBushido has joined #ruby-lang
<Technodrome> just a bit more aggressive military wise
<whitequark> yorickpeterse: I don't care
<yorickpeterse> what kind of patriot are you
<Technodrome> as I said, I didn't mean anything by it
<Technodrome> its not just russia, its pretty much anything east of France :)
Guest6153 has quit []
teleological has joined #ruby-lang
[[thufir]] has quit [Quit: Leaving.]
jamilbk has quit [Quit: jamilbk]
hashkey has joined #ruby-lang
danrabinowitz has joined #ruby-lang
<Technodrome> yorickpeterse: you are dutch?
<yorickpeterse> ASDKJHASDKJASHDJKD RUBY
<yorickpeterse> Technodrome: yes
<yorickpeterse> foo = foo.derp
<yorickpeterse> CAN NOT CALL DERP ON NILCLASS
<yorickpeterse> GET FUCKED VARIABLE PRESCANNING
<yorickpeterse> grrrrrr
<Technodrome> netherlands == english people who just speak dutch
<yorickpeterse> Yeah except I happened to've learned my English in England :)
<yorickpeterse> sadly I sound like I have a clogged nose and I'm talking through a toilet when I talk English using a mic (for some reason)
<whitequark> yorickpeterse: I'm not?
<yorickpeterse> whitequark: booo
<Technodrome> the country side of the netherlands and the country side of england look very much alike
<yorickpeterse> eh no, they are very very different
<yorickpeterse> Mostly because England has this thing called "hills"
<yorickpeterse> whereas NL is just a puddle of people below sea level
<Technodrome> well
<yorickpeterse> we have this thing called a "hill" somewhere in the south but it's like 2m tall
<apeiros> want some of ours?
<Technodrome> about somewhere below mid way down france, everything changes :)
wrwdev has left #ruby-lang [#ruby-lang]
wrwdev has joined #ruby-lang
<yorickpeterse> apeiros: yes please, it would make biking so much more exciting
<yorickpeterse> well the going downhill part
<apeiros> ^^
<apeiros> it makes it also so much harder
<yorickpeterse> true
<yorickpeterse> But you don't need bike safety when you have swag
<yorickpeterse> apparently
tylersmith has joined #ruby-lang
<apeiros> was so proud when my wife finally managed 50m in height distance
kgrz has quit [Ping timeout: 260 seconds]
<apeiros> of course, that gets you almost nowhere here
<apeiros> (she learned biking last year and didn't have much chance to practice, so she's excused)
<yorickpeterse> hey yo, biking is pretty hard if you've never done it
<yorickpeterse> especially with hills
<yorickpeterse> also lol, somebody asked on /r/amsterdam if it was a good idea to learn biking in Amsterdam
<yorickpeterse> which is basically a death sentence
Guest73853 has quit []
carloslopes has joined #ruby-lang
<Technodrome> for the next 6 months i don't leave the house
<yorickpeterse> even if you manage to evade all the tourists, trams, cars and locals you'll probably still get stuck in a train track and break both your wheels and your neck
wrwdev has left #ruby-lang [#ruby-lang]
wrwdev has joined #ruby-lang
<yorickpeterse> errr tram track
<apeiros> yorickpeterse: oh yes it is. there was no sarcasm in it when I said I was proud.
skade has quit [Ping timeout: 260 seconds]
Dan has quit [Quit: Leaving...]
vlad_starkov has joined #ruby-lang
<yorickpeterse> I still tend to be amazed when people come here and are like "HOLY SHIT I CAN BIKE HERE?", I'd say we take that too much for granted
wrwdev has left #ruby-lang [#ruby-lang]
<apeiros> heh, amsterdam was amazing wrt bikes
<Technodrome> many people bike here in miami to
__butch__ has joined #ruby-lang
<yorickpeterse> well yeah, but compare something like this: http://www.streetsblog.org/wp-content/uploads/2008/11_24/Bike_Rider___Market_St.jpg
<yorickpeterse> to....
<yorickpeterse> bad image, but we at least have dedicated lanes
<yorickpeterse> also I have to catch a tram (ooooh it's a big one eh)
<yorickpeterse> taters
<apeiros> toodles
<wnd> we also have some bicycle lanes, but those are mostly used as parking lots
_KGBot_ has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 264 seconds]
thatJasonSmith has joined #ruby-lang
danrabinowitz has left #ruby-lang ["Linkinus - http://linkinus.com"]
snarfmason has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
danrabinowitz has joined #ruby-lang
Squarepy has joined #ruby-lang
<ericwood> stupid cars
_KGBot_ has joined #ruby-lang
naquad has quit [Ping timeout: 245 seconds]
nivanson_ has joined #ruby-lang
nivanson has quit [Read error: Connection reset by peer]
<Technodrome> this is my first time using ruby here in a few years
naquad has joined #ruby-lang
tbuehlmann has joined #ruby-lang
fsvehla has joined #ruby-lang
aleo has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 264 seconds]
rolfb has joined #ruby-lang
LinkedoT has joined #ruby-lang
<Technodrome> what is the main mysql extension everyone uses?
<darix> Technodrome: mysql2
dankest has joined #ruby-lang
<Technodrome> is that what sequel and the orm's build against?
<Technodrome> or is that the original one?
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jxie has joined #ruby-lang
imperator has quit [Ping timeout: 245 seconds]
<havenwood> Technodrome: Sequel does use Mysql2, amongst other adapters.
<Technodrome> ah
<Technodrome> so it was would pretty useless to use the original mysql one?
gix has quit [Quit: Client exiting]
earthquake has quit [Ping timeout: 248 seconds]
ckipel has joined #ruby-lang
mawueli has joined #ruby-lang
mawueli is now known as Guest69430
henrikhodne has joined #ruby-lang
gix has joined #ruby-lang
<Technodrome> did ruby's performance improve from 1.9 to 2.x?
Fretta has joined #ruby-lang
saarinen has quit [Quit: saarinen]
zerokarmaleft has joined #ruby-lang
machuga is now known as machuga|away
_KGBot_ is now known as bugg_
bugg_ is now known as [bugg]
dangerousbeans has joined #ruby-lang
<zerokarmaleft> hmm, I'm iterating over a list of strings and converting them to symbols, and I'm unexpectedly getting double quotes included in the symbol names
<whitequark> Technodrome: quite a bit
<Technodrome> interesting
<Technodrome> you like node.js whitequark ?
<zerokarmaleft> e.g. foo.to_sym turns into :"Yo Foo" where foo="Yo Foo"
<apeiros> zerokarmaleft: that's expected
<yorickpeterse> I'M ON A TRAIN
<zerokarmaleft> apeiros: is that new?
<apeiros> zerokarmaleft: I guess you're confusing .inspect and .to_s
<apeiros> :"Yo Foo" is how you write that symbol. how else could you?
<apeiros> :Yo Foo? How'd ruby know that the symbol isn't finished after :Yo?
<zerokarmaleft> oh I see, the spaces
<zerokarmaleft> derp
<apeiros> ;-)
<zerokarmaleft> apeiros: thanks for restarting my brain :D
<apeiros> yw
__butch__ has quit [Quit: Leaving.]
kgrz has joined #ruby-lang
<whitequark> Technodrome: it shouldn't exist.
machuga|away is now known as machuga
<yorickpeterse> whitequark: but then how would you be able to start some redundant startup around the idea of using Node.js and feeling smug about it?
io_syl has joined #ruby-lang
sepp2k has joined #ruby-lang
vlad_starkov has joined #ruby-lang
hakunin has joined #ruby-lang
__butch__ has joined #ruby-lang
saarinen has joined #ruby-lang
Cakey has joined #ruby-lang
mrsolo has joined #ruby-lang
justinmb_ has quit [Read error: Connection reset by peer]
justinmb_ has joined #ruby-lang
Squarepy has quit [Remote host closed the connection]
MagBo_ has joined #ruby-lang
amerine has joined #ruby-lang
<MagBo_> Hello, gentlemen. I get enoent when I invoke ``Digest::MD5.file(File.join('cache', file)).hexdigest``: ``cache/i3-4.2.tar.bz2 (Errno::ENOENT)``
<yorickpeterse> and the file exists?
<MagBo_> On the other hand, output of ``puts Dir.entries("./cache/").inspect`` is ["i3-4.2.tar.bz2", ".", ".gitignore", ".."]
gnufied has quit [Quit: Leaving.]
dangerousbeans has quit [Quit: KTHNXBAI]
<MagBo_> Hm. puts file.inspect says "i3-4.2.tar.bz2\n"
<MagBo_> That's because I use system basename instead of File.basename.
<MagBo_> Thanks for help! :D
benanne has joined #ruby-lang
* MagBo_ feels like an idiot -- debugged this for a good 15 minutes, then asked question, then understood the problem.
elia has quit [Ping timeout: 260 seconds]
<wnd> as always, asking on irc helps the very moment you press enter
<MagBo_> :D
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
<spike|spiegel> MagBo_: get a rubber duck
<whitequark> /join #rubberduck
[bugg] has quit [Remote host closed the connection]
danrabinowitz has left #ruby-lang ["Linkinus - http://linkinus.com"]
<spike|spiegel> oh you poor thing
D9 has joined #ruby-lang
L0rdShrek____ has joined #ruby-lang
brianpWins has joined #ruby-lang
dhruvasagar has joined #ruby-lang
workmad3 has joined #ruby-lang
aatrostle has joined #ruby-lang
ta has joined #ruby-lang
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
aatrostle has left #ruby-lang [#ruby-lang]
kgrz has quit [Ping timeout: 248 seconds]
akahn has joined #ruby-lang
dlackty____ has joined #ruby-lang
rockpapergoat has quit [Remote host closed the connection]
glebm has quit [Quit: Computer has gone to sleep.]
snarfmason has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 248 seconds]
symm- has joined #ruby-lang
guns has joined #ruby-lang
Cakey has quit [Ping timeout: 248 seconds]
r0bby has joined #ruby-lang
Gaelan has joined #ruby-lang
jxpx777 has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
Guest69430 has quit [Ping timeout: 256 seconds]
D9 has quit [Ping timeout: 240 seconds]
mawueli has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
mawueli is now known as Guest85580
D9 has joined #ruby-lang
r0bby_ has joined #ruby-lang
r0bby has quit [Ping timeout: 276 seconds]
Guest85580 has quit [Ping timeout: 248 seconds]
rickhull1 has joined #ruby-lang
pr0ton has joined #ruby-lang
rickhull has quit [Read error: No route to host]
Gaelan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
skade has joined #ruby-lang
saarinen has quit [Quit: saarinen]
benlovell has joined #ruby-lang
tdy has quit [Read error: Connection reset by peer]
tdy has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
Technodrome has left #ruby-lang [#ruby-lang]
swygue has joined #ruby-lang
saarinen has joined #ruby-lang
dingus_khan has joined #ruby-lang
benlovell has quit [Quit: leaving]
mbj has quit [Quit: leaving]
slash_nick has joined #ruby-lang
chrishunt has quit [Quit: ZzZzZz...]
LinkedoT has quit [Read error: Connection reset by peer]
LinkedoT has joined #ruby-lang
D9 has quit [Ping timeout: 248 seconds]
adambeynon has joined #ruby-lang
io_syl has quit [Ping timeout: 260 seconds]
tylersmith has quit [Remote host closed the connection]
LinkedoT has quit [Ping timeout: 260 seconds]
io_syl has joined #ruby-lang
<injekt> zzak: possibly in a while, been in meetings since forever, just told the guys about my departing
kgrz has joined #ruby-lang
<erikh> injekt: oh?
<erikh> congrats I hope
<injekt> erikh: Yeah, got the job!
<erikh> awesome!
<injekt> yeah kinda weird, but looking forward to it, starting in 2 weeks
<erikh> I start tomorrow at my new place, btw.
<injekt> !
<injekt> nice! gl
<erikh> thanks
<spike|spiegel> you guys don't do proper handovers at all?
<erikh> it should be good
<spike|spiegel> 2 weeks sounds like namesake notice
<erikh> spike|spiegel: morelli?
<injekt> 4 weeks is just dragging shit out
<spike|spiegel> heh, last time I switched jobs, I have 13 weeks of notice in total including hiring replacement and training
<spike|spiegel> s/have/had/
<injekt> eh
<erikh> brb
<injekt> that's incredibly silly
<injekt> but different companies etc
kgrz has quit [Ping timeout: 264 seconds]
<spike|spiegel> not really if you are irreplaceable
<injekt> no one is irreplaceable
<spike|spiegel> 'hard to replace'
<spike|spiegel> gee
<injekt> they're very different :)
<injekt> anyway hiring and training my replacement isn't my job
ebouchut has joined #ruby-lang
<eam> if anyone is irreplaceable, fire the person running staffing
swav has quit [Remote host closed the connection]
<slash_nick> fwiw, different countries have different laws concerning the topic (notice required by either party (employer, emplyee))
swav has joined #ruby-lang
anonymuse has joined #ruby-lang
imperator has joined #ruby-lang
<slash_nick> I think it's australia, where the longer you work with a company, the more notice is required before either party can terminate.
mbj has joined #ruby-lang
<eam> it varies by state in the US
mawueli has joined #ruby-lang
swav has quit [Remote host closed the connection]
mawueli is now known as Guest14368
<eam> most are at-will, which means no notice whatsoever from either party
<slash_nick> that's pretty common... I don't think it protects the employer from "wrongful termination"
<eam> nope, it does not
<erikh> less soapbox, more ruby
<erikh> MOAR
<erikh> _dumfries: <3
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tbuehlmann has quit [Remote host closed the connection]
LinkedoT has joined #ruby-lang
Nuru has joined #ruby-lang
LinkedoT has quit [Quit: This computer has gone to sleep]
vl3 has joined #ruby-lang
LinkedoT has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
<erikh> got my mutt on
<erikh> very happy
<erikh> but that's not ruby either
<erikh> solarized dark for mutt is not bad at all thoug
<fbernier> so, I used "bundle open a_gem", made a couple of changes, then want to rollback those changes. So I deleted the folder in ~/.rvm/gems/ruby-1.9.3-p385/gems/a_gem
<fbernier> and now everything is broken...
<fbernier> How can I just deleter every gems in that project to get a fresh start ?
<spike|spiegel> fbernier: delete it from specifications directory
<fbernier> where is that
<spike|spiegel> ~/.rvm/gems/ruby-1.9.3-p385/specifications/a_gem.gemspec
<spike|spiegel> bundle install should pull it again
<fbernier> awesome it did it indeed.
<fbernier> Thanks
pipework has quit [Ping timeout: 252 seconds]
<yorickpeterse> https://github.com/YorickPeterse/getfucked evening project, evening success
pipework has joined #ruby-lang
ebouchut has quit [Quit: This computer has gone to sleep]
jbsan has joined #ruby-lang
Gaelan has joined #ruby-lang
<spike|spiegel> yorickpeterse: big hole! no network case?
<yorickpeterse> network case?
vl3 has quit [Quit: leaving]
<spike|spiegel> 'no network' case
<yorickpeterse> oh, there's not much I can do about that in general
<whitequark> who will use a notebook without network access these days?
<whitequark> cats, youtube, etc.
rolfb has quit [Quit: Linkinus - http://linkinus.com]
vl3 has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
<vl3> Hi Guys, someone knows a Whatsapp API for Ruby ???
pr0ton has quit [Ping timeout: 248 seconds]
<vl3> Hi Guys, someone knows a Whatsapp API for Ruby ???
Gaelan has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby-lang
<yorickpeterse> Did you look for one?
ryez has joined #ruby-lang
<spike|spiegel> Whatsapp is a shit hole. don't use, if youare stuck with it, have my condolences
chrishunt has joined #ruby-lang
<vl3> Yes, i've been looking, but whatsapp-ruby i guess is no longer maintained
<imperator> yo
<vl3> @spike|spiegel, is an application for a client
<spike|spiegel> condolences
<vl3> hahah
<spike|spiegel> the protocol is some thing resembling XMPP but not really XMPP
Guest14368 has quit [Remote host closed the connection]
<vl3> Modified XMPP
<spike|spiegel> whatever floats their boat
<vl3> but when i add to my gemfile
<vl3> it doesnt find it
<vl3> XD
mistym is now known as mistym_latelunch
<vl3> the link upstairs is wrong
workmad3 has quit [Ping timeout: 246 seconds]
DarkBushido has quit [Quit: Leaving...]
jxpx777 has quit [Quit: Linkinus - http://linkinus.com]
danrabinowitz has joined #ruby-lang
machuga is now known as machuga|away
fsvehla has quit [Quit: fsvehla]
glebm has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
glebm has quit [Client Quit]
danrabinowitz has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
workmad3 has joined #ruby-lang
danrabinowitz has joined #ruby-lang
vlad_starkov has joined #ruby-lang
havenwood has quit [Ping timeout: 248 seconds]
slash_nick has quit [Ping timeout: 240 seconds]
pdswan has joined #ruby-lang
tylersmith has joined #ruby-lang
Nuru has quit [Quit: Bye bye]
glebm has joined #ruby-lang
pr0ton has joined #ruby-lang
glebm has quit [Client Quit]
<zzak> injekt: cool, im free whenever
tylersmi_ has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
wyhaines has joined #ruby-lang
glebm has joined #ruby-lang
pdswan has quit [Quit: pdswan]
bin7me has joined #ruby-lang
<MagBo_> I believe that using ``return`` is a bad style in Ruby? What is the best way to re-write the following: ``imagecfg[:mirrors].each { |m| mirror_works?(m) and return(m) }``?
<injekt> return m if mirror_works?(m)
<injekt> or use ``imagecfg[:mirrors].find { |m| mirror_works?(m) }
nathanstitt has quit [Quit: I growing sleepy]
<workmad3> or imagecfg[:mirrors].select{|m| mirror_works?(m) }
<injekt> which will return the first record that matches that block, or nil otherwise
<MagBo_> Second and third options are way better.
<injekt> workmad3: return infers he wants a single record
<workmad3> injekt: good point
<MagBo_> Thank you, gentlemen!
<MagBo_> No-no, if I was writing in languages I know I'd use dropwhile.
<MagBo_> Or match with a predicate.
<injekt> oh then you want workmad3s suggestion
<workmad3> MagBo_: if you could put a 'works?' method on the items in the collection, you could do it with imagecfg[:mirrors].select(&:works?)
dingus_khan has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
<MagBo_> Mhm, noted.
<spike|spiegel> vl3: https://github.com/venomous0x/WhatsAPI is your best bet.. not ruby
machuga|away is now known as machuga
nathanstitt has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
Criztian has joined #ruby-lang
danrabinowitz has left #ruby-lang ["Linkinus - http://linkinus.com"]
roadt_ has quit [Ping timeout: 256 seconds]
henrikhodne has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby-lang
mistym_latelunch is now known as mistym
workmad3 has quit [Ping timeout: 276 seconds]
havenwood has quit [Ping timeout: 248 seconds]
pipework has quit [Remote host closed the connection]
pipework has joined #ruby-lang
D9 has joined #ruby-lang
pipework has quit [Remote host closed the connection]
carloslopes has quit [Remote host closed the connection]
glebm has quit [Quit: Computer has gone to sleep.]
tylersmi_ has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
D9 has quit [Client Quit]
glebm has joined #ruby-lang
ia___ has quit [Quit: ia___]
machuga is now known as machuga|away
ta has quit [Remote host closed the connection]
tonni has joined #ruby-lang
Unknown52192 has joined #ruby-lang
xxaM has quit [Ping timeout: 256 seconds]
saarinen has quit [Quit: saarinen]
saarinen has joined #ruby-lang
dustint_ has quit [Quit: Leaving]
Nuru has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
sailias has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby-lang
Ctwx has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
symm- has joined #ruby-lang
havenwood has quit [Ping timeout: 248 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
dingus_khan has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
dingus_khan has joined #ruby-lang
mrsolo has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
skade has quit [Quit: Computer has gone to sleep.]
lguardiola is now known as lguardiola__
symm- has quit [Ping timeout: 248 seconds]
wmoxam has quit [Ping timeout: 276 seconds]
JonaTW has joined #ruby-lang
symm- has joined #ruby-lang
teleological has quit [Remote host closed the connection]
JonaTW_ has quit [Ping timeout: 276 seconds]
riffraff has quit [Quit: This computer has gone to sleep]
teleological has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
pr0ton has quit [Ping timeout: 264 seconds]
brianpWins has joined #ruby-lang
symm- has quit [Ping timeout: 248 seconds]
swav has joined #ruby-lang
symm- has joined #ruby-lang
io_syl has joined #ruby-lang
justinmb_ has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
randym_ has quit [Quit: Connection closed for inactivity]
sandbags has joined #ruby-lang
imperator has quit [Ping timeout: 240 seconds]
lguardiola__ has quit [Quit: Leaving]
benanne has quit [Quit: kbai]
lguardiola has joined #ruby-lang
lguardiola has quit [Ping timeout: 252 seconds]
riffraff has joined #ruby-lang
swav has quit [Remote host closed the connection]
lguardiola has joined #ruby-lang
havenwood has joined #ruby-lang
breakingthings has quit [Quit: breakingthings]
forrest has quit [Quit: Leaving]
skade has joined #ruby-lang
skade has quit [Client Quit]
pr0ton has joined #ruby-lang
wesside has quit [Quit: Computer has gone to sleep.]
lguardiola has quit [Quit: Leaving]
mistym has quit [Remote host closed the connection]
lguardiola has joined #ruby-lang
lguardiola has quit [Remote host closed the connection]
marr has quit [Ping timeout: 256 seconds]
swav has joined #ruby-lang
anonymuse has quit [Quit: Leaving...]
marr has joined #ruby-lang
tomzx_mac has joined #ruby-lang
cmaxw_ has joined #ruby-lang
mrfelix has joined #ruby-lang
saarinen has quit [Quit: saarinen]
wmoxam has joined #ruby-lang
pipework has joined #ruby-lang
marr has quit [Ping timeout: 246 seconds]
saarinen has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby-lang
wmoxam has quit [Ping timeout: 252 seconds]
justinmb_ has joined #ruby-lang
mrfelix has quit [Quit: Textual IRC Client: www.textualapp.com]
pr0ton has quit [Quit: pr0ton]
vl3 has quit [Quit: leaving]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
pr0ton has joined #ruby-lang
imperator has joined #ruby-lang
cofin has quit [Quit: cofin]
headius has quit [Quit: headius]
fedesilva has joined #ruby-lang
Unknown52192 has quit [Ping timeout: 256 seconds]
teleological has quit [Remote host closed the connection]
wyhaines has quit [Read error: No route to host]
davidfre_ has joined #ruby-lang
stamina has quit [Ping timeout: 248 seconds]
mistym has joined #ruby-lang
dingus_khan has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
davidfrey has quit [Ping timeout: 248 seconds]
davidfre_ has quit [Ping timeout: 252 seconds]
r0bby_ is now known as robbyoconnor
toretore has quit [Quit: Leaving]
wyhaines has joined #ruby-lang
guns has quit [Read error: Connection reset by peer]
nathanstitt has quit [Quit: I growing sleepy]
saarinen has joined #ruby-lang
glebm has joined #ruby-lang
headius has joined #ruby-lang
glebm has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
wallerdev has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
justinmb_ has quit [Remote host closed the connection]
pr0ton has quit [Quit: pr0ton]
wallerdev has quit [Read error: Operation timed out]
pr0ton has joined #ruby-lang
woollyams has joined #ruby-lang
Nisstyre has quit [Quit: Leaving]
voker57_ has joined #ruby-lang
voker57 has quit [Ping timeout: 256 seconds]
Criztian has quit [Remote host closed the connection]
<crankharder> is there a better way to get the calling method's name than parsing caller[0] ?
GeissT has joined #ruby-lang
Gaelan has joined #ruby-lang
dankest has quit [Quit: Leaving...]
Gaelan has quit [Remote host closed the connection]
dankest has joined #ruby-lang
Gaelan has joined #ruby-lang
fedesilva has quit [Ping timeout: 246 seconds]
dankest has quit [Client Quit]
Gaelan has quit [Ping timeout: 256 seconds]
Ctwx has quit [Quit: Verlassend]
fosky has joined #ruby-lang
headius has quit [Quit: headius]
teleological has joined #ruby-lang
rsync has joined #ruby-lang
sailias has joined #ruby-lang
<imperator> i though ruby 2 added that, not sure though
pskosinski has quit [Quit: pskosinski]
Nuru has quit [Quit: Bye bye]
cmaxw_ has quit [Quit: cmaxw_]
voker57__ has joined #ruby-lang
voker57_ has quit [Ping timeout: 252 seconds]
teleological has quit [Remote host closed the connection]
davidfrey has joined #ruby-lang
wallerdev has joined #ruby-lang
fedesilva has joined #ruby-lang
fedesilva has quit [Max SendQ exceeded]
lguardiola_ has joined #ruby-lang
davidfrey has quit [Ping timeout: 252 seconds]
bin7me has quit [Read error: Connection reset by peer]
danrabinowitz has joined #ruby-lang