jhass changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
<drbrain> the .find will return an array
ur5us has joined #ruby
<drbrain> the array will be one of the feelings, so [:euphoria, Set.new(…)]
<drbrain> name will get :euphoria, _ will get Set.new(…)
<Ox0dea> a11: Hash#find yields each key-value pair to the block; this code is only interested in the value, so it uses `_` to essentially ignore the key, indicating that it's not required for the block to do its thing.
<drbrain> _ is used because it is "ignored"
s2013 has joined #ruby
<Radar> ariedler: I don't know of a name for that.
pawnbox has quit [Ping timeout: 250 seconds]
mdw has joined #ruby
<a11> drbrain, 0x0dea: thank you
A124 has quit [Quit: '']
uglybandersnatch has joined #ruby
ReK2 has joined #ruby
dikaio has quit [Remote host closed the connection]
<a11> drbrain, 0x0dea: How would I modify line 11 using proper_subset to detect a partial match?
johnmilton has quit [Ping timeout: 276 seconds]
dikaio has joined #ruby
boontdustie has quit [Remote host closed the connection]
A124 has joined #ruby
ropeney has joined #ruby
bjpenn has quit [Ping timeout: 268 seconds]
Gasher has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Lucky_ABA has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
ziyadb has joined #ruby
woodruffw has quit [Quit: And then he took off.]
wzy has quit [Remote host closed the connection]
woodruffw has joined #ruby
woodruffw has quit [Excess Flood]
woodruffw has joined #ruby
<Ox0dea> a11: I think a better approach would be to use #max_by to determine the emotion which matches the greatest number of input feelings.
wzy has joined #ruby
mistermocha has joined #ruby
`tim` has joined #ruby
<Ox0dea> drbrain: Do you know offhand what this class is? https://eval.in/536451
CloCkWeRX has joined #ruby
juanca_ has joined #ruby
<a11> OxOdea: thank you
blandflakes has joined #ruby
<Ox0dea> Sure thing.
<Ox0dea> https://git.io/va4d8 calls #extend, which introduces a singleton class, but the Class "generated" by Kernel#load isn't a singleton class.
siaw has quit [Quit: siaw]
woodruffw has quit [Quit: And then he took off.]
johnmilton has joined #ruby
tvon has quit [Remote host closed the connection]
tvon has joined #ruby
roshanavand has quit [Quit: This computer has gone to sleep]
<Ox0dea> https://eval.in/536452 gets there one method too late, but we can infer that it's #inspect that's missing from the output. This appears to be the singleton class of the cloned toplevel, but then why does it lie?
wzy has quit [Quit: Leaving]
BtcBen has joined #ruby
CloCkWeRX has quit [Ping timeout: 246 seconds]
kies has joined #ruby
tvon has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
saneax is now known as saneax_AFK
rcvalle has quit [Quit: rcvalle]
preyalone has quit [Quit: Connection closed for inactivity]
workmad3 has quit [Ping timeout: 264 seconds]
mary5030 has quit [Ping timeout: 268 seconds]
SCHAAP137 has quit [Remote host closed the connection]
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<drbrain> I thought a singleton class of an anonymous object (class here) would look like: #<Class:#<Class:0x007fd4f2190108>>
pokonelakokode has joined #ruby
pawnbox has joined #ruby
<drbrain> so I think va4d8 looks OK to me because it's an anonymous class (the one cloned from toplevel)
juanca_ has quit [Remote host closed the connection]
<drbrain> Ox0dea: ↑
<Ox0dea> Oh, right.
<Ox0dea> It's a new default definee.
<drbrain> yes
elifoster has quit [Ping timeout: 248 seconds]
<drbrain> what are you making?
<Ox0dea> I'm trying to make #load do something more useful than shovel the new stuff into an anonymous Module.
<Ox0dea> Preferably without resorting to C.
mdw has quit [Ping timeout: 276 seconds]
<Ox0dea> I can swap out the Module just fine, and that puts the constants in the right place; not so happy for methods.
bezhermo_ has joined #ruby
intrigueD has quit [Remote host closed the connection]
<bezhermo_> Do I really need to have a CORS middleware to allow POST requests to my Rack app?
pawnbox has quit [Ping timeout: 248 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnmilton has quit [Ping timeout: 246 seconds]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SenpaiSilver has joined #ruby
Guest34101 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Lucky_ABA has joined #ruby
Lucky_ABA has quit [Client Quit]
stannard has joined #ruby
CloCkWeRX has joined #ruby
Lucky_ABA has joined #ruby
<drbrain> since you can grab the module with TracePoint, can you give it a name directly?
<drbrain> bezhermo_: no*
spider-mario has quit [Remote host closed the connection]
<drbrain> bezhermo_: * if you create sessions in your app, you probably want CORS protection
skweek has quit [Remote host closed the connection]
sneakerhax has quit [Ping timeout: 244 seconds]
<bezhermo_> drbrain: My Rack app is a super simple one: https://gist.github.com/bezhermoso/ffe79962000c3d50ad88
<bezhermo_> However, issuing a POST request via `curl` to a URL gives me a "Method Not Allowed" error. Issuing an OPTIONS request only gives me GET, HEAD, and OPTIONS, which I assumed was the problem.
<drbrain> it says faye is pub-sub, but I'm not sure what its API looks like
<bezhermo_> drbrain: `Api` for now is just logging requests on screen.
<drbrain> hrm, the docs seem to point at you not needing CORS
<bezhermo_> Oh its not really Faye I'm having problems with. I just want to specify a handler to process POST requests on "/"
johnny56 has joined #ruby
<Ox0dea> drbrain: I can, but how does that help with getting hold of (and replacing) the default definee?
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
failshell has joined #ruby
<drbrain> bezhermo_: oh, then you probably don't need CORS at all
<bezhermo_> That is my impression as well.
<bezhermo_> But can't get POST to work. I feel like I'm missing something considering doing a POST request gives me a "Method Not Allowed" 405 code
ruid has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
ruid has quit [Changing host]
ruid has joined #ruby
janzo has joined #ruby
<drbrain> Ox0dea: you want to use the same definee for mulitple loads?
<bezhermo_> My expectation is I should be able to inspect the `env` param on the Api middleware and do most of my logic there
<drbrain> that I'm not sure of
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruind has joined #ruby
<Ox0dea> drbrain: No, not necessarily; I'd like to be able to say `load 'foo.rb', M` and have methods defined therein end up on M rather than the top level.
ruind has quit [Client Quit]
* drbrain nods
<drbrain> I'm unsure, I haven't poked around in this much
<bezhermo_> drbrain: Hm, it seems to work now after moving my middleware before Faye. There must be something there. Thanks for confirming that I was on the right track
<drbrain> bezhermo_: cool
binaryplease has quit [Ping timeout: 268 seconds]
<Ox0dea> Swapping the anonymous module for M is as simple as querying ObjectSpace for the new guy, but the default definee is just a VALUE in an rb_thread_t.
<Ox0dea> I could muck about in Thread.current's internal memory, but I was hoping there'd be a less brittle approach.
failshell has quit [Ping timeout: 246 seconds]
dikaio has quit [Remote host closed the connection]
SenpaiSilver has quit [Quit: Leaving]
nfk|laptop has quit [Quit: yawn]
SenpaiSilver has joined #ruby
kobain has quit [Ping timeout: 260 seconds]
dikaio has joined #ruby
tvon has joined #ruby
DmitryBochkarev has joined #ruby
htmldrum has quit [Ping timeout: 276 seconds]
stannard has quit [Remote host closed the connection]
pawnbox has joined #ruby
lemur has joined #ruby
tvon has quit [Ping timeout: 276 seconds]
[afk]chocoelho is now known as chocoelho
johnmilton has joined #ruby
Azure has quit [Ping timeout: 240 seconds]
trosborn has joined #ruby
Azure has joined #ruby
pokonelakokode has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
bezhermo_ has quit [Quit: Zzzzz...]
lemur has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
swills has quit [Quit: Leaving]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
swills has joined #ruby
htmldrum has joined #ruby
zacts_pi has joined #ruby
gigetoo has quit [Ping timeout: 264 seconds]
fullofca_ has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
fullofcaffeine has quit [Ping timeout: 244 seconds]
zacts_pi has quit [Quit: Page closed]
baweaver has joined #ruby
chouhoulis has joined #ruby
bjpenn has joined #ruby
chipotle has quit [Quit: cheerio]
bronson has joined #ruby
ohaibbq has joined #ruby
ur5us has quit [Remote host closed the connection]
htmldrum has quit [Ping timeout: 248 seconds]
jrafanie has joined #ruby
Gasher has quit [Quit: Leaving]
gbgdev has quit [Remote host closed the connection]
htmldrum has joined #ruby
nerium has quit [Quit: nerium]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Didac has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
Azure has quit [Remote host closed the connection]
lsmola has quit [Ping timeout: 244 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gigetoo has joined #ruby
bezhermoso has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elifoster has joined #ruby
weemsledeux has joined #ruby
SenpaiSilver has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
SenpaiSilver has joined #ruby
hxegon has quit [Ping timeout: 240 seconds]
juanca_ has joined #ruby
juanca_ has quit [Remote host closed the connection]
nanoz has joined #ruby
juanca_ has joined #ruby
baweaver has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
haraoka has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
dikaio has quit [Remote host closed the connection]
a11 has quit [Remote host closed the connection]
dikaio has joined #ruby
jyaworski has joined #ruby
LoneHerm_ has quit [Ping timeout: 246 seconds]
brent_ has joined #ruby
crystal77 has quit [Quit: Textual IRC Client: www.textualapp.com]
SenpaiSilver has quit [Quit: Leaving]
<brent_> had a question regarding this class I was hoping someone could look at. In the test casue Board#[] is returning 'X' instead of :X http://hastebin.com/upuxiruxim.rb
<brent_> and i can't figure out why
Didac has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
neanderslob has quit [Ping timeout: 268 seconds]
`tim` has joined #ruby
SenpaiSilver has joined #ruby
mistermocha has quit [Ping timeout: 268 seconds]
dikaio has quit [Ping timeout: 250 seconds]
shinnya has quit [Ping timeout: 244 seconds]
jackjackdripper has quit [Quit: Leaving.]
ur5us has joined #ruby
kam270 has quit [Quit: Leaving]
ariedler has quit [Remote host closed the connection]
Rafael has joined #ruby
Rafael is now known as Guest98810
Guest98810 has left #ruby [#ruby]
ur5us has quit [Ping timeout: 240 seconds]
decoponio has quit [Quit: Leaving...]
nanoz] has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
rafaelaraujo has joined #ruby
<havenwood> brent_: It seems you're probably setting it so with #[]= or #place_mark (though it looks like you're ignoring the nested Arrays so it's not quite right).
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has quit [Ping timeout: 250 seconds]
statelesscode has quit [Quit: statelesscode]
nanoz has quit [Ping timeout: 248 seconds]
jyaworski has quit [Quit: jyaworski]
jyaworski has joined #ruby
<brent_> havenwood: am i?
johnmilton has quit [Remote host closed the connection]
<brent_> i thought def [](col, row); @grid[col][row]
<havenwood> brent_: Show the code you're using that gives you the unexpected String value?
<brent_> was fixing that for me
<havenwood> brent_: That's the getter not the setter.
ruid has quit [Ping timeout: 244 seconds]
<brent_> what about the []=?
<brent_> it's a long spec file
mdih has joined #ruby
uglybandersnatch has quit [Ping timeout: 248 seconds]
<havenwood> brent_: I'd suggest trying it in a REPL (irb or pry) and check what's getting set.
RegulationD has joined #ruby
<havenwood> ?pry
<ruby[bot]> Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
<brent_> i believe it's on like 35 of that file
s2013 has joined #ruby
x77686d has quit [Quit: x77686d]
ascarter has joined #ruby
s2013 has quit [Max SendQ exceeded]
<havenwood> brent_: => #<Board:0x007fdb65c19bf0 @grid=[:X, [nil, nil, nil], [nil, nil, nil], [nil, nil, nil]], @marks=[:X, :O]>
<havenwood> brent_: See how the :X is not on your actual grid?
<havenwood> brent_: Try it in IRB or Pry!
<brent_> yes
ruind has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<brent_> trying
ensyde_ has joined #ruby
mistermocha has joined #ruby
trosborn has quit [Quit: trosborn]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<brent_> havenwood: ugggh, [row, col] instead of [row][col]
lyoshajapan has joined #ruby
bronson has joined #ruby
FooMunki has quit [Quit: FooMunki]
chocoelho is now known as [afk]chocoelho
nanoz] has quit [Ping timeout: 240 seconds]
znz_jp has quit [Quit: kill -QUIT $$]
bronson has quit [Remote host closed the connection]
bjpenn has quit [Ping timeout: 248 seconds]
mistermocha has quit [Ping timeout: 244 seconds]
LoneHerm_ has joined #ruby
<brent_> thanks, now just need to get it to check if it's in a row correctly
LoneHerm_ has quit [Remote host closed the connection]
arlek has joined #ruby
pawnbox has joined #ruby
LoneHerm_ has joined #ruby
ade has joined #ruby
statelesscode has joined #ruby
znz_jp has joined #ruby
<ade> t
braincra- has joined #ruby
<ade> hello guys
<havenwood> ade: 38.32 Down 0.04 (0.10%)
<havenwood> ade: Hi.
gbgdev has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
braincrash has quit [Ping timeout: 250 seconds]
Sucks has joined #ruby
trosborn has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
astrobun_ has joined #ruby
babblebre has joined #ruby
<Ox0dea> $ pkgfile t
<Ox0dea> community/mathomatic
<Ox0dea> havenwood: What's that?
<havenwood> Ox0dea: stock symbol
ade has quit [Remote host closed the connection]
<havenwood> AT&T
tomchapi_ has quit [Ping timeout: 276 seconds]
<Ox0dea> Derp.
mistermocha has joined #ruby
freerobby has quit [Quit: Leaving.]
shakes has quit [Quit: Leaving]
bjpenn has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
bezhermoso has quit [Quit: Adieu!]
c355e3b has quit [Quit: Connection closed for inactivity]
bjpenn has quit [Ping timeout: 244 seconds]
davedev24 has quit []
moeabdol1 has quit [Ping timeout: 268 seconds]
Uber|Dragon has joined #ruby
jenrzzz has joined #ruby
hxegon has joined #ruby
yan__ has joined #ruby
yan__ has left #ruby [#ruby]
gbgdev_ has joined #ruby
tvon has joined #ruby
mistermocha has joined #ruby
gbgdev has quit [Ping timeout: 250 seconds]
a11 has joined #ruby
rafaelaraujo has quit [Quit: Leaving.]
Chagel has joined #ruby
DLSteve has joined #ruby
rrrepsaj has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
a11 has quit [Ping timeout: 252 seconds]
uglybandersnatch has joined #ruby
vdamewood has joined #ruby
blackmesa has joined #ruby
gamov has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
fullofcaffeine has joined #ruby
pawnbox has joined #ruby
Chagel_ has joined #ruby
fullofca_ has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 244 seconds]
Chagel has quit [Ping timeout: 276 seconds]
duncannz has joined #ruby
poerror has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 276 seconds]
ascarter has joined #ruby
ur5us has joined #ruby
baweaver has joined #ruby
hahuang61 has joined #ruby
hahuang65 has quit [Ping timeout: 260 seconds]
floatingpoint has joined #ruby
bronson has joined #ruby
chipotle has joined #ruby
toddr has joined #ruby
toddr has quit [Remote host closed the connection]
TomyLobo has quit [Ping timeout: 268 seconds]
toddr has joined #ruby
Snaggle has joined #ruby
gbgdev_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
zast has joined #ruby
Chagel_ has quit [Remote host closed the connection]
jyaworski has quit [Quit: jyaworski]
Mia has quit [Read error: Connection reset by peer]
nanoz has joined #ruby
uglybandersnatch has quit [Ping timeout: 248 seconds]
LoneHerm_ has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 248 seconds]
uglybandersnatch has joined #ruby
moeabdol1 has joined #ruby
<Snaggle> I’m trying to install the pango gem from a local gem downloaded from rubygems.org, but when I do ‘gem2.2 install --local --install-dir <LOCALINSTALLDIR> /downloaded/pango-2.2.5.gem’, I get an error about “Could not find a valid gem 'glib2' (= 2.2.5) in any repository”. But ‘gem2.2 list —local’ says that glib2 (2.2.5) is present (it was installed the same way as I’m trying to install pango. Adding -V to the inst
<Snaggle> command doesn’t provide any further details as to why pango is not finding glib2. Is there some other way to get gem2.2 to be more precise as to why it’s failing?
Uber|Dragon has quit [Ping timeout: 276 seconds]
trosborn has quit [Quit: trosborn]
mallu has joined #ruby
Chagel has joined #ruby
DmitryBochkarev has joined #ruby
ascarter has quit [Ping timeout: 268 seconds]
moeabdol1 has quit [Ping timeout: 240 seconds]
stardiviner has joined #ruby
ensyde_ has quit [Quit: Leaving]
ascarter has joined #ruby
<drbrain> Snaggle: is glib2 installed into <LOCALINSTALLDIR>?
<drbrain> --install-dir says "all gems must be in <localinstalldir>"
<Snaggle> drbrain: sort of. I’m doing this for an OS X package manager, and when running the install command <LOCALINSTALLDIR> is a staging directory. The built package then gets installed into the final install location....
chouhoul_ has joined #ruby
<Snaggle> posting a gist to clarify...
freerobby has joined #ruby
tomchapin has joined #ruby
bjpenn has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
skydiver has joined #ruby
bry4n_ has joined #ruby
a11 has joined #ruby
<drbrain> so `gem list -d glib2` has <LOCALINSTALLDIR> in the Installed location: ?
<drbrain> "Installed at:"
ledestin_ has joined #ruby
<Snaggle> Installed at: /sw/lib/ruby/gems/2.2
ledestin has quit [Ping timeout: 260 seconds]
ascarter_ has joined #ruby
ascarter has quit [Read error: Connection reset by peer]
bjpenn has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.4]
<drbrain> that's why you get the error
<drbrain> you should be able to gem install --local --install-dir … /sw/lib/ruby/gems/2.2/gems/glib2*.gem
<drbrain> err, I think the second "gems" is "cache"
stardiviner has quit [Read error: Connection reset by peer]
<drbrain> since you have --local RubyGems can't fetch it
<drbrain> so you have to install it manually
bronson has quit [Ping timeout: 252 seconds]
terminal_ has joined #ruby
ascarter_ has quit [Ping timeout: 246 seconds]
elifoster has quit [Ping timeout: 268 seconds]
<Snaggle> But glib2 is already installed… or am I sending it to the wrong place? I’m confused as to why glib2 builds OK and finds its dependencies using the identical install command, but pango doesn’t.
toddr has quit [Quit: toddr]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sucks has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
uglybandersnatch has quit [Ping timeout: 252 seconds]
terminal_ has quit [Client Quit]
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
<Snaggle> And that’s because it wasn’t :( I was missing the —force option
poerror has joined #ruby
astrobun_ has quit [Remote host closed the connection]
poguez_ has quit [Quit: Connection closed for inactivity]
<Snaggle> drbrain: thanks for your help. sorry about the noise
<drbrain> Snaggle: no worries
<drbrain> Snaggle: --install-dir requires all dependencies exist in the same directory
tenzan has joined #ruby
<drbrain> so you can do things like create stand-alone gem installs
Chagel has quit [Remote host closed the connection]
tenzan has quit [Client Quit]
ascarter has quit [Ping timeout: 260 seconds]
tenzan has joined #ruby
Chagel has joined #ruby
trosborn has joined #ruby
poerror has quit [Ping timeout: 276 seconds]
tenzan has quit [Client Quit]
tvon has quit [Remote host closed the connection]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tvon has joined #ruby
Snaggle has left #ruby [#ruby]
tvon has quit [Remote host closed the connection]
tvon_ has joined #ruby
ascarter has joined #ruby
rik has joined #ruby
poerror has joined #ruby
A124 has quit [Quit: '']
<rik> hi. i'm having a problem trying to follow http://sklise.com/2013/03/08/sinatra-warden-auth/
<rik> when i throw all the code into files and try to test it, the model.rb section doesn't load in the require. it doesn't like data_mapper
<rik> but.. that worksfinein irb.
<rik> can someone help me to understand what i'm doing wrong?
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
bezhermoso has joined #ruby
A124 has joined #ruby
dfockler has joined #ruby
<drbrain> by "try and test it" you mean "ruby somefile.rb" and by "in irb" you mean "require 'somefile'" in irb?
bezhermoso has quit [Read error: Connection reset by peer]
poerror has quit [Ping timeout: 260 seconds]
bezhermoso has joined #ruby
<drbrain> rik: ↑
Chagel has quit [Remote host closed the connection]
bjpenn has joined #ruby
Chagel has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
ascarter has quit [Ping timeout: 240 seconds]
flappynerd has joined #ruby
govg has quit [Ping timeout: 240 seconds]
braincra- has quit [Quit: bye bye]
dfockler has quit [Quit: Leaving]
dfockler has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
statelesscode has quit [Quit: statelesscode]
blandflakes has joined #ruby
<rik> drbrain: sorry. i was AFK for a call. effectively correct, except that instead of ruby somefile it's rackup, for a sinatra app
aupadhye has joined #ruby
bjpenn has quit [Ping timeout: 244 seconds]
blandflakes has quit [Client Quit]
pawnbox has joined #ruby
ascarter has joined #ruby
Cohedrin has joined #ruby
<drbrain> ok, does `ruby -e 'p Gem.ruby'` say the same thing as `Gem.ruby` from irb?
nanoz has quit [Quit: <3]
<drbrain> rik: ↑
Moosashi has joined #ruby
flappynerd has left #ruby ["Leaving"]
<rik> yes. both return /usr/local/bin/ruby21
krz has joined #ruby
braincrash has joined #ruby
<drbrain> can you make a gist of the error you get?
<drbrain> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
ascarter has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
<drbrain> I think `rackup` might be running ruby 2.1
<drbrain> you can check by adding `p Gem.ruby` at the very top of model.rb
Moosashi has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<rik> you're right. it's using ruby20, not ruby21.
<drbrain> maybe reinstalling rack will update it
<rik> yeah...
ascarter has quit [Client Quit]
<rik> heh
<rik> hm
<rik> can you ask gem to uninstall and reinstall all the gems?
<drbrain> from one version to the other?
<drbrain> not easily
<rik> well, fortunately i seem to have relatively few.
pawnbox has quit [Remote host closed the connection]
<drbrain> well, you could `gem install --force` for /usr/local/lib/ruby/gems/2.0/cache/*
ascarter has joined #ruby
pawnbox has joined #ruby
bry4n_ has quit [Ping timeout: 268 seconds]
LoneHermit has joined #ruby
arlek has quit [Ping timeout: 248 seconds]
* rik watches bundle install do its thing
<rik> aaaand i am back to the first error
ascarter has quit [Client Quit]
<drbrain> does the rackup error have 2.1 in the path now?
<rik> checking...
LoneHermit has quit [Ping timeout: 276 seconds]
<drbrain> it should say "/usr/local/lib/ruby/gems/2.1/gems/rack-1.6.4/bin/rackup:4:in `<top (required)>'"
<rik> once ri installs the documentation for sinatra
<drbrain> instead of "gems/2.0/gems" like your gist ↑
lyoshajapan has joined #ruby
<rik> kinda.
Didac has quit [Ping timeout: 240 seconds]
dfockler has quit [Ping timeout: 276 seconds]
<drbrain> ok, better
<rik> indeed. we have eliminated one show stopper. on to the next!
<drbrain> I guess now `gem install data_mapper`
<drbrain> ?
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
treaki_ has joined #ruby
<rik> same issue.
x77686d has joined #ruby
bjpenn has joined #ruby
<drbrain> Does `ruby -r data_mapper -e 0` give a similar error?
lyoshajapan has quit [Ping timeout: 260 seconds]
<drbrain> "cannot load such file"?
<rik> no. that executes successfully.
<drbrain> that seems weird
<drbrain> can you add app.rb and model.rb to that gist?
<rik> sure. they're literally cut-and-pasted from http://sklise.com/2013/03/08/sinatra-warden-auth/ thoug.
brent_ has quit [Quit: Connection closed for inactivity]
treaki__ has quit [Ping timeout: 276 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
htmldrum has quit [Ping timeout: 248 seconds]
<rik> i was wondeing if those are all old versions
<rik> and if so, is the solution to remove the version numbers.
<rik> i haven't dealt with bundlinggems ever.
bjpenn has quit [Ping timeout: 244 seconds]
tvon_ has quit [Remote host closed the connection]
bronson has joined #ruby
tvon has joined #ruby
<drbrain> I think changing "data_mapper" to "dm-core" will get you moving along
ascarter has joined #ruby
<rik> it gets me a new error!
<rik> builder seems to be trying to figure out some constant from the filename
<drbrain> yeah
<rik> rik@puppies:~/gunparts-db% rackup app.rb :(
<rik> /usr/local/lib/ruby/gems/2.1/gems/rack-1.6.4/lib/rack/builder.rb:43:in `const_get': uninitialized constant App (NameError)
<rik> which is got form the filena,e
<drbrain> try rackup config.ru
tvon has quit [Ping timeout: 244 seconds]
<rik> ah
* rik whistles innocently.
<rik> guess what file i was missing
<rik> i don't know what the config.ru is for, either.
<rik> oh hey, WEBrick
<drbrain> it works around the App NameError
terminal_ has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
ruind has quit [Ping timeout: 252 seconds]
<rik> hm.
<rik> i wonder why it's webrick,andnot ... whatever the sinatra exmaples gotme earlier
Didac has joined #ruby
<drbrain> maybe you didn't install thin or whichever other web server you had on ruby 2.0?
<rik> +i suspect so.
ascarter has quit [Ping timeout: 240 seconds]
<rik> hm. no.
<drbrain> you might be able to tell rackup which web server you want to use, try --help
pawnbox has joined #ruby
bezhermoso has quit [Quit: Zzzzz...]
<rik> you can. i'm fialing to cause it to work though
<drbrain> WEBrick is OK
pawnbox has quit [Remote host closed the connection]
<rik> yes, it's just not what i was expecting.
pawnbox has joined #ruby
ascarter has joined #ruby
bezhermoso has joined #ruby
failshell has joined #ruby
<rik> got it!
<drbrain>
trosborn has joined #ruby
pawnbox has quit [Remote host closed the connection]
gix has quit [Ping timeout: 268 seconds]
safe has quit [Quit: Leaving]
hk238 has joined #ruby
failshell has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
<rik> hm
<rik> now i can't require th emodel in an irb session
<rik> irb(main):001:0> require './model'
<rik> NameError: uninitialized constant User::BCryptHash
uglybandersnatch has joined #ruby
<drbrain> you might need to Bundler.require or something like that first
dopie has quit [Quit: Lost terminal]
<rik> yeah. and it changedname.
poerror has joined #ruby
gix has joined #ruby
<rik> hm. no.
mallu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
bezhermoso has quit [Read error: Connection reset by peer]
<rik> aha. yes.
<rik> but i didn' tknow the way to do so before.
<drbrain> so… better?
govg has joined #ruby
bjpenn has joined #ruby
ascarter has quit [Ping timeout: 244 seconds]
poerror has quit [Ping timeout: 244 seconds]
CloCkWeRX has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
blackgoat has joined #ruby
<rik> okay
<rik> success.
<rik> i have an example web app with Sinatra, Warden and DataMapper.
<rik> that is 100% of what I need.
<drbrain> cool
<rik> thank you for all your help.
<drbrain> no problem!
<rik> i would have bashed my head against that for a long time.
ur5us has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
<rik> andnow, the sleeps!
bjpenn has quit [Ping timeout: 250 seconds]
ascarter has joined #ruby
Chagel has quit [Ping timeout: 240 seconds]
moeabdol1 has joined #ruby
yqt has quit [Ping timeout: 250 seconds]
howdoi has joined #ruby
htmldrum has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
bezhermoso has joined #ruby
moeabdol1 has quit [Ping timeout: 250 seconds]
tvw has joined #ruby
CloCkWeRX has joined #ruby
lyoshajapan has joined #ruby
ascarter has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
brent_ has joined #ruby
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fexilal has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cheerio]
tristanp has quit [Read error: Connection reset by peer]
lyoshajapan has quit [Ping timeout: 244 seconds]
tristanp has joined #ruby
mistermocha has joined #ruby
Chagel has joined #ruby
solocshaw has quit [Ping timeout: 276 seconds]
ascarter has joined #ruby
ascarter has quit [Max SendQ exceeded]
neanderslob_ has joined #ruby
neanderslob_ has quit [Read error: Connection reset by peer]
bezhermo_ has joined #ruby
bezhermoso has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
juanca_ has quit []
mistermocha has quit [Ping timeout: 268 seconds]
neanderslob_ has joined #ruby
Moosashi has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
neanderslob_ has quit [Read error: Connection reset by peer]
lyoshajapan has joined #ruby
adgtl has joined #ruby
last_staff has joined #ruby
uglybandersnatch has quit [Ping timeout: 244 seconds]
adgtl has quit [Remote host closed the connection]
Chagel_ has joined #ruby
hxegon has quit [Max SendQ exceeded]
adgtl has joined #ruby
ascarter has quit [Ping timeout: 276 seconds]
tvon has joined #ruby
Chagel has quit [Ping timeout: 244 seconds]
uglybandersnatch has joined #ruby
mistermocha has joined #ruby
Chagel_ has quit [Remote host closed the connection]
Chagel has joined #ruby
tvon has quit [Ping timeout: 244 seconds]
mistermocha has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
ascarter has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
chouhoul_ has quit [Remote host closed the connection]
beergineer has joined #ruby
chouhoulis has joined #ruby
moeabdol1 has joined #ruby
djbkd has joined #ruby
Uber|Dragon has joined #ruby
sauvin has joined #ruby
bjpenn has joined #ruby
Rahul_Roy has joined #ruby
skade has joined #ruby
myntcake has quit [Ping timeout: 250 seconds]
ascarter has quit [Ping timeout: 240 seconds]
moeabdol1 has quit [Ping timeout: 276 seconds]
trosborn has quit [Quit: trosborn]
mary5030 has joined #ruby
Chagel has quit [Remote host closed the connection]
bjpenn has quit [Ping timeout: 252 seconds]
Chagel has joined #ruby
plonk has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
hxegon has joined #ruby
plonk has quit [Read error: Connection reset by peer]
hxegon has quit [Client Quit]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
adgtl has quit [Remote host closed the connection]
<beergineer> why do we need one after the other, seems like both of them create a singleton_methods
a11 has quit [Remote host closed the connection]
hahuang65 has joined #ruby
saneax_AFK is now known as saneax
ascarter has joined #ruby
adgtl has joined #ruby
hahuang61 has quit [Ping timeout: 246 seconds]
x77686d has quit [Quit: x77686d]
tjbiddle has joined #ruby
x77686d has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 248 seconds]
x77686d has quit [Client Quit]
Moosashi has quit [Quit: Moosashi]
hxegon has joined #ruby
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
plonk has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
bricker has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
plonk has quit [Read error: Connection reset by peer]
bklane has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
LoneHermit has joined #ruby
blandflakes has joined #ruby
ascarter has quit [Ping timeout: 248 seconds]
kam270 has joined #ruby
ascarter has joined #ruby
kam270 has quit [Max SendQ exceeded]
blandflakes has quit [Client Quit]
klaas_ is now known as klaas
kam270 has joined #ruby
<shevy> beergineer please write valid ruby code
kam270 has quit [Max SendQ exceeded]
<beergineer> shevy: ?
LoneHermit has quit [Ping timeout: 250 seconds]
kam270 has joined #ruby
bjpenn has joined #ruby
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
bjpenn has quit [Ping timeout: 276 seconds]
beergineer has quit [Quit: Page closed]
crdpink has joined #ruby
ascarter has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
crdpink2 has quit [Ping timeout: 250 seconds]
plonk_ has joined #ruby
plonk_ has joined #ruby
plonk has quit [Read error: Connection reset by peer]
blackgoat has quit [Quit: WeeChat 1.4]
fullofcaffeine has joined #ruby
govg has quit [Read error: Connection reset by peer]
govg has joined #ruby
bklane has quit [Quit: Leaving...]
plonk_ has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
fullofcaffeine has quit [Ping timeout: 248 seconds]
Peanutt has joined #ruby
_djbkd has joined #ruby
skade has joined #ruby
jenrzzz has joined #ruby
pawnbox has quit [Remote host closed the connection]
ascarter has joined #ruby
pawnbox has joined #ruby
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
govg has quit [Ping timeout: 276 seconds]
uglybandersnatch has quit [Ping timeout: 276 seconds]
_djbkd has quit [Ping timeout: 240 seconds]
cpup has quit [Ping timeout: 260 seconds]
intrigueD has joined #ruby
davee_ has joined #ruby
plonk has quit [Read error: Connection reset by peer]
DoubleMalt has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
bjpenn has joined #ruby
cpup has joined #ruby
rrrepsaj has quit [Remote host closed the connection]
ascarter has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 252 seconds]
plonk has quit [Read error: Connection reset by peer]
CloCkWeRX has quit [Remote host closed the connection]
plonk has joined #ruby
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
bjpenn has quit [Ping timeout: 276 seconds]
ascarter has joined #ruby
BaroMeter has joined #ruby
moeabdol1 has joined #ruby
solars has joined #ruby
plonk has joined #ruby
plonk has joined #ruby
poerror has joined #ruby
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
hxegon has quit [Quit: BRB]
moeabdol1 has quit [Ping timeout: 246 seconds]
troulouliou_div2 has joined #ruby
poerror has quit [Ping timeout: 240 seconds]
plonk has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
_ht has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
codecop has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
toretore has quit [Ping timeout: 244 seconds]
uglybandersnatch has joined #ruby
Mon_Ouie has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
tjbiddle has joined #ruby
tjbiddle has quit [Client Quit]
jas02 has joined #ruby
aganov has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has quit [Read error: Connection reset by peer]
mhoungbo has joined #ruby
emesa has joined #ruby
fostertheweb has joined #ruby
bjpenn has joined #ruby
ascarter has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
bjpenn has quit [Ping timeout: 248 seconds]
uglybandersnatch has quit [Ping timeout: 252 seconds]
bezhermo_ has quit [Max SendQ exceeded]
baweaver has quit [Remote host closed the connection]
terlar has joined #ruby
bezhermoso has joined #ruby
uglybandersnatch has joined #ruby
pwnd_nsfw has quit [Read error: Connection reset by peer]
skade has joined #ruby
_blizzy_ has quit [Read error: Connection reset by peer]
scepticulous has joined #ruby
_blizzy_ has joined #ruby
pwnd_nsfw has joined #ruby
kam270 has quit [Ping timeout: 252 seconds]
tristanp_ has joined #ruby
ta_ has quit [Remote host closed the connection]
vdamewood has quit [Quit: Life beckons.]
PaulCapestany has quit [Quit: .]
emilkarl has joined #ruby
BaroMeter has quit [Quit: Leaving]
tesuji has joined #ruby
emilkarl has quit [Client Quit]
tristanp has quit [Ping timeout: 268 seconds]
cold_zero has joined #ruby
rdark has joined #ruby
BtcBen has quit [Ping timeout: 268 seconds]
emilkarl has joined #ruby
amclain has quit [Quit: Leaving]
BtcBen has joined #ruby
BtcBen has quit [Client Quit]
PaulCapestany has joined #ruby
djbkd has quit [Remote host closed the connection]
emilkarl has quit [Client Quit]
emilkarl has joined #ruby
bigkevmcd has joined #ruby
djbkd has joined #ruby
liquid-silence has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
liquid-silence has quit [Changing host]
liquid-silence has joined #ruby
ascarter has quit [Ping timeout: 252 seconds]
Xiti has quit [Quit: Xiti]
rrrepsaj has joined #ruby
bezhermoso has quit [Ping timeout: 250 seconds]
djbkd has quit [Ping timeout: 246 seconds]
bezhermoso has joined #ruby
ohaibbq has quit [Quit: Leaving...]
firstdayonthejob has joined #ruby
roshanavand has joined #ruby
siaw has joined #ruby
tvon has joined #ruby
bjpenn has joined #ruby
bronson has joined #ruby
lxsameer has joined #ruby
fostertheweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cheerio]
ascarter has joined #ruby
bjpenn has quit [Ping timeout: 244 seconds]
tvon has quit [Ping timeout: 244 seconds]
intrigueD has quit [Remote host closed the connection]
Chagel has quit [Remote host closed the connection]
adgtl has quit [Remote host closed the connection]
roshanavand has quit [Quit: This computer has gone to sleep]
Xeago has joined #ruby
roshanavand has joined #ruby
poerror has joined #ruby
cold_zero has quit [Ping timeout: 244 seconds]
Abrin_AWAY has quit [Ping timeout: 244 seconds]
liquid-silence has quit [Read error: Connection reset by peer]
Chagel has joined #ruby
fexilal has joined #ruby
ropeney has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
skade has quit [Ping timeout: 248 seconds]
kam270 has joined #ruby
poerror has quit [Ping timeout: 260 seconds]
bjpenn has joined #ruby
RegulationD has joined #ruby
skade has joined #ruby
kam270 has quit [Max SendQ exceeded]
kam270 has joined #ruby
uglybandersnatch has quit [Ping timeout: 244 seconds]
Don_John has quit [Read error: Connection reset by peer]
zz_denym_ is now known as denym_
yardenbar has joined #ruby
roshanavand has quit [Quit: This computer has gone to sleep]
cold_zero has joined #ruby
bjpenn has quit [Ping timeout: 260 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
<yardenbar> Hi all, I'm getting "Can't create Java VM" when invoking OpenNLP.load, can anyone comment on the memory requirements of this library?
jaruga has joined #ruby
siaw has quit [Quit: siaw]
avelldiroll has quit [Quit: WeeChat 1.0.1]
terlar has quit [Quit: WeeChat 1.4]
terlar has joined #ruby
riotjones has joined #ruby
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
lyoshajapan has quit [Remote host closed the connection]
biberu has joined #ruby
<adaedra> Hello
skade has quit [Read error: Connection reset by peer]
biberu has quit [Client Quit]
bjpenn has joined #ruby
biberu has joined #ruby
skade has joined #ruby
atmosx has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
denym_ has quit [Remote host closed the connection]
kam270 has quit [Ping timeout: 244 seconds]
aufi has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Xeago has quit [Read error: Connection reset by peer]
bjpenn has quit [Ping timeout: 250 seconds]
Peanutt has quit [Quit: HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!]
leksster has joined #ruby
avelldiroll has joined #ruby
mary5030 has quit [Ping timeout: 248 seconds]
terminal_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ascarter has quit [Ping timeout: 260 seconds]
nerium has joined #ruby
steffkes has joined #ruby
steffkes has quit [Changing host]
steffkes has joined #ruby
vondruch_ is now known as vondruch
pawnbox has quit [Remote host closed the connection]
andikr has joined #ruby
pawnbox has joined #ruby
lyoshajapan has joined #ruby
gamov has quit [Quit: gamov]
agit0 has joined #ruby
ascarter has joined #ruby
symm- has joined #ruby
lyoshajapan has quit [Client Quit]
bjpenn has joined #ruby
mark2 has joined #ruby
ta_ has joined #ruby
kam270 has joined #ruby
patrick_star has joined #ruby
SkepBrain has joined #ruby
bjpenn has quit [Ping timeout: 264 seconds]
tomphp has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
aupadhye has quit [Ping timeout: 248 seconds]
Spami has joined #ruby
ascarter has quit [Ping timeout: 268 seconds]
moeabdol1 has joined #ruby
tomphp has quit [Max SendQ exceeded]
Xeago has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
firstdayonthejob has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
nerium has quit [Quit: nerium]
tvon has joined #ruby
ta_ has quit [Remote host closed the connection]
moeabdol1 has quit [Ping timeout: 260 seconds]
qhp_ has quit [Ping timeout: 240 seconds]
nerium has joined #ruby
jenrzzz has joined #ruby
ascarter has joined #ruby
lele has quit [Ping timeout: 260 seconds]
chipotle has joined #ruby
tomphp has joined #ruby
cold_zero has quit [Ping timeout: 244 seconds]
maner has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
lele has joined #ruby
tvon has quit [Ping timeout: 244 seconds]
failshell has joined #ruby
DoubleMalt has quit [Ping timeout: 248 seconds]
tomphp has quit [Client Quit]
adgtl has joined #ruby
tomphp has joined #ruby
merida has joined #ruby
failshell has quit [Ping timeout: 244 seconds]
DoubleMalt has joined #ruby
mikecmpbll has joined #ruby
AlexRussia has quit [Ping timeout: 248 seconds]
SCHAAP137 has joined #ruby
adgtl has quit [Ping timeout: 244 seconds]
anisha has joined #ruby
nerium has quit [Quit: nerium]
RegulationD has joined #ruby
nerium has joined #ruby
qhp has joined #ruby
ziyadb has joined #ruby
kiidbrian has joined #ruby
elaptics`away is now known as elaptics
nerium has quit [Client Quit]
RegulationD has quit [Ping timeout: 252 seconds]
vondruch has quit [Quit: Ex-Chat]
vondruch has joined #ruby
niksrc has joined #ruby
chipotle has quit [Quit: cheerio]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
igam has joined #ruby
bjpenn has joined #ruby
roshanavand has joined #ruby
chipotle has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
bronson has joined #ruby
roshanavand has quit [Client Quit]
aupadhye has joined #ruby
bjpenn has quit [Ping timeout: 248 seconds]
blandflakes has joined #ruby
ascarter has quit [Ping timeout: 240 seconds]
siaw has joined #ruby
adgtl has joined #ruby
blandflakes has quit [Client Quit]
lxsameer has quit [Ping timeout: 276 seconds]
roshanavand has joined #ruby
shredding has joined #ruby
trosborn has joined #ruby
baweaver has joined #ruby
roshanavand has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
tomphp has joined #ruby
ascarter has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
cold_zero has joined #ruby
cold_zero has quit [Client Quit]
darkf has quit [Quit: Leaving]
anisha has quit [Quit: Leaving]
poerror has joined #ruby
trosborn has quit [Quit: trosborn]
vdamewood has joined #ruby
blackgoat has joined #ruby
Couch has joined #ruby
pawnbox has joined #ruby
bollullera has joined #ruby
_blizzy_ has quit [Quit: Leaving]
the_drow has joined #ruby
flughafen has joined #ruby
poerror has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
_joes__ has joined #ruby
chipotle has quit [Quit: cheerio]
chipotle has joined #ruby
lxsameer has joined #ruby
graffix has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
graffix has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
trosborn has joined #ruby
skade has joined #ruby
Mon_Ouie has quit [Ping timeout: 250 seconds]
anisha has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has quit [Remote host closed the connection]
binaryplease has joined #ruby
sepp2k has joined #ruby
Eaven has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ascarter has quit [Ping timeout: 244 seconds]
mrgrieves has joined #ruby
watersoul has joined #ruby
n008f4g_ has joined #ruby
davee_ has quit [Quit: Leaving]
Eaven has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
jas02 has quit [Quit: jas02]
watersoul_ has quit [Ping timeout: 276 seconds]
polysics has joined #ruby
jas02 has joined #ruby
Chagel has quit [Remote host closed the connection]
ta_ has joined #ruby
Gasher has joined #ruby
ascarter has joined #ruby
workmad3 has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
jas02 has quit [Ping timeout: 248 seconds]
chipotle has quit [Quit: cheerio]
jud has quit [Quit: Leaving]
Chagel has joined #ruby
bjpenn has joined #ruby
duncannz has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 244 seconds]
last_staff has quit [Quit: last_staff]
nfk|laptop has joined #ruby
haraoka has quit [Ping timeout: 276 seconds]
LoneHermit has joined #ruby
roshanavand has joined #ruby
bollullera has quit [Ping timeout: 276 seconds]
ur5us has quit [Remote host closed the connection]
andrewvos has joined #ruby
uglybandersnatch has joined #ruby
bjpenn has quit [Ping timeout: 244 seconds]
nettoweb has joined #ruby
roshanavand has quit [Client Quit]
Chagel has quit [Remote host closed the connection]
ascarter has quit [Ping timeout: 244 seconds]
LoneHermit has quit [Remote host closed the connection]
trosborn has quit [Quit: trosborn]
evidex has joined #ruby
uglybandersnatch has quit [Ping timeout: 252 seconds]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
mdw has joined #ruby
jas02 has joined #ruby
ascarter has joined #ruby
jas02 has quit [Read error: Connection reset by peer]
siaw has left #ruby [#ruby]
vondruch has quit [Remote host closed the connection]
jas02 has joined #ruby
bjpenn has joined #ruby
trosborn has joined #ruby
mdw has quit [Client Quit]
roshanavand has joined #ruby
mdw has joined #ruby
mdw has quit [Client Quit]
Trynemjoel has joined #ruby
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tvw has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
roshanavand has quit [Quit: This computer has gone to sleep]
trosborn has quit [Quit: trosborn]
Chagel has joined #ruby
sdothum has joined #ruby
mahk has joined #ruby
gbgdev has joined #ruby
merida_ has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
ponga has joined #ruby
roshanavand has joined #ruby
merida has quit [Ping timeout: 264 seconds]
rdark has quit [Ping timeout: 244 seconds]
ascarter has joined #ruby
moeabdol1 has joined #ruby
FooMunki has joined #ruby
jas02 has quit [Ping timeout: 244 seconds]
s00pcan_ has quit [Remote host closed the connection]
s00pcan_ has joined #ruby
Meow_J has joined #ruby
merida_ has quit [Remote host closed the connection]
nfk|laptop has quit [Quit: yawn]
merida has joined #ruby
rrrepsaj has quit [Remote host closed the connection]
moeabdol1 has quit [Ping timeout: 276 seconds]
Meow_J has quit [Client Quit]
s00pcan__ has joined #ruby
s00pcan_ has quit [Read error: Connection reset by peer]
s00pcan__ has quit [Remote host closed the connection]
s00pcan_ has joined #ruby
roshanavand has quit [Quit: This computer has gone to sleep]
Azure has joined #ruby
FooMunki has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Snowy has joined #ruby
jas02 has joined #ruby
ascarter has quit [Ping timeout: 260 seconds]
adgtl has quit [Remote host closed the connection]
adgtl has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
roshanavand has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
stannard has joined #ruby
jas02 has quit [Quit: jas02]
Eaven has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
tvon has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
stannard has quit [Ping timeout: 240 seconds]
Pupp3tm4st3r has joined #ruby
ta_ has joined #ruby
skade has joined #ruby
failshell has joined #ruby
rodfersou has joined #ruby
tvon has quit [Ping timeout: 260 seconds]
moeabdol1 has joined #ruby
nerium has joined #ruby
mrgrieves has left #ruby [#ruby]
emilkarl is now known as emilkarl[away]
mrgrieves has joined #ruby
failshell has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
anisha has quit [Ping timeout: 260 seconds]
nerium has quit [Quit: nerium]
sysodaff has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
mikar has joined #ruby
vondruch has joined #ruby
binaryplease has joined #ruby
audiodude has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
merida has quit [Remote host closed the connection]
ta_ has joined #ruby
merida has joined #ruby
c355e3b has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
audiodude has joined #ruby
Cork has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
last_staff has joined #ruby
chipotle has joined #ruby
trinaldi has joined #ruby
vdamewood has quit [Quit: Life beckons.]
davedev24 has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
adgtl has quit [Remote host closed the connection]
jaiks1 has joined #ruby
flughafen_ has joined #ruby
flughafen has quit [Read error: Connection reset by peer]
Cork has joined #ruby
s00pcan has quit [Ping timeout: 264 seconds]
jxs__ has joined #ruby
flughafen has joined #ruby
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 268 seconds]
pawnbox has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
marr has joined #ruby
jaiks has quit [Ping timeout: 248 seconds]
jaiks1 has quit [Ping timeout: 240 seconds]
ferr has joined #ruby
flughafen_ has quit [Ping timeout: 248 seconds]
htmldrum has quit [Ping timeout: 276 seconds]
Chagel has quit [Ping timeout: 244 seconds]
htmldrum has joined #ruby
rrrepsaj has joined #ruby
trosborn has joined #ruby
mja has joined #ruby
steffkes has quit [Ping timeout: 268 seconds]
anisha has joined #ruby
Tempesta has quit [Quit: AdiIRC is updating to v2.3 Beta Build (2016/03/15) 32 Bit]
Tempesta has joined #ruby
pawnbox has quit [Remote host closed the connection]
shredding has quit [Remote host closed the connection]
shredding has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
adgtl has joined #ruby
s00pcan has joined #ruby
baweaver has joined #ruby
roshanavand has quit [Quit: This computer has gone to sleep]
johnmilton has joined #ruby
Jackneill has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
blackmesa has quit [Ping timeout: 268 seconds]
pawnbox has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
maner has quit [Remote host closed the connection]
mikeiniowa has quit [Remote host closed the connection]
mikeiniowa has joined #ruby
poerror has joined #ruby
trosborn has quit [Quit: trosborn]
duckpuppy has joined #ruby
vondruch has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 276 seconds]
nerium has joined #ruby
roshanavand has joined #ruby
uglybandersnatch has joined #ruby
sysodaff has quit [Remote host closed the connection]
maner has joined #ruby
DoubleMalt has joined #ruby
[afk]chocoelho is now known as chocoelho
ldnunes has joined #ruby
adgtl has quit [Remote host closed the connection]
htmldrum has quit [Ping timeout: 250 seconds]
aupadhye has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
mdih has quit [Ping timeout: 264 seconds]
shredding has quit [Ping timeout: 246 seconds]
tvw has joined #ruby
vondruch has joined #ruby
plonk has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
chipotle has quit [Quit: cheerio]
but3k4 has joined #ruby
plonk has quit [Read error: Connection reset by peer]
workmad3_ has joined #ruby
gbgdev has quit [Remote host closed the connection]
nerium has quit [Quit: nerium]
ta_ has joined #ruby
djbkd has joined #ruby
jas02 has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
sysodaff has joined #ruby
minimalism has quit [Quit: minimalism]
davedev24 has joined #ruby
kam270 has quit [Quit: Leaving]
y0da has joined #ruby
but3k4 has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 244 seconds]
chocoelho is now known as [afk]chocoelho
davedev2_ has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
tvon has joined #ruby
ta_ has quit [Remote host closed the connection]
sysodaff has quit [Remote host closed the connection]
pawnbox has joined #ruby
emilkarl[away] is now known as emilkarl
bezhermoso has quit [Ping timeout: 248 seconds]
plonk has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
failshell has joined #ruby
plonk has joined #ruby
adgtl has joined #ruby
adgtl has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
tvon has quit [Ping timeout: 244 seconds]
aupadhye has joined #ruby
plonk has quit [Read error: Connection reset by peer]
plonk_ has joined #ruby
plonk_ has quit [Changing host]
plonk_ has joined #ruby
failshell has quit [Ping timeout: 268 seconds]
plonk_ has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
jottr has joined #ruby
dionysus69 has joined #ruby
BSaboia has joined #ruby
joonty has joined #ruby
moos3 has joined #ruby
tvw has quit [Remote host closed the connection]
andrewvos has quit [Ping timeout: 240 seconds]
maner has quit [Ping timeout: 248 seconds]
moeabdol2 has joined #ruby
pawnbox has quit [Remote host closed the connection]
mhoungbo_ has joined #ruby
pawnbox has joined #ruby
Xeago has joined #ruby
ascarter has joined #ruby
workmad3_ is now known as workmad3
moeabdol1 has quit [Ping timeout: 248 seconds]
tesuji has quit [Read error: Connection reset by peer]
ascarter has quit [Max SendQ exceeded]
mhoungbo has quit [Ping timeout: 276 seconds]
synthroid has joined #ruby
nfk|laptop has joined #ruby
bezhermoso has joined #ruby
freakcoder has joined #ruby
mikecmpbll has quit [Ping timeout: 260 seconds]
poerror has quit [Ping timeout: 246 seconds]
ta_ has joined #ruby
Rickmasta has joined #ruby
Rickmasta has quit [Client Quit]
uglybandersnatch has quit [Ping timeout: 264 seconds]
bezhermoso has quit [Ping timeout: 276 seconds]
mahk has quit [Ping timeout: 276 seconds]
zapata has quit [Quit: WeeChat 1.4]
davedev24 has quit [Remote host closed the connection]
andrewvos has joined #ruby
zapata has joined #ruby
jolts has quit [Ping timeout: 252 seconds]
<gregf_> hmm, very quiet nowadays. is there a a rubyconf going on everywhere?
<apeiros> na
<apeiros> ruby is just too easy
<apeiros> nobody got questions
<gregf_> heh :)
<workmad3> we've solved all the problems! time to go home
bronson has joined #ruby
<gregf_> haha, *doesn't think that will ever be the case as long as there are computers* *hides*
saneax is now known as saneax_AFK
<flughafen> yay!
tk__ has joined #ruby
tk___ has joined #ruby
<workmad3> gregf_: that's the solution! destroy all the computers
blackmesa has joined #ruby
poerror has joined #ruby
<flughafen> i bet that alpha thing that beat the go champion was written in ruby because it was so awesome.
rrrepsaj has quit [Remote host closed the connection]
Ishido has joined #ruby
<gregf_> workmad3: true, but majority of the problems are by humand that write code ;)
tk__ has quit [Client Quit]
<apeiros> gregf_: s/computers/humans/
<gregf_> *humans
<apeiros> we're awesome at coming up (or creating) new problems
<workmad3> flughafen: you mean AlphaGo?
failshell has joined #ruby
<workmad3> flughafen: it lost a game, so obviously it wasn't a ruby program :)
merida_ has joined #ruby
rrrepsaj has joined #ruby
last_staff has quit [Quit: last_staff]
vondruch has quit [Remote host closed the connection]
<flughafen> hacked together with lisp?
<flughafen> or perl
merida has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
uglybandersnatch has joined #ruby
vondruch has joined #ruby
merida_ has quit [Read error: Connection reset by peer]
merida has joined #ruby
jyaworski has joined #ruby
<igam> flughafen: perl what? Who still uses perl? Is there even legacy perl scripts remaining anywhere?
<flughafen> igam: yes.
binaryplease has quit [Ping timeout: 252 seconds]
<flughafen> it was a reference to that xkcd comic
uglybandersnatch has quit [Ping timeout: 240 seconds]
<igam> My point here is that in 20 years, you'll still be doing Lisp, perl will be entirely forgotten. And python and ruby either will be forgotten, or will have changed so unrecognizably you can as well consider them read right now.
<igam> I can guarantee you that the lisp programs I write today will still be runnable in Lisp in 40 years. I'm sure perl or ruby programs I wrote a few years ago don't even run anymore on current installations of ruby (and perl is not installed on my system anyways).
siaw_ has joined #ruby
blackmesa has joined #ruby
<igam> I'm just mentionning thins because the other meme in this xkcd quote is that of eternity…
<gregf_> igam: dont be so sure about programming languages :| *i can understand is you say 'Lisp' as a hobby*
<gregf_> s/is/if/
blackgoat has quit [Quit: WeeChat 1.4]
freakcoder1 has joined #ruby
freakcoder has quit [Ping timeout: 250 seconds]
<igam> gregf_, I don't know about hobby; several lisp startups have been bought for hundreds or thousands of millions by companies like yahoo or google…
<igam> We only know a few, like ViaWeb -> Yahoo, and ITA Software -> Google, but there are probably more.
siaw_ has quit [Ping timeout: 260 seconds]
sysodaff_ has joined #ruby
y0da has quit [Ping timeout: 240 seconds]
tristanp_ has quit [Read error: Connection reset by peer]
adgtl has quit [Remote host closed the connection]
tristanp has joined #ruby
adgtl has joined #ruby
plonk_ has joined #ruby
plonk_ has joined #ruby
jyaworski_ has joined #ruby
workmad3 is now known as wm3|away
plonk has quit [Read error: Connection reset by peer]
jyaworski has quit [Ping timeout: 248 seconds]
jyaworski_ is now known as jyaworski
sysodaff_ has quit [Remote host closed the connection]
sysodaff_ has joined #ruby
merida_ has joined #ruby
adgtl has quit [Ping timeout: 276 seconds]
skade has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
but3k4 has joined #ruby
merida has quit [Ping timeout: 248 seconds]
<gregf_> i dont mind working on list, if it helps me pay my bills :)
sysodaff_ has quit [Remote host closed the connection]
<gregf_> er, Lisp thats was
<gregf_> *that
swills has quit [Ping timeout: 260 seconds]
merida_ has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 252 seconds]
<gregf_> haha, startups reminds me of ........ https://twitter.com/DesignUXUI/status/699665090795077632 *this*
<gregf_> *remind
pawnbox has quit [Remote host closed the connection]
<dionysus69> what is a ruby path used by rvm??
solars has quit [Ping timeout: 244 seconds]
ramortegui has joined #ruby
ramortegui has quit [Read error: Connection reset by peer]
hs366 has joined #ruby
Xentil has joined #ruby
aryaching has joined #ruby
linoj has joined #ruby
aegis3121 has joined #ruby
plonk_ has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Computer has gone to sleep.]
freakcoder1 has quit [Quit: Leaving.]
plonk has joined #ruby
plonk has joined #ruby
ledestin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> dionysus69 rvm should sit in your home dir
bjpenn has quit [Ping timeout: 246 seconds]
<dionysus69> yes it does but where is ruby executable inside it?
<shevy> must be in the bin/ subdirectory
fostertheweb has joined #ruby
skade has joined #ruby
bezhermoso has joined #ruby
<dionysus69> shevy: /home/webgen/.rvm/rubies/ruby-2.2.1/bin/ruby does this sound legit? ruby in the end being exe itself?
jyaworski has quit [Ping timeout: 244 seconds]
ledestin has joined #ruby
aupadhye has quit [Quit: Leaving]
failshell has quit []
<shevy> yeah
TvL2386 has joined #ruby
<dionysus69> ok cool thanks shevy x)
<apeiros> dionysus69: it's easy to verify?
<apeiros> I mean, go to the directory and check the filetype…
skade has quit [Client Quit]
<shevy> dionysus69 you can think of this as having been compiled with: ./configure --prefix=/home/webgen/.rvm/rubies/ruby-2.2.1/ as prefix; from there, it has all the relative subdirectories ... bin/ lib/ and some more
<dionysus69> You've set the `passenger_ruby` option to '/home/webgen/.rvm/rubies/ruby-2.2.1/bin/ruby'. However, because you are using RVM, this is not allowed: the option must point to an RVM wrapper script, not a raw Ruby binary
<dionysus69> I am dealing with passenger atm
bezhermoso has quit [Ping timeout: 244 seconds]
<shevy> hmmmmm
<shevy> very weird error message
<dionysus69> this is http server choking
<shevy> "You must kill a cat before you may use this software."
rrrepsaj has quit [Remote host closed the connection]
<dionysus69> so I guess i ll look for the wrapper
Uber|Dragon has quit [Ping timeout: 244 seconds]
<shevy> They don't like "raw ruby binaries" - perhaps you need to coat it with sugar and a xmas box :)
<dionysus69> ok I found some weird way Finally, invoke passenger-config with its full path, passing --ruby-command as parameter:
<dionysus69> The output tells you what value to set.
joonty has quit [Ping timeout: 260 seconds]
joneshf-laptop has joined #ruby
<apeiros> the reason is iirc explained - rvm sets up the environment for you. using the raw executable won't do that.
rrrepsaj has joined #ruby
nerium has joined #ruby
avahey has joined #ruby
<apeiros> hence you need a wrapper if you use an rvm ruby via anything else than a login shell of the rvm user.
gbgdev has joined #ruby
binaryplease has joined #ruby
<dionysus69> this should be the value /home/webgen/.rvm/gems/ruby-2.2.1/wrappers/ruby
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
<shevy> cool
<shevy> the latter is a shell script?
[afk]chocoelho is now known as chocoelho
fostertheweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdothum has quit [Read error: Connection reset by peer]
fostertheweb has joined #ruby
chocoelho is now known as [afk]chocoelho
sdothum has joined #ruby
<dionysus69> dunno didnt check
<dionysus69> one sek
ruind has joined #ruby
[afk]chocoelho is now known as chocoelho
<dionysus69> but it works, now I am at the rails error finally
chocoelho is now known as [afk]chocoelho
mhoungbo_ has quit [Ping timeout: 248 seconds]
<dionysus69> shevy: http://pastebin.com/b7HW1z5J
<ruby[bot]> dionysus69: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/86a6af0efa55bb1fae41
<ruby[bot]> dionysus69: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
davedev24 has joined #ruby
<shevy> yeah a shell script
<shevy> sourcing another shell script :)
<dionysus69> ye gist has its own downsides. I sometimes dont want it to save all the puke stuff I want to paste
<andrewvos> CTRL+SHIFT+N
cdg has joined #ruby
<dionysus69> ctrl+shift+p for me but still
malconis has joined #ruby
resin has joined #ruby
<adaedra> You can delete gists also.
poerror has quit [Ping timeout: 260 seconds]
<shevy> that's an extra click!
fostertheweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pwnd_nsfw` has joined #ruby
davedev24 has quit [Ping timeout: 248 seconds]
jrafanie has joined #ruby
[afk]chocoelho is now known as chocoelho
evidex has quit [Read error: Connection reset by peer]
evidex has joined #ruby
Some-body_ has joined #ruby
DarthGandalf has quit [Ping timeout: 240 seconds]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
Some-body_ is now known as DarthGandalf
sergey_makagon has joined #ruby
TomyLobo has joined #ruby
jkahn has quit [Ping timeout: 268 seconds]
chocoelho is now known as [afk]chocoelho
mhoungbo_ has joined #ruby
AlexRussia has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
joneshf-laptop has quit [Quit: Leaving]
`tim` has joined #ruby
decoponio has joined #ruby
poerror has joined #ruby
[afk]chocoelho is now known as chocoelho
jxs__ has quit [Ping timeout: 240 seconds]
infra-red has joined #ruby
Chagel has joined #ruby
eurialo has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
chocoelho is now known as [afk]chocoelho
kenichi_ is now known as kenichi
ponga has quit []
solars has joined #ruby
anagha_ has joined #ruby
joonty has joined #ruby
skade has joined #ruby
djbkd has joined #ruby
graffix has quit [Ping timeout: 276 seconds]
jyaworski has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
bricker has joined #ruby
resin has quit [Quit: Lost terminal]
pawnbox has joined #ruby
<dionysus69> ye seriously I had 100 gists accumulated and I spend 10 minutes deleting them
_RG has joined #ruby
liquid-silence has joined #ruby
liquid-silence has joined #ruby
<dionysus69> around 3 clicks per deleted gist
htmldrum has joined #ruby
tvon has joined #ruby
djbkd has quit [Ping timeout: 250 seconds]
floatingpoint has joined #ruby
joneshf-laptop has joined #ruby
<shevy> yeah, I gave up on that, the old ones just linger now
jxs__ has joined #ruby
tvon has quit [Remote host closed the connection]
tvon has joined #ruby
vikas027 has joined #ruby
ta_ has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 244 seconds]
CloCkWeRX has joined #ruby
bronson has joined #ruby
[afk]chocoelho is now known as chocoelho
tjbiddle has joined #ruby
htmldrum has quit [Ping timeout: 252 seconds]
Guest57 has joined #ruby
<apeiros> dionysus69: huh? it's one click per gist + 1 additional about every 10 to "turn the page"
chocoelho is now known as [afk]chocoelho
<apeiros> oh, no, right, you have to click to get into the gist, so 2 clicks per gist.
graffix has joined #ruby
SkepBrain has quit [Quit: Konversation terminated!]
whippythellama has joined #ruby
mfaeh has joined #ruby
liquid-silence has quit [Read error: Connection reset by peer]
_RG has quit [Quit: Textual IRC Client: www.textualapp.com]
maner has joined #ruby
ta_ has joined #ruby
vikas027 has left #ruby ["Textual IRC Client: www.textualapp.com"]
wm3|away is now known as workmad3
ruind has quit [Ping timeout: 276 seconds]
<dionysus69> ye and then you have to confirm that you really want to delete the gist :D
linoj has quit [Quit: linoj]
Pupp3tm4_ has joined #ruby
Pupp3tm4st3r has quit [Ping timeout: 248 seconds]
<apeiros> ok, you win. 3 clicks.
aryaching_ has joined #ruby
<dionysus69> :D
aryaching has quit [Ping timeout: 240 seconds]
pwnd_nsfw` has quit [Read error: Connection reset by peer]
ruind has joined #ruby
saneax_AFK is now known as saneax
<atmosx> System Information: Model: MacBook Air (13-inch, Mid-2011)
<atmosx> hm
plonk has quit [Read error: Connection reset by peer]
pwnd_nsfw` has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
griffindy has joined #ruby
tvon has quit [Remote host closed the connection]
plonk has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
tvon has joined #ruby
plonk_ has joined #ruby
plonk has quit [Read error: Connection reset by peer]
plonk_ has quit [Read error: Connection reset by peer]
andrewvos has quit [Ping timeout: 252 seconds]
plonk has joined #ruby
plonk has joined #ruby
nerium has quit [Quit: nerium]
plonk has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
idle_task has joined #ruby
<shevy> you became a macster!
<shevy> atmosx are you still working in pharmacy btw?
idletask has quit [Ping timeout: 260 seconds]
<atmosx> shevy: no, I work as sysadmin now
<atmosx> shevy: devops/sysadmin whatever people call it these days, I admin systems and write code, depending on the task.
bkxd has joined #ruby
<atmosx> shevy: you?
tvon has quit [Ping timeout: 244 seconds]
plonk has quit [Read error: Connection reset by peer]
joneshf-laptop has quit [Remote host closed the connection]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
nerium has joined #ruby
<TomyLobo> atmos? you're gonna kill everyone with poisonous gas are you?
plonk has quit [Read error: Connection reset by peer]
fostertheweb has joined #ruby
infra-red has quit [Remote host closed the connection]
Hammy_Work has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
fostertheweb has quit [Client Quit]
moeabdol2 has quit [Ping timeout: 244 seconds]
<shevy> atmosx nah still doing crapton of weird exams, next ones upcoming are one about plant ultrastructure (electron microscopy, fine structure of cells) and a boring one about physics in agriculture, like how much force to apply or energy to use as expenditure to move some stupid hydraulic valves and objects and thermocalculations bla bla bla
igam has quit [Remote host closed the connection]
<EdwardIII> array.map {|v| "string" => v } isn't valid syntax? i want to convert ['a', ...] into ['string' => 'a', ...]
infra-red has joined #ruby
Rutix has quit []
<shevy> what is "string" => v
<shevy> it seems as if you want a hash but you don't use {}
<EdwardIII> i want an array of hashes
<TomyLobo> so add {}
<shevy> how do hashes look :)
<EdwardIII> ok, done - but in some places ruby seems to just dwim
ta_ has quit [Remote host closed the connection]
<EdwardIII> in regards to this
<TomyLobo> array.map {|v| {"string" => v} }
<TomyLobo> i think
<EdwardIII> e.g. ['a' => 'b']
igam has joined #ruby
<shevy> well
<shevy> ruby allows you to be lazy
infra-red has quit [Read error: Connection reset by peer]
<TomyLobo> i try to avoid being lazy
<shevy> but the last one becomes: ['a' => 'b'] # => [{"a"=>"b"}]
<TomyLobo> doesnt make it easier for the next person to read
infra-red has joined #ruby
<shevy> yeah. don't become too lazy EdwardIII!
bricker has quit [Ping timeout: 244 seconds]
<havenwood> Or do. Automate everything. It's a nice programmer virtue!
<EdwardIII> i'm thirsty for berevity
<EdwardIII> and a spellchecker
<TomyLobo> thirsty for being bereaved?
<EdwardIII> RIP drinks
<havenwood> EdwardIII: `Hash['a', 'b']` or `['a', 'b'].each_slice(2).to_a`
plonk has quit [Read error: Connection reset by peer]
plonk_ has joined #ruby
plonk_ has joined #ruby
plonk_ has quit [Read error: Connection reset by peer]
<havenwood> to_h*
plonk has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has quit [Read error: Connection reset by peer]
binaryplease has quit [Ping timeout: 250 seconds]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
<EdwardIII> havenwood: i think the rigth approach is to use {} here
<EdwardIII> havenwood: the outcome i wanted was [{'a' => 'b'}]
plonk has joined #ruby
<havenwood> EdwardIII: Oh!
plonk has quit [Read error: Connection reset by peer]
<EdwardIII> those are interesting though, thanks!
tomatoes has joined #ruby
davedev24 has joined #ruby
plonk has joined #ruby
plonk has joined #ruby
merida has joined #ruby
plonk has quit [Read error: Connection reset by peer]
<shevy> EdwardIII you are thirsty for beverage?
andrewvos has joined #ruby
<shevy> or thirty for brevity
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
Rutix has joined #ruby
Rutix has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
<TomyLobo> is foo.bar[baz] (foo.bar[baz]) or foo.bar([baz])?
<EdwardIII> shevy: often both
<TomyLobo> is foo.bar[baz] (foo.bar)[baz] or foo.bar([baz])?
Contigi has quit [Ping timeout: 248 seconds]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
<TomyLobo> shevy, i think he is thirty-four beverages
plonk has quit [Read error: Connection reset by peer]
plonk_ has joined #ruby
plonk_ has quit [Changing host]
plonk_ has joined #ruby
plonk_ has quit [Read error: Connection reset by peer]
bry4n_ has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
solars has quit [Ping timeout: 246 seconds]
binaryplease has joined #ruby
<EdwardIII> one little thing that's got me thinking, sometimes method_name! seems to denote it's going to change state, but sometimes it seems to denote it might throw an exception rather than just return nil?
<TomyLobo> and i seriously hope it's (foo.bar)[baz] and that that isn't whitespace-dependent
ta_ has joined #ruby
<TomyLobo> otherwise that would be very confusing
<TomyLobo> EdwardIII, ! means it changes state, in all cases i have seen so far
<TomyLobo> that's not saying much, though
<aegis3121> Typically for activeRecord it indicates it will throw an error
<EdwardIII> well the big one i've seen is a_model.save! if you want it throw exceptions on validation errors
<aegis3121> more or less, I always think of a `!` as indicating: "I might do something you don't expect, be alert!"
<EdwardIII> heh
moeabdol has joined #ruby
poerror has quit [Ping timeout: 244 seconds]
<aegis3121> mutate is a good rule-of-thumb, but not all mutating methods indicate with a `!` so I don't like to rely on that.
tk___ has quit [Quit: ばいばい]
plonk has quit [Read error: Connection reset by peer]
GreyHands has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
<EdwardIII> this is going to expose me as an absolutely crappy programmer but... should i be worried about mutating from a thread-safe perspective? unless the objects/vars i'm working with are global i should be ok right?
<canton7> typically "bang" methods only ever exist when there's a corresponding "non-bang " variant. The bang variant is more likely to do something unexpected: mutate, throw an exception, etc, so be aware
<TomyLobo> EdwardIII, globalness is the wrong criterion
<EdwardIII> maybe "shared resource" is better criterion?
<TomyLobo> availability to concurrently running threads is a better one
fullofcaffeine has joined #ruby
freerobby has quit [Quit: Leaving.]
plonk has quit [Read error: Connection reset by peer]
plonk_ has joined #ruby
plonk_ has quit [Changing host]
plonk_ has joined #ruby
krz has quit [Ping timeout: 250 seconds]
plonk_ has quit [Read error: Connection reset by peer]
infra-red has quit [Read error: Connection reset by peer]
mhoungbo_ has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
infra-red has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
hxegon has joined #ruby
ruind has quit [Ping timeout: 244 seconds]
plonk has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
<apeiros> TomyLobo: as per matz himself, all ! means is "be careful"
<apeiros> but in core it's (afaik) only ever used in the paired form of non-mutating/mutating
<apeiros> !fixcon plonk
plonk was kicked from #ruby by ruby[bot] [repeated join/part detected]
anisha has quit [Quit: This computer has gone to sleep]
lxsameer has quit [Ping timeout: 240 seconds]
<EdwardIII> righty-ho then
<canton7> the bot made almost as much noise as plonk :P
GreyHands has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest57 has quit [Ping timeout: 260 seconds]
cpup has quit [Ping timeout: 240 seconds]
gbgdev has quit [Remote host closed the connection]
cpup has joined #ruby
baweaver has joined #ruby
<apeiros> canton7: you should go see an opticien
bjpenn has joined #ruby
bricker has joined #ruby
<TomyLobo> from my perspective the bot made more noise :)
<shevy> actually
<TomyLobo> (i have joins/quits hidden)
<shevy> I only saw the bot action, this is the first time I read plonk :-)
tp_ has quit [Remote host closed the connection]
jyaworski_ has joined #ruby
jyaworski has quit [Ping timeout: 240 seconds]
jyaworski_ is now known as jyaworski
jyaworski has quit [Client Quit]
tp_ has joined #ruby
bjpenn has quit [Ping timeout: 246 seconds]
steffkes has joined #ruby
Chagel has quit [Ping timeout: 248 seconds]
blandflakes has joined #ruby
bricker has quit [Ping timeout: 246 seconds]
mhoungbo_ has joined #ruby
ta_ has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 244 seconds]
rippa has joined #ruby
Pupp3tm4_ has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
platzhirsch has joined #ruby
dgncn has quit [Excess Flood]
aufi has quit [Remote host closed the connection]
tjbiddle has quit [Ping timeout: 252 seconds]
dgncn has joined #ruby
lxsameer has joined #ruby
aufi has joined #ruby
diegoviola has joined #ruby
kobain has joined #ruby
tomatoes has quit [Read error: Connection reset by peer]
tomatoes has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tjbiddle has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
steffkes has quit [Ping timeout: 252 seconds]
blandflakes has joined #ruby
gbgdev has joined #ruby
riotjones has quit [Remote host closed the connection]
RegulationD has joined #ruby
slawrence00 has joined #ruby
dreinull has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
bricker has joined #ruby
CloCkWeRX has joined #ruby
TH_ has joined #ruby
niksrc has quit [Ping timeout: 248 seconds]
Pupp3tm4st3r has joined #ruby
RegulationD has quit [Ping timeout: 248 seconds]
LukeVLDB has joined #ruby
<LukeVLDB> hi
bjpenn has joined #ruby
<havenwood> LukeVLDB: hi
<LukeVLDB> I was wondering if i can ask a python question here and see if anyone knows it because i can't talk in the python room
tvon has joined #ruby
<havenwood> LukeVLDB: Do you need to be registered and identified to talk in the #python channel?
idle_task is now known as idletask
<LukeVLDB> registered then it said go to freenode so i went there to talk to someone and i cant even talk in there either,
<LukeVLDB> I just wanted to know what this meant - header2.extend(file2.readline() for h in xrange(3))
<TH_> hello people !i have 14 lines of simple and well commented code that have left me completely confused. if you can explain what i'm doing wrong, i'd appreciate it: http://pastebin.com/1KqtwH2Q
<ruby[bot]> TH_: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/38748b1c6831dad868be
<ruby[bot]> TH_: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<havenwood> LukeVLDB: Try: #python-unregistered
tjbiddle has quit [Quit: tjbiddle]
<LukeVLDB> okay havenwood
<LukeVLDB> nope
<LukeVLDB> wont let me talk in there either
chipotle has joined #ruby
aganov has quit [Remote host closed the connection]
<havenwood> LukeVLDB: I was gunna point you to the Freenode register/identify page but the site is down. Try: /msg nickserv help identify
mozzarella has quit [Quit: WeeChat 1.4]
jaruga has quit [Quit: jaruga]
bjpenn has quit [Ping timeout: 252 seconds]
<shevy> LukeVLDB the snakes be silent!
<havenwood> LukeVLDB: Anyways, happy to try to help you register and identify in the #ruby-offtopic channel.
igam has quit [Remote host closed the connection]
jaiks has joined #ruby
<apeiros> ?register
<ruby[bot]> you need to be identified with NickServ, see /msg NickServ HELP
<hanmac> TH_ you might checkout this: @matrix = Array.new(10) { Array.new(10, 0) }
tvon has quit [Ping timeout: 252 seconds]
<apeiros> hm
igam has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
<TH_> thanks very much, i will indeed !
tvw has joined #ruby
<LukeVLDB> joining the ruby off topic channel now
aclearman037 has joined #ruby
naftilos76 has joined #ruby
aegis3121 has joined #ruby
openstruct has joined #ruby
<naftilos76> Is there a ruby method that can evaluate ruby+html code ?
<n1colas> Hello
<adaedra> you could at least wait a little before repeating your question in another channel...
Pupp3tm4st3r has quit [Remote host closed the connection]
tjohnson has joined #ruby
frustrum has joined #ruby
<havenwood> naftilos76: What would evaluating ruby+html code be like? What does that mean? Say more?
<havenwood> n1colas: hi
yardenbar has quit [Ping timeout: 246 seconds]
aclearman037 has quit [Client Quit]
<ericwood_> naftilos76: like erb?
machinewar has joined #ruby
<ericwood_> do you want a templating language? if so erb is kind of the defacto tool for ruby interpolation
<machinewar> is there a way to stream writing to a file similar to reading. Pretty much want to write a huge file, but not hold the entire thing in memory before its persisted to disc
<adaedra> machinewar: you can use flush to force a write.
haylon has joined #ruby
<machinewar> adaedra: good idea thanks didn't think about that
e1z0 has left #ruby ["Leaving"]
mallu has joined #ruby
<havenwood> naftilos76: Please say so in all channels if you're crossposting. That way folk don't waste time on questions already answered, etc. It's curtesy.
leksster has quit [Remote host closed the connection]
aswen has joined #ruby
madhatter has quit [Remote host closed the connection]
niksrc has joined #ruby
<naftilos76> ericwood_, : i have a text that contains both html and ruby which is actually retrieved from a database. Is there a way to evaluate that in a view?
mfaeh has quit [Remote host closed the connection]
platzhirsch has quit [Ping timeout: 250 seconds]
<ericwood_> that's a weird thing
<ericwood_> would need an example
<naftilos76> i know...
<ericwood_> like, that sounds like its own weird invented format
<ericwood_> that's not a standard thing outside of erb
<naftilos76> let me work on it a little bit more
<havenwood> naftilos76: You can eval Ruby... but... where's the Ruby coming from?
bronson has joined #ruby
axl_ has joined #ruby
<ericwood_> this whole thing sounds sketchy
dopamean_ has joined #ruby
<naftilos76> havenwood, let me think about it a little bit before confusing you more
jaiks has quit [Remote host closed the connection]
mfaeh has joined #ruby
andrewvos has quit [Ping timeout: 276 seconds]
jas02 has quit [Quit: jas02]
PedramT has joined #ruby
adgtl has joined #ruby
machinewar has left #ruby [#ruby]
synthroid has quit [Remote host closed the connection]
infra-red has quit [Remote host closed the connection]
dhollinger has joined #ruby
nfk|laptop has quit [Quit: yawn]
last_staff has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jas02 has joined #ruby
<TH_> hanman: i was going to ask you why my code did not work as expected, but i figured out why... object IDs. had that problem before >.< thank you again, very much. so fast
PedramT has quit [Ping timeout: 268 seconds]
emilkarl is now known as emilkarl[away]
jaiks has joined #ruby
tvw has quit []
infra-red has joined #ruby
blandflakes has joined #ruby
jas02 has quit [Client Quit]
blackmesa has joined #ruby
bjpenn has joined #ruby
freerobby has joined #ruby
gbgdev has quit [Remote host closed the connection]
mhoungbo_ has quit [Remote host closed the connection]
adgtl has quit [Remote host closed the connection]
merida has quit [Remote host closed the connection]
emilkarl[away] is now known as emilkarl
lxsameer has quit [Ping timeout: 248 seconds]
Pupp3tm4st3r has joined #ruby
terlar has quit [Quit: WeeChat 1.4]
andrewvos has joined #ruby
bjpenn has quit [Ping timeout: 246 seconds]
stunder001 has joined #ruby
infra-red has quit [Remote host closed the connection]
Pupp3tm4st3r has quit [Remote host closed the connection]
jxs__ has quit [Quit: Leaving]
LukeVLDB has left #ruby [#ruby]
rodfersou has quit [Quit: leaving]
gbgdev has joined #ruby
saneax is now known as saneax_AFK
KensoDev has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hs366 has quit [Quit: Leaving]
merida has joined #ruby
djbkd has joined #ruby
infra-red has joined #ruby
adgtl has joined #ruby
tvon has joined #ruby
dikaio has joined #ruby
cym3try has joined #ruby
moos3_ has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moos3 has quit [Ping timeout: 252 seconds]
<cym3try> total n00b here. Can you hlp me why the gems are not being recognised by this ruby script? http://pastebin.com/En17A1PE
<ruby[bot]> cym3try: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Ping timeout: 240 seconds]
platzhirsch has joined #ruby
<rik> cym3try: run: ruby -e 'p Gem.ruby', and then put "p Gem.ruby" at the top oif your script and run it.
<rik> see if the answers are the same or not
chipotle has quit [Quit: cheerio]
chouhoul_ has joined #ruby
Pupp3tm4st3r has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
mozzarella has joined #ruby
shotwhat has joined #ruby
<cym3try> I get -e:1: uninitialized constant Gem (NameError) with both
infra-red has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<rik> aha.
<cym3try> (i am on ubuntu btw)
<rik> what version of Ruby do you have there?
<cym3try> 1.8
bronson has quit [Ping timeout: 252 seconds]
<rik> hm
<cym3try> ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]
<rik> run: gem info
<shotwhat> Would love to know what you think about Dpr, a light weight http client for Ruby. https://medium.com/@Sudhagar/dpr-the-simplest-rest-client-in-ruby-6dd7e6b5cdb3#.rot9ewkin
<cym3try> Unknown command info
<havenwood> cym3try: Ruby 1.8 is past end of life! Back in 1.8 you had to `require 'rubygems'` but you don't now that RubyGems ships with Ruby.
<cym3try> wat?!
Pupp3tm4st3r has quit [Remote host closed the connection]
<rik> okay. so with that and what havenwood said, add the line: require 'rubygems'
<havenwood> cym3try: Rubies 2.1+ are currently maintained.
<danjack_> is there some sort of gem which makes hashes accessible through function names, like if I have a = { b: 1 }, i would have to access it through a[:b], but I want to be able to do so with a.b ?
<rik> put that at the top of your code
<rik> and try again
<shotwhat> join #python
<cym3try> yeah that did the trick. I will upgrade to new ruby then
<cym3try> thanks
<rik> anyone tried to install ruby-gpgme on FreeBSD recently? it won't compile for me.
<rik> it's failing with /usr/local/lib/libassuan.so: undefined reference to `gpgrt_asprintf'
colegatron has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
shotwhat has quit [Quit: Page closed]
chouhoulis has joined #ruby
`tim` has joined #ruby
<havenwood> rik: Worked for me just now: sudo pkg install gpgme && sudo gem install ruby-gpgme
<rik> havenwood: which version of FreeBSD are you running?
bjpenn has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
finisherr has quit [Quit: finisherr]
<havenwood> rik: 10.1
tomatoes has quit [Read error: Connection reset by peer]
<rik> hm. i'm on 10.0-Release.
binaryplease has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
d0nn1e has joined #ruby
<havenwood> rik: 10.1-RELEASE here
<dostoyevsky> >> /
<havenwood> and 10.2 is out!
<ruby[bot]> dostoyevsky: # => #<MatchData "
<dostoyevsky> ruby is so cool
<rik> i know. i need to do a tidy-up and upgrade.
tomatoes has joined #ruby
nando293921 has joined #ruby
<havenwood> ditto
<rik> i'm wondering whether i should just create a new VM, and install what i need on there, and move data over.
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
PedramT has joined #ruby
freakcoder has joined #ruby
baweaver has joined #ruby
marxarelli has joined #ruby
bjpenn has quit [Ping timeout: 244 seconds]
ivanskie has joined #ruby
ivanskie has quit [Client Quit]
aegis3121 has quit [Ping timeout: 248 seconds]
<rik> i guess i'll have to update, and come back later.
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ferr has quit [Quit: WeeChat 1.4]
TvL2386 has quit [Quit: Ex-Chat]
synthroid has joined #ruby
amclain has joined #ruby
blandflakes has joined #ruby
last_staff has quit [Ping timeout: 240 seconds]
baweaver has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 260 seconds]
poerror has joined #ruby
govg has joined #ruby
codecop has quit [Remote host closed the connection]
_stu_ has joined #ruby
blandflakes has quit [Client Quit]
roshanavand has quit [Quit: This computer has gone to sleep]
the_drow has quit [Quit: This computer has gone to sleep]
[Butch] has joined #ruby
Uber|Dragon has joined #ruby
blandflakes has joined #ruby
frustrum has quit [Ping timeout: 268 seconds]
adgtl has quit [Remote host closed the connection]
nerium has quit [Quit: nerium]
dikaio has joined #ruby
DmitryBochkarev has joined #ruby
aufi has quit [Quit: Konversation terminated!]
BTRE has quit [Quit: Leaving]
nerium has joined #ruby
zotherstupidguy has joined #ruby
ivanskie has joined #ruby
<TomyLobo> i always wondered: why are people using freebsd?
* havenwood chants BSD, BSD!
Guest38 has joined #ruby
<eam> TomyLobo: as opposed to?
solars has joined #ruby
BTRE has joined #ruby
<TomyLobo> linux
<eam> well, the licensing terms are drastically different. Might matter if you're, say, building an embedded system for distribution
govg has quit [Ping timeout: 240 seconds]
<TomyLobo> hasnt stopped google :)
maner has quit [Read error: Connection reset by peer]
<eam> because google's business model is to give away android for free
<eam> but it will stop any business model predicated on selling the software with a contract
<shevy> TomyLobo probably in 2002 or so the difference was less decisive
<shevy> nowadays of course the answer is linux :)
<eam> well, not necessarily
d0nn1e has quit [Ping timeout: 244 seconds]
<TomyLobo> 2002... back then there wasn't even windows server 2003 *cough*
<TomyLobo> back then, windows xp was hot shit
<eam> there are a few particular use cases where FreeBSD will outperform linux
<shevy> TomyLobo yeah win xp was cool
<eam> ZFS and the related licensing issues preventing it from becoming mainline in linux are one big such case
ivanskie has quit [Ping timeout: 250 seconds]
<eam> the others tend to be fairly technical and specific
<TomyLobo> ZFS support on linux is pretty stable now i hear
<eam> it's not
Sucks has joined #ruby
<shevy> we will have it!
* shevy shakes fist.
jds has joined #ruby
<TomyLobo> ok, sun arseholery aside, what else is there?
d0nn1e has joined #ruby
<shevy> openbsd - it is so secure that you can not even run it!
<eam> TomyLobo: in a prior job I worked at one of the largest FreeBSD shops in the world (and they *also* had one of the largest linux footprints in the world)
<shevy> exotic things... haiku ... reactos ... and the ultimate linux killer, GNU hurd
<eam> as I said, depending on the workload, each can outperform the other in particular scenarios
<eam> and ZFS is just one example of license conflict
adgtl has joined #ruby
<TomyLobo> shevy, reactos was supposed to be a windows killer
<TomyLobo> that worked out well...
joonty has quit [Quit: Leaving]
<TomyLobo> eam, yeah, intentional license conflict
<eam> intent is irrelevant in business
scepticulous has quit [Ping timeout: 276 seconds]
<shevy> TomyLobo nono, just legacy-using part, not trying to kill windows
<eam> what matters is what works best
<shevy> ruby
fullofcaffeine has quit [Remote host closed the connection]
govg has joined #ruby
<eam> TomyLobo: I should mention I spent much of my time overseeing a migration from FreeBSD to Linux
futilegames has joined #ruby
bjpenn has joined #ruby
<eam> lest you suspect that my explanation of why FreeBSD has some advantages is an indicator of bias
<TomyLobo> eam, of course. i'm just saying that ZFS being more readily available on freebsd was by design, not by accident
<TomyLobo> CDDL is not MPL is what i'm saying :)
futilegames has quit [Client Quit]
finisherr has joined #ruby
<eam> by design how?
graffix has quit [Ping timeout: 276 seconds]
uglybandersnatch has joined #ruby
finisherr has left #ruby [#ruby]
<havenwood> TomyLobo: Lots of folk use OS X in development. For them the BSDs are close cousins and much more similar environments. They tend to be simpler to administrate and more similar amongst themselves.
<TomyLobo> hmm well, cddl seems to be mpl-based
rafaelaraujo has joined #ruby
<TomyLobo> looks like i forgot about that
<TomyLobo> havenwood, i see
<TomyLobo> see i cannot relate to that. i havent touched an osx, ever
<shevy> oh right, I forgot the macsters
<eam> havenwood: I don't know anyone who's happy about OSX as an environment, though
darkf has joined #ruby
<shevy> OSX has so pretty colours
<havenwood> TomyLobo: Even down to being able to use the same package manager, like pkgsrc, on OS X and NetBSD,e tc.
adgtl has quit [Remote host closed the connection]
<TomyLobo> well, actually i once installed mac os x on pearpc
<TomyLobo> it was too slow to evaluate
<TomyLobo> this was back in the powerpc days
<havenwood> eam: Nobody? Not even misguided folk? :P
<eam> havenwood: ;)
blackmesa has quit [Ping timeout: 246 seconds]
babblebre has joined #ruby
bjpenn has quit [Ping timeout: 244 seconds]
<TomyLobo> is osx's "x" button designed with fitt's law in mind these days?
<TomyLobo> fitts' law*
<eam> I'm not sure osx has quite so much in common with any of the bsds
<TomyLobo> fitts's law* according to wikipedia
<havenwood> eam: It does!
<eam> the de-facto packaging system is brew, the system internals and apis are all very different
<shevy> brew! ruby!
uglybandersnatch has quit [Ping timeout: 268 seconds]
minimalism has joined #ruby
Snowy has quit [Remote host closed the connection]
<eam> havenwood: some of the userland is inherited, but that's a fairly superficial difference (and folks tend to install the gnu version of utilities more often than not)
<havenwood> "The two operating systems do share a lot of code, for example most userland utilities and the C library on OS X are derived from FreeBSD versions."
<havenwood> "or example, both libdispatch (Grand Central Dispatch in Apple's marketing) and libc++ were written for OS X and worked on FreeBSD before any other OS."
govg has quit [Ping timeout: 250 seconds]
Xeago has quit [Remote host closed the connection]
<eam> havenwood: derived from, but substantially different
<shevy> they are like brother and sister!
Uber|Dragon has quit [Ping timeout: 276 seconds]
<havenwood> A bunch of shared code with FreeBSD and NetBSD.
<eam> havenwood: you know what other system shares code with BSD? Windows.
dfockler has joined #ruby
<shevy> one day they will see the light and migrate to linux (the kernel)
<havenwood> Same lineage, no doubt. A lot of overlap between Darwin and FreeBSD devs even.
<darix> shevy: apply?
swills has joined #ruby
<darix> i dont think they link the GPL all that much
<darix> apple
<TomyLobo> like*?
<eam> you can find "c. regents of california uc berkeley" strings all over Windows binaries
hakunin has quit [Read error: Connection reset by peer]
<shevy> darix good point
hakunin has joined #ruby
merida has quit [Remote host closed the connection]
mdw has joined #ruby
<TomyLobo> eam, the network stack is bsd-derived, like in virtually any os
sergey_makagon has quit []
<TomyLobo> but other than that?
merida has joined #ruby
brent_ has quit [Quit: Connection closed for inactivity]
<adaedra> ?ot
<ruby[bot]> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
Xeago has joined #ruby
<TomyLobo> not like there's anything else going on
<TomyLobo> are you an op?
<apeiros> he is
<adaedra> i am
<apeiros> /cs access #ruby list
fullofcaffeine has joined #ruby
PedramT has quit [Remote host closed the connection]
<TomyLobo> good. hard to tell if people minimod or are genuine ops
snockerton has joined #ruby
<shevy> ?adaedra
<ruby[bot]> don't be mean to adaedra
<eam> ?shevy
<ruby[bot]> shevy is the hound of baskerville (see http://irclog.whitequark.org/ruby/2015-08-13#13699759)
<adaedra> TomyLobo: that's a suggestion for now. It's indeed better to have these discussions moved to -ot, it's easier to see if someone just popped to ask a question, which tend to be more difficult in dense conversations.
snockerton has quit [Client Quit]
Phage has joined #ruby
<eam> TomyLobo: cmon over to -ot
<Phage> Can it be true, that I can't find any decent gem for image processing (stripping meta-data) ?
<dreinull> how do I tell ruby to return 10.00 instead of 10.0 as float?
govg has joined #ruby
<adaedra> dreinull: 10.0 and 10.00 are the same number.
<dreinull> adaedra obviously :)
<dreinull> it's an aesthetic choice
TH_ has quit [Quit: Page closed]
<adaedra> Maybe you want to have those floats converted as a string?
TH_ has joined #ruby
<dreinull> adaedra possible
<shevy> dreinull format them as strings on output padded
n008f4g_ has joined #ruby
roshanavand has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
bjpenn has joined #ruby
<shevy> '%.2f' % '10.0' # => "10.00"
<dreinull> shevy I always fear the format function...
<dreinull> oh, thanks.
<adaedra> shevy extra quotes?
<Phage> dreinull: thanks
jackjackdripper has joined #ruby
Sucks has quit [Ping timeout: 246 seconds]
Sucks_ has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Client Quit]
jackjackdripper has joined #ruby
mfaeh has quit []
openstruct has quit []
mistermocha has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
atmosx has quit [Quit: This is aparting message!]
shinnya has joined #ruby
<shevy> adaedra my strings are padded with love
bjpenn has quit [Ping timeout: 268 seconds]
cym3try has quit [Quit: Lost terminal]
<shevy> dreinull yeah there are some other ways. one might be '10.0'.ljust(5, '0') # => "10.00"
mistermocha has joined #ruby
Xeago has quit [Remote host closed the connection]
<shevy> and perhaps you could modify ruby itself to remember how you input numbers, like x = 10.000 :)
solars has quit [Remote host closed the connection]
dionysus69 has quit [Remote host closed the connection]
Xeago has joined #ruby
PedramT has joined #ruby
dionysus69 has joined #ruby
infernix has quit [Remote host closed the connection]
davee_ has joined #ruby
bronson has joined #ruby
last_staff has joined #ruby
WhoLettuce has joined #ruby
<WhoLettuce> JHe;;p
<WhoLettuce> Hello
graffix has joined #ruby
<WhoLettuce> Can someone tell me what channel I can go to to get to the html section
Timberwo|f has quit [Quit: Textual.]
<WhoLettuce> I tried joining #html but it won't let me type there
poerror has quit [Ping timeout: 240 seconds]
dfockler has quit [Quit: Leaving]
<apeiros> ?register WhoLettuce
<ruby[bot]> WhoLettuce: you need to be identified with NickServ, see /msg NickServ HELP
<apeiros> probably that
roshanavand has quit [Quit: This computer has gone to sleep]
roshanavand has joined #ruby
dikaio has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
<WhoLettuce> Lol
<WhoLettuce> I think I am now registered
dikaio has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<WhoLettuce> Herro
poerror has joined #ruby
WhoLettuce has left #ruby [#ruby]
<gregf_> WhoLettuce: thats the problem with copypasting *runs*
WhoLettuce has joined #ruby
<WhoLettuce> still doesn't work
<WhoLettuce> Won't let me type there
tomchapin has joined #ruby
niksrc has quit [Quit: Leaving]
<WhoLettuce> Fuck
<WhoLettuce> Can anyone here help me with html?
<WhoLettuce> Or tell me how I can type in the channel #html?
chipotle has joined #ruby
roshanavand has quit [Client Quit]
hahuang65 has joined #ruby
roshanavand has joined #ruby
<WhoLettuce> Herro?
tomchapin has quit [Read error: Connection reset by peer]
tomchapi_ has joined #ruby
choke has joined #ruby
terminal_ has joined #ruby
mja has quit [Ping timeout: 260 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
lessless has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.4]
mikar has quit [Quit: Connection closed for inactivity]
anisha has joined #ruby
hahuang65 has joined #ruby
riotjones has joined #ruby
n008f4g_ has quit [Ping timeout: 240 seconds]
andrewvos has quit [Ping timeout: 240 seconds]
reprazent has joined #ruby
<shevy> WhoLettuce come on man
<dreinull> shevy the '%.2f' % x works just fine, thanks a lot
<shevy> \o/
davedev24 has quit []
andikr has quit [Remote host closed the connection]
baweaver has joined #ruby
Couch has quit [Ping timeout: 268 seconds]
riotjones has quit [Client Quit]
stunder001 has quit [Ping timeout: 260 seconds]
poerror has quit [Ping timeout: 250 seconds]
emesa has quit [Ping timeout: 240 seconds]
last_staff has quit [Ping timeout: 246 seconds]
aswen has quit [Quit: WeeChat 1.4]
symm- has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
moos3_ has quit [Ping timeout: 240 seconds]
polishdub has joined #ruby
moos3 has joined #ruby
BSaboia has quit [Ping timeout: 268 seconds]
Xeago has quit [Remote host closed the connection]
kiidbrian has quit [Ping timeout: 260 seconds]
<gregf_> shevy++
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
shinnya has quit [Ping timeout: 240 seconds]
y2mq37 has joined #ruby
<gregf_> WhoLettuce: whats your actual problem? html is not very tightly coupled to ruby
<WhoLettuce> I am asking in php
<WhoLettuce> They are helping me
dionysus69 has quit [Remote host closed the connection]
anagha_ has quit [Quit: Connection closed for inactivity]
dionysus69 has joined #ruby
<gregf_> we can help too, provided you ask a question :|
ljames has joined #ruby
rnda has joined #ruby
moos3 has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
stunder001 has joined #ruby
Xeago has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 248 seconds]
poerror has joined #ruby
infernix has joined #ruby
PedramT has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
bjpenn has joined #ruby
dopamean_ has quit [Quit: WeeChat 1.3]
dopamean_ has joined #ruby
kobain has quit [Ping timeout: 260 seconds]
baweaver has joined #ruby
bjpenn has quit [Ping timeout: 248 seconds]
swills has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mistermocha has joined #ruby
Xeago has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
<shevy> lol
troulouliou_div2 has quit [Quit: Leaving]
blandflakes has joined #ruby
mrgrieves has quit [Ping timeout: 260 seconds]
moos3 has joined #ruby
Abrin_AWAY has joined #ruby
chouhoulis has quit [Remote host closed the connection]
tvw has joined #ruby
chouhoulis has joined #ruby
Rahul_Roy has joined #ruby
yardenbar has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
VeryBewitching has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
<VeryBewitching> G'day folks.
skade has quit [Quit: Computer has gone to sleep.]
[Butch] has quit [Quit: I'm out . . .]
boontdustie has joined #ruby
mark2 has quit [Remote host closed the connection]
yeticry has joined #ruby
skade has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
mrgrieves has joined #ruby
jackjackdripper1 has joined #ruby
bjpenn has joined #ruby
jackjackdripper has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 260 seconds]
tvw has quit []
merida has quit [Remote host closed the connection]
moos3 has quit [Ping timeout: 276 seconds]
norc has joined #ruby
boontdustie has quit [Remote host closed the connection]
boontdustie has joined #ruby
elaptics is now known as elaptics`away
bjpenn has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
bkulbida has joined #ruby
mrgrieves has quit [Ping timeout: 276 seconds]
Mon_Ouie has joined #ruby
nofxx has quit [Ping timeout: 268 seconds]
codecop has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
Xeago has joined #ruby
tvon has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
tvon has joined #ruby
snockerton has joined #ruby
[Butch] has joined #ruby
fmcgeough has joined #ruby
bkulbida has quit [Client Quit]
rails_deploy_hel has joined #ruby
bkulbida has joined #ruby
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
<rails_deploy_hel> Hi guys, I have problem with deploying rails app on Ubuntu server with Capistrano, Nginx and Passenger. I have been spending few days trying to find solution, but I am still having problems. Anyone can help?
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
baweaver has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
RoR_need_help has joined #ruby
<RoR_need_help> Hi guys, I have problem with deploying rails app on Ubuntu server with Capistrano, Nginx and Passenger. I have been spending few days trying to find solution, but I am still having problems. Anyone can help?
tvon has quit [Ping timeout: 244 seconds]
bjpenn has joined #ruby
<norc> ?rubyonrails
<ruby[bot]> norc: I don't know anything about rubyonrails
<norc> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
tomatoes has quit [Ping timeout: 268 seconds]
blandflakes has joined #ruby
djbkd has joined #ruby
mwlang has joined #ruby
blandflakes has quit [Client Quit]
swills has joined #ruby
symm-_ has joined #ruby
rails_deploy_hel has quit [Ping timeout: 252 seconds]
symm- has quit [Ping timeout: 268 seconds]
mrgrieves has joined #ruby
digitalcakes has joined #ruby
n008f4g_ has joined #ruby
blandflakes has joined #ruby
RoR_need_help is now known as cricket42
bjpenn has quit [Ping timeout: 260 seconds]
<cricket42> Hi guys, I have problem with deploying rails app on Ubuntu server with Capistrano, Nginx and Passenger. I have been spending few days trying to find solution, but I am still having problems. Anyone can help?
<shevy> lol
cricket42 has quit [Quit: Page closed]
freerobby has quit [Quit: Leaving.]
RegulationD has joined #ruby
tvon has joined #ruby
poerror has quit [Ping timeout: 244 seconds]
B4daBing73 has joined #ruby
B4daBing73 has joined #ruby
sneakerhax has joined #ruby
firstdayonthejob has joined #ruby
freerobby has joined #ruby
swills has quit [Ping timeout: 260 seconds]
dopie has joined #ruby
godzillaenlacasa has joined #ruby
rodrigodata has joined #ruby
<rodrigodata> hi
mrgrieves has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 260 seconds]
frustrum has joined #ruby
igam has quit [Ping timeout: 248 seconds]
sepp2k has quit [Quit: Leaving.]
baweaver has joined #ruby
zast has quit [Remote host closed the connection]
B4daBing73 has quit [Quit: Leaving]
SCHAAP137 has joined #ruby
polishdub has quit [Quit: Leaving]
frustrum has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
xaxisx has joined #ruby
RegulationD has joined #ruby
PedramT has quit [Remote host closed the connection]
roshanavand has quit [Quit: This computer has gone to sleep]
poguez_ has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
dopie has quit [Ping timeout: 276 seconds]
infra-red has joined #ruby
cdg has quit [Remote host closed the connection]
TH_ has quit [Quit: Page closed]
cdg has joined #ruby
_joes__ has quit [Quit: Connection closed for inactivity]
Pupp3tm4st3r has joined #ruby
<_br___> What is the preferred solution these days to run your own Gemserver? Is there a version with some ACL?
j0n3 has quit [Ping timeout: 240 seconds]
weemsledeux has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
bronson has joined #ruby
bjpenn has joined #ruby
chipotle has quit [Quit: cheerio]
futilegames has joined #ruby
machty_ is now known as machty
baweaver has quit [Remote host closed the connection]
sepp2k has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
evidex has quit [Remote host closed the connection]
blackmesa has joined #ruby
BTRE has quit [Ping timeout: 244 seconds]
zotherstupidguy has quit [Ping timeout: 250 seconds]
finisherr has joined #ruby
crowell has quit [Ping timeout: 246 seconds]
jterra has joined #ruby
crowell has joined #ruby
<rik> here's a challenge for people...
PedramT has joined #ruby
<rik> i'm writing an application using Sinatra and DataMapper. DataMapper is needed for the ORM layer that has a few objects that need to be related together. I want the database on disk to be encrypted, because i'm going to back it up to the cloud.
<rik> my current idea is that i have sqlite in ram, and spool it out to disk via gpgme, but it seems a little clunky.
<rik> does anyone have a better idea?
mistermo_ has joined #ruby
flazz has joined #ruby
<flazz> what is the correct style for multi-line method calls?
BTRE has joined #ruby
_blizzy_ has joined #ruby
shortdudey123 has quit [Max SendQ exceeded]
mistermocha has quit [Ping timeout: 248 seconds]
shortdudey123 has joined #ruby
Xentil has quit [Ping timeout: 276 seconds]
yardenbar has quit [Ping timeout: 268 seconds]
poerror has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
dhollinger has joined #ruby
stunder_ has joined #ruby
stunder001 has quit [Ping timeout: 240 seconds]
<tobiasvl> flazz: https://github.com/bbatsov/ruby-style-guide is often used as a style guide
<flazz> tobiasvl: ty
<tobiasvl> (there is no "correct" style though)
<flazz> even better
finisherr has quit [Quit: finisherr]
PsionTheory has joined #ruby
futilegames has quit [Quit: futilegames]
myntcake has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
rafaelaraujo has left #ruby [#ruby]
DrCode has quit [Remote host closed the connection]
mdw has quit [Quit: Sleeping Zzzzz]
<shevy> flazz I tend to group them for readability
intrigueD has joined #ruby
Renich has joined #ruby
Uber|Dragon has joined #ruby
<shevy> but it's quite rare to see them used really
tvw has joined #ruby
robbyoconnor has quit [Ping timeout: 252 seconds]
bezhermoso has joined #ruby
spider-mario has joined #ruby
chipotle has joined #ruby
Regulati_ has joined #ruby
davedev24 has joined #ruby
frustrum has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
<rik> the answer to my question appears to be 'use sqlcipher, dummy'. i just need to convince the sqlite gem to build against it. i might fork that, and make a fresh gem with the specifics.
<rik> because i'm nice, and becaus ei've never made a gem.
<shevy> so ambitious
<rik> yep.
duckpuppy has quit [Ping timeout: 244 seconds]
<rik> well, th ehard work of creating sqlcipher is done.
jackjackdripper1 has quit [Quit: Leaving.]
mrgrieves has joined #ruby
<rik> maybe DataMapper extension, instead.
dopamean_ has quit [Quit: WeeChat 1.3]
frustrum has quit [Ping timeout: 248 seconds]
roshanavand has joined #ruby
bkulbida has quit [Quit: leaving]
last_staff has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
TH_ has joined #ruby
davee_ has quit [Quit: Leaving]
yardenbar has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
mrgrieves has quit [Quit: leaving]
aegis3121 has joined #ruby
postmodern has joined #ruby
freerobby has quit [Quit: Leaving.]
bjpenn has quit [Ping timeout: 244 seconds]
mrgrieves has joined #ruby
rmulliga` has quit [Remote host closed the connection]
Uber|Dragon has quit [Ping timeout: 268 seconds]
rmulligan has joined #ruby
aryaching_ has quit []
rmulligan has quit [Remote host closed the connection]
roshanavand has quit [Quit: This computer has gone to sleep]
rmulligan has joined #ruby
govg has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
jackjackdripper has joined #ruby
mdw has joined #ruby
roshanavand has quit [Client Quit]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
myntcake has quit [Quit: Leaving]
yqt has joined #ruby
naftilos76 has quit [Quit: Αποχώρησε]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
govg has joined #ruby
baweaver has joined #ruby
poerror has quit [Ping timeout: 240 seconds]
bjpenn has joined #ruby
stunder_ has quit [Ping timeout: 276 seconds]
znz_jp has quit [Ping timeout: 250 seconds]
dopamean_ has joined #ruby
stunder_ has joined #ruby
bricker has quit [Ping timeout: 244 seconds]
<shevy> :(
<shevy> grand vision meets real expectations...
nerium has quit [Quit: nerium]
baweaver has quit [Ping timeout: 276 seconds]
PsionTheory has quit [Read error: Connection reset by peer]
znz_jp has joined #ruby
baweaver has joined #ruby
<shevy> don't let your dreams fade away rik!
roshanavand has joined #ruby
pragmatism_ has quit [Quit: Connection.close!]
bjpenn has quit [Ping timeout: 252 seconds]
[afk]chocoelho is now known as chocoelho
chocoelho is now known as [afk]chocoelho
howdoi has quit [Quit: Connection closed for inactivity]
pragmatism has joined #ruby
Xeago has joined #ruby
roshanavand has quit [Client Quit]
WhoLettuce has quit [Ping timeout: 252 seconds]
hxegon is now known as hxegon_AFK
_stu_ has quit [Quit: _stu_]
rdark has joined #ruby
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hostess has quit [Quit: No Ping reply in 180 seconds.]
roshanavand has joined #ruby
bjpenn has joined #ruby
hostess has joined #ruby
hxegon_AFK is now known as hxegon
agit0 has quit [Quit: zzzZZZ….]
jenrzzz has joined #ruby
moos3 has joined #ruby
bricker has joined #ruby
tacit7 has joined #ruby
roshanavand has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
bronson has joined #ruby
bjpenn has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
Rahul_Roy has quit [Ping timeout: 264 seconds]
bttf has quit [Ping timeout: 264 seconds]
anisha has joined #ruby
tummy has joined #ruby
Rahul_Roy has joined #ruby
<tummy> Been trying to get seeing-is-believing package install and working with Atom, but haven't had any luck. Any recommendations on a working alternative?
Rahul_Roy has quit [Client Quit]
bttf has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
yardenbar has quit [Ping timeout: 268 seconds]
mdw_ has joined #ruby
Eiam has joined #ruby
sp4rrow has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
synthroid has quit []
yqt has quit [Ping timeout: 244 seconds]
rrrepsaj has quit [Remote host closed the connection]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermo_ has quit [Ping timeout: 252 seconds]
rrrepsaj has joined #ruby
weemsledeux has joined #ruby
mdw has quit [Ping timeout: 240 seconds]
Jimmie has joined #ruby
<Jimmie> Hey
<Jimmie> How do I join the php channel?
intrigueD has quit [Remote host closed the connection]
`tim` has joined #ruby
dmr8 has joined #ruby
<mozzarella> you don't
Jimmie has quit [Client Quit]
ur5us has joined #ruby
bjpenn has joined #ruby
mistermocha has joined #ruby
rrrepsaj has quit [Ping timeout: 276 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
chouhoulis has quit [Remote host closed the connection]
<shevy> lol
solars has joined #ruby
chouhoulis has joined #ruby
freerobby has quit [Quit: Leaving.]
yasha_ has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
blackgoat has joined #ruby
chipotle has quit [Quit: cheerio]
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
Pupp3tm4st3r has quit [Remote host closed the connection]
bjpenn has quit [Ping timeout: 250 seconds]
x77686d has joined #ruby
mdw has joined #ruby
mdw_ has quit [Ping timeout: 276 seconds]
reprazent has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
baweaver has joined #ruby
<apeiros> so #ruby is the go-to channel for problems with all the following channels today: #html, #python and #php (or ##php?)
<apeiros> fascinating.
bjpenn has joined #ruby
Rickmasta has joined #ruby
roshanavand has joined #ruby
TheCubeLord has joined #ruby
freerobby has joined #ruby
<TheCubeLord> how do you define a function?
tenderlove has joined #ruby
WhoLettum has joined #ruby
<WhoLettum> Herro
<apeiros> TheCubeLord: if you ask a question of this level, you should consider reading any of the freely available materials which teach you ruby.
<TheCubeLord> oh yeah
* TheCubeLord starts looking through the website the community gives him
freakcoder has quit [Quit: Leaving.]
gbgdev has quit [Remote host closed the connection]
<WhoLettum> Hey
RickHull has joined #ruby
<WhoLettum> I am trying to join the php channel It says I must be invited?
<RickHull> looking at http://ruby-doc.org/stdlib-2.3.0/libdoc/socket/rdoc/TCPSocket.html I see TCPSocket < IPSocket < BasicSocket
<apeiros> aaand help with other channels no. 5 today… what's up with that today?
<apeiros> WhoLettum: #freenode
trosborn has joined #ruby
<RickHull> BasicSocket defines #getpeereid
cdg has joined #ruby
<RickHull> yet TCPSocket#getpeereid #=> NoMethodError
babblebre has joined #ruby
tummy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<RickHull> what's up with that?
<TheCubeLord> WhoLettum join ##php not #php
<WhoLettum> Lol
<WhoLettum> I just had to rregistar
<WhoLettum> Hue hue hue
<apeiros> RickHull: subclasses can undefine methods. not sure that's the case here, but it's a possibility.
<apeiros> reading getpeereid, it seems to make sense TCPSocket (or probably IPSocket already) undefines that one.
<RickHull> yeah, that's what I figured, thanks.
<RickHull> gotta love inheritance hierarchies ;)
<TheCubeLord> who uses hexchat
godzillaenlacasa has quit [Quit: ZZZZZ....]
bronson has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
BTRE has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Quit: Connection closed for inactivity]
tvon has quit [Remote host closed the connection]
uglybandersnatch has joined #ruby
Gadgetoid has left #ruby [#ruby]
tvon has joined #ruby
Didac has quit [Ping timeout: 240 seconds]
mallu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mdw_ has joined #ruby
tvon has quit [Remote host closed the connection]
bronson has joined #ruby
tvon has joined #ruby
rodrigodata has quit [Quit: Leaving]
mdw has quit [Ping timeout: 260 seconds]
Sucks_ has quit [Read error: Connection reset by peer]
kobain has joined #ruby
j0n3 has joined #ruby
uglybandersnatch has quit [Ping timeout: 276 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
tacit7 has quit [Remote host closed the connection]
bjpenn has quit [Ping timeout: 276 seconds]
mallu has joined #ruby
e has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yasha_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hanmac> new apple ad about "live photo" ... my reaction: "thats a FUCKING VIDEO!!"
freakcoder has joined #ruby
<weaksauce> it is and it isn't
beergineer has joined #ruby
stunder_ has quit [Ping timeout: 248 seconds]
yardenbar has joined #ruby
davee_ has joined #ruby
bronson has quit [Remote host closed the connection]
tummy has joined #ruby
yardenbar has quit [Max SendQ exceeded]
TH_ has quit [Ping timeout: 252 seconds]
n008f4g_ has quit [Ping timeout: 248 seconds]
stunder_ has joined #ruby
rmulligan has quit [Remote host closed the connection]
platzhirsch has left #ruby [#ruby]
rmulligan has joined #ruby
tummy has quit [Client Quit]
<apeiros> !unban plonk
bjpenn has joined #ruby
mdw has joined #ruby
PedramT has quit [Ping timeout: 252 seconds]
agit0 has joined #ruby
_stu_ has joined #ruby
PedramT has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
PedramT_ has joined #ruby
blackmesa has joined #ruby
Didac has joined #ruby
plonk_ has joined #ruby
platzhirsch has joined #ruby
mdw_ has quit [Ping timeout: 276 seconds]
mdw__ has joined #ruby
mdw__ has quit [Max SendQ exceeded]
diegoviola has quit [Ping timeout: 250 seconds]
mdw_ has joined #ruby
axl_ has quit [Quit: axl_]
Renich has quit [Quit: leaving]
PedramT has quit [Ping timeout: 246 seconds]
<tubbo> weaksauce: no, it is.
mdw has quit [Ping timeout: 260 seconds]
<tubbo> weaksauce: the iPhone can just no longer take pictures.
<apeiros> ?ot
<ruby[bot]> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
<tubbo> know what
<adaedra> ?o... beat me
<tubbo> fine
<tubbo> ;)
platzhirsch has quit [Ping timeout: 240 seconds]
<weaksauce> lol fine. it's a video with a full 12
<weaksauce> mp picture embedded
<apeiros> seriously? is telling nicely not enough? do I have to take out the kick-boot?
<tubbo> weaksauce's sauce is so weak, he's not even in -offtopic
<weaksauce> :) i'm done
Rickmasta has quit [Ping timeout: 244 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
Rickmasta has joined #ruby
treehug88 has joined #ruby
baweaver has quit [Remote host closed the connection]
emesa has joined #ruby
colegatron_origi has joined #ruby
davee_ has quit [Ping timeout: 240 seconds]
colegatron has quit [Read error: Connection reset by peer]
<Diabolik> how can i amend this regex: (http|https)?:\/\/(www\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|)(\d+)(?:|\/\?)
<Diabolik> so player?
infra-red has quit [Remote host closed the connection]
xaxisx has quit [Quit: xaxisx]
snockerton has quit [Ping timeout: 252 seconds]
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mallu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
axl_ has joined #ruby
moos3 has quit [Ping timeout: 276 seconds]
elifoster has joined #ruby
<apeiros> the cheap shot would be to amend the (www\.) part to also allow player\. I'd say
<apeiros> oh, and allow the s in videos to be optional
mrgrieves has quit [Ping timeout: 250 seconds]
s00pcan has quit [Ping timeout: 268 seconds]
<apeiros> not sure whether it's the right approach, though. not even sure you should do this with a regex at all. too much unknown.
frustrum has joined #ruby
<Diabolik> apeiros so (www\.|player\.)
<Diabolik> ?
<apeiros> yes
nerium has joined #ruby
<Diabolik> still no match according to rubular
[afk]chocoelho is now known as chocoelho
<apeiros> then figure how far it matches and after that figure how to further amend the regex
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
chocoelho is now known as [afk]chocoelho
<shevy> Diabolik did you build the regex from scratch?
[afk]chocoelho is now known as chocoelho
maletor has joined #ruby
ziyadb has joined #ruby
mdw has joined #ruby
frustrum has quit [Ping timeout: 246 seconds]
Nawn has joined #ruby
<Diabolik> no, i feel that if i had i wouldn't be asking this q
ldnunes has quit [Quit: Leaving]
<weaksauce> Diabolik just for that style url?
pibby has quit [Quit: leaving]
moei has quit [Quit: Leaving...]
<Diabolik> yes or www.vimeo.com
<Diabolik> those two
<weaksauce> build it up from the ground up on rubular.
mdw_ has quit [Ping timeout: 250 seconds]
<weaksauce> start with "https?:\/\/" and keep adding to it
crayon has joined #ruby
<apeiros> depending on whether they have testcases for what it should match, that may not be the best idea.
<crayon> how can i run wpscan for example as a hosted service that end users can call from a web page?
glcx has quit [Quit: ITS NOT FUNNYYYY]
Don_John has joined #ruby
jenrzzz has joined #ruby
dikaio has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
dikaio has joined #ruby
rnda has quit [Quit: Leaving]
s00pcan_ has quit [Read error: Connection reset by peer]
s00pcan has joined #ruby
kam270 has joined #ruby
devbug has joined #ruby
mariano_ has joined #ruby
jkahn has joined #ruby
bjpenn has quit [Ping timeout: 264 seconds]
Didac has quit [Ping timeout: 250 seconds]
dmr8 has quit [Quit: Leaving]
roshanavand has quit [Quit: This computer has gone to sleep]
j2k has quit [Quit: bai]
n008f4g_ has joined #ruby
choke has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
j2k has joined #ruby
poerror has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
toretore has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
j2k has quit [Client Quit]
mdw_ has joined #ruby
j2k has joined #ruby
davedev24 has quit []
freakcoder has quit [Quit: Leaving.]
poerror has quit [Ping timeout: 250 seconds]
<alexherbo2> explorer is surely misnomer but I don’t find a proper name / description
matp has quit [Ping timeout: 244 seconds]
mdw__ has joined #ruby
Didac has joined #ruby
emesa has quit [Ping timeout: 250 seconds]
lujan has quit [Ping timeout: 250 seconds]
bjpenn has joined #ruby
mdw has quit [Ping timeout: 248 seconds]
* adaedra takes 20cc of context
baweaver has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
mdw_ has quit [Ping timeout: 264 seconds]
yqt has joined #ruby
<alexherbo2> adaedra: ? :O
<adaedra> Your message comes a little out of nowhere, took me time to see what you could have been referring to
mostlybadfly has joined #ruby
BSaboia has joined #ruby
<alexherbo2> I achivied my goal, thanks :D
rffleaie has joined #ruby
PedramT_ has quit [Remote host closed the connection]
bjpenn_ has joined #ruby
bronson has joined #ruby
<alexherbo2> Is &[ planned ?
matp has joined #ruby
ivanskie has joined #ruby
pawnbox has quit [Remote host closed the connection]
intrigueD has joined #ruby
<weaksauce> is there a non block form of select that tests for equality?
kobain has quit [Ping timeout: 260 seconds]
<weaksauce> s/select/reject
<alexherbo2> (I refer to the safe navigation operator)
<alexherbo2> There is &. syntax but no &[ syntax
<alexherbo2> foo = nil
Uber|Dragon has joined #ruby
<alexherbo2> foo&.call
<alexherbo2> foo&[:bar]
<weaksauce> [1,2,3].reject(2) # == [1,3]
<alexherbo2> &[ could be added?
<aegis3121> &.[]
jackjackdripper has quit [Quit: Leaving.]
bjpenn has quit [Ping timeout: 276 seconds]
<aegis3121> >> h = {a: 'apple'}; h&.[](:a)
<ruby[bot]> aegis3121: # => "apple" (https://eval.in/537101)
jackjackdripper has joined #ruby
pawnbox has joined #ruby
ivanskie has quit [Client Quit]
<aegis3121> The method is called :[]. Someone more equipped than me could better explain why.
chipotle has joined #ruby
<alexherbo2> aegis3121: thanks
<alexherbo2> looks cumbersome though
<aegis3121> Use fetch instead
<aegis3121> >> h = {a: 'apple'); h&.fetch(:b, 'bear')
<ruby[bot]> aegis3121: # => /tmp/execpad-596259a669ff/source-596259a669ff:2: syntax error, unexpected ')', expecting '}' ...check link for more (https://eval.in/537102)
<aegis3121> if I could do syntax
fmcgeough has quit [Quit: fmcgeough]
<alexherbo2> Thanks
<aegis3121> >> blah = 'me'; b&.fetch(:a)
<ruby[bot]> aegis3121: # => undefined local variable or method `b' for main:Object (NameError) ...check link for more (https://eval.in/537103)
n008f4g_ has quit [Ping timeout: 244 seconds]
<aegis3121> (I have clearly not played with the lonely operator enough)
poerror has joined #ruby
jottr has joined #ruby
symm-_ is now known as symm-
unreal has quit [Quit: Very funny Scotty. Now beam down my clothes!]
bronson has quit [Ping timeout: 252 seconds]
paultreny has quit [Quit: ¯\_(ツ)_/¯]
techietrash has quit [Quit: Bye! <(^_^<)]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
mdw has joined #ruby
techietrash has joined #ruby
rdark has quit [Ping timeout: 250 seconds]
paultreny has joined #ruby
paultreny is now known as Guest97782
freakcoder has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
mdw__ has quit [Ping timeout: 264 seconds]
sp4rrow has joined #ruby
tvon has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
tvon has joined #ruby
jottr has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
dhollinger has quit [Quit: WeeChat 1.4]
Uber|Dragon has quit [Ping timeout: 264 seconds]
raz has left #ruby ["*fump*"]
ivanskie has joined #ruby
dopamean_ has quit [Ping timeout: 240 seconds]
<shevy> >> RUBY_VERSION
<ruby[bot]> shevy: # => "2.3.0" (https://eval.in/537105)
Zarthus_ has joined #ruby
debclair has joined #ruby
tvon has quit [Ping timeout: 244 seconds]
baweaver has quit [Remote host closed the connection]
mallu has joined #ruby
poerror has quit [Ping timeout: 244 seconds]
baweaver has joined #ruby
haylon has quit [Read error: Connection reset by peer]
Zarthus has quit [Ping timeout: 240 seconds]
Elysia has quit [Ping timeout: 268 seconds]
chocoelho is now known as [afk]chocoelho
BTRE has joined #ruby
uglybandersnatch has joined #ruby
Elysia has joined #ruby
<adaedra> You finally registered?
freakcoder has quit [Quit: Leaving.]
<debclair> Hello there, quick question, I got an observation in my code in a job interview recommending me to "Learn when it is right to use features of the language like -unless- to make code more legible and not the contrary". Thoughts?
mdw has quit [Quit: Sleeping Zzzzz]
Zarthus_ is now known as Zarthus
ivanskie has quit [Ping timeout: 250 seconds]
mdw has joined #ruby
<baweaver> https://github.com/bbatsov/ruby-style-guide and read through Eloquent Ruby
<baweaver> They'll teach you how to write Ruby like Ruby.
bry4n_ has quit [Ping timeout: 264 seconds]
tvon has joined #ruby
Felix444 has quit [Ping timeout: 250 seconds]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> though really if that's what cost you in an interview, the job isn't worth it.
mdw has quit [Client Quit]
rffleaie has quit [Quit: Bye]
<debclair> baweaver, I seemed to have failed to abide by the "do not use -unless- with -else-" seems to be the only one.
<baweaver> was that the only thing you got dinged on>
<rik> i would agree - you need to know the rules of the language and th econventions, so that you know when to break them.
<baweaver> and did that cost you the interview?
VeryBewitching has quit [Quit: Konversation terminated!]
<baweaver> In an interview, I can tell the difference between someone who's done a lot of Ruby and someone who's done a lot of programming outside of ruby
<baweaver> I've turned down people that knew Ruby but were bad at programming in general
<baweaver> but rarely will I ever turn someone down who's a great programmer that doesn't know ruby / javascript to an extreme.
<eam> we don't even require someone know a particular language, so long as they demonstrate competence in some language
Hammy_Work has quit [Quit: Leaving]
gbgdev has joined #ruby
<debclair> that and a couple more things like variable naming were the reasons(which I am finding kinda exaggerated though I might give them that one) but the unless thing was what struck me as weird
<baweaver> I like them to at least know _some_ of the language we're hiring for as it's a smaller team.
<baweaver> debclair: If all it was was stylistic stuff, don't sweat it, it was a bad company.
Eaven has joined #ruby
<baweaver> but make sure to evaluate the other parts of the interview for anything else you might have missed as well, because I just can't see that as the only reason for saying no.
freerobby has quit [Quit: Leaving.]
<shevy> adaedra I did it only so I could trigger the ?adaedra
Felix444 has joined #ruby
freerobby has joined #ruby
trosborn has quit [Ping timeout: 276 seconds]
trosborn has joined #ruby
<weaksauce> debclair maybe they were trying to let you down easy
<weaksauce> but using unless with an else would be somewhat of a flag
<debclair> baweaver, yeah, I am taking the other things they told me into account too, but this seemed rather far-fetched to me and I wanted someone else's opinion. Thank you very much.
<baweaver> read over those two so you have that backing for next time just in case
htmldrum has joined #ruby
rffleaie has joined #ruby
<debclair> weaksauce, it was a train problem involving graphs, which I solved using object lists and dijkstra, I don't know, I felt kinda good doing it, it was fun.
Eaven has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
digitalcakes has quit [Quit: Leaving.]
hahuang65 has quit [Ping timeout: 244 seconds]
digitalcakes has joined #ruby
baweaver has quit [Remote host closed the connection]
rffleaie has quit [Client Quit]
biberu has quit []
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
poerror has joined #ruby
unreal has joined #ruby
debclair has quit [Quit: Leaving]
<weaksauce> debclair cool. was it whiteboard or do you still have the code?
bezhermoso has quit [Quit: Adieu!]
workmad3_ has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
n008f4g_ has joined #ruby
bezhermoso has joined #ruby
zenlot6 has joined #ruby
flazz is now known as zz_flazz
<riceandbeans> anyone know why a yaml file parses fine by a third party app that's running jruby, then I take the yaml file and template it with ERB to sub out values on certain lines, ruby on linux and windows both load it just fine when I do require 'yaml';YAML.load_file('file.yaml') but the jruby app returns the following error
<riceandbeans> yaml-cpp: error at line 0, column 0: bad conversion
Didac has quit [Ping timeout: 268 seconds]
zenlot has quit [Ping timeout: 276 seconds]
bezhermoso has quit [Client Quit]
Mon_Ouie has quit [Ping timeout: 264 seconds]
malconis_ has joined #ruby
axl_ has quit [Quit: axl_]
baweaver has joined #ruby
<shevy> have you made sure the encoding is valid
poerror has quit [Ping timeout: 244 seconds]
<shevy> and the yaml file works in irb?
lyro has joined #ruby
bezhermoso has joined #ruby
lyro has left #ruby ["Leaving"]
babblebre has quit [Quit: Connection closed for inactivity]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anisha has quit [Quit: Leaving]
axl_ has joined #ruby
malconis has quit [Ping timeout: 264 seconds]
axl_ has quit [Client Quit]
Regulati_ has quit [Ping timeout: 244 seconds]
skade has joined #ruby
<toretore> riceandbeans: gist the file
<toretore> or better yet, upload it binarily
digitalcakes has quit [Quit: Leaving.]
Eaven has joined #ruby
stannard has joined #ruby
kobain has joined #ruby
digitalcakes has joined #ruby
yardenbar has joined #ruby
linoj has joined #ruby
rffleaie has joined #ruby
freerobby has quit [Quit: Leaving.]
saneax_AFK is now known as saneax
johnmilton has quit [Remote host closed the connection]
mistermocha has quit [Remote host closed the connection]
<riceandbeans> shevy: I just said I tested the yaml file loading in irb on both linux and windows
tekk has quit [Ping timeout: 276 seconds]
Eaven has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x77686d has quit [Quit: x77686d]
rffleaie has quit [Client Quit]
<shevy> riceandbeans good, so you know that the yaml file is valid
<riceandbeans> yaml-cpp says it's not though
Didac has joined #ruby
<shevy> probably an amateur wrote yaml-cpp
Moosashi has joined #ruby
mistermocha has joined #ruby
DiCablo has joined #ruby
rmulliga` has joined #ruby
baweaver has quit [Remote host closed the connection]
Eaven has joined #ruby
binaryplease has joined #ruby
rmulligan has quit [Ping timeout: 250 seconds]
NeckBeardPrince has joined #ruby
digitalcakes has quit [Quit: Leaving.]
saneax is now known as saneax_AFK
tvw has quit [Remote host closed the connection]
poerror has joined #ruby
frustrum has joined #ruby
linoj has quit [Quit: linoj]
malconis_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Eaven has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Jackneill has quit [Ping timeout: 240 seconds]
spider-mario has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
frustrum has quit [Ping timeout: 268 seconds]
n008f4g_ has quit [Ping timeout: 268 seconds]
moei has joined #ruby
NeckBeardPrince has quit [Quit: Textual IRC Client: www.textualapp.com]
ensyde_ has joined #ruby
tekk has joined #ruby
sdwrage has joined #ruby
linoj has joined #ruby
stunder001 has joined #ruby
ensyde_ has quit [Read error: Connection reset by peer]
norc has quit [Ping timeout: 244 seconds]
bezhermoso has quit [Quit: Adieu!]
eurialo has quit [Ping timeout: 264 seconds]
bezhermoso has joined #ruby
jackjackdripper1 has joined #ruby
bezhermoso has quit [Client Quit]
bjpenn_ has quit [Ping timeout: 244 seconds]
stunder_ has quit [Ping timeout: 260 seconds]
bezhermoso has joined #ruby
bezhermoso has quit [Client Quit]
jackjackdripper has quit [Ping timeout: 250 seconds]
Moosashi has quit [Quit: Moosashi]
EasyCo_ has joined #ruby
ensyde_ has joined #ruby
Moosashi has joined #ruby
Don_John_ has joined #ruby
stunder001 has quit [Quit: WeeChat 1.4]
mallu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
diegoviola has joined #ruby
DLSteve has joined #ruby
Don_John has quit [Ping timeout: 244 seconds]
tvon has quit [Remote host closed the connection]
avahey has quit [Quit: Connection closed for inactivity]
bjpenn has joined #ruby
tvon has joined #ruby
babblebre has joined #ruby
linoj has quit [Quit: linoj]
Gasher has quit [Ping timeout: 276 seconds]
n008f4g_ has joined #ruby
solars has quit [Ping timeout: 244 seconds]
mescyn has joined #ruby
tvon has quit [Ping timeout: 244 seconds]
intrigueD has quit [Remote host closed the connection]
<drbrain> shevy: uh… not helpful
<drbrain> riceandbeans: can you post the YAML file yaml-cpp doesn't like?
Ebok has joined #ruby
bezhermoso has joined #ruby
<mescyn> I'm trying to implement a bitwise 32 bit shift in ruby. However, at the boundaries where I would have expected a promotion to a BigNum, that doesn't seem to be the case. https://gist.github.com/bemitc/4502601fd0a103b4c60b for example, if I rotate 1 to the right by 1, I get 0x80000000
<mescyn> err rotate, not shift
<drbrain> mescyn: are you on a 64 bit ruby?
tvon has joined #ruby
safe has joined #ruby
<mescyn> yeah
<drbrain> so you shouldn't ever promote to bignum for 32 bit shifts
<drbrain> … shift on 32 bit values
<mescyn> what would be the cause of a rotate of 1 by 1 bit producing 0x80000000 then? I would expect I would have 63 bits to work with in that case.
<eam> wouldn't it promote around 62 bits or so? sign, tag
<eam> >> [ (2**62 - 1).class, (2**62).class ]
<ruby[bot]> eam: # => [Bignum, Bignum] (https://eval.in/537142)
<eam> oh maybe ruby[bot] is using 32bit ruby
bronson has joined #ruby
<Ox0dea> eam: eval.in is 32-bit, yeah.
<eam> >> 1 << 31
<ruby[bot]> eam: # => 2147483648 (https://eval.in/537144)
<drbrain> for your implementation 1 >> 1 == 0, then you | that with the left side
<Ox0dea> >> '%b' % 0x80000000 # mescyn
<ruby[bot]> Ox0dea: # => "10000000000000000000000000000000" (https://eval.in/537145)
jud has joined #ruby
<Ox0dea> Your implementation of 32-bit right rotate is correct.
<drbrain> which returns 0x80000000
<drbrain> seems correct?
<eam> (32 - count) is gonna only move you 32 bits in other words
[Butch] has quit [Quit: I'm out . . .]
shinnya has joined #ruby
<drbrain> mescyn: what value do you expect for 1.ror(1)?
<mescyn> 0xffffffff
Gasher has joined #ruby
chipotle has quit [Quit: cheerio]
<mescyn> wait, no thats not right
bronson has quit [Ping timeout: 252 seconds]
Don_John_ has quit [Ping timeout: 244 seconds]
pwnd_nsfw` is now known as pwnd_nsfw
<drbrain> I think you should get 0x80000000 https://en.wikipedia.org/wiki/Circular_shift#Example
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
[afk]chocoelho is now known as chocoelho
phredus has quit [Ping timeout: 268 seconds]
<mescyn> yeah, i thought it was a problem with my rotate implementation (since it went away when i switched to bit-twiddle) but you're right, that is the correct value
mleung has joined #ruby
_stu_ has quit [Quit: _stu_]
chocoelho is now known as [afk]chocoelho
sneakerhax has quit [Quit: back later]
mescyn has quit [Quit: Leaving]
stannard_ has joined #ruby
weemsledeux has joined #ruby
graffix has quit [Read error: Connection reset by peer]
dikaio has quit [Ping timeout: 244 seconds]
SCHAAP137 has quit [Remote host closed the connection]
graffix has joined #ruby
<headius> riceandbeans: what version of JRuby? sounds like a bug if it works in CRuby but not JRuby
<headius> but maybe a bug we've fixed
symm- has quit [Ping timeout: 244 seconds]
stannard has quit [Ping timeout: 248 seconds]
skade has quit [Quit: Computer has gone to sleep.]
chipotle has joined #ruby
dikaio has joined #ruby
dopamean_ has joined #ruby