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
gusrub has joined #ruby
juanpablo___ has quit [Ping timeout: 248 seconds]
wallerdev_ has joined #ruby
Azure has joined #ruby
<Senjai> Ellis: Because its the only language that runs in the browser, and every device ever.
<Senjai> And it lets you do whatever
<Senjai> and its easy
<Senjai> So bad people use it lots
<Senjai> xD
freerobby has joined #ruby
<Ellis> so it’s not because it’s a good language?
wallerdev has quit [Ping timeout: 250 seconds]
wallerdev_ is now known as wallerdev
<Senjai> JS is a terrible language
<Ellis> ahha
<Senjai> Its a necessary evil
<Ellis> yeah by the looks of it it’s pretty ugly
<Ellis> why can’t we just use ruby ><
<Senjai> Depends on how you code
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CloCkWeRX has left #ruby [#ruby]
Hijiri has quit [Ping timeout: 264 seconds]
<Ellis> i’m learning ruby but it seems like everyone is learning node and all that shit
dmmoody has quit [Ping timeout: 265 seconds]
<Senjai> Dont worry about them
<Senjai> they're bad
<Senjai> Be good
<Senjai> Node is just the latest hype
<Senjai> Ruby is totally appropriate
<Senjai> So is Node, actually
<Senjai> but if you like Ruby, just stick with Ruby, seriously
<Senjai> there is TONS of ruby work out there
<sevenseacat> ruby \o/
<Senjai> If you like JS, go with JS
DLSteve has quit [Remote host closed the connection]
ghr has joined #ruby
claw_ has quit [Read error: Connection reset by peer]
<Ellis> thanks for the reassurance
<Ellis> javascript looks so ugly but i’ve only spent maybe a couple hours using it
GnuYawk has quit [Ping timeout: 248 seconds]
claw_ has joined #ruby
claw_ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 272 seconds]
claw_ has joined #ruby
<sevenseacat> well you're likely going to use js at some point if you're building web apps
<sevenseacat> kinda hard not to
ringarin has joined #ruby
fabrice31 has joined #ruby
tgunr has joined #ruby
devans has joined #ruby
jonatin has quit [Quit: Textual IRC Client: www.textualapp.com]
hpoydar has joined #ruby
Kricir has joined #ruby
Hijiri has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roolo has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
ghr has quit [Ping timeout: 264 seconds]
devans has quit [Ping timeout: 255 seconds]
eytanfb has joined #ruby
jeramy_s has joined #ruby
fabrice31 has quit [Ping timeout: 276 seconds]
wallerdev has joined #ruby
joshs has quit []
eytanfb has quit [Remote host closed the connection]
eytanfb has joined #ruby
Sawbones_ has joined #ruby
emocakes has quit [Quit: Textual IRC Client: www.textualapp.com]
tosbourn has joined #ruby
MatthewsFace has joined #ruby
claw_ has quit [Read error: Connection reset by peer]
Hijiri has quit [Ping timeout: 265 seconds]
pietr0 has quit [Quit: pietr0]
claw_ has joined #ruby
_sjs has quit [Quit: leaving]
GnuYawk has joined #ruby
tosbourn has quit [Ping timeout: 256 seconds]
dmmoody has joined #ruby
<shevy> sevenseacat: you poor cat you, did you see, australia is all bugged https://github.com/angular/angular.js/issues/5017
dmmoody has quit [Client Quit]
<sevenseacat> i did see actually :(
StevenXL has joined #ruby
Ellis has quit [Quit: Ellis]
claw_ has quit [Read error: Connection reset by peer]
claw__ has joined #ruby
bricker has quit [Read error: Connection reset by peer]
cpt_yossarian has quit [Ping timeout: 244 seconds]
apoplexy has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
cpt_yossarian has joined #ruby
sledwin has joined #ruby
hyperjuice has joined #ruby
baweaver has quit [Remote host closed the connection]
oo_ has joined #ruby
hyperjui_ has joined #ruby
hyperjui_ has quit [Remote host closed the connection]
hyperjui_ has joined #ruby
tkuchiki has joined #ruby
dseitz has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mgorbach has quit [Quit: ZNC - http://znc.in]
mgorbach has joined #ruby
lethosor|away has quit [Quit: Connection closed for inactivity]
hyperjuice has quit [Ping timeout: 248 seconds]
oo_ has quit [Remote host closed the connection]
hpoydar has quit [Remote host closed the connection]
bintelli has joined #ruby
juanpaucar has joined #ruby
tkuchiki has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
<weaksauce> the thing that gets me about javascript is that it had nothing to do with java. just named as such because java was the popular new thing at the time. I am going to make a nodescript language and make it terrible.
marr has quit [Ping timeout: 246 seconds]
<havenwood> weaksauce: node is its own nodescript
mgorbach has quit [Client Quit]
<weaksauce> nodescriptscript it is
<weaksauce> :P
mgorbach has joined #ruby
bim has quit [Remote host closed the connection]
<weaksauce> but seriously. I have an irc bot that has a backing event system written in eventmachine.
<weaksauce> the framework uses eventmachine actually
oo_ has joined #ruby
mgorbach has quit [Client Quit]
<weaksauce> I have a class that looks up things in a db using active record(before that raw sql) but it just doesn't seem to want to look up things correctly even though tests run and say that it should run fine.
mgorbach has joined #ruby
juanpaucar has quit [Ping timeout: 246 seconds]
<weaksauce> seems like eventmachine is causing some issues with threads and querying... anyone else have an issue similar to this?
nateberkope has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
wallerdev has quit [Quit: wallerdev]
krisquigley has joined #ruby
mgorbach has quit [Client Quit]
mgorbach has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
<weaksauce> or does anyone have an idea of what avenue to look down?
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<weaksauce> the frustrating thing is that this should be a simple affair really
shevy has quit [Ping timeout: 252 seconds]
krisquigley has quit [Ping timeout: 264 seconds]
growlove has joined #ruby
tkuchiki has joined #ruby
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
StevenXL has quit [Ping timeout: 264 seconds]
Megtastique has quit []
robustus has quit [Ping timeout: 255 seconds]
davispuh has quit [Ping timeout: 250 seconds]
DEA7TH has quit [Ping timeout: 255 seconds]
robustus has joined #ruby
sankaber has joined #ruby
mrmagneto has joined #ruby
dc has joined #ruby
baweaver has joined #ruby
Kricir has quit [Remote host closed the connection]
nug has quit [Quit: ZNC - http://znc.in]
weemsledeux has joined #ruby
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
KnownSyntax has joined #ruby
iotouch has joined #ruby
oo_ has quit [Remote host closed the connection]
mleung has quit [Quit: mleung]
ghostmoth has quit [Quit: ghostmoth]
helpneeded222 has joined #ruby
ebbflowgo has left #ruby [#ruby]
mitchellhenke has joined #ruby
davedev24_ has quit []
helpneeded222 has left #ruby [#ruby]
oo_ has joined #ruby
Takle has joined #ruby
mark06 has joined #ruby
Hijiri has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
centrx has quit [Quit: Shutting down, Please wait...]
Channel6 has joined #ruby
<mark06> one goal of easyoptions is not flooding programmer with plenty of code just to parse the options
<mark06> currently just requiring the gem causes all options to be parsed automatically
mjuszczak has quit []
malcolmva has joined #ruby
<mark06> what do you suggest for allowing for some configuration but still having the above feature?
Takle has quit [Ping timeout: 255 seconds]
<paradisaeidae> weaksauce: Which ruby are you using?
<mark06> for example http://vpaste.net/Sbykp
<paradisaeidae> The recent combination of Ruby 2.2.1 and eventmachine 1.0.7 simplifies threading by using a call which explicitly does not require the global vm lock.
ebbflowgo has joined #ruby
amclain has joined #ruby
riotjones has joined #ruby
nateberkope has quit [Read error: Connection reset by peer]
doodlehaus has quit [Remote host closed the connection]
nateberkopec has joined #ruby
thumpba_ has quit [Ping timeout: 244 seconds]
ringarin has quit [Quit: Leaving]
ValicekB has quit [Ping timeout: 276 seconds]
phutchins has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
hmsimha has joined #ruby
rbennacer has joined #ruby
amdbcg has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
speakingcode has joined #ruby
phutchins has quit [Ping timeout: 244 seconds]
ValicekB has joined #ruby
Kricir has joined #ruby
rbennacer has quit [Remote host closed the connection]
snath has joined #ruby
jeramy_s has joined #ruby
hpoydar has joined #ruby
dorei has quit []
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby
Sawbones has joined #ruby
baweaver has quit [Remote host closed the connection]
ghr has joined #ruby
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
teddyp1cker has joined #ruby
bim has joined #ruby
tmoor has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
martin290 has joined #ruby
<martin290> hi everyone
<martin290> i heard this community is really good so i wanted to stop in and say hi!
hpoydar has quit [Ping timeout: 264 seconds]
diegoviola has quit [Remote host closed the connection]
palms has joined #ruby
* sevenseacat waves hello
tmoor has quit [Client Quit]
ghr has quit [Ping timeout: 248 seconds]
teddyp1cker has quit [Ping timeout: 276 seconds]
bim has quit [Ping timeout: 252 seconds]
eytanfb has quit [Ping timeout: 252 seconds]
jottr_ has joined #ruby
juanpablo___ has joined #ruby
iotouch has joined #ruby
ujihisa has joined #ruby
Megtastique has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
lnr has joined #ruby
lnr has quit [Read error: Connection reset by peer]
mleung has joined #ruby
iamjarvo has joined #ruby
juanpablo___ has quit [Ping timeout: 252 seconds]
luksaur has quit [Quit: Leaving]
Feyn has quit [Quit: Leaving]
ujihisa has quit [Ping timeout: 265 seconds]
sudog has quit [Ping timeout: 252 seconds]
michael_mbp has quit [Excess Flood]
lnr has joined #ruby
sledwin has quit [Ping timeout: 246 seconds]
michael_mbp has joined #ruby
hyperjui_ has quit [Remote host closed the connection]
mikenovikov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
davidhq has joined #ruby
fabrice31 has joined #ruby
gusrub has quit [Quit: Leaving]
a5i has joined #ruby
kblake has quit [Ping timeout: 256 seconds]
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 245 seconds]
jeramy_s has joined #ruby
<havenwood> martin290: hellooo
<martin290> hey
<martin290> whats up?
moshee has quit [Ping timeout: 246 seconds]
oo_ has quit [Remote host closed the connection]
<havenwood> martin290: chunky bacon
<martin290> haha
<martin290> so, i came here because.. i've been learning c#
<martin290> and i heard that ruby is a really good language
<martin290> was wondering if you (or anyone else here) knows both, and which one they prefer coding in?
moshee has joined #ruby
GnuYawk has quit [Ping timeout: 264 seconds]
keen____ has joined #ruby
yfeldblum has joined #ruby
<sevenseacat> I can spell C#, thats about it.
jordsmi has joined #ruby
<crowell> C# is a nice language
longfeet has joined #ruby
<martin290> lol
nateberkopec has quit [Quit: Leaving...]
<martin290> any opinions which one you like better?
<havenwood> martin290: Ruby. This is #ruby after all.
<havenwood> martin290: But Ruby.
<martin290> any particular reason(s) why??
<crowell> martin290: they're both good languages, and have their use cases
Kricir has quit []
keen___ has quit [Ping timeout: 250 seconds]
<martin290> so let's say that i wanted to learn a language because i wanted to be more marketable (i know sql, and good bit of c#)
michael_mbp has quit [Excess Flood]
<martin290> would you recommend ruby for that purpose?
oo_ has joined #ruby
towski__ has quit [Remote host closed the connection]
tgunr has quit [Ping timeout: 256 seconds]
mleung has quit [Quit: mleung]
michael_mbp has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
amystephen has quit [Quit: amystephen]
<havenwood> martin290: Yeah, something along the lines of Ruby, Clojure or F# sounds good to me. There are many ways to do it.
C1V0 has joined #ruby
<martin290> havenwood: can you write desktop apps in ruby?
<havenwood> martin290: GUI bindings are one of Ruby's shortcomings. There are certainly options but it isn't a focus.
longfeet_ has quit [Quit: Leaving]
<martin290> havenwood: so is ruby mainly for web dev?
<havenwood> martin290: It's a general purpose programming language. It does have a strong foothold in web apps but it's used for all sorts of things.
mjuszczak has joined #ruby
<martin290> havenwood: so if i wanted to, i could make a desktop application strictly out of ruby?
wallerdev has quit [Quit: wallerdev]
<havenwood> martin290: I assume by desktop app you mean a GUI app and not a command line app?
<martin290> havenwood: that's right
amystephen has joined #ruby
<martin290> havenwood: like i had an idea of making an application that would work with a sql server db in the background
amystephen has quit [Client Quit]
roqo has joined #ruby
<havenwood> martin290: Sure, you can make GUI apps in Ruby. There are a variety of bindings. Shoes4 is fun but it's only working with JRuby at the moment.
<martin290> havenwood: JRuby?
<havenwood> martin290: http://jruby.org/
iasoon has quit [Ping timeout: 272 seconds]
GnuYawk has joined #ruby
<weaksauce> paradisaeidae 2.1.3
<havenwood> martin290: It's a very nice implementation of Ruby on the JVM. They're doing some exciting work.
<havenwood> top notch
<weaksauce> I think it's because the lib I am using can't handle anything higher
djbkd has quit [Remote host closed the connection]
<martin290> havenwood: so do you currently have a job working with ruby?
<havenwood> martin290: i do
<martin290> havenwood: do you like it
<havenwood> yup
<havenwood> <3 ruby
<martin290> how long have you been doing it for
<martin290> sorry for all my questions, btw
<havenwood> four years
<sevenseacat> ruby \o/
<havenwood> \o/
<sevenseacat> no-one asked me, but I also have a job working with ruby on rails, for web app dev.
<havenwood> sevenseacat: how long have you been doing Ruby?
<martin290> it's cool, i want people's opinions!
<sevenseacat> since jan 1 2011. was my new years resolution that year.
<havenwood> sevenseacat: Nice!
juanpaucar has joined #ruby
<martin290> you know what i've noticed???
<martin290> from what i can tell, you guys seem SUPER nice
<martin290> and some of the guys in the ##csharp channel, well, they're not so nice
<sevenseacat> we generally are, unless people come in who just dont want to learn or dont care
<sevenseacat> then we get snarky
<havenwood> ;)
<sevenseacat> and we can be very snarku
<martin290> lol
<sevenseacat> snarky
<martin290> well, let me give you a for instance
<martin290> i was using a method that has like 10 overloads and apparently i was using the wrong one
<martin290> and one person was like.... why don't you read the f'ing documentation
<weaksauce> martin290 don't worry
<martin290> or something along those lines...
<weaksauce> rubyist wont tell you that
<weaksauce> because there isn't any fucking documentation
<martin290> thanks!!!!
<martin290> :)
<martin290> HAHAHAHA
<weaksauce> :D
<sevenseacat> we have a saying in ruby - 'matz is nice so we are nice' (matz is the creator of ruby)
<weaksauce> they may say... well it's in the tests
elcontrastador has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<sevenseacat> so we try to be nice... sometimes we fail, but we try
<weaksauce> matz is really nice.
elcontrastador has quit [Client Quit]
<martin290> have you guys spoke with him?
<sevenseacat> i haven't, no
<havenwood> yeah
fedexo has joined #ruby
juanpaucar has quit [Ping timeout: 252 seconds]
<weaksauce> no indeed
<martin290> so let's say that i want to learn start learning ruby
<weaksauce> seems like a cat that would be nice to hang around with though
<martin290> can you guys suggest a good way of learning the language and syntax?
gsd has joined #ruby
<sevenseacat> i actually jumped in the deep end with rails, so i dont have a good way of learning the intricacies of ruby - some of them i'm still trying to work out
sevenseacat has left #ruby ["Me dun like you no more."]
<martin290> sounds like how i learned sql
sevenseacat has joined #ruby
<martin290> basically thrown to the wolves lol
<weaksauce> codeacademy.com or damn there was another that is actually really good\
<havenwood> martin290: here are some links: http://ruby-community.com/pages/links
krisquigley has joined #ruby
lethosor|away has joined #ruby
<sevenseacat> one day i will even learn to use my irc client properly and stop deleting the channel
<weaksauce> codezen or something like that
<sevenseacat> ruby koans?
<havenwood> sevenseacat: one say i'll set up an irc bouncer
<havenwood> one day*
<martin290> does anyone here live in nc?
<weaksauce> martin290 rubymonk.com]
<havenwood> LA here
<sevenseacat> australia here
<martin290> oh ok, just wondering
<weaksauce> gets a bit light near the meataprogramming things but seems pretty solid for the fundamentals
<havenwood> martin290: this is a good place to ask questions
casadei has joined #ruby
<martin290> havenwood: yeah, thanks, i've definitely figured that out, and thanks for being so nice :)
<martin290> thanks again everyone for being so nice to me :)
<sevenseacat> as long as you dont start asking things like 'where do you work, how much do you make, and are you married', its cool
<martin290> i really appreciate it
yh has quit [Ping timeout: 248 seconds]
<weaksauce> martin290 I think the ruby community is really tolerant
<weaksauce> at least #ruby
diegoviola has joined #ruby
arup_r has joined #ruby
<weaksauce> so welcome
<martin290> weaksauce: so far i'm definitely liking it :)
krisquigley has quit [Ping timeout: 272 seconds]
<sevenseacat> even if you decide not to learn ruby, everyone is welcome. i lurk in the lua channel sometimes just because, hoping to learn information by osmosis >_>
ghr has joined #ruby
* sevenseacat does not understand lua but wants to
arup_r has quit [Remote host closed the connection]
jeramy_s has quit [Quit: Peace out!]
<martin290> lua channel??
iotouch has quit [Quit: This computer has gone to sleep]
djbkd has joined #ruby
<havenwood> If you could be fluent in every human language, every programming language or play every instrument which would you choose?
casadei has quit [Ping timeout: 256 seconds]
iotouch has joined #ruby
djbkd has quit [Remote host closed the connection]
cyberarm has quit [Read error: Connection reset by peer]
flori has quit [Ping timeout: 265 seconds]
<martin290> hrm....
<sevenseacat> thats really hard
<sevenseacat> ive wanted to do all of those things >_>
<martin290> hahaha
<martin290> i was never musically inclined
flori has joined #ruby
<martin290> but i feel like if i was, that would be pretty cool
A205B064 has quit [Ping timeout: 265 seconds]
<sevenseacat> i think i'd pick the music
<martin290> me too
<martin290> i'd never become musically talented on my own lol
sevenseacat has left #ruby ["Me dun like you no more."]
yfeldblum has quit [Remote host closed the connection]
<paradisaeidae> weaksauce: So you have libs which are holding you in 2.1.3? Which ones?
sevenseacat has joined #ruby
<sevenseacat> really need to disable that shortcut
<weaksauce> the irc bot didn't seem to work without 2.1ish
<weaksauce> isaac
<havenwood> I think I'd choose human languages. I find them so difficult and I want to be able to speak!
<weaksauce> this one paradisaeidae https://github.com/vangberg/isaac
<havenwood> And comprehend.
<weaksauce> I should move to a better gem really.
<weaksauce> it's not bad but they haven't touched it in years
jefus_ has quit [Quit: Leaving]
ghr has quit [Ping timeout: 264 seconds]
<havenwood> Fluency in every programming language seems like a lot of fun though.
<c-c> nevertheless, its impossible for one person
juanpablo___ has joined #ruby
<c-c> and achieved simply by employing those skilled in the particular language or instrument
<c-c> so, you already have it, given suitable means of gaining funds
<martin290> well, i stutter, so learning all the human languages probably wouldn't be too beneficial lol
<havenwood> so many languages!
<c-c> in fact, assuming fundraising potential, you already indirectly already have the means of using any language or instrument
<c-c> and, volunteers might even do it for free if your idea is good
<paradisaeidae> weaksauce: Looks like it's not far from running with recent 2.2, being that it has tests for 1.9.2 (?)
moshee has quit [Ping timeout: 256 seconds]
<weaksauce> paradisaeidae I can try to get it to work on something newer. It had some troubles before and it wasn't a super priority to get it working on the latest and greatest so I left it on 2.1.3
aghalarp has joined #ruby
<paradisaeidae> Does not bundle an eventmachine.... so how does it choke?
arescorpio has quit [Read error: Connection reset by peer]
<paradisaeidae> eventmachine installs can require some work occasionally, though worth the effort in performance over years.
juanpablo___ has quit [Ping timeout: 252 seconds]
Dreamer3 has joined #ruby
freerobby has quit [Quit: Leaving.]
yfeldblum has joined #ruby
<weaksauce> paradisaeidae what do you mean does not bundle an event machine?
moshee has joined #ruby
qualityaddict has joined #ruby
<paradisaeidae> Some gems bundle a slightly modified eventmachine with them.
GnuYawk has quit [Ping timeout: 272 seconds]
<paradisaeidae> weaksauce: Take some backups.... when you make mods...
mjuszczak has quit []
Megtastique has quit []
mikenovikov has joined #ruby
apoplexy has joined #ruby
Joufflu has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Neomex has joined #ruby
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Megtastique has joined #ruby
tcrypt has quit [Remote host closed the connection]
towski_ has joined #ruby
braincrash has quit [Quit: bye bye]
aghalarp has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
riotjones has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
charliesome has joined #ruby
duncannz has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
braincrash has joined #ruby
GnuYawk has joined #ruby
aghalarp has quit [Ping timeout: 255 seconds]
tus has quit []
sohrab has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
anaeem1 has joined #ruby
djbkd has joined #ruby
maximski has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
jerematic has quit [Remote host closed the connection]
davidhq has joined #ruby
davidhq has quit [Client Quit]
djbkd has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
hpoydar has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mark06> what would you suggest for configuring stuff before a require clause?
palms has quit [Ping timeout: 256 seconds]
<sevenseacat> seems vague.
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mark06> for example the required script can see previously defined global variables, but globals are not good answer
hpoydar has quit [Ping timeout: 256 seconds]
maximski has quit []
GnuYawk has quit [Ping timeout: 240 seconds]
dc has quit [Remote host closed the connection]
<mark06> is this approach good? http://vpaste.net/bGnlr
tosbourn has joined #ruby
speakingcode has quit [Ping timeout: 264 seconds]
mgberlin has joined #ruby
<mgberlin> join #botwillacceptanything
fedexo has quit [Ping timeout: 245 seconds]
DavidDudson has joined #ruby
ghr has joined #ruby
teddyp1cker has joined #ruby
perrier_ has quit [Ping timeout: 252 seconds]
tosbourn has quit [Ping timeout: 264 seconds]
sevvie has quit [Remote host closed the connection]
hobodave has joined #ruby
bim has joined #ruby
mgberlin has quit [Remote host closed the connection]
Axy has quit [Read error: Connection reset by peer]
hmsimha has quit [Ping timeout: 252 seconds]
mgberlin has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
teddyp1cker has quit [Ping timeout: 256 seconds]
GnuYawk has joined #ruby
User458764 has joined #ruby
bim has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
mengu has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
fabrice31 has quit [Ping timeout: 256 seconds]
anaeem1 has quit [Remote host closed the connection]
iotouch has quit [Quit: This computer has gone to sleep]
mengu has quit [Ping timeout: 265 seconds]
iotouch has joined #ruby
dseitz has joined #ruby
Deele has joined #ruby
hmsimha has joined #ruby
Parker0 has joined #ruby
Parker0 has quit [Client Quit]
Matadoer has quit [Ping timeout: 255 seconds]
anaeem1_ has joined #ruby
Matadoer has joined #ruby
havenwood has quit []
dc has joined #ruby
casadei has joined #ruby
horsecowdog has joined #ruby
Matadoer has quit [Ping timeout: 250 seconds]
dc has quit [Ping timeout: 256 seconds]
CaptainCibai has quit [Remote host closed the connection]
Megtastique has quit [Ping timeout: 256 seconds]
sevvie has joined #ruby
Feyn has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
Matadoer has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
juanpaucar has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Client Quit]
cajone has joined #ruby
danman has quit [Quit: danman]
horsecowdog has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 264 seconds]
Ellis has joined #ruby
kp666 has joined #ruby
Brando753 has joined #ruby
jordsmi has quit [Quit: Connection closed for inactivity]
anaeem1__ has joined #ruby
anaeem1_ has quit [Read error: Connection reset by peer]
poguez_ has joined #ruby
<Ellis> i have a hash with 12 keys and 12 values, i want to change the value of say key 4 to the value of key 1, and the value of key 1 to the value of key 10, basically i’m rotating everything over 3, anyone know a method for this?
gsd has quit [Ping timeout: 264 seconds]
juanpaucar has quit [Ping timeout: 264 seconds]
krz has joined #ruby
sohrab_ has joined #ruby
horsecowdog has joined #ruby
sohrab has quit [Ping timeout: 252 seconds]
krisquigley has joined #ruby
mgberlin has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
jerematic has joined #ruby
<mark06> I doubt this is common task so a method exists
<martin290> Ellis: i don't know ruby, but, would sorting the array work?
hobodave has quit [Quit: Computer has gone to sleep.]
hobodave has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
cajone has quit [Ping timeout: 250 seconds]
<Ellis> martin290: i dont think so … i’m trying to create a rubiks cube so i can’t sort them
oo_ has joined #ruby
<martin290> Ellis: ah ok, just a suggestion :)
<Ellis> i guess i could use an array of arrays
oo_ has quit [Remote host closed the connection]
ujihisa has joined #ruby
<Ellis> martin290: iappreciate it : }
oo_ has joined #ruby
bluOxigen has joined #ruby
krisquigley has quit [Ping timeout: 264 seconds]
GnuYawk has quit [Ping timeout: 250 seconds]
chintanparikh has joined #ruby
jerematic has quit [Ping timeout: 246 seconds]
<chintanparikh> Anyone know how I would create a TCP packet using Array.pack?
charliesome has joined #ruby
slakware has joined #ruby
eytanfb has joined #ruby
dcarper has joined #ruby
ponga has quit [Remote host closed the connection]
GnuYawk has joined #ruby
eytanfb has quit [Read error: Connection reset by peer]
jzigmund has quit [Remote host closed the connection]
rbennacer has joined #ruby
jzigmund has joined #ruby
RegulationD has joined #ruby
juanpablo___ has joined #ruby
martin290 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rbennacer has quit [Ping timeout: 250 seconds]
<mozzarella> chintanparikh: pass the resulting string to the send function?
<chintanparikh> Yup but how would I actually call Array.pack?
<chintanparikh> Like what would the argument be?
ghr has joined #ruby
<mozzarella> chintanparikh: the argument is a string, and you call it on an array
RegulationD has quit [Ping timeout: 240 seconds]
juanpablo___ has quit [Ping timeout: 244 seconds]
<mozzarella> just tell us what you want to do
eytanfb has joined #ruby
towski_ has quit [Remote host closed the connection]
<mozzarella> >> [0, 127, 255].pack('C*')
<ruboto> mozzarella # => "\x00\x7F\xFF" (https://eval.in/311271)
slakware has quit []
Ellis has left #ruby [#ruby]
ghr has quit [Ping timeout: 248 seconds]
eytanfb has quit [Read error: Connection reset by peer]
mgberlin has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
umby24|offline is now known as umby24
chipotle_ has joined #ruby
jeromelanteri has joined #ruby
mgberlin has quit [Remote host closed the connection]
chipotle has quit [Read error: Connection reset by peer]
hannahkoala has joined #ruby
hobodave has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
CatMartyn has joined #ruby
hannahkoala has quit [Quit: Textual IRC Client: www.textualapp.com]
amdbcg has quit [Ping timeout: 250 seconds]
growlove has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
diegoviola has quit [Quit: WeeChat 1.1.1]
psudoze has quit [Ping timeout: 248 seconds]
ponga has joined #ruby
data-cat has joined #ruby
riotjones has joined #ruby
krzkrz has joined #ruby
krz has quit [Ping timeout: 246 seconds]
psudoze has joined #ruby
int_bats is now known as ec
hannahkoala has joined #ruby
riotjones has quit [Ping timeout: 250 seconds]
lethosor|away has quit [Quit: Connection closed for inactivity]
frem has quit [Quit: Connection closed for inactivity]
mengu has joined #ruby
bintelli has quit [Quit: Page closed]
jenrzzz has quit [Ping timeout: 250 seconds]
casadei has quit [Remote host closed the connection]
perrier has joined #ruby
Sawbones has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 245 seconds]
mengu has quit [Ping timeout: 276 seconds]
anaeem1__ has quit [Ping timeout: 276 seconds]
bluOxigen has joined #ruby
Sawbones has joined #ruby
Sawbones has quit [Read error: Connection reset by peer]
hpoydar has joined #ruby
Sawbones has joined #ruby
reinaldob has joined #ruby
St1gma has joined #ruby
hpoydar has quit [Ping timeout: 244 seconds]
fedexo has joined #ruby
krzkrz has quit [Ping timeout: 250 seconds]
astrobun_ has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
reinaldob has quit [Ping timeout: 246 seconds]
ebbflowgo has joined #ruby
krzkrz has joined #ruby
ahmetkapikiran has joined #ruby
lxsameer has joined #ruby
anaeem1 has joined #ruby
hannahkoala has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
greenbagels has quit [Quit: Leaving]
iamjarvo_ has joined #ruby
yh has joined #ruby
fella6s has joined #ruby
<atmosx> Morning
Sawbones has quit [Remote host closed the connection]
<sevenseacat> atmosx: happy friday!!!11!!
NG__ has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
<NG__> HELLO
charliesome__ has joined #ruby
<atmosx> :-)
NG_ has joined #ruby
JoshGlzBrk has joined #ruby
yfeldblum has quit [Remote host closed the connection]
NG__ has quit [Client Quit]
longfeet has quit [Ping timeout: 250 seconds]
tenseiten has joined #ruby
fella5s has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
Sawbones has joined #ruby
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.1/20150402191859]]
seitensei has quit [Ping timeout: 264 seconds]
yh has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
ghr has joined #ruby
NG_ has quit [Ping timeout: 250 seconds]
<mark06> is there any way to include only the missing parts from a module?
fabrice31 has quit [Ping timeout: 252 seconds]
fella5s has joined #ruby
<mark06> forget my question please
bim has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
fella6s has quit [Ping timeout: 264 seconds]
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
iamninja has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
Wolland has joined #ruby
thumpba has joined #ruby
thumpba has quit [Remote host closed the connection]
anaeem1 has quit [Remote host closed the connection]
x1337807x has joined #ruby
Macaveli has joined #ruby
bim has quit [Ping timeout: 244 seconds]
anaeem1_ has joined #ruby
Wolland_ has joined #ruby
djbkd has quit [Remote host closed the connection]
GnuYawk has quit [Ping timeout: 248 seconds]
ujihisa has quit [Ping timeout: 256 seconds]
riotjones has joined #ruby
chintanparikh has quit [Remote host closed the connection]
arup_r has joined #ruby
chintanparikh has joined #ruby
anaeem1_ has quit [Ping timeout: 244 seconds]
<chintanparikh> Anyone know how I would turn an array of booleans into a bitstring where each bit represent one boolean?
<chintanparikh> I assume I'd need to use Array.pack
arup_r_ has joined #ruby
webguynow has quit [Remote host closed the connection]
webguynow has joined #ruby
arup_r__ has joined #ruby
Takle has joined #ruby
arup_r has quit [Ping timeout: 248 seconds]
Morkel has joined #ruby
arup_r has joined #ruby
jenrzzz has joined #ruby
ujihisa has joined #ruby
arup_r_ has quit [Read error: Connection reset by peer]
Wolland_ has quit [Quit: Leaving]
fedexo has quit [Ping timeout: 245 seconds]
qualityaddict has quit [Ping timeout: 264 seconds]
Morkel has quit [Client Quit]
Takle has quit [Ping timeout: 272 seconds]
One-Sky has joined #ruby
arup_r__ has quit [Ping timeout: 264 seconds]
guest1241234 has joined #ruby
RegulationD has joined #ruby
joonty has joined #ruby
markholmes has joined #ruby
juanpaucar has joined #ruby
A205B064 has joined #ruby
GnuYawk has joined #ruby
anaeem1 has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
Sawbones has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 240 seconds]
Wolland has quit []
bluOxigen has joined #ruby
oo_ has quit [Remote host closed the connection]
mistermocha has joined #ruby
mistermocha has quit [Client Quit]
oo_ has joined #ruby
juanpaucar has quit [Ping timeout: 276 seconds]
mistermocha has joined #ruby
mistermocha has quit [Client Quit]
krisquigley has joined #ruby
<mark06> # puts 123
<mark06> msg ruboto bot?
jerematic has joined #ruby
cajone has joined #ruby
umby24 is now known as umby24|offline
bal has joined #ruby
lemur has quit [Remote host closed the connection]
Sawbones has joined #ruby
mengu has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
krisquigley has quit [Ping timeout: 256 seconds]
jerematic has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 250 seconds]
sinkensabe has joined #ruby
nahtnam has joined #ruby
mengu has quit [Remote host closed the connection]
<pagios_> is there any .then method in ruby? like function1.then(function2) <- execute function2 when function1 succesffully returns
zorak8 has quit [Ping timeout: 245 seconds]
AlphaTech is now known as zz_AlphaTech
ujihisa has quit [Ping timeout: 256 seconds]
sinkensabe has quit [Remote host closed the connection]
juanpablo___ has joined #ruby
oo_ has joined #ruby
mark06 has left #ruby ["http://pidgin.renatosilva.me - Pidgin++"]
zly has quit [Changing host]
zly has joined #ruby
One-Sky has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
Sawbones has quit []
Jiyuhen has quit [Remote host closed the connection]
juanpablo___ has quit [Ping timeout: 256 seconds]
<pagios_> i actually have function1 that executes on server, i want to wait for function1 return value and accordingly fire functio2n how can i easily do this in ruby? in javascript i use .then
sinkensabe has joined #ruby
jenrzzz has joined #ruby
Jiyuhen has joined #ruby
<sevenseacat> call the second after the first? unless you're starting the first in a thread, there shouldnt a problem
GnuYawk has quit [Ping timeout: 264 seconds]
zz_AlphaTech is now known as AlphaTech
<pagios_> sevenseacat: yea but i mean if i run function11( trigger server; } ; function2( trigger server ) ; function2 will fire before function1 returns no?
<pagios_> is function1 blocking in this case?
riotjones has quit [Quit: Leaving...]
<sevenseacat> ruby is not javascript
<pagios_> sevenseacat: i only want to run function2 W?HEN function1 returns
<sevenseacat> yes, i know.
<pagios_> how do i do that in ruby
codecop has joined #ruby
<sevenseacat> you're overcomplicating this.
<sevenseacat> its how ruby works by default.
<pagios_> so it is synchronous only execute function2 after function1 returns
<sevenseacat> its how javascript works too, unless you get into asynchronous things.
<pagios_> yea
<pagios_> with callbacks
<sevenseacat> however, you've made no mention of having asynchronisity anywhere
<pagios_> so ruby will block all code in this thread until function1 returns
<sevenseacat> so its how things work by default.
<pagios_> ok
gagrio has joined #ruby
arup_r has quit []
sankaber has joined #ruby
eshiffob has joined #ruby
tosbourn has joined #ruby
Neomex has quit [Quit: Leaving]
bim has joined #ruby
krzkrz has quit [Ping timeout: 250 seconds]
arup_r has joined #ruby
cefkamcau has quit [Ping timeout: 264 seconds]
mrmagneto has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
riotjones has joined #ruby
tosbourn has quit [Ping timeout: 244 seconds]
GnuYawk has joined #ruby
fabrice31 has joined #ruby
Morkel has joined #ruby
ayaz has joined #ruby
CodyReichert has quit [Ping timeout: 250 seconds]
sudog has joined #ruby
bim has quit [Ping timeout: 264 seconds]
KnownSyntax has quit [Quit: Connection closed for inactivity]
poguez_ has quit [Quit: Connection closed for inactivity]
ponga has quit [Remote host closed the connection]
CodyReichert has joined #ruby
Morkel has quit [Client Quit]
sankaber has quit [Ping timeout: 250 seconds]
chinmay_dd has joined #ruby
browndawg has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
amclain has quit [Quit: Leaving]
joonty has quit [Quit: joonty]
Takle has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
turtil has quit [Quit: WeeChat 1.1.1]
haxrbyte_ has quit [Ping timeout: 264 seconds]
bMalum has joined #ruby
djbkd has joined #ruby
skj3gg has joined #ruby
iotouch has joined #ruby
iotouch has quit [Client Quit]
michael_mbp has quit [Excess Flood]
hpoydar has joined #ruby
iotouch has joined #ruby
ahmetkapikiran has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
michael_mbp has joined #ruby
AlphaTech is now known as zz_AlphaTech
eytanfb has joined #ruby
Seich has quit [Ping timeout: 256 seconds]
krzkrz has joined #ruby
iamjarvo has joined #ruby
dumdedum has joined #ruby
Seich has joined #ruby
demiurgen has joined #ruby
hpoydar has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby
terlar has joined #ruby
pen has quit []
krzkrz has quit [Client Quit]
ta has joined #ruby
neanderslob has quit [Remote host closed the connection]
yfeldblum has joined #ruby
psudoze has quit [Ping timeout: 244 seconds]
<avril14th> moin
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
avril14th has quit [Remote host closed the connection]
eytanfb has quit [Read error: Connection reset by peer]
neanderslob has joined #ruby
beat has joined #ruby
polysics has joined #ruby
djbkd has quit [Remote host closed the connection]
mengu has joined #ruby
bal1 has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
GnuYawk has quit [Ping timeout: 265 seconds]
Spami has joined #ruby
bal has quit [Ping timeout: 276 seconds]
despai has joined #ruby
colorisco has joined #ruby
<demiurgen> how exactly is the thread scheduling working in ruby? it seems to me that if I start a thread in some script, and the run a long, blocking operation in the main script, then the thread will not execute for the duration of that blocking operation. is this correct?
yfeldblum has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
yfeldblum has joined #ruby
Takle has quit [Remote host closed the connection]
<jhass> demiurgen: depends on how you block, but in MRI your code will not run in parallel, yes, it only runs two threads in a parallel on things like IO
pontiki has joined #ruby
<demiurgen> jhass: I see. thanks!
<demiurgen> what's my best option to start some ruby code block as a separate process?
<jhass> fork
<jhass> also check jruby & rubinious for implementations without that restriction
<demiurgen> note that my code runs through cucumber, which probably does a lot of crazy stuff, so we'll see how well fork() works
<pagios_> thats a response i am receiving from amazon
DerisiveLogic has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
codecop has quit [Remote host closed the connection]
GnuYawk has joined #ruby
livathinos has joined #ruby
beat has joined #ruby
beat has quit [Client Quit]
despai has quit [Quit: This computer has gone to sleep]
despai has joined #ruby
<pontiki> hi
tosbourn has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<jhass> pagios_: "read about that in Ruby"? What do you mean?
bim has joined #ruby
<pontiki> pagios_: vaguely, it looks like with an enumerator
atmosx has quit [Quit: WeeChat 0.4.4-dev]
charliesome__ has quit [Quit: zzz]
atmosx has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
kaffepanna has joined #ruby
tosbourn has quit [Ping timeout: 246 seconds]
<pagios_> for instance i am trying this and getting an exception: Aws::SNS::Errors::InvalidParameter - Invalid parameter: Endpoin http://pastie.org/10084114
claw___ has joined #ruby
Pupeno has joined #ruby
<pontiki> where is the exception happening?
jenrzzz has quit [Ping timeout: 244 seconds]
claw__ has quit [Ping timeout: 264 seconds]
ahmetkapikiran has joined #ruby
bim has quit [Ping timeout: 244 seconds]
Porfa has quit [Quit: porfa]
allenn has joined #ruby
<pagios_> pontiki: actually the exception is happening afterwards so nothing to do with that, but i get this from the console.log "RESPONSEEEEE #<Aws::PageableResponse:0x00000002c46ee8>" how can i traverse and print the content of that
RegulationD has joined #ruby
<pontiki> no idea
claw___ has quit [Client Quit]
claw has joined #ruby
ahmetkapikiran has quit [Client Quit]
juanpaucar has joined #ruby
lordkryss has joined #ruby
CatMartyn has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has quit [Ping timeout: 240 seconds]
dcarper has quit [Remote host closed the connection]
skj3gg has quit [Quit: ZZZzzz…]
<jhass> pagios_: did you read the docs you linked?
<pagios_> jhass: yes..
<pagios_> not very clear though
<pagios_> it returns an enumberable
claw has quit [Ping timeout: 245 seconds]
juanpaucar has quit [Ping timeout: 250 seconds]
<jhass> try .each do |response| p response end
<pontiki> well, yes, but read further. #next_page is a Seahorse::Client::Response
roolo has joined #ruby
claw has joined #ruby
chinmay_dd has quit [Quit: Leaving]
krisquigley has joined #ruby
Takle has joined #ruby
tesuji has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sigurding has joined #ruby
<pontiki> learning the details about an AWS service is quite tricky, and it takes a bit of study
jerematic has joined #ruby
jenrzzz has joined #ruby
msgodf has joined #ruby
DavidDudson has joined #ruby
bMalum has quit [Quit: bMalum]
bluOxigen has quit [Remote host closed the connection]
bMalum has joined #ruby
oo_ has quit [Remote host closed the connection]
bluOxigen has joined #ruby
rdark has joined #ruby
krisquig_ has joined #ruby
oo_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
bMalum has quit [Client Quit]
jerematic has quit [Ping timeout: 250 seconds]
ahmetkapikiran has joined #ruby
guest1241234 has quit [Quit: Connection closed for inactivity]
epistrephein has joined #ruby
GnuYawk has quit [Ping timeout: 245 seconds]
yh has joined #ruby
claw_ has joined #ruby
claw has quit [Ping timeout: 250 seconds]
claw__ has joined #ruby
sohrab_ has quit [Ping timeout: 256 seconds]
casadei has joined #ruby
marr has joined #ruby
joonty has joined #ruby
DEA7TH has joined #ruby
claw___ has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
Hounddog has joined #ruby
claw_ has quit [Ping timeout: 264 seconds]
juanpablo___ has joined #ruby
<pagios_> ponga: jhass page returns this http://pastie.org/10084142
<pagios_> like 100 more lines of these
ahmetkapikiran_ has joined #ruby
casadei has quit [Ping timeout: 255 seconds]
ahmetkapikiran has quit [Ping timeout: 240 seconds]
ahmetkapikiran_ is now known as ahmetkapikiran
JoshGlzBrk has joined #ruby
claw__ has quit [Ping timeout: 264 seconds]
iotouch has quit [Quit: This computer has gone to sleep]
blackmesa has joined #ruby
turtil has joined #ruby
<jhass> pagios_: let's look at the docs
<jhass> list all methods you see documented
sigurding has quit [Quit: sigurding]
Pharaoh2 has joined #ruby
<pagios_> whats that format, it is not json
turtil has quit [Client Quit]
joonty has quit [Ping timeout: 255 seconds]
iotouch has joined #ruby
juanpablo___ has quit [Ping timeout: 276 seconds]
<apeiros> pagios_: you're looking at the inspect of a plain old ruby object?
<apeiros> errr, -?
despai has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
<apeiros> and `<Aws::PageableResponse` tells you that you're looking at an instance of Aws::PageableResponse
sigurding has joined #ruby
despai has joined #ruby
<pagios_> ok but how can i traverse in all this.. its overwelming
livathinos has quit []
towski_ has joined #ruby
livathinos has joined #ruby
<jhass> pagios_: let's look at the docs, list all methods you see documented
<apeiros> pagios_: now that you know what object you're looking at, you do precisely what jhass told you to
<apeiros> pagios_: you go read the docs.
jheg has joined #ruby
browndawg has quit [Quit: Leaving.]
DexterLB has quit [Quit: So long and thanks for all the fish]
jlebrech has joined #ruby
DexterLB has joined #ruby
<pagios_> apeiros: i really dont know where to start reading this http://docs.aws.amazon.com/sdkforruby/api/Aws/PageableResponse.html#each-instance_method but ok then what how do you traverse such object? new to this..
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jhass> pagios_: please list all methods you see documented
<jhass> I really mean that
GnuYawk has joined #ruby
markholmes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joonty has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
sinkensabe has quit [Remote host closed the connection]
SouL_|_ has joined #ruby
tosbourn has joined #ruby
tkuchiki has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
ghr has joined #ruby
User458764 has joined #ruby
bradleyp_ has joined #ruby
<pagios_> got it endpoint_arn
<pagios_> page.endpoint_arn returns that
ghr has quit [Client Quit]
bradleyprice has quit [Ping timeout: 265 seconds]
joonty has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
avril14th has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
ghr has joined #ruby
<tosbourn> @eam I gave you a shoutout in this blog post: http://tosbourn.com/chief-digital-officer-summit/
<tosbourn> Hmm, IRC n00b here – what is the best way to tag someone in a message?
Zen-Zen has quit []
<tosbourn> Gah - Copy paste fail @eam http://tosbourn.com/ruby-partition-enumerable/
<tacotaco_> tosbourn: umm..
towski_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
<tosbourn> Too early in the morning here tacotaco_ ...
JohnBat26 has joined #ruby
djbkd has quit [Ping timeout: 250 seconds]
<jhass> tacotaco_: just leave off the @
<jhass> bah, fail
<jhass> tosbourn: ^
<tosbourn> haha, cheers
sinkensabe has joined #ruby
<tosbourn> and can you do it mid-sentence or does it have to start with the username?
sevenseacat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> depends on the client of the receiver, but usually anywhere is fine
Zai00 has joined #ruby
Hobogrammer has quit [Ping timeout: 276 seconds]
<undeadaedra> npm, this shit.
<undeadaedra> (sorry)
endash has quit [Read error: Connection reset by peer]
A205B064 has quit [Ping timeout: 250 seconds]
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
ta has quit [Remote host closed the connection]
sevenseacat has joined #ruby
ta has joined #ruby
endash has joined #ruby
<flughafen> morning
c0m0 has joined #ruby
quimrstorres has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
quimrstorres has quit [Remote host closed the connection]
hpoydar has joined #ruby
yh has quit [Ping timeout: 245 seconds]
yh has joined #ruby
kuda has joined #ruby
hmnhf has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
DexterLB has quit [Quit: So long and thanks for all the fish]
DexterLB has joined #ruby
hpoydar has quit [Ping timeout: 265 seconds]
quimrstorres has joined #ruby
DavidDudson has joined #ruby
pain_ has joined #ruby
workmad3 has joined #ruby
<pain_> how to update data in migration?
CustosLimen has quit [Ping timeout: 256 seconds]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<undeadaedra> it's advised not to
Feyn has quit [Quit: Leaving]
<jlebrech> can you query sidekiq for jobs by param?
User458764 has joined #ruby
<pain_> then what's the better way?
turtil has joined #ruby
turtil has quit [Client Quit]
ahmetkapikiran has quit [Ping timeout: 250 seconds]
jvdp11 has quit [Quit: Textual IRC Client: www.textualapp.com]
turtil has joined #ruby
<jhass> ?rails pain_
<ruboto> pain_, Please join #RubyOnRails for Rails questions. You need to be authenticated with NickServ, see /msg NickServ help
universaL is now known as universa1
<jhass> jlebrech: it's semi-public API, but you can use what sidekiq web uses
<jhass> oh
<jhass> ?crosspost jlebrech
<ruboto> jlebrech, Please do not crosspost without at least telling so. Experience shows that people don't bother to inform the other channels of provided solutions, therefore it is considered rude.
ahmetkapikiran has joined #ruby
DEA7TH has quit [Ping timeout: 276 seconds]
dmst has joined #ruby
lloyd is now known as Lloyd
universa1 is now known as universaL
universaL is now known as universa1
vtunka has joined #ruby
pain_ has left #ruby [#ruby]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
psudoze has joined #ruby
<jlebrech> ok i'll read that up
leafybasil has quit [Remote host closed the connection]
tosbourn has quit [Remote host closed the connection]
vtunka_ has joined #ruby
apoplexy has quit [Ping timeout: 240 seconds]
vtunka_ has quit [Remote host closed the connection]
sinkensabe has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
canton7 has quit [Quit: ZNC - http://znc.in]
canton7 has joined #ruby
canton7 has joined #ruby
canton7 has quit [Changing host]
sinkensa_ has joined #ruby
krz has joined #ruby
xenokiller has quit [Ping timeout: 252 seconds]
marr has quit []
ahmetkapikiran has quit [Quit: ahmetkapikiran]
despai has quit [Ping timeout: 272 seconds]
User458764 has joined #ruby
hanmac has joined #ruby
despai has joined #ruby
marr has joined #ruby
psudoze has quit [Ping timeout: 272 seconds]
theotherstupidgu has joined #ruby
epistrephein has quit []
mostlybadfly has quit [Quit: Connection closed for inactivity]
pagios_ is now known as pagios
iotouch has quit [Quit: This computer has gone to sleep]
ta has quit [Remote host closed the connection]
<aawe> undeadaedra: why is it advised not to?
gfawcettpq has quit [Ping timeout: 250 seconds]
Mia has joined #ruby
Mia has joined #ruby
<undeadaedra> because changing data in migration is basing yourself on an existing data structure
tosbourn has joined #ruby
despai has quit [Ping timeout: 252 seconds]
<undeadaedra> or, you're never sure if another migration that was inserted after would modify this structure you're basing yourself upon
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
einarj has joined #ruby
despai has joined #ruby
theotherstupidgu has quit [Quit: leaving]
theotherstupidgu has joined #ruby
CustosLimen has joined #ruby
tvw has quit [Remote host closed the connection]
Igorshp has joined #ruby
universa1 is now known as universal
universal is now known as universa1
C1V0 has quit [Ping timeout: 250 seconds]
despai has quit [Ping timeout: 272 seconds]
despai has joined #ruby
kuda has quit [Quit: ZZZzzz…]
leafybasil has joined #ruby
rocknrollmarc has joined #ruby
rocknrollmarc has quit [Max SendQ exceeded]
rocknrollmarc has joined #ruby
wald0 has joined #ruby
ta has joined #ruby
krz has quit [Ping timeout: 276 seconds]
bluOxigen has quit [Ping timeout: 244 seconds]
krz has joined #ruby
<aawe> undeadaedra: does it matter? migrations are run in order
<aawe> and often you only have one migration is a commit, and make sure tests pass in every commit
wildroman2 has joined #ruby
despai has quit [Ping timeout: 265 seconds]
RegulationD has joined #ruby
bMalum has joined #ruby
DontgiveaF has joined #ruby
despai has joined #ruby
<DontgiveaF> is there a connection that can be made between ruby and node.js?
havenwood has joined #ruby
Takle has quit [Remote host closed the connection]
<aawe> DontgiveaF: pipes, unix sockets, http sockets
juanpaucar has joined #ruby
<DontgiveaF> alright cool
vtunka has quit [Ping timeout: 245 seconds]
<undeadaedra> aawe: they are run in date order, so inserting one in a workflow is possible
RegulationD has quit [Ping timeout: 276 seconds]
ta has quit [Remote host closed the connection]
DontgiveaF has left #ruby [#ruby]
<undeadaedra> aawe: but after some re-reading, it's using Model which is frowned upon
<undeadaedra> and should be done with caution
oo_ has quit [Remote host closed the connection]
<jhass> well, there's the idea of migration models, defining a model sufficient for the migration inside it
astrobun_ has quit [Remote host closed the connection]
juanpaucar has quit [Ping timeout: 244 seconds]
bim has joined #ruby
djbkd has joined #ruby
sinkensa_ has quit [Remote host closed the connection]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
kuda has joined #ruby
jerematic has joined #ruby
HayesHimself has joined #ruby
atmosx has quit [Read error: Connection reset by peer]
codecop has joined #ruby
codecop_ has joined #ruby
Takle has joined #ruby
ta has joined #ruby
atmosx has joined #ruby
bim has quit [Ping timeout: 256 seconds]
djbkd has quit [Ping timeout: 245 seconds]
theotherstupidgu has quit [Quit: leaving]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
<aawe> so it's not advised not to, it's just advised that you call reset_column_information?
jheg has quit [Ping timeout: 250 seconds]
Peetooshock has joined #ruby
jerematic has quit [Ping timeout: 244 seconds]
eshiffob has quit [Remote host closed the connection]
HayesHimself has quit [Remote host closed the connection]
withnale_ has joined #ruby
<undeadaedra> aawe: there's another problem here, the problem of validations
jheg has joined #ruby
<undeadaedra> aawe: you add a validation after the migration which make migration changes invalid, so the migration can't be executed
ta has quit [Remote host closed the connection]
DontgiveaF has joined #ruby
<DontgiveaF> lol
RTG` is now known as RTG
max96at|off is now known as max96at
RTG is now known as RTG`
reinaldob has joined #ruby
kuda has quit [Quit: byebye]
neanderslob has quit [Remote host closed the connection]
bkxd has joined #ruby
rocknrollmarc has quit [Ping timeout: 256 seconds]
Takle has quit [Remote host closed the connection]
cefkamcau has joined #ruby
DontgiveaF has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Takle has joined #ruby
SouL_|_ has quit [Remote host closed the connection]
quimrstorres has quit [Read error: Connection reset by peer]
reinaldo_ has joined #ruby
<hanmac> undeadaedra: any reason why you dont ask #rubyonrails about that problems?
musashi1 has joined #ruby
<undeadaedra> what problems?
reinaldob has quit [Remote host closed the connection]
juanpablo___ has joined #ruby
joonty has joined #ruby
DexterLB has quit [Quit: So long and thanks for all the fish]
iotouch has joined #ruby
lkba has joined #ruby
quimrstorres has joined #ruby
yh has quit [Read error: Connection reset by peer]
yh has joined #ruby
codecop_ has quit [Quit: Išeinu]
crazydiamond has quit [Remote host closed the connection]
juanpablo___ has quit [Ping timeout: 250 seconds]
bkxd has quit [Quit: leaving]
bkxd has joined #ruby
ta has joined #ruby
Porfa has joined #ruby
yh has quit [Ping timeout: 256 seconds]
iasoon has joined #ruby
atmosx has quit [Read error: Connection reset by peer]
quimrsto_ has joined #ruby
jgoyon has joined #ruby
quimrstorres has quit [Remote host closed the connection]
atmosx has joined #ruby
fabrice31 has quit [Remote host closed the connection]
serivich has joined #ruby
fabrice31 has joined #ruby
User458764 has joined #ruby
iamjarvo has joined #ruby
davidhq has joined #ruby
HayesHimself has joined #ruby
wildroman2 has quit [Remote host closed the connection]
fabrice31_ has joined #ruby
shadeslayer has quit [Ping timeout: 256 seconds]
hmnhf_ has joined #ruby
hmnhf has quit [Ping timeout: 245 seconds]
fabrice31_ has quit [Remote host closed the connection]
claw has joined #ruby
nettoweb has joined #ruby
atmosx has quit [Read error: Connection reset by peer]
atmosx_ has joined #ruby
chthon has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
connor_goodwolf has quit [Quit: Lost terminal]
A124 is now known as A124_
yh has joined #ruby
A124_ is now known as A124
claw___ has quit [Ping timeout: 250 seconds]
sevvie has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yh has quit [Ping timeout: 250 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yh has joined #ruby
chthon has quit [Read error: Connection timed out]
chthon has joined #ruby
universa1 is now known as universal
universal is now known as universa1
<Igorshp> Hi, rspec hangs for about 30 seconds right at the begining of each run. Any tips on how can I find out why and what it's doing?
<sevenseacat> its loading whatever you told it to load
<Igorshp> *facepalm* i copied the rspec stucture from another test i worked on.....
<Igorshp> yup, it loads in a massive project :(
<Igorshp> thanks!
atmosx_ has quit [Quit: Let him that would move the world first move himself. - Socrates]
<undeadaedra> load all the things
yh has quit [Read error: Connection reset by peer]
yh has joined #ruby
shadeslayer has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
aawe has quit [Remote host closed the connection]
aawe has joined #ruby
mikenovikov has quit [Quit: Textual IRC Client: www.textualapp.com]
opyhoc has joined #ruby
claw_ has joined #ruby
Advocation has joined #ruby
AlexRussia has quit [Ping timeout: 256 seconds]
_1_londonguy has joined #ruby
claw has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
_1_BUNNY77 has joined #ruby
<_1_BUNNY77> he
<jhass> ?whatschat _1_BUNNY77
<ruboto> _1_BUNNY77, WhatsChat is a crappy app that abuses IRC for something it is not: a dating chat. Please remove this app.
ahmetkapikiran has joined #ruby
_1_londonguy has quit [Read error: Connection reset by peer]
rubytor has joined #ruby
gfawcettpq has joined #ruby
_1_BUNNY77 has quit [Remote host closed the connection]
hpoydar has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
mikecmpbll has joined #ruby
doodlehaus has joined #ruby
iotouch has joined #ruby
nfk has joined #ruby
hpoydar has quit [Ping timeout: 250 seconds]
jimms has joined #ruby
rubytor has quit [Ping timeout: 240 seconds]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
KC9YDN has quit [Ping timeout: 245 seconds]
casshern2 has joined #ruby
phutchins has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
KC9YDN has joined #ruby
KC9YDN has quit [Changing host]
KC9YDN has joined #ruby
asmodlol has joined #ruby
<wasamasa> jeez
KC9YDN has quit [K-Lined]
<wasamasa> what's with these whatschat users
<wasamasa> are they too horny to get their channel names right?
iamjarvo has joined #ruby
rsavage has joined #ruby
mostlybadfly has joined #ruby
* casshern2 slaps wasamasa with a rainbow trout
<wasamasa> hey
rsavage is now known as r3dk1ng
bobbrez has joined #ruby
sinkensabe has joined #ruby
wald0 has quit [Ping timeout: 246 seconds]
DexterLB has joined #ruby
DexterLB has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Me dun like you no more.]
wald0 has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
sevenseacat has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
ahmetkapikiran has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 252 seconds]
KC9YDN has joined #ruby
KC9YDN has quit [Changing host]
KC9YDN has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
maximski has joined #ruby
joonty has quit [Read error: Connection reset by peer]
LJT has joined #ruby
Phage is now known as Phage^
gagrio is now known as gagrio-LL
joonty has joined #ruby
dc has joined #ruby
atmosx has joined #ruby
despai has joined #ruby
GnuYawk has quit [Ping timeout: 250 seconds]
despai has quit [Client Quit]
dc has quit [Ping timeout: 252 seconds]
arup_r has joined #ruby
davidhq has joined #ruby
ta has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
GnuYawk has joined #ruby
jimms has quit [Ping timeout: 252 seconds]
bkxd has quit [Ping timeout: 256 seconds]
iamjarvo has joined #ruby
rodfersou has joined #ruby
jimms has joined #ruby
atmosx has quit [Read error: Connection reset by peer]
atmosx has joined #ruby
michael_mbp has joined #ruby
arup_r_ has joined #ruby
oo_ has quit [Remote host closed the connection]
sankaber has joined #ruby
jimms_ has joined #ruby
xenokiller has joined #ruby
musashi1 has quit [Ping timeout: 255 seconds]
decoponio has joined #ruby
jimms has quit [Read error: Connection reset by peer]
reinaldo_ has quit [Remote host closed the connection]
arup_r has quit [Ping timeout: 272 seconds]
joonty has quit [Read error: Connection reset by peer]
reinaldob has joined #ruby
joonty has joined #ruby
sankaber has quit [Max SendQ exceeded]
ahmetkapikiran has joined #ruby
oo_ has joined #ruby
sankaber has joined #ruby
evanjs has joined #ruby
reinaldob has quit [Remote host closed the connection]
ta has joined #ruby
xenokiller has quit [Read error: Connection reset by peer]
sigurding has quit [Quit: sigurding]
sankaber has quit [Max SendQ exceeded]
claw__ has joined #ruby
atmosx_ has joined #ruby
claw_ has quit [Ping timeout: 250 seconds]
sankaber has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jimms_ has quit [Ping timeout: 272 seconds]
RegulationD has joined #ruby
GnuYawk has quit [Ping timeout: 252 seconds]
despai has joined #ruby
despai has quit [Remote host closed the connection]
sankaber has quit [Client Quit]
ahmetkapikiran has quit [Ping timeout: 250 seconds]
evanjs_ has joined #ruby
juanpaucar has joined #ruby
yh has quit [Ping timeout: 250 seconds]
evanjs has quit [Ping timeout: 244 seconds]
jimms has joined #ruby
atmosx has quit [Ping timeout: 264 seconds]
atmosx_ has quit [Ping timeout: 245 seconds]
ponga has quit [Remote host closed the connection]
aswen has joined #ruby
ahmetkapikiran has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
jlebrech has quit [Remote host closed the connection]
evanjs_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
lolmaus has joined #ruby
sevenseacat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joonty has quit [Read error: Connection reset by peer]
jerematic has joined #ruby
iamjarvo has joined #ruby
pico-pete has quit [Ping timeout: 252 seconds]
juanpaucar has quit [Ping timeout: 265 seconds]
einarj has quit [Remote host closed the connection]
jimms_ has joined #ruby
pico-pete has joined #ruby
dEPy has joined #ruby
jimms has quit [Read error: Connection reset by peer]
jimms_ has quit [Client Quit]
tkuchiki has quit [Ping timeout: 256 seconds]
ntln has quit [Ping timeout: 256 seconds]
OrbitalKitten has joined #ruby
vt102 has quit [Remote host closed the connection]
sdothum has joined #ruby
jerematic has quit [Ping timeout: 272 seconds]
doodlehaus has quit [Remote host closed the connection]
arturmartins has joined #ruby
hpoydar has joined #ruby
dling has joined #ruby
pika_pika has joined #ruby
vt102 has joined #ruby
hanmac1 has quit [Ping timeout: 250 seconds]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
sevenseacat has joined #ruby
demiurgen has quit [Quit: Leaving.]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FernandoBasso has joined #ruby
ahmetkapikiran has joined #ruby
demiurgen has joined #ruby
hpoydar has quit [Ping timeout: 252 seconds]
bim has joined #ruby
blackmesa has quit [Ping timeout: 256 seconds]
ldnunes has joined #ruby
bkxd has joined #ruby
juanpablo___ has joined #ruby
sigurding has joined #ruby
freestyl3r has joined #ruby
bim has quit [Ping timeout: 246 seconds]
demiurgen has quit [Ping timeout: 256 seconds]
<freestyl3r> hello, i was wondering if there is a way to assign a value to an object attribute through C in a native extension
<freestyl3r> i can use rb_eval_string("n.word = 'test'"); but maybe there is something cleaner?
<freestyl3r> i can read the value, i just don't know how to write to it. VALUE test = rb_funcall(n, rb_intern("word"), 0);
devans has joined #ruby
juanpablo___ has quit [Ping timeout: 248 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
bal1 has quit [Quit: bal1]
dumdedum has quit [Quit: foo]
bobbrez has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimms has joined #ruby
<jhass> a.b = x is a method call
lethosor|away has joined #ruby
<jhass> it calls the method b= on the object a with the parameter x
<jhass> how to translate that to C, I don't know :P
<freestyl3r> that's why i tried to do something like this:
ta has quit [Remote host closed the connection]
<freestyl3r> rb_funcall(n, rb_intern("word"), 1, "value");
Spami has joined #ruby
<jhass> "word="
Igorshp has quit [Remote host closed the connection]
<jhass> the method name is word=
CustosLimen has quit [Ping timeout: 272 seconds]
<freestyl3r> hm, going to try it now. i even wrote the functions myself instead of using attr_accessor to be sure. hold on
gauke has joined #ruby
blackmesa has joined #ruby
ujjain has joined #ruby
joonty has joined #ruby
arup_r_ has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jimms has quit [Read error: Connection reset by peer]
jimms has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
argoneus is now known as argoneus-
ponga has joined #ruby
argoneus- is now known as argoneus
LudicrousMango has joined #ruby
workmad3 has joined #ruby
yeticry has quit [Ping timeout: 248 seconds]
Spami has quit [Ping timeout: 252 seconds]
bim has joined #ruby
<flughafen> i love the libvirt api soooooooooo much
Spami has joined #ruby
yeticry has joined #ruby
Spami has quit [Max SendQ exceeded]
Abhijit has joined #ruby
max96at is now known as max96at|off
Spami has joined #ruby
sevenseacat has quit [Quit: Me dun like you no more.]
freerobby has joined #ruby
jimms has quit [Read error: Connection reset by peer]
<freestyl3r> jhass: thank you, nice catch!
jimms has joined #ruby
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
Spami has quit [Max SendQ exceeded]
Spami has joined #ruby
slackbotgz has joined #ruby
Porfirium has joined #ruby
RegulationD has joined #ruby
A124 is now known as A124_
joonty has quit [Read error: Connection reset by peer]
jerematic has joined #ruby
Spami has quit [Max SendQ exceeded]
Igorshp has joined #ruby
Porfa has quit [Ping timeout: 245 seconds]
<jhass> yw
jottr_ has quit [Read error: Connection reset by peer]
joonty has joined #ruby
amdbcg has joined #ruby
CustosLimen has joined #ruby
freerobby has quit [Quit: Leaving.]
Abhijit has quit [Quit: Bye.]
Lloyd is now known as lloyd
tpimtts_away has quit [Ping timeout: 252 seconds]
n80 has joined #ruby
linoj has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
stef204 has joined #ruby
tpimtts_away has joined #ruby
serivich has quit [Ping timeout: 255 seconds]
reinaldob has joined #ruby
serivich has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kp666 has quit [Read error: Connection reset by peer]
jottr has joined #ruby
ahmetkapikiran has quit [Ping timeout: 256 seconds]
despai has joined #ruby
despai has quit [Client Quit]
A124_ is now known as A124
reinaldob has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
jefus has joined #ruby
revoohc has joined #ruby
arup_r has joined #ruby
SouL_|_ has joined #ruby
OrbitalKitten has joined #ruby
fabrice31 has quit [Remote host closed the connection]
chintanparikh has quit [Ping timeout: 250 seconds]
<Pharaoh2> Anyone else facing issues installing gems with native extensions after upgrading to OSX 10.10.3 and Xcode 6.3
<Pharaoh2> ?
fabrice31 has joined #ruby
Porfirium_ has joined #ruby
Igorshp has quit [Remote host closed the connection]
<Pharaoh2> I am getting the following error, extconf.rb:156:in `main': C++11 is not supported by the compiler. (RuntimeError)
bim has quit [Remote host closed the connection]
michael_mbp has joined #ruby
dstarh has joined #ruby
amystephen has joined #ruby
Porfirium has quit [Ping timeout: 245 seconds]
Porfirium_ is now known as Porfirium
revoohc has quit [Client Quit]
michael_mbp has quit [Excess Flood]
blackmesa has quit [Ping timeout: 246 seconds]
iotouch has quit [Quit: 离开]
joonty has quit [Ping timeout: 246 seconds]
Sid05 has joined #ruby
Igorshp has joined #ruby
revoohc has joined #ruby
One-Sky has joined #ruby
kobain has joined #ruby
michael_mbp has joined #ruby
B1n4r10 has joined #ruby
quimrsto_ has quit [Remote host closed the connection]
RegulationD has quit [Remote host closed the connection]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
<ebbflowgo> looking to debug my load-service as in here: https://github.com/jruby/activerecord-jdbc-adapter/issues/638 .. where might I find that routine?
RegulationD has joined #ruby
brb3 has joined #ruby
vudew has quit [Quit: Lost terminal]
<gilmour> Pharaoh2: `gcc -v` ?
<Pharaoh2> Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
<gilmour> Hmm. I haven't noticed any issues yet :/ Just updated yesterday myself.
<Pharaoh2> are you using rvm?
<gilmour> Using RVM?
<gilmour> haha
jimms has quit [Read error: Connection reset by peer]
<Pharaoh2> can you try to reinstall your gems?
jimms_ has joined #ruby
<gilmour> Which version of ruby are you getting this error on?
zorak8 has joined #ruby
<Pharaoh2> 2.1.5 and 2.2.1
<Pharaoh2> seems that apple llvm changed how to responds to invalid compiler flags
<gilmour> I just realized I probably shouldn't have blown away my gemset for the project I'm working on this morning -_-
One-Sky has quit [Ping timeout: 250 seconds]
<Pharaoh2> oh yes you shouldn't have
<gilmour> ;)
<Pharaoh2> welcome to the boat
<gilmour> ^
jottr has quit [Ping timeout: 252 seconds]
<gilmour> Pharaoh2: Whew, nah it worked fine for me freshly installing gems for a fairly fat rails project, 2.1.5
Takle has quit [Remote host closed the connection]
<Pharaoh2> is there a way for gem install to use the existing code from the gemset instead of downloading again so that I can make changes to the extconf.rb?
<gilmour> I haven't reinstalled rvm/rubies either; usually it seems you need to after updating commandline tools, I think.
fabrice31_ has joined #ruby
<gilmour> Not that I know of, sorry.
<gilmour> Have you tried imploding and reinstalling rvm? Seems to do the trick with extension failures on updates, often.
<Pharaoh2> yes that is the first thing I did
beat has joined #ruby
<gilmour> Bummer.
<Pharaoh2> now I am going to implode restart and then install
a5i has quit [Quit: Connection closed for inactivity]
sevvie has quit [Ping timeout: 250 seconds]
OrbitalKitten has joined #ruby
devans has quit [Remote host closed the connection]
tosbourn has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 264 seconds]
sevvie has joined #ruby
sankaber has joined #ruby
nfk has quit [Quit: yawn]
tus has joined #ruby
Pharaoh2 has quit [Quit: Byebye]
sinkensabe has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 245 seconds]
ntln has joined #ruby
ta has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
jimms_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
jimms has joined #ruby
Porfirium has quit [Quit: Porfirium]
tier has joined #ruby
Pharaoh2 has joined #ruby
amdbcg has quit [Ping timeout: 250 seconds]
tosbourn has joined #ruby
<Pharaoh2> well, imploded, restarted and trying to install again
ta_ has quit [Ping timeout: 252 seconds]
JDiPierro has joined #ruby
dblessing has joined #ruby
User458764 has joined #ruby
CustosLimen has quit [Ping timeout: 276 seconds]
weemsledeux has joined #ruby
sanguisdex has left #ruby [#ruby]
Takle has joined #ruby
lloyd is now known as Lloyd
rodfersou has quit [Quit: leaving]
rodfersou has joined #ruby
<Pharaoh2> shit didn't work
n008f4g_ has joined #ruby
vtunka has joined #ruby
nateberkopec has joined #ruby
weemsledeux has quit [Quit: Textual IRC Client: www.textualapp.com]
hpoydar has joined #ruby
One-Sky has joined #ruby
quimrstorres has joined #ruby
Takle has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 245 seconds]
bim has joined #ruby
jvdp11 has joined #ruby
sgambino has joined #ruby
sgambino has quit [Remote host closed the connection]
sgambino has joined #ruby
LJT has quit [Quit: Sleeping...]
rbennacer has joined #ruby
Takle has joined #ruby
slackbotgz has quit [Remote host closed the connection]
BeeninJailTwice has joined #ruby
hpoydar has quit [Ping timeout: 264 seconds]
<BeeninJailTwice> anybody here?
spyderman4g63 has joined #ruby
maloik has quit [Ping timeout: 248 seconds]
<matugm> BeeninJailTwice, hi
juanpaucar has joined #ruby
<BeeninJailTwice> hey is it okay if i say "hey guys"
<BeeninJailTwice> ?
maloik has joined #ruby
One-Sky has quit [Ping timeout: 250 seconds]
<matugm> You already said it :P
<BeeninJailTwice> no i mean
spyderma_ has joined #ruby
<BeeninJailTwice> i went to node.js i said "hey guys" and they bitched at me
<BeeninJailTwice> for not being gender neutral
<BeeninJailTwice> so i was thinking if this was a freenode thing
<matugm> lol
<matugm> not a freenode thing, node devs are weird ;)
<BeeninJailTwice> weird how?
<gilmour> They use Javascript? (zing)
jerius has joined #ruby
oo_ has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
polysics has quit []
LJT has joined #ruby
tus has quit []
doodlehaus has joined #ruby
<Pharaoh2> gilmour: you have any other ideas?
spyderman4g63 has quit [Ping timeout: 244 seconds]
<matugm> Beening, don't worry about it, is there something we can help you with?
<jhass> BeeninJailTwice: while we don't enforce it as a channel policy and I go over it most of the time, I prefer to not use that expression when addressing a group of unknown gender
juanpaucar has quit [Ping timeout: 265 seconds]
linoj has quit [Quit: linoj]
<jhass> especially since there are so many equivalent expressions
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jhass> like "hey people"
<jhass> or simply "hi"
<undeadaedra> hey friends
<BeeninJailTwice> oh so jhass also from the same stupid ass crowd
<BeeninJailTwice> bitch get a life lol
<jhass> aaand bye
<BeeninJailTwice> instad of nitpicking
<BeeninJailTwice> dipshit
<jhass> !ban BeeninJailTwice !P no insults
BeeninJailTwice was kicked from #ruby by ChanServ [Banned: no insults]
serivichi has joined #ruby
<Pharaoh2> jhass: is "guys" in the phrase "hey guys" so strongly associated with gender in your culture? Because in mine its not at all
bim has quit [Remote host closed the connection]
<gilmour> Pharaoh2: I really don't, I'm not super familiar with the C compiler -> Ruby honestly. is `CC` set properly?
<gilmour> :/
<ytti> no it's not, but this guy was clearly just looking for excuse to argue
<Pharaoh2> I did try setting CXX=g++ but didn't really help
<ytti> it's not offensive or exclusive
<ytti> and females use it to refer exclusively female group
shazaum has joined #ruby
<undeadaedra> or you don't say anything and it works
<gilmour> Pharaoh2: Do you use homebrew?
<Pharaoh2> yes
<Pharaoh2> want me to run brew doctor?
<jhass> Pharaoh2: it's 50/50 and so easy to avoid http://en.wiktionary.org/wiki/guys
<gilmour> You got apple-gcc42 installed? (and if so, try reinstalling it?)
bMalum has joined #ruby
kaleido has quit [Quit: Textual IRC Client: www.textualapp.com]
<Pharaoh2> No its not installed
<undeadaedra> or we stop complaining about that and argue about real issues
serivich has quit [Ping timeout: 255 seconds]
iamjarvo_ has joined #ruby
<Pharaoh2> undeadaedra: yes, like what change did apple make in xcode 6.3 that broke native gem builds
iamjarvo_ has quit [Max SendQ exceeded]
tvw has quit []
<undeadaedra> they broke something?
<undeadaedra> I don't think I have this update
iamjarvo_ has joined #ruby
CustosLimen has joined #ruby
<Pharaoh2> Well, I have identified that the problem starts here
One-Sky has joined #ruby
yh has joined #ruby
amdbcg has joined #ruby
<gilmour> Pharaoh2: Installing that brew might solve your issue, although it 'shouldn't' be needed for sure.
vtunka_ has joined #ruby
Pharaoh2 has quit [Disconnected by services]
Pharaoh2_ has joined #ruby
<gilmour> The ops guys at my office had us install it in the past (when mavericks came out), and very likely because of the sort of issue you're having haha.
Pharaoh2_ is now known as Pharaoh2
jimms has quit [Remote host closed the connection]
<Pharaoh2> Updated to include the error message while compiling, https://gist.github.com/akshetpandey/fc01b38451d77e75da5c#file-extconf-rb-L43
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Igorshp has quit [Remote host closed the connection]
<undeadaedra> o_O
sevvie has quit [Ping timeout: 264 seconds]
<Pharaoh2> gilmour: I will try install that see what happens
One-Sky has quit [Ping timeout: 276 seconds]
tjbiddle has joined #ruby
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sevvie has joined #ruby
Rapier- has joined #ruby
nug has joined #ruby
lanemeyer has quit [Ping timeout: 250 seconds]
kubunto has joined #ruby
weemsledeux has joined #ruby
<kubunto> how can i connect ruby to a sqlite db?
RegulationD has quit [Remote host closed the connection]
mitchellhenke has joined #ruby
failshell has joined #ruby
RegulationD has joined #ruby
tesuji has quit [Ping timeout: 244 seconds]
<Coraline> kubunto: there's a sqlite gem
<kubunto> sudo gem sqlite3?
enebo has joined #ruby
<undeadaedra> kubunto: sqlite gem, or something like sequel if you want a wrapper around it
<ytti> agreed
<kubunto> what would the command be to install it
<ytti> not or, but and :)
<Coraline> Put it in your Gemfile
juanpablo___ has joined #ruby
<kubunto> i dunno where that is
ta has quit [Remote host closed the connection]
<Coraline> You should have a file called Gemfile in the root of your project folder.
<undeadaedra> it's not compulsory to have one...
<Coraline> It's canonical
<jhass> kubunto: gem install sqlite3
<jhass> like any other gem
One-Sky has joined #ruby
arup_r has quit [Ping timeout: 245 seconds]
<kubunto> i didnt have a sqlite dev package which was wierd
Mark-6ma has joined #ruby
<kubunto> python didnt seem to require it
B1n4r10 has joined #ruby
<kubunto> glad it was easy tho
freerobby has joined #ruby
arup_r has joined #ruby
mgorbach has quit [Ping timeout: 252 seconds]
juanpablo___ has quit [Ping timeout: 252 seconds]
evanjs has joined #ruby
Takle has quit [Remote host closed the connection]
vtunka_ has quit [Ping timeout: 250 seconds]
vtunka has quit [Ping timeout: 250 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
kubunto has quit [Quit: Anyone who thinks the Large Hadron Collider will destroy the world is a twat]
mgorbach has joined #ruby
einarj has joined #ruby
aryaching has joined #ruby
mgberlin has joined #ruby
pontiki has joined #ruby
kaffepanna has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
jgoyon has quit [Quit: WeeChat 1.0]
<gilmour> Isn't sqlite3 in stdlib for python? It is not for Ruby; I don't think that's too weird ;)
One-Sky has quit [Ping timeout: 246 seconds]
lavros has joined #ruby
agarie has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
jeromelanteri has quit [Ping timeout: 250 seconds]
<Pharaoh2> ok, I have narrowed the issues down to just one gem, other native extensions still build fine
<Pharaoh2> for now I will work without that gem
nettoweb has joined #ruby
arup_r has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 248 seconds]
serivichi has quit [Ping timeout: 252 seconds]
einarj has quit [Remote host closed the connection]
devans has joined #ruby
duggiefresh has joined #ruby
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
serivichi has joined #ruby
michael_mbp has quit [Excess Flood]
<gilmour> Pharaoh2: Which gem?
jottr has quit [Ping timeout: 256 seconds]
<Pharaoh2> seven-zip-ruby
<Pharaoh2> gem install seven_zip_ruby -v '1.2.4'
Advocation has quit [Quit: Advocation]
tesuji has joined #ruby
<gilmour> Pharaoh2: did the apple-gcc42 assist you to narrow that down, or...? Curious
<Pharaoh2> nope
<Pharaoh2> seems like apple-gcc42 is horribly broken in 10.10.3
iasoon has quit [Ping timeout: 245 seconds]
<gilmour> Haah. Interesting. Sigh. Well best of luck, I'm kind of wary now since I don't have any such issues O_o heh.
michael_mbp has joined #ruby
iasoon has joined #ruby
Porfirium has joined #ruby
<hanmac> dam i really need to update my libarchive gem ... (or make a total rewrite of it)
jackmas has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has joined #ruby
Takle has joined #ruby
<hanmac> but working on OSX is always a pain in the ass ... ( and default installed compiler on them are always shitty)
sinkensabe has joined #ruby
hpoydar has joined #ruby
<r3dk1ng> OSX sucks balls
<r3dk1ng> Apple should have used LINUX from day 1
gilmour is now known as chrisarcand
serivich has joined #ruby
_ixti_ has joined #ruby
mengu has quit [Remote host closed the connection]
serivichi has quit [Ping timeout: 240 seconds]
ixti has quit [Ping timeout: 246 seconds]
Lloyd is now known as lloyd
Advocation has joined #ruby
<hanmac> i read it yesterday that apple fixed a problem inside of TCP package handing ... THAT WAS KNOWN SINCE 80' ... with it you could block all web apps like chrome or node.js ;P
iamjarvo has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamjarvo has quit [Max SendQ exceeded]
<jhass> uhm, no hanmac, you misunderstood fefe there
iamjarvo has joined #ruby
<hanmac> jhass: hm i also read the source link and where was similar info
mgberlin has quit [Remote host closed the connection]
psudoze has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
__chris has joined #ruby
Zackio has quit [Remote host closed the connection]
<jhass> yet you conflate type of attack with actual issue
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
palms has joined #ruby
mitchellhenke has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
shazaum has quit [Ping timeout: 264 seconds]
Channel6 has joined #ruby
sgambino_ has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<monsieurp> r3dk1ng: I second that
Zackio has joined #ruby
<hanmac> but its still apples fault that they want to use some modificated versions of standard functions, i mean if OSX would have used the orignal BSD function, or would have implment it correct, than nothing would have happend
iamjarvo has joined #ruby
<monsieurp> never quite understood this fuss, almost religion, around Apple products
attamusc has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
attamusc has quit [Client Quit]
shazaum has joined #ruby
attamusc has joined #ruby
Advocation has quit [Quit: Advocation]
<r3dk1ng> monsieurp: it's because it's techno jewlery
<hanmac> hey! let us design a new system, let call it OSY ... its more "male" than OSX ;P
iamjarvo has joined #ruby
a5i has joined #ruby
<ytti> i'm looking for new laptop
<r3dk1ng> monsieurp: people buy it because it's flashy, cool and the IN thing....
<ytti> ibm carbon looks nice
<ytti> lenovo
<monsieurp> The only Apple product I've held dear to me heart was the iPod (1st gen all the way to the 5th)
<ytti> whatnot
<jhass> wasn't there this lovely paper where they showed the same brain activity patterns occur when religious people are shown symbols of their religions and apple users are shown apple products?
iamjarvo has quit [Max SendQ exceeded]
<ytti> but i can get macbook pro much cheaper with better specs :/
<monsieurp> Apple decided to stop making them in favour of the iPod touch
<monsieurp> which, of course, sucks
Beoran_ has joined #ruby
<ytti> i just don't like osx
<ytti> but the pricing isn't bad
kesroesweyth has quit [Ping timeout: 244 seconds]
<Pharaoh2> well, hate all you want on OSX, but very few things can beat a mac book pro in performance battery life and weight
reinaldob has joined #ruby
iamjarvo has joined #ruby
<monsieurp> Pharaoh2: no shit sherlock
<ytti> not sure how well linux lives in retina mbp
<Pharaoh2> I mean those thing put together, not individually
iamjarvo has quit [Max SendQ exceeded]
<ytti> at least i've understood camera does not work at all
<r3dk1ng> lmao
<monsieurp> Pharaoh2: for the price, the opposite would be quite.. surprising
LJT has quit [Quit: Sleeping...]
sgambino has quit [Ping timeout: 276 seconds]
<Pharaoh2> yes, well, but when the company is footing the bill, why not
<hanmac> ytti: if you are looking for lenovo, i would suggest to format it, because i read in news a few weeks ago that they had a spy proxy tool that can spy your ssl/https stuff
gauke has quit [Quit: gauke]
iamjarvo has joined #ruby
<ytti> hanmac, yeah but that didn't apply to carbon
iamjarvo has quit [Max SendQ exceeded]
<monsieurp> I mean 1k in a god damn laptop, I expect it to crush the concurrence when it comes to specs
mengu has joined #ruby
<monsieurp> right?
<ytti> hanmac, and yeah i would defintiely format it, as i'd run linux on it
<Pharaoh2> from corporate point of view the cost is peanuts if it improves developer productivity
<monsieurp> not sure about the latter but hey
tgunr has joined #ruby
<monsieurp> to each his own (POV)
livathinos has quit []
iamjarvo has joined #ruby
mrmargolis has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<hanmac> i only used pcs i build/ select myself ... (specially because i am looking for a chasis where i can put my many harddrives into it ;P)
__chris has quit [Quit: Leaving]
<Pharaoh2> If I had to buy my own laptop, I would surely not buy a apple, considering price/performance
mikecmpb_ has joined #ruby
<monsieurp> Pharaoh2: let me guess, you're wearing an iWatch too right?
n80 has quit [Quit: n80]
<Pharaoh2> but if someone else is paying, get the highest end mac book pro and you will be mostly happy
<Pharaoh2> uhh no..
iamjarvo has joined #ruby
Beoran has quit [Ping timeout: 250 seconds]
<r3dk1ng> mac = waste of money
<Pharaoh2> I am using a nexus 6, I have an asus G73 personal laptop
<monsieurp> stupid reasoning
<ytti> Pharaoh2, i'm looking for laptop, what is good bang for buck right now?
<monsieurp> "if someone else is paying, then I'll have him pay as much as possible"
<Pharaoh2> lenovo released a pretty nice laptop recently
juanpaucar has joined #ruby
<Pharaoh2> let me look it up again
juanpaucar has joined #ruby
<Pharaoh2> oh it is the carbon
psudoze has quit [Ping timeout: 250 seconds]
<Pharaoh2> just remembered the x1 or something
<ytti> Pharaoh2, lenovo carbon costs more than mbp :(
<Pharaoh2> really? damn!
<Pharaoh2> ytti: whats your usecase?
LudicrousMango has quit []
<ytti> Pharaoh2, mostly browser + xterms
riotjones has quit [Remote host closed the connection]
<Pharaoh2> how important is weight and batter life?
<ytti> not very
<ytti> i'd want 15" if possible
<monsieurp> Lenovo W510
riotjones has joined #ruby
<ytti> oh and 16GB memory would be nice
yh has quit [Ping timeout: 244 seconds]
gauke has joined #ruby
yh has joined #ruby
<Pharaoh2> you can also go for the new dell xps
mikecmpbll has quit [Read error: Connection reset by peer]
<r3dk1ng> or Dell Precision M class
ascarter has joined #ruby
kaffepanna has joined #ruby
amdbcg has quit [Ping timeout: 264 seconds]
juanpablo___ has joined #ruby
<r3dk1ng> Moblie Workstation
<r3dk1ng> if you want Bang
<nickjj> ytti, are you running a bunch of VMs?
<Pharaoh2> 16 gig ram
<Pharaoh2> no, he is running chrome
User458764 has joined #ruby
dcarper has joined #ruby
<nickjj> chrome uses a lot of memory, but probably not 16gb
bluOxigen has joined #ruby
jottr has joined #ruby
<ytti> nickjj, i need windows for corp crap, like lync :(
<r3dk1ng> You would be fine with 8GB unless you had to run more than one VM
<r3dk1ng> if you had SSD
<r3dk1ng> as well
riotjones has quit [Ping timeout: 256 seconds]
<ytti> monsieurp, i don't see that in levono site, but w541 when added 16GB memory, high res display and 256GB SSD, costs <40usd less than MBP
maximski has quit [Ping timeout: 245 seconds]
<ytti> Pharaoh2, i was actually look at xps13
<ytti> only too small display
<nickjj> have you looked at this? www.amazon.com/gp/product/B00LT1JQ5Y
<ytti> or is there xps15
tkuchiki has joined #ruby
<ytti> oh there is
juanpablo___ has quit [Ping timeout: 252 seconds]
<nickjj> i remmeber that laptop from a few months ago. it was on sale for 1k
<ytti> nickjj, that is pretty cheap
<nickjj> considering the specs yes
juanpablo___ has joined #ruby
lethosor|away has quit [Quit: Connection closed for inactivity]
bim has joined #ruby
<nickjj> but 4k seems almost pointless at that screen size, you'd have to run everything at 200% scaling to read it
<ytti> XPS15 gets to >2kUSD with high res display, 16GB and 256GB SSD
Igorshp has joined #ruby
<ytti> yeah i think high res might be actually hinderance, if i'm going to run linux
<ytti> i don't know how well linux handles those
<ytti> i don't have good enough eye sight to run things 'natively'
<nickjj> you may want to google on the subject
[1]bergice has joined #ruby
snath has quit [Ping timeout: 250 seconds]
palms has quit [Quit: Lost terminal]
maximski has joined #ruby
<Pharaoh2> if my experience from last year is still valid, running linux on retina like display is going to be a pita
shellfu has joined #ruby
<nickjj> but 4k at 200% scaling is the same PPI as 1080p i think, so if linux can scale it well it should look nice
<Pharaoh2> even windows doesn't support it properly
<Pharaoh2> there is a difference between the os scaling and the apps actually supporting it
<nickjj> i'm not sure i would depend on apps supporting it
sgambino_ has quit [Quit: Leaving...]
<shellfu> I have it on my workstation
amdbcg has joined #ruby
<serivich> is linux on apple computer any good?
<Pharaoh2> serivich: mostly
claw___ has joined #ruby
n80 has joined #ruby
<hectortrope> serivich: use vagrant
Billias has quit [Quit: ZNC - http://znc.in]
Billias_ has joined #ruby
claw__ has quit [Ping timeout: 250 seconds]
dEPy has quit [Ping timeout: 264 seconds]
Billias_ is now known as Billias
Billias is now known as Billias_
bim has quit [Ping timeout: 264 seconds]
Billias_ has quit [Client Quit]
<ytti> serivich, since retina, not really
<ytti> serivich, also i think camera flat out won't work, and no one is working on it
Porfirium has quit [Quit: Porfirium]
One-Sky has joined #ruby
Billias has joined #ruby
dudedudemanbro is now known as dudedudeman
<dudedudeman> oh.. i guess i already had a nick
<dudedudeman> is anyone else running a hackintosh?
Billias has quit [Client Quit]
Billias has joined #ruby
<dudedudeman> i saw the discussion about linux on mac and all that
skakri has joined #ruby
iceden has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
attamusc has quit [Ping timeout: 264 seconds]
Macaveli has quit [Ping timeout: 264 seconds]
mengu has quit [Remote host closed the connection]
tus has joined #ruby
hanmac has quit [Quit: Leaving.]
lanemeyer has joined #ruby
serivichi has joined #ruby
hpoydar has quit []
One-Sky has quit [Ping timeout: 252 seconds]
cartothemax has joined #ruby
shevy has joined #ruby
spyderma_ has quit [Remote host closed the connection]
casadei has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
chthon has quit [Ping timeout: 244 seconds]
spyderman4g63 has joined #ruby
LJT has joined #ruby
jefus has quit [Ping timeout: 276 seconds]
User458764 has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
serivich has quit [Ping timeout: 272 seconds]
platzhirsch has joined #ruby
hannahkoala has joined #ruby
FernandoBasso has quit [Quit: Leaving]
Guest___ has joined #ruby
juanpaucar has quit [Remote host closed the connection]
juanpaucar has joined #ruby
Guest___ has quit [Client Quit]
atmosx has joined #ruby
mdarby has joined #ruby
iasoon has quit [Ping timeout: 245 seconds]
kblake has joined #ruby
Yzguy has joined #ruby
dj_zubehoer has joined #ruby
<ponga> shevy:
<ponga> are you there
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atmosx has quit [Quit: parting / quiting]
ujihisa has joined #ruby
atmosx has joined #ruby
sgambino has joined #ruby
Megtastique has joined #ruby
tvon has joined #ruby
vivekananda has quit [Ping timeout: 244 seconds]
<shevy> sort of
<shevy> need foooood
rippa has joined #ruby
dj_zubehoer has quit [Ping timeout: 252 seconds]
One-Sky has joined #ruby
<jhass> braioood
swills has joined #ruby
dfinninger has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
hpoydar has joined #ruby
SouL_|_ has quit [Remote host closed the connection]
<ponga> shevy:
<ponga> where can i learn regular expression
<shevy> ponga I read a perl book many years ago
<ponga> perhaps , do you have a recommendation of where to start
Rapier- has quit [Ping timeout: 244 seconds]
jefus has joined #ruby
<shevy> ponga you can try to start here http://www.regular-expressions.info/tutorial.html
chthon has joined #ruby
hpoydar has quit [Remote host closed the connection]
<shevy> but the best resource in the end I found is to be the "try it yourself" approach at http://rubular.com/
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rapier- has joined #ruby
<shevy> the perl book was awful by the way, perl is awful - but the regex chapter was really great. you just need to remember what means what in a regex... like {1,5}
beat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ninjs> I don't know why I missed it the first time I tried to learn rails, but ruby is so damn cool.
gsd has joined #ruby
One-Sky has quit [Ping timeout: 252 seconds]
<ninjs> I've been playing around for like 2 hours just changing arrays to strings and back haha
hpoydar has joined #ruby
B1n4r10 has joined #ruby
gsd has quit [Read error: Connection reset by peer]
hpoydar has quit [Remote host closed the connection]
gsd has joined #ruby
Megtastique has quit []
linoj has joined #ruby
anaeem___ has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
<shevy> more fun than PHP eh
beat has joined #ruby
Zesty has joined #ruby
MasterPiece has joined #ruby
<ninjs> not sure, never wrote any PHP
Spami has joined #ruby
shadoi1 has joined #ruby
Zesty has quit [Client Quit]
mengu has joined #ruby
<shevy> hehe
<shevy> it's pretty funny
<shevy> you can write functions in all CAPS
Spami has quit [Client Quit]
mdarby has quit [Remote host closed the connection]
<shevy> but invoke them lowercased if I remember correctly
<gregf_> ninjs: Ha! there aint no fun in PHP. shevy's lying
mdarby has joined #ruby
<workmad3> shevy: like this?
<workmad3> >> def WOO!; puts "I <3 ruby!!!"; end; WOO!
<ruboto> workmad3 # => I <3 ruby!!! ...check link for more (https://eval.in/311809)
<jhass> no like this
<workmad3> shevy: ah, not quite like that then :)
<jhass> >> def WOO!; "Ruby!"; end; def self.method_missing(name, *args); public_send(name.downcase, *args); end; woo!
<ruboto> jhass # => stack level too deep (SystemStackError) ...check link for more (https://eval.in/311810)
<jhass> heh, well, close xD
<workmad3> jhass: name.upcase ;)
<jhass> >> def WOO!; "Ruby!"; end; def self.method_missing(name, *args); public_send(name.upcase, *args); end; woo!
<ruboto> jhass # => stack level too deep (SystemStackError) ...check link for more (https://eval.in/311811)
<jhass> figured^^
<workmad3> haha
<jhass> or not xD
Spami has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<workmad3> jhass: hmm... aren't methods defined at the top-level private visibility?
One-Sky has joined #ruby
<jhass> mh, yeah, but it shouldn't run into method_missing again
<jhass> >> def self.WOO!; "Ruby!"; end; def self.method_missing(name, *args); public_send(name.upcase, *args); end; woo!
<ruboto> jhass # => "Ruby!" (https://eval.in/311812)
<jhass> tada!
<workmad3> >> def WOO!; "Ruby!"; end; def self.method_missing(name, *args); send(name.upcase, *args); end; woo!
<ruboto> workmad3 # => "Ruby!" (https://eval.in/311813)
<jhass> oO
<jhass> TIL
iasoon has joined #ruby
iamjarvo has joined #ruby
<jhass> so method_missing catches in the singleton class if the call would call something private higher up the ancestry chain
<jhass> actually makes sense I guess
<workmad3> hehe
cartothemax has quit [Remote host closed the connection]
<workmad3> jhass: it's a good point though... I'm somewhat surprised that method_missing gets invoked when you use public_send for a private method
fabrice31_ has quit [Remote host closed the connection]
bruno- has joined #ruby
mengu has quit [Ping timeout: 244 seconds]
fabrice31 has joined #ruby
djbkd has joined #ruby
dcarper has quit [Remote host closed the connection]
clauswitt has quit [Ping timeout: 252 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
The_Phoenix has joined #ruby
ta has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
ujihisa has quit [Ping timeout: 264 seconds]
fabrice31 has quit [Ping timeout: 245 seconds]
dcarper has joined #ruby
djbkd has quit [Ping timeout: 276 seconds]
One-Sky has quit [Ping timeout: 244 seconds]
CloCkWeRX has joined #ruby
riotjones has joined #ruby
aswen has quit [Ping timeout: 248 seconds]
snath has joined #ruby
existensil has quit [Ping timeout: 245 seconds]
The_Phoenix has quit [Max SendQ exceeded]
lxsameer has quit [Quit: Leaving]
mengu has joined #ruby
mengu has joined #ruby
cartothemax has joined #ruby
ascarter has joined #ruby
The_Phoenix has joined #ruby
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
weemsledeux has joined #ruby
Sgeo_ has quit [Ping timeout: 250 seconds]
rubytor has joined #ruby
juanpaucar has quit [Remote host closed the connection]
opyhoc has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chthon has quit [Quit: Ex-Chat]
existensil has joined #ruby
AlexRussia has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
gagrio-LL has quit [Ping timeout: 245 seconds]
blackmesa has joined #ruby
RegulationD has quit [Remote host closed the connection]
GaryOak_ has joined #ruby
bluOxigen has joined #ruby
bim has joined #ruby
jobewan has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
d10n-work has joined #ruby
<shevy> chaos
jeff_laplante has joined #ruby
gregf1 has quit [Ping timeout: 250 seconds]
bim has quit [Ping timeout: 252 seconds]
<undeadaedra> NameError: undefined local variable or method `chaos' for main:Object
<mwlang> How do I pass in a lambda and also be able to reference variables and methods on a class? https://gist.github.com/mwlang/53c2dbe86857a958caf5 is my attempt.
willharrison has joined #ruby
<apeiros> mwlang: you're looking for instance_eval/_exec
rubytor has quit [Quit: No Ping reply in 180 seconds.]
rubytor has joined #ruby
Porfa has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
pandaant has joined #ruby
<mwlang> apeiros: thanks…looking at some examples now
One-Sky has joined #ruby
baroquebobcat has joined #ruby
ta has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
HayesHimself has quit [Ping timeout: 255 seconds]
gregf1 has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
DerisiveLogic has joined #ruby
gauke has quit [Quit: gauke]
rajeshchawla has joined #ruby
Yzguy has joined #ruby
Kricir has joined #ruby
kaffepanna has quit [Ping timeout: 265 seconds]
<GaryOak_> When you do attr_reader, can you call that attr within a class without the @?
iamjarvo has joined #ruby
<jhass> no
<jhass> attr_reader :foo; is a shortcut to def foo; @foo; end;
<jhass> @foo inside and outside a method definition are two different variables
<apeiros> GaryOak_: methods and variables are two fundamentally different things
Megtastique has joined #ruby
<apeiros> you don't call a variable. and @ivar is a variable.
<apeiros> attr_reader also does *not* define a variable. it defines a method.
havenwood has joined #ruby
<apeiros> >> class Foo; attr_reader :bar; end; Foo.new.instance_variables
<ruboto> apeiros # => [] (https://eval.in/311816)
<GaryOak_> essentially just making it accessible to things using the class, right?
<apeiros> >> class Foo; def initialize; @bar = nil; end; end; Foo.new.instance_variables
<ruboto> apeiros # => [:@bar] (https://eval.in/311817)
<GaryOak_> without having to write accessor methods
tkuchiki has quit [Remote host closed the connection]
<apeiros> yes, as jhass said - it's just a shortcut to write add methods which return the variable's value
<apeiros> -write
CustosLimen has quit [Ping timeout: 245 seconds]
<apeiros> instance variables are not accessible from outside an object without using a method.
tkuchiki has joined #ruby
mengu has quit []
MatthewsFace has quit [Remote host closed the connection]
<GaryOak_> but in a class method @ivar and ivar act the same
iceden has quit [Read error: Connection reset by peer]
<apeiros> no
<apeiros> `ivar` without an @ is *never* an instance variable.
DexterLB has joined #ruby
DexterLB has quit [Client Quit]
<apeiros> a bare `var` is either a local variable or a method
<GaryOak_> how does ruby know you aren't calling the accessor method though
<apeiros> when?
Yzguy has quit [Quit: I'm sleeping, go away.]
iceden has joined #ruby
<GaryOak_> When you are accessing it from inside the class
mrmargolis has quit []
<apeiros> @var is *always* an instance variable
<apeiros> var is *never* an instance variable
<apeiros> no guessing involved
<GaryOak_> So what is this doing?
<apeiros> care to be more specific?
<apeiros> or do you expect me to go through the whole code line by line?
<GaryOak_> so on line 9 I'm calling puts my_ivar and it outputs "testing"
<apeiros> GaryOak_: tell me, does `my_ivar` have an @ in front of it?
<GaryOak_> no
<GaryOak_> not in that method
<apeiros> so you know it's not an instance variable
<apeiros> so what else could it be?
Hijiri has quit [Quit: WeeChat 1.0.1]
<GaryOak_> then why does it contain "testing"
<apeiros> please, bear with me and answer my question
dfinninger has quit [Remote host closed the connection]
<GaryOak_> ok, I'm just confused
<apeiros> yes, and I'm trying to unconfuse you. I'm doing that by asking you questions.
msgodf has quit [Ping timeout: 245 seconds]
One-Sky has quit [Ping timeout: 244 seconds]
<GaryOak_> so it's a class variable?
msnyon has joined #ruby
<apeiros> no. @@var are class variables
<GaryOak_> ok so it's a local var
<apeiros> that would be possible from the syntax
One-Sky has joined #ruby
<GaryOak_> Or is it a method call?
agarie has quit [Remote host closed the connection]
<apeiros> but from the context, you can see that nowhere in the method speak is an lvar named `my_ivar` assigned
<apeiros> so from the context, you also know it can't be a local variable. a local variable always requires an assignment first.
One-Sky has quit [Max SendQ exceeded]
<apeiros> yes. method call is the only other option besides local variable.
<apeiros> now the question is, where is the method `my_ivar` defined and what does it do?
One-Sky has joined #ruby
<GaryOak_> it's defined by the attr_reader
<apeiros> correct
allenn has quit [Remote host closed the connection]
<apeiros> and as jhass said before, `attr_reader :my_ivar` is short for `def my_ivar; return @my_ivar; end`
<apeiros> does that answer why `my_ivar` (the method call) evaluates to the same value as `@my_ivar` (an instance variable lookup)?
<GaryOak_> phew yes thank you
akkmaxon has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GaryOak_> and you can't change my_ivar's value without actually accessing the instance var using the @
jimms has joined #ruby
<GaryOak_> otherwise you are just calling the method
<apeiros> you can't write to an instance variable from the outside without going throug a method
<apeiros> note that "change ivars value" can mean two things:
<apeiros> a) assign a different object
<apeiros> b) mutate the currently assigned object
User458764 has joined #ruby
<GaryOak_> ok
ta has joined #ruby
<apeiros> for a) I either need a method, or I must be within the object to which the ivar belongs (and then I can use normal variable assignment: @my_ivar = "new value")
ebbflowgo has quit [Ping timeout: 255 seconds]
<apeiros> for b) I just need a reference of the object somewhere
One-Sky has quit [Ping timeout: 255 seconds]
<GaryOak_> I've just seen code where they read instance vars without the @, but now it makes sense
<apeiros> >> class Foo; def initialize(word); @word = word; end; def say; "the word is: #{@word}"; end; end; outside = "outside"; foo = Foo.new(outside); outside.upcase!; foo.say
<ruboto> apeiros # => "the word is: OUTSIDE" (https://eval.in/311819)
<apeiros> ^ is an example of b) without accessing the @ivar
dcarper has quit [Remote host closed the connection]
<GaryOak_> that makes sense
DerisiveLogic has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
gsd has joined #ruby
mleung has joined #ruby
<GaryOak_> Thank you for bearing with my ignorance
mikecmpb_ has quit [Quit: i've nodded off.]
dfinninger has joined #ruby
fryguy9 has joined #ruby
chinmay_dd has joined #ruby
<apeiros> GaryOak_: np
shadoi1 has quit [Quit: Leaving.]
<apeiros> everybody starts somewhere ;-)
<undeadaedra> what
<undeadaedra> it means you didn't appear magically with all ruby knowledge, apeiros?
<apeiros> undeadaedra: I learned it discomforts people if I tell them that
tvw has joined #ruby
pandaant has quit [Remote host closed the connection]
<GaryOak_> apeiros: ruby has a lot of "taken for granted" stuff
blackmesa has quit [Ping timeout: 244 seconds]
ascarter has joined #ruby
bricker has joined #ruby
<workmad3> undeadaedra: 'appearing magically with all ruby knowledge' is still 'starting from somewhere' too :P
<undeadaedra> true
ghostmoth has joined #ruby
failshell has quit []
beneggett has joined #ruby
mdarby has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mjuszczak has quit []
ndrei has quit [Ping timeout: 256 seconds]
HayesHimself has joined #ruby
jimms has quit [Ping timeout: 250 seconds]
robertt_dex has joined #ruby
davedev24_ has joined #ruby
jimms has joined #ruby
Xiti has quit [Ping timeout: 264 seconds]
ta has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
tvw has quit []
shadoi1 has joined #ruby
hannahko_ has joined #ruby
hannahkoala has quit [Read error: Connection reset by peer]
jordsmi has joined #ruby
jheg has quit [Ping timeout: 265 seconds]
Hounddog has quit [Ping timeout: 250 seconds]
duggiefresh has quit [Remote host closed the connection]
duggiefresh has joined #ruby
maletor has joined #ruby
ponga has quit [Remote host closed the connection]
techietrash has joined #ruby
Megtastique has quit []
RegulationD has joined #ruby
zenith_ has joined #ruby
zz_AlphaTech is now known as AlphaTech
davedev2_ has joined #ruby
jheg has joined #ruby
mjuszczak has joined #ruby
withnale_ has quit [Ping timeout: 265 seconds]
duggiefresh has quit [Ping timeout: 248 seconds]
davedev24_ has quit [Ping timeout: 272 seconds]
mdarby has joined #ruby
dj_zubehoer has joined #ruby
lsmola_ has quit [Ping timeout: 255 seconds]
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
Xiti has joined #ruby
aryaching has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
zenith_ has quit [Remote host closed the connection]
jimms has quit [Read error: Connection reset by peer]
DexterLB has joined #ruby
casadei has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
shanlar has quit [Read error: Connection reset by peer]
naftilos76 has joined #ruby
baroquebobcat has quit [Remote host closed the connection]
Contigi has quit [Quit: Leaving]
beneggett has quit [Ping timeout: 245 seconds]
dvg-laptop has joined #ruby
dvg-laptop has quit [Client Quit]
chipotle has joined #ruby
chipotle has quit [Client Quit]
tkuchiki has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Johnsen2 has joined #ruby
chipotle_ has quit [Ping timeout: 250 seconds]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
MatthewsFace has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
baweaver has joined #ruby
DerisiveLogic has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
lethosor|away has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mjuszcza_ has joined #ruby
Matthews_ has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
mjuszczak has quit [Ping timeout: 256 seconds]
B1n4r10 has quit [Ping timeout: 276 seconds]
michaeldeol has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
dfinninger has quit [Remote host closed the connection]
_honning_ has joined #ruby
wald0 has quit [Quit: Lost terminal]
linoj has quit [Quit: linoj]
ta has joined #ruby
Hobogrammer has joined #ruby
FernandoBasso has joined #ruby
robertt_dex has quit [Ping timeout: 276 seconds]
dfinninger has joined #ruby
dseitz has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
yxhuvud has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
DerisiveLogic has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
yxhuvud has joined #ruby
gauke has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjuszcza_ has quit [Ping timeout: 250 seconds]
krisquig_ has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 240 seconds]
akkmaxon has quit [Quit: Konversation terminated!]
baweaver has joined #ruby
krisquigley has joined #ruby
ujjain has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdarby has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gusrub has joined #ruby
duggiefresh has joined #ruby
cjim has joined #ruby
quimrstorres has quit [Remote host closed the connection]
agarie has joined #ruby
jheg has quit [Quit: jheg]
gauke has quit [Client Quit]
Filete has joined #ruby
meschiv2 has joined #ruby
hannahko_ has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 240 seconds]
werelivinginthef has joined #ruby
elaptics_away is now known as elaptics
mjuszczak has joined #ruby
terlar has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
cjim has quit [Client Quit]
beat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agarie has quit [Ping timeout: 276 seconds]
ascarter has joined #ruby
cjim has joined #ruby
baweaver has quit [Remote host closed the connection]
Scriptonaut has joined #ruby
krisquigley has joined #ruby
dcarper has joined #ruby
rdark has quit [Quit: leaving]
<Scriptonaut> does anyone have a good recommendation for an indepth book on ruby 2.0+?
<Scriptonaut> not an introductory book, something really meaty
Porfa has quit [Quit: porfa]
<shellfu> heh
<acl777> scriptonaut: well grounded rubyist 2nd edition
mikecmpbll has joined #ruby
<acl777> solid book, especially if you already know another language
djbkd has joined #ruby
mjuszczak has quit []
dcarper_ has joined #ruby
GnuYawk has joined #ruby
dcarper has quit [Ping timeout: 256 seconds]
endash has quit [Quit: endash]
<Scriptonaut> acl777: sweet thanks
ghr has joined #ruby
endash has joined #ruby
baweaver has joined #ruby
<Scriptonaut> ya I've been a rails dev for about 6 months, and have been casually using ruby for years, but I want to fill the gaps that might be scattered throughout my knowledge
wallerdev has joined #ruby
_honning_ has quit [Ping timeout: 250 seconds]
<acl777> yeah. that's a good book to really get ruby. i've been reading the 1st edition.
bigmac__ has joined #ruby
RegulationD has quit [Remote host closed the connection]
ndrei has joined #ruby
dj_zubehoer has quit [Remote host closed the connection]
bigmac has joined #ruby
byprdct has joined #ruby
fabrice31 has joined #ruby
byprdct has quit [Max SendQ exceeded]
c0m0 has quit [Ping timeout: 264 seconds]
byprdct has joined #ruby
bigmac_ has quit [Ping timeout: 255 seconds]
Igorshp has quit [Remote host closed the connection]
bigmac_ has joined #ruby
byprdct has quit [Max SendQ exceeded]
bigmac__ has quit [Ping timeout: 245 seconds]
cartothemax has quit [Remote host closed the connection]
bigmac__ has joined #ruby
fschuindt has joined #ruby
Takle has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
bigmac has quit [Ping timeout: 245 seconds]
<fschuindt> Guys, there's a way to trim a string to remove the line breaks? The string is a line from a text file, at the end of the line it line breaks. How can I remove it? I have tried .delete('\n') but it don't worked.
baweaver has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 250 seconds]
thiagovsk has joined #ruby
bigmac has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
<a5i> Ruby is incredibly flexible
<shevy> fschuindt .chomp
<shevy> to remove all of them well
tvon has quit [Quit: Lost terminal]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy> >>> "abc\ndef\nyo\n".delete("\n")
<ruboto> shevy # => /tmp/execpad-4d6a25b1d7e6/source-4d6a25b1d7e6:2: syntax error, unexpected '>' ...check link for more (https://eval.in/311821)
bigmac_ has quit [Ping timeout: 250 seconds]
<shevy> so I fail
<a5i> you can make Ruby verbose if you wanted
mostlybadfly has quit [Quit: Connection closed for inactivity]
<shevy> fschuindt "abc\ndef\nyo\n".delete("\n") # => "abcdefyo"
<shevy> a5i you want to java up your ruby code?
bigmac_ has joined #ruby
<shevy> then you can get paid by lines of code!
shanlar has joined #ruby
<a5i> Well its possible
sgambino has quit [Remote host closed the connection]
shanlar has quit [Remote host closed the connection]
<shevy> no wonder java became the business language of choice
bigmac__ has quit [Ping timeout: 264 seconds]
<shevy> rails is the java in ruby
<a5i> Ruby allows for some things that are required in other languages
<Scriptonaut> chomp is global in ruby?
<Scriptonaut> I thought it just took off the newline at the end of a string
<shevy> Scriptonaut it's a method on class String
evanjs has quit [Remote host closed the connection]
<shevy> yeah
User458764 has joined #ruby
<a5i> >> if (1>3); p "No" else; "k"; end
<ruboto> a5i # => "k" (https://eval.in/311822)
<a5i> like parenthesis
<Scriptonaut> to get them all
sohrab has joined #ruby
<Scriptonaut> >> "abc\ndef\nghi\n".gsub("\n", '')
<ruboto> Scriptonaut # => "abcdefghi" (https://eval.in/311823)
ta has quit [Remote host closed the connection]
<a5i> >> if (1>3); p "No" else if (1<3); "k"; end
<ruboto> a5i # => /tmp/execpad-077ebb442b6d/source-077ebb442b6d:3: syntax error, unexpected keyword_rescue, expecting ...check link for more (https://eval.in/311824)
bigmac has quit [Ping timeout: 250 seconds]
<fschuindt> shevy: .chomp worked great! :)
<a5i> mk, I know elsif
<fschuindt> shevy: ty
<shevy> \o/
<shevy> a5i you fail with the bot just as I did. I call you my fail-brother now, we are the fail team!
<Peetooshock> >> 1+2
<ruboto> Peetooshock # => 3 (https://eval.in/311825)
<a5i> :P
<shevy> 1+2 now that was hard
x1337807x has joined #ruby
<a5i> Ruby should have and "else if" option imo
bigmac has joined #ruby
<Peetooshock> >> `rm rf /`
<ruboto> Peetooshock # => (https://eval.in/311826)
<a5i> but u pure rubyists would'nt agree I suppose
<shevy> not sure if it is possible
bigmac__ has joined #ruby
cjim has quit [Quit: (null)]
<shevy> could the parser understand it?
<Scriptonaut> >> def teehee puts 'blah'; teehee end; teehee
<ruboto> Scriptonaut # => /tmp/execpad-990fa0d8c4e1/source-990fa0d8c4e1:2: syntax error, unexpected tSTRING_BEG, expecting ';' ...check link for more (https://eval.in/311827)
<shevy> ok we are all fail today
<Scriptonaut> mannn
<Scriptonaut> haha
<Scriptonaut> I don't know much about ruby one liners
pygospa has quit [Ping timeout: 272 seconds]
<shevy> problem is the bot loves one-liner input, which makes it harder to read and spot typos and other mistakes
<Peetooshock> >> def fail; puts 'fail'; end; fail
<shevy> me neither
<ruboto> Peetooshock # => fail ...check link for more (https://eval.in/311828)
<shevy> I always write a method in a .rb file, and call that
bigmac_ has quit [Ping timeout: 255 seconds]
<Scriptonaut> best language for one liners is haskell
<shevy> rather than fancy combinations of commandline arguments
<Scriptonaut> or something like that
<zlude> Hello guys, I want to improve this code... just for study! Someone can help me? http://pastie.org/private/ltbjgc6eu2om2kgngezdga#11,16,22 for example.. can I call "redis = Redis.new()" just one time? and at redis_get = RedisAction.new... can I omit :redis_value? how?
<shevy> haskell is like a cult
<shevy> once you are in the cult, you love it
cjim has joined #ruby
<shevy> whereas those who are outside have no idea what the fuzz is all about
<Scriptonaut> ya, learning haskell made every day programming a lot less fun, haha
<shevy> it's a very different way to think about things, compared to C or Ruby
<Scriptonaut> ya, rather than describing the steps to get a results, you describe the nature of the result itself
zacts has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<shevy> zlude that is a case where you could use an @ivar, have you used them before yet?
bigmac_ has joined #ruby
uber has quit [Quit: bye]
<shevy> aha
<shevy> you did
cjim_ has joined #ruby
<shevy> I see the rest of your code
volk_ has joined #ruby
<volk_> anybody here pretty good with graph algs? i’m looking to add a feature to my app which allows people to search for certain things based on friends of friends (one degree of separation) , i dont want the specific answer per se, but just at least something to look into.
cjim has quit [Read error: Connection reset by peer]
bigmac has quit [Ping timeout: 252 seconds]
<shevy> zlude for instance, in the method initialize, add a new method called reset
bim has joined #ruby
baweaver has joined #ruby
<shevy> and then add it: def reset; @redis = Redis.new(); end
<shevy> you should also drop the (), it looks weird when there are no arguments
bigmac__ has quit [Ping timeout: 244 seconds]
serivichi has quit [Ping timeout: 244 seconds]
sgambino has joined #ruby
<shevy> zlude does that code work? looks not legit to me or perhaps my eyes don't like it:
<shevy> def initialize ( redis_key:, redis_value: )
lennae has joined #ruby
akurilin has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
<zlude> shevy, yes, this is working. but i wanna to improve my code.. write a better ruby.
icebourg has joined #ruby
teddyp1cker has joined #ruby
bigmac__ has joined #ruby
pygospa has joined #ruby
baweaver has quit [Remote host closed the connection]
leafybas_ has joined #ruby
akurilin has joined #ruby
RTG` has quit [Ping timeout: 252 seconds]
<jhass> shevy: required keyword args, new in 2.2
bigmac_ has quit [Ping timeout: 252 seconds]
apoplexy has joined #ruby
bigmac_ has joined #ruby
bim has quit [Ping timeout: 276 seconds]
<jhass> zlude: drop the spaces though, def initialize(redis_key:, redis_value:)
teddyp1cker has quit [Client Quit]
rbennacer has quit [Remote host closed the connection]
gfawcettpq has quit [Ping timeout: 264 seconds]
<jhass> replace the redundant redis = Redis.new with a private method def redis; Redis.new; end
akkmaxon has joined #ruby
dcarper_ has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
bigmac has quit [Ping timeout: 246 seconds]
<jhass> use Ruby 1.9 style hashes when using keyword argument: RedisAction.new(redis_key: "user", redis_value: "me")
krisquigley has joined #ruby
<jhass> also any strong reason you don't use the same object to call both, get and set?
dcarper has joined #ruby
CloCkWeRX has quit [Ping timeout: 252 seconds]
bigmac has joined #ruby
<Scriptonaut> what's ruby 2.0+ style hash?
cjim_ has quit [Quit: (null)]
<jhass> there's none
<Scriptonaut> I thought { key: 'val', otherkey: 'otherval' } was ruby 2.0
<Scriptonaut> hash
leafybasil has quit [Ping timeout: 265 seconds]
<jhass> no, it's there since 1.9
bigmac__ has quit [Ping timeout: 250 seconds]
leafybas_ has quit [Ping timeout: 252 seconds]
dcarper has quit [Read error: Connection reset by peer]
<Scriptonaut> how'd you do it before, { "key" => "val", "ptherkey" => "otherval"}
dcarper_ has joined #ruby
<Scriptonaut> I noticed rails 4 moved away from that
RTG` has joined #ruby
<Scriptonaut> and uses the key: 'val' syntax
<jhass> no, { :key => "val", :otherkey => "otherval" } is the equivalent
<Scriptonaut> oh
bigmac__ has joined #ruby
<jhass> yes, Rails 5 will make Ruby 2.2 required and make extensive use of keyword arguments even
threh has joined #ruby
bigmac_ has quit [Ping timeout: 250 seconds]
<Scriptonaut> hrm, when is that coming out
Ziioynx has joined #ruby
<jhass> no idea
rhllor has joined #ruby
bigmac_ has joined #ruby
<eam> it's incomplete in 1.9, "foo bar": doesn't work until 2.2 for example
<eam> which also means no jruby
mjuszczak has joined #ruby
<jhass> huh? I'm sure the jruby people will adapt
<jhass> isn't jruby 9000 targeted at 2.2?
bigmac has quit [Ping timeout: 244 seconds]
krisquigley has quit [Ping timeout: 276 seconds]
havenwood has quit [Remote host closed the connection]
bigmac has joined #ruby
bigmac__ has quit [Ping timeout: 256 seconds]
bigmac__ has joined #ruby
sandelius has joined #ruby
bigmac_ has quit [Ping timeout: 256 seconds]
sandelius has quit [Client Quit]
tvw has joined #ruby
casshern2 has quit [Ping timeout: 244 seconds]
beat has joined #ruby
BTRE has quit [Quit: Leaving]
bigmac_ has joined #ruby
Takle has joined #ruby
rhllor_ has joined #ruby
tgunr has quit [Read error: Connection reset by peer]
<shevy> ok so that is valid syntax then. now I know that required keyword args look like shit
agarie has joined #ruby
Filete has quit [Read error: Connection reset by peer]
tgunr has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
<jhass> yeah, we don't have much left in the language
rhllor_ has quit [Remote host closed the connection]
bigmac has quit [Ping timeout: 276 seconds]
<jhass> what would you propose to define them?
rhllor has quit [Ping timeout: 264 seconds]
<shevy> crystal uses keyword args as well?
baweaver has joined #ruby
rhllor has joined #ruby
<jhass> kinda, you can pass all regular args as keyword args as well
vivekananda has joined #ruby
bigmac__ has quit [Ping timeout: 276 seconds]
bigmac has joined #ruby
<shevy> dunno. the problem is that I would design a completely different language altogether if I'd had the required skills. I'd want a language that is modelled similar to biological cells
akkmaxon has quit [Quit: Konversation terminated!]
<jhass> def x(foo, bar, baz) can be called with x(1, baz: 3, bar: 2)
<shevy> hmm
<shevy> how do you manage to use two different languages at the same time
dfinninger has joined #ruby
Takle has quit [Read error: Connection reset by peer]
bigmac__ has joined #ruby
<jhass> how do you?
<jhass> or do you never speak german anymore?
gfawcettpq has joined #ruby
dcarper_ has quit []
<shevy> I don't need a parser to speak german
baweaver has quit [Remote host closed the connection]
bigmac_ has quit [Ping timeout: 272 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bigmac_ has joined #ruby
sandelius has joined #ruby
<shevy> my german is always perfect by nature
kyrylo has joined #ruby
<shevy> if computers would be better at understanding things that human beings want!
<shevy> have you tried babelfish translations
werelivinginthef has quit [Remote host closed the connection]
kirun has joined #ruby
OtterCoder has joined #ruby
User458764 has joined #ruby
jenrzzz has joined #ruby
Pharaoh2 is now known as MrTuring
ndrei has quit [Ping timeout: 240 seconds]
bigmac has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
coventry` has joined #ruby
MrTuring is now known as Pharaoh2
CloCkWeRX has joined #ruby
bigmac__ has quit [Ping timeout: 248 seconds]
<GaryOak_> does anyone you think a typed version of ruby would be good?
vivekananda has quit [Ping timeout: 245 seconds]
<coventry`> Is there a better way to configure the version of ruby bundle uses than changing the #! line in /usr/bin/bundle?
bigmac_ has quit [Ping timeout: 240 seconds]
<shevy> GaryOak_ depends on how it would be used. optional or mandatory? and the scope of what it does
bigmac has joined #ruby
marr has quit [Ping timeout: 245 seconds]
<mwlang> nothing like having a little downtime to spend exploring how to do stuff in Ruby — here’s a couple of useful tricks I figured out this morning:  https://gist.github.com/mwlang/796ed6076c692504a33d
<shevy> GaryOak_ but I think in principle, if you could get the benefits of typed/static declarations upfront while retaining the good things of flexibility, then that would be nice
<jhass> contradictioned: #!/usr/bin/env ruby and patch your path to have the right one first
thumpba has joined #ruby
<jhass> er coventry` ^
<jhass> sorry contradictioned
rbennacer has joined #ruby
<shevy> don't contradict contradictioned
<GaryOak_> shevy: Just looking into it, but I think it would be better being optional
nfk has joined #ruby
<shevy> \o/
bigmac_ has joined #ruby
<mwlang> GaryOak_: typed version of Ruby: http://crystal-lang.org/
<shevy> :P
<GaryOak_> all roads lead to crystal
<shevy> poor mruby
<coventry`> jhass: OK, nothing within the bundle framework itself? I can live with that.
Pharaoh2 is now known as MrTuring
<jhass> no, ensuring the right ruby version is a job for your ruby version switcher, not bundler
bigmac__ has joined #ruby
<jhass> bundler ensures the right gem versions are loaded by your app
<mwlang> reading back up the chain….why is Rails 5 going to lock in on Ruby >= 2.2
jherbst has joined #ruby
<mwlang> i.e. what’s in 2.2 that’s RoR5 is taking advantage of that’s not in 1.9+?
tosbourn has quit [Remote host closed the connection]
<coventry`> jhass: OK, I'll read about rvm. Thanks.
<jhass> or rbenv, chruby, pick your poison ;)
arturmartins has quit [Quit: Leaving...]
bigmac has quit [Ping timeout: 244 seconds]
<coventry`> What would you recommend?
Yzguy has joined #ruby
cjim_ has joined #ruby
bigmac has joined #ruby
<shevy> mwlang btw out of curiousity, when did you start to write ruby code?
<mwlang> shevy: 2005
<shevy> \o/
n008f4g_ has quit [Quit: leaving]
cartothemax has joined #ruby
bigmac_ has quit [Ping timeout: 255 seconds]
Yzguy has joined #ruby
<shevy> about at when I started with ruby too, more or less. I think 2 years after I switched to linux I was still using php though... used linux sometime in 2004 or so
bigmac_ has joined #ruby
<mwlang> shevy: didn’t really get full-time into Ruby until 2009 or so as I had a lot of pre-existing code to juggle in other languages and was managing more than coding, too.
ndrei has joined #ruby
bigmac__ has quit [Ping timeout: 248 seconds]
bigmac__ has joined #ruby
<latemus> When I iterate through the elements af an array using Array#index, if the array contains an identical element multiple times, I'm getting the index of the first occurence of that element, because I am iterating by name. http://pastie.org/private/9t73b2maqa5nvw8zh9dpq Is there a way to overcome that?
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Scriptonaut> ruby is super pleasant to program in, the amount of thoughtfulness always surprises me. Half the time if I want something, I can guess the method name for an object and it exists
TheKruex has joined #ruby
<latemus> I need the actual index for each element.
A205B064 has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
<mwlang> Scriptonaut: or more embarassingly, you think, “it can’t be that simple, let me ask on IRC” and somebody’s response leads to face-palming. :-p
baweaver has quit [Remote host closed the connection]
<shevy> Scriptonaut yeah ruby is pretty good
djbkd_ has joined #ruby
<Scriptonaut> haha, ya. I think I'm probably known as a meganoob in #rubyonrails because I ask really easy stuff on a daily basis
bigmac has quit [Ping timeout: 245 seconds]
RegulationD has joined #ruby
<mwlang> Scriptonaut: nah, you’re a bit past the noobie stage.
bigmac_ has quit [Ping timeout: 245 seconds]
bigmac has joined #ruby
wallerdev has quit [Quit: wallerdev]
chipotle has joined #ruby
<Scriptonaut> heh, ya. 5 months ago though I was pretty annoying
linoj has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
bigmac_ has joined #ruby
n80 has quit [Quit: n80]
platzhirsch has left #ruby [#ruby]
Joufflu has joined #ruby
postmodern has quit [Quit: Leaving]
bigmac__ has quit [Ping timeout: 264 seconds]
towski_ has joined #ruby
<shevy> we all were at one point in our lives weren't we
djbkd_ has quit [Ping timeout: 250 seconds]
bigmac__ has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
bigmac has quit [Ping timeout: 250 seconds]
claw has joined #ruby
shadeslayer has quit [Ping timeout: 264 seconds]
beat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bigmac has joined #ruby
AlexRussia has joined #ruby
bigmac_ has quit [Ping timeout: 248 seconds]
tchebb has quit [Ping timeout: 244 seconds]
ta has joined #ruby
bigmac_ has joined #ruby
HayesHimself has quit [Ping timeout: 244 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjuszczak has quit []
bigmac__ has quit [Ping timeout: 250 seconds]
MetaFloor has joined #ruby
bigmac__ has joined #ruby
<MetaFloor> hey all
MrTuring is now known as Pharaoh2
x1337807x has joined #ruby
noname has joined #ruby
claw___ has quit [Ping timeout: 250 seconds]
<MetaFloor> ./msg nickserv identify
Rephiax has joined #ruby
shadeslayer has joined #ruby
<Scriptonaut> latemus:
<Scriptonaut> did you ever get help
<latemus> Scriptonaut: Nah
<Scriptonaut> k, so you are iterating through an array
failshell has joined #ruby
<Scriptonaut> and need the index
claw_ has joined #ruby
<Scriptonaut> when you are on a certain element?
<latemus> Yeah man. Did you see the pastie
bigmac has quit [Ping timeout: 244 seconds]
x1337807_ has joined #ruby
<Scriptonaut> oh no let me look
hannahkoala has joined #ruby
bigmac has joined #ruby
x1337807x has quit [Read error: Connection reset by peer]
Yzguy has joined #ruby
jcutrell has joined #ruby
lavros has quit [Quit: leaving]
Yzguy has quit [Max SendQ exceeded]
<latemus> Scriptonaut: Yeah, basically I want to iterate throu each element, and for each element one of the things i nood to do is get that element's index.
bigmac_ has quit [Ping timeout: 264 seconds]
<Scriptonaut> this might be bad ruby, someone tell me if it is: Hash[(0..chr.size).zip chr].each { |i, c| puts "#{c}#{i}" }
<latemus> s/nood/need
<jcutrell> Hey folks. Quick question - is there a basic consensus on what abstraction is most widely accepted/appropriate for wrapping a rest API over http? I’m assuming based on what I’ve seen that Faraday is the most common tool for this.
agarie has quit [Read error: Connection reset by peer]
willharrison has joined #ruby
bigmac_ has joined #ruby
<Scriptonaut> >> chr = ['a'..'z'].to_a; Hash[(0..chr.size).zip chr].each { |i, c| puts "#{c}#{i}" }
<ruboto> Scriptonaut # => a..z0 ...check link for more (https://eval.in/311839)
leafybasil has joined #ruby
bigmac__ has quit [Ping timeout: 264 seconds]
claw has quit [Ping timeout: 240 seconds]
<Scriptonaut> oh latemus
<Scriptonaut> even easier
dc has joined #ruby
bigmac__ has joined #ruby
<jcutrell> each_with_index ?
<latemus> Scriptonaut: Thanks for your help. What's easier, the paste at eval.in the bot linked to?
<GaryOak_> Is there a one liner ruby http server?
frem has joined #ruby
<Scriptonaut> >> chr = ['a'..'z'].to_a; chr.each_with_index { |val, i| puts "#{val} - #{i}"}
<ruboto> Scriptonaut # => a..z - 0 ...check link for more (https://eval.in/311840)
<latemus> jcutrell: That might ease things XD
bigmac has quit [Ping timeout: 245 seconds]
<jhass> jcutrell: faraday is fine and yeah, seems most widely used
<Scriptonaut> yes
<Scriptonaut> I just took forever to typer it out :P
<latemus> lol
<latemus> Scriptonaut: Thank a lot :)
<Scriptonaut> np
bigmac has joined #ruby
hannahkoala has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<jhass> latemus: I'm curious, what do you need the index for?
msnyon has quit [Read error: Connection reset by peer]
tchebb has joined #ruby
<Scriptonaut> >> chr = ('a'..'z').to_a; chr.each_with_index { |val, i| puts "#{val} - #{i}"}
troyready has quit [Remote host closed the connection]
<ruboto> Scriptonaut # => a - 0 ...check link for more (https://eval.in/311841)
sevvie has quit [Remote host closed the connection]
<Scriptonaut> there we go, I had the wrong brackets
bigmac_ has quit [Ping timeout: 276 seconds]
sevvie has joined #ruby
bigmac_ has joined #ruby
gimpy has joined #ruby
<latemus> jhass: more basic crypto stuff
<jhass> so not rot13?
teddyp1cker has joined #ruby
<latemus> jhass: nah, its a little more complex now
<jhass> what is it?
<latemus> well, it's not an actual cipher. I have to operate on an element based on the modulo of the elements index
bigmac__ has quit [Ping timeout: 276 seconds]
<latemus> At least, it not a cipher I know the name of.
gimpy has quit [Quit: Leaving]
bigmac has quit [Ping timeout: 248 seconds]
RegulationD has quit [Remote host closed the connection]
Takle has joined #ruby
bigmac has joined #ruby
troyready has joined #ruby
<latemus> The rot13 one was fun though, and it was actually a challenge for me cause i'm a ruby noob
bigmac__ has joined #ruby
asmodlol has quit [Quit: Leaving]
bigmac_ has quit [Ping timeout: 255 seconds]
volk_ has quit [Quit: volk_]
uber has joined #ruby
bigmac_ has joined #ruby
mostlybadfly has joined #ruby
uber is now known as Guest12282
<latemus> Here's the presumably bad ruby I used for rot13
<jhass> not too bad
havenwood has joined #ruby
mjuszczak has joined #ruby
<latemus> jhass: cool, that's encouraging. thanks :)
<jhass> could write the ranges as [*'a'..'z'] or ('a'..'z').to_a
<ytti> i would have done something with index
<jhass> could also merge the two hashes together
sigurding has quit [Quit: sigurding]
RegulationD has joined #ruby
<jhass> and save the if / else with that
<jhass> could also use .map
dfinninger has quit [Read error: Connection reset by peer]
<ytti> ruby -e 'C=("a".."z").to_a;def rot13(c)k=C.index(c);return c unless k;C.at k+13%26 end;p ARGV[0].chars.map{|e|rot13(e) or e}.join' foobar
bigmac has quit [Ping timeout: 250 seconds]
<ytti> or something like hat
dfinninger has joined #ruby
<IceDragon> >> RUBY_VERSION
<ruboto> IceDragon # => "2.2.0" (https://eval.in/311842)
Zai00 has joined #ruby
<ytti> it can lead to pain, not to wrap code inside namespace, class or module
<IceDragon> >> "%<platform>s" % { "platform" => "ruby" }
<Mon_Ouie> And once you have merged the hashes you can pass the result to gsub to do the work for you. You could also see String#tr.
<ruboto> IceDragon # => key<platform> not found (KeyError) ...check link for more (https://eval.in/311843)
<IceDragon> (ノ `Д´)ノ ~┻━┻
<ytti> because all the code your're not wrapping, goes into class Object
<ytti> and this can lead to side-effects, when you redefine Object methods
bim has joined #ruby
<ytti> typical suspect is #send
<Scriptonaut> jhass: what does the * op do in [*'a'..'z']
<ytti> splat
<ytti> turns into array
beneggett has joined #ruby
bigmac has joined #ruby
bigmac_ has quit [Ping timeout: 252 seconds]
casshern2 has joined #ruby
<Scriptonaut> so splat take a range object
bigmac__ has quit [Ping timeout: 276 seconds]
<Scriptonaut> why doesn't *'a'..'z' work
<Scriptonaut> it has to be inside []
<Mon_Ouie> It doesn't. You can use foo(*'a'..'z') too, for example.
<jhass> you can use splat pretty much anywhere you can use a comma separated list of values
ta has quit [Remote host closed the connection]
<apeiros> >> a = *'a'..'z'
<ruboto> apeiros # => ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", ...check link for more (https://eval.in/311844)
<apeiros> works outside of [] too
<apeiros> but it depends where
<apeiros> (and jhass said where it works)
tgunr has left #ruby ["Textual IRC Client: www.textualapp.com"]
<ytti> >> def foo; 'bar'; end; 42.foo;
<ruboto> ytti # => private method `foo' called for 42:Fixnum (NoMethodError) ...check link for more (https://eval.in/311845)
jefus has quit [Quit: Leaving]
bigmac_ has joined #ruby
<Scriptonaut> >> ['a', 'b', 'c']
<ruboto> Scriptonaut # => ["a", "b", "c"] (https://eval.in/311846)
<Scriptonaut> >> (*'a'..'c')
<ruboto> Scriptonaut # => /tmp/execpad-47c5d7bb4267/source-47c5d7bb4267:2: syntax error, unexpected .., expecting :: or '[' or ...check link for more (https://eval.in/311847)
<ninjs> anyone know of any good libraries for working with excel files? mainly taking rows, deleting some cells and changing some formatting
werelivinginthef has joined #ruby
<apeiros> ninjs: we use spreadsheet at work
<ytti> ninjs, if've used axlsx
<ytti> i've
<jhass> >> "fooB".tr("n-za-mN-ZA-M", [*"a".."z", *"A".."Z"].join)
<ruboto> jhass # => "sbbO" (https://eval.in/311848)
<apeiros> and for data import, we use my tabledata gem, the "experimental-dsl" branch :)
<jhass> that was the tr solution, right?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bim has quit [Ping timeout: 246 seconds]
<apeiros> jhass: rot13?
<ytti> i like modulo solution, because then rot13 isn't special case
<ytti> just argument
<latemus> Whoa. Cool stuff
<jhass> yeah
<ytti> like in unix rot13 is just calling 'ceasar' with an argument
bigmac__ has joined #ruby
bigmac has quit [Ping timeout: 244 seconds]
<apeiros> is caesar strictly rotation or just any substitution?
* apeiros remembers caesar to be substitution, not necessarily rotation
<Mon_Ouie> jhass: You can use ranges in the substitution string too
Guest12282 has quit [Changing host]
Guest12282 has joined #ruby
<jhass> oh
<apeiros> hm, wikipedia says it's rotation :(
bigmac has joined #ruby
Guest12282 is now known as uber
cjim__ has joined #ruby
diegoviola has joined #ruby
bigmac_ has quit [Ping timeout: 252 seconds]
bigmac_ has joined #ruby
bigmac__ has quit [Ping timeout: 245 seconds]
ndrei has quit [Ping timeout: 276 seconds]
cjim_ has quit [Ping timeout: 255 seconds]
bigmac__ has joined #ruby
bigmac has quit [Ping timeout: 244 seconds]
_honning_ has joined #ruby
sevvie has quit [Ping timeout: 276 seconds]
bigmac has joined #ruby
mrsolo has joined #ruby
serivichi has joined #ruby
mrsolo has quit [Remote host closed the connection]
bigmac_ has quit [Ping timeout: 272 seconds]
DexterLB has quit [Ping timeout: 248 seconds]
bigmac_ has joined #ruby
lennae has quit [Ping timeout: 240 seconds]
chinmay_dd has quit [Quit: Leaving]
BTRE has joined #ruby
havenwood has quit [Remote host closed the connection]
mdcox has joined #ruby
robertt_dex has joined #ruby
<mdcox> There isn't a way to not load the stdlib is there? Only use things directly implemented in the interpreter?
havenwood has joined #ruby
bigmac__ has quit [Ping timeout: 264 seconds]
<mdcox> A quick google search shows nothing, so I'm not optimistic.
bigmac__ has joined #ruby
ndrei has joined #ruby
<jhass> mdcox: what's your issue?
baweaver has joined #ruby
krisquigley has joined #ruby
bigmac has quit [Ping timeout: 264 seconds]
<shevy> mdcox hmm stdlib must be explicitely required or? like require 'pp'
maximski has quit []
<mdcox> jhass: Not a real issue, just a curiosity. I kind of want to reimplement the stdlib on my own for shiggles and want it to simply not load it unless I've written it.
bigmac_ has quit [Ping timeout: 248 seconds]
bigmac has joined #ruby
<mdcox> not the whole thing obviously...just when I come up on parts not written yet
<mdcox> might as well write the interpreter at that point I guess...
bigmac_ has joined #ruby
<jhass> mdcox: what do you call stdlib? which class for example?
<shevy> aha, not quite correct I guess... rubygems is automatically required
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
baweaver has quit [Remote host closed the connection]
<shevy> there is a commandline switch to not load rubygems I think
<shevy> other than that, the stdlib part seem to be require-on-demand rather than auto-require anyway
<mdcox> jhass: I'm not sure, I haven't looked too much into it. I just assume things like say, split() on a string probably isn't built into the interpreter....I could be wrong though. I haven't put too much thought into it.
JoshGlzBrk has joined #ruby
<shevy> I think it is built in, it's written in Ruby-C there
<jhass> mdcox: so stdlib has a specific meaning in ruby
<jhass> mdcox: there's core and stdlib, core are things that are always available once your program starts
bigmac__ has quit [Ping timeout: 252 seconds]
bigmac__ has joined #ruby
<jhass> stdlib are things that are shipped with ruby, but aren't loaded until you require them
<shevy> static VALUE rb_str_split_m(int argc, VALUE *argv, VALUE str)
<shevy> so that is C code mdcox
teddyp1cker has quit [Read error: Connection reset by peer]
teddyp1c_ has joined #ruby
<shevy> jhass what about rubygems!
<jhass> mdcox: and another thing to note is all what's core is written in C and compiled into the ruby executable, while large parts of stdlib are written in Ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
evanjs has joined #ruby
<jhass> shevy: that's loaded in the prelude, iirc there was an option to not load it
dj_zubehoer has joined #ruby
<mdcox> jhass: So if I strip out all the loaded ruby parts I should be getting to where I wanted...
<mdcox> unless it just doesn't work at that point :P
bigmac has quit [Ping timeout: 245 seconds]
<jhass> no
iamjarvo has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
bigmac has joined #ruby
RegulationD has quit [Remote host closed the connection]
<jhass> maybe somebody else needs to explain, but i thought I was pretty clear
mdarby has joined #ruby
bigmac_ has quit [Ping timeout: 248 seconds]
Rephiax has quit []
<shevy> mdcox how do you want to remove the C code man
<mdcox> jhass: I mean if I compile the C code and only include what's there (core you called it) and stripped out all the ruby then it'd just be the pure interpreter (I guess, again, no real thought into it, I should probably just start hacking at it and see why it doesn't work.)
<jhass> that's a lot of work
vivekananda has joined #ruby
<shevy> yeah you can do that
<jhass> rubinius has larger parts of core written in Ruby
<jhass> maybe that's what you want to look into
dfinninger has quit [Remote host closed the connection]
bigmac__ has quit [Ping timeout: 264 seconds]
<mdcox> thanks for the help
bigmac_ has joined #ruby
baweaver has joined #ruby
bigmac has quit [Ping timeout: 250 seconds]
Hijiri has joined #ruby
bigmac has joined #ruby
<jhass> if you just want to write your own implementations of core classes, just name them differently
<jhass> I don't see the hassle of not loading core
banister has joined #ruby
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1c_ has quit [Remote host closed the connection]
<jhass> seems like a useless complication of the exercise
<mdcox> the whole thing is useless...it's just fun
<mdcox> tearing things apart, duct taping them back together
teddyp1cker has joined #ruby
bigmac__ has joined #ruby
dfinninger has joined #ruby
<shevy> yeah I don't know why jhass complains here
<shevy> I think he does not want you to do it!
tosbourn has joined #ruby
<shevy> mdcox DO NOT DO THIS YOU WILL DESTROY THE WORLD IF YOU DO
<jhass> mdcox: you might be interested in Crystal: https://github.com/manastech/crystal Ruby inspired syntax, entirely written in itself, which makes it very easy to hack on
jenrzzz has quit [Ping timeout: 272 seconds]
<latemus> mruby?
<shevy> ;)
<mdcox> IN A WORLD, WHERE ONE MAN DID THE USELESS...
bruno- has joined #ruby
<jhass> lots of parts in stdlib missing which would be useful contributions ;)
<shevy> TO THEN GO AND CREATE CRYSTAL
cartothemax has quit [Remote host closed the connection]
bruno- has quit [Client Quit]
<shevy> though
<shevy> if crystal has a better documentation than ruby
<shevy> then I will point this out :)
RegulationD has joined #ruby
cartothemax has joined #ruby
bigmac_ has quit [Ping timeout: 256 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> "Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.3 Python/2.7.1 Server"
<latemus> looks like mruby is only core, no stdlib as well
<shevy> every seen the name "Unix"? Usually I see things like "Ubuntu" or ... centos and such
<shevy> *ever, not every
<jhass> latemus: there's talk to move MRI stdlib entirely to gems
bruno- has joined #ruby
<shevy> latemus because it is too much work!
<latemus> whoa
<latemus> lol
<mdcox> Crystal looks cool. So does mruby...seems mruby is what I initially had in mind, and then crystal just seems neat.
bigmac has quit [Ping timeout: 264 seconds]
yh has quit [Ping timeout: 264 seconds]
riotjones has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
bigmac has joined #ruby
<IceDragon> shevy: HI
<IceDragon> :3
<mdcox> I wish Crystal had some benchmarks somewhere considering it's harping on performance.
fabrice31 has joined #ruby
bigmac__ has quit [Ping timeout: 256 seconds]
rubytor has joined #ruby
<IceDragon> mdcox: Write a few benchmarks then
teddyp1cker has quit [Ping timeout: 272 seconds]
zorak8 has quit [Read error: Connection reset by peer]
tosbourn has quit [Ping timeout: 244 seconds]
zorak8 has joined #ruby
<jhass> mdcox: a bit poorly executed but https://github.com/kostya/benchmarks
baweaver has quit [Remote host closed the connection]
bigmac_ has joined #ruby
zorak8 has quit [Max SendQ exceeded]
<shevy> yo IceDragon
bigmac__ has joined #ruby
<IceDragon> shevy: Whats the latest brotha?
zorak8 has joined #ruby
<shevy> where are the benchmark results!
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<shevy> dunno IceDragon ... I can rename kde konsole tabs from the commandline... but I get a lot of useless output
<shevy> perfection is so hard to reach
<IceDragon> xD
<jhass> mdcox: https://github.com/nsf/pnoise another one
<IceDragon> My xfce4 terminal has this weird habit of clearing when I change workspaces
<jhass> use a better one then :P
gsd has joined #ruby
<mdcox> shevy: results are linked in the readme. Just choose the test.
<IceDragon> but but but but, jhass, there's no ruby benchmark in those >:
bruno- has quit [Ping timeout: 245 seconds]
linoj has quit [Quit: linoj]
<jhass> IceDragon: in pnose not, kostaya has ruby
<mdcox> If those numbers are realistic though, it's pretty impressive. Seems to beat Rust in all but one of them.
<IceDragon> D: ruby didn't show up in the language bar, thats why I didn't think it had ruby
fabrice31 has quit [Ping timeout: 245 seconds]
<IceDragon> If there is anything I can say about rust, its bulky
<IceDragon> >_>
threh has quit [Ping timeout: 250 seconds]
bigmac has quit [Ping timeout: 244 seconds]
beat has joined #ruby
riotjones has quit [Ping timeout: 252 seconds]
fschuindt has quit [Ping timeout: 276 seconds]
<jhass> mdcox: kostya's you need to take with a grain of salt, lots of them are unidiomatic and they're measured without preloading and boot time
bigmac has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
<jhass> but it gives a rough category
bigmac_ has quit [Ping timeout: 252 seconds]
<mdcox> jhass: Ah, cool. I know benchmarking is pretty hard to do fairly.
bigmac__ has quit [Ping timeout: 240 seconds]
gfawcettpq has quit [Ping timeout: 252 seconds]
<jhass> *and with boot time I meant to say
bigmac_ has joined #ruby
yh has joined #ruby
bigmac__ has joined #ruby
lennae has joined #ruby
<jhass> what I mainly like about crystal is that it managed to transport a lot of ruby's feel into a compiled language
wldcordeiro_ has joined #ruby
<jhass> whether to prefer an interpreted or a compiled language is largely a usecase decision for me
lennae has quit [Client Quit]
bigmac has quit [Ping timeout: 252 seconds]
serivichi has quit [Ping timeout: 250 seconds]
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
<yh> i never ever cared whether a langauge is interpreted or compiled
bigmac_ has quit [Ping timeout: 244 seconds]
<yh> it makes so little difference to me
<IceDragon> https://github.com/kostya/benchmarks/blob/master/matmul/matmul.rb # No wonder the benchmark came out badly D:
marr has joined #ruby
<IceDragon> Array or Arrays
jerematic has quit []
HayesHimself has joined #ruby
<IceDragon> I know from experience that shit is slow
cartothemax has quit [Remote host closed the connection]
ghr has joined #ruby
bigmac__ has quit [Ping timeout: 272 seconds]
gfawcettpq has joined #ruby
<jhass> yet the crystal version has basically the same implementation ;)
baweaver has quit [Remote host closed the connection]
<contradictioned> jhass: o hai :)
<IceDragon> jhass: ITS COMPILED!
<IceDragon> ;D
ndrei has quit [Ping timeout: 256 seconds]
<contradictioned> jhass: (just wanted to answer to your highlight^^)
<eam> if a program can't rewrite its own code what good is it? http://www.catb.org/jargon/html/story-of-mel.html
<jhass> contradictioned: yeah, sorry again :)
wallerdev has joined #ruby
<eam> the amusing angle is that quote comes from a time where compiled was higher level and writing machine code directly was more dynamic
<contradictioned> jhass no prob :D
jenrzzz has joined #ruby
<jhass> eam: crystals macro language has basically full AST access ;D
<IceDragon> jhass: most of the time lost in the ruby example is allocating each sub array
phutchins has quit [Ping timeout: 245 seconds]
sevvie has joined #ruby
dc has quit [Remote host closed the connection]
<atmosx> good evening
<IceDragon> hi atmosx :3
<jhass> IceDragon: yeah, the crystal version could be made lots faster too though ;)
<atmosx> Anyone looking for a job in berlin?
<eam> jhass: to change it? :)
bruno- has joined #ruby
<IceDragon> jhass: I'll try rewriting the benchmark, see if I can squeeze some more performance out of it
<eam> oh macro -- well what about runtime?
<acl777> atmosx: yeah! :-)
orionstein has quit [Quit: ZNC - http://znc.in]
<atmosx> acl777: are you?
orionstein has joined #ruby
<jhass> eam: kinda, you can pass pretty much anything to a macro as argument (lke a whole class or method) and then let the macro generate code using it
<jhass> eam: no runtime besides GC though
<jhass> which is why it will never replace ruby, but complement it for me
<acl777> atmosx: no, i'm not actively looking. I'm pretty happy where i'm at.
<atmosx> acl777: where are you at?
<atmosx> lol
<acl777> i'm in NYC now
djbkd has quit [Remote host closed the connection]
<shevy> atmosx you'll move to Berlin?
<atmosx> acl777: I got a job offer for berlin, relocation and all. But I'm not willing to relocate so it's a non-deal. What I get thought is that there is a growing demand for ruby devs in Germany.
yh has quit [Ping timeout: 265 seconds]
speakingcode has joined #ruby
beat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx> shevy: no way
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> ooooooh, NICE, Exception#cause is set automatically
mdcox has quit [Read error: Connection reset by peer]
<apeiros> didn't know that
r3dk1ng has quit [Read error: Connection reset by peer]
<atmosx> shevy: Well if GD comes to power, I might.
<eam> jhass: I can live without eval, but I do find the perspective on dynamic interesting. Either go very high or very low level for it :)
mdcox has joined #ruby
<acl777> atmosx: where are you now?
<acl777> berlin is pretty awesome.
cartothemax has joined #ruby
<atmosx> shevy: although if I move from here, I'd rather go to Vienna (if in Europe), Stockholm or Canada/Australia.
<acl777> i've lived in germany for 3 years. so i know what it's like.
<atmosx> or some island in the pacific
ghr has quit [Ping timeout: 252 seconds]
<shevy> cool
<acl777> i'm from canada :-)
<atmosx> acl777: what it's the food like?
<shevy> I have never been in Stockholm, only in Goeteborg
<atmosx> acl777: really, so you speak English French and German?
<eam> and canadian
<acl777> and japanese.
<acl777> eh?!
<shevy> Canada should join the EU, we give the UK to the USA, everybody wins
<acl777> and ruby!
<atmosx> acl777: japanese? how came?
bobbrez has joined #ruby
<eam> acl777: whoa sorry, I am not fluent in canadian
<atmosx> shevy: no shit, that's a good deal.
<eam> which sorry way to the library sorry
<atmosx> I'm not sure what the US takes from the deal, but I'm in.
<acl777> canada basically is in the EU by the 'commonwealth'
<eam> ugh, I didn't properly conjugate my
tcrypt has joined #ruby
<eam> "eh"
<acl777> eh?!
rubytor has quit [Quit: No Ping reply in 180 seconds.]
<atmosx> eh
<acl777> eh.
<atmosx> ri takes a lifetime to isntall wtf
<atmosx> I should add --no-ri in my .rdoc
baweaver has joined #ruby
baweaver has quit [Remote host closed the connection]
<atmosx> I mean ri for rails 4.2.1
axl_ has joined #ruby
<acl777> but honestly, berlin's a great place to be in europe.
<atmosx> acl777: out of cusiority how much do you make per month (assuming you're a ruby dev)
<acl777> enough to get by in NYC.
noname2 has joined #ruby
<atmosx> acl777: manhattan?
<acl777> yup
OrbitalKitten has joined #ruby
<atmosx> fair enough then
<ytti> that is very flexible
<ytti> considering amont of homeless people there
<acl777> lol
<atmosx> acl777: are you homeless?
* acl777 holds sign: "will code php for food"
<atmosx> shit
<atmosx> that's sad
<ytti> but wages in EU generally are lower than in US from what offers I've seen
<eam> can't estimate the salary without knowing how big your apartment is. Where on the 100 to 500 sqft range does it lie?
fschuindt has joined #ruby
<ytti> we use imperial here?
MasterPiece has quit [Quit: Leaving]
<acl777> around 500
<ytti> i'm shocked
<atmosx> eam: location matters, too. Manhattan is kinda broad..
hmnhf_ has quit [Ping timeout: 240 seconds]
<ytti> what next? rewrite ruby in php?
<atmosx> hm
<eam> ruby on the hiphop vm
zenith_ has joined #ruby
hmnhf_ has joined #ruby
<atmosx> php is object oriented right? because doesn't look like
<atmosx> it is
<apeiros> 100-500 sqft? o0 isn't that like supertiny?
<eam> apeiros: that's the joke ;)
<ytti> i'm looking at reloc to cyprus, i can get three stories new house with pool
<ytti> for same money i pay for shitty one bedroom aparatment in helsinki
<apeiros> eam: oh, ok. I thought I calculated wrongly.
<acl777> lol
<apeiros> because… imperial…
<acl777> because... human!
<atmosx> eam: super-tinny, no. I was living in 50 sqm and was pretty happy with it. But it's tiny.
yh has joined #ruby
<atmosx> no wait
<atmosx> sq ft he said.. that's tiny
<ytti> 50m^2 isn't tiny in helsinki
<eam> 100sqft = 10 square meters?
<ytti> lot of people live in sub 30m^2
<apeiros> eam: about, yes
threh has joined #ruby
<apeiros> ytti: worldwide yes
<apeiros> western countries? I hope not
<ytti> apeiros, yes, lot of people in western countries
threh has quit [Client Quit]
fnordperfect has joined #ruby
<apeiros> hm, ok. I guess I'm badly informed then. do you have figures ytti?
<ytti> search for <30m^2 aparmtnes in helsinki
gfawcettpq has quit [Ping timeout: 264 seconds]
<ytti> 68 available
<ytti> starting from 179kEUR
<atmosx> rails 4.2.1 == 33 gems
<eam> 7.2 m^2
<atmosx> cool
<atmosx> I was paying 250 EUR in 2008 for 50m^2 in a tiny Greek town. They robbed me!
<apeiros> ytti: holyfuck, and I thought switzerland was expensive
<ytti> and very few developers hit 4kEUR/month
<atmosx> plus 25 for the shitty internet connection!
<ytti> and pay about 30% taax
<eam> we have higher tax in california
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<ytti> well we also have VAT
<atmosx> ytti: What's the tax rate in Estonia?
<ytti> which you're missing completely
<apeiros> I'll refrain from complaining about expensive CH then :D
<eam> ytti: we have 9% sales tax
<ytti> atmosx, stonia is much better, also apartments are lolz cheap compared to helsinki
<atmosx> apeiros: you're Swiss, you're rich by default. Same goes for shevy.
* atmosx is broke by default
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ytti> eam, 24% here
<eam> ytti: california has all the taxes of europe and all of the social services of ... not europe
<apeiros> I think I pay about 10% in income taxes and we have 8.5% VAT for most goods iirc
<ytti> and you can't cirumvent VAT
<ytti> like you can sales tax
workmad3 has joined #ruby
<eam> california state tax alone is 10%, federal is another 30-ish
<apeiros> property tax only starts to matter here when you have >250K
<atmosx> eam: I'm Greek, I currently pay ~ 60% taxes and they are still gonna kick out of the Euro. It's silly. I can *live* because I own my house, otherwise it's impossible without tax-evading...
<ytti> i wouldn't move to califonria below 150kUSD/year
<apeiros> or rather, start at that amount. they matter at about >500K
<ytti> and even then, job would need to be really really good
<atmosx> ytti: is there any possibility to make that sum in california behind a keyboard>
<eam> apeiros: property tax in california is cheap, only 1-1.5% of the property value per year! Except all the homes are >$1m
<ytti> atmosx, yes
<atmosx> ytti: well then, might be an option.
<atmosx> eam: you from california?
<eam> yes
zenith_ has quit [Ping timeout: 250 seconds]
<atmosx> eam: and currently live in California?
Kricir has quit [Remote host closed the connection]
<eam> atmosx: yessir
<apeiros> yeah I think for the first 250K, prop tax here is 0, for the second 250K it's around 1% too
<eam> not really complaining btw, it's a great place to live
<ytti> too bad the new trend is all the cool jobs are in the cities :(
<apeiros> no, actually I think it's even lower
<atmosx> eam: is every girl wearing tight pants and has a hot body as shown in TV Series?
<ytti> i liked the old trend of offices in the suburbs
<apeiros> got to check next time :D
nahtnam has quit [Quit: Connection closed for inactivity]
<eam> atmosx: that's southern california
<atmosx> eam: why, is there aren *california*?
<atmosx> eam: that's the only *california* I know of :-P
<ytti> also getting to us is kinda pita, for eutard
<ytti> essentially l1b is best option
RegulationD has quit [Remote host closed the connection]
<eam> atmosx: remember, San Francisco <-> Los Angeles are as far away as spain to italy
<eam> it's a long state
<ytti> i thought culturally :)
<atmosx> eam: and it's kinda broke right?
<atmosx> eam: I mean poor finances and all?
<eam> atmosx: kinda, but it doesn't impact anyone because we don't get any social services anyway
sgambino has quit [Remote host closed the connection]
<ytti> california would be best place for startup, not sure i'd want to work there without relevant equity
<eam> ytti: but you'd get equity -- and that's why all our homes are >7 figures
JoshGlzBrk has joined #ruby
<ytti> eam, i mean work related equity
<eam> yeah me too
<acl777> and 100% of 0 is still 0 :-)
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<ytti> it doesnt matter honestly, as long as i could lie to myself of prospect of exit
<eam> ytti: stock/options are a standard part of most comp packages
<atmosx> exits are awesome
<acl777> oh, don't worry, someone will be lying :-)
<eam> and because it's california: no vacation plan
Megtastique has joined #ruby
aghalarp has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<ytti> yeah we get 5 weeks legally
<eam> I have zero days
<atmosx> eam: hm, wait you said you're from North California
<ytti> which is paid more than your normal hours :/
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ndrei has joined #ruby
<atmosx> eam: no hot girls == sucks
<atmosx> eam: well, for me at least.
Megtastique has joined #ruby
<acl777> if you're into dorky guys: paradise! :-)
Megtastique has quit [Max SendQ exceeded]
alvaro_o has quit [Quit: Ex-Chat]
<eam> atmosx: SF is full of really good looking people
<acl777> go work for snapchat in LA. they're giving lotsa equity, and lotsa hot chicks
<ytti> and smells of pot and pee
Megtastique has joined #ruby
<eam> ytti: more like feces
Megtastique has quit [Max SendQ exceeded]
<acl777> lol, eh
<ytti> neat
<workmad3> acl777: hmm... any reason you're implying that snapchat are in the sex trafficking trade?
michael_mbp has quit [Excess Flood]
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<atmosx> eam: Yes, I've heard that SF is really nice but extremely expensive.
Azure has quit [Ping timeout: 264 seconds]
<ytti> eam, i can do peemap in xpaint
<acl777> workmad3: it's LA :-)
<eam> our public escalators are regularly broken down because http://www.sfgate.com/bayarea/article/Human-waste-shuts-down-BART-escalators-3735981.php
<ytti> just draw yellow ractangle
<workmad3> acl777: I don't know US stereotypes :P
freerobby has quit [Quit: Leaving.]
<eam> SF is not my cuppa tea
yfeldblum has joined #ruby
Megtastique has joined #ruby
<ytti> but that is where majority of positions are
<atmosx> I'd rather live in Florence then and have an SF paycheck.
Megtastique has quit [Max SendQ exceeded]
<eam> ytti: not true!
<acl777> workmad3: LA is where 'hollywood' is. all the actresses are there.
<eam> most positions are in the south bay which is much nicer (but not hip with the 20-somethings)
<atmosx> smells way better, girls are hot, place is amazing
<eam> SF has a very small tech industry
cjim__ has quit [Quit: (null)]
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<ytti> all the recentish shops put offices in SF central
<workmad3> acl777: well, I know *that* much, but I'm still wondering why you're suggesting that snapchat are 'giving lotsa hot chicks' to devs :P
<ytti> it pisses me off
<atmosx> eam: and why is it so expensive? Finance?
<ytti> i'd rather be in the suburbs
sgambino_ has joined #ruby
<ytti> even san jose
michael_mbp has joined #ruby
<eam> atmosx: it's expensive because SF has been blocking development and has passed super restrictive renting regulations
<ytti> san francisco might be nice to go for a one week a night or so
<eam> supply/demand
<ytti> to eat
<ytti> but to live, meh
davedev24_ has joined #ruby
<ytti> commute, meh
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
kadoppe has quit [Ping timeout: 246 seconds]
<acl777> workmad3: it's 'implied' through the location.
<acl777> :-)
<workmad3> fair enough :)
<ytti> i was there i december during 'worst storm in years'
<ytti> - when does it start?
<ytti> 'this is it'
<ytti> - oh
freerobby has joined #ruby
<ytti> looked like normal december in FI
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
davedev2_ has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
<acl777> SF is very 'renter friendly' place. a landlord can't kick out a tennant at all.
<eam> ytti: all the headline grabbing tiny startups are in SF, but the real tech (chips, 10k+ companies) are in the south bay
<ytti> eam, yeah but you can't get relevant equity in those
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<eam> sure you can
<ytti> so you're cubicle droid with no prospect of exit
tesuji has quit [Read error: Connection reset by peer]
Johnsen2 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<eam> ytti: not even close to true
<atmosx> workmad3: you in London?
sevvie has quit [Ping timeout: 264 seconds]
<mwlang> acl777: huh? So I can move to S.F., get a place and stop paying rent and live for free indefinitely? :-o
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
MetaFloor has quit [Quit: MetaFloor]
<workmad3> atmosx: right country, but a bit further north :P
<eam> first of all, sbay salaries tend to start with a 2. Second -- I saw super impressive growth at a large company in the last decade down there
<acl777> mwlang: yeah, as long as you get your name on the lease.
<atmosx> workmad3: ah, ic
<eam> like, I can buy my house cash growth
DexterLB has joined #ruby
Megtastique has joined #ruby
<eam> more important is just getting the yearly comp to a reasonably high level though
<acl777> my friend bought a house that has renters... he learned that he basically can't kick any of them out... even if they don't pay rent.
kadoppe has joined #ruby
<eam> acl777: correct - you'd have to be insane to rent in SF
<IceDragon> jhass: well, I screwed up, I made it even slower ;x
<acl777> i forget the limits, but SF is a very 'renter-friendly' city
<eam> I'm a landlord as well but I don't have any units in SF
<eam> nor would I ever (and that's part of why they have a supply problem)
tesuji has joined #ruby
<acl777> eam: because of the renter-friendliness?
<eam> yes
<jhass> IceDragon: haha
<acl777> yeah, my friend learned all about renter-friendliness the hard way.
<ytti> rento to company?
<acl777> (sf)
<ytti> established one
<eam> ytti: the issue is that when someone moves in they have rights that approach or eclipse your property rights
<workmad3> anyway... why is #ruby talking about the joys/pains of renting in SF?
<eam> and you can't raise rent to keep pace with inflation
<acl777> eam: exactly.
<eam> rent gets cheaper the longer you rent in SF
<ytti> eam, i'm surprised
baweaver has joined #ruby
Mon_Ouie has quit [Ping timeout: 252 seconds]
<ytti> sounds very unamerican :)
<eam> so you've got folks who moved in 3 decades ago who pay 10% market rates or less
<acl777> workmad3: because we're already happy with #ruby, need to complain about something, eh?! ;-)
bal has joined #ruby
<workmad3> acl777: PHP still exists
bal has quit [Read error: Connection reset by peer]
bMalum_ has joined #ruby
<acl777> workmad3: yes, it does, but not at my job. :-)
ghr has joined #ruby
<pipework> workmad3: I'm not so sure. I've closed my eyes and it appears to have stopped existing.
poguez_ has joined #ruby
<ytti> we have legal limit here how much rent can be increased per year
<eam> ytti: in SF evictions happen when the landlord "goes out of business" http://en.wikipedia.org/wiki/Ellis_Act
bal has joined #ruby
<ytti> that is like 15% or so
<workmad3> acl777: also, I'm british, our fallback is the weather :)
mitchellhenke has joined #ruby
<ytti> my landlord wanted to raise more
<ytti> sent me bunch of letters
<acl777> workmad3: it's raining, eh?!
<ytti> i never signed
<eam> ytti: that's reasonable - SF caps at like 1%
<workmad3> acl777: worse... the sun's out!
<eam> sub-inflationary caps
RTG` has quit [Ping timeout: 272 seconds]
<ytti> then two big guys came to my door and asked me to sign :)
<ytti> decided i want to sign after all
<acl777> workmad3: wtf are you inside then?! go work on your tan!
bMalum has quit [Ping timeout: 272 seconds]
bMalum_ is now known as bMalum
spyderman4g63 has quit [Remote host closed the connection]
dx7_ has quit [Remote host closed the connection]
<workmad3> acl777: the sun is what I call "The evil burning all-seeing eye"
Takle has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
<pipework> workmad3: I call it the 'hatestar'
<pipework> It's a mutual thing.
<shevy> workmad3 it would be very cold without the sun!
bMalum has quit [Client Quit]
<eam> ytti: with ellis the unit can't be rented for a number of years and it's cheaper to let the unit sit vacant than to continue collecting rent at the controlled levels
<pipework> shevy: It's very cold anyways. Why bother?
dx7 has joined #ruby
<eam> which contributes to the lack of inventory
speakingcode has quit [Ping timeout: 252 seconds]
<ytti> eam, my mind is blown
<workmad3> pipework: I like... but I worry that it would take that as a nickname now and assume we're now friends :(
<shevy> pipework it's getting warmer here every day
djbkd has joined #ruby
silentpo2t has joined #ruby
<acl777> workmad3: i love the sun... i couldn't get enough of it in miami.
<shevy> oh Miami
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy> known for warm weather, hot girls and dangerous crocodiles
<pipework> workmad3: Some of my best friends are totally convinced I say horrible things because I like them.
mdcox has left #ruby [#ruby]
<acl777> shevy: never saw any crocs...
shadoi1 has quit [Quit: Leaving.]
<acl777> at least on south beach :-)
<acl777> oh wait, you're talking about the guys?!
<workmad3> pipework: I'm very upfront about that... the more I'm friends with someone, the nastier the shit I'll say to their face :P
<acl777> :-)
<shevy> no I think I really read about crocodiles ... though perhaps it was somewhere else in Florida
<acl777> lol
<acl777> prolly.
djbkd_ has joined #ruby
<jhass> workmad3: pipework you're saying that's not normal?
<pipework> workmad3: Right! But it doesn't mean I like you. I can have relationships with people I don't like and still value them enough to let them think 'friend' is the right word to use.
iamjarvo has joined #ruby
<pipework> jhass: Which part?
speakingcode has joined #ruby
<shevy> who likes workmad3 anyways
Takle has joined #ruby
silentpo2t has quit [Quit: leaving]
iamjarvo has quit [Max SendQ exceeded]
<pipework> I do.
<pipework> He's terrible.
<jhass> pipework: insulting your friends to prove friendship
<workmad3> pipework: sure... those are the people I'm 'friendly' with
bal has quit [Client Quit]
<shevy> he has a mighty beard
* acl777 goes back to work...
<pipework> jhass: :D
<pipework> jhass: In that case, I hope we're not friends, you sick bastard. <3
iamjarvo has joined #ruby
<workmad3> shevy: it's bushy and unruly at least... not sure it's quite 'mighty' yet
maximski has joined #ruby
silentpost has joined #ruby
VBlizzard has joined #ruby
lobolars has joined #ruby
maximski has quit [Max SendQ exceeded]
<shevy> feed it some more burgers
baweaver has quit [Remote host closed the connection]
<shevy> all the parts that the mouth area misses
<workmad3> shevy: I'll let my wife know that I'm under orders to eat more burgers!
maximski has joined #ruby
<shevy> you are a good husband, always informing the wife
<workmad3> who do you think needs to cook the burgers?
<pipework> shevy: Maybe they're wife and wife?
zzing has joined #ruby
<eam> which one's the beard
djbkd has quit [Ping timeout: 252 seconds]
pen has joined #ruby
<pipework> eam: Whoever it is, I bet it's the same color as the carpet, drapes, and armpits
<shevy> pipework I would not know. But what I can say is that married people change a lot. and when kids come up, it changes even more. They have no more time for the old fun things anymore!
_blizzy_ has quit [Ping timeout: 250 seconds]
<pipework> shevy: Are you a breeder?
<workmad3> pipework: no, unfortunately the ginger only comes out in the beard
<pipework> If given the chance, would you be?
<shevy> pipework biologists breed everything
<pipework> workmad3: Then you're a ginger, just a lesser class than those with more tinge of the ginge.
<pipework> shevy: Even yourself?
djbkd_ has quit [Ping timeout: 256 seconds]
<pipework> With someone else, that is.
<shevy> nah
<pipework> \o
<shevy> we only differ in our genome anyway
<eam> old people are still fun
Hijiri has quit [Ping timeout: 250 seconds]
<pipework> I've got too much wrong with me to continue spreading my genetics for the human race's future, let alone the next generation. :(
wildroman2 has joined #ruby
<pipework> shevy: I mean, I'm ginger, so we differ on some level that leaves me with a mutation.
<shevy> no worries, there are others who spread their wrongs happily
<workmad3> eam: I'm really getting into board games in the last year or so
Pumukel has joined #ruby
<pipework> shevy: I'd rather be right than less wrong.
<eam> workmad3: board games are fantastic
<atmosx> shevy: 30 USD to develop and design an RFID attendance system.
<workmad3> eam: any recommendations? :)
pen has quit [Client Quit]
<shevy> atmosx hmmm
jordsmi has quit [Quit: Connection closed for inactivity]
<eam> uh, wife and I have been playing ticket to ride
sgambino_ has quit [Remote host closed the connection]
<atmosx> shevy: you have to start low (low level, low paycheck, etc.)
<shevy> atmosx you mean for the payment stuff right? not because of the content
<pipework> Is that singapore dollars an hour?
<atmosx> shevy: yeah sure, it's silly.
<eam> we stopped playing chess in order to maintain the integrity of our marriage
<workmad3> eam: heh :) one of the first purchases when we were getting more into board games ;)
<pipework> eam: You can never truly lose chess unless you can't find ways to win that don't require winning the game.
<shevy> atmosx well, I dunno... a good friend at age 34 makes almost 100.000 euro a year, he studied economics. I don't want to have to compete with that
<workmad3> eam: latest one was pandemic... Ninja: Legend of the Scorpion Clan is quite fun too, but takes a fair bit of time to play
rbennacer has quit [Remote host closed the connection]
towski__ has joined #ruby
<eam> workmad3: ever play space alert?
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Porfirium has joined #ruby
<workmad3> eam: not come across that one no
<eam> it's a pretty fantastic party game
<workmad3> 'party game'? does that require interaction with more than 2 other people?
wildroman2 has quit [Client Quit]
sevvie has joined #ruby
wallerdev has joined #ruby
<jhass> since we went completely OT now: random though: we should all install pokerth and do a #ruby poker tournament
<jhass> *thought
<shevy> atmosx synthetic biology is cool, you know the BioBricks project?
* atmosx doesn't play poker
fschuindt has quit [Quit: WeeChat 1.1.1]
<atmosx> shevy: nope
<eam> yeah 4 or so, you collaboratively program actions to coordinate astronauts saving their spaceship from attackers
<jhass> atmosx: me neither, I suck at it!
<jhass> that's where the fun comes in
jimms has joined #ruby
<atmosx> jhass: ... okay as long as money is not involved, I'm in.
<eam> under time pressure and other limits (sometimes can't talk) so you get hilarious results when it fails
<shevy> atmosx hmm let me think of a fun project... http://biobuilder.org/eau-that-smell/ E. coli cells that smell like banana :-)
<atmosx> jhass: or maybe play with fractions of btc
wallerdev has quit [Client Quit]
<workmad3> eam: hmm, fun... still not sure where the wife and I come down on co-operative games... pandemic is fun at times, but frequently she gets pissed off at the board being too mean :P
<eam> imagine 4 people writing a concurrent ruby program with 4 threads in just a few minutes without really talking to each other
<jhass> atmosx: pokerth is a open source, no money thingy
towski_ has quit [Ping timeout: 245 seconds]
<workmad3> eam: we lost a game of pandemic before the second turn recently :(
<atmosx> shevy: hahahah, that sucks :-P and it's dangerous!
<shevy> "Eau d?coli" hehehehe
<eam> aah
<shevy> atmosx but it's cool! it is creative! like _why in ruby!
<atmosx> jhass: a friend of mine told me that in order for me to learn poker, (really learn poker) I had to play (and lose) money.
<jhass> sounds reasonable
<atmosx> jhass: yeap.
<eam> and it's best if you lose to him
<jhass> having to drink grappa when you loose works too though IME
<atmosx> jhass: how are you going to do that remotely?
<jhass> yeah, that's a problem
<pipework> I've been thinking of implementing mental poker using ephemeral keys per session.
<workmad3> atmosx: can you not hear the rustling in that tree outside your window?
<pipework> Then building card games on that.
<workmad3> atmosx: that's jhass waiting to force-feed you grappa!
qhartman has quit [Quit: Ex-Chat]
<atmosx> workmad3: hm, well I'm Sicialian I so... I'm kinda used to grappa :-P
* workmad3 has no idea what grappa is
ndrei has quit [Ping timeout: 250 seconds]
<eam> did you hear about the fight that broke out between the two italians at a bar?
<eam> yeah they were grappa-ling
<atmosx> workmad3: Italian highly alcoholic drink
<atmosx> haha
<workmad3> apeiros: can we have a /punban in ruboto please?
<eam> :D
<workmad3> apeiros: 1 minute ban with an automatic message of "No punning, bad eam
<apeiros> no
<workmad3> :(
<apeiros> but there'll be crowdkick/crowdban
<apeiros> so if you can convince enough people eligible for crowd commands…
ndrei has joined #ruby
<pipework> I'd have to be permabanned, because I refuse to stop punning.
RegulationD has joined #ruby
<atmosx> seriously? that's cool, a ne wkind of irc democracy
<eam> looks like apeiros is pun-ting on that ban feature
<atmosx> if enought people request a ban on atroll, troll is banned?
<pipework> That or I'd write a script/bot to keep count of punkicks and frame the situation as points with a high score.
<pipework> atmosx: that's not new.
djbkd has joined #ruby
<workmad3> eam: gah!!!!
<workmad3> eam: you're worse than my brother :(
<atmosx> pipework: I'm new to IRC, since 2001..
<atmosx> never saw that thing
* atmosx was crawling on Undernet though
<pipework> atmosx: It's not been new even within that time, but it hearkens back much further in history
<apeiros> atmosx: yes. and no, not new. and ban time would be limited. but ops would be informed and can prolong the ban.
<atmosx> sounds cool
<pipework> I think it sounds terrible.
<apeiros> it's intended to be a stop-gap as ops can't be expected to be around 100% of the time.
<atmosx> and could work when trolls join and apeiros is not here
<atmosx> yeah
<shevy> what if apeiros is also a troll
<pipework> atmosx: Just appoint more ops that can be trusted?
<atmosx> I figured
beneggett has joined #ruby
<workmad3> atmosx: apeiros isn't the only op nowadays :P
dj_zubehoer has quit []
RegulationD has quit [Remote host closed the connection]
<workmad3> tada!
<atmosx> workmad3: oh well!
<pipework> atmosx: /msg chanserv access #ruby list
<atmosx> workmad3: will they give a payraise for that? :-P
beneggett has quit [Read error: Connection reset by peer]
<apeiros> fear the mad work op
RegulationD has joined #ruby
<workmad3> atmosx: yeah, I got a 3000% payrise for it
<shevy> ack
<atmosx> having @ at ruby should imediately put you in the top-10 ruby-consultants in the UK
devans has quit [Remote host closed the connection]
<pipework> workmad3: What is 3000% of 'who cares'?
<atmosx> rt
<atmosx> rst
<workmad3> pipework: fuck all
beneggett has joined #ruby
<atmosx> cool
<pipework> lawl
<shevy> atmosx perhaps you should work in the UK if you got a good offer
devans has joined #ruby
<atmosx> shevy: I had an offer but wasn't good. Work as a sys-admin in a bio-informatics departmant as some london univ. They wanted ruby and someone that knows what a Bacteria is... so I send them an email and told me that I'd have to take an interview but given my Pharmacy (about-to-get degree) I would probably pass.
RegulationD has quit [Remote host closed the connection]
RTG` has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
spyderman4g63 has quit []
n80 has joined #ruby
<atmosx> shevy: they had some issues with former sys-admin not understanding shit about biol;ogy apparently. However the salary wasn't that good: 45k / year + some tiny bonus. (UK Pounds)
GnuYawk has quit [Ping timeout: 244 seconds]
<atmosx> it's not good for London, I've heard that you can make more as a dev
<atmosx> rails dev
cjim_ has joined #ruby
<atmosx> rails/js/html/css3 (but another couple of buzz-words there and you're up)
<workmad3> atmosx: just about a living wage in london :P
tus has quit [Ping timeout: 252 seconds]
<ytti> i was in 80pound night hotel in london in november
<ytti> it was so terrible, i left to proper one
<ytti> had to pay two nights anyhow :(
<atmosx> workmad3: yeap, I had no idea at the beginning, they looked like 'a lot' to me. Then I talked to a couple of friends that live in London, and told it's not good enough.
<workmad3> ytti: the YMCA?
baweaver has joined #ruby
x1337807x has joined #ruby
djbkd has quit [Ping timeout: 272 seconds]
<atmosx> ytti: last time I went to London I stayed at the Chelsea Hotel. Was nice. Except from the food of course. It was good by UK standards I think.
<workmad3> atmosx: that's about how much I was offered for a london dev job... as a fresh graduate :P
<atmosx> but the food in the UK ... well.
maletor has joined #ruby
<atmosx> it's like the sea.
<ytti> workmad3, no, can't remember the name
baweaver has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
<shevy> atmosx yeah probably. there is also the cost of living, I always shy away from that when I hear it, like London is super expensive
LJT has quit [Quit: Sleeping...]
<atmosx> workmad3: 45k?
<ytti> i could check emails if important :)
devans has quit [Ping timeout: 255 seconds]
<atmosx> workmad3: hehe
<ytti> london also has really terrible building quality
Zen-Zen has joined #ruby
<ytti> you'd need to be hella rich to live nicely in london
<workmad3> ytti: I was trying to make a joke about 80 quid a night being about right for the cheapest hotel possible in london :P
jherbst has quit [Ping timeout: 256 seconds]
sgambino has joined #ruby
<workmad3> atmosx: I think it was 39k + 4k signing bonus... I didn't actually take it though :P
RegulationD has joined #ruby
<atmosx> shevy: I don't think London is much more expensive than Vienna + I'd rather live in Vienna, it's way more beautiful
<shevy> London has one thing going for it - Dunkin' Donuts. Though then I later found out... that is from the USA right? But I saw it in London first... like 16 years ago or so
Zen-Zen has quit [Client Quit]
baweaver has joined #ruby
<ytti> workmad3, we don't have ymca here, i think, so i don't know how that satuff works, i know it only from the song :)
<workmad3> atmosx: ended up deciding that 20k in manchester was actualy about the same amount, and wouldn't require 80+ hour weeks at an investment bank :P
<ytti> shevy, yeah us
dmst has quit [Quit: Connection closed for inactivity]
<atmosx> workmad3: you thought that selling donuts in Picadilly would get a multiple amount? :-P
<ytti> damn us has good fast food
<atmosx> s/in/at
<shevy> atmosx dunno... London is big, I love big cities
dc has joined #ruby
<ytti> easy to be healthy here, when delicious food is so expensive you don't eat it 3 times a day
<shevy> hahaha
rodfersou has quit [Quit: leaving]
<atmosx> shevy: Hm, you should see Istanbul. Way more dangerous/luxurious than London... I think it's the most fascinating city I've been lately.
<atmosx> shevy: it's dangerous though
<ytti> i'd stuff my stupid face hole full of 5guys and dunking donuts in california
<eam> shevy: you need a cronut
<workmad3> ytti: the biggest problem with healthy eating... pure lard is dirt-cheap and tastes fantastic!
<shevy> I used to love english breakfast... they drowned their plates with sausages and eggs, you always had a stuffed stomach afterwards
baweaver has quit [Remote host closed the connection]
<shevy> atmosx I've only ever been to turkey as tourist. I don't really wanna see the rest of the country these days, I'd rather go to Greece!
sevvie has quit [Ping timeout: 256 seconds]
<atmosx> shevy: hahah oh c'mon that thing in the morning makes me wanna vomit :-P
<ytti> i bet britons have hungover every day
<atmosx> shevy: you're very much welcome
<ytti> that's the trick
<shevy> strangely enough I loved that breakfast type
<workmad3> ytti: a lot of them probably are
<shevy> it's so totally unfitting to tea :D
<atmosx> shevy: I live in the North but if you happen to get by, I'll show you around :-). You could stay at my place we have enough room.
<workmad3> shevy: it's apparently good for soaking up the beer and the real ale though :P
<shevy> atmosx hmm the north does not have the mediterranean sea or? I need to have islands and water!
<havenwood> Fried toast, bangers and mash for breakfast and fish and chips with beer for lunch is a quick way to gain a lot of weight.
<atmosx> workmad3: how many lts of beer are you able to drink & keep walking on a straight line?
<workmad3> atmosx: I don't drink :P
<atmosx> shevy: Oh it does, we have the Peninsula of Chalkidiki here.
<shevy> aha
<workmad3> atmosx: when I did... 0 lts of beer (can't stand the foul stuff)
<shevy> there are like a million islands
<workmad3> atmosx: cider and sambuca though... I could knock that back in rather copious amounts :)
<atmosx> shevy: search google images for CHalkidiki.
vudew has joined #ruby
Pumukel has joined #ruby
momomomomo has joined #ruby
<ytti> oh yeah england has cider going for it
baroquebobcat has joined #ruby
<ytti> cider here is really really sweet
<workmad3> havenwood: bangers and mash isn't breakfast
<shevy> atmosx btw do you now have your degree? or do you still have to wait
<ytti> mostly for children
<workmad3> ytti: isn't 'cider' really just apple juice in most places?
<atmosx> workmad3: you know Sabuca is the only drink that makes me lose consciousness after ~ 4 shots.
<ytti> workmad3, i don't think it's that commonly used in most places
<shevy> hehe
<ytti> seems to be rather uncommon
<havenwood> workmad3: That's what they fed us every day for breakfast at Cambridge. It was free so I ate too much. >.>
<shevy> for me it is vodka... that thing literally kills me
<ytti> even in europe
<atmosx> workmad3: I don't rememeber shit. Happened 2 times, one I was in Rhodes (shevy google it,s it's a Greek island) and the second in a local bar,
<shevy> tequila is cool though
<workmad3> havenwood: ah, heh :)
<workmad3> atmosx: I like it flaming with coffee beans :D
<shevy> havenwood why have you been in Cambridge - aren't you living in the USA?
<atmosx> havenwood: what shevy asked :-P
<workmad3> ytti: cider in the UK is always alcoholic is all :P
<havenwood> shevy: Back in law school days. Living in LA now.
<atmosx> workmad3: I generally don't drink alcohol. But if we ever come together, I'll get drunk over Sambuca.
LJT has joined #ruby
<havenwood> I like having class break for tea.
<pipework> workmad3: Anything else is just old apple juice, right?
Jiyuhen has quit [Ping timeout: 256 seconds]
<atmosx> havenwood: you have a law school degree from Cambridge?
<workmad3> atmosx: I've not drunk anything alcoholic for probably 2 years now :P
jimms has quit [Ping timeout: 272 seconds]
Jiyuhen has joined #ruby
<atmosx> workmad3: you've been on therapy?
<workmad3> atmosx: no... just stopped bothering to drink
loechel has joined #ruby
cjim_ has quit [Quit: (null)]
<atmosx> workmad3: I see
psudoze has joined #ruby
<havenwood> atmosx: Just a semester there as exchange. Got my JD stateside.
<workmad3> atmosx: couldn't see the point anymore, all I ever really drank for was to make crowds of people tolerable :P
<shevy> law school wheeee
<ytti> i recall reading metastudy about alcohol consumption
<IceDragon> shevy: something broke my YAML
<IceDragon> >:
<shevy> I should call him havenlawyer
<havenwood> shevy: noooo
<shevy> IceDragon EVERYTHING DOES
<IceDragon> /usr/lib/ruby/gems/2.2.0/gems/basalt-0.12.2/lib/basalt/config/base.rb:18:in `load': undefined method `load_file' for Psych:Module (NoMethodError)
<workmad3> shevy: how about lawyerwood?
<IceDragon> no, something BROKE MY YAML
<shevy> IceDragon especially if you save your yaml file in an ISO encoding
<ytti> and that study concluded that risk drinkers are carrying only slightly worse health risks than people who don't drink at all
<atmosx> IceDragon: you should be using JSON
<IceDragon> SHIT DOESNT BREAK MY SHIT
<shevy> lol
<shevy> a gem called basalt. isn't that a volcano thingy?
<pipework> Shit is stackable.
<atmosx> havenwood: so you're like a 1-semester lawyer?
<shevy> pipework are you the expert on shit man
<jhass> IceDragon: http://www.yaml.de/ ?
<IceDragon> Its my gem for managing my mruby packages :(
tosbourn has joined #ruby
<shevy> oh I see
RegulationD has quit []
<pipework> They're typically FIFO. That is, Feces In Feces Out.
<shevy> the sole mruby guy here, and it's a dragon
<atmosx> hahah
GnuYawk has joined #ruby
<pipework> shevy: I play with it. :(
<atmosx> fifo
<workmad3> ytti: I exercise my liver and kidneys with copious amounts of coffee to make up for the alcohol deficiency ;)
<IceDragon> But it isn't the only one suffering from this, almost anything I using YAML before spazes out with this error after I updated all my gems
<pipework> I feel like I'm talking about software projects I've been paid to hate/work on
<IceDragon> *I was using with YAML
<pipework> workmad3: That's disgusting.
<pipework> Coffee without alcohol. Ew.
Pumukel has quit [Ping timeout: 256 seconds]
loechel is now known as Pumukel
<IceDragon> jhass: noooooes
<atmosx> workmad3: coffee is a strong anti-oxidant althought it gives a good shock to your nevrous system
Sid05 has quit [Ping timeout: 244 seconds]
<atmosx> ops gf calls
<ytti> workmad3, coffee also seems to be quite healthly
_2_Karesand has joined #ruby
<havenwood> atmosx: Just a regular lawyer. I'm still admitted in federal courts and just on "special" status with the bar. Kinda like retired but if I needed to I could go active without taking the bar again.
<ytti> afaik, finns consume most coffee per capita
<ytti> by non-trivial margin
Anarch_ has joined #ruby
FernandoBasso has quit [Read error: Connection reset by peer]
<IceDragon> jhass: we should sue these people and have them rename to YAMCL
<ytti> dutch, what the fuck?
<jhass> IceDragon: they came first ;)
RegulationD has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
<IceDragon> jhass: Nooooooooooooooooooooooooooes
* IceDragon cries
_2_Karesand has left #ruby [#ruby]
<yh> ytti: 2 cups of coffee is not that much
<ytti> yh, consider lot of people don't drink coffee at all
RegulationD has quit [Client Quit]
<havenwood> atmosx: It gets expensive doing the CLE and you don't have to on special status. And the annual fee is much lower.
<atmosx> I could swear that first were the Italians
<IceDragon> 3: thats from 2001
<workmad3> ytti: hmm, that list is pretty surprising... no italians, and the US seems pretty far down the list
<atmosx> I mean the amount of capuccino's produced every morning in Italy is converging to +oo
hmnhf__ has joined #ruby
hmnhf_ has quit [Quit: Konversation terminated!]
<pipework> What's +oo
<ytti> workmad3, US has much cultural diversity
<ytti> workmad3, and some of them are not big coffee drinkers
<pipework> atmosx: ∞ you mean?
<ytti> workmad3, also it's luxory product, so poorest people may not be able to afford to drink it copiously
tosbourn has quit [Ping timeout: 250 seconds]
<jhass> IceDragon: oh, I didn't realize, mh
<IceDragon> let le sueing commence !
<atmosx> pipework: yes!
<workmad3> ytti: I judge americans by the cultural stereotypes their TV imports into my brain... and that states that all americans drink double-shot, grande pumpkin spice frappacinos at every meal!
mjuszczak has quit []
<jhass> but yaml wasn't popular in 2005, was it?
GnuYawk has quit [Ping timeout: 250 seconds]
<IceDragon> actually I'm gonna figure out which gem is messing with my the standard library yaml
<IceDragon> s/my//
<casshern2> cucumber or rspec?
<atmosx> so if anyone here gets sued, havenwood will defend him in court for free and we all can watch the butchery while eating tacos via some live streaming sinatra application?!
<atmosx> Casshern2: these are not mutually exclusive.
mjuszczak has joined #ruby
ramfjord has joined #ruby
aryaching has quit []
<havenwood> atmosx: I always felt like an imposter. I still do now, just a different field. :P
hmnhf has joined #ruby
RegulationD has joined #ruby
<workmad3> havenwood: I sometimes feel like an imposter... then I remember that we let pipework in and all is good with the world again ;)
hmnhf__ has quit [Ping timeout: 256 seconds]
<atmosx> havenwood: :-) nah, it's just a syndrome. You're fine.
ascarter has joined #ruby
freerobby has quit [Quit: Leaving.]
krisquigley has joined #ruby
zapata has quit [Ping timeout: 276 seconds]
Anarch_ has quit [Quit: WILL TROLL FOR FOOD]
ghr has quit [Ping timeout: 256 seconds]
<atmosx> workmad3: I see posts like this https://news.ycombinator.com/item?id=9346730 and I understand why i get job offers... If this guy wants to teach a non-programmer 10 diff disciplines in one go and "throw them" to the market... well then, everybody can do it.
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
<pipework> I have the worst imposter syndrome.
maximski has quit []
freerobby has joined #ruby
zapata has joined #ruby
Pumukel has quit [Ping timeout: 246 seconds]
ascarter has quit [Max SendQ exceeded]
revoohc has quit [Quit: revoohc]
ascarter has joined #ruby
<havenwood> Quick, let's use big fancy words that mean simple things so we know we belong. Polymorphism!
mdarby has quit [Quit: Textual IRC Client: www.textualapp.com]
<workmad3> havenwood: encapsulation!
<GaryOak_> Abstraction
<workmad3> private virtual abstract inheritance!
<atmosx> pipework: I'm getting compliments all day long (from patients/clients) and still I think I suck. Basically I think I suck at anatomy and have a very mediocre grasp of pharmacylogy and pharmacognosy but apparently it works.
<atmosx> pipework: I'm a pharmacist btw
<jhass> AbstractSingletonFactoryBean!
ascarter has quit [Max SendQ exceeded]
maximski has joined #ruby
<workmad3> jhass: Enterprise Service Bus!
okdas has quit [Changing host]
okdas has joined #ruby
maximski has quit [Max SendQ exceeded]
ascarter has joined #ruby
<atmosx> I had a hard time understanding what the Singleton is, until I've read a good article about it.
jcutrell has quit [Quit: jcutrell]
<pipework> atmosx: I've had a personal pharmacist before. Nice guy. I think he's dead though... far before his time.
krisquigley has quit [Ping timeout: 256 seconds]
<workmad3> atmosx: and then you realised it was "Fancy wrapper around global variables so we don't feel bad about using it again"?
LJT has quit [Quit: Sleeping...]
maximski has joined #ruby
ascarter has quit [Max SendQ exceeded]
maximski has quit [Max SendQ exceeded]
<atmosx> workmad3: well, no. LOL
ghr has joined #ruby
<atmosx> workmad3: but that's a good description.
<pipework> Whale, no.
<workmad3> atmosx: that's the only thing I've ever seen singletons used for :P
<jhass> to be fair it's actually a lazily initialized constant, most of the time
ta has joined #ruby
<pipework> A singleton isn't necessarily about globals.
ascarter has joined #ruby
<atmosx> lazily, what does lazily even mean?
<jhass> on first request/access
<atmosx> workmad3: see... What you started?
maximski has joined #ruby
<pipework> It's about an object always returning the same shit even when you think you're asking for something else. There's also other stuff around mutexes/locks, but ehg
maximski has quit [Max SendQ exceeded]
<workmad3> pipework: oh yeah, a good singleton is a threadsafe global variable!
ascarter has quit [Max SendQ exceeded]
<pipework> workmad3: Admittedly.
failshell has quit [Remote host closed the connection]
mjuszczak has quit []
<atmosx> Ruby is amazing. It's simple enough to write procedural code if you want to and complex enough to indulge into metaprogramming if you'd like to and talk all day long about abstract concepts.
ascarter has joined #ruby
<pipework> atmosx: It's just making computers turn things off and on again quickly. We're just sophisticated IT people. :(
maximski has joined #ruby
<atmosx> So can you share an ORM connection through multiple files in a Sinatra application ina thread-safe mode?
maximski has quit [Max SendQ exceeded]
<pipework> atmosx: 'files'?
mjuszczak has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
<pipework> What of files?
<workmad3> imposter!!!!
<pipework> workmad3: Go fuck yourself. <3
<workmad3> pipework: not you, atmosx :P
djbkd has joined #ruby
maximski has joined #ruby
<pipework> workmad3: Same response.
<atmosx> lol
<pipework> Deep down, everyone knows they're imposters.
maximski has quit [Max SendQ exceeded]
ramfjord has quit [Quit: Lost terminal]
<atmosx> pipework: now let's wait and see if consultant workmad3 can come up with a well documented answer :-P
<pipework> We're all just participants and audience to the biggest con ever, reality./
ramfjord has joined #ruby
<workmad3> atmosx: a) not sure why you think I'm a consultant :P b) I don't feel the need to try and apply meaning to your nonsense ;)
cpt_yossarian has quit [Read error: Connection reset by peer]
maximski has joined #ruby
<atmosx> workmad3: ... that hurt my feelings.
<pipework> workmad3: I think he started with 'con', but didn't think it was as funny as the subtlety of consultant.
maximski has quit [Max SendQ exceeded]
cpt_yossarian has joined #ruby
<workmad3> atmosx: it's friday... go drink them better ;)
<atmosx> workmad3: nah, I'll wait my gf and watch a movie.
<atmosx> I'm too bored to get dressed and go out
maximski has joined #ruby
<pipework> What's the opposite of consultant? Someone who knows what they hell they're doing, but doesn't make as much money.
<IceDragon> shevy: gem psych 2.0.13, dunno who or what installed it, it overrode the system psych
<pipework> You thought I was gonna say prosultant. I know it.
maximski has quit [Max SendQ exceeded]
<workmad3> pipework: I was gonna say 'competent' personally
<IceDragon> jhass: I figured out the yaml problem :3
<jhass> IceDragon: you used bootstrap instead?
<atmosx> pipework: Have you read the story of the '500 mile' email?
mengu has joined #ruby
<pipework> atmosx: I'm illiterate, sir.
<atmosx> 500 miles email or something.
momomomomo has quit [Ping timeout: 272 seconds]
maximski has joined #ruby
<IceDragon> jhass: Nah, I removed the rubygems psych, I have no idea where it came from all of a sudden
<atmosx> pipework: well, we're chatting which implies reading.
maximski has quit [Max SendQ exceeded]
<pipework> atmosx: TTS?
<pipework> Maybe someone's taking dictation and typing for me?
<atmosx> pipework: lol srsly?
<pipework> Maybe I'm a superior being? (no chance, far too ginger)
<pipework> atmosx: I mean, you can't really know, miaow can you?
Hijiri has joined #ruby
maximski has joined #ruby
<atmosx> pipework: no, but I believe in statistics..
<workmad3> atmosx: it's a well known 'fact' that you need a soul to read, and also a well known 'fact' that gingers have no souls!
<pipework> atmosx: Do you know how to lie with them?
maximski has quit [Max SendQ exceeded]
<atmosx> so the chances of you being a cat are kinda .. outside the bell.
<atmosx> pipework: of course
<pipework> atmosx: I think you've convinced yourself of the lie that statistics is information and not data.
<atmosx> pipework: choose the sample/approach and you're all done.
<workmad3> atmosx: without a soul, you may be able to stare at words, garner understanding and produce responses... but you're not reading, because only 'true' people with 'souls' can achieve that transcedant state!
bradleyprice has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
fabrice31 has joined #ruby
<pipework> workmad3's a low level ginger. I'm not sure if that means he has some soul, or not. I'm first class. Ginger as fuck.
cjim_ has joined #ruby
<atmosx> pipework: I think that you're making too many assumptions there. That said statistics can be extremely useful and help you turn data in to real/useful info if you apply them correctly.
werelivinginthef has joined #ruby
<workmad3> atmosx: are you a frequentist or a bayesian?
maximski has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
maximski has quit [Max SendQ exceeded]
silentpost has quit [Ping timeout: 250 seconds]
bradleyp_ has quit [Ping timeout: 252 seconds]
<pipework> workmad3: I'm a liar, like everyone who comports themselves as someone who knows statistics.
maximski has joined #ruby
<atmosx> workmad3: depends on the situation.
maximski has quit [Max SendQ exceeded]
sevvie has joined #ruby
<atmosx> pipework reminds of Socrates.
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<atmosx> he knows that he doesn't know (but still knows more than anyone else, so apparently eveyone else doesn't know shit... it's a vicious cycle).
<workmad3> atmosx: so you think that probabilities actually have a different fundamental meaning based on 'situation'?
maximski has joined #ruby
<atmosx> workmad3: based on factors
maximski has quit [Max SendQ exceeded]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<workmad3> atmosx: ok... and how do you judge which factors influence what the meaning of a probability is in a particular situation? :P
a5i has quit [Quit: Connection closed for inactivity]
<workmad3> atmosx: note, we're not talking about what the probabilities are, but what the abstract concept 'probability' actually means
maximski has joined #ruby
cjim_ has quit [Read error: Connection reset by peer]
cjim_ has joined #ruby
maximski has quit [Max SendQ exceeded]
fabrice31 has quit [Ping timeout: 256 seconds]
maximski has joined #ruby
<atmosx> workmad3: I'm not sure I understand the question at this point
maximski has quit [Max SendQ exceeded]
dblessing has joined #ruby
<workmad3> atmosx: heh :) I'm not sure I do either tbh ;)
dblessing has quit [Client Quit]
<workmad3> atmosx: I just thought I'd challenge you on the 'I believe in statistics' statement and picked the standard "frequentist vs bayesian" philosophical interpretation to challenge you on :P
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
<atmosx> workmad3: Well mys tatement still stands: I believe in the power of probability in order to preduct the next outcome *when applied correctly*.
naftilos76 has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
maximski has joined #ruby
<workmad3> atmosx: personally, I think most probabilites are really statements about a particular observer's lack of knowledge of a situation, rather than a fundamental attribute of the situation being observed
maximski has quit [Max SendQ exceeded]
_honning_ has quit [Ping timeout: 244 seconds]
<workmad3> atmosx: which is more of a bayesian interpretation... but it does seem that there are some (but not many) truly objective probabilities in the universe too, such as radioactive decay, where the frequentist interpretation may be applicable
maximski has joined #ruby
<mjuszczak> Is there a way to take a string and just have the first 15 characters of it?
<atmosx> workmad3: I seriously though thought you were a consultant.
<pipework> mjuszczak: Have you looked at the documentation for String?
<mjuszczak> reading through it now
<pipework> Or the guhzillionty google results?
brb3 has quit [Quit: <.<]
<mjuszczak> but nothing has come up as obvious. Saw chop and chomp.
<jhass> mjuszczak: String#[]
tier has quit []
joonty has joined #ruby
<workmad3> atmosx: heh :) I've done stuff that's pretty 'consultancy' at times (because of some of the projects we've had in), but I'm just a developer... also about to change jobs, so pretty soon I'll really just be a developer all the time :P
joonty has quit [Client Quit]
<atmosx> workmad3: nice
<workmad3> *consultanty?
cartothemax has quit [Quit: Leaving...]
teddyp1cker has quit [Ping timeout: 255 seconds]
<pipework> consultainty
lanemeyer has quit [Ping timeout: 248 seconds]
pipecork has joined #ruby
<pipecork> hi
<atmosx> >> [*"A".."Z"].join[1..15].length
<ruboto> atmosx # => 15 (https://eval.in/311888)
<atmosx> taram, magic!
n80 has quit [Quit: n80]
<jhass> atmosx: that's skipping the first one though :P
<workmad3> atmosx: [0,15] would also do it ;)
<atmosx> jhass: true
maximski has quit [Ping timeout: 256 seconds]
<atmosx> >> [*"A".."Z"].join[0..14].length; puts "Jhass loves being pedantic"
<ruboto> atmosx # => Jhass loves being pedantic ...check link for more (https://eval.in/311889)
<pipecork> pipework: who the hell are you
mitchellhenke has joined #ruby
<pipework> pipecork: Approximately, 'yes'.
JDiPierro has quit [Remote host closed the connection]
The_Phoenix has quit [Read error: Connection reset by peer]
DEA7TH has joined #ruby
<atmosx> workmad3: hm, yeah [0,15] looks pretier
<pipecork> pipework: this is freaking me out
<pipecork> pipework: are we to be allies? or bitter enemies?
<pipework> pipecork: It's okay babe, you don't remember me, but I'm willing to earn your love again.
ghostmoth has quit [Quit: ghostmoth]
<pipework> We've been through this before, and I'll be damned if I'm going to ever let you down again.
<pipecork> kill -9 pipework
<pipecork> systemctl stop pipework
RTG` has quit [Ping timeout: 272 seconds]
<workmad3> service pipework stop
<pipework> sudo betch
chrishough has joined #ruby
<workmad3> fuck...
werelivinginthef has quit [Remote host closed the connection]
<workmad3> sudo service pipework stop
Vile` has quit [Ping timeout: 250 seconds]
<pipecork> mike_pizza: i need your help
lordkryss has quit [Quit: Connection closed for inactivity]
wallerdev has joined #ruby
babykosh has joined #ruby
<pipework> workmad3: Sorry, user workmad3 is not allowed to execute 'service' as root on pipework.trust.
<workmad3> damn these privilege escalation protections :(
Filete has joined #ruby
shadeslayer has quit [Ping timeout: 250 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
evanjs has quit [Remote host closed the connection]
ghr has joined #ruby
bigmac has joined #ruby
wldcordeiro has joined #ruby
RTG` has joined #ruby
Vile` has joined #ruby
bigmac_ has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Remote host closed the connection]
hmnhf has quit [Ping timeout: 264 seconds]
v0id has quit [Quit: Leaving]
bigmac__ has joined #ruby
ldnunes has quit [Quit: Leaving]
x1337807x has joined #ruby
bigmac has quit [Ping timeout: 246 seconds]
hmnhf_ has joined #ruby
<atmosx> I'm gonna grab a book and crash to bed, night all =)
<havenwood> g'night
bigmac has joined #ruby
pietr0 has joined #ruby
bigmac_ has quit [Ping timeout: 250 seconds]
VBlizzard is now known as _blizzy_
shazaum has quit [Quit: Leaving]
bigmac__ has quit [Ping timeout: 248 seconds]
<workmad3> atmosx: night :) I'm off now too methinks
VBlizzard has joined #ruby
robertt_dex has quit [Ping timeout: 264 seconds]
bigmac_ has joined #ruby
mengu has quit [Remote host closed the connection]
werelivinginthef has joined #ruby
bigmac__ has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
bigmac has quit [Ping timeout: 265 seconds]
ta has quit [Remote host closed the connection]
sgambino has quit [Quit: Leaving...]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_blizzy_ has quit [Ping timeout: 250 seconds]
LJT has joined #ruby
bigmac has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
jenrzzz has quit [Quit: Lost terminal]
shadeslayer has joined #ruby
jenrzzz has joined #ruby
bigmac_ has quit [Ping timeout: 244 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
mjuszczak has quit []
ghr has quit [Ping timeout: 255 seconds]
Phage^ is now known as Phage
xenokiller has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
bigmac_ has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<willharrison> https://gist.github.com/willharrison/990969c9d3dc9cc61a31 is there a syntax error in this?
duggiefresh has quit []
bigmac__ has quit [Ping timeout: 252 seconds]
<willharrison> getting syntax error, unexpected tCONSTANT, expecting '(' on line 2
_honning_ has joined #ruby
bigmac__ has joined #ruby
<apeiros> willharrison: you want more parens
bigmac has quit [Ping timeout: 244 seconds]
<jhass> because of the precedence rules of &&
<jhass> you could use and, but most people prefer to add the parens instead
<apeiros> precedence of `not` might also matter. but not sure.
<undeadaedra> there is no such thing as too many parents
<willharrison> backup key if (File.exists?(path(key)) && not File.symlink?(path(key)))
bigmac has joined #ruby
<apeiros> I tend to just stay on the safe side of things. also because it's easier on the reader.
<willharrison> still not working
Spami has joined #ruby
<apeiros> "not working"
<willharrison> nvm
<willharrison> needed them around the not
<jhass> willharrison: or just use ! instead
bigmac_ has quit [Ping timeout: 250 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
bigmac_ has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
bigmac__ has quit [Ping timeout: 240 seconds]
bim has joined #ruby
tvw has quit []
bigmac__ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pipecork> pipework: i will kill you
<havenwood> pipecork: That's not allowed: http://ruby-community.com/pages/user_rules
Ellis has joined #ruby
Pharaoh2 has quit [Disconnected by services]
Pharaoh2_ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ellis> is bubble sort a data structure? it doesn’t explicity say so on the wiki page
<Hijiri> it's an algorithm
<jhass> no, it's an algorithm
cpt_yossarian has quit [Quit: And then he took off.]
<willharrison> jhass thanks, that works too
bigmac has quit [Ping timeout: 245 seconds]
Azure has joined #ruby
dc has quit [Remote host closed the connection]
VBlizzard is now known as _blizzy_
tesuji has quit [Ping timeout: 272 seconds]
<willharrison> https://github.com/willharrison/dotfiles/blob/master/install.rb would yall consider this script bad style or is it ok?
amdbcg has quit [Ping timeout: 248 seconds]
<willharrison> is it doing things the 'ruby way'?
<apeiros> I'm surprised how often we link the rules in this short time :-S
<apeiros> puts the "linkable rules" task higher in my priority list
<pipecork> not seeing anything in here about homicide
bigmac has joined #ruby
bigmac_ has quit [Ping timeout: 245 seconds]
<undeadaedra> apeiros: rtfr?
<apeiros> rtfr?
<pipecork> pipework: the rules cannot protect yo
oddskill_away is now known as oddskill
<jhass> apeiros: read the nice rules I assume
<apeiros> pipecork: "Be polite, considerate and inclusive. Treat others with respect." applies
<apeiros> also "If you behave rudely"
bim has quit [Ping timeout: 250 seconds]
bigmac_ has joined #ruby
<pipecork> warning him of an impending doom was my attempt at courtesy
bigmac__ has quit [Ping timeout: 256 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
doodlehaus has quit [Remote host closed the connection]
<undeadaedra> I don’t know who was messing with OS X and gems earlier
<apeiros> pipecork: you'll have to warn him through other means than this channel. here it's a bannable offense.
<jhass> willharrison: on line 26, use interpolation "#{old_file_path}#{Time.now}"
<apeiros> pipecork: also this argument is over.
<willharrison> jhass ah good catch
ferr has joined #ruby
LJT has quit [Quit: Sleeping...]
bigmac__ has joined #ruby
<jhass> willharrison: I'm not sure why FILES is a hash
<pipecork> fair enough. as stephen king warned "the only feeling worse than terror is dread"
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
blackmesa has joined #ruby
<jhass> willharrison: but anyway, I'd name the block arguments differently than key, value
<jhass> the lookup via path when you already have the value seems redundant too
<willharrison> k, I am taking out the hash then
<willharrison> just making it an array
<jhass> and finally line 46 is a rather uncommon idiom in Ruby
<jhass> so not too bad
bigmac has quit [Ping timeout: 244 seconds]
bigmac has joined #ruby
<willharrison> how can I make it run without using line 46?
mjuszczak has joined #ruby
<jhass> since we like to do gems, you would easily split it into two files
<jhass> one that users of the gem can use as a library
mjuszczak has quit [Client Quit]
<jhass> and an executable that just drives your library
<willharrison> ah ok, I see
djbkd_ has joined #ruby
lidenskap has joined #ruby
bigmac_ has quit [Ping timeout: 255 seconds]
dfinninger has quit [Remote host closed the connection]
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
werelivinginthef has joined #ruby
Pharaoh2_ is now known as Pharaoh2
<jhass> so even if you do not intent to package it up as a gem, splitting it into a bin/ and a lib/ dir is a common thing to see
LJT has joined #ruby
mjuszczak has joined #ruby
Ellis has left #ruby [#ruby]
wldcordeiro has quit [Quit: Leaving]
bigmac_ has joined #ruby
<pipecork> hit_list = Array.new()
codecop has quit [Remote host closed the connection]
<pipecork> hit_list << "pipework"
<jhass> otoh if you never intend it to be used as a library, just always running it is fine too IMO
pipecork was kicked from #ruby by apeiros [seriously]
<willharrison> jhass I will see about splitting it up just to get used to doing that
bigmac__ has quit [Ping timeout: 264 seconds]
<jhass> willharrison: I'm not saying it's wrong to do that, or the wrong way, or that I never saw it before, just that it's a bit uncommon
yqt has joined #ruby
<willharrison> I understand
speakingcode has quit [Ping timeout: 246 seconds]
bigmac__ has joined #ruby
<jhass> apeiros: and that before I could teach him that we don't do empty parens in ruby!
<havenwood> Not using Array literal, tsk tsk.
<undeadaedra> jhass: invite him, teach him, kick him.
<apeiros> jhass: what? you wouldn't have shown him the array literal?
bigmac has quit [Ping timeout: 246 seconds]
<jhass> second step
<jhass> do you never break your problems into smaller pieces?
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dorei has joined #ruby
Ellis has joined #ruby
bigmac has joined #ruby
speakingcode has joined #ruby
djbkd_ has quit [Ping timeout: 252 seconds]
<undeadaedra> I break my ennemies into smaller pieces.
<Ellis> so i read that arrays and stacks are linear data structures, i know how to make those using ruby, can i make a tree and a graph in ruby?
lewix has joined #ruby
lewix has joined #ruby
jerius has quit [Quit: /quit]
<jhass> yes
FernandoBasso has joined #ruby
<lewix> hello guys
bigmac_ has quit [Ping timeout: 256 seconds]
bigmac_ has joined #ruby
reinaldob has quit [Remote host closed the connection]
<Ellis> jhass: how do you make trees and graphs?
<jhass> you implement them usually or use a gem that ships an implementation
yh has quit [Ping timeout: 252 seconds]
marr has quit []
bigmac__ has quit [Ping timeout: 252 seconds]
<Ellis> jhass: can you give an example of one
<jhass> no, I'd have to search
bigmac__ has joined #ruby
<havenwood> willharrison: `require 'fileutils'` lowercase
<willharrison> havenwood thanks
bigmac has quit [Ping timeout: 246 seconds]
<havenwood> willharrison: no prob, a case sensitive filesystem will balk
<havenwood> >> require 'FileUtils'
<ruboto> havenwood # => cannot load such file -- FileUtils (LoadError) ...check link for more (https://eval.in/311894)
<havenwood> >> require 'fileutils'
<ruboto> havenwood # => true (https://eval.in/311895)
<willharrison> I see, I have changed it
lkba has joined #ruby
decoponio has quit [Quit: Leaving...]
<Ellis> jhass: k thanks ill search for it
bigmac has joined #ruby
sinkensabe has joined #ruby
bigmac_ has quit [Ping timeout: 250 seconds]
TheKruex has quit []
rhllor has quit [Quit: rhllor]
bigmac_ has joined #ruby
yh has joined #ruby
bigmac__ has quit [Ping timeout: 264 seconds]
evanjs has joined #ruby
happyface has joined #ruby
bigmac__ has joined #ruby
psudoze has quit [Quit: leaving]
_honning_ has quit [Ping timeout: 276 seconds]
mjuszczak has quit []
<havenwood> willharrison: You can drop the `(user)` on line 16 since `Dir.home` defaults to current user.
bigmac has quit [Ping timeout: 264 seconds]
anaeem___ has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
<willharrison> havenwood the reason I added the user is in case the home environment isn't set
bigmac has joined #ruby
<willharrison> according to rubytapas
bigmac_ has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
<havenwood> willharrison: `Dir.home(@user)` saves a method lookup if you want to leave it. I'm curious what rubytapas says, any idea which episode?
bigmac_ has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bigmac__ has quit [Ping timeout: 264 seconds]
<havenwood> willharrison: Never mind, found it.
<willharrison> ep 10
<havenwood> thanks
<willharrison> np
<havenwood> willharrison: Aha, good tip!
bigmac__ has joined #ruby
<willharrison> indeed it is
mjuszczak has joined #ruby
bigmac has quit [Ping timeout: 256 seconds]
<willharrison> well guys I have to go
<willharrison> thanks for the help
bigmac has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has quit [Remote host closed the connection]
bigmac_ has quit [Ping timeout: 265 seconds]
OrbitalKitten has joined #ruby
bigmac_ has joined #ruby
baweaver has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
bigmac__ has quit [Ping timeout: 265 seconds]
ghostmoth has joined #ruby
bigmac__ has joined #ruby
ferr has quit [Read error: Connection reset by peer]
<oddskill> hejo listen what im say o oh
baweaver has joined #ruby
<Ellis> what the hell is a struct? i can’t find a good explanation
aghalarp has joined #ruby
<oddskill> a great philosopher once wrote something i want all of u to hear
<undeadaedra> The doc for Struct ?
bigmac has quit [Ping timeout: 272 seconds]
<undeadaedra> jhass, apeiros: we have a command in the bot for documentation lookup?
<jhass> nope
<apeiros> undeadaedra: write a cinch plugin, I'll add it
werelivinginthef has quit [Remote host closed the connection]
<undeadaedra> okay
<apeiros> match /ri/
bluOxigen has quit [Ping timeout: 256 seconds]
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
<ramfjord> Struct.new(:a, :b) is like Class.new { attr_accessor :a, :b }
bigmac_ has quit [Ping timeout: 256 seconds]
Zai00 has quit [Quit: Zai00]
cranq has quit [Ping timeout: 265 seconds]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
bigmac has joined #ruby
<oddskill> nunzi nunzi very nunzy
<jhass> oddskill: how's your Ruby?
<apeiros> match /ri (…item…)/
<apeiros> ramfjord: also adds initializer, #[], #[]= and ::members
<apeiros> ramfjord: other than that, it's quite close :)
sinkensabe has quit [Remote host closed the connection]
bigmac__ has quit [Ping timeout: 245 seconds]
bigmac_ has joined #ruby
cranq has joined #ruby
<oddskill> no spam. clean bacon https://www.youtube.com/watch?v=YFJdUJg4wOk
<Ellis> a struct is like a class but that doesn’t do any data manipulation?
bigmac__ has joined #ruby
<ramfjord> a Struct.new(:balh) *is* a class
<jhass> oddskill: OT is okay, if you're in a conversation. You are not.
<jhass> last notice
<oddskill> but if he has mothods its a real claass
maximski has joined #ruby
<jhass> !kick oddskill I'm serious
oddskill was kicked from #ruby by ruboto [I'm serious]
devans has joined #ruby
Sgeo has joined #ruby
oddskill has joined #ruby
<oddskill> ok i behave probably
<jhass> good :)
<oddskill> tx
<oddskill> just good to much jägermeisters spent
<jhass> figured ;)
<oddskill> germany is a bitch lol ok now i shut up
RegulationD has quit [Remote host closed the connection]
bigmac has quit [Ping timeout: 245 seconds]
<wasamasa> ...
snockerton has joined #ruby
RegulationD has joined #ruby
bigmac has joined #ruby
<oddskill> ... is the portal to speak in capital LETTERS i heard
sinkensabe has joined #ruby
bigmac_ has quit [Ping timeout: 272 seconds]
<oddskill> i dif ruby because its so well structured, but i miss brackets lol
<oddskill> dig
Yzguy has joined #ruby
bigmac_ has joined #ruby
bigmac__ has quit [Ping timeout: 244 seconds]
bobbrez has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> write some code now, makes for some fun tomorrow
devans has quit [Ping timeout: 250 seconds]
<oddskill> hmm nice idea
<oddskill> time machine feeling kind of
<oddskill> robably
<oddskill> pr
<oddskill> whatever
bigmac__ has joined #ruby
lewix has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
<oddskill> ok guys have a good one, sry for behaving to be kicked, cu l8ters
<Ellis> just read about structs, and they don’t make any sense … anyone kind enough to explain to little old me the value of a struct?
speakingcode has quit [Ping timeout: 246 seconds]
<undeadaedra> Ellis: it stores data
bigmac has quit [Ping timeout: 276 seconds]
<Ellis> undeadaedra: why not just use a variable
bigmac has joined #ruby
<undeadaedra> You define fields on a struct, this gives a class
<undeadaedra> It stores /multiple/ data
<Ellis> what are fields
charliesome has joined #ruby
<undeadaedra> It’s a shortcut for creating a class with the same fields
mostlybadfly has quit [Quit: Connection closed for inactivity]
<undeadaedra> Fields, er.
bigmac_ has quit [Ping timeout: 276 seconds]
bigmac__ has quit [Ping timeout: 240 seconds]
bigmac_ has joined #ruby
<undeadaedra> variables inside the object
lobolars has quit [Remote host closed the connection]
Mark-6ma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<undeadaedra> you create a struct with Name = Struct.new(:a, :b)
<undeadaedra> This creates a sort of template of variable composed of fields a and b
HayesHimself has quit [Quit: Textual IRC Client: www.textualapp.com]
<undeadaedra> Then, you can create such variables with obj = Name.new
<undeadaedra> or, if you want to set what is inside, obj = Name.new(value_for_a, value_for_b)
jeff_laplante has quit [Remote host closed the connection]
<undeadaedra> and then access through obj.a and obj.b
maximski has quit []
Asher has quit [Ping timeout: 245 seconds]
<undeadaedra> I hope this at least makes you see it better ?
bigmac__ has joined #ruby
apoplexy has quit [Ping timeout: 264 seconds]
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
<jhass> Ellis: you can skip over them for now. In Ruby Struct is just a shorthand to write a class that does nothing but contain a few attributes. Somebody might nitpick you for writing such a class instead of using Struct, but that's all
<Ellis> undeadaedra: ty for explaining it i appreciate it
<Ellis> jhass: thanks
bigmac has quit [Ping timeout: 264 seconds]
krisquigley has joined #ruby
charliesome has quit [Ping timeout: 252 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
bigmac has joined #ruby
<undeadaedra> Ellis: :)
bigmac_ has quit [Ping timeout: 255 seconds]
bigmac_ has joined #ruby
cpt_yossarian has quit [Ping timeout: 264 seconds]
SouL_|_ has joined #ruby
jobewan has quit [Quit: Leaving]
pika_pika has quit [Ping timeout: 245 seconds]
bigmac__ has quit [Ping timeout: 245 seconds]
mjuszczak has quit []
bigmac__ has joined #ruby
mitchellhenke has joined #ruby
bigmac has quit [Ping timeout: 250 seconds]
krisquigley has quit [Ping timeout: 245 seconds]
Joufflu has quit [Ping timeout: 245 seconds]
bigmac has joined #ruby
bigmac_ has quit [Ping timeout: 265 seconds]
vivekananda has quit [Ping timeout: 244 seconds]
bigmac_ has joined #ruby
mengu has joined #ruby
bigmac__ has quit [Ping timeout: 264 seconds]
fnordperfect has quit [Ping timeout: 244 seconds]
bim has joined #ruby
bigmac__ has joined #ruby
mjuszczak has joined #ruby
bigmac has quit [Ping timeout: 264 seconds]
bigmac has joined #ruby
mengu has quit [Ping timeout: 252 seconds]
last_staff has joined #ruby
bigmac_ has quit [Ping timeout: 256 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
bigmac_ has joined #ruby
silentpost has joined #ruby
workmad3 has joined #ruby
Porfirium has quit [Quit: Porfirium]
bim has quit [Ping timeout: 255 seconds]
jeramy_s has joined #ruby
bigmac__ has quit [Ping timeout: 272 seconds]
snath has quit [Ping timeout: 252 seconds]
bigmac__ has joined #ruby
greenbagels has joined #ruby
sinkensabe has quit [Remote host closed the connection]
bigmac has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
riotjones has joined #ruby
rajeshchawla has quit [Remote host closed the connection]
bigmac_ has quit [Ping timeout: 272 seconds]
bigmac has joined #ruby
ndrei has joined #ruby
bigmac_ has joined #ruby
bigmac__ has quit [Ping timeout: 264 seconds]
bigmac__ has joined #ruby
oddskill is now known as oddskill_away
fabrice31 has quit [Ping timeout: 265 seconds]
mjuszczak has quit []
silentpost has quit [Read error: Connection reset by peer]
mjuszczak has joined #ruby
silentpost has joined #ruby
juanpablo____ has joined #ruby
riotjones has quit [Ping timeout: 250 seconds]
bigmac has quit [Ping timeout: 264 seconds]
bigmac has joined #ruby
keen____ has quit [Read error: Connection reset by peer]
bigmac_ has quit [Ping timeout: 265 seconds]
reinaldob has joined #ruby
bigmac_ has joined #ruby
bigmac__ has quit [Ping timeout: 276 seconds]
juanpablo____ has quit [Read error: Connection reset by peer]
juanpablo____ has joined #ruby
keen____ has joined #ruby
bigmac__ has joined #ruby
juanpablo___ has quit [Ping timeout: 276 seconds]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bigmac has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
mozzarella has quit [Quit: WeeChat 1.1.1]
reinaldob has quit [Ping timeout: 244 seconds]
mozzarella has joined #ruby
WajidKagzi has joined #ruby
bigmac has joined #ruby
bigmac_ has quit [Ping timeout: 245 seconds]
juanpablo____ has quit [Ping timeout: 264 seconds]
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
mozzarella has quit [Client Quit]
bigmac__ has quit [Ping timeout: 256 seconds]
bigmac_ has joined #ruby
mozzarella has joined #ruby
Ellis has quit [Quit: Ellis]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jordsmi has joined #ruby
bigmac__ has joined #ruby
lanemeyer has joined #ruby
cjim_ has quit [Quit: (null)]
lidenskap has quit []
bigmac has quit [Ping timeout: 255 seconds]
bigmac_ has quit [Ping timeout: 246 seconds]
bigmac has joined #ruby
lidenskap has joined #ruby
Matthews_ has quit [Remote host closed the connection]
bigmac__ has quit [Ping timeout: 255 seconds]
Ellis has joined #ruby
cjim_ has joined #ruby
teddyp1cker has joined #ruby
bigmac_ has joined #ruby
apoplexy has joined #ruby
bigmac__ has joined #ruby
dseitz has joined #ruby
djbkd has joined #ruby
bigmac has quit [Ping timeout: 245 seconds]
icebourg has quit []
nettoweb has joined #ruby
bigmac_ has quit [Ping timeout: 240 seconds]
bigmac has joined #ruby
iasoon has quit [Ping timeout: 252 seconds]
teddyp1cker has quit [Ping timeout: 256 seconds]
kirun has quit [Quit: Client exiting]
bigmac__ has quit [Ping timeout: 256 seconds]
bigmac_ has joined #ruby
apoplexy has quit [Ping timeout: 256 seconds]
Sgeo has quit [Ping timeout: 244 seconds]
vivekananda has joined #ruby
bigmac__ has joined #ruby
Sgeo has joined #ruby
<dudedudeman> hi beauties
<dudedudeman> question
<dudedudeman> where does my has_many relationship go? I'm assuming not in my migrations class?
<dudedudeman> i'm working on a project outside of rails that uses activerecord
<ramfjord> hey babe
<ramfjord> still put it in your activerecord class
<dudedudeman> i've created my two migrations, now i'm just looking to fill them out properly so I can run rake db:migrate
oddskill_away is now known as oddskill
bigmac has quit [Ping timeout: 240 seconds]
bigmac has joined #ruby
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
<dudedudeman> so in my ActiveRecord::Base class?
<dudedudeman> or ActiveRecord::Migration
<mozzarella> in your models
<dudedudeman> ah. ok ok. this makes sense
<ramfjord> if you're still using activerecord, don't you still have class Blah < ActiveRecord::Base?
<dudedudeman> umm, yes, but I believe I'm just a step before that. i'm setting up my migrations now
<dudedudeman> i haven't actually run rake db:migrate yet
<dudedudeman> just rake db:create_migrations
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bigmac_ has quit [Ping timeout: 250 seconds]
<baweaver> Might be of note that there's a #RubyOnRails channel if you need more specific help
bigmac_ has joined #ruby
<dudedudeman> that's good to know baweaver. thanks!
maximski has joined #ruby
<dudedudeman> i'd just be worried about getting flamed for not using RoR for my project :P
wallerdev has quit [Quit: wallerdev]
casadei has joined #ruby
<dudedudeman> can i riddle you guys with a database question?
bigmac__ has quit [Ping timeout: 250 seconds]
<weaksauce> It's actually surprisingly simple to use AR outside of rails
threh has joined #ruby
<dudedudeman> i have two tables that i want to end up with
<baweaver> just noting it.
<dudedudeman> table A and table B
nettoweb has joined #ruby
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dudedudeman> table A has_many table b's and table B belongs to table A
<ramfjord> dudedudeman: I frequently have the same problem
baroquebobcat has quit [Quit: baroquebobcat]
bigmac has quit [Ping timeout: 264 seconds]
<dudedudeman> i know AR will set up the primary keys for me
<ramfjord> sorry I'm not familiar with activerecord migrations - i prefer to use actual sql in those
<dudedudeman> but i'm unsure if i should tell AR to set up a tableA_id in my table B?
<dudedudeman> It's ok! i'm spitballing. any little tid bit helps
mitchellhenke has joined #ruby
<ramfjord> basically you want a foreign key constraint enforced by the database right?
<dudedudeman> yes
bigmac_ has quit [Ping timeout: 240 seconds]
<ramfjord> looks like there is a way
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
predator217 has joined #ruby
Trieste has quit [Ping timeout: 272 seconds]
<dudedudeman> oh, this article looks great
workmad3 has quit [Ping timeout: 252 seconds]
tosbourn has joined #ruby
<weaksauce> dudedudeman AR doesn't setup anything for you automatically unless you do a specific migration (add_reference in the migration )
last_staff has quit [Ping timeout: 272 seconds]
<dudedudeman> ok. that's what I'm in the middle of i believe. i'm currently staring at tyhe two migrations i want to run
Tuxero has joined #ruby
<dudedudeman> and working on filling them out with the appropriate information so i can do that
roolo has quit [Remote host closed the connection]
<weaksauce> gist them dudedudeman
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
oddskill is now known as oddskill_away
enebo has quit [Quit: enebo]
predator117 has quit [Ping timeout: 248 seconds]
maximski has quit []
michael_mbp has quit [Excess Flood]
<Ellis> i’m trying to figure out what yml is, but there aren’t many good explanations so far. when would one want to use yml?
<dudedudeman> i guess that's my public gist... so now you know
<dudedudeman> lol
tosbourn has quit [Ping timeout: 250 seconds]
<matugm> Ellis, it's a data format. You can use it to store configuration settings for your app and such.
michael_mbp has joined #ruby
<Ellis> matugm: so insteead of using an alternative, most ppl use yml because it is human readable?
parduse has joined #ruby
<matugm> Yeah
<bricker> Ellis: most people use yaml because Rails uses yaml by default, I think that's the only reason.
yh has quit [Ping timeout: 248 seconds]
<bricker> otherwise it doesn't really offer any advantages over JSON for basic configuration storage
pika_pika has joined #ruby
<weaksauce> the has many and belongs to do not belong in a migration
crdpink has quit [Ping timeout: 245 seconds]
<dudedudeman> ah! ok, that answers that question. thank you thank you thank you
<dudedudeman> i see you added the foreign key in there, adn that's what i was curious about
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
<weaksauce> fwiw. you can read about the class methods that has_many and belongs_to actually do on the api page
<dudedudeman> light at the end of the tunnel*
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<weaksauce> scroll up to the top
<Ellis> bricker: where do they use it rails? for configuration files?
* weaksauce really doesn't like the navigation of that site.
<dudedudeman> ha, I was on it earlier and left for that very reason!
<dudedudeman> i should have pushed through
nym has joined #ruby
<weaksauce> the table at the top shows you exactly what methods get created when you put has_many or whatever in your class
<bricker> Ellis: yes
<weaksauce> and the others part should be explained a little better
<Ellis> thanks
<matugm> Ellis, config/database.yml and config/secret.yml are two examples of yml files in Rails
<weaksauce> basically others is whatever relationship you define. so has_many :calibrations would give you calibrations.count calibrations.delete etc.
<Ellis> matugm: danke shoen ill check them out
LJT has quit [Quit: Sleeping...]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
WajidKagzi has quit [Ping timeout: 240 seconds]
<dudedudeman> :weaksauce thank you. i've been browing and studying this guide
<dudedudeman> is that one better/worse? does it matter? lol
<weaksauce> the api is excellent.
<weaksauce> just sharing links is bad
<ramfjord> the guides are less in depth and maybe slightly less canonical
<weaksauce> the search on the api is excellent
<weaksauce> the guides are an explanation.
<dudedudeman> sorry for just the link..
<ramfjord> I believe the guides are literally the rdoc on the actual code
<ramfjord> the api*
djbkd_ has joined #ruby
[1]bergice has quit [Read error: Connection reset by peer]
threh has quit [Ping timeout: 250 seconds]
<dudedudeman> great info, thank you
davidhq has joined #ruby
<dudedudeman> i guess it makes much, much more sense for the associations to live outside of the migrations. i'm not sure why i thought they be included together
<weaksauce> dudedudeman no I mean't the way you have to share a link to a page on the api is bad
mostlybadfly has joined #ruby
<weaksauce> not that you linking to the guides was bad
<dudedudeman> ah ah.
x1337807x has joined #ruby
<dudedudeman> i see what you're meaning, with the scrolling all the way back to top and such
GaryOak_ has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
<weaksauce> and you lose the search on the left
<dudedudeman> ok, when getting this error
<dudedudeman> NameError: uninitialized constant Monitors
dx7_ has joined #ruby
<weaksauce> it's Monitor
Trieste has joined #ruby
<weaksauce> most likely
dfinninger has joined #ruby
<dudedudeman> ah, my naming conventions
<dudedudeman> are my tables supposed to be plural? or are my classes supposed to be plural
<weaksauce> a model is not plural but the table is.
djbkd_ has quit [Ping timeout: 252 seconds]
<weaksauce> User.all vs. Users.all
Pupeno_ has joined #ruby
<dudedudeman> ok. i had that correct then
Pupeno has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
dx7 has quit [Ping timeout: 244 seconds]
<dudedudeman> it's telling me 'Monitors' is uninitialized but 'Monitors' by itself is no where in my code
<dudedudeman> i have 'create_table :monitors', but i'm understanding that should be plural
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 250 seconds]
dx7_ has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
vdamewood has joined #ruby
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
rbennacer has joined #ruby
xenokiller has quit [Ping timeout: 264 seconds]
davidhq has joined #ruby
Takle has quit [Remote host closed the connection]
<weaksauce> yeah you create table plural but use the actual singular model.
<weaksauce> imo that's the dumbest part of rails
mozzarella has quit [Quit: WeeChat 1.1.1]
Porfa has joined #ruby
mozzarella has joined #ruby
<dudedudeman> ah ah ah. right on. i just realized i had named my migration classes incorrectly and they did not match my names of my migrations
jonatin has joined #ruby
musashi1 has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1.1]
<weaksauce> why are you using AR and not rails?
<dudedudeman> as you can probably tell, i am newer to all of this
xenokiller has joined #ruby
<dudedudeman> i work in a building where one of our web development teams has our entire backend built in sinatra and AR
<dudedudeman> and one of the dudes from that team is mentoring me
<dudedudeman> so i decided instead of building a blog or another beginner type project, that i would wade throlugh building an application that actually could get used at work
<dudedudeman> i currently don't work on that team, i'm just learning from them
<dudedudeman> but, it also gives me the excuse of being able to work on it during down time at work. :)
<shortdudey123> anyone know how to get nokogiri to unstall under bundler on osx 10.10? following http://stackoverflow.com/questions/24091869/installing-nokogiri-on-osx-10-10-yosemite only works for gem install but not under bundler
<dudedudeman> so i'm just trying to build it and learn within the constraints of the environment here
nahtnam has joined #ruby
<weaksauce> what are you trying to build? a website?
<dudedudeman> umm, eventually it will be that i guess.
<shortdudey123> nvm, got it... used NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install
<dudedudeman> we have these monitors that i have to calibrate at work. i currently just calibrate them and then write down the measurement on paper
<dudedudeman> so i'm wanting to make that digital, and have a database i can use to track their calibrations, when the last time they were calibrated at, how many times it took to get them calibrated, and so on
lordkryss has joined #ruby
<dudedudeman> i'll eventually want it to send me emails on which monitors to calibrate next based on their time stamp
<weaksauce> rails would be a good way to go.
cjim_ has quit [Quit: (null)]
<dudedudeman> i agree. :(
<weaksauce> that's basically what rails was built for
<dudedudeman> as stupid as this sounds, i plan on building the entire thing in sinatra using activerecord, launching it, and then building the exact same app in rails as a learning exercise
<pipework> You can tell that pipecork isn't me because I'd never write code that horrible unless I sobered up completely.
mjuszczak has quit []
jeromelanteri has joined #ruby
juanpablo____ has joined #ruby
<weaksauce> curious.
<weaksauce> good luck!
fryguy9 has quit [Quit: Leaving.]
<dudedudeman> thank you!
<dudedudeman> i know that might be a bass ackwards way of doing it
<dudedudeman> i guess i'm coming at it from the angle where i'd like to know what i'm actually doing when i type in rails commands. like what's actually happening under the hood
<dudedudeman> thank you so much @weaksauce
<dudedudeman> that got me where i needed to be so i can finally go home for the night. lol.
jottr has quit [Ping timeout: 245 seconds]
<weaksauce> you don't have to use the generators/scaffolding to get work done in rails and when you do that it tells you exactly what it's doing anyway. :)
<dudedudeman> i'll sign on later after doing some more work
wallerdev has joined #ruby
shazaum has joined #ruby
bobbrez has joined #ruby
<weaksauce> no problem dudedudeman
<dudedudeman> ugh! i just need to do it then
<dudedudeman> ha
<dudedudeman> no reason to be scared i guesss
djbkd has quit [Remote host closed the connection]
<weaksauce> well. have good backups at least ;)
jottr has joined #ruby
<dudedudeman> ha
x1337807x has quit [Ping timeout: 240 seconds]
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
<pipework> weaksauce: Don't back down on backups.
<dudedudeman> i use cloud9 for my development environment, and have backups of that as well. so, it would take a couple major failures to lose my stuff. and github
juanpablo____ has quit [Ping timeout: 245 seconds]
<dudedudeman> which reminds me, i need to commit and push. thank you! ha
snockerton has quit [Quit: Leaving.]
<pipework> dudedudeman: Huh, people actually use that as their primary development environment for personal use?
<pipework> Fascinating.
<dudedudeman> cloud9?
snath has joined #ruby
snath has left #ruby [#ruby]
<pipework> correct
<dudedudeman> ah. Well, here's why i use it
<dudedudeman> i get downtime at work when i can work on code, which is great. however, i'm on a fedora box that is locked down by my sysadmin(typical). i use cloud9 because i get an ubuntu box with full sudo privileges that i can access through chrome without having to bug my sysadmin every time i need something downloaded or installed
Channel6 has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
<terrellt> Not a developer?
<terrellt> A full time paid developer*
<dudedudeman> and when i work at home, it's seamless. the same things i was staring at before leaving the office are there right for me when i get home
<dudedudeman> no, i am not. that is my current goal/dream/passion in life. to get a full time job doing that
<pipework> dudedudeman: Hm, I can understand that a bit. I just would rather have a more local scene. If you had ssh, you could carry around a VM in your pocket.
<pipework> dudedudeman: You can do it! Just don't suck.
<terrellt> That seems good to me then.
<dudedudeman> haha. i'm working on it!
<dudedudeman> i have a few freelance clients, and have been at 'code' for about a year and a half
pietr0 has quit [Quit: pietr0]
<dudedudeman> i'm getting there, and go to weekly/monthly meetups in my area that have been great. i have my code mentor here at the office that is awesome. and i'm working on a project that i feel could be useful to me and those that come after me in this position.
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<weaksauce> I mean't the database if you are touching anything important
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<weaksauce> but yeah code backups too
Yzguy has quit [Read error: Connection reset by peer]
<dudedudeman> oh.. yeah, it's just an sqlite3 db at the moment. if this gets pushed in to production at work, it'll get dumped to a mongodb