apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
sevvie has quit [Ping timeout: 264 seconds]
Sid05 has joined #ruby
phutchins has quit [Ping timeout: 265 seconds]
<ramfjord> do any of you guys know how passing local variables to render works in rails?
Beliq has quit [Quit: Textual IRC Client: www.textualapp.com]
<ramfjord> I'm trying to do something similar with sql.erb files, but I don't want the whole view structure that comes with ActionView
<Radar> ramfjord: #rubyonrails
<ramfjord> hmmm, would have thought this would be more of an ERB question
<ramfjord> I'll ask there
theberlin has quit [Remote host closed the connection]
charliesome has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
pietr0 has quit [Quit: pietr0]
paulcsmith_ has quit [Quit: Be back later ...]
mleung has quit [Quit: mleung]
jonatin has quit [Ping timeout: 252 seconds]
SouL_ has quit [Remote host closed the connection]
graydot has joined #ruby
deol is now known as michaeldeol
<pipework> ramfjord: Have you perused actionview as whale? I haven't looked in a long time but it might be your best bet for a definitive answer.
bruno- has quit [Ping timeout: 256 seconds]
startupality has quit [Quit: startupality]
sevenseacat has joined #ruby
CorySimmons has quit [Quit: Bye!]
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
startupality has joined #ruby
graydot has quit [Client Quit]
sevvie has joined #ruby
Spami has joined #ruby
n_blownapart has quit []
adriancb has quit [Remote host closed the connection]
jonr22 has quit [Quit: WeeChat 1.1.1]
<ramfjord> pipework: no, I was trying to avoid that haha
<pipework> ramfjord: PROFESSIONAL LEVEL DOCUMENTATION!
<ramfjord> I'll probably just assign the varaibles in the template before rendering the partial if I can't figure out how to pass locals in within the next 20 mins
marr has quit []
kblake has quit [Remote host closed the connection]
<pipework> ramfjord: What's wrong with what I suggested about using a tree of objects to halp manage scope of variables?
<pipework> A sad thing you might be able to do is munge those variables so that each scope they exist in have uniquely munged variables that they end up calling so you can make a single call to ERB with the whole string later.
Sawbones has joined #ruby
<pipework> But that's trying to optimize.
nii2361 has quit [Ping timeout: 252 seconds]
zorak8 has quit [Quit: Leaving]
<ramfjord> pipework: I'm not seeing your suggestion...?
Cache_Money has quit [Quit: Cache_Money]
freerobby has quit [Quit: Leaving.]
<pipework> ramfjord: How are you passing variables at the very beginning to the first view?
lordkryss has quit [Quit: Connection closed for inactivity]
bim has quit [Remote host closed the connection]
<ramfjord> they are in the current binding
thumpba_ has quit [Ping timeout: 248 seconds]
<ramfjord> of what calls render_sql
reinaldob has joined #ruby
Motoservo has joined #ruby
<pipework> Alright, so, whenever your current binding calls the thing that you call to render a partial, have that method that you call get a new object. Then within that new object that was passed locals, you can on initialize either define methods or be lazy and use method_missing to both call those locals as whale as probably define a method.
<pipework> Like render would call, SQLPartial.new and pass it whatever is appropriate, including self so that you can let a template call the parent's 'locals'
<pipework> If you want.
<ramfjord> ahh, pass in self as the parent and method_missing? delegate anything that's not in the new object's binding to self
bim has joined #ruby
arescorpio has joined #ruby
<pipework> ramfjord: Whale, I'd check current self first, then I'd check parent, then I'd raise.
jonr22 has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
<ramfjord> right - by self I meant parent, and by new object I meant current self
<pipework> Yeah.
GaryOak_ has quit [Remote host closed the connection]
icebourg has joined #ruby
Takle has quit [Remote host closed the connection]
<pipework> Or, if you're awesome, you won't allow partials to call parents at all and you'll require that anything it needs be passed in.
<pipework> That would make it even easier.
milesmatthias has quit [Remote host closed the connection]
bim has quit [Remote host closed the connection]
milesmatthias has joined #ruby
delianides has joined #ruby
Lewix has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
gluten_hell_ has joined #ruby
adriancb has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
Motoservo has quit [Quit: Over & out.]
jonr22 has quit [Quit: WeeChat 1.1.1]
jonr22 has joined #ruby
oo_ has joined #ruby
robustus|Off has joined #ruby
robustus|Off is now known as robustus
reinaldob has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
milesmatthias has quit [Ping timeout: 272 seconds]
spyderman4g63 has quit [Ping timeout: 248 seconds]
Yzguy has joined #ruby
mjuszczak has quit []
gluten_hell_ has quit [Ping timeout: 264 seconds]
jgrevich has joined #ruby
Sid05 has quit [Ping timeout: 272 seconds]
iliketurtles has quit [Ping timeout: 245 seconds]
Sid05 has joined #ruby
sevvie has quit [Ping timeout: 272 seconds]
startupality has quit [Quit: startupality]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
devyn has quit [Read error: Connection reset by peer]
paulcsmith_ has joined #ruby
nettoweb has joined #ruby
devyn has joined #ruby
paulcsmith_ has quit [Client Quit]
sparch has joined #ruby
riotjones has joined #ruby
spyderman4g63 has joined #ruby
zarubin_ has joined #ruby
bricker has quit [Ping timeout: 272 seconds]
Stalkr^ has quit [Quit: Leaving...]
spyderma_ has joined #ruby
adriancb has joined #ruby
krisquigley has joined #ruby
arrubin has joined #ruby
sevvie has joined #ruby
Nuck has joined #ruby
bim has joined #ruby
RegulationD has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
DavidDud_ has joined #ruby
freerobby has joined #ruby
zarubin_ has quit [Ping timeout: 256 seconds]
bim has quit [Remote host closed the connection]
spyderman4g63 has quit [Ping timeout: 272 seconds]
sankaber has joined #ruby
bim has joined #ruby
freerobby has quit [Client Quit]
bim has quit [Remote host closed the connection]
ramfjord_ has joined #ruby
ramfjord has quit [Read error: Connection reset by peer]
DavidDudson has quit [Read error: Connection reset by peer]
krisquigley has quit [Ping timeout: 265 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
sevvie has quit [Remote host closed the connection]
doritostains has quit [Quit: WeeChat 1.0.1]
sevvie has joined #ruby
zacts has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dude007 has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
DavidDud_ has quit [Ping timeout: 252 seconds]
tkuchiki has joined #ruby
DavidDudson has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
colorisco has quit [Ping timeout: 255 seconds]
iteratorP has joined #ruby
Deele has quit [Ping timeout: 256 seconds]
iteratorP has quit [Remote host closed the connection]
einarj has joined #ruby
mjuszczak has joined #ruby
DavidDudson has quit [Client Quit]
iteratorP has joined #ruby
DavidDudson has joined #ruby
mjuszczak has quit [Client Quit]
basiclaser has quit [Quit: Connection closed for inactivity]
bim has joined #ruby
DavidDudson has quit [Max SendQ exceeded]
DavidDudson has joined #ruby
nii2361 has joined #ruby
Sid05 has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 272 seconds]
Rollabunna has quit [Remote host closed the connection]
<gr33n7007h> boo
jonr22 has quit [Quit: WeeChat 1.1.1]
zzing has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adriancb has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sankaber has quit [Ping timeout: 244 seconds]
bruno- has joined #ruby
rrichardsr3 has joined #ruby
oo_ has quit [Remote host closed the connection]
yqt has quit [Ping timeout: 250 seconds]
palms has joined #ruby
iliketurtles has joined #ruby
kaleido has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
davispuh has quit [Remote host closed the connection]
astrobun_ has joined #ruby
babykosh has quit [Quit: babykosh]
bigkevmcd has quit [Ping timeout: 250 seconds]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tkuchiki has quit [Read error: Connection reset by peer]
beneggett has joined #ruby
tkuchiki has joined #ruby
sevvie has quit [Ping timeout: 272 seconds]
bruno- has quit [Ping timeout: 264 seconds]
adriancb has joined #ruby
ascarter has joined #ruby
dfinninger has quit [Remote host closed the connection]
oo_ has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
chipotle has joined #ruby
freerobby has joined #ruby
babykosh has joined #ruby
jottr_ has quit [Ping timeout: 255 seconds]
baweaver has joined #ruby
juanpaucar has joined #ruby
babykosh has quit [Client Quit]
zacts` has joined #ruby
amclain has joined #ruby
sparch has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
phutchins has joined #ruby
adriancb has quit [Remote host closed the connection]
DavidDudson has joined #ruby
gsd has joined #ruby
bigkevmcd has joined #ruby
icebourg has quit []
zacts has quit [Ping timeout: 265 seconds]
juanpaucar has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanca_ has joined #ruby
jerematic has joined #ruby
sevvie has joined #ruby
jeromelanteri has joined #ruby
benlieb_ has joined #ruby
Yzguy has quit [Read error: Connection reset by peer]
OtterCoder has quit [Ping timeout: 272 seconds]
kaleido has joined #ruby
kaleido has quit [Client Quit]
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cocotton has quit [Remote host closed the connection]
zacts` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
adriancb has joined #ruby
cmckee has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
sparch has joined #ruby
mistermocha has joined #ruby
bigkevmcd has quit [Ping timeout: 264 seconds]
iamninja has quit [Read error: Connection reset by peer]
bigkevmcd has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Soliah has joined #ruby
iamninja has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
Filete has joined #ruby
patrick99e99 has quit [Read error: Connection reset by peer]
leafybasil has quit [Remote host closed the connection]
zzing has joined #ruby
patrick99e99 has joined #ruby
Renich has joined #ruby
sevvie has quit [Remote host closed the connection]
palms has quit [Ping timeout: 264 seconds]
Synthbread has joined #ruby
tcrypt has quit [Remote host closed the connection]
Jadam has joined #ruby
tcrypt has joined #ruby
CodyStringham has joined #ruby
juanca_ has quit []
iasoon has quit [Read error: Connection reset by peer]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
icebourg has joined #ruby
vivekananda has joined #ruby
DavidDudson has joined #ruby
edwinvdgraaf has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
delianides has quit [Remote host closed the connection]
lioninawhat has joined #ruby
MasterPiece has joined #ruby
edwinvdgraaf has quit [Ping timeout: 248 seconds]
davedev24_ has quit []
mpistone has joined #ruby
jeramy_s has joined #ruby
yh has quit [Ping timeout: 265 seconds]
vyorkin has joined #ruby
milesmatthias has joined #ruby
Sawbones has quit [Remote host closed the connection]
bim has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
vyorkin has quit [Ping timeout: 248 seconds]
sevvie has joined #ruby
milesmatthias has quit [Ping timeout: 244 seconds]
Sawbones has joined #ruby
jlast has quit [Remote host closed the connection]
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pi-bot has joined #ruby
<beneggett> hello everyone
sankaber has joined #ruby
baweaver has quit [Remote host closed the connection]
pi-bot has quit [Remote host closed the connection]
attamusc has quit [Quit: Connection closed for inactivity]
Renich has quit [Quit: leaving]
bricker has joined #ruby
towski_ has quit [Remote host closed the connection]
sparch has quit [Quit: Textual IRC Client: www.textualapp.com]
adriancb has joined #ruby
<havenwood> beneggett: hellooo
jamto11 has quit [Remote host closed the connection]
dfinninger has joined #ruby
Feyn has joined #ruby
civim has joined #ruby
sankaber has quit [Max SendQ exceeded]
Soda has quit [Remote host closed the connection]
kreeves has joined #ruby
symbol has joined #ruby
sankaber has joined #ruby
krz has joined #ruby
devoldmx has joined #ruby
markholmes has joined #ruby
hmsimha has joined #ruby
phutchins has quit [Ping timeout: 246 seconds]
bigkevmcd has quit [Ping timeout: 246 seconds]
civim has quit [Quit: This computer has gone to sleep]
devoldmx_ has joined #ruby
tcrypt has quit [Remote host closed the connection]
bigkevmcd has joined #ruby
paradisaeidae has joined #ruby
devoldmx has quit [Ping timeout: 255 seconds]
ZeeNoodleyGamer has quit [Ping timeout: 256 seconds]
benlieb_ has quit [Quit: benlieb_]
sankaber has quit [Max SendQ exceeded]
sankaber has joined #ruby
mistermocha has joined #ruby
riotjones has joined #ruby
cacocola has joined #ruby
Rapier- has quit [Ping timeout: 252 seconds]
rrichardsr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tvw has quit [Ping timeout: 264 seconds]
krisquigley has joined #ruby
Rapier- has joined #ruby
babykosh has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 246 seconds]
cacocola has quit []
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phroa has left #ruby [#ruby]
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
krisquigley has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
beneggett has joined #ruby
_honning_ has joined #ruby
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0/20150326190726]]
amystephen has quit [Quit: amystephen]
oo_ has quit [Remote host closed the connection]
sweet_toof has joined #ruby
f3lp has joined #ruby
einarj has joined #ruby
paradisaeidae has joined #ruby
bigmac has quit [Ping timeout: 244 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sweet_toof has quit []
bigmac has joined #ruby
_honning_ has quit [Ping timeout: 245 seconds]
jack_rabbit has joined #ruby
oo_ has joined #ruby
einarj has quit [Ping timeout: 255 seconds]
tvw has quit [Ping timeout: 264 seconds]
Sawbones has quit [Remote host closed the connection]
bigkevmcd has quit [Ping timeout: 272 seconds]
CorySimmons has joined #ruby
<gr33n7007h> >> eval("bT1Qcm9jLm5ld3t8YmFieXxBcnJheS5uZXcoMjAwLGJhYnkpLmluamVjdChiYWJ5KXt8c21hY2ssdXB8c21hY2sqc21hY2srdXB9fTsoMS4wKS5zdGVwKC0xLC0wLjA1KXt8ZnlvdXwoLTIuMCkuc3RlcCgwLjUsMC4wMzE1KXt8ZnlvdTJ8cHJpbnQgbS5jYWxsKENvbXBsZXgoZnlvdSxmeW91MikpLmFiczwyPycqJzonICd9OyQ+PDwiCiJ9".unpack('m0')[0])
ujjain has quit [Quit: Textual IRC Client: www.textualapp.com]
<eval-in_> gr33n7007h => (https://eval.in/307857)
leafybasil has joined #ruby
jerematic has quit [Remote host closed the connection]
bigkevmcd has joined #ruby
<gr33n7007h> haha base64 madelbrot :)
Trioxin has quit [Read error: Connection reset by peer]
<gr33n7007h> *encoded
Trioxin has joined #ruby
astrobun_ is now known as nakano
sevvie has quit [Ping timeout: 256 seconds]
sevvie has joined #ruby
<gr33n7007h> not_eval_unin
tcrypt has joined #ruby
govg has quit [Ping timeout: 256 seconds]
leafybasil has quit [Ping timeout: 244 seconds]
adriancb has quit [Remote host closed the connection]
tus has quit []
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hgl has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby
ponga has joined #ruby
mleung has joined #ruby
Megtastique has joined #ruby
hgl has joined #ruby
sweet_toof has joined #ruby
postmodern has joined #ruby
sevvie has quit [Remote host closed the connection]
sevvie has joined #ruby
milesmatthias has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
sweet_toof has quit [Client Quit]
ejfinneran has joined #ruby
jeramy_s has joined #ruby
jeramy_s has quit [Client Quit]
f3lp has quit [Quit: Leaving]
mjuszczak has joined #ruby
icebourg has quit []
brainslug has joined #ruby
mjuszcza_ has joined #ruby
milesmatthias has quit [Ping timeout: 245 seconds]
juanpaucar has joined #ruby
charliesome has quit [Quit: zzz]
towski_ has joined #ruby
sevvie has quit [Ping timeout: 248 seconds]
charliesome has joined #ruby
braincrash has quit [Quit: bye bye]
mjuszczak has quit [Ping timeout: 265 seconds]
juanpaucar has quit [Ping timeout: 255 seconds]
ramfjord_ has quit [Ping timeout: 255 seconds]
braincrash has joined #ruby
braincrash is now known as braincras
n008f4g_ has quit [Ping timeout: 248 seconds]
jamto11 has joined #ruby
<gr33n7007h> >> require 'socket'; Array.new(3) { Array.new(4) {rand(255) }}.map {|sweet| Socket.gethostbyaddr(sweet.pack('C4'))[0] rescue (sweet && "fucking bitch") }
<eval-in_> gr33n7007h => (https://eval.in/307860)
<gr33n7007h> >> require 'socket'; Array.new(3) { Array.new(4) {rand(255) }}.map {|sweet| Socket.gethostbyaddr(sweet.pack('C4'))[0] rescue (sweet && "fucking bitch") }
<eval-in_> gr33n7007h => (https://eval.in/307861)
<gr33n7007h> >> require 'socket'; Array.new(3) { Array.new(4) {rand(255) }}.map {|sweet| Socket.gethostbyaddr(sweet.pack('C4'))[0] rescue (sweet && "fucking bitch") }
<eval-in_> gr33n7007h => (https://eval.in/307862)
<sevenseacat> gr33n7007h: ?
5EXAAWDAF has joined #ruby
<Radar> gr33n7007h: maybe use different strings?
<sevenseacat> maybe so.
<gr33n7007h> I'm fucking pist off!
delianides has joined #ruby
sevvie has joined #ruby
<sevenseacat> and that sucks, but this is a public forum
<gr33n7007h> fucking my apologies :(
<pipework> This isn't America, this is the internet.
<ebbflowgo> hi, i'm using jruby with a clojure file... one of my variables returns an array in clojure but with the jrclj it returns a Java::Clojure::PersistentArrayMay I'm struggling with converting this to a ruby array https://gist.github.com/ebbflowgo/12ccaf0a0b783de984d7
panga has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
5EXAAWDAF has quit [Remote host closed the connection]
<pipework> You might have to cast that to something first.
<pipework> Ask #jruby
<ebbflowgo> pipework: tjat
<gr33n7007h> pipework: wtf?
<ebbflowgo> great suggestion, i'll ask in there
<CorySimmons> Anyone here use Sass/Compass? Their channels are dead.
delianides has quit [Ping timeout: 255 seconds]
<sevenseacat> yes.
sevvie has quit [Ping timeout: 244 seconds]
ponga has quit [Ping timeout: 248 seconds]
<Radar> !used
<helpa> Don't ask "does anyone use <thing>?". It's better to just state your problem and if anyone has used <thing> they will most likely answer.
cmckee has quit [Quit: cmckee]
ghostpl_ has joined #ruby
mjuszcza_ has quit []
dexteryy has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CodyStringham has quit [Remote host closed the connection]
sevvie has joined #ruby
CodyStringham has joined #ruby
panga has quit [Remote host closed the connection]
dexteryy has quit [Max SendQ exceeded]
dexteryy has joined #ruby
milesmatthias has joined #ruby
julieeharshaw has quit [Ping timeout: 252 seconds]
ponga has joined #ruby
mjuszczak has joined #ruby
ghostpl_ has quit [Ping timeout: 264 seconds]
CodyStringham has quit [Ping timeout: 252 seconds]
julieeharshaw has joined #ruby
reinaldob has joined #ruby
kreeves has quit [Ping timeout: 272 seconds]
djbkd has quit [Remote host closed the connection]
dexteryy has quit [Max SendQ exceeded]
mjuszcza_ has joined #ruby
DerisiveLogic has quit [Ping timeout: 264 seconds]
mjuszczak has quit [Ping timeout: 264 seconds]
Rapier- has quit [Quit: (null)]
dexteryy has joined #ruby
reinaldob has quit [Ping timeout: 252 seconds]
postmodern has quit [Ping timeout: 265 seconds]
iterator_ has joined #ruby
oo_ has quit [Remote host closed the connection]
nii2361 has quit [Ping timeout: 272 seconds]
iterator_ has quit [Remote host closed the connection]
iterator_ has joined #ruby
nii2361 has joined #ruby
<CorySimmons> Sorry Radar
postmodern has joined #ruby
<Radar> I accept your apology.
<CorySimmons> sevenseacat: I'm getting these errors when I try to use the Sassy Strings lib. I'm new to Compass so i'm not sure if it's my fault or the lib's fault https://github.com/at-import/Sassy-Strings/issues/12#issuecomment-88712186
iteratorP has quit [Ping timeout: 256 seconds]
symbol has quit [Ping timeout: 264 seconds]
beevalee_ is now known as beevalee
beevalee has left #ruby ["WeeChat 1.1.1"]
<sevenseacat> not enough info to say.
<sevenseacat> given it hasnt been updated in years, the chances of it working are low.
RegulationD has joined #ruby
<Radar> what sevenseacat said
<Radar> Why are you manipulating strings in your css anyway?
<CorySimmons> Radar: Because I'm a super cool dude trying to make a super cool grid system
<CorySimmons> Basically I'm trying to make a Sass mixin where I can grab the numerator and denominator of a fraction and perform griddy stuff on them
<sevenseacat> i miss the days where css was simple
<CorySimmons> I've got this in my config.rb http://pastie.org/10068898
duncannz has joined #ruby
<CorySimmons> And this in my stylesheet http://pastie.org/10068900
<sevenseacat> and people didn't try to bastardize simple things
ponga has quit [Remote host closed the connection]
<CorySimmons> But $bar returns false
<pipework> sevenseacat: You mean pre 2.0?
<sevenseacat> pipework: i'll even include 2.0.
<CorySimmons> sevenseacat: I take it you're a dev?
<sevenseacat> given we're in a dev channel, that's a fair assumption.
<CorySimmons> If you don't see value in things like Bootstrap and such I don't know what to tell you
<pipework> sevenseacat: Ooh ballsy
<sevenseacat> thats an awesome interpretation of what i said
<pipework> CorySimmons: Whale, I dislike bootstrap a lot.
<pipework> But I prefer mixins and a library that doesn't perversely use things that aren't meant for the things they appropriate them for.
RegulationD has quit [Ping timeout: 244 seconds]
freerobby has quit [Quit: Leaving.]
<pipework> But that's enough about my allegations of the immorality of a CSS library.
beevalee has joined #ruby
<CorySimmons> Yeah I'm not a fan of Bootstrap either, but I see it's value
<CorySimmons> Not sure what sevenseacat meant by bastardizing simple things
<CorySimmons> referring to my grid system specifically i guess?
<sevenseacat> yep.
Guest42382 has quit [Ping timeout: 264 seconds]
<sevenseacat> among other things.
<CorySimmons> that's cool. what you do sucks too
<sevenseacat> good to know.
lemur has joined #ruby
<sevenseacat> you're just full of wisdom today arent you
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<Radar> yay shit slinging
<sevenseacat> pretty much.
<Radar> I'd join in but I have more important things to do like be nice to people.
<CorySimmons> just don't like people shitting on what i'm interested in because they don't understand it
<pipework> CorySimmons: It does.
<pipework> She understands it.
<sevenseacat> where on earth did i 'shit on anything'?
<pipework> What made you think that she didn't understand it?
<CorySimmons> sevenseacat: Sorry, misinterpretted "bastardizing" as a bad thing
<pipework> Is it normal for you to react so caustically to things that upset you?
<sevenseacat> pipework: pot, kettle, black :P
<CorySimmons> Ugh, sorry =[
<CorySimmons> Just pissed off at this Compass problem and taking it out on you guys. My bad
<sevenseacat> np
tiago has joined #ruby
<pipework> sevenseacat: At least I'm entertained.
<pipework> Not entertaining to all though.
tiago is now known as Guest56142
dustpan has joined #ruby
sevvie has quit [Ping timeout: 250 seconds]
Mia has joined #ruby
Mia has joined #ruby
DrShoggoth has quit [Quit: Leaving]
adriancb has joined #ruby
bricker has quit [Ping timeout: 246 seconds]
eshiffob has joined #ruby
nakano has quit [Remote host closed the connection]
nakano has joined #ruby
cefkamcau has quit [Ping timeout: 256 seconds]
Deele has joined #ruby
ejfinneran has quit [Remote host closed the connection]
eshiffob has quit [Ping timeout: 252 seconds]
nakano has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
mjuszcza_ has quit []
yfeldblum has quit [Read error: Connection reset by peer]
Synthbread has quit [Remote host closed the connection]
mjuszczak has joined #ruby
yfeldblum has joined #ruby
brainslug has quit []
rayleigh415 has quit [Remote host closed the connection]
tmoor has quit [Quit: Leaving]
QuintinA_ has joined #ruby
<shevy> pipework is like the channel psychologist
rayleigh415 has joined #ruby
<pipework> What, was asshole already taken? :D
brainslug has joined #ruby
<shevy> no, you analyzed the prior situation
sargas has joined #ruby
<shevy> pipework> Is it normal for you to react so caustically to things that upset you? <-- Dr. Freud Analysis!
<havenwood> login as "guest" with no password: https://lobste.rs/bbs
<shevy> hah
<pipework> lul
<shevy> an old school terminal
<pipework> That's cute.
<shevy> looks better than ncurses as well
Channel6 has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has quit [Quit: zzzzz…..]
<pipework> shevy: But will this run on my toothbrush?
<shevy> well yeah, things are very advanced in mocrochips these days
<shevy> erm
<shevy> microchips
duncannz has quit [Ping timeout: 255 seconds]
Megtastique has quit []
QuintinA_ has quit []
QuintinAdam has joined #ruby
<pipework> shevy: Chrome-on-chip? :D
lioninawhat has quit [Read error: Connection reset by peer]
lioninawhat has joined #ruby
ejfinneran has joined #ruby
<shevy> hmm
MasterPiece has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
krisquigley has joined #ruby
nym has quit [Quit: Connection closed for inactivity]
MasterPiece has joined #ruby
A205B064 has quit [Ping timeout: 264 seconds]
MasterPiece has quit [Changing host]
MasterPiece has joined #ruby
mistermocha has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 256 seconds]
krisquigley has quit [Ping timeout: 255 seconds]
krz has quit [Ping timeout: 246 seconds]
tubuliferous has joined #ruby
einarj has joined #ruby
nahtnam has joined #ruby
_1_tima has joined #ruby
havenwood has quit []
rayleigh415 has quit [Remote host closed the connection]
cefkamcau has joined #ruby
QuintinAdam has quit []
sargas has quit [Quit: This computer has gone to sleep]
eshiffob has joined #ruby
mleung has quit [Quit: mleung]
iliketurtles has joined #ruby
einarj has quit [Ping timeout: 245 seconds]
_1_tima has quit [Quit: WhatsChat IRC Android APP]
mleung has joined #ruby
beneggett has joined #ruby
cefkamcau has quit [Ping timeout: 246 seconds]
cefkamcau has joined #ruby
mpistone has quit [Remote host closed the connection]
eshiffob has quit [Ping timeout: 246 seconds]
ValicekB has joined #ruby
Morkel has joined #ruby
rayleigh415 has joined #ruby
sargas has joined #ruby
postmodern has quit [Quit: Leaving]
zarubin_ has joined #ruby
beneggett has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
sargas has quit [Client Quit]
CorySimmons has quit [Quit: Bye!]
dopie has quit [Remote host closed the connection]
brainslug has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
zarubin_ has quit [Ping timeout: 252 seconds]
iterator_ has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
iteratorP has joined #ruby
dopie has joined #ruby
iteratorP has quit [Remote host closed the connection]
iteratorP has joined #ruby
cefkamcau has quit [Ping timeout: 256 seconds]
iteratorP has quit [Remote host closed the connection]
iteratorP has joined #ruby
dexteryy has quit []
AlphaTech has quit [Quit: Connection closed for inactivity]
juanpaucar has joined #ruby
Limix has joined #ruby
juanpaucar has quit [Ping timeout: 246 seconds]
joe_meade has joined #ruby
oo_ has joined #ruby
mjuszczak has quit []
Sawbones has joined #ruby
kyrylo_ has quit [Ping timeout: 252 seconds]
iliketurtles has quit [Read error: Connection reset by peer]
cefkamcau has joined #ruby
bashusr has quit [Ping timeout: 272 seconds]
tkuchiki_ has joined #ruby
arrubin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zzing has joined #ruby
Limix has quit [Quit: Limix]
mleung has quit [Quit: mleung]
tkuchiki has quit [Ping timeout: 250 seconds]
bluOxigen has joined #ruby
arescorpio has quit [Excess Flood]
stevechiagozie has quit [Quit: Computer has gone to sleep.]
milesmatthias has quit [Remote host closed the connection]
dustpan has quit [Remote host closed the connection]
sandelius has joined #ruby
albedoa has quit [Quit: Textual IRC Client: www.textualapp.com]
Mon_Ouie has quit [Quit: WeeChat 1.1.1]
Jadam has quit [Quit: leaving]
dfinning_ has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
lioninawhat has joined #ruby
DeathCode has joined #ruby
Sawbones has quit [Remote host closed the connection]
<DeathCode> hello
towski_ has quit [Remote host closed the connection]
rayleigh415 has quit [Remote host closed the connection]
<sevenseacat> good afternnon deathcode
<sevenseacat> afternoon even
duncannz has joined #ruby
<DeathCode> sup sevenseacat
thumpba has joined #ruby
rayleigh415 has joined #ruby
DeathCode is now known as DeathCode
tkuchiki_ has quit [Remote host closed the connection]
DEA7TH has joined #ruby
tkuchiki has joined #ruby
thumpba has quit [Client Quit]
A205B064 has joined #ruby
bean has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
<sandelius> good morning folks
A205B064 has quit [Read error: Connection reset by peer]
ejfinneran has quit [Quit: ejfinneran]
bigkevmcd has quit [Ping timeout: 264 seconds]
Channel6 has quit [Quit: Leaving]
dopie has quit [Ping timeout: 245 seconds]
A205B064 has joined #ruby
bigkevmcd has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
dfinning_ has quit [Remote host closed the connection]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arup_r_ has joined #ruby
Nuck has quit [Quit: Nuck Off]
iterator_ has joined #ruby
arup_r has quit [Ping timeout: 252 seconds]
<flughafen> morning sevenseacat sandelius shevy certainty arup_r_
vyorkin has joined #ruby
<sevenseacat> o/
<arup_r_> o/_ flughafen
<flughafen> sevenseacat: how many eye patches do you wear?
<sevenseacat> arrr
<flughafen> 2 eye patches would be so cool
iteratorP has quit [Ping timeout: 265 seconds]
<jokester> yes, twice cool as Nick Fury
longfeet_ has joined #ruby
arup_r_ has quit []
jerematic has joined #ruby
tagrudev has joined #ruby
vyorkin has quit [Ping timeout: 250 seconds]
longfeet has quit [Ping timeout: 255 seconds]
jottr_ has joined #ruby
vyorkin has joined #ruby
nakano has joined #ruby
jerematic has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 265 seconds]
jamto11 has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
arup_r has joined #ruby
<arup_r> shevy: hi
roolo has joined #ruby
bashusr has joined #ruby
bashusr has joined #ruby
cmckee has joined #ruby
RegulationD has joined #ruby
zzing has joined #ruby
Vile` has quit [Ping timeout: 248 seconds]
ebbflowgo has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
riotjones has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
krisquigley has joined #ruby
Vile` has joined #ruby
xcesariox has joined #ruby
arup_r_ has joined #ruby
tobago has joined #ruby
charliesome has joined #ruby
agrinb has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 252 seconds]
riotjones has quit [Ping timeout: 244 seconds]
josephleon has quit [Quit: Leaving...]
arup_r has quit [Ping timeout: 256 seconds]
rayleigh415 has quit [Remote host closed the connection]
aganov has joined #ruby
vivekananda has quit [Quit: Leaving]
vivekananda has joined #ruby
elfuego has quit [Ping timeout: 264 seconds]
avremel has joined #ruby
_1_wishall has joined #ruby
<_1_wishall> :D
arup_r_ has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
<_1_wishall> hello
rayleigh415 has joined #ruby
_1_wishall has quit [Remote host closed the connection]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
sevvie has joined #ruby
elfuego has joined #ruby
Soliah has quit [Quit: Soliah]
avremel has left #ruby [#ruby]
tobago has quit [Remote host closed the connection]
bal has joined #ruby
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Quit: Konversation terminated!]
seitensei has quit [Ping timeout: 252 seconds]
avremel has joined #ruby
jack_rabbit has quit [Ping timeout: 255 seconds]
ponga has quit [Quit: Leaving...]
dopie has joined #ruby
seitensei has joined #ruby
yh has joined #ruby
User458764 has joined #ruby
gluten_hell_ has joined #ruby
codecop has joined #ruby
avremel has left #ruby [#ruby]
sigurding has joined #ruby
ponga has joined #ruby
yh has quit [Ping timeout: 245 seconds]
bruno- has joined #ruby
sevvie has quit [Remote host closed the connection]
sevvie has joined #ruby
bricker has joined #ruby
longfeet_ has quit [Ping timeout: 244 seconds]
duncannz has quit [Ping timeout: 250 seconds]
dling has joined #ruby
haxrbyte has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
govg has joined #ruby
agrinb has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandelius has joined #ruby
avremel has joined #ruby
<certainty> xD
sandelius has quit [Client Quit]
avremel has quit [Quit: avremel]
agrinb_ has joined #ruby
juanpaucar has joined #ruby
bal has quit [Quit: bal]
bal has joined #ruby
<DeathCode> sup certainty
lioninawhat has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 256 seconds]
sevvie has quit [Ping timeout: 250 seconds]
joe_meade has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
greenbagels has quit [Quit: Leaving]
agrinb_ has quit [Ping timeout: 265 seconds]
juanpaucar has quit [Ping timeout: 264 seconds]
sevvie has joined #ruby
allenn has joined #ruby
DavidDudson has joined #ruby
jottr_ has joined #ruby
gluten_hell_ has quit [Quit: Computer has gone to sleep.]
sevvie has quit [Ping timeout: 256 seconds]
ChoiKyuSang has joined #ruby
kaffepanna has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
Axy has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
duncannz has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
iamninja has joined #ruby
iterator_ has quit [Remote host closed the connection]
Mia has quit [Ping timeout: 272 seconds]
iteratorP has joined #ruby
joonty has joined #ruby
yfeldblum has joined #ruby
relix has joined #ruby
Aswebb_ has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
<flughafen> certainty: gibst es was neues beim hamburger flughafen?
markholmes has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
lolmaus has quit [Quit: Konversation terminated!]
markholmes has joined #ruby
timonv has joined #ruby
cmckee has quit [Quit: cmckee]
tvw has joined #ruby
krz has joined #ruby
jimms has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
chishiki has quit [Ping timeout: 244 seconds]
mark06 has joined #ruby
chishiki has joined #ruby
Hounddog has joined #ruby
krz has quit [Ping timeout: 246 seconds]
jimms has quit [Ping timeout: 250 seconds]
lessless has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jimms has joined #ruby
bayed has joined #ruby
arup_r_ has joined #ruby
dopie has quit [Ping timeout: 256 seconds]
bluOxigen has quit [Ping timeout: 272 seconds]
amclain has quit [Quit: Leaving]
arup_r has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
pandaant has joined #ruby
joonty has quit [Quit: joonty]
kp666 has joined #ruby
teddyp1cker has joined #ruby
bean has joined #ruby
markholmes has quit [Quit: So it goes.]
bMalum has joined #ruby
joonty has joined #ruby
tubuliferous has quit [Quit: ZNC - http://znc.in]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lemur has quit [Remote host closed the connection]
antgel_ has joined #ruby
towski_ has joined #ruby
julweber has joined #ruby
agrinb has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
bMalum has quit [Quit: bMalum]
agrinb has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
terlar has joined #ruby
gluten_hell_ has joined #ruby
vyorkin has quit [Quit: WeeChat 1.1.1]
mark06 has left #ruby ["http://pidgin.renatosilva.me - Pidgin++"]
Rollabunna has joined #ruby
towski_ has quit [Remote host closed the connection]
jheg has joined #ruby
jimms has quit [Read error: Connection reset by peer]
jimms has joined #ruby
paradisaeidae has quit [Ping timeout: 256 seconds]
einarj has joined #ruby
<avril14th> morning
RegulationD has joined #ruby
timonv has quit [Ping timeout: 256 seconds]
nii2361 has quit [Ping timeout: 250 seconds]
yh has joined #ruby
<flughafen> moin avril14th
codecop has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
krisquigley has joined #ruby
DavidDudson has joined #ruby
<certainty> flughafen: nope, planes starting and landing. nothing new
mengu has joined #ruby
mengu has joined #ruby
babykosh has quit [Quit: babykosh]
bMalum has joined #ruby
DavidDudson has quit [Client Quit]
nakano has quit [Remote host closed the connection]
<DeathCode> certainty:u work at an airport?
Joufflu has joined #ruby
sandelius has joined #ruby
govg has quit [Remote host closed the connection]
<flughafen> it's a joke. my nick is german for airport, and there is a joke because the BER (berlin airport) has taken forever to being complete
krisquigley has quit [Ping timeout: 252 seconds]
<DeathCode> ah i see
<DeathCode> :)
yh has quit [Ping timeout: 255 seconds]
ahmetkapikiran has joined #ruby
nakano has joined #ruby
Takle has quit [Remote host closed the connection]
ghr has joined #ruby
jgrevich has quit [Ping timeout: 246 seconds]
bricker has quit [Ping timeout: 250 seconds]
anarang has joined #ruby
lessless has joined #ruby
jottr_ has joined #ruby
Feyn has quit [Ping timeout: 252 seconds]
Rollabunna has quit [Remote host closed the connection]
hmsimha has quit [Ping timeout: 252 seconds]
_1_saransh has joined #ruby
<_1_saransh> hiii
Dude007 has quit [Remote host closed the connection]
towski_ has joined #ruby
<apeiros> _1_saransh: hi. welcome to the #ruby programming language channel
chipotle has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
senayar has joined #ruby
chthon has joined #ruby
shadoi1 has joined #ruby
shadoi has quit [Ping timeout: 272 seconds]
nii2361 has joined #ruby
<flughafen> wazzaaah apeiros
teddyp1cker has left #ruby [#ruby]
<apeiros> moin flughafen
aswen has joined #ruby
julweber has quit [Remote host closed the connection]
wicope has joined #ruby
Takle has joined #ruby
DeathCode has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
marr has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
DeathCode has joined #ruby
c0m0 has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
DeathCode has quit [Client Quit]
iamninja has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
benlieb_ has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
wildroman2 has joined #ruby
vtunka has joined #ruby
dopie has joined #ruby
_1_saransh has left #ruby [#ruby]
djbkd has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
lolmaus has joined #ruby
colorisco has joined #ruby
devoldmx_ has quit [Remote host closed the connection]
benlieb_ has quit [Quit: benlieb_]
Joufflu has quit [Read error: Connection reset by peer]
User458764 has joined #ruby
ramfjord has joined #ruby
agrinb has joined #ruby
ahmetkapikiran has joined #ruby
juanpaucar has joined #ruby
jimms has joined #ruby
towski_ has joined #ruby
Zai00 has joined #ruby
lessless has quit [Max SendQ exceeded]
agrinb has quit [Ping timeout: 265 seconds]
juanpaucar has quit [Ping timeout: 255 seconds]
devoldmx has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
babykosh has joined #ruby
arup_r_ has quit [Remote host closed the connection]
devoldmx has quit [Remote host closed the connection]
zzing has joined #ruby
elaptics_away is now known as elaptics
aswen has quit [Quit: WeeChat 1.0.1]
Mon_Ouie has quit [Ping timeout: 246 seconds]
zarubin_ has joined #ruby
towski_ has quit [Remote host closed the connection]
<SebastianThorn> hi guys, can i differ in my sinatra code how my app is run? i would like to use "puts" when shotgun, and logger when apache is run
stef204 has joined #ruby
<SebastianThorn> or is there an easier way of doing this?
chinmay_dd has quit [Ping timeout: 245 seconds]
<adaedra> Use environments
<adaedra> Use a single logger with different parameters (minimal level, output) under different environments (development, production)
camilasan has quit [Ping timeout: 255 seconds]
<adaedra> And let apache use your app in production mode
bim has joined #ruby
rayleigh415 has quit [Remote host closed the connection]
<SebastianThorn> ok, sorry if i misunderstood, is this something i set manually, or something that i can do dynamicly? So i can run the exact same code in dev and production
zarubin_ has quit [Ping timeout: 264 seconds]
<adaedra> there’s multiple ways of setting this
camilasan has joined #ruby
<adaedra> I think the RACK_ENV environment variable is the most common
<SebastianThorn> ok, i found some pieces on google regarding this now, thank you for pointing me in the right direction :)
<adaedra> np
edwinvdgraaf has joined #ruby
blackmesa has joined #ruby
delianides has joined #ruby
quimrstorres has joined #ruby
quimrstorres has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
Takle has quit [Remote host closed the connection]
djbkd has joined #ruby
quimrstorres has joined #ruby
mengu has quit [Ping timeout: 248 seconds]
Rollabunna has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
delianides has quit [Ping timeout: 244 seconds]
DavidDudson has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
pagios has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 246 seconds]
Trioxin_ has joined #ruby
julweber has joined #ruby
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lkba has joined #ruby
lkba_ has quit [Read error: Connection reset by peer]
Beliq has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
rayleigh415 has joined #ruby
Trioxin has quit [Ping timeout: 252 seconds]
yh has joined #ruby
Spami has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
bigmac has quit [Ping timeout: 244 seconds]
Cust0sL1men has joined #ruby
chinmay_dd has joined #ruby
leafybasil has joined #ruby
wildroman3 has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
wildroman3 has quit [Remote host closed the connection]
quimrsto_ has joined #ruby
wildroman3 has joined #ruby
workmad3 has joined #ruby
Tinfoilhat has joined #ruby
hectortrope has joined #ruby
davidhq has joined #ruby
Tinfoilhat has quit [Read error: Connection reset by peer]
wildroman2 has quit [Ping timeout: 256 seconds]
Aswebb_ has joined #ruby
quimrstorres has quit [Ping timeout: 265 seconds]
yh has quit [Ping timeout: 252 seconds]
arup_r has joined #ruby
arup_r_ has joined #ruby
senayar_ has joined #ruby
Pharaoh2 has joined #ruby
huddy has joined #ruby
yh has joined #ruby
Rollabun_ has joined #ruby
senayar has quit [Ping timeout: 264 seconds]
arup_r has quit [Ping timeout: 252 seconds]
senayar_ is now known as senayar
senayar has quit [Changing host]
senayar has joined #ruby
Takle has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 250 seconds]
stef204 has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dude007 has joined #ruby
timonv has joined #ruby
Takle_ has joined #ruby
bigmac has joined #ruby
edwinvdgraaf has joined #ruby
<certainty> waiting for tests again
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<certainty> DeBot: #
<DeBot> ␣␣␣␣␣␣␣␣␣#␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<workmad3> DeBot: S
<DeBot> ␣␣␣␣␣␣␣␣␣#␣␣␣␣␣␣␣␣␣␣␣␣␣ [s] 1/12
<adaedra> DeBot: _
<DeBot> ␣␣␣␣␣␣␣␣␣#␣␣␣␣_␣␣␣␣␣␣␣␣ [s] 1/12
edwinvdgraaf has quit [Remote host closed the connection]
<SebastianThorn> DeBot: s
<DeBot> ␣␣␣␣␣␣␣␣␣#␣␣␣␣_␣␣␣␣␣␣␣␣ [s] 1/12
<certainty> DeBot: t
<DeBot> ␣␣t␣␣␣␣␣␣#␣␣␣␣_t␣␣␣␣␣t␣ [s] 1/12
<certainty> DeBot: u
<DeBot> ␣␣t␣␣␣␣␣␣#␣␣␣␣_t␣␣␣␣ut␣ [s] 1/12
<SebastianThorn> DeBot: o
<DeBot> ␣␣t␣␣␣O␣␣#␣␣␣␣_t␣␣␣out␣ [s] 1/12
agrinb has joined #ruby
<workmad3> DeBot: e
<DeBot> ␣et␣␣␣O␣␣#␣e␣␣_t␣␣eout␣ [s] 1/12
<SebastianThorn> DeBot: i
<DeBot> ␣et␣␣␣O␣␣#␣e␣␣_ti␣eout␣ [s] 1/12
<certainty> DeBot: m
<DeBot> ␣et␣␣␣O␣␣#␣e␣␣_timeout␣ [s] 1/12
<adaedra> DeBot: ?
<DeBot> ␣et␣␣␣O␣␣#␣e␣␣_timeout␣ [s?] 2/12
lolmaus_ has joined #ruby
<certainty> DeBot: q
<DeBot> ␣et␣␣␣O␣␣#␣e␣␣_timeout␣ [s?q] 3/12
<SebastianThorn> DeBot: a
<DeBot> ␣et␣␣␣O␣␣#␣ea␣_timeout␣ [s?q] 3/12
<SebastianThorn> DeBot: s
<DeBot> ␣et␣␣␣O␣␣#␣ea␣_timeout␣ [s?q] 3/12
<workmad3> DeBot: r
<DeBot> ␣et␣␣␣O␣␣#rea␣_timeout␣ [s?q] 3/12
<workmad3> DeBot: d
<DeBot> ␣et␣␣␣O␣␣#read_timeout␣ [s?q] 3/12
<workmad3> DeBot: N
<DeBot> Net␣␣␣O␣␣#read_timeout␣ [s?q] 3/12
<workmad3> DeBot: w
<DeBot> Net␣␣␣O␣␣#read_timeout␣ [s?qw] 4/12
<workmad3> DeBot: r
<DeBot> Net␣␣␣O␣␣#read_timeout␣ [s?qw] 4/12
<adaedra> DeBot: =
<DeBot> Net␣␣␣O␣␣#read_timeout= [s?qw] 4/12
<certainty> DeBot: :
<DeBot> Net::␣O␣␣#read_timeout= [s?qw] 4/12
<SebastianThorn> DeBot: i
<DeBot> Net::␣O␣␣#read_timeout= [s?qw] 4/12
<workmad3> hmm... not Network... I'm dumb :)
<certainty> :)
edwinvdgraaf has joined #ruby
<SebastianThorn> i was like IO, im dump i already typed i
<certainty> DeBot: f
<DeBot> Net::␣O␣␣#read_timeout= [s?qwf] 5/12
agrinb has quit [Read error: No route to host]
<certainty> erm
agrinb has joined #ruby
<adaedra> DeBot: P
<DeBot> Net::POP␣#read_timeout= [s?qwf] 5/12
lolmaus has quit [Ping timeout: 252 seconds]
<adaedra> DeBot: 3
<DeBot> Net::POP3#read_timeout= [s?qwf] 5/12 You won!
<certainty> DeBot: 3
<workmad3> heh
<jokester> yay
sgambino has joined #ruby
<certainty> \o/
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<avril14th> :)
<certainty> DeBot: ssl
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣l␣␣␣␣␣␣␣␣␣␣␣ [s] 1/12
<workmad3> DeBot: :
<DeBot> ␣␣␣::␣␣␣␣␣␣␣␣␣␣␣l␣␣␣␣␣␣␣␣␣␣␣ [s] 1/12
serivich has joined #ruby
<adaedra> DeBot: #
<DeBot> ␣␣␣::␣␣␣␣#␣␣␣␣␣␣l␣␣␣␣␣␣␣␣␣␣␣ [s] 1/12
<workmad3> DeBot: .
<DeBot> ␣␣␣::␣␣␣␣#␣␣␣␣␣␣l␣␣␣␣␣␣␣␣␣␣␣ [s.] 2/12
<certainty> DeBot: etc
<DeBot> ␣et::␣TT␣#␣ee␣␣␣l␣␣e␣t␣␣e␣␣t [s.c] 3/12
<certainty> DeBot: n
<DeBot> Net::␣TT␣#␣ee␣␣␣l␣␣e␣t␣␣e␣␣t [s.c] 3/12
<apeiros> NHP
<apeiros> DeBot: NHP
<DeBot> Net::HTTP#␣eep␣␣l␣␣e␣t␣␣e␣␣t [s.c] 3/12
<apeiros> DeBot: k
<DeBot> Net::HTTP#keep␣␣l␣␣e␣t␣␣e␣␣t [s.c] 3/12
<certainty> DeBot: k
<DeBot> Net::HTTP#keep␣␣l␣␣e␣t␣␣e␣␣t [s.c] 3/12
<workmad3> DeBot: a
<DeBot> Net::HTTP#keep␣al␣␣e␣t␣␣e␣␣t [s.c] 3/12
<certainty> DeBot: aiv
<DeBot> Net::HTTP#keep␣alive␣ti␣e␣␣t [s.c] 3/12
<apeiros> DeBot: ive
<DeBot> Net::HTTP#keep␣alive␣ti␣e␣␣t [s.c] 3/12
<workmad3> DeBot: live
<DeBot> Net::HTTP#keep␣alive␣ti␣e␣␣t [s.c] 3/12
<adaedra> DeBot: m
<DeBot> Net::HTTP#keep␣alive␣time␣␣t [s.c] 3/12
<certainty> DeBot: o
<DeBot> Net::HTTP#keep␣alive␣timeo␣t [s.c] 3/12
<adaedra> DeBot: ou
<DeBot> Net::HTTP#keep␣alive␣timeout [s.c] 3/12
<apeiros> DeBot: ou
<DeBot> Net::HTTP#keep␣alive␣timeout [s.c] 3/12
<apeiros> DeBot: _
<DeBot> Net::HTTP#keep_alive_timeout [s.c] 3/12 You won!
<certainty> DeBot: _
<adaedra> DeBot: _
<workmad3> DeBot: =
<avril14th> ahah
<apeiros> sniped!
<adaedra> that combo x3
<workmad3> doh
<certainty> yeah
<canton7> that bot needs to give a % to each person who helped
<SebastianThorn> DeBot needs to keep scores
<canton7> (I know, PR, but I'm lazy :) )
<workmad3> canton7: poke jhass... or fork and pull (it's written in crystal though :) )
jottr has joined #ruby
<certainty> canton7: what? demanding a feature in irc is not considered a PR?
<adaedra> Should be crystal clear then.
<certainty> :)
<apeiros> you can write a cinch plugin instead too and provide it for the official channel bot to come
<canton7> hehe
<certainty> bot agnostic
<apeiros> I'm not kidding btw.
* certainty hides
<apeiros> channel bot will come around easter
<workmad3> apeiros: would the scores count for channel karma? :)
* certainty looks at cinch
jottr_ has quit [Ping timeout: 252 seconds]
<apeiros> workmad3: I'm sorry, but I think not :D
<adaedra> apeiros: documentation somewhere about the bot? What it’ll do, for example?
<workmad3> apeiros: bah :P
<workmad3> adaedra: it'll do everything!!!
<apeiros> adaedra: feel free to join #ruby-community and help working on it! :)
<adaedra> thx
<adaedra> ok
Spami has quit [Quit: This computer has gone to sleep]
agrinb has quit [Ping timeout: 265 seconds]
nakano has quit [Remote host closed the connection]
Takle_ has quit [Remote host closed the connection]
vtunka has quit [Quit: Leaving]
nakano has joined #ruby
lolmaus_ has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
stoffus has joined #ruby
lolmaus_ has joined #ruby
Rollabun_ has quit [Read error: No route to host]
sevenseacat has quit [Quit: Textual IRC Client: www.textualapp.com]
Rollabunna has joined #ruby
jheg has quit [Quit: jheg]
rayleigh415 has quit [Remote host closed the connection]
einarj has joined #ruby
jimms has quit [Remote host closed the connection]
sevvie has joined #ruby
Spami has joined #ruby
RegulationD has joined #ruby
aswen has joined #ruby
devoldmx has joined #ruby
selu has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
ghostpl_ has joined #ruby
einarj has quit [Ping timeout: 246 seconds]
xcesariox has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 248 seconds]
RegulationD has quit [Ping timeout: 255 seconds]
riotjones has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
ponga has quit [Quit: Leaving...]
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
Zai00 has quit [Ping timeout: 265 seconds]
nakano has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 248 seconds]
sevvie has joined #ruby
nii236 has joined #ruby
edwinvdg_ has joined #ruby
mikecmpbll has joined #ruby
ponga has joined #ruby
nakano_ has joined #ruby
haroldwu has quit [Ping timeout: 246 seconds]
unshadow has joined #ruby
<unshadow> Hi guys, what do you think about this --> https://gist.github.com/bararchy/5821d4227c95cb865872 I'm trying to read from an SSL Socket and also buffer extra buffer is any exists
haroldwu has joined #ruby
edwinvdgraaf has quit [Ping timeout: 256 seconds]
renier has quit [Max SendQ exceeded]
Takle has joined #ruby
Zai00 has joined #ruby
renier has joined #ruby
julweber has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jimms has joined #ruby
chihhsin has quit [Ping timeout: 264 seconds]
chihhsin has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
Klaidas has joined #ruby
bruno- has joined #ruby
ixti has quit [Ping timeout: 244 seconds]
mengu has joined #ruby
mengu has joined #ruby
piotrj has joined #ruby
stoffus has quit [Ping timeout: 272 seconds]
withnale_ has joined #ruby
senayar has quit [Ping timeout: 244 seconds]
wicope has quit [Read error: Connection reset by peer]
bruno- has quit [Ping timeout: 252 seconds]
_1_leon11 has joined #ruby
<_1_leon11> hii
User458764 has joined #ruby
Klaidas has quit [Quit: Leaving]
_1_leon11 has quit [Remote host closed the connection]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wicope has joined #ruby
AlphaTech has joined #ruby
juanpaucar has joined #ruby
agrinb has joined #ruby
Akagi201_ has quit []
juanpaucar has quit [Ping timeout: 256 seconds]
agrinb has quit [Ping timeout: 265 seconds]
sevvie has quit [Ping timeout: 264 seconds]
Rollabunna has quit [Ping timeout: 256 seconds]
Pharaoh2_ has joined #ruby
Pharaoh2 has quit [Disconnected by services]
nakano_ has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 265 seconds]
vtunka has joined #ruby
pwattste has joined #ruby
mistermocha has joined #ruby
nakano_ has joined #ruby
iteratorP has quit [Ping timeout: 250 seconds]
wildroman3 has quit [Remote host closed the connection]
babykosh has quit [Quit: babykosh]
wildroman2 has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
wildroman2 has joined #ruby
mistermocha has quit [Ping timeout: 256 seconds]
multiscan has joined #ruby
Pharaoh2_ has quit [Quit: Byebye]
DeathCode has joined #ruby
<DeathCode> is java ever used for web dev?
<adaedra> I’m not sure this is the place for this, DeathCode
<DeathCode> oh wrong channel
<DeathCode> this was meant for ##java
<adaedra> that makes sense
sdothum has joined #ruby
<workmad3> DeathCode: in answer to your question though, 'yes, lots'
<DeathCode> workmad3:what about web databases?
<workmad3> DeathCode: what about them?
<DeathCode> can java be used for them?
<workmad3> DeathCode: as in "What you do mean by 'web databases'?"
Dude007 has quit [Remote host closed the connection]
<adaedra> Java is a generic language, it can be used for many things
<DeathCode> can java develop web databases?
<DeathCode> that was my question
<adaedra> and his was « what do you mean by 'web databases'? »
Pupeno has quit [Remote host closed the connection]
<workmad3> DeathCode: I have no clue what the fuck a 'web database' is though... it's not actually a term that makes sense
<DeathCode> like a database stored on the web
<DeathCode> like profile information
<DeathCode> data
<DeathCode> for each profile
<workmad3> DeathCode: ok... and now you're still spouting nonsense... 'database stored on the web'???
<DeathCode> i dunno how to explain
<DeathCode> but can java be used for that
<workmad3> DeathCode: considering I have no clue what you're even asking, I don't know how you expect an answer...
<adaedra> if we cannot understand what you mean, we can’t give you an answer
<DeathCode> ok hold on
<DeathCode> let me try
<adaedra> begin*
<workmad3> DeathCode: do you mean 'A web app that stores data in a database'?
iasoon has joined #ruby
<DeathCode> ok so lets say i have this website where i have people's information, banking info, pictures, text, aboue me section, etc. as profiles on there where people can log in and stuff and access that etc.
<DeathCode> kinda like facebook or tinder or what have you
<workmad3> DeathCode: ok... you just described a fairly typical web app, yes
<DeathCode> i want to use java to handle those "databases"
<workmad3> DeathCode: or at least, part of one
<DeathCode> can that be done?
<workmad3> DeathCode: that's not a 'database'... that's a web app
<DeathCode> ok its kind of like a database though
<DeathCode> lol
<workmad3> DeathCode: it most likely *uses* a database
<DeathCode> but ye thats what i mean
<adaedra> You’re still not really clear
<DeathCode> YES YES
devoldmx has joined #ruby
<workmad3> DeathCode: but it has application logic that handles the stuff like 'logging in' and 'access control' in ways beyond what a generic database server provides
<DeathCode> so thats good?
<workmad3> DeathCode: so basically your question is twofold - "Can java do webapps?" which was already answered, and "Can java access databases?" to which the answer should be pretty damn obvious :P
<adaedra> yes, a web application, even database-backed, can be developped in Java, if it’s what you’re asking
<DeathCode> awesome :D
<DeathCode> thanks guys
DeathCode has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<adaedra> yw
<workmad3> hopefully he's run off to do java web dev now :P
<jhass> all of that that I ever touched is horrible, in some way I'd feel sorry for him
<adaedra> workmad3: take a look in ##java to see if he’s there
nii2361 has quit [Quit: WeeChat 1.1.1]
<workmad3> adaedra: I would... but I don't want to tarnish my IRC client :P
nii236 has quit [Quit: WeeChat 1.0.1]
<adaedra> ahah
yokel has quit [Remote host closed the connection]
nii236 has joined #ruby
elfuego has quit [Quit: elfuego]
devoldmx has quit [Ping timeout: 250 seconds]
sandelius has joined #ruby
aswen has quit [Ping timeout: 248 seconds]
antgel_ has quit [Ping timeout: 250 seconds]
psy_ has quit [Ping timeout: 265 seconds]
Rollabunna has joined #ruby
v0dro has joined #ruby
antgel_ has joined #ruby
yokel has joined #ruby
vtunka has quit [Quit: Leaving]
mengu has quit [Remote host closed the connection]
fella5s has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
mrbond has joined #ruby
stoffus has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
tkuchiki has joined #ruby
ixti has joined #ruby
toertore has joined #ruby
ejnahc has quit [Quit: Changing server]
Rollabunna has quit [Ping timeout: 252 seconds]
serivich has quit [Ping timeout: 255 seconds]
oo_ has quit [Remote host closed the connection]
ejnahc has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
stoffus has quit [Ping timeout: 252 seconds]
ZeeNoodleyGamer has joined #ruby
djbkd has joined #ruby
serivich has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
riotjones has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
psy_ has joined #ruby
joonty has quit [Quit: joonty]
djbkd has quit [Ping timeout: 264 seconds]
sgambino has quit [Ping timeout: 245 seconds]
julweber has joined #ruby
gfawcettpq has joined #ruby
unshadow has quit [Quit: leaving]
riotjones has quit [Ping timeout: 248 seconds]
stoffus has joined #ruby
einarj has joined #ruby
jefus__ has joined #ruby
Stalkr has joined #ruby
nettoweb has joined #ruby
einarj has quit [Read error: Connection reset by peer]
einarj has joined #ruby
bruno- has joined #ruby
Aswebb_ has joined #ruby
aswen has joined #ruby
wildroman2 has quit [Remote host closed the connection]
jefus_ has quit [Ping timeout: 255 seconds]
wildroman2 has joined #ruby
mikecmpbll has quit [Ping timeout: 245 seconds]
mengu has joined #ruby
mengu has joined #ruby
sigurding has quit [Quit: sigurding]
yfeldblum has quit [Ping timeout: 256 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
multiscan has quit [Remote host closed the connection]
Mon_Ouie has quit [Client Quit]
bigkevmcd has quit [Ping timeout: 256 seconds]
multiscan has joined #ruby
User458764 has joined #ruby
Rollabunna has joined #ruby
agrinb has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
basiclaser has joined #ruby
reinaldob has joined #ruby
nakano_ has quit [Remote host closed the connection]
bigkevmcd has joined #ruby
Mon_Ouie has joined #ruby
merqlove has joined #ruby
n80 has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
nii236 has quit [Quit: WeeChat 1.0.1]
codecop has joined #ruby
tkuchiki has quit [Ping timeout: 246 seconds]
serivich has quit [Ping timeout: 252 seconds]
Aswebb_ has quit [Remote host closed the connection]
anarang has quit [Ping timeout: 252 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
antgel_ has quit [Ping timeout: 246 seconds]
Darryl___ has joined #ruby
mikecmpbll has joined #ruby
Pupeno has quit [Remote host closed the connection]
senayar has joined #ruby
startupality has joined #ruby
multiscan has quit [Remote host closed the connection]
antgel_ has joined #ruby
multiscan has joined #ruby
<wasamasa> I'm shocked about that guy's enthusiasm
rdark has joined #ruby
arup_r has joined #ruby
<wasamasa> java web development has brought forth pretty gross things
<certainty> s/java//
ahmetkapikiran has joined #ruby
arup_r_ has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
<jhass> s/web//
Aswebb_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
<workmad3> hehe
kp666 has quit [Remote host closed the connection]
piotrj has quit [Read error: Connection reset by peer]
<wasamasa> just the existence of java beans
piotrj has joined #ruby
<wasamasa> or rather, the enterprise variant of them used in java servlets
<colorisco> jhass, where can i find crystal doc in pdf? exist?
nettoweb_ has joined #ruby
<jhass> no, http://crystal-lang.org/docs/, http://crystal-lang.org/api/ and the blogposts are all the docs we have so far. Let's take that to #crystal-lang though ;)
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SouL has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
nettoweb has quit [Ping timeout: 246 seconds]
<livcd> so the crystal is new hotness ?
nii236 has joined #ruby
<jhass> totally
anarang has joined #ruby
duncannz has quit [Remote host closed the connection]
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
<arup_r> ok
ahmetkapikiran has quit [Quit: ahmetkapikiran]
stoffus has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby
piotrj has quit [Remote host closed the connection]
jimms has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
jimms has joined #ruby
banister has joined #ruby
Dude007 has joined #ruby
vdamewood has joined #ruby
<certainty> what's so hot about crystal?
phreakocious has quit [Ping timeout: 250 seconds]
phreakocious has joined #ruby
startupality has quit [Quit: startupality]
<jhass> feels a lot like writing ruby
einarj has quit [Remote host closed the connection]
startupality has joined #ruby
<jhass> but you end up with a regular binary
Takle has quit [Remote host closed the connection]
<certainty> alright
Mon_Ouie has quit [Ping timeout: 250 seconds]
<livcd> how does it compare to something like Elixir ?
<certainty> if it supports static linkage that would be awin
cpt_yossarian has quit [Ping timeout: 264 seconds]
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
piotrj has joined #ruby
<jhass> certainty: totally possible
workmad3 is now known as wm3|away
elfuego has joined #ruby
quimrsto_ has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
<certainty> i don't use ruby for anything performance critical so speed is not a reason. having a single binary is nice for deployment and having a statically linked binary even more so.
wildroman2 has quit [Remote host closed the connection]
<certainty> i had hoped that the language offered some more niceties though
quimrstorres has joined #ruby
<certainty> (it may. i haven't looked closely)
Aswebb_ has quit [Read error: Connection reset by peer]
bim has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
v0dro has quit [Quit: Leaving.]
brb3 has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
lanemeyer has quit [Ping timeout: 244 seconds]
sevvie has joined #ruby
<certainty> how do you approach the problems that arise with the usage of let in rspec? I mean when you have let-bound a value and want to make sure it exists before something else. Before-hooks don't work nice here. Also let! doesn't work so nice in situations whith nested contexts where the order of the creation of values matters, and a let! at the top is simply too early.
Takle has joined #ruby
<certainty> my current solution is a small helper: def force(*); end which i use to deliberately force those values
nfk has joined #ruby
msgodf has joined #ruby
yh has quit [Ping timeout: 250 seconds]
serivich has joined #ruby
Lewix has joined #ruby
juanpaucar has joined #ruby
agrinb has joined #ruby
oo_ has quit [Remote host closed the connection]
<jhass> certainty: it's easy to write C bindings in it and thus it could be great as a glue language to Ruby for example, a PoC of writing a Ruby extension in it is here: https://github.com/manastech/crystal_ruby
mpistone has joined #ruby
moeSeth_ has joined #ruby
bim has joined #ruby
teddyp1cker has joined #ruby
juanpaucar has quit [Ping timeout: 246 seconds]
mostlybadfly has joined #ruby
<jhass> the macro language has (potentially) complete AST access, so that offers some nice metaprogramming possibilities for being a compiled language
agrinb has quit [Ping timeout: 256 seconds]
symbol has joined #ruby
<jhass> I'm not saying it'll replace Ruby though
arup_r has quit [Remote host closed the connection]
<jhass> but it could bring the feeling of writing Ruby into other areas, like GUI applications where Ruby is not very popular atm
deuteriu_ has joined #ruby
mistermocha has joined #ruby
jheg has joined #ruby
mhib has joined #ruby
sigurding has joined #ruby
g105b has joined #ruby
Soda has joined #ruby
arup_r has joined #ruby
mistermocha has quit [Ping timeout: 256 seconds]
<g105b> Hi I'm meant to be fixing some JavaScript on a project made in Ruby... I don't know anything about Ruby, so I was wondering if someone could tell me what to do to get the project running locally? I have a Gemfile, a Gemfile.lock, then all the source, and I don't know how to get started.
silkfox has joined #ruby
<jhass> g105b: do you have ruby installed?
<g105b> jhass: yes
Takle has quit [Remote host closed the connection]
<jhass> is there a ruby line in the Gemfile or a .ruby-version or .rvmrc file?
<g105b> jhass: ruby '2.1.5'
Rollabunna has quit [Remote host closed the connection]
<g105b> that's inside Gemfile
djellemah_ has joined #ruby
<jhass> do you have that version of ruby?
sandelius has joined #ruby
<g105b> Ah, no I'm a couple of minor versions back.
<jhass> okay, if it's still 2.1 you can get away with changing that line to the version you have or removing it
<jhass> how did you install ruby? package manager?
adriancb has quit [Read error: Connection reset by peer]
<g105b> jhass: yeah, Debian.
<arup_r> from array `[//, /^GET$/, /^GET$/, /^GET$/, /^POST$/, /^DELETE$/] I want only the verb names
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<arup_r> what is the good regexp for that ?
adriancb has joined #ruby
jamto11 has joined #ruby
<jhass> g105b: alright, run sudo gem install bundler; and then bundle install --path vendor/bundle
<g105b> Am I right in thinking that the Gemfile is used by the bundler application?
sgambino has joined #ruby
<jhass> yes
<g105b> aha, you got there first :)
<jhass> arup_r: oO where do you get that from?
<arup_r> jhass: Rails.application.routes.routes.map(&:verb)
<g105b> jhass: it has to have root permissions?
djellemah has quit [Ping timeout: 246 seconds]
<jhass> g105b: no, you can do gem install --user-install bundler too
<adaedra> you may need root permissions to install bundler globally
<jhass> g105b: it will most likely tell you a path to add to your $PATH though
<g105b> I see.
<adaedra> Are you supposed to commit the Gemfile.lock file?
<jhass> yes
<arup_r> jhass: nasty Rails.application.routes.routes.map{ |r| r.verb.source[/[a-z]+/i] }
<jhass> if you don't you loose the main point of using bundler in fact
<g105b> jhass: ah it looks like I need to have that version of ruby installed. I changed it in the Gemfile to match mine, but I get this error: mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
<adaedra> I always leave it ignored, as it is generated by bundle
<arup_r> looking for cool solutions
teddyp1cker has quit [Remote host closed the connection]
<g105b> jhass: can you confirm that my error is due to ruby version?
<jhass> g105b: no it's not, you need to install the ruby-dev package
<jhass> because debian likes to cripple stuff ;P
ascarter has joined #ruby
<jhass> adaedra: as said, you loose the main point of using bundler this way
Takle has joined #ruby
<g105b> jhass: I understand why Debian does what it does, but it's times like these you wish you had more control.
sevvie has quit [Ping timeout: 252 seconds]
ponga_ has joined #ruby
<certainty> jhass: i see. not a must have for me though (being able to use the C FFI). I tend to avoid C, but it might me nice for others
<g105b> jhass: ok, the bundle install has completed successfully, now all I need to do is build/serve the app so I can view it in my local browser.
AlexRussia has quit [Remote host closed the connection]
v0dro has joined #ruby
tgunr has quit [Ping timeout: 245 seconds]
<jhass> certainty: yeah, the binding case might be a bit contrived, an easier way to port some performance critical code to native code might be more realistic
<jhass> g105b: yup, how to do that depends on what it actually is, there are many webframeworks in Ruby
<certainty> jhass: yeah
ponga has quit []
ponga_ is now known as ponga
adriancb has quit [Remote host closed the connection]
senayar has quit []
senayar has joined #ruby
sevvie has joined #ruby
DerisiveLogic has joined #ruby
Megtastique has joined #ruby
arup_r has quit [Remote host closed the connection]
Vivex has quit [Read error: Connection reset by peer]
<g105b> jhass: looks like something called sprockets
gr33n7007h has quit [Quit: WeeChat 1.1.1]
<g105b> jhass: just installed sprockets, from seeing it mentioned at the top of config.ru, so all I need to know now is how to tell sprockets to ... sprock.
<jhass> g105b: that's used in for example Rails but not a webframework in itself
<g105b> jhass: ah , well I'm getting there :)
<jhass> maybe just gist your Gemfile ;)
<g105b> jhass: could it be "rack"?
<adaedra> gist you Gemfile, we would find quicker
julweber has quit [Remote host closed the connection]
<jhass> rack is a generic interface for ruby webframeworks and application servers
<jhass> all remotely popular Ruby webframeworks run on top of it these days ;)
<g105b> It's thin!
<jhass> thin is the application server, the other end of rack ;)
senayar has quit [Remote host closed the connection]
<jhass> interesting, there's no framework, so it's a plain rack app I guess
<jhass> try bundle exec rackup
vtunka has joined #ruby
DEA7TH_ has joined #ruby
DEA7TH has quit [Ping timeout: 272 seconds]
<livcd> `what is the "rack" exactly ?
<jhass> livcd: http://rack.github.io/
<hectortrope> any advanced best of the best book for ruby
<hectortrope> ?
<hectortrope> bot
julweber has joined #ruby
B1n4r10 has joined #ruby
krz has joined #ruby
RegulationD has joined #ruby
<g105b> jhass: bundler: command not found: rack
<jhass> g105b: bundle exec rackup
<jhass> no space or anything
<adaedra> rackup, not rack
<g105b> jhass: thanks for all your help, you've got it.
<jhass> yw
<g105b> now into JavaScript land :)
Megtasti_ has joined #ruby
nettoweb_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rapier- has joined #ruby
sevvie has quit [Ping timeout: 255 seconds]
ujjain has joined #ruby
sankaber has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
Megtastique has quit [Ping timeout: 244 seconds]
v0dro has quit [Quit: Leaving.]
nettoweb has joined #ruby
adriancb has joined #ruby
davispuh has joined #ruby
nettoweb has quit [Client Quit]
AlexRussia has joined #ruby
dblessing has joined #ruby
Megtasti_ has quit [Ping timeout: 250 seconds]
elfuego has quit [Quit: elfuego]
bim has quit [Remote host closed the connection]
senayar has joined #ruby
triple_b has joined #ruby
riotjones has joined #ruby
rodfersou has joined #ruby
ldnunes has quit [Quit: Leaving]
lanemeyer has joined #ruby
senayar has quit [Client Quit]
riotjones has quit [Ping timeout: 256 seconds]
imanzarrabian has joined #ruby
tier has joined #ruby
delianides has joined #ruby
sevvie has joined #ruby
babykosh has joined #ruby
babykosh has quit [Client Quit]
stevechiagozie has joined #ruby
jamto11 has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 265 seconds]
Megtastique has joined #ruby
delianides has quit [Read error: Connection reset by peer]
teddyp1cker has joined #ruby
jamto11 has joined #ruby
delianides has joined #ruby
jerius has joined #ruby
agrinb has joined #ruby
B1n4r10 has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
quimrstorres has quit [Remote host closed the connection]
einarj has joined #ruby
einarj has joined #ruby
banister has joined #ruby
cocotton_ has joined #ruby
oo_ has joined #ruby
banister has quit [Max SendQ exceeded]
sandelius has quit [Ping timeout: 250 seconds]
agrinb has quit [Ping timeout: 265 seconds]
lavros has joined #ruby
cocotton_ has quit [Remote host closed the connection]
babykosh has joined #ruby
babykosh has quit [Client Quit]
Aswebb__ has joined #ruby
Aswebb__ has quit [Read error: Connection reset by peer]
symbol has quit [Ping timeout: 272 seconds]
Aswebb__ has joined #ruby
ldnunes has joined #ruby
ahmetkapikiran has joined #ruby
Aswebb_ has quit [Read error: Connection reset by peer]
banister has joined #ruby
_maes_ has joined #ruby
AlphaTech has quit [Quit: Connection closed for inactivity]
agarie has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
babykosh has joined #ruby
babykosh has quit [Client Quit]
bal has quit [Quit: bal]
babykosh has joined #ruby
aswen has quit [Ping timeout: 248 seconds]
Beliq has quit [Quit: My computer has gone to sleep. ZZZzzz…]
wm3|away is now known as workmad3
babykosh has quit [Client Quit]
jerematic has joined #ruby
dorei has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
cocotton has joined #ruby
jerematic has quit [Remote host closed the connection]
bim has joined #ruby
ascarter has joined #ruby
jerematic has joined #ruby
adriancb has quit [Remote host closed the connection]
<arup_r> shevy: around ?
Beliq has joined #ruby
bal has joined #ruby
ArchRogem has joined #ruby
amystephen has joined #ruby
doodlehaus has joined #ruby
merqlove has quit [Quit: Connection closed for inactivity]
yh has joined #ruby
tier_ has joined #ruby
RegulationD has joined #ruby
John-kkk has joined #ruby
<John-kkk> wn FREE STEAM GAMES http://tinyurl.com/ptv3gfv
cocotton_ has joined #ruby
Rapier- has quit [Quit: (null)]
theberlin has joined #ruby
Rapier- has joined #ruby
John-kkk was kicked from #ruby by apeiros [wrong channel]
theberlin has quit [Client Quit]
cocotton has quit [Ping timeout: 248 seconds]
tier has quit [Ping timeout: 265 seconds]
slackbotgz has quit [Remote host closed the connection]
slackbotgz has joined #ruby
symbol has joined #ruby
cocotton has joined #ruby
bmn_ has quit [Ping timeout: 250 seconds]
cocotton_ has quit [Ping timeout: 250 seconds]
imanzarrabian has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jamto11 has quit [Remote host closed the connection]
anarang has quit [Read error: Connection reset by peer]
adriancb has joined #ruby
nettoweb has joined #ruby
ahmetkapikiran has joined #ruby
jimms has quit [Ping timeout: 264 seconds]
tgunr has joined #ruby
jimms has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
zenith_ has joined #ruby
KrzaQ has quit [Disconnected by services]
mengu has quit [Remote host closed the connection]
KrzaQ has joined #ruby
Dude007 has quit [Remote host closed the connection]
symbol has quit [Quit: WeeChat 1.1]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agrinb has joined #ruby
ldnunes has quit [Ping timeout: 264 seconds]
delianides has quit [Read error: Connection reset by peer]
delianides has joined #ruby
oo_ has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
Limix has joined #ruby
jimms has quit [Remote host closed the connection]
AlexRussia has joined #ruby
dx7 has joined #ruby
sevenseacat has joined #ruby
Rodya_ has joined #ruby
Dude007 has joined #ruby
GnuYawk has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
tkuchiki has joined #ruby
sevvie has quit [Ping timeout: 244 seconds]
jconnolly has joined #ruby
n008f4g_ has joined #ruby
cocotton has quit [Remote host closed the connection]
agarie has quit [Remote host closed the connection]
arup_r has quit []
zcreative has joined #ruby
freerobby1 has joined #ruby
CodyStringham has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
CodyStringham has quit [Client Quit]
O_the_Del has joined #ruby
juanpaucar has joined #ruby
josephleon has joined #ruby
ascarter has joined #ruby
multiscan has quit [Remote host closed the connection]
Aswebb__ has quit [Remote host closed the connection]
multiscan has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
elfuego has joined #ruby
ascarter has quit [Client Quit]
kaleido has joined #ruby
freerobby1 has quit [Quit: Leaving.]
sevvie has joined #ruby
razieliyo has joined #ruby
razieliyo has joined #ruby
razieliyo has quit [Remote host closed the connection]
jimms has joined #ruby
GnuYawk has quit [Ping timeout: 250 seconds]
haxrbyte_ has joined #ruby
juanpaucar has quit [Ping timeout: 272 seconds]
Skelz0r has quit [Ping timeout: 256 seconds]
xenokiller has joined #ruby
Skelz0r has joined #ruby
delianides has quit []
Megtastique has quit [Ping timeout: 264 seconds]
quimrstorres has joined #ruby
mistermocha has joined #ruby
piotrj has quit [Remote host closed the connection]
JDiPierro has joined #ruby
<g105b> How would I set an HTTP response header in rackup?
piotrj has joined #ruby
haxrbyte has quit [Ping timeout: 248 seconds]
<adaedra> rackup is the server launcher for rack
<adaedra> what web framework is used in top of it ?
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<g105b> I don't think there is a framework, see https://gist.github.com/g105b/ac9b23a5c5f547fdfbc5
wildroman2 has joined #ruby
<kaleido> res.write() might be what youre looking for
<adaedra> yeah no, no framework
<adaedra> kaleido: that writes in the content, not the HTTP header
sevvie has quit [Ping timeout: 250 seconds]
<adaedra> g105b: if there’s a reponse object, use [] on it, i.e. res['X-HTTP-FICTIONNAL'] = 'foo'
Limix has quit [Quit: Limix]
<jhass> g105b: can you post your config.ru?
Rephiax has joined #ruby
ahmetkapikiran has joined #ruby
yqt has joined #ruby
<adaedra> that’s really a minimalistic Gemfile
OtterCoder has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
<jhass> yeah
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<jhass> I smell a strong case of not invented here syndrome there :P
<adaedra> With a rack application, to add a custom header unconditionnaly on replies, best guess would be to have a middleware to do the job
iamjarvo has joined #ruby
killerbunny has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<adaedra> doesn’t require to dig too deep
<g105b> jhass: updated the gist to include config.ru https://gist.github.com/g105b/ac9b23a5c5f547fdfbc5
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<adaedra> oh
iamjarvo has joined #ruby
<adaedra> this only serves assets and static files
<jhass> g105b: do you see ine 28?
iamjarvo has quit [Max SendQ exceeded]
julweber has quit [Remote host closed the connection]
<jhass> *line
iamjarvo has joined #ruby
<jhass> , "My-Header" => "its value"
<adaedra> jhass: putting it here would only add it for html files served by TryStatic
<jhass> oh
<jhass> right, meh
iamjarvo has quit [Max SendQ exceeded]
<adaedra> won’t work for sprockets generated files
<adaedra> g105b: when do you want to add your header? Always? on assets? on html files?
iamjarvo has joined #ruby
16WAANB7P has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
nettoweb has joined #ruby
cocotton has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<adaedra> Sprockets look simple to use
sevvie has joined #ruby
iamjarvo has joined #ruby
Aswebb_ has joined #ruby
Megtastique has joined #ruby
mkode has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<g105b> jhass: ah that looks so simple now you've pointed it out to me.
Megtastique has joined #ruby
rbennacer has joined #ruby
mitchellhenke has joined #ruby
<adaedra> g105b: you read what I wrote just after?
<jhass> g105b: answer adaedra's question though
freerobby has joined #ruby
<g105b> adaedra: I want to add the header on everything.
<adaedra> so it won’t work like that
Asher has quit [Quit: Leaving.]
bim has quit [Remote host closed the connection]
wasamasa has quit [Ping timeout: 264 seconds]
<jhass> yeah, my bad
tagrudev has quit [Remote host closed the connection]
<adaedra> I’m looking for a ready-to-use object
n008f4g_ has quit [Ping timeout: 248 seconds]
<adaedra> Doesn’t seems to exist, might have to write a custom middleware
icebourg has joined #ruby
julweber has joined #ruby
killerbunny has left #ruby [#ruby]
davedev24_ has joined #ruby
<jhass> easy enough though
xenokiller has quit [Read error: Connection reset by peer]
xenokiller has joined #ruby
zenith_ has quit [Ping timeout: 264 seconds]
<jhass> class HeaderAdder; def initialize(app); @app = app; end; def call(env); status, headers, body = @app.call(env); headers["Foo"] = "Bar"; [status, headers, body]; end; end; use HeaderAdder
wasamasa has joined #ruby
wasamasa has joined #ruby
<adaedra> which should be put just after use Rack::Deflater, if I understood correctly
<jhass> agreed
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
<adaedra> g105b: ^
jimms_ has joined #ruby
jimms has quit [Read error: Connection reset by peer]
jerius has quit [Quit: /quit]
<jhass> (replace ; by newlines)
vtunka has quit [Quit: Leaving]
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
rubyonrailed has joined #ruby
<jhass> oooh
<jhass> actually rack-contrib has something: http://www.rubydoc.info/gems/rack-contrib/Rack/ResponseHeaders
bmn has joined #ruby
Parker0 has quit [Remote host closed the connection]
Megtastique has quit [Ping timeout: 264 seconds]
<rubyonrailed> How can I shorten this if statement? https://gist.github.com/anonymous/cda0128b7074463e5c68
willharrison has joined #ruby
<canton7> no need for '== true'
OtterCoder has quit [Ping timeout: 265 seconds]
<canton7> the if statement is already comparing it to true (ish)
havenwood has joined #ruby
<canton7> ... then you can turn it around. 'access << "create" if permission.create'
<jhass> rubyonrailed: what its permission?
<jhass> what kind of object?
tus has joined #ruby
<rubyonrailed> jhass: permission is just an object that has booleans for create, edit, track.
davedev24_ has quit [Read error: Connection reset by peer]
agarie has joined #ruby
jamto11 has joined #ruby
davedev24_ has joined #ruby
<jhass> your own class? PORO? Doesn't inherit anything?
chinmay_dd has quit [Ping timeout: 250 seconds]
banister has quit [Ping timeout: 255 seconds]
<rubyonrailed> jhass: Class that I made
<jhass> then what canton7 said
<rubyonrailed> jhass: Ok, I was just wondering if there was a way to put it all on one line
<jhass> could access.concat %w(create edit track).select {|perm| perm.public_send(perm) } but not worth it IMO
<canton7> probably not without making it a readability nightmare
<jhass> I'd considered it if it had hash style access
<rubyonrailed> jhass canton7: Ok thanks
dangerousdave has joined #ruby
jamto11 has quit [Ping timeout: 256 seconds]
Takle has quit [Remote host closed the connection]
bim has joined #ruby
tvw has quit [Ping timeout: 252 seconds]
bim has quit [Remote host closed the connection]
dangerou_ has joined #ruby
jimms_ has quit [Remote host closed the connection]
bim has joined #ruby
sevvie has quit [Remote host closed the connection]
imran_raja has joined #ruby
startupality has quit [Quit: startupality]
imran_raja is now known as imranr
_ixti_ has joined #ruby
swerter has joined #ruby
ixti has quit [Ping timeout: 252 seconds]
dangerou_ has quit [Client Quit]
bruno- has joined #ruby
adriancb has quit [Remote host closed the connection]
dangerou_ has joined #ruby
dangerou_ has quit [Client Quit]
jerius has joined #ruby
jheg has quit [Quit: jheg]
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
swerter has quit [Remote host closed the connection]
aganov has quit [Quit: Leaving]
ldnunes has joined #ruby
Megtastique has joined #ruby
Takle has joined #ruby
Megtastique has quit [Max SendQ exceeded]
sevvie has joined #ruby
enebo has joined #ruby
jefus__ is now known as jefus
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
Megtastique has joined #ruby
adriancb has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
dfinninger has joined #ruby
musashi1 has quit [Ping timeout: 264 seconds]
parduse has quit [Ping timeout: 246 seconds]
joonty has joined #ruby
parduse has joined #ruby
crueber has joined #ruby
joonty has quit [Client Quit]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
bluOxigen has joined #ruby
cpt_yossarian has joined #ruby
<gregf_> >> class Permission; def create; true;end; def edit; false;end; def track; true;end; end; access = []; p = Permission.new();%w{create edit track}.each { |meth| p.send(meth.to_sym) && access << meth }; access
<eval-in_> gregf_ => ["create", "track"] (https://eval.in/308073)
zzing has joined #ruby
<gregf_> rubyonrailed: ^^ ;)
zzing has quit [Client Quit]
sigurding has quit [Quit: sigurding]
momomomomo has joined #ruby
dx7 has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 265 seconds]
ahmetkapikiran has joined #ruby
brainslug has joined #ruby
bal has quit [Quit: bal]
fryguy9 has joined #ruby
serivich has quit [Ping timeout: 255 seconds]
davidhq has joined #ruby
multiscan has quit [Remote host closed the connection]
multiscan has joined #ruby
<jhass> gregf_: that's what I wrote...
davidhq has quit [Max SendQ exceeded]
<gregf_> jhass: i know. :). possibly yours was better :/
<jhass> for three items it's more clear to have it with three modifier ifs IMO
Lewix has quit []
<gregf_> 3 if's is PHP style of coding :/
<avril14th> :)
yqt has quit [Ping timeout: 244 seconds]
<jhass> no, PHP doesn't have modifier-if ;
<jhass> ;P
<gregf_> heh
clumps has joined #ruby
<jhass> if Permssion would allow hash style access (like an OpenStruct, AR::Base, Hashie::Whatever etc.) you could access.concat %w(create edit track).select {|perm| permission[perm] }
tcrypt has quit [Remote host closed the connection]
<jhass> which I would consider for three items already, though not with public_send/end
<jhass> */send
elfuego has left #ruby [#ruby]
piotrj has quit [Remote host closed the connection]
<clumps> hi -- how do I add a member variable at run time? I do class << MyClass, add attr_accessor :foo, but also add "to_s", in which I add @foo, but when the code runs, it claims @foo is not defined. What else do I need to do to make this work?
<jhass> clumps: strong indication that you're doing something wrong. But just reopen the class
<jhass> class << MyClass reopens the class' singleton class
<jhass> (it's the same as class << self inside class MyClass)
<clumps> jhass: so when I add attr_accessor :foo to that opened class will using "@foo" just not work?
<jhass> sorry?
GnuYawk has joined #ruby
hs366 has joined #ruby
<apeiros> clumps: btw., note that all your ruby code is "run time"
<clumps> if I create a class like: class Foo\n def initialize\n @foo = "Hello";\n end\n end\n, then later class << Foo\n attr_accessor :new_foo\n def some_method\n@new_foo = 12 ....
<clumps> apeiros: yes, that is the intention
<jhass> clumps: did you even read what I said?
piotrj has joined #ruby
<clumps> jhass: I did, but not 100% sure I comprehend it yet :)
<jhass> then why do you continue to use class << Foo?
<clumps> I must have a poor understanding of how this works. Don't you want to tweak the singleton that produces all new Foos?
serivich has joined #ruby
Channel6 has joined #ruby
<adaedra> singleton don’t produce classes
<clumps> Oh.
banister has joined #ruby
<clumps> thanks
<adaedra> oh
<adaedra> I have to keep that for later
GnuYawk has quit [Client Quit]
momomomomo has quit [Ping timeout: 272 seconds]
albedoa has joined #ruby
orionstein has quit [Quit: ZNC - http://znc.in]
orionstein has joined #ruby
agarie has quit [Remote host closed the connection]
nettoweb has joined #ruby
GnuYawk has joined #ruby
piotrj has quit [Remote host closed the connection]
yh has quit [Ping timeout: 244 seconds]
orionstein has quit [Client Quit]
orionstein has joined #ruby
oo_ has quit [Remote host closed the connection]
razieliyo has joined #ruby
razieliyo has joined #ruby
<clumps> jhass: that was illuminating
sevvie has joined #ruby
<clumps> jhass: thanks again
<jhass> yw
babykosh has joined #ruby
clumps has quit []
piotrj has joined #ruby
jlast has joined #ruby
piotrj has quit [Remote host closed the connection]
kyrylo_ has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
startupality has joined #ruby
sevvie has quit [Ping timeout: 246 seconds]
babykosh has quit [Quit: babykosh]
Megtastique has quit [Ping timeout: 256 seconds]
Megtasti_ has joined #ruby
yh has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
quimrstorres has quit [Read error: Connection reset by peer]
sevvie has joined #ruby
quimrstorres has joined #ruby
babykosh has joined #ruby
brainslug has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adriancb has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 272 seconds]
Beliq has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Cache_Money has joined #ruby
gsd has joined #ruby
Morkel has quit [Quit: Morkel]
babykosh has quit [Client Quit]
antgel_ has quit [Ping timeout: 246 seconds]
bmn has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
jamto11 has joined #ruby
dx7 has joined #ruby
dx7 has quit [Remote host closed the connection]
centrx has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
piotrj has joined #ruby
sevvie has joined #ruby
dx7 has joined #ruby
_maes_ has joined #ruby
foureight84 has joined #ruby
brainslug has joined #ruby
josephleon has quit [Quit: Leaving...]
jamto11 has quit [Ping timeout: 264 seconds]
dx7 has quit [Remote host closed the connection]
adriancb has joined #ruby
startupality has quit [Quit: startupality]
piotrj has quit [Remote host closed the connection]
dx7 has joined #ruby
c_nick has joined #ruby
OtterCoder has joined #ruby
znst has joined #ruby
<c_nick> i load a DLL inside excel and execute a workbook. but if i use xls it is not able to process all the cells of the workbook.
Limix has joined #ruby
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
piotrj has joined #ruby
<wasamasa> what does that have to do with ruby?
DerisiveLogic has quit [Ping timeout: 264 seconds]
arcanez has joined #ruby
Limix has quit [Client Quit]
<arcanez> is it possible to convert a string to an array and push onto it all in one line?
hanmac has quit [Ping timeout: 256 seconds]
<wasamasa> >> foo='bar';[foo]<<'baz'
<eval-in_> wasamasa => ["bar", "baz"] (https://eval.in/308081)
HoloIRCUser7 has joined #ruby
adriancb has quit [Remote host closed the connection]
Limix has joined #ruby
<arcanez> wasamasa: ok, that is indeed one line :)
<wasamasa> I don't get why you'd do that though
kyrylo__ has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
MatthewsFace has joined #ruby
mleung has joined #ruby
juanpaucar has joined #ruby
HoloIRCUser7 has quit [Remote host closed the connection]
kyrylo__ is now known as kyrylo
kyrylo_ has quit [Ping timeout: 256 seconds]
<arcanez> that doesn't have ['bar', 'baz'] in foo, it just returns ['bar', 'baz]
<arcanez> ['bar', 'baz']
_honning_ has joined #ruby
stef204 has joined #ruby
<wasamasa> uh
<centrx> not clear what you're trying to do
<wasamasa> ^
Beliq has joined #ruby
<wasamasa> changing the type of a variable is possible, but frowned upon
GaryOak_ has joined #ruby
<wasamasa> since it makes it harder to reason about the code
kblake has joined #ruby
<arcanez> I can agree with that
<wasamasa> heck, there's plenty languages that (unintentionally) enforce that constraint on your code
<gregf_> wasamasa: he wants to coerce a string to an array
<gregf_> something like:
<gregf_> >> foo="bar";foo = [foo] << "baz"; foo
<eval-in_> gregf_ => ["bar", "baz"] (https://eval.in/308082)
<wasamasa> gregf_: but why put it into the same variable and restrain it to a line?
<gregf_> wasamasa: its silly, no doubt
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpaucar has quit [Ping timeout: 264 seconds]
Aswebb_ has quit [Remote host closed the connection]
brainslug has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arcanez> because I'm lazy
<gregf_> arcanez: your laziness could mean somebody elses nightmare
sevenseacat has quit [Quit: Textual IRC Client: www.textualapp.com]
adriancb has joined #ruby
<wasamasa> "I know what you did coerce last night.:
<wasamasa> "
Delsol has joined #ruby
<arcanez> gregf_: I prefer legacy over nightmare.
<gregf_> arcanez: especially the one that will read/maintain your code. * hopes he's a psycopath that lives next door to you and has a history of using axes *
<toertore> writing two expressions on two lines instead of one is exactly the same amount of work as writing them on one line; the only difference is that the delimiter is ; instead of \n
rippa has joined #ruby
workmad3 is now known as botdude
botdude is now known as workmad3
QuintinAdam has joined #ruby
workmad3 is now known as dudebot
dudebot is now known as workmad3
julweber has quit [Remote host closed the connection]
<Delsol> is there any way to easily find where @item is called as Item so I can eager_load some things?
MatthewsFace has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sevvie has quit [Ping timeout: 272 seconds]
<sweeper> what you want is to ensure it's always an array
<sweeper> you can use Array.concat for that purpose I suppose :3
PaulCapestany has quit [Quit: .]
<arcanez> >> foo='bar'; foo=[*foo, 'baz']; foo
<eval-in_> arcanez => ["bar", "baz"] (https://eval.in/308084)
adriancb has quit [Remote host closed the connection]
hanmac has joined #ruby
bricker has joined #ruby
msgodf has quit [Ping timeout: 244 seconds]
PaulCapestany has joined #ruby
dangerousdave has joined #ruby
mpistone has quit []
iamjarvo has quit [Ping timeout: 264 seconds]
Megtasti_ has quit [Ping timeout: 272 seconds]
Cust0sL1men has quit [Ping timeout: 246 seconds]
DerisiveLogic has joined #ruby
kyrylo_ has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
lkba has joined #ruby
MatthewsFace has joined #ruby
sevvie has joined #ruby
Megtastique has joined #ruby
kyrylo has quit [Ping timeout: 265 seconds]
freerobby has quit [Quit: Leaving.]
willharrison has joined #ruby
mistermocha has joined #ruby
aswen has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [Remote host closed the connection]
multiscan has quit []
mistermocha has quit [Client Quit]
x1337807x has joined #ruby
axilla has joined #ruby
<gregf_> arcanez: hope you din mind what i said :/, its just a funny quote from a book i read
<arcanez> gregf_: you can't have a thin skin and be a developer.. nor be a developer and come on freenode and ask for help
sevvie has quit [Ping timeout: 250 seconds]
icebourg has quit [Ping timeout: 252 seconds]
agrinb has quit [Remote host closed the connection]
<gregf_> arcanez: well, its not a question of having a thick skin. not all developers have a thick skin ;). its about listening twice before answering. no wonder we've got 2 ears and 1 mouth ;)
spider-mario has joined #ruby
agrinb has joined #ruby
znst has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<arcanez> gregf_: aside how funny we'd look otherwise.
<gregf_> heh
icebourg has joined #ruby
agarie has joined #ruby
Aswebb_ has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
agrinb has quit [Ping timeout: 248 seconds]
sevvie has joined #ruby
MasterPiece`` has joined #ruby
kyrylo_ is now known as kyrylo
iamjarvo has joined #ruby
<arcanez> gregf_: but to answer your question, you're fine.
agrinb has joined #ruby
rbennacer has quit [Remote host closed the connection]
m4rCsi_ has joined #ruby
phutchins has joined #ruby
m4rCsi has quit [Ping timeout: 252 seconds]
Rodya_ has quit [Quit: Leaving...]
agarie has quit [Ping timeout: 264 seconds]
ldnunes has quit [Quit: Leaving]
MasterPiece has quit [Ping timeout: 256 seconds]
aswen has quit [Ping timeout: 248 seconds]
<workmad3> gregf_: the quote is actually more along the lines of "Imagine the future maintainers of your code are psychopaths with axes and that they know where you live"
<gregf_> heh. spot on
<gregf_> workmad3++
<GaryOak_> imagine the previous maintainers of your code are psychopaths with axes
<workmad3> gregf_: that's normally followed by a self-deprecating comment along the lines of "That psychopath is normally me"
<gregf_> indeed
rbennacer has joined #ruby
<certainty> quick poll: do you guys have the feeling that you have arrived at your language or do you seek for something else? I find myself constantly seeking for more as it seems as i look around and investigate languages. I have a clear tendency and can say to what languages i don't want to return
<certainty> idk, i just wondered what is it that makes me urge in that direction
sankaber has joined #ruby
<marahin> Hey guys! I have created a simple daemonized ruby script (using 'daemons' gem) to operate my LEDs on the Rasp. Pi. However I want all the LEDs to turn off when I use the ./daemon stop command, and I'm not really sure how should I wrap it in the code (tried to find it in the 'daemons' docs, haven't got it tho). Code: https://gist.github.com/Marahin/93321c42f54f2825b94d
baroquebobcat has joined #ruby
<marahin> Point me in the right way, please :-)
Filete has joined #ruby
<wasamasa> certainty: write moar scheme
<wasamasa> certainty: that should cure it
Dude007 has quit [Remote host closed the connection]
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
MasterPiece`` has quit [Quit: Leaving]
Dude007 has joined #ruby
<certainty> wasamasa: hehe, scheme is actually a good example. it got me hooked immediatly when i started. I did a substantial amount of work with it when i learned it and didn't look for anything else for a long time
chthon has quit [Ping timeout: 244 seconds]
gluten_hell_ has quit [Quit: Computer has gone to sleep.]
<certainty> but that has changed. Scheme was an important milestone and i love it
<certainty> but it doesn't satisfy me :/
<wasamasa> ._.
momomomomo has joined #ruby
<jhass> marahin: I guess you want to trap sigterm
michaeldeol has joined #ruby
<toertore> marahin: don't daemonize inside the program itself
<toertore> and as jhass says, trap a sig and do what you need from there
<marahin> allright, i'll read about the signals
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<certainty> wasamasa: do you look for better languages? (for whatever your definition of better is)
<marahin> toertore, not sure what you mean by daemonizing in the program itself? I'm daemonizing it from another script, don't I?
maletor has joined #ruby
<marahin> (thanks a lot jhass :) )
ghostpl_ has quit [Remote host closed the connection]
<toertore> don't use the daemons gem is what it means
<wasamasa> certainty: I'm having loads of fun writing elisp and am currently learning CHICKEN to have something to write utilities in
<workmad3> certainty: personally, I think I'm comfortable expressing what I want in ruby now, and I'm currently more interested in larger problems than 'how can I be more expressive at the code-level' which is where a language would optimise me, IMO
lemur has joined #ruby
<dorei> hello, how could one serve dynamically created .js files with sinatra?
<arcanez> certainty: I started with perl.. now I do ruby & perl.. java if I have to.. no interest in python.. go piques my interest
<wasamasa> certainty: I still know python pretty well and learned ruby for the job
<toertore> well ok, you are doing it from another script, and as long as that's just for testing i guess it's ok
<workmad3> certainty: that could easily change in the future though, as I do tend to flick through interests :) and I'm definitely not adverse to looking @ other languages, I've just not gotten as comfortable in any others yet
<wasamasa> certainty: if I learn stuff about other languages, it's either to be able to read sources written in them when necessary (which I find an useful skill to have) or to learn about new concepts
dangerousdave has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<wasamasa> certainty: but not to find a "better" language than the ones I already know
<marahin> toertore, well I assume that's not the /best/ way to do that. What would you suggest? Google brings up this gem in most results. :/
ghostpl_ has joined #ruby
<certainty> workmad3: interesting. my colleague said roughly the same.
freerobby has joined #ruby
<toertore> marahin: what you want is something that runs in the foreground and that's it. then you will probably be using systemd, startup or something similar that will take care of the rest
allenn has quit [Read error: Connection reset by peer]
<wasamasa> certainty: in other words, I suspect I've arrived at the point where I perceive languages as tools
O_the_Del has quit [Remote host closed the connection]
<marahin> ah, I see :) so going on a system-level tools
<toertore> marahin: what i'm saying is that it's not your program's responsibility to daemonize itself
<marahin> toertore, will check that out, it's for the Pi so nothing too funky
gsd has joined #ruby
<toertore> yes, exactly
<wasamasa> toertore: upstart you mean
<toertore> yeah, upstart
<marahin> alright
<marahin> thanks guys
<certainty> wasamasa: yeah they are tools. I know i probably get way too attached to PLs anyway, but i want to use the best tools for my job
<marahin> have a nice day!
psy_ has quit [Remote host closed the connection]
<workmad3> wasamasa: I'm not sure I'd go as far as to say languages are tools... they affect my way of thinking too much for me to push them down that far
<certainty> lately i find types extremely important and it's painful to not have a decent typesystem in my dayjob
riotjones has joined #ruby
ponga has quit [Remote host closed the connection]
<wasamasa> like, if I have to do something client-side in the browser, I buckle up and write JS
<workmad3> wasamasa: I switch between JS and ruby a lot... and I definitely don't write JS and ruby the same way... I don't even structure the code the same
terlar has quit [Ping timeout: 265 seconds]
<wasamasa> workmad3: of course not, who'd want to maintain that mess
sevvie has quit [Remote host closed the connection]
zenith_ has joined #ruby
<workmad3> wasamasa: heh :)
<workmad3> wasamasa: I quite like JS nowadays, tbh... I've written enough of it that I've succumbed to stockholm syndrome ;)
<certainty> workmad3: hehe, yeah i tend to switch views as well. but what i demand from a language didn't change so much. At least i have the feeling that always want more from the good stuff. expressiveness of scheme? yeah, i take that. Immutable data? sure, give me that! Need Objectorientation? no thanks. Controllable side-effects? for sure. Sophisticated typesystem? sure.
<certainty> that's how i tend to think
<toertore> people are way too obsessed with their tools
xcombelle has joined #ruby
<certainty> because i see what those stuff would've changed in existing projects
* wasamasa coerces workmad3 to [object Object]
<certainty> toertore: yeah, I certainly am. I'm a PL nerd anyway
milesmatthias has joined #ruby
tcrypt has joined #ruby
<toertore> being interested is good
jamto11 has joined #ruby
<toertore> so am i
palms has joined #ruby
<toertore> but then you get people saying shit like "objects are for children"
mostlybadfly has joined #ruby
riotjones has quit [Ping timeout: 245 seconds]
<toertore> if your fn isn't 100% pure, you have failed
Dude007_ has joined #ruby
milesmatthias has quit [Client Quit]
Dude007 has quit [Ping timeout: 272 seconds]
sevvie has joined #ruby
julweber has joined #ruby
<workmad3> toertore: how about something like "Object Oriented programming, just like Functional Programming, has a lot of advocates who continually espouse supposed benefits in a reasonably fanatical way, despite the fact that these paradigms have both been around for 30+ years and yet have 0 empirical evidence supporting pretty much any view you pick"
<certainty> well ok i'm not talking about that. That's usully too fanatic
fryguy9 has quit [Quit: Leaving.]
<toertore> workmad3: that'd work :P
<certainty> workmad3: my theory is that our brains work differently. I have a colleague that is wired in such a way that it's most easy for him to use OOP. That's not so much the case for me
piotrj has quit [Remote host closed the connection]
<certainty> so while technically all major paradigms should work. They don't tend to work equally well for everybody
motehfucer has joined #ruby
<motehfucer> ruby sucks
<toertore> most people have been taught to "think in objects", it's not natural
<workmad3> toertore: worse, the way people 'think in objects' bears little resemblance to the way that OO was originally envisioned and described
<certainty> yes. most of the stuff we do is not natural i reckon
zenith_ has quit [Ping timeout: 264 seconds]
<toertore> workmad3: you mean as (gasp!) distributed objects?
msnyon has joined #ruby
<gregf_> arcanez: since you do Perl could you write the shortest code to find duplicates in an array ;)
<motehfucer> fuck u
jamto11 has quit [Ping timeout: 248 seconds]
<gregf_> o_O
<certainty> lelele
<motehfucer> nigger
<wasamasa> trololol
<toertore> motehfucer: no fuck u
motehfucer has left #ruby [#ruby]
<workmad3> drats, just a bit too late
Takle has quit [Remote host closed the connection]
steven43126 has quit [Ping timeout: 250 seconds]
<workmad3> toertore: and yeah, as something resembling cellular automata :)
* toertore pretends to know what that means
<certainty> is that a fancy word for body?
* certainty hides
<toertore> i guess it refers to the way cells are isolated from each other and communicate by sending messages?
<workmad3> toertore: I don't buy the "it's not natural argument" though... as certainty said, pretty much nothing we do is 'natural' (natural in this case meaning 'stuff that we did in the ancestral environment')
<workmad3> toertore: yup
Takle has joined #ruby
parduse has quit []
<toertore> workmad3: yeah, i guess functions and objects are both quite unnatural
<certainty> i also enjoy ruby and i'm glad i can use it on a daily basis, but not in the absolute sense. It's more that i think it could be way worse
<toertore> i see how people can think that modelling the world with classes and objects makes sense though.. i think it does anyway
Takle has quit [Remote host closed the connection]
<workmad3> certainty: that can be empirically demonstrated at least ;)
<certainty> so i'm thankful i don't have to use C or PHP
Takle has joined #ruby
tkuchiki has quit [Remote host closed the connection]
dpatel has joined #ruby
<workmad3> certainty: in terms of pure syntax comprehension, ruby is quite a bit better than C, Java, Perl... in many repeated and repeatable tests now, Java and Perl have failed to perform better than randomised syntax in terms of ease of comprehension :)
<certainty> toertore: yeah in the real world that might be true. But here is one of the cruxes for me. In my programs i don't model the real world
<toertore> people also mistake what sort of features a language has "built in" with what it can be extended to do
QuintinAdam has quit [Ping timeout: 248 seconds]
The_Phoenix has joined #ruby
<toertore> certainty: sure, it depends on what you're doing
The_Phoenix has quit [Max SendQ exceeded]
<certainty> workmad3: yeah i can second that. so good that we have ruby. And ruby is an interesting language in its own way
nfk|laptop has joined #ruby
<toertore> web apps with "tangible things" are easily modeled as objects
kyrylo_ has joined #ruby
<certainty> yepp they can be
<toertore> other things are more easily modeled as processes
The_Phoenix has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
milesmatthias has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
dx7_ has joined #ruby
<workmad3> toertore: the 'distributed objects' view of OO works quite well for a higher-level view of processes... each process is an object in that sense, and you can model the internals in whatever way you want, all the 'Object' constraint imposes on you is a boundary and a way to communicate beyond that boundary :)
The_Phoenix has joined #ruby
<certainty> toertore: indeed. yet the programmers i know seem to always aim for the paradigm they like the most or know the best. i'm not sure
kyrylo has quit [Ping timeout: 252 seconds]
pietr0 has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
Zai00 has quit [Quit: Zai00]
rbennacer has quit [Remote host closed the connection]
<workmad3> certainty: people don't like altering how they think... thinking is hard, and thinking about thinking is even harder... so most people don't bother and stick with what they already know
psy has joined #ruby
fryguy9 has joined #ruby
<toertore> workmad3: i agree; the soa paradigm that is all the rage now attests to the validity of the original idea
n008f4g_ has joined #ruby
psy has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
<certainty> workmad3: yeah seems like it. I wonder why that is. It's not so hard to think. I think :)
<toertore> workmad3: though the whole "distributed objects" thing didn't work out so well
<certainty> even I think, I should say
The_Phoenix has quit [Max SendQ exceeded]
<toertore> you gotta keep things separate from each other and have strict and small interfaces
psy has joined #ruby
<workmad3> toertore: it works quite well for erlang ;)
The_Phoenix has joined #ruby
rodfersou has quit [Remote host closed the connection]
<toertore> what is erlang? ;)
rodfersou has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
nfk|laptop has quit [Client Quit]
Behold has joined #ruby
<toertore> it works as long as all you use is erlang
<workmad3> toertore: the language that your telephone exchange was probably coded in
<toertore> erlang people use erlang for *everything*
Dude007_ has quit []
<certainty> erlang was never on my list of languages to look closer, oddly
dx7 has quit [Ping timeout: 245 seconds]
The_Phoenix has joined #ruby
<toertore> workmad3: but i don't think erlang's actors are == distributed objects
pdoherty has joined #ruby
<toertore> distributed actors that are not coupled to their implementation language is fine
<toertore> i'm not sure how erlang does it, but i'm guessing they just serialize erlang data structures and send them across the pipes
Kricir has joined #ruby
yh has quit [Ping timeout: 244 seconds]
<toertore> if they used json/whatever instead you could substitute one end with something other than erland
<toertore> g
Hobogrammer has quit [Ping timeout: 265 seconds]
<toertore> and as long as the network is not "hidden" from the programmer
<toertore> the cost must be clear
Mon_Ouie has joined #ruby
<toertore> anyway, i must be going, see you all later
<workmad3> hf :)
sevvie has quit [Ping timeout: 264 seconds]
<certainty> have fun
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby
OrbitalKitten has joined #ruby
<toertore> there will be food, it is... how can i say this.. a certainty
lemur has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sevvie has joined #ruby
<c_nick> ruby 1.8.6 is not able to evaluate the xls file i need to change it to xml .. is there a way i can actually evaluate xls file without having issues with the workbook
* certainty stares at that sentence
Guest35208 has joined #ruby
<apeiros> c_nick: 1.8.6?
* apeiros checks watch
* apeiros checks calendar
Dude007 has joined #ruby
<certainty> he must be from the past
withnale_ has quit [Ping timeout: 245 seconds]
<jhass> finally the internet passes a time singularity!
bruno- has quit [Ping timeout: 252 seconds]
* GaryOak_ dying, slowly dying
foureight84 has quit [Quit: Lingo: www.lingoirc.com]
<apeiros> no, I didn't accidentally get returned to 2006
<certainty> greet Dr. Brown once you get home marty!
<c_nick> 1.8.7
<GaryOak_> hahaha
<workmad3> apeiros: I miss 2006... facebook wasn't so pervasive then
thumpba has joined #ruby
<workmad3> c_nick: you're still talking about versions that are way past EoL
<apeiros> workmad3: what's facebook?
<c_nick> workmad3, i use ruby 1.8.7 and 2.0
<GaryOak_> I had myspace before facebook
<workmad3> c_nick: sucks to be you then
freerobby has quit [Quit: Leaving.]
<c_nick> workmad3, why ?
<workmad3> c_nick: because you're stuck using a version that is officially dead
<certainty> because 1.8.7 (being EOL) is a pain
<certainty> oh wait i'm using 1.8.7 too
<workmad3> certainty: see above about what it's like to be you :P
<certainty> yeah :p
<havenwood> c_nick: 1.9 is past end-of-life. 2.0 is in maintenance mode. 2.1 is supported and 2.2 is current stable.
DerisiveLogic_ has joined #ruby
<c_nick> havenwood, But i just cant keep jumping onto new versions of ruby just like that :P
dpatel has quit [Quit: dpatel]
<certainty> what are xls files btw?
<c_nick> i guess i will move to 2.2 in 3-4 months .. for now even on ruby 2.0 the xls has to be renamed as xml and saved before they are properly read
momomomomo has quit [Quit: momomomomo]
<c_nick> certainty, Excel Files
<certainty> c_nick: oh i see.
thumpba_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krisquigley has quit [Remote host closed the connection]
yqt has joined #ruby
<certainty> c_nick: do you use a gem for that?
Guest35208 has quit [Quit: Textual IRC Client: www.textualapp.com]
<c_nick> certainty, win32OLE object
RegulationD has quit [Remote host closed the connection]
<certainty> c_nick: have you tried roo?
krisquigley has joined #ruby
<c_nick> yes gem in ur words
<c_nick> no whats roo
Mark-6ma has joined #ruby
<certainty> dunno just googled that
freerobby has joined #ruby
<certainty> it's a gem that can deal with excel files as it seems
izhak has joined #ruby
DerisiveLogic has quit [Ping timeout: 252 seconds]
<certainty> of course it's also on rubygems.org
rbennacer has joined #ruby
thumpba has quit [Ping timeout: 245 seconds]
Hijiri has quit [Ping timeout: 252 seconds]
c0m0 has quit [Quit: Leaving]
arup_r has joined #ruby
Dude007 has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 1.0.1]
Mark-6ma has quit [Client Quit]
Dude007 has joined #ruby
Mark-6ma has joined #ruby
kirun has joined #ruby
workmad3 has quit [Quit: Lost terminal]
djbkd has joined #ruby
psy has quit [Disconnected by services]
krisquigley has quit [Ping timeout: 250 seconds]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
psy has joined #ruby
<certainty> oh no workmad has lost his terminal
psy has quit [Disconnected by services]
psy_ has joined #ruby
patrick99e99 has quit [Read error: Connection reset by peer]
<wasamasa> now you'll have to do PL nerdery with someone else
djbkd has quit [Remote host closed the connection]
<certainty> wasamasa: seems like it :)
djbkd has joined #ruby
kyrylo_ is now known as kyrylo
CodyStringham has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
spider-mario has quit [Ping timeout: 250 seconds]
wallerdev has joined #ruby
patrick99e99 has joined #ruby
iamjarvo has joined #ruby
JDiPierro has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
JDiPierro has joined #ruby
CodyStringham has quit [Client Quit]
julweber has quit [Remote host closed the connection]
dangerousdave has joined #ruby
mrsolo has joined #ruby
spider-mario has joined #ruby
bmn has joined #ruby
agarie has joined #ruby
paulcsmith has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
cnj has left #ruby [#ruby]
Dude007 has quit [Ping timeout: 252 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hectortrope has quit [Quit: WeeChat 0.4.2]
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stef204 has joined #ruby
OrbitalKitten has joined #ruby
Takle has quit [Ping timeout: 255 seconds]
ernetas has left #ruby [#ruby]
stef204 has quit [Client Quit]
devoldmx_ has joined #ruby
zcreative has quit [Quit: (null)]
teddyp1cker has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
krisquigley has joined #ruby
albedoa has quit [Ping timeout: 250 seconds]
O_the_Del has joined #ruby
zenith_ has joined #ruby
devoldm__ has joined #ruby
nakano has joined #ruby
ldnunes has joined #ruby
devoldmx_ has quit [Ping timeout: 264 seconds]
checkit has joined #ruby
jkline has joined #ruby
<arup_r> o/
jkline has left #ruby [#ruby]
yqt has quit [Ping timeout: 252 seconds]
<wallerdev> o/
<certainty> \o
<havenwood> \o
<wallerdev> \o/
<certainty> _o/ \o_
<certainty> water ballet
<wallerdev> thought it was a high five
ponga has joined #ruby
<certainty> hmm right, looks like it
palms has quit [Ping timeout: 256 seconds]
<arup_r> what is high five stuff ?
krisquigley has quit [Ping timeout: 244 seconds]
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
O_the_Del has quit [Ping timeout: 246 seconds]
juanpaucar has joined #ruby
16WAANB7P has quit [Read error: Connection reset by peer]
jamto11 has joined #ruby
towski_ has joined #ruby
lioninawhat has joined #ruby
<arup_r> o i s
<arup_r> new learning
ponga has quit [Ping timeout: 264 seconds]
DerisiveLogic_ has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
albedoa has joined #ruby
chinmay_dd has joined #ruby
juanpaucar has quit [Ping timeout: 256 seconds]
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
sankaber has quit [Ping timeout: 256 seconds]
triple_b has joined #ruby
jamto11 has quit [Ping timeout: 252 seconds]
sankaber has joined #ruby
DexterLB has quit [Quit: So long and thanks for all the fish]
RegulationD has quit []
OtterCoder has quit [Read error: Connection reset by peer]
iasoon has quit [Ping timeout: 250 seconds]
kobain has joined #ruby
RegulationD has joined #ruby
agarie has quit [Read error: Connection reset by peer]
agarie has joined #ruby
x1337807x has joined #ruby
_honning_ has quit [Ping timeout: 245 seconds]
znst has joined #ruby
BTRE has quit [Ping timeout: 256 seconds]
milesmatthias has quit [Remote host closed the connection]
Mark-6ma has quit [Quit: -]
SomeNobody has joined #ruby
CoolCuteGuy has joined #ruby
BTRE has joined #ruby
eighthbit has joined #ruby
Channel6 has quit [Quit: Leaving]
<CoolCuteGuy> hello
iasoon has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
<CoolCuteGuy> Anybody here? I need some help
nakano has quit [Remote host closed the connection]
marr has quit [Ping timeout: 256 seconds]
<mozzarella> !help
<helpa> I need somebody! !help. Not just anybody. !help. You know I need someone. !help
<CoolCuteGuy> The fuck
<GaryOak_> helpa: g help!
<CoolCuteGuy> Mozzarella suck me
<GaryOak_> !helpa
sevvie has quit [Ping timeout: 256 seconds]
<GaryOak_> helpa
<GaryOak_> !help
<CoolCuteGuy> Garyoak_ shut up
<helpa> I need somebody! !help. Not just anybody. !help. You know I need someone. !help
<CoolCuteGuy> !help
<helpa> I need somebody! !help. Not just anybody. !help. You know I need someone. !help
<apeiros> …kindergarten
<apeiros> coolcuteguy: behave
<GaryOak_> coolcuteguy: what's your question anyways
<apeiros> coolcuteguy: if you need help, say what you need help with
<CoolCuteGuy> Apeiros why you running yo mouf boy
<CoolCuteGuy> Bitch
<GaryOak_> AHHHH!!!
coolcuteguy was kicked from #ruby by apeiros [good bye]
<GaryOak_> boom!!!
musl has quit [Quit: WeeChat 1.1.1]
CoolCuteGuy has joined #ruby
CorpusCallosum has joined #ruby
<apeiros> coolcuteguy: can you manage to behave now? or do I have to ban you?
sevvie has joined #ruby
<CoolCuteGuy> Please don't be sarcastic with me
<endash> What’s the method that turns [1, 2, 3, 4] into [[1, 2], [2, 3], [3, 4]]
<CoolCuteGuy> The other guy deserves a ban too
<apeiros> coolcuteguy: I'm not. and I expect an answer.
<CoolCuteGuy> Not you
<CoolCuteGuy> Gary oak
<apeiros> coolcuteguy: I'm *not* going to discuss with you who deserves a ban.
<CoolCuteGuy> Ok
<CoolCuteGuy> Nerd
<GaryOak_> coolcuteguy: we'd love to answer your question, if you just ask
<apeiros> ok, you can't. good bye then.
<rbennacer> wrong answer
coolcuteguy was kicked from #ruby by apeiros [good bye]
julweber has joined #ruby
<endash> ah each_slice there you are
blackmesa has joined #ruby
<wallerdev> >> [1, 2, 3, 4].each_cons(2).to_a
<eval-in_> wallerdev => [[1, 2], [2, 3], [3, 4]] (https://eval.in/308107)
<GaryOak_> endash: just about to look this up, I think you can specify step distance right?
triple_b has quit [Ping timeout: 255 seconds]
triple_b has joined #ruby
<endash> Yeah… not sure what the diff between each_slice and each_cons is from the docs alone
JDiPierro has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<endash> oh
<endash> slice doesn’t repeat durr
<endash> wallerdev: that’s the one thanks :)
<wallerdev> yup
julweber has quit [Remote host closed the connection]
deuteriu_ has quit [Quit: zzZZZzzz..]
Soda has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
tier_ has quit [Ping timeout: 250 seconds]
devoldm__ has quit [Remote host closed the connection]
jheg has joined #ruby
LudicrousMango has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
AlphaTech has joined #ruby
djbkd has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
milesmatthias has joined #ruby
tier has joined #ruby
LudicrousMango has quit [Ping timeout: 265 seconds]
kyrylo_ has joined #ruby
lordkryss has joined #ruby
<wasamasa> each_cons?
chinmay_dd has quit [Quit: Leaving]
MatthewsFace has quit [Read error: Connection reset by peer]
beevalee has left #ruby ["WeeChat 1.1.1"]
Vivex has joined #ruby
MatthewsFace has joined #ruby
kyrylo has quit [Ping timeout: 272 seconds]
davispuh has quit [Read error: Connection reset by peer]
serivich has joined #ruby
n80 has quit [Quit: n80]
djbkd has joined #ruby
lolmaus_ has quit [Quit: Konversation terminated!]
krisquigley has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
hs366 has quit [Quit: Leaving]
<c_nick> ( . ) ( . )
huddy has quit [Quit: Connection closed for inactivity]
LudicrousMango has joined #ruby
brb3 has quit [Quit: ZZZzzz…]
yqt has joined #ruby
MasterPiece has joined #ruby
pandaant has quit [Remote host closed the connection]
<apeiros> c_nick: seriously?
rayleigh415 has joined #ruby
brb3 has joined #ruby
albedoa has left #ruby ["Textual IRC Client: www.textualapp.com"]
davispuh has joined #ruby
juanpaucar has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
agarie has quit [Remote host closed the connection]
selu has quit [Quit: Textual IRC Client: www.textualapp.com]
bigmac has quit [Ping timeout: 248 seconds]
juanpaucar has joined #ruby
ghr has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
milesmatthias has quit [Remote host closed the connection]
iamjarvo has quit [Max SendQ exceeded]
milesmatthias has joined #ruby
iamjarvo has joined #ruby
Cust0sL1men has joined #ruby
krisquigley has quit [Ping timeout: 252 seconds]
DeBot has quit [Quit: Crystal]
DeBot has joined #ruby
<arcanez> gregf_: do you want the dupes as a result? otherwise, just use List::MoreUtils qw(uniq);
el3k0n has joined #ruby
<apeiros> that looks like perl
<arcanez> 12:39 < gregf_> arcanez: since you do Perl could you write the shortest code to find duplicates in an array ;)
O_the_Del has joined #ruby
<apeiros> so it is perl! :D
momomomomo has joined #ruby
<arcanez> ruby is polished perl
<arcanez> maybe one day I'll get to experience something other than ruby 1.9.3
GaryOak_ has joined #ruby
milesmatthias has quit [Ping timeout: 256 seconds]
bigmac has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
el3k0n has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
spider-mario has quit [Quit: No Ping reply in 180 seconds.]
bim has quit []
bim has joined #ruby
Notte has joined #ruby
latemus has joined #ruby
ramfjord has joined #ruby
serivich has quit [Ping timeout: 244 seconds]
DerisiveLogic has quit [Ping timeout: 248 seconds]
Takle has joined #ruby
spider-mario has joined #ruby
kadoppe has quit [Ping timeout: 250 seconds]
m3nTe has quit [Ping timeout: 252 seconds]
<latemus> What does a double colon signify? For example, in Net::HTTP
Soda has joined #ruby
DerisiveLogic has joined #ruby
<GaryOak_> it's a namespace, or module dereferencing
<arcanez> same thing as ruby
<arcanez> package
<arcanez> erm. 'same things as perl' I guess
<arcanez> does ruby enforce that 'Net::HTTP' is in net/http.rb?
rayleigh415 has quit []
yh has joined #ruby
startupality has joined #ruby
<latemus> Okay thanks :)
kadoppe has joined #ruby
<jhass> arcanez: nope
chihhsin has quit [Quit: leaving]
<latemus> Yeah I was going to say it calls to mind CPAN stuff
chihhsin has joined #ruby
spider-mario has quit [Client Quit]
<jhass> latemus: just for completeness, you shouldn't use it for that in new code, but you can also use it to call methods
zenith_ has quit [Read error: Connection reset by peer]
<jhass> >> module Foo; def self.bar; :meh; end; end; Foo::bar
<eval-in_> jhass => :meh (https://eval.in/308110)
zenith_ has joined #ruby
DexterLB has joined #ruby
<jhass> common examples for that are calling Nokogiri::XML() and Nokogiri::HTML()
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
mrsolow has joined #ruby
<c_nick> arcanez, hehe
<latemus> jhass: Okay nice
<latemus> thanksn
DerisiveLogic has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
zenith_ has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
jamto11 has joined #ruby
agarie has joined #ruby
Volsus has joined #ruby
kyrylo__ has joined #ruby
Volsus has quit [Client Quit]
ghr has joined #ruby
palms has joined #ruby
kyrylo_ has quit [Ping timeout: 255 seconds]
mrbond has quit [Ping timeout: 255 seconds]
Volsus has joined #ruby
<latemus> I want to use this code to post some data to an external url in rails. https://gist.github.com/anonymous/0ec2989f3dc8c86e2911 but i need line te url in line 5 to change dynamically by placing a variable in there. Can I just leave off the single quotess
gsd has joined #ruby
jamto11 has quit [Ping timeout: 246 seconds]
<jhass> you can just pass a variable to URI.parse
<arcanez> that almost reads like Perl 6.
O_the_Del has quit [Quit: Leaving...]
<arcanez> what little I know.
<latemus> jhass: you mean like uri = URI.parse(variable_name)
<jhass> yes
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
milesmatthias has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<latemus> jhass: Awesome.
robbyoconnor has joined #ruby
<latemus> it's not my code, i'm just hacking stuff together. http://mikeebert.tumblr.com/post/56891815151/posting-json-with-net-http it does look a bit perlish
towski_ has joined #ruby
JDiPierro has joined #ruby
roolo_ has joined #ruby
senayar has joined #ruby
spider-mario has joined #ruby
djbkd has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yqt has quit [Ping timeout: 264 seconds]
roolo has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
imanzarrabian has joined #ruby
imanzarrabian has quit [Client Quit]
eighthbit has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
leafybas_ has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
startupality has joined #ruby
babykosh has joined #ruby
c_nick has quit [Ping timeout: 272 seconds]
relix has joined #ruby
cocotton has quit [Quit: Leaving...]
P1RATEZ has joined #ruby
ArchRogem has joined #ruby
kyrylo has joined #ruby
MasterPiece has quit [Remote host closed the connection]
SouL has quit [Read error: Connection reset by peer]
mkode has quit [Quit: Now if you will excuse me, I have a giant ball of oil to throw out my window]
leafybasil has quit [Ping timeout: 272 seconds]
leafybas_ has quit [Ping timeout: 252 seconds]
n80 has joined #ruby
kyrylo__ has quit [Ping timeout: 264 seconds]
musl has joined #ruby
adriancb has joined #ruby
OrbitalKitten has joined #ruby
quimrstorres has quit [Remote host closed the connection]
timonv has joined #ruby
moeSeth_ has quit [Quit: Connection closed for inactivity]
zenith_ has joined #ruby
<arcanez> do you really have to quote the key in a hash in ruby?
<arcanez> unless you use a symbol?
tier has quit [Remote host closed the connection]
<centrx> Why wouldn't you?
checkit has quit [Quit: (null)]
<arcanez> perl => is a fat comma.. it quotes the LHS for you
willharrison has joined #ruby
<arcanez> ruby doesn't appear to do the same for you
adriancb has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
<jhass> Rubys grammar is already ambiguous enough I guess
<arcanez> I tend to lean towards symbol use
stef204 has joined #ruby
c_nick has joined #ruby
<centrx> Usually not much reason to use a string key
<arcanez> but rails screws that up.. it does things with HWIA and pure ruby doesn't..
startupality has quit [Quit: startupality]
<arcanez> and methods on HWIA return the actual key (string or symbol)
<centrx> arcanez, that's going to change in Rails 5
devoldmx_ has joined #ruby
<centrx> arcanez, The reason Rails uses strings everywhere is to avoid DOS attacks by symbols created from user input
<arcanez> centrx: howso?
<centrx> This is not longer necessary in Ruby 2.2, with the Symbol GC
lioninawhat has quit [Remote host closed the connection]
MatthewsFace has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
startupality has joined #ruby
jshultz has joined #ruby
GnuYawk has quit [Ping timeout: 264 seconds]
varunwachaspati has joined #ruby
marr has joined #ruby
yqt has joined #ruby
devoldmx_ has quit [Ping timeout: 264 seconds]
<hanmac> arcanez: also ruby supports any kind of object as key in a hash, so you can use Strings, Symbol or each other class you can image, i for myself still prefers symbols because they are making more sense for me
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 36.0.4/2015032000]]
aswen has joined #ruby
davidhq has joined #ruby
MatthewsFace has joined #ruby
slothman has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
<slothman> fdfsdf
<slothman> sdf
<slothman> sfdfsd
<jhass> slothman: sup?
spider-mario has quit [Ping timeout: 252 seconds]
<Volsus> error, try again.
sandelius has joined #ruby
<slothman> sorry, figuring out IRSSI for the first time
x1337807x has joined #ruby
fryguy9 has quit [Quit: Leaving.]
x1337807x has quit [Client Quit]
spider-mario has joined #ruby
Kricir has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 250 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zenith_ has quit [Read error: Connection reset by peer]
lostcuaz has quit [Read error: Connection reset by peer]
lostcuaz_km has joined #ruby
zenith_ has joined #ruby
zarubin_ has joined #ruby
ghr has joined #ruby
bim has quit [Remote host closed the connection]
dx7_ has quit [Remote host closed the connection]
tier has joined #ruby
sevvie has joined #ruby
Musashi007 has joined #ruby
slothman has quit [Quit: leaving]
Notte has quit [Remote host closed the connection]
_1_phonse has joined #ruby
zarubin_ has quit [Remote host closed the connection]
zarubin_ has joined #ruby
mjuszczak has joined #ruby
ghostpl_ has joined #ruby
wallerdev has joined #ruby
zenith_ has quit [Ping timeout: 244 seconds]
eshiffob has joined #ruby
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
n008f4g_ has quit [Ping timeout: 246 seconds]
cefkamcau has quit [Ping timeout: 250 seconds]
izhak has quit [Ping timeout: 255 seconds]
zarubin_ has quit [Ping timeout: 264 seconds]
timonv has quit [Ping timeout: 252 seconds]
sevvie has quit [Ping timeout: 256 seconds]
ghr has quit [Ping timeout: 250 seconds]
rbennacer has quit [Remote host closed the connection]
dangerousdave has joined #ruby
sgambino has quit [Remote host closed the connection]
sgambino has joined #ruby
kyrylo has quit [Ping timeout: 256 seconds]
kyrylo_ has joined #ruby
dangerousdave has quit [Client Quit]
zarubin_ has joined #ruby
palms has quit [Ping timeout: 252 seconds]
makepkgnotwar has joined #ruby
gfawcettpq has quit [Ping timeout: 264 seconds]
agarie has quit [Remote host closed the connection]
lolmaus has joined #ruby
sgambino has quit [Ping timeout: 252 seconds]
fryguy9 has joined #ruby
Musashi007 has quit [Quit: Musashi007]
wallerdev has quit [Ping timeout: 245 seconds]
_1_phonse has quit [Remote host closed the connection]
agarie has joined #ruby
maletor has joined #ruby
razieliyo has quit [Ping timeout: 248 seconds]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
rbennacer has joined #ruby
Rephiax has quit []
<apeiros> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<apeiros> DeBot: aeiou
<DeBot> ␣i␣␣a␣␣␣u␣␣e␣ea␣␣ [o] 1/12
<apeiros> DeBot: #
<DeBot> ␣i␣␣a␣␣␣u␣␣e#ea␣␣ [o] 1/12
timonv has joined #ruby
jamto11 has joined #ruby
hpoydar has joined #ruby
path[l] has joined #ruby
<apeiros> DeBot: n
<DeBot> ␣in␣a␣␣␣u␣␣e#ea␣␣ [o] 1/12
<apeiros> DeBot: s
<DeBot> ␣in␣a␣␣␣u␣␣e#ea␣␣ [os] 2/12
greenbagels has joined #ruby
<apeiros> DeBot: l
<DeBot> ␣in␣a␣␣␣u␣le#ea␣␣ [os] 2/12
<apeiros> DeBot: r
<DeBot> Rin␣a␣␣␣u␣le#ea␣␣ [os] 2/12
tier_ has joined #ruby
<apeiros> DeBot: d
<DeBot> Rinda␣␣␣u␣le#ea␣␣ [os] 2/12
<apeiros> hm, rinda…
<apeiros> DeBot: :
<DeBot> Rinda::␣u␣le#ea␣␣ [os] 2/12
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> DeBot: tp
<DeBot> Rinda::Tuple#ea␣␣ [os] 2/12
<apeiros> DeBot: ch
<DeBot> Rinda::Tuple#each [os] 2/12 You won!
<shevy> I hate first april http://www.hodor-lang.org/
kyrylo__ has joined #ruby
triple_b has joined #ruby
DerisiveLogic has quit [Ping timeout: 252 seconds]
kyrylo_ has quit [Ping timeout: 256 seconds]
momomomomo has quit [Quit: momomomomo]
tier has quit [Ping timeout: 244 seconds]
jamto11 has quit [Ping timeout: 272 seconds]
DerisiveLogic has joined #ruby
dangerousdave has joined #ruby
kblake has quit [Remote host closed the connection]
bruno- has joined #ruby
triple_b_ has joined #ruby
<apeiros> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<apeiros> DeBot: ea#
<DeBot> ␣␣␣e␣e␣␣#␣␣␣␣␣␣e␣␣ [a] 1/12
pdoherty has quit [Ping timeout: 255 seconds]
<apeiros> DeBot: rn
<DeBot> ␣␣␣e␣e␣␣#␣r␣␣␣ne␣␣ [a] 1/12
<apeiros> DeBot: i
<DeBot> ␣i␣e␣e␣␣#␣r␣␣␣ne␣␣ [a] 1/12
mark06 has joined #ruby
<crowell> DeBot: st
<DeBot> ␣i␣eTest#␣r␣␣␣ne␣␣ [a] 1/12
<shevy> hmm
<apeiros> DeBot: mn
<DeBot> ␣i␣eTest#␣r␣␣␣ne␣␣ [am] 2/12
<apeiros> oh
<apeiros> DeBot: fl
<DeBot> FileTest#␣r␣␣␣ne␣␣ [am] 2/12
<jhass> oO
<jhass> what's FileTest
<crowell> DeBot: u
<DeBot> FileTest#␣r␣␣␣ne␣␣ [amu] 3/12
<jhass> DeBot: _
<DeBot> FileTest#␣r␣␣␣ne␣␣ [amu_] 4/12
<apeiros> jhass: what? you don't know FileTest? I'm so disappointed now :(
<apeiros> ;-)
<jhass> I didn't know Rinda either :D
<apeiros> DeBot: u
<DeBot> FileTest#␣r␣␣␣ne␣␣ [amu_] 4/12
<apeiros> jhass: rinda is iirc part of drb
<crowell> DeBot: p
<DeBot> FileTest#␣rp␣␣ne␣␣ [amu_] 4/12
<havenwood> TupleSpace \o/
<jhass> yeah, it's an implementation of Linda
<jhass> obviously
<centrx> DeBot, riparian
<DeBot> FileTest#␣rp␣␣ne␣␣ [amu_] 4/12
<crowell> DeBot: prepend
<DeBot> FileTest#␣rp␣␣ned␣ [amu_] 4/12
<arcanez> DeBot: gow?
<DeBot> FileTest#grpowned? [amu_] 4/12 You won!
<jhass> you looked that up!
<centrx> outrageous
<crowell> dafuq is grpowned?
<apeiros> grp -> group
<arcanez> owned by a group
<apeiros> FileTest is to test file properties
<jhass> "It exists as a standalone module, and its methods are also insinuated into the File class. (Note that this is not done by inclusion: the interpreter cheats)."
<jhass> wat
<arcanez> apparently they were charged per character
triple_b has quit [Ping timeout: 248 seconds]
mjuszczak has quit []
<jhass> "Returns true if the named file exists and the effective group id of the calling process is the owner of the file. Returns false on Windows. file_name can be an IO object."
<jhass> that module is hilarious
<arcanez> weird that they don't have an alias group_owned?
<arcanez> or something
<crowell> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<crowell> DeBot: ae
<DeBot> ␣e␣␣␣␣␣␣␣␣␣e␣a␣␣e␣␣␣␣ [] 0/12
<jhass> DeBot: :#_
<DeBot> ␣e␣::␣␣␣␣::e␣a␣␣e_␣␣␣ [#] 1/12
<crowell> DeBot: #ts
<DeBot> ␣et::␣␣␣␣::e␣a␣␣e_ss␣ [#] 1/12
pwattste has quit [Quit: Textual IRC Client: www.textualapp.com]
<crowell> DeBot: n
<DeBot> Net::␣␣␣␣::ena␣␣e_ss␣ [#] 1/12
<jhass> DeBot: http
<DeBot> Net::P␣P␣::ena␣␣e_ss␣ [#h] 2/12
<jhass> ah the other one :P
<arcanez> DeBot: bl
<DeBot> Net::P␣P␣::enable_ssl [#h] 2/12
<jhass> DeBot: o3
<DeBot> Net::POP3::enable_ssl [#h] 2/12 You won!
<jhass> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣ [] 0/12
<jhass> DeBot: ae
<DeBot> e␣␣␣␣␣␣␣ [a] 1/12
<crowell> DeBot: ts
<DeBot> es␣␣t␣␣s [a] 1/12
timonv has quit [Ping timeout: 256 seconds]
<jhass> DeBot: n
<DeBot> es␣␣t␣␣s [an] 2/12
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> DeBot: u
<DeBot> es␣ut␣␣s [an] 2/12
<jhass> DeBot: r
<DeBot> es␣ut␣␣s [anr] 3/12
<apeiros> DeBot: i
<DeBot> es␣uti␣s [anr] 3/12
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
<arcanez> DeBot: cl
<DeBot> es␣utils [anrc] 4/12
<apeiros> DeBot: o
<DeBot> es␣utils [anrco] 5/12
<crowell> DeBot: l
<DeBot> es␣utils [anrco] 5/12
<jhass> DeBot: _
<DeBot> es_utils [anrco] 5/12 You won!
<apeiros> huh?
Hijiri has joined #ruby
<apeiros> wtf is es?
<crowell> es_utils (0.0.1)
<crowell> probably doesnt' do anything
<jhass> elasticsearch apparently
<apeiros> ah
baweaver has joined #ruby
Cloudzy has joined #ruby
senayar has quit [Remote host closed the connection]
yalue has quit [Quit: return 0;]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lavros has quit [Quit: leaving]
<jhass> meh, still bored
<jhass> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣ [] 0/12
<centrx> DeBot, ruby
<DeBot> ␣␣␣␣␣␣␣␣␣ [ruby] 4/12
<jhass> DeBot: ernstl
<DeBot> ␣␣le␣s␣␣e [rubynt] 6/12
x77686d has joined #ruby
freerobby has quit [Quit: Leaving.]
<centrx> DeBot, abcdefghijklmnopqrstuvwxyz
<DeBot> File#size [rubyntacdghj] 12/12 You lost!
<jhass> :(
<GaryOak_> hahaha
centrx has quit [Quit: Shutting down, Please wait...]
<jhass> and there the shame took down his PC
zarubin_ has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
replicant has joined #ruby
sevvie has joined #ruby
dangerousdave has joined #ruby
Soda has quit [Read error: Connection reset by peer]
<replicant> having a time finding the context of what to even search for.. in a pry debugger from a haml file, i want to see what the :id and :name symbols' values are that get set from a `form_for do |f|`
<replicant> or better yet, i'm having a time seeing what the backing value is for a symbol (again, :id or :name)
<jhass> A symbol is a value
<jhass> not doesn't point to a value
krisquigley has joined #ruby
<jhass> so I'm having a time understanding your question :)
dangerousdave has quit [Client Quit]
<jhass> s/not/it/
<shadoi1> replicant: you've tried putting 'binding.pry' in the context you're looking at?
momomomomo has joined #ruby
<willharrison> http://laravel.io/bin/JxG9w#6,9-12 on line 6 is it calling the method on line 9?
gregf1 has quit [Quit: WeeChat 1.0.1]
<replicant> shadoi1: yes, and i see i can get the value of `f.object` and see the backing object's attributes. i just want to know what :id and :name are giving
<replicant> giving=given
<jhass> willharrison: nope, @a = x is plain assignment
<jhass> no method calls involved
<willharrison> jhass ah ok
codecop has quit [Remote host closed the connection]
<willharrison> is there a way to call that method?
<jhass> sure, self.n = x
<willharrison> cool thanks
kyrylo has joined #ruby
<shadoi1> replicant: should be f.id or f.name?
<replicant> shadoi1: so that doesn't exist for some reason
<jhass> ^
<havenwood> willharrison: The instance variable assigned when the class is instanciated on line 6 is the one used in the methods on lines 11 and 15.
<replicant> that was my firs tthought too :/
<shadoi1> I'm assuming :id and :name are parameters to some URL?
<shadoi1> or just variables in the template?
timonv has joined #ruby
<jhass> oor actually it's the fields of the model you pass to form_for
baweaver has quit [Remote host closed the connection]
<willharrison> havenwood ah yeah, I see now. I didn't even think about that
kyrylo__ has quit [Ping timeout: 250 seconds]
jheg has quit [Quit: jheg]
<havenwood> willharrison: It's also read by `KaraInt#n` because of the getter on line 3.
<shadoi1> replicant: we'd need to know a bit more about what :id or :name could be, those are just symbols. Where you're looking they could refer to hash keys, query parameters, etc. etc.
krisquigley has quit [Ping timeout: 250 seconds]
varunwachaspati has quit [Quit: Leaving]
<replicant> will get back to you on that. i believe I don't have enough information to adequately ask this question, and i know i'm overlooking something
<replicant> thanks for your time
OrbitalKitten has joined #ruby
rbennacer has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.1.1]
jherbst has joined #ruby
zzing has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
jimms has joined #ruby
xnr is now known as idgaf
ghostpl_ has quit [Remote host closed the connection]
<willharrison> havenwood yeah, that's not affecting anything else in the class tho right?
riotjones has joined #ruby
<havenwood> willharrison: nope, just a reader
baroquebobcat has joined #ruby
<havenwood> willharrison: it creates a method to read that instance variable
<willharrison> yeah, I meant to put it in there
kirun has quit [Quit: Client exiting]
<willharrison> havenwood do you know why KaraInt#to_s is returning an array instead of a string in that code?
elaptics is now known as elaptics_away
replicant has left #ruby ["WeeChat 1.1.1"]
imranr has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 252 seconds]
JoshGlzBrk has joined #ruby
<havenwood> willharrison: Show an example of exactly what you're running to produce what you're asking about
startupality has quit [Quit: startupality]
<willharrison> havenwood http://laravel.io/bin/zjePv
riotjones has quit [Ping timeout: 264 seconds]
<willharrison> after fiddling in irb, I feel like it might be less of a pain to just use unit tests
<willharrison> should I use rspec or test unit?
<havenwood> willharrison: Minitest
<willharrison> ok cool thanks
LudicrousMango has quit []
path[l]_ has joined #ruby
path[l] has quit [Ping timeout: 246 seconds]
path[l]_ is now known as path[l]
triple_b_ has quit [Ping timeout: 250 seconds]
<havenwood> willharrison: or RSpec is fine too, ;) though it doesn't ship with Ruby
<willharrison> ah I see, yeah I'd like something that ships with ruby
startupality has joined #ruby
Hounddog has quit [Ping timeout: 245 seconds]
<shadoi1> willharrison: you can also write rspec-like specs using MiniTest::Spec
adriancb has joined #ruby
startupality has quit [Client Quit]
Notte has joined #ruby
<shadoi1> I tend to prefer plain old units though
baweaver has joined #ruby
<willharrison> I think I will stick with the plain ones first, prolly better to walk before I run (if that is even an apt analogy)
alex88 has joined #ruby
Zackio is now known as CaveJohnson
path[l] has quit [Ping timeout: 252 seconds]
kyrylo_ has joined #ruby
Jiyuhen has quit [Ping timeout: 250 seconds]
palms has joined #ruby
<nettoweb> guys Im trying to deploy my rails app using whenever gem but getting this error: https://gist.github.com/osnysantos/7c3b41d9823fda1bf6c7
Jiyuhen has joined #ruby
kyrylo has quit [Ping timeout: 244 seconds]
michaeldeol has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
duncannz has joined #ruby
Darryl___ has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Ping timeout: 272 seconds]
aframe has joined #ruby
jheg has joined #ruby
QuintinAdam has joined #ruby
jamto11 has joined #ruby
BTRE has quit [Quit: Leaving]
smcquaid has joined #ruby
oo_ has joined #ruby
DerisiveLogic has quit [Ping timeout: 248 seconds]
DerisiveLogic has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shevy has joined #ruby
jamto11 has quit [Ping timeout: 265 seconds]
tier_ has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
lanemeyer has quit [Ping timeout: 264 seconds]
tier has joined #ruby
<shevy> what is Errno::EINVAL ? hmm
ramfjord has joined #ruby
Soviet_jesus_ has joined #ruby
kblake has joined #ruby
<shevy> got a script that failed with that error
<shevy> ah
Rapier- has quit [Quit: (null)]
<shevy> "Invalid argument at File.read"
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
pdoherty has joined #ruby
dangerousdave has joined #ruby
OrbitalKitten has joined #ruby
smcquaid has quit [Quit: Textual IRC Client: www.textualapp.com]
dangerousdave has quit [Client Quit]
mistermocha has joined #ruby
gfawcettpq has joined #ruby
kblake has quit [Ping timeout: 244 seconds]
adriancb has joined #ruby
xcombelle has quit [Ping timeout: 252 seconds]
Rollabunna has joined #ruby
DEA7TH_ is now known as DEA7TH
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
aframe has quit []
Hijiri has quit [Ping timeout: 250 seconds]
kblake has joined #ruby
agarie has quit [Remote host closed the connection]
startupality has joined #ruby
agarie has joined #ruby
adriancb has quit [Remote host closed the connection]
Volsus has quit [Quit: Leaving]
Limix has joined #ruby
brb3 has quit [Quit: <.<]
tier has quit [Remote host closed the connection]
Mongey has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rodfersou has quit [Quit: leaving]
znst has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Hijiri has joined #ruby
musashi1 has joined #ruby
Cloudzy has quit [Ping timeout: 272 seconds]
evanjs has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
Cache_Money has quit [Quit: Cache_Money]
timonv has quit [Ping timeout: 246 seconds]
milesmatthias has quit [Remote host closed the connection]
freerobby has joined #ruby
JDiPierro has quit [Remote host closed the connection]
GnuYawk has joined #ruby
milesmatthias has joined #ruby
oo_ has quit [Remote host closed the connection]
agarie has quit []
diegoviola has joined #ruby
Cache_Money has joined #ruby
mhib has quit [Quit: Leaving]
wallerdev has joined #ruby
longfeet has joined #ruby
Hijiri has quit [Ping timeout: 265 seconds]
jheg is now known as jaaaaaaaaa
jaaaaaaaaa is now known as jheg
rbennacer has quit [Read error: Connection reset by peer]
ldnunes has quit [Quit: Leaving]
rbennacer has joined #ruby
reinaldob has quit [Remote host closed the connection]
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rdark has quit [Quit: leaving]
ramfjord has joined #ruby
startupality has quit [Quit: startupality]
silkfox has quit [Ping timeout: 250 seconds]
jshultz has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 246 seconds]
QuintinAdam has quit []
QuintinAdam has joined #ruby
mistermo_ has joined #ruby
makepkgnotwar has quit [Quit: Textual IRC Client: www.textualapp.com]
teddyp1cker has quit [Remote host closed the connection]
kyrylo__ has joined #ruby
Megtastique has quit []
jimms has quit [Read error: Connection reset by peer]
kyrylo_ has quit [Ping timeout: 255 seconds]
mistermo_ has quit [Ping timeout: 256 seconds]
musashi1 has quit [Ping timeout: 256 seconds]
jimms has joined #ruby
ZeeNoodleyGamer has quit [Ping timeout: 245 seconds]
davedev24_ has quit []
mark06 has left #ruby ["http://pidgin.renatosilva.me - Pidgin++"]
djbkd has quit [Quit: My people need me...]
jenrzzz has joined #ruby
Nightmare has quit [Ping timeout: 265 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nightmare has joined #ruby
jheg has quit [Quit: jheg]
doodlehaus has quit [Remote host closed the connection]
GnuYawk has quit [Quit: WeeChat 1.0]
bluOxigen has quit [Ping timeout: 264 seconds]
bim has joined #ruby
sephilix has joined #ruby
JDiPierro has joined #ruby
momomomomo has quit [Quit: momomomomo]
evanjs has quit [Remote host closed the connection]
gregf1 has joined #ruby
Nightmare has quit [Ping timeout: 256 seconds]
benlakey has quit [Ping timeout: 256 seconds]
Klumben has quit [Ping timeout: 256 seconds]
BTRE has joined #ruby
gregf1 has quit [Client Quit]
freerobby1 has joined #ruby
AdamMeghji has quit [Ping timeout: 256 seconds]
terrellt has quit [Ping timeout: 256 seconds]
hoelzro has quit [Ping timeout: 256 seconds]
benlakey has joined #ruby
ChasedSpade has quit [Ping timeout: 256 seconds]
waxjar has quit [Ping timeout: 256 seconds]
slothbabe has joined #ruby
perrier_ has joined #ruby
gkra has quit [Ping timeout: 256 seconds]
<slothbabe> Is evan afk?
juanpaucar has quit []
foureight84 has joined #ruby
Zimsky__ has joined #ruby
AdamMeghji has joined #ruby
slothbabe has quit [Client Quit]
lordkryss_ has joined #ruby
slackbotgz has quit [Ping timeout: 256 seconds]
wmoxam_ has joined #ruby
mattp__ has joined #ruby
Limix has quit [Quit: Limix]
gkra has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
matadoer has quit [Ping timeout: 256 seconds]
callumacrae has quit [Ping timeout: 256 seconds]
skmp has quit [Ping timeout: 256 seconds]
alol__ has quit [Ping timeout: 256 seconds]
Sthebig has quit [Ping timeout: 256 seconds]
jimms has quit [Remote host closed the connection]
xsdg_ has joined #ruby
<jhass> 39 seconds. such patience
preyalone_ has joined #ruby
atomi has quit [Ping timeout: 256 seconds]
ghr has joined #ruby
akitada_ has joined #ruby
im0b_ has joined #ruby
mostlybadfly_ has joined #ruby
atomi has joined #ruby
LBRapid has quit [Ping timeout: 265 seconds]
lordkryss has quit [Ping timeout: 265 seconds]
preyalone has quit [Ping timeout: 265 seconds]
blackjid has quit [Ping timeout: 265 seconds]
basiclaser has quit [Ping timeout: 265 seconds]
yo61 has quit [Ping timeout: 265 seconds]
ec has quit [Ping timeout: 265 seconds]
sudog has quit [Ping timeout: 265 seconds]
freerobby has quit [Ping timeout: 265 seconds]
mostlybadfly has quit [Ping timeout: 265 seconds]
Zimsky_ has quit [Ping timeout: 265 seconds]
coventry` has quit [Ping timeout: 265 seconds]
unclouded has quit [Ping timeout: 265 seconds]
dmoe has quit [Ping timeout: 265 seconds]
jimeh has quit [Ping timeout: 265 seconds]
johnhamelink has quit [Ping timeout: 265 seconds]
Spleeze has quit [Ping timeout: 265 seconds]
akitada has quit [Ping timeout: 265 seconds]
edwardly has quit [Ping timeout: 265 seconds]
neersighted has quit [Ping timeout: 265 seconds]
im0b has quit [Ping timeout: 265 seconds]
crdpink2 has joined #ruby
wmoxam has quit [Ping timeout: 265 seconds]
ckrailo__ has quit [Ping timeout: 265 seconds]
DLSteve has quit [Ping timeout: 265 seconds]
perrier has quit [Ping timeout: 265 seconds]
xsdg has quit [Ping timeout: 265 seconds]
dfedde has quit [Ping timeout: 265 seconds]
mattp_ has quit [Ping timeout: 265 seconds]
pdoherty has quit [Ping timeout: 265 seconds]
towski_ has quit [Ping timeout: 265 seconds]
jokester has quit [Ping timeout: 265 seconds]
amitchellbullard has quit [Ping timeout: 265 seconds]
vt102 has quit [Ping timeout: 265 seconds]
ReinH has quit [Ping timeout: 265 seconds]
androidbruce_ has quit [Ping timeout: 265 seconds]
bradland has quit [Ping timeout: 265 seconds]
towski_ has joined #ruby
crdpink has quit [Ping timeout: 265 seconds]
androidbruce_ has joined #ruby
ZeeNoodleyGamer has joined #ruby
SpleezeDos has joined #ruby
jamto11 has joined #ruby
<havenwood> >> "nettoweb: solved it already? \xC3".force_encoding(Encoding::US_ASCII).split
<eval-in_> havenwood => invalid byte sequence in US-ASCII (ArgumentError) ... (https://eval.in/308141)
Sthebig has joined #ruby
bradland has joined #ruby
lordkryss_ is now known as lordkryss
vt102 has joined #ruby
matadoer has joined #ruby
dfedde has joined #ruby
waxjar has joined #ruby
jokester has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
pdoherty has joined #ruby
yfeldblum has joined #ruby
Nightmare has joined #ruby
ReinH has joined #ruby
ChasedSpade has joined #ruby
LBRapid has joined #ruby
unclouded has joined #ruby
preyalone_ is now known as preyalone
DerisiveLogic_ has joined #ruby
mostlybadfly_ is now known as mostlybadfly
<apeiros> havenwood: is that a question?
akitada_ is now known as akitada
johnhamelink has joined #ruby
jimeh has joined #ruby
<jhass> apeiros: there's a hidden highlight in there ;)
im0b_ is now known as im0b
Klumben has joined #ruby
<jhass> (gotta love the color_nicks weechat plugin)
<apeiros> yeah, but I didn't see a nettoweb in the immediate scrollback…
Rapier- has joined #ruby
<jhass> you're not filtering join/parts I guess?
<havenwood> apeiros: nettoweb asked a bit back and i missed the question
neersighted has joined #ruby
skmp has joined #ruby
ckrailo__ has joined #ruby
<nettoweb> guys I give up for now to try finishing my puma + nginx installation
blackjid has joined #ruby
alol__ has joined #ruby
sudog has joined #ruby
callumacrae has joined #ruby
<nettoweb> I'll go back there after
wildroman2 has quit [Remote host closed the connection]
amitchellbullard has joined #ruby
<havenwood> nettoweb: UTF-8 ALL THE THINGS! \o/
hoelzro has joined #ruby
terrellt has joined #ruby
<jhass> nettoweb: wouldn't happen on a supported ruby version :P
jamto11 has quit [Ping timeout: 264 seconds]
dmoe has joined #ruby
basiclaser has joined #ruby
davedev24_ has joined #ruby
DerisiveLogic has quit [Ping timeout: 250 seconds]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
paulcsmith has quit [Quit: Be back later ...]
<havenwood> nettoweb: Switch to Ruby 2.1+ as soon as you're able.
auxbuss has joined #ruby
ec has joined #ruby
n008f4g_ has joined #ruby
dx7 has joined #ruby
<nettoweb> havenwood thank you
yo61 has joined #ruby
<nettoweb> havenwood can I ask a puma question here?
<havenwood> nettoweb: Sure, it's a good place.
stef204 has joined #ruby
Cloudzy has joined #ruby
zarubin_ has joined #ruby
<nettoweb> havenwood Im trying to setup a RoR app with nginx + puma... Im following this tutorial: https://coderwall.com/p/ttrhow/shdeploying-rails-app-using-nginx-puma-and-capistrano-3
bim has quit [Remote host closed the connection]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ericwood> maybe #rubyonrails is a good place to go
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nettoweb> but this file: /shared/tmp/sockets/myapp.sock wasnt created so I create manually and now Im getting this error log: failed (13: Permission denied) while connecting to upstream
bim has joined #ruby
wicope has quit [Read error: Connection reset by peer]
<jhass> how did you create it?
Rephiax has joined #ruby
<nettoweb> touch
palms has quit [Ping timeout: 245 seconds]
<jhass> that won't work
<nettoweb> with my app user
<jhass> it needs to be a special file
<ericwood> mkfifo, right?
<jhass> no
<jhass> you need to instruct puma to listen to it
<jhass> (and that will create it at the same time)
<nettoweb> jhass but I dont understand why this file wasnt created automatically
<jhass> me neither
<jhass> probably you didn't configure something correctly
auxbuss has quit [Quit: I'm gone.]
krisquigley has joined #ruby
DerisiveLogic_ has quit [Remote host closed the connection]
<nettoweb> jhass this is my config file: https://gist.github.com/osnysantos/5d10898f0ade4fd929a9
<nettoweb> I setup at first the .sock file
<jhass> not on that end
<jhass> puma is the one to create the socket
DerisiveLogic has joined #ruby
kyrylo has joined #ruby
<nettoweb> jhass I created a puma.rb as well: https://gist.github.com/osnysantos/5d10898f0ade4fd929a9
Ellis has joined #ruby
<jhass> and pumas logs report it created that socket successfully?
<Ellis> i’m trying to find a diagram of all the ruby methods, i googled ruby method map but nothing showed up, anyone have any suggestions on what i could search?
kyrylo__ has quit [Ping timeout: 244 seconds]
<jhass> nettoweb: ah I see
postmodern has joined #ruby
<jhass> server unix://home/myapp/apps/www.app.com/shared/tmp/sockets/myapp.sock;
lostcuaz_km has quit [Quit: ZNC - http://znc.in]
<jhass> '/home/myapp/apps/www.myapp.com/current/'
<jhass> "unix://#{application_path}/tmp/sockets/myapp.sock"
lostcuaz has joined #ruby
<jhass> compare carefully
<nettoweb> jhass right, I'll change
krisquigley has quit [Ping timeout: 265 seconds]
musashi1 has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
jimms has joined #ruby
<jhass> Ellis: core & stdlib together that makes well beyond 5.5k methods, are you sure? :P
wallerdev has quit [Quit: wallerdev]
bim has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
mrbond has joined #ruby
<Ellis> jhass: maybe i meant core, i dont really know what the difference between those two things are yet
rbennacer has quit [Remote host closed the connection]
colorisco has quit [Quit: colorisco]
riotjones has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
decoponio has quit [Read error: Connection reset by peer]
ZeeNoodleyGamer has quit [Ping timeout: 244 seconds]
DEA7TH has quit [Ping timeout: 250 seconds]
<Ellis> jhass: is a gem a non standard library?
JDiPierro has quit [Remote host closed the connection]
decoponio has joined #ruby
sephilix has quit [Remote host closed the connection]
<apeiros> Ellis: yes. gems are 3rd party libraries.
Axy has quit [Read error: Connection reset by peer]
<Ellis> apeiros: ty!
<apeiros> though, there are talks to move the stdlib to gems.
kaleido has quit [Ping timeout: 244 seconds]
stef204 has joined #ruby
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
rubyonrailed has quit []
riotjones has quit [Ping timeout: 272 seconds]
<nettoweb> jhass Need I puma.rb?
jconnolly has quit [Ping timeout: 264 seconds]
mrbond has quit [Quit: mrbond]
Ellis has quit [Quit: Ellis]
<jhass> in theory not, all options are available over the CLI afaik
<jhass> but I'm not sure it's cleaner that way
lanemeyer has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
devoldmx has joined #ruby
Mongey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
ramfjord has joined #ruby
<nettoweb> jhass I change that line and restarted but the .sock file isnot there
devoldmx has quit [Remote host closed the connection]
<jhass> you know that I can't see your screen to verify what you did, right?
kyrylo_ has joined #ruby
kyrylo has quit [Ping timeout: 245 seconds]
DerisiveLogic has quit [Ping timeout: 265 seconds]
palms has joined #ruby
gregf1 has joined #ruby
Ellis has joined #ruby
Ellis has left #ruby [#ruby]
gilest has joined #ruby
pandaant has joined #ruby
DerisiveLogic has joined #ruby
<nettoweb> jhass yes. I fix that line that you told me... now in my logs I get tmp/sockets/myapp.sock failed (2: No such file or directory)
<nettoweb> it's in shared folder
devoldmx_ has joined #ruby
<jhass> not enough information
bim has joined #ruby
Azure has joined #ruby
jlast has quit [Remote host closed the connection]
musashi1 has quit [Remote host closed the connection]
<nettoweb> jhass ok, I'll try to get more info
<jhass> start by sharing all you already have
bim has quit [Remote host closed the connection]
jerius has quit [Quit: /quit]
reinaldob has joined #ruby
Takle has quit [Remote host closed the connection]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Trioxin_ has quit [Ping timeout: 244 seconds]
devoldmx_ has quit [Ping timeout: 256 seconds]
bonhoeffer has joined #ruby
blackmesa has joined #ruby
devoldmx has joined #ruby
gluten_hell_ has joined #ruby
<bonhoeffer> any ideas: i have an array, A, In matlab I could do this: A(3:2:end-2) —so easy . . . in ruby: A[3..A.length] <— then use mod in a loop ?
freerobby1 has quit [Quit: Leaving.]
Azure has quit [Excess Flood]
<jhass> do I have to learn Matlab to answer your question?
zarubin_ has quit [Remote host closed the connection]
ponga has joined #ruby
Limix has joined #ruby
<bonhoeffer> nah, but say I start at element 3 and go up by 2 to array end -2
<bonhoeffer> A[3,5,7,9,11]
<bonhoeffer> equlvalent for an array of size 13
<jhass> 0.upto(array.size-1).step(2) do |i| gives you the indexes
reinaldob has quit [Ping timeout: 265 seconds]
Azure has joined #ruby
fibbel has quit [Quit: fibbel]
<jhass> ah no, step is Range
nakano has joined #ruby
<jhass> so (0...array.size).step(2)
Pumukel has joined #ruby
<bonhoeffer> oh — nice — step(2)
<bonhoeffer> i guess this could work as well: arr.select.each_with_index { |str, i| i.odd? }
wallerdev has joined #ruby
<bonhoeffer> but would only be for step == 2
<jhass> yeah, feels less obvious to me though
<bonhoeffer> agreed
<jhass> .each_slice(n).map(&:first), but wasteful
duncannz has quit [Remote host closed the connection]
<bonhoeffer> or i start at 3 . . . which from zero index is 2
ghr has quit [Ping timeout: 244 seconds]
<jhass> so values_at((*0...array.size).step(n))
<bonhoeffer> (2..array.length).step(2)
senayar has quit [Read error: Connection reset by peer]
<jhass> three dots or -1 ;)
ponga has quit [Ping timeout: 244 seconds]
<bonhoeffer> just two
senayar has joined #ruby
<bonhoeffer> values_at is new for me. . . . thanks
basiclaser has quit [Quit: Connection closed for inactivity]
Hijiri has joined #ruby
toertore has quit [Quit: This computer has gone to sleep]
<jhass> eh, misplaced the splat there, it should be outside the parens of course
<jhass> .values_at(*(...
edwinvdg_ has quit [Remote host closed the connection]
<jhass> oh actually values_at takes ranges, so you don't even need the splat
edwinvdgraaf has joined #ruby
<jhass> >> a = [1, 2, 3, 4, 5, 6, 7, 8, 9]; a.values_at((0...a.size).step(2))
<eval-in_> jhass => no implicit conversion of Enumerator into Integer (TypeError) ... (https://eval.in/308142)
<jhass> but step returns an enum, meh :P
<jhass> >> a = [1, 2, 3, 4, 5, 6, 7, 8, 9]; a.values_at(*(0...a.size).step(2))
<eval-in_> jhass => [1, 3, 5, 7, 9] (https://eval.in/308143)
rocknrollmarc has joined #ruby
rocknrollmarc has quit [Max SendQ exceeded]
<zenspider> ranges are enumerable, but they're not enumerators. prolly a static check in the code for values_at
djbkd has joined #ruby
rocknrollmarc has joined #ruby
zorak8 has joined #ruby
<zenspider> yup: rb_range_beg_len
<zenspider> /* check if idx is Range */
<zenspider> if (rb_range_beg_len(argv[i], &beg, &len, olen, 1)) {
vozcelik has joined #ruby
<havenwood> >> a = [*1..9]; a.values_at *0.step(by: 2, to: a.size)
<eval-in_> havenwood => [1, 3, 5, 7, 9] (https://eval.in/308144)
bim has joined #ruby
<jhass> ah, I always forget Integer#step
<jhass> oh, it's on Numeric even
<bonhoeffer> anyone know of an implementation of simpson’s rule in ruby (or GSL working on heroku)
<havenwood> >> 1.0.step(by: 0.1, to: 2.0).to_a
<eval-in_> havenwood => [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9000000000000001, 2.0] (https://eval.in/308145)
<bonhoeffer> i need to do some numerical integration
bim has quit [Remote host closed the connection]
<havenwood> >> 1r.step(by: 1/10r, to: 2r).to_a
<eval-in_> havenwood => [(1/1), (11/10), (6/5), (13/10), (7/5), (3/2), (8/5), (17/10), (9/5), (19/10), (2/1)] (https://eval.in/308146)
bim has joined #ruby
roolo_ has quit [Remote host closed the connection]
foureight84 has quit [Quit: Be back later ...]
skyjumper has joined #ruby
bim has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
bim has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Sembei has quit [Quit: WeeChat 1.2-dev]
paradisaeidae has joined #ruby
<skyjumper> i've got a mystery
<skyjumper> using Curl::Easy to call a 3rd party API, they claim we're not sending the content: https://gist.github.com/anonymous/2a9a627da19131051388
<skyjumper> identical request works with command-line curl
Soviet_jesus_ has quit [Ping timeout: 246 seconds]
Azure has joined #ruby
jottr_ has joined #ruby
baweaver has quit [Remote host closed the connection]
<jhass> skyjumper: use wireshark or mtimproxy to verify their claim
zarubin_ has joined #ruby
<skyjumper> doing that now
Azure has quit [Client Quit]
pabloh has joined #ruby
jamto11 has joined #ruby
workmad3 has joined #ruby
kyrylo__ has joined #ruby
beneggett has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
gilest has quit [Quit: Leaving...]
<havenwood> Half off Well-Grounded Rubyist, 2nd Ed. today: https://twitter.com/david_a_black/status/583677596422004737
kyrylo_ has quit [Ping timeout: 255 seconds]
<jhass> skyjumper: mitmproxy could also be great to compare the request to the working one
<skyjumper> haven't looked into that yet, the requests seem identical-ish in wireshark
zarubin_ has quit [Ping timeout: 250 seconds]
<jhass> mh
jottr_ has quit [Read error: Connection reset by peer]
<jhass> sensitive or can you share the pcap?
CorySimmons has joined #ruby
<skyjumper> it's got auth keys
<jhass> yeah, probably better not
<GaryOak_> oh god we're testing our crazy ruby/python server stack, and it's actually working
jottr_ has joined #ruby
x1337807x has joined #ruby
<workmad3> GaryOak_: is it stable?
<GaryOak_> yeah
<skyjumper> curiously, the "bad" request is being sent in 2 tcp segments, with all of the missing content in the 2nd segment
silkfox has joined #ruby
<workmad3> GaryOak_: or kinda stuck together with duct tape and the sticky bits well lubricated with wd40? :)
<jhass> GaryOak_: is it webscale?
<GaryOak_> it is webscale
<jhass> workmad3: so that's a yes
<workmad3> wait, webscale *and* stable? I'm not sure that's possible!
<GaryOak_> workmad3: using http as the glue :P
baweaver has joined #ruby
Cloudzy has quit [Ping timeout: 272 seconds]
<jhass> skyjumper: oh, that could in theory be the issue, though would pretty clearly be their fault if it fails on that
jamto11 has quit [Ping timeout: 256 seconds]
jordsmi has joined #ruby
gilest has joined #ruby
<bonhoeffer> anyone had luck installing rb-gsl on heroku?
kreeves has joined #ruby
<skyjumper> jhass: wonder what sort of config on their end could cause that?
<jhass> skyjumper: not sure you can do much on your side, besides switching libs, like ethon/typhoeus for another curl based one
gilest has quit [Client Quit]
<jhass> skyjumper: silly custom HTTP server? who knows
<skyjumper> hah. just as you say that, their guy emails back "It's a custom software"
<skyjumper> ffs.
Asher has joined #ruby
<workmad3> skyjumper: if you're not using at least one crappy third-party system that sends screwed-up data, you're not dealing with 'real-world' systems :P
<jhass> skyjumper: might be worth porting your code to faraday
<jhass> so you can just switch out all the http libraries we got
gregf1 has quit [Quit: WeeChat 1.0.1]
<skyjumper> true, we have a few
<workmad3> skyjumper: you could also consider an 'unfucking proxy' that you send your requests through, and it has the logic of waiting until you seem to have a request that looks sane
<skyjumper> hopefully at least one works with VCR *and* their f'd up http server
<workmad3> (that would be some custom middleware proxy you wrote, btw... if only there was a magic, off-the-shelf proxy that did that already :( )
Azure has joined #ruby
<skyjumper> that'd be cool, but justifying the time to the paycheck-signers...
enebo has quit [Quit: enebo]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alex88 has quit []
pdoherty has quit [Quit: Leaving]
OrbitalKitten has joined #ruby
sgambino has joined #ruby
Hijiri has quit [Ping timeout: 265 seconds]
yqt has quit [Ping timeout: 250 seconds]
cocotton has joined #ruby
doodlehaus has joined #ruby
mistermo_ has joined #ruby
crueber has quit [Quit: Leaving.]
<bonhoeffer> for i in range(1,n/2 + 1) from python seems like it would be (1..(n/2+1)).each do |i| <— best way?
babykosh has quit [Quit: babykosh]
CorySimmons has quit [Quit: Bye!]
OrbitalKitten has quit [Client Quit]
<jhass> I like .upto
<jhass> 1.upto(n/2+1)
<jhass> takes a block directly
<havenwood> i find that aesthetically pleasing too
<bonhoeffer> jhass: got it — agree
<bonhoeffer> (felt bad asking such a simple question, but i’m glad i did)
mistermocha has quit [Ping timeout: 250 seconds]
bigmac has quit [Ping timeout: 252 seconds]
<jhass> don't worry
lordkryss has quit [Quit: Connection closed for inactivity]
mistermo_ has quit [Ping timeout: 252 seconds]
JDiPierro has joined #ruby
P1RATEZ has quit []
jimms has joined #ruby
Hijiri has joined #ruby
senayar has quit [Remote host closed the connection]
Hijiri has quit [Client Quit]
Hijiri has joined #ruby
yh has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
stevechiagozie has quit [Quit: Computer has gone to sleep.]
JDiPierro has quit [Ping timeout: 245 seconds]
palms has quit [Ping timeout: 264 seconds]
bigkevmcd has quit [Ping timeout: 245 seconds]
havenwood has quit []
Channel6 has joined #ruby
Sawbones_ has joined #ruby
n80 has quit [Quit: n80]
gluten_hell__ has joined #ruby
silkfox has quit [Ping timeout: 252 seconds]
jherbst has joined #ruby
bigkevmcd has joined #ruby
jefus_ has joined #ruby
aswen has quit [Ping timeout: 248 seconds]
gluten_hell_ has quit [Ping timeout: 265 seconds]
silkfox has joined #ruby
jefus has quit [Ping timeout: 250 seconds]
DerisiveLogic_ has joined #ruby
imranr has joined #ruby
jimms has quit [Read error: Connection reset by peer]
jimms has joined #ruby
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rephiax has quit [Ping timeout: 272 seconds]
DerisiveLogic has quit [Ping timeout: 248 seconds]
jimms has quit [Read error: Connection reset by peer]
jimms_ has joined #ruby
_maes_ has quit [Ping timeout: 252 seconds]
silkfox has quit [Ping timeout: 252 seconds]
jottr_ has quit [Ping timeout: 246 seconds]
einarj has quit [Remote host closed the connection]
Takle has joined #ruby
vozcelik has joined #ruby
imranr has quit [Ping timeout: 245 seconds]
jerematic has quit [Remote host closed the connection]
paulcsmith has joined #ruby
paulcsmith has quit [Client Quit]
Hijiri has quit [Ping timeout: 252 seconds]
benlieb has quit [Read error: Connection reset by peer]
leafybasil has joined #ruby
nfk has quit [Quit: yawn]
Takle has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: ciao.]
oo_ has quit [Remote host closed the connection]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
djellemah__ has joined #ruby
jerematic has joined #ruby
mistermocha has joined #ruby
oo_ has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
<nettoweb> jhass now im getting this info: /index.html" is not found (2: No such file or directory) I think rails is not starting, is there a way to check this?
centrx has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
RegulationD has quit [Remote host closed the connection]
Kilo`byte has quit [Ping timeout: 252 seconds]
jerius has joined #ruby
<jhass> nettoweb: did you change something in the nginx config?
marr has quit []
<nettoweb> jhass somethings because Im setting to show on a sub uri... I'll show you the gist
benlieb has joined #ruby
djellemah_ has quit [Ping timeout: 272 seconds]
sankaber has joined #ruby
c_nick has quit [Ping timeout: 252 seconds]
jimms_ has quit [Remote host closed the connection]
jerius has quit [Max SendQ exceeded]
<nettoweb> jhass nginx is looking for index.html but I want to run the rails app
centrx has quit [Client Quit]
<jhass> wait, do you passenger in your nginx?
jerius has joined #ruby
DerisiveLogic_ has quit [Remote host closed the connection]
<jhass> nettoweb: the rewrite on line 38 doesn't make any sense, in three ways
rocknrollmarc has quit [Quit: BitchX-1.2.1 -- just do it.]
<jhass> 1) it's after proxy_pass, so never reached. 2) it would be reached, what do you want? pass the request to the app or redirect? 3) you map /portal to the same named location, so if it would be reached, it would loop endlessly
<nettoweb> jhass no passenger, and the redirect is that every request I send to /portal at first
GaryOak_ has quit []
<jhass> nettoweb: then how does line 13 not fail your nginx to start?
oo_ has quit [Remote host closed the connection]
<nettoweb> jhass I can't use rails_env ? I'll remove
<jhass> also if that's your full config, serving assets won't work properly since you don't define any mimetypes
<nettoweb> jhass It's a trash from my old passenger config file
<nettoweb> jhass I got this initial confi file from here: https://coderwall.com/p/ttrhow/shdeploying-rails-app-using-nginx-puma-and-capistrano-3
willharrison has joined #ruby
<nettoweb> Im trying to adapt
<jhass> it's only showing the relevant parts, it's not meant as a full config
netroby has joined #ruby
Jadam has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Kilo`byte has joined #ruby
<nettoweb> jhass right
<nettoweb> so that redirect to /portal must be before proxy_pass
<nettoweb> ?
ascarter has joined #ruby
<jhass> that's only covering issue 1) not 2) and 3)
thumpba_ has quit [Ping timeout: 245 seconds]
QuintinAdam has quit [Ping timeout: 272 seconds]
<bonhoeffer> i’m confused why this does’t work: f = lambda {|x| Math.sin(x) }; f(0) NoMethodError: undefined method `f' for main:Object. but: f.call(0) -> 0
<nettoweb> Im lost with this file... hehe. I thught I could edit well. but is not so easy
<willharrison> https://gist.github.com/willharrison/2ea0d002d7fb45ded67a can anyone see what might be going wrong here? it's at line 27 on the KaraInt class
<jhass> bonhoeffer: lambda returns an object, it doesn't define a method
ascarter has quit [Client Quit]
ascarter has joined #ruby
<bonhoeffer> hmm . . . but that object is an anonymous function, right?
<bonhoeffer> which, well, is a lot like a method
<jhass> in Ruby it's actually closer to a block than to a method
krisquigley has joined #ruby
<bonhoeffer> so what is &f
jamto11 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<jhass> it converts a Proc into a block and passes it as a block to the method
<netroby> Morning (From GMT+8)
netroby has quit [Killed (idoru (Spam is off topic on freenode.))]
oo_ has joined #ruby
<jhass> oO
baweaver has quit [Remote host closed the connection]
<bonhoeffer> so, &f is nothing . . . because f is an object, not a proc?
gluten_hell__ has quit [Quit: Computer has gone to sleep.]
Jadam has quit [Ping timeout: 256 seconds]
<jhass> willharrison: your .pad! is actually not self-modifying
<jhass> reverse returns a new array
julweber has joined #ruby
<willharrison> ah
workmad3 has quit [Ping timeout: 250 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
a5i has quit [Quit: Connection closed for inactivity]
<jhass> willharrison: and you want to take a closer look at the docs of Array#fill too ;)
<willharrison> will do
<willharrison> thanks jhass
ascarter has quit [Client Quit]
DerisiveLogic has joined #ruby
krisquigley has quit [Ping timeout: 252 seconds]
jamto11 has quit [Ping timeout: 248 seconds]
doodlehaus has joined #ruby
<bonhoeffer> so for f=Math.sin(x), if I want to pass this to a method which will call f(0), what is the best way? a method, block, proc, lambda?
Vile` has quit [Ping timeout: 272 seconds]
<bonhoeffer> those are all closures, right?
Azure has quit [Excess Flood]
<jhass> willharrison: ah nvm about fill, was misinterpreting something
<bonhoeffer> i guess i should just use .call(0)
<bonhoeffer> and not worry about it
Azure has joined #ruby
<jhass> bonhoeffer: only the last three are closures, methods aren't
<jhass> and yeah
sudog has quit [Ping timeout: 265 seconds]
<willharrison> jhass yeah I just looked it up and didn't know what you were talking about lol. reverse! was what I needed tho
<jhass> bonhoeffer: did you check out yield yet?
<bonhoeffer> yeah — i could yield a proc
milesmatthias has quit [Remote host closed the connection]
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 36.0.4/20150320202338]]
<jhass> more like f = ->(x) { Math.sin(x) }; my_method_that_yields(&f)
baweaver has joined #ruby
riotjones has joined #ruby
oo_ has quit [Remote host closed the connection]
milesmatthias has joined #ruby
milesmat_ has joined #ruby
milesmat_ has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
milesmat_ has joined #ruby
<jhass> willharrison: wait, actually, can't you just use the three arg form of fill?
<jhass> .fill(0, size, padded_size) ?
<jhass> eh, padded_size-size
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<willharrison> I need to pad the beginning so I have to reverse
<jhass> I guess I'm tired :/
<willharrison> very possible I don't know what I am talking about tho
<willharrison> I am new to ruby
sudog has joined #ruby
<willharrison> but the tests are passing
milesmatthias has quit [Ping timeout: 256 seconds]
riotjones has quit [Ping timeout: 250 seconds]
pandaant has quit [Remote host closed the connection]
<jhass> I'd ponder replace Array.new(0, padded_size-size).concat self
<Diabolik> jhass pm?
<jhass> Diabolik: sure
<shevy> hot pm sex
milesmat_ has quit [Ping timeout: 265 seconds]
adriancb has joined #ruby
keen___ has joined #ruby
<willharrison> jhass will do
<jhass> willharrison: replace being an actualy method call ;)
vozcelik has quit [Read error: Connection reset by peer]
keen__ has quit [Ping timeout: 264 seconds]
a5i has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
Aswebb_ has quit [Remote host closed the connection]
Pupeno has joined #ruby
jottr_ has joined #ruby
Sirupsen has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]