jhass changed the topic of #ruby to: Welcome new users migrating from #ruby-lang! || Rules & more: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
j4cknewt has joined #ruby
renderful has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rollabunna has joined #ruby
sevenseacat has joined #ruby
mrmargolis has quit []
fooooooooo has quit [Quit: Page closed]
renderful has quit [Ping timeout: 264 seconds]
pgatt has joined #ruby
workmad3 has joined #ruby
Rollabunna has quit [Ping timeout: 248 seconds]
hotpancakes has quit [Remote host closed the connection]
zenguy_pc has quit [Read error: Connection reset by peer]
hotpancakes has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby
ashleyis has quit [Quit: WeeChat 1.2]
vasilakisfil_ has joined #ruby
ashleyis has joined #ruby
platosha has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Leaving...]
knite has quit [Ping timeout: 264 seconds]
bradgriffin has joined #ruby
bradgriffin has quit [Client Quit]
platosha has joined #ruby
Rickmasta has joined #ruby
Yiota has joined #ruby
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
j4cknewt has quit [Remote host closed the connection]
havenn has joined #ruby
havenwood has quit [Ping timeout: 256 seconds]
nateberkopec has joined #ruby
nateberkopec has quit [Client Quit]
vasilakisfil_ has quit [Ping timeout: 256 seconds]
jamesaxl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
pwnz0r has quit [Remote host closed the connection]
coffee__cup has quit [Quit: Leaving]
urbanmonk has quit [Quit: urbanmonk]
zenguy_pc has joined #ruby
rehat has quit []
urbanmonk has joined #ruby
j4cknewt has joined #ruby
baweaver has quit [Remote host closed the connection]
TinkerTyper has quit [Ping timeout: 264 seconds]
vdamewood has joined #ruby
TinkerTyper has joined #ruby
charliesome has joined #ruby
matp has joined #ruby
MasterPiece has quit [Quit: Leaving]
frem has joined #ruby
knite has joined #ruby
Jeff__ has joined #ruby
Rodya_ has joined #ruby
kraljev11 has quit [Ping timeout: 248 seconds]
Jeff__ has left #ruby [#ruby]
blackmes1 has quit [Ping timeout: 264 seconds]
chipotle has quit [Quit: cheerio]
bf4 has joined #ruby
Muhannad has quit [Remote host closed the connection]
dgutierrez1287 has joined #ruby
jpfuentes2 has joined #ruby
toretore has joined #ruby
nofxx has joined #ruby
blizzy has joined #ruby
bruno-_ has quit [Ping timeout: 255 seconds]
Rollabunna has joined #ruby
Oka has quit [Remote host closed the connection]
bf4 has quit [Ping timeout: 272 seconds]
vikaton has quit [Quit: Connection closed for inactivity]
_blizzy_ has quit [Ping timeout: 248 seconds]
balazs has quit [Remote host closed the connection]
j4cknewt has quit [Remote host closed the connection]
<nofxx> There was a terminal one liner to render a .md and open the html on the browser... anyone knows? Tought is was redcarpet but there's no bins
Rollabunna has quit [Ping timeout: 248 seconds]
Agoldfish has quit [Quit: G'Bye]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Oka has joined #ruby
casadei has joined #ruby
ledestin has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
lkba has joined #ruby
urbanmonk has quit [Quit: urbanmonk]
lkba_ has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
Rodya_ has quit [Quit: Leaving...]
freerobby has joined #ruby
<havenn> nofxx: Looks like there is indeed a `redcarpet` executable.
jmhmccr has quit [Quit: Connection closed for inactivity]
aotg has quit [Ping timeout: 272 seconds]
aotg has joined #ruby
Scroff has joined #ruby
towski_ has quit [Remote host closed the connection]
zenguy_pc has joined #ruby
shinnya has quit [Ping timeout: 276 seconds]
Fezzler has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
Marisa has quit [Ping timeout: 272 seconds]
tubuliferous_ has joined #ruby
balazs has joined #ruby
Oka_ has joined #ruby
swgillespie has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Oka has quit [Ping timeout: 256 seconds]
Fezzler has quit [Quit: Leaving]
TheHodge has quit [Quit: Connection closed for inactivity]
konsolebox has joined #ruby
tubuliferous_ has quit [Ping timeout: 244 seconds]
vikaton has joined #ruby
rbennacer has joined #ruby
JStoker has quit [Ping timeout: 272 seconds]
aotg has quit [Ping timeout: 272 seconds]
JStoker has joined #ruby
aotg has joined #ruby
f3lp has joined #ruby
havenn is now known as havenwood
haraoka has joined #ruby
lala has quit [Quit: Connection closed for inactivity]
rbennacer has quit [Ping timeout: 276 seconds]
bf4 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zenguy_pc has joined #ruby
s2013 has joined #ruby
chipotle has joined #ruby
CloCkWeRX has left #ruby [#ruby]
zenguy_pc has quit [Read error: Connection reset by peer]
mujou has quit [Quit: Leaving...]
s2013 has quit [Client Quit]
Rickmasta has joined #ruby
yfeldblum has quit [Ping timeout: 248 seconds]
balazs has quit [Remote host closed the connection]
Rollabunna has joined #ruby
vyorkin has quit [Ping timeout: 246 seconds]
dorei has quit []
workmad3 has joined #ruby
baweaver has joined #ruby
Rollabunna has quit [Ping timeout: 248 seconds]
Papierkorb has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
bklane has joined #ruby
yfeldblum has joined #ruby
dstarh has joined #ruby
NeverDie has joined #ruby
tkuchiki has joined #ruby
j4cknewt has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Remote host closed the connection]
iamjarvo_ has joined #ruby
j4cknewt has quit [Remote host closed the connection]
zenguy_pc has joined #ruby
PlasmaStar has quit [Ping timeout: 256 seconds]
PlasmaStar has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
lxsameer has quit [Quit: Leaving]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
urbanmonk has joined #ruby
eggoez has quit [Ping timeout: 248 seconds]
Deele has quit [Ping timeout: 256 seconds]
eggoez has joined #ruby
inetd has joined #ruby
allomov has joined #ruby
lala_ has joined #ruby
Cache_Money has joined #ruby
Oka_ has quit [Remote host closed the connection]
hfp_ has joined #ruby
hfp_work has quit [Ping timeout: 272 seconds]
allomov has quit [Ping timeout: 246 seconds]
Oka has joined #ruby
hfp has quit [Ping timeout: 276 seconds]
hfp_ is now known as hfp
rhg135 has quit [Quit: ZNC - http://znc.in - making IRC 20% cooler]
hfp_work has joined #ruby
rhg135 has joined #ruby
revoohc has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
revoohc has quit [Client Quit]
zenguy_pc has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
athos_di_ has joined #ruby
jud has joined #ruby
zenguy_pc has quit [Read error: No route to host]
athos_diddy has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
svf has joined #ruby
bf4 has quit [Ping timeout: 252 seconds]
PatrickHoward has joined #ruby
bklane has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
kobain has quit [Ping timeout: 272 seconds]
Indian has quit [Ping timeout: 272 seconds]
RazorX_ has joined #ruby
RazorX has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
balazs has joined #ruby
_ixti_ has quit [Quit: WeeChat 1.2]
bklane has joined #ruby
svf has quit [Quit: Lost terminal]
pwnz0r has joined #ruby
mcclurmc has joined #ruby
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pwnz0r has quit [Remote host closed the connection]
Atomic_Work has joined #ruby
bklane has quit [Remote host closed the connection]
pwnz0r has joined #ruby
PatrickHoward has quit [Remote host closed the connection]
Rollabunna has joined #ruby
astrobunny has joined #ruby
houhoulis has joined #ruby
mcclurmc has quit [Ping timeout: 265 seconds]
pwnz0r has quit [Ping timeout: 276 seconds]
findaway has joined #ruby
FernandoBasso has quit [Quit: WeeChat 1.2]
Rollabunna has quit [Ping timeout: 248 seconds]
athos_di_ has quit []
sp4rrow_ has joined #ruby
bruno- has joined #ruby
darkf has joined #ruby
snsei has joined #ruby
bf4 has joined #ruby
ooesili has joined #ruby
<meatchicken> How does binding in ruby work?
charliesome has quit [Quit: zzz]
<meatchicken> Why doesn't it implement a new method?
<meatchicken> Binding -> constant, binding -> Binding.new?
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has quit [Ping timeout: 264 seconds]
snsei has quit [Ping timeout: 250 seconds]
findaway has quit [Ping timeout: 264 seconds]
bf4 has quit [Ping timeout: 264 seconds]
scx_ has joined #ruby
kies has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki_ has joined #ruby
tkuchiki has joined #ruby
scx has quit [Ping timeout: 244 seconds]
sp4rrow_ has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
findaway has joined #ruby
swgillespie has joined #ruby
braincra- has quit [Quit: bye bye]
Rickmasta has joined #ruby
auzty has joined #ruby
kobain has joined #ruby
findaway has quit [Ping timeout: 264 seconds]
creakybones has joined #ruby
mesamoo has joined #ruby
braincrash has joined #ruby
j4cknewt has joined #ruby
j4cknewt has quit [Remote host closed the connection]
foureight84 has joined #ruby
Pupeno has joined #ruby
lessless has joined #ruby
bklane has joined #ruby
tubuliferous_ has joined #ruby
davedev24_ has quit []
Pupeno has quit [Ping timeout: 264 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
tubuliferous_ has quit [Ping timeout: 256 seconds]
cajone has joined #ruby
cajone has left #ruby [#ruby]
Musashi007 has joined #ruby
gix has quit [Ping timeout: 252 seconds]
Cache_Money has quit [Quit: Cache_Money]
bklane has quit [Remote host closed the connection]
gix has joined #ruby
bkxd has joined #ruby
j4cknewt has joined #ruby
dudedudeman has quit [Ping timeout: 250 seconds]
Royalb has quit [Quit: Leaving]
<jfarmer> meatchicken What do you mean?
<jfarmer> Oh, you asked almost an hour ago.
j4cknewt has quit [Remote host closed the connection]
<jfarmer> meatchicken Kernel#binding is an instance method that returns a new Binding instance (see http://ruby-doc.org/core-2.2.2/Kernel.html#method-i-binding). You can look at the source; literally just a call to rb_binding_new().
<jfarmer> meatchicken Instance methods defined in the Kernel module are available everywhere because the Kernel module is included in Object.
<jfarmer> In fact, if you look at the source code for MRI, when you define a "global" method what really happens is that a new method gets defined on the Kernel module.
<jfarmer> Not sure if that answers your question; not 100% sure what your question was :)
<meatchicken> jfarmer, thanks
<meatchicken> so a binding will have all context yeah?
<meatchicken> is that "safe" to pass around?
peter_paule has joined #ruby
<jfarmer> It won't have all context; it will have the context where it was initialized.
<jfarmer> And yes it's safe
<meatchicken> jfarmer, Got it
Rollabunna has joined #ruby
mcclurmc has joined #ruby
framling has quit [Remote host closed the connection]
workmad3 has joined #ruby
mesamoo has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 252 seconds]
MatthewsFace has quit [Remote host closed the connection]
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
lxsameer has joined #ruby
jfarmer has quit []
jud has quit [Quit: Leaving]
jfarmer has joined #ruby
astrobunny has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 248 seconds]
MrJiks_ has joined #ruby
casadei has quit [Ping timeout: 246 seconds]
atomical has quit [Read error: Connection reset by peer]
lxsameer has quit [Client Quit]
MrJiks has quit [Ping timeout: 246 seconds]
casadei has joined #ruby
mcclurmc_ has joined #ruby
atomical has joined #ruby
yfeldblum has joined #ruby
mcclurmc has quit [Ping timeout: 265 seconds]
MrJiks has joined #ruby
bf4 has joined #ruby
MrJiks_ has quit [Ping timeout: 264 seconds]
jud has joined #ruby
atomical has quit [Client Quit]
poguez_ has joined #ruby
kahunaio has joined #ruby
JoshGlzBrk has joined #ruby
haraoka has quit [Ping timeout: 252 seconds]
greenbagels has quit [Read error: Connection reset by peer]
bigmac__ is now known as i8igmac
chipotle has quit [Quit: cheerio]
bf4 has quit [Ping timeout: 256 seconds]
inetd has quit [Ping timeout: 256 seconds]
stoodfarback has joined #ruby
balazs has quit [Remote host closed the connection]
foureight84 has quit [Read error: Connection reset by peer]
clarkkampfe has joined #ruby
clarkkampfe has left #ruby [#ruby]
allomov has joined #ruby
pgatt has quit [Quit: Connection closed for inactivity]
yeticry has quit [Ping timeout: 255 seconds]
bkxd has quit [Ping timeout: 252 seconds]
yeticry has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt has joined #ruby
charliesome has quit [Quit: zzz]
creakybones has quit [Quit: Leaving]
bklane has joined #ruby
rbennacer has joined #ruby
arescorpio has quit [Remote host closed the connection]
dgutierrez1287 has joined #ruby
postmodern has quit [Quit: Leaving]
jfarmer has quit []
RegulationD has joined #ruby
bklane has quit [Client Quit]
postmodern has joined #ruby
ruby-lang696 has joined #ruby
martin290 has joined #ruby
<martin290> hey everyone
<Aeyrix> hi
<martin290> quick question
<martin290> is ruby on rails a good language to make web apps in?
<Aeyrix> There are over 900 people in here that are probably biased.
greenbagels has joined #ruby
<sevenseacat> ruby is the language. ruby on rails is a web framework written in that language.
<martin290> what i want to make is pretty simple, i just don't have any experience in ruby
<martin290> ah, yes, sorry
<martin290> i come from a c# background
dgutierrez1287 has quit [Ping timeout: 272 seconds]
<Aeyrix> martin290: Depending on how simple, it may be better to roll with Sinatra.
<Aeyrix> It's also in Ruby, but is a much smaller framework.
RegulationD has quit [Ping timeout: 252 seconds]
<martin290> i currently have a web host for linux and i don't want to change to a windows server to program in c#
<martin290> Sinatra, got it
<Aeyrix> If you want to use a DB, that's generally the mark where I'd start using Rails instead of Sinatra.
<martin290> yeah, the app will use a db
<Aeyrix> Alright, probably better to run on rails then, in my opinion.
<martin290> in a nutshell, it's going to be an app for landscapers to track/maintain their equipment
<Aeyrix> Okay.
<martin290> it's pretty simple, but i can see it being tweaked a lot
<martin290> and have things added to it, etc.
<martin290> i noticed there's always like 2x more people on there than in the c# channel
bkxd has joined #ruby
SubjectiveBias has joined #ruby
kahunaio has quit [Quit: leaving]
kahunaio has joined #ruby
<Aeyrix> The C# people are busy debugging their ASP.NET.
<Aeyrix> No time for chats.
<martin290> hahaha
<martin290> is ruby generally easier than c#?
<Aeyrix> I think so, yeah.
<Aeyrix> As in, in my opinion yes.
<Aeyrix> Easier to write, easier to read.
Rickmasta has joined #ruby
<martin290> ruby can't create GUI desktop apps, right?
<Aeyrix> It can, but it's better to create compiled binaries in languages like C#.
<Aeyrix> It's just easier for the end-user
astrobunny has joined #ruby
<martin290> got it, perfectly understand
allomov has quit [Remote host closed the connection]
allomov has joined #ruby
Soda has quit [Remote host closed the connection]
<nofxx> martin290, that been said, nowdays html5 apps are on the rise on the desktop... cordova and the github atom thing I forgot the name
sarkyniin has quit [Ping timeout: 264 seconds]
<nofxx> hehe, anyone remember mozilla prism?
<martin290> what do you mean, nofxx?
<martin290> on the rise on the desktop?
<nofxx> martin290, it's most JS but you can of course use coffee that makes js more sane... and rake tasks heh
<MrJiks> nofxx: Did you mean http://electron.atom.io/
<nofxx> martin290, yeah, check out cordova... you write once and run in: osx, ios, android, windows....
<nofxx> MrJiks, yeah, thank you
<martin290> oh wow
<MrJiks> nofxx: Rubymotion can also do something similar with Ruby. But not in Windows/Linus yet. Everyother platform is covered.
<nofxx> ubuntu ... what a shame name linux 'ubuntu' .... but it's the offial name heh
<MrJiks> And you never have to leave Ruby.
<sevenseacat> 'every other platform, except windows and linux'
<sevenseacat> that leaves how many platforms?
<martin290> so wiat
<martin290> wait*
<MrJiks> iOS/Android/OSX
<martin290> im confused...
<sevenseacat> lol
allomov has quit [Ping timeout: 244 seconds]
<sevenseacat> you're making this situation worse, you know
<MrJiks> martin290: Check this video: https://www.youtube.com/watch?v=kBjNwEBhQnw
<MrJiks> sevenseacat: how so?
<sevenseacat> why do people want to mislead the newbies
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nofxx> is rubymotion related to ruboto?
<sevenseacat> no.
<MrJiks> nofxx: No
<nofxx> it was nice, but android only
<martin290> wait i think i get it
<MrJiks> Its a commercial tool chain.
<MrJiks> Its the same guy who did macruby.
<martin290> it's programmed like a web app but runs locally on the machine
<martin290> right?
Oka has quit [Ping timeout: 244 seconds]
<nofxx> martin290, yup
<MrJiks> Apple decided to stop supporting macruby and he went & built a company for providing macruby for iOS
<martin290> wow
<martin290> that is AMAZING
<martin290> that reminds me of WPF (XAML)
<martin290> and this is done using ruby??!!!
<sevenseacat> no.
<sevenseacat> like i said, misleading the newbies.
<MrJiks> martin290: Its possible that if you learn this language you can reuse the knowledge elsewhere probably better than any other language out there.
<MrJiks> sevenseacat: what you mean?
<nofxx> MrJiks, when I was a teenager I dreamed a day apple would release darwin, and everybody would use some nice linux friendly and beautiful distro, and we'll get rid of windows
Rollabunna has joined #ruby
<sevenseacat> electron and the ilk aren't ruby projects.
<nofxx> now android is the problem.. and apple is a bitch
<martin290> lol
<MrJiks> sevenseacat: I never mentioned electron as Ruby
<sevenseacat> this is a ruby channel.
<MrJiks> sevenseacat: I just mentioned it as someone was asking about it but couldn't remember its name.
<nofxx> sevenseacat, I mentioned it's JS, but you could write coffee and rake tasks... or OPAL hehe
<sevenseacat> rake *is* a ruby project
<MrJiks> Yes, Opal is the next one I wanted to mention to martin290
<sevenseacat> so is opal, but the rest arent
<MrJiks> check opalrb.org
<sevenseacat> but in all honesty, you're introducing an incredibly complex toolchain here
<sevenseacat> for a very simple question
<martin290> looks really cool
<martin290> i'm pretty new to the web world
<martin290> but the ability to use "web languages" for a desktop app is awesome
<MrJiks> sevenseacat: well if you are very happy with Ruby; I think Rubymotion is the best way to build iOS/Android apps
<martin290> oh nice
<sevenseacat> i don't, but okay.
rbennacer has quit [Remote host closed the connection]
<sevenseacat> has nothing to do with any question asked :P
<nofxx> what we all agree is that more ruby the better =D
<MrJiks> martin290: Yes! You should try the new Atom editor to see how good the app can be; its now touted as the flagship product with the technology.
<MrJiks> nofxx: :):)
<sevenseacat> it works most of the time
peter_paule has quit [Ping timeout: 252 seconds]
<sevenseacat> just hope you have a beefy computer :)
<MrJiks> Frankly, totally in love with you it.
<Aeyrix> you what
<martin290> laptop, not so beefy
<martin290> desktop.... pretty beefy lol
<martin290> on laptop now
Rollabunna has quit [Ping timeout: 248 seconds]
<MrJiks> sevenseacat: Its not that performance hog; unless you want to run a huge rails app.
<sevenseacat> what?
<martin290> is it as big of a bog as visual studio?
<martin290> hog*
<MrJiks> martin290: not at all.
<Aeyrix> DID SOMEONE SAY VISUAL STUDIO
<ruby-lang696> so i've been teaching myself ruby as a first language for about 9 months and ive gotten a $5/hr raise at work *thumbs up*
<MrJiks> martin290: can't compare them properly as one is an IDE and one is an interpreter.
<martin290> awesome
<martin290> ah, i see
<MrJiks> ruby-lang696: Thats cool.
<sevenseacat> I am so confused by this conversation. "atom isnt a performance hog unless you want to use it for its intended purpose"?
GPrime has quit [Quit: Textual IRC Client: www.textualapp.com]
<MrJiks> ruby-lang696: do you work as a freelancer?
hanmac has quit [Ping timeout: 246 seconds]
<MrJiks> sevenseacat: sorry my bad. I was referring to Ruby.
<martin290> how does ruby compare to python?
<MrJiks> martin290: very similar; you can pick any. Its just that some people one of the two.
symm- has quit [Ping timeout: 256 seconds]
<MrJiks> Play around with both a bit and decide.
bruno- has joined #ruby
<martin290> i've tried python.... not for the web, but trying to make a GUI, it was pretty painful
<MrJiks> The 20 minute tutorial in ruby-lang.org will help you start.
<nofxx> MrJiks, totally disagree!! they are not
* Aeyrix is an Atom fan, especially with the 1.0 release.
<MrJiks> nofxx: why? Both are similar in performance; interpretted/dynamic languages; with similar use cases.
<martin290> wow, i just noticed ruby looks a lot like python
<nofxx> where the similarities end
<martin290> similar syntax
<MrJiks> For a newbie thats what it matters.
<MrJiks> martin290: Later you may find the differences.
<nofxx> martin290, you've seen nothing ;)
<martin290> :)
f3lp has quit [Ping timeout: 264 seconds]
<MrJiks> martin290: true, you have seen nothin :)
<sevenseacat> I've toyed with Atom. it's decent, but it's not perfect.
<martin290> i'm trying to find that 20 minute tutorial
<martin290> can i get a link for it?
lokulin has quit [Changing host]
lokulin has joined #ruby
<Ox0dea> martin290: Are you just starting your journey?
intyl has joined #ruby
<martin290> i have experience in c#
<martin290> i want to learn ruby for a web app i want to make
<martin290> so yes, just starting my journey in ruby
<Ox0dea> You are strongly advised to try your hand at the Ruby Koans: https://github.com/neo/ruby_koans
eggoez has quit [Ping timeout: 252 seconds]
towski_ has joined #ruby
bruno- has quit [Ping timeout: 248 seconds]
techietrash has quit [Quit: Bye! <(^_^<)]
<Aeyrix> cool
<martin290> so how do i get koans
<martin290> it looks cool
<Ox0dea> martin290: Just press the "get koans" button, I think.
<Aeyrix> get cones
Tempesta has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
<martin290> i don't see that
<martin290> i see: clone in desktop
Tempesta has joined #ruby
<bakednotfried> too much monky stuff in the koans thing though
<Ox0dea> This will be a fruitful discussion, surely.
rhg135 has quit [Quit: ZNC - http://znc.in - making IRC 20% cooler]
Cache_Money has joined #ruby
rhg135 has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
<martin290> i'm downloading ruby right now
balazs has joined #ruby
<bakednotfried> don't know about all this enlightenment business, folks just wanna learn ruby
iamninja has quit [Read error: Connection reset by peer]
<Ox0dea> bakednotfried: How did you come to know Ruby?
iamninja has joined #ruby
hanmac has joined #ruby
lala_ is now known as lala
<noethics> i learn languages on the fly
keen___________5 has joined #ruby
<noethics> i'm immutable
<bakednotfried> read tutorials and browsed the docs then read a lot of code on github
Marisa has joined #ruby
eggoez has joined #ruby
tkuchiki_ has joined #ruby
<martin290> so how do i run a .rb file
<martin290> i downloaded koans
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
keen___________4 has quit [Ping timeout: 252 seconds]
weemsledeux has joined #ruby
<bakednotfried> martin290 try this http://zetcode.com/lang/rubytutorial/
MyMind has joined #ruby
<martin290> cool thanks
<martin290> so for a ruby web app, i can't just run it like an html page, right?
<martin290> open the html page in a browser and it magically work
Sembei has quit [Ping timeout: 265 seconds]
DynamicMetaFlow has quit [Quit: Leaving]
shoutsid has joined #ruby
<sevenseacat> no. you need to run it via a web server.
<bakednotfried> martin290 your web server will call it using the gateway interface
<martin290> would xampp work?
<Aeyrix> Well, the P's are "PHP" and "Perl", so, no.
<martin290> oh :(
<martin290> what would i need to download to use ruby?
<martin290> i installed ruby using the rubyInstaller
<Aeyrix> So you're developing on Windows, deploying to Linux?
<martin290> windows
<Aeyrix> Deploying to Windows too?
<bakednotfried> to make web apps you should look for a framework, like rails
<martin290> deploying to linux
<bakednotfried> forget about apps for now, just learn ruby, after a couple weeks you can try making apps
hahuang65 has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
shoutsid has quit []
mistermocha has quit [Read error: Connection reset by peer]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
mistermocha has joined #ruby
tubuliferous_ has joined #ruby
<MrJiks> Is there a way to restrict a Ruby process to have the file system access to its own directory alone?
mistermocha has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
<Aeyrix> Yes.
<Aeyrix> Restrict the user.
<baweaver> Look into chjail / chroot as well
<baweaver> or the infamous docker
* baweaver isn't entirely sure if it's relevant here, but saying docker loudly enough normally works out somehow.
tubuliferous_ has quit [Ping timeout: 248 seconds]
<sevenseacat> lol
<MrJiks> infamous something
<sevenseacat> containerize all of the things!
jmhmccr has joined #ruby
<MrJiks> sevenseacat: I don't understand whats the harm in it?
scx_ is now known as scx
<sevenseacat> in what?
greenbagels has quit [Quit: Leaving]
Rickmasta has joined #ruby
<shevy> in putting a cat into a container
zacts has quit [Quit: leaving]
shoutsid has joined #ruby
<nofxx> shevy, you won't know if it's alive or dead
<MrJiks> sevenseacat: in containerize everything methodology
<sevenseacat> MrJiks: i didnt say anything about it
<shevy> let's put MrJiks into a container
solars has joined #ruby
mistermo_ has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
mistermo_ has quit [Remote host closed the connection]
arup_r has joined #ruby
jas02 has joined #ruby
casadei_ has joined #ruby
casadei has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
lkba has quit [Quit: Bye]
lkba has joined #ruby
Rollabunna has joined #ruby
martin290 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<cina> >> 'a' == ?a # how is this different from 'a' == 'a' ?
<ruboto> cina # => true (https://eval.in/388949)
wildroman2 has joined #ruby
Pupeno has joined #ruby
sandstrom has joined #ruby
kies has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
<stoodfarback> cina: Same. `?a` creates String "a"
Eiam has quit [Ping timeout: 255 seconds]
Rollabunna has quit [Ping timeout: 246 seconds]
Tempesta has quit [Read error: Connection reset by peer]
Cache_Money has quit [Quit: Cache_Money]
Tempesta has joined #ruby
<stoodfarback> cina: It was slightly useful in 1.8. Can't think of any reason to use it now.
jas02_ has joined #ruby
jas02 has quit [Ping timeout: 265 seconds]
jas02_ is now known as jas02
<cina> stoodfarback: thank you! why was it useful in 1.8? or, why is it not useful anymore?
polysics has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
rbennacer has joined #ruby
User458764 has joined #ruby
<stoodfarback> cina: In 1.8, `"aoeu"[0]` would return the ascii code as an integer, instead of "a". `?a` would do the same, so you could do `"aoeu"[0] == ?a`
RobertBirnie has joined #ruby
casadei_ has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 246 seconds]
RobertBirnie has quit [Read error: Connection reset by peer]
_ht has joined #ruby
<Ox0dea> 18>> ?a
<ruboto> Ox0dea # => 97 (https://eval.in/388968)
polysics has joined #ruby
<cina> stoodfarback: interesting, thank you! I found it in ruby's REXML::Parsers, in a conditions like the one you described: `@source.buffer[0] == ?<`
RobertBirnie has joined #ruby
<Ox0dea> cina: I suppose you could think of it as a "character literal", but it's really just a single-character string.
ta has joined #ruby
shoutsid has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jfarmer has joined #ruby
shoutsid has joined #ruby
blizzy has quit [Ping timeout: 248 seconds]
<cina> Ox0dea: thanks! it's one less character to type compared to 'a' ;)
knite has quit [Read error: Connection reset by peer]
knite has joined #ruby
<Ox0dea> cina: Indeed. It's considered "bad" by some, but I happen to like it; it's a useful visual distinction even if the underlying semantics are the same.
tkuchiki_ has quit [Remote host closed the connection]
j4cknewt has quit [Remote host closed the connection]
tkuchiki_ has joined #ruby
knite has quit [Read error: Connection reset by peer]
<stoodfarback> >> ?!!=?=
<ruboto> stoodfarback # => true (https://eval.in/388983)
Akagi201 has joined #ruby
<cina> Ox0dea: it is probably considered bad because not everyone knows about it, but maybe it could also be useful because it only works with a single character and raises a SyntaxError if you mistype more characters
knite has joined #ruby
rubie has quit [Remote host closed the connection]
<cina> stoodfarback: nice! :D
<Ox0dea> >> $__=$$/$$;_=$__+$__;__=$__+_;$_=_+_;@_=$__+$_;$-_=_**@_;$___=_*$-_;@__=$-_+$___;''<<@__+($-_-__*__)<<@__+_*_*@_<<@__+_*__
<ruboto> Ox0dea # => "wtf" (https://eval.in/388984)
<cina> :O
<baweaver> I don't even have to look at the name to know that's you Ox0dea
<Ox0dea> Bwahaha.
last_staff has joined #ruby
krz has joined #ruby
<shevy> :)
<shevy> there is some strange appeal to certain syntax elements
<certainty> moin
RegulationD has joined #ruby
hmsimha has joined #ruby
hmsimha_ has joined #ruby
<cina> it's like a cool puzzle/game to read and decode it!
yardenbar has joined #ruby
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/2015051400]]
idiocrash has joined #ruby
<Ox0dea> cina: Huh. I should write an incremental decoder for those things.
<Ox0dea> It's just building up numbers and shoveling them into an empty string.
<Ox0dea> >> '' << 97 << 98 << 99
<ruboto> Ox0dea # => "abc" (https://eval.in/389013)
<Ox0dea> You can actually write any program in Ruby without using any alphanumerics, thanks in large part to the ->{}[] lambda syntax.
roolo has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
chinmay_dd has joined #ruby
<Senjai> I came into this channel to see what was up on a sunday (cause I am never actually here on sundays)
<Senjai> And then I saw Ox0dea's stuff
<Senjai> And then I left and said goodnight
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Senjai> sundays, should have known
<baweaver> par for course
Xeago has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has quit [Remote host closed the connection]
acke has joined #ruby
sinkensabe has joined #ruby
eGGsha has joined #ruby
lavros has joined #ruby
polysics has quit [Remote host closed the connection]
Oka has joined #ruby
<Ox0dea> Here goes!
<Ox0dea> >> _=$$/$$;__=_-_;@_=_+_;$_=@_+_;$__=@_+$_;$-_=$__*$_;@__=''<<$-_*($__+$_)+@_;$___=''<<$-_*$__-$__<<$-_*($__+@_)<<@__<<@__;@___=''<<$-_*$__-$_*$_<<$-_*($__+$_)-$_<<@__<<@__;(___=->____{$.+=_;____<<($.%$-_==__ ?$___+@___:$.%$_==__ ?$___:$.%$__==__ ?@___:$.);$.<($__*@_)**@_?___[____]:____})[[]]
<ruboto> Ox0dea # => [1, 2, "Fizz", 4, "Buzz", "Fizz", 7, 8, "Fizz", "Buzz", 11, "Fizz", 13, 14, "FizzBuzz", 16, 17, "Fiz ...check link for more (https://eval.in/389023)
<sevenseacat> lmao
<baweaver> christ
<baweaver> even for you
* baweaver saves for later.
<Aeyrix> ...
<Nilium> Since when did ruboto understand brainfuck
<Aeyrix> Ox0dea:
<sevenseacat> thats amazing.
<Aeyrix> go outside
<Aeyrix> Nilium: That's Ruby.
<Aeyrix> That's actually valid Ruby code.
<Oka> the hell is going on in here
<sevenseacat> lol @ go outside
<Nilium> You either missed the joke or are intentionally ruining it
Xeago has quit [Read error: Connection reset by peer]
<Aeyrix> Nilium: Just clarifying for anyone who isn't aware that Ox0dea forgot what the sky looks like.
<Nilium> All my hard work for that moment
<Nilium> AND YOU JUST HAD TO GO AND SAY THAT.
<Aeyrix> lmao
<Aeyrix> sorry :(
<Aeyrix> Also Ox0dea wtf
<Aeyrix> how did you
<Nilium> That aside, christ.
<Aeyrix> WHY did you
<Ox0dea> For the midkeks?
<Aeyrix> hah
<Nilium> This is reminding me of the code golf crap I did a while back
<baweaver> Ox0dea: how does one even begin to grok the shenanigans necessary to do something like this?
<Ox0dea> I blame Tom Stuart for getting me more deeply interested in the lambda calculus.
<baweaver> ah
<Nilium> >> [1,!1].map{|u|(?2..'998').step(2).select{|i|v=731;i.chars.all?{|k|k=1<<k.to_i;v&k!=0&&(!u||v&=~k)}}}
<ruboto> Nilium # => [["4", "6", "10", "14", "16", "30", "34", "36", "40", "46", "60", "64", "70", "74", "76", "90", "94" ...check link for more (https://eval.in/389029)
msgodf has joined #ruby
<Nilium> Hey, it still works
sfarley has joined #ruby
<sevenseacat> my brain hurts
<Aeyrix> You fucks pick a language designed to be used to write code for humans
<Aeyrix> and you pull this filthy garbage
<Nilium> https://gist.github.com/nilium/ab2f75ab6da6f9cce360 ← For reference. I have no idea what the actual goal of the code was anymore.
<sevenseacat> though to be fair, Ruby was optimized for programmer happiness, and Ox0dea appears to be pretty happy.
<Aeyrix> def numbers_containing_digits
<Aeyrix> All numbers contain digits.
snsei has joined #ruby
<Ox0dea> sevenseacat: I certainly get a kick out of it.
<Aeyrix> Same.
<Nilium> Not all numbers contain digits
<Ox0dea> Aeyrix: That Ruby comfortably occupies both extremes of the spectrum is part of what makes it the best language, in my opinion.
<sevenseacat> i doesn't contain digits.
<Nilium> This makes it very hard to express you as a number.
krz has quit [Read error: Connection reset by peer]
<sevenseacat> exactly.
<Nilium> So, this weekend was kind of a wash as far as productivity goes.
<Ox0dea> Wow, I'm only just realizing I could be using all sorts of wacky Unicode symbols as variable names instead of just underscores.
<Nilium> The only thing I've managed to do is create a portable dev environment on an encrypted SD card
balazs has quit [Remote host closed the connection]
<Aeyrix> Ox0dea: Use emoji.
<Nilium> So, like, I put in the SD card, mount it, source a profile on it in my shell, and good to go.
<Ox0dea> Aeyrix: Emoji are on their way to being considered "words", so the non-alphanumeric contract has the potential to break.
<sevenseacat> Nilium: more than I managed to accomplish.
<sevenseacat> I wrote like, one test for my Elixir app.
matp has quit [Remote host closed the connection]
<Nilium> I still need to play with Elixir.
<Nilium> I haven't touched it since it was really, really new
ta has joined #ruby
ta has quit [Remote host closed the connection]
* baweaver is disecting the code
<Nilium> Honestly would never have had a use for anything like that before I got my job. Now I'm the backend server guy and I'm just going "oh boy look at all the tools I have reasons to play with now."
<sevenseacat> I don't really have a real use for it, apart from 'hey they made a web framework. let's build web shit'
<Nilium> And then I have to stop myself because convincing people to learn to use Scala and Akka or Erlang or something else is just hard.
<Nilium> But I managed to wedge Go into our codebase, so now it's a permanent fixture.
<Nilium> Helped that Go drastically outperformed all the backend code written in PHP, which isn't all that surprising.
tkuchiki_ has quit [Remote host closed the connection]
<Aeyrix> Go
<Aeyrix> more like
<Aeyrix> Go away
<Aeyrix> :^)
<Nilium> Go hate is very popular lately. It's kind of weird.
<Ox0dea> $ go fuck /proc/self
<Nilium> Like, there are two popular forms of blog post: one is where people complain about the same thing as everyone else in Go, and the other is where people praise the same thing as everyone else in Go
<Aeyrix> $ go fuck
<Aeyrix> go: unknown subcommand "fuck"
<Aeyrix> Makes sense that go devs have no idea how to fornicate. :^)
<Ox0dea> Aeyrix: "Be the change you wish to see in the world."
<Nilium> And they're both equally uninteresting, and yet they frequently make it to the top of hacker news and reddit as though they were somehow insightful
<Aeyrix> Okay banter aside, I dislike Go because I find some of its syntax a little weird.
<baweaver> Aeyrix: fsck?
ndrei has joined #ruby
<Nilium> I like Go because I find its syntax to be completely boring
<Nilium> To the point that you can't even have code style arguments about Go code
<Nilium> Everything's just kind of settled and chill and I can go about my day writing code
arturaz has joined #ruby
<Ox0dea> `go fmt` deserves the praise there, though, not the syntax itself.
<Nilium> Which is a far cry from what I have to do when I'm maintaining node.js stuff or PHP stuff
memph1s has joined #ruby
<Nilium> Ox0dea: A bit of both, really. gofmt benefits a lot from the syntax being really dumb and simple.
wildroman2 has quit [Remote host closed the connection]
<Nilium> To the point that tools to parse Go come with Go, so if you want to mechanically modify Go code for some reason, it's pretty easy
<Nilium> It's not Lisp, but it beats trying to find tools to parse code for just about anything else
Xeago has joined #ruby
tvw has joined #ruby
<Nilium> But yeah, anyway, just wins on dumb simplicity for me.
<noethics> gosucks
<baweaver> down to it pushing z to an empty string
<Ox0dea> baweaver: That's at least halfway there.
<Nilium> Thinking is hard, I could stand to do less of it.
sfarley has quit [Remote host closed the connection]
<baweaver> PID / PID to get one, well played
<baweaver> at least you didn't have to church numeral it
<Nilium> I'd try drinking more but it doesn't really stop me from thinking. ಠ_ಠ
<Ox0dea> Nilium: Alcohol is like regular expressions.
riotjone_ has quit [Quit: Leaving...]
<Nilium> That might explain the over-abundance of both from some of the web devs I work with
<baweaver> the longer you use them the more confusing it becomes, and the worse it is the next morning
<cina> Ox0dea: how/where do I learn to write code like you did, or the ->{}[] lambda syntax you mentioned?
<Nilium> No, never ask how to do that
<Ox0dea> ^
<baweaver> ^^
<sevenseacat> ^^^
Musashi007 has quit [Quit: Musashi007]
tkuchiki_ has joined #ruby
intyl has quit [Ping timeout: 264 seconds]
<Aeyrix> ^^^^
<Nilium> ^^^^^
<Oka> . |
<Oka> Now it's a tree!
<Nilium> Oh no, it's happening again
<Ox0dea> Y'all're good people.
<Ox0dea> We can count higher than /b/, at any rate.
<Nilium> I have drank just enough tonight that everything is hilarious.
<Nilium> So that helps.
kahunaio has quit [Ping timeout: 265 seconds]
<cina> lol I don't the joke, but your responses were funny
<cina> I don't get* the...
pwnz0r has joined #ruby
<Aeyrix> cina: Seriously, you don't want to learn how to do that.
<Aeyrix> Primarily because it's useless. :P
kahunaio has joined #ruby
andikr has joined #ruby
<cina> Aeyrix: okay, I wouldn't want to do that in real projects, but I was hoping I would learn a couple of new things along the way
<Aeyrix> *shrugs* fair enough
<Aeyrix> no idea though, i don't do that sort of thing
Atomic_Work has quit [Ping timeout: 264 seconds]
j4cknewt has joined #ruby
snsei has quit [Remote host closed the connection]
karols has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ryba has joined #ruby
<Nilium> All of it comes down to iterating over the code while asking "how can I make this run using one line and look funky?"
karols has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
karols has quit [Max SendQ exceeded]
revath has joined #ruby
Bertg has joined #ruby
danielpclark has joined #ruby
vdamewood has quit [Ping timeout: 246 seconds]
<baweaver> I'll gist the translation later
allomov has joined #ruby
idiocrash has quit [Quit: Textual IRC Client: www.textualapp.com]
robbyoconnor has joined #ruby
idiocrash has joined #ruby
polysics has joined #ruby
ooesili has quit [Quit: leaving]
konsolebox has quit [Ping timeout: 252 seconds]
hotpancakes has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rubie has joined #ruby
<baweaver> Ox0dea: how does $. work?
intyl_ has joined #ruby
baweaver has left #ruby [#ruby]
baweaver has joined #ruby
tubuliferous_ has joined #ruby
zz_Outlastsheep is now known as Outlastsheep
Eiam has joined #ruby
karols has joined #ruby
vasilakisfil_ has joined #ruby
<Nilium> I question your definition of translated
Eiam has quit [Client Quit]
karols has quit [Max SendQ exceeded]
<baweaver> explained
hotpancakes has joined #ruby
<Ox0dea> baweaver: Line 50's comment is misleading.
rubie has quit [Ping timeout: 265 seconds]
fabrice31 has joined #ruby
gauke has joined #ruby
<baweaver> yeah, figured that and 36 would be vague
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
Marisa has quit [Ping timeout: 256 seconds]
<baweaver> couldn't figure out where or how $. got defined
tubuliferous_ has quit [Ping timeout: 264 seconds]
<Ox0dea> 36 is correct; $. is essentially ARGF.lineno.
amclain has quit [Quit: Leaving]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<Ox0dea> No input means it starts out conveniently at 0, and can thus be used as the value to increment.
wildroman2 has joined #ruby
<baweaver> or just steal your PID - PID
<Ox0dea> baweaver: Can't increment that since it's used elsewhere.
<baweaver> could make more than one
<Ox0dea> But $. is nice and terse. :)
<jfarmer> code nightmares courtesy of #ruby
intyl_ has quit [Ping timeout: 252 seconds]
skade has joined #ruby
<baweaver> ah, 50 returns the collection
<baweaver> got it
<Ox0dea> Oui.
doodleha_ has joined #ruby
fluchtreflex has quit [Ping timeout: 276 seconds]
sandstrom has joined #ruby
konsolebox has joined #ruby
<baweaver> well time for me to call it a night then
<Ox0dea> Beware the code nightmares.
towski_ has quit [Remote host closed the connection]
<Ox0dea> Also, kudos for so quickly deciphering that monstrosity.
<baweaver> I was curious, and let it get the better of me
<baweaver> I knew it was something to do with ASCII values at least.
<cina> baweaver: thanks for the gist!
ytti has joined #ruby
<Ox0dea> A rabbit hole I know only too well.
<baweaver> cina: just never do that for anything other than shenanigans
doodleha_ has quit [Read error: Connection reset by peer]
<baweaver> Ox0dea: I might have made a grave error in posting that.
<Ox0dea> Or as an alternative to PGP.
<_mh_> well... proves you can write anything in any language
<_mh_> :)
<Aeyrix> Ox0dea: _ = $$ / $$ # PID / PID or 1
<cina> lol no worries, just for educational purpose
<Ox0dea> Aeyrix: Hm?
<Aeyrix> That is fuckin clever.
<Ox0dea> It's the bedrock on which the whole thing stands.
<Aeyrix> I know.
<Aeyrix> That's why it's so clever.
<Ox0dea> Aye.
<Ox0dea> I'm reasonably certain that's the only way to get a 1 non-alphanumerically, but I would be delighted to be proved wrong in that regard.
<yorickpeterse> morning kids
<baweaver> >> [[]].size
<ruboto> baweaver # => 1 (https://eval.in/389062)
<baweaver> but alpha
<sevenseacat> but that has alphanumerics
<Ox0dea> So alpha.
<Aeyrix> baweaver: You used .size
vdmgolub has joined #ruby
memph1s has quit [Read error: Connection reset by peer]
<Aeyrix> >> $$/$$
<ruboto> Aeyrix # => 1 (https://eval.in/389063)
<Aeyrix> welp
<Ox0dea> Aeyrix: It's robust!
<Ox0dea> It only fails if you manage to use this program as PID 0.
<Ox0dea> Which I suspect is impossible.
<Aeyrix> If someone manage that
<Aeyrix> they have deeper issues
borodin has quit [Ping timeout: 264 seconds]
* baweaver quits top before he does damage
<Aeyrix> lmao
<sevenseacat> >> $.
<ruboto> sevenseacat # => 0 (https://eval.in/389064)
<sevenseacat> hmm
<Aeyrix> >> $.
<ruboto> Aeyrix # => 0 (https://eval.in/389065)
<Aeyrix> Why do I get 1?
<sevenseacat> same
<Aeyrix> $.
<Aeyrix> => 1
<Ox0dea> In irb?
<sevenseacat> yeah
matp has joined #ruby
<_mh_> Aeyrix: ruby -e "puts $."
dgutierrez1287 has joined #ruby
<Aeyrix> ya
<Aeyrix> but y tho
<Aeyrix> o
<Aeyrix> $. is a fixnum, why
<Ox0dea> Well, irb is obviously mucking about with ARGF.
<sevenseacat> foiled again.
<Aeyrix> makes sense now
mike___1234 has joined #ruby
sandelius has joined #ruby
fabrice31 has quit [Remote host closed the connection]
alex88 has joined #ruby
djellemah has joined #ruby
<Ox0dea> It's to do with irb's history management.
fabrice31 has joined #ruby
allomov has quit [Ping timeout: 264 seconds]
doodleha_ has joined #ruby
<Ox0dea> $. is `wc -l .irb_history` when you start irb.
krz has joined #ruby
Hounddog has joined #ruby
<nofxx> would like to make a rake tasks gem... will be just a require ? Write as if I was in the Rakefile ?
<nofxx> A gem with some rake tasks* ... actually only those tasks, but now that's it's a gem I might remove somethng to a module or class
doodleha_ has quit [Read error: Connection reset by peer]
dgutierrez1287 has quit [Ping timeout: 252 seconds]
gagrio has joined #ruby
<Ox0dea> Hm... do you reckon it's possible to obtain the value of self without explicitly saying "self"?
<Aeyrix> Probably yes.
<Ox0dea> Yes, probably. Ideas?
<baweaver> binding maybe
polysics_ has joined #ruby
<Ox0dea> >> binding.receiver # Nice!
<ruboto> Ox0dea # => main (https://eval.in/389068)
<sevenseacat> now to get that in non-alpha form? :P
<Ox0dea> sevenseacat: You know me too well.
<sevenseacat> ;)
doodleha_ has joined #ruby
vyorkin has joined #ruby
User458764 has joined #ruby
polysics has quit [Ping timeout: 250 seconds]
<apeiros> binding.receiver returns self in the binding? i.e. we can stop using binding.eval("self") now?
doodleha_ has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
<Ox0dea> That does seem to be the case.
<apeiros> good, good
vasilakisfil_ has quit [Ping timeout: 256 seconds]
jimms has joined #ruby
jimms has quit [Remote host closed the connection]
<baweaver> well, bed for me. 'night
<sevenseacat> see ya dood
<Ox0dea> Au revoir.
baweaver has quit [Remote host closed the connection]
<Aeyrix> Ciao mate. :)
doodleha_ has joined #ruby
atom3 has quit [Ping timeout: 276 seconds]
que__ has joined #ruby
atom3 has joined #ruby
vyorkin has quit [Ping timeout: 272 seconds]
codecodecode123 has joined #ruby
jimms has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
lsmola has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
doodleha_ has joined #ruby
<que__> guys need a bit help with ruby. http://paste.ofcode.org/386sDdfnbU3N3Mfh3PjzVxg -- this is a part of code of software i am using. and Problem is it should refresh the file and load it . as i test it nothing is refreshed. my question is there is first if statment IF something does it work ? it gives true false return ? can You look at the code and say something about it might be i am missing it
eGGsha has quit [Quit: Textual IRC Client: www.textualapp.com]
emilkarl has joined #ruby
<codecodecode123> Hi, I have a module with a method in it, but when I run that method, it raises NoMethodError. Can someone help me? https://gist.github.com/anonymous/165490d915772b902f64
doodleha_ has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
terlar has joined #ruby
terlar has quit [Client Quit]
<sevenseacat> and whats the error?
<jfarmer> codecodecode123 Do you understand the difference between class methods and instance methods?
terlar has joined #ruby
stoodfarback has quit [Ping timeout: 256 seconds]
<sevenseacat> heh I didn't even get that far
knite has quit [Read error: Connection reset by peer]
<jfarmer> :O
<jfarmer> I'm a line-cutter, I am
<codecodecode123> jfarmer, it is a module, are there class methods and innstance methods
<codecodecode123> ?
<apeiros> codecodecode123: yes
abuzze has quit [Remote host closed the connection]
<apeiros> "class methods" is a convenience term for "instance methods on the singleton_class"
abuzze has joined #ruby
<codecodecode123> can you make an instance of a module?
<codecodecode123> since when
Paradox has quit [Ping timeout: 256 seconds]
<apeiros> indirectly. include it into a class. instantiate that class.
<codecodecode123> why would i need to do that
<apeiros> no idea since when. but since before 1.8. i.e. >12y
bruno- has joined #ruby
<jfarmer> codecodecode123 Stop
<codecodecode123> what
<apeiros> codecodecode123: I don't know why you'd need to do anything.
<jfarmer> We're trying to help you, don't be combative.
fluchtreflex has joined #ruby
fluchtreflex has joined #ruby
<jfarmer> codecodecode123 You're defining an instance method which will only be defined on objects whose classes include your module.
doodleha_ has joined #ruby
<havenwood> codecodecode123: Try `def self.array_add(arr)` or with `module_function`: http://ruby-doc.org/core/Module.html#method-i-module_function
<codecodecode123> thank you havenwood
<apeiros> module_function +1
<apeiros> no use of self/ivars, classic case for it.
<jfarmer> codecodecode123 The more fundamental thing is that you think "def foo; ...;end" is doing something it isn't.
<sevenseacat> we're not here just to spew out answers to questions. we're here to educate.
<sevenseacat> and more importantly, to learn.
<codecodecode123> i thought the former applied
knite has joined #ruby
<jfarmer> If you want your code to work as-is, replace "def array_add ..." with "def self.array_add ..."
<jfarmer> (or use module_function)
<codecodecode123> thank you
<jfarmer> codecodecode123 The code as you've written it doesn't make much sense; it's a bad use of a module.
<codecodecode123> so what can i do to make it better (without the use of classes)
hotpancakes has quit [Remote host closed the connection]
<jfarmer> codecodecode123 Why do you want it to be in a module? What do you think the module is doing for you?
<jfarmer> Not a rhetorical question.
<jfarmer> You're using a module for some good-but-ultimately-misguided reason, so have to know the reason.
<codecodecode123> I think a module is a set of class methods.
doodleh__ has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
User458764 has joined #ruby
<jfarmer> codecodecode123 I'm asking: what prompted you to put array_add in a module?
<jfarmer> What made you go, "Oh, a module! That's what I need!"
doodleha_ has quit [Ping timeout: 256 seconds]
<codecodecode123> i just wanted to make a random project
<havenwood> que__: :ok if false #=> nil
<que__> havenwood: ok so its not this part of code. thx
<Ox0dea> jfarmer: I'm sure it's to do with having seen something like `Math.sqrt`.
<jfarmer> Ox0dea That's what I'm guessing.
<codecodecode123> im going to add more and more math methods
<havenwood> que__: Maybe sanity check that `@next_refresh` and `Time.now` are what you expect, but I don't see an issue with what you've shown.
<codecodecode123> even if they're useless
<Ox0dea> Using a module as a pseudo-namespace is pretty standard.
<jfarmer> codecodecode123 Not challenging the validity of what you've chosen to write, only asking why you're putting them in a module.
doodleh__ has quit [Read error: Connection reset by peer]
<jfarmer> Yeah, so it seems like you're using a module as a way to implement what we'd call a "namespace" (https://en.wikipedia.org/wiki/Namespace)
<codecodecode123> because i think a module is a set of class methods
<jfarmer> codecodecode123 No.
<Ox0dea> codecodecode123: It is considerably more than that.
<jfarmer> It's good your idea is clear, but it's not quite right.
<Ox0dea> Modules let us favor composition over inheritance.
<havenwood> connor_goodwolf: unless arr.is_a? # <- is a what?
<codecodecode123> ohhhhhhhhh
<havenwood> connor_goodwolf: sorry misstell
workmad3 has joined #ruby
<codecodecode123> so in my case, what do i do
<que__> havenwood: can You help me with this -> return unless filter?(event) what does it mean ? return unless filter got new event ?
<havenwood> que__: Hem? Maybe show the code?
<Ox0dea> codecodecode123: Put "module_function" on a line by itself right beneath "module MathTalk".
<havenwood> codecodecode123: And #is_a? takes an argument.
<jfarmer> codecodecode123 Here are two modules you interact with every day with Ruby but don't surface in the same way Math does:
<que__> line 149 150
<codecodecode123> havenwood: i didn't ask that, but thanks for correcting my code :)
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimms has quit [Remote host closed the connection]
<Ox0dea> codecodecode123: You can "mix in" Enumerable into any class that defines a suitable #each method and automagically add all sorts of additionally functionality.
<jfarmer> codecodecode123 If you post code, be prepared to get feedback on all of it.
toretore has quit [Quit: This computer has gone to sleep]
<Ox0dea> codecodecode123: The same goes for Comparable and #<=>.
<havenwood> que__: `return` returns early from the method *if* the return value of the #filter? method with `event` as an argument is anything but `false` or `nil`.
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<codecodecode123> jfarmer thanks for the protip XD
Xzanron has joined #ruby
<que__> havenwood: ok thx.
<codecodecode123> 0x0dea so i add more code when i do that?
<Ox0dea> codecodecode123: You *receive* code.
<Ox0dea> Think on that.
Marisa has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
<havenwood> que__: oh, it's `unless` not `if` so if it is `false` or `nil` - i said it backwards
<jfarmer> codecodecode123 I don't know how familiar you are with the various Enumerable methods like map, reduce, select, find, etc.
<que__> so as i said at beggining. if it is empty it wont go futher ?
<codecodecode123> 0x0dea oh, but that disagrees my slogan, "That code doesn't write itself!"
Scroff has joined #ruby
<Ox0dea> codecodecode123: Welcome to metaprogramming.
<Ox0dea> Only the term isn't strictly applicable in this case.
<codecodecode123> thanks for the soft welcome
<havenwood> que__: Is it making it to line 151 or returning early on live 150 because `filter?(event)` is `nil` or `false`?
<codecodecode123> jfarmer: i only see them as useful methods, nothing else.
<jfarmer> codecodecode123 Sure. They're all implemented in the Enumerable module.
<que__> havenwood: as You see it is plugin. i have no idea what is going on inside
<jfarmer> And if you have a class that implements its own "each" method, you can include the Enumerable module and get map, reduce, select, find, etc. automatically
Scrofff has joined #ruby
<jfarmer> All Enumerable requires is that the including class implement each; everything in the module is implemented in terms of each.
<jfarmer> That's more the "power" of modules.
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<apeiros> jfarmer: I think .size has been added too
Scroff has quit [Read error: Connection reset by peer]
<havenwood> que__: I don't know the context of how you're using this or what the problem is. It could be returning early, sure. Or skipping because the @refresh_interval hasn't been exceeded.
<codecodecode123> most coders are software bot programmers then, they write code that auto-completes itself, AT RUNTIME (well before that).
RegulationD has joined #ruby
User458764 has joined #ruby
<Ox0dea> >> Enumerable.instance_methods.size
<ruboto> Ox0dea # => 51 (https://eval.in/389088)
<Ox0dea> That is a lot of free functionality.
sandstro_ has joined #ruby
<codecodecode123> *jaw drops onto the floor
<codecodecode123> *
Raboo has quit [Quit: reboot]
<codecodecode123> wasnt ruboto ruby on android
Indian has joined #ruby
sandstrom has quit [Ping timeout: 252 seconds]
<adaedra> Greetings rubyists
<sevenseacat> different ruboto.
<havenwood> ?ruboto
<ruboto> I'm the channel bot, linker of the rules, adept of the facts, wielder of the banhammer.
<Ox0dea> ruboto, the second of his name.
<sevenseacat> hah
<codecodecode123> uuuuhhhh
<codecodecode123> weird
<maloik> psh, only one title?
<maloik> laaaame!
<apeiros> Ox0dea: ruboto doesn't like to be called "he", it's an it ;-p
<sevenseacat> titles, titles
<que__> ruboto beer
<codecodecode123> i whois'ed it
<Ox0dea> apeiros: I do apologize. I based my presumption on Spanish's gendered suffixes.
<codecodecode123> IM TALKING TO YOU APEIROS
<sevenseacat> o.O
doodleha_ has joined #ruby
<jfarmer> what
<adaedra> O.o
<apeiros> codecodecode123: and you shout why?
<codecodecode123> see for yourself
RegulationD has quit [Ping timeout: 244 seconds]
<Ox0dea> Jeeze.
<apeiros> codecodecode123: if you talk to me, just prefix your message with my nick
<Ox0dea> apeiros: Erm... he's accusing(?) you of owning ruboto.
<sevenseacat> with a bit less shouting.
<codecodecode123> apeiros: i hit capslock while drinking cola
<adaedra> Between tab and shift.
<apeiros> ah, yeah, ruboto uses the same login as I
<codecodecode123> yes
<adaedra> Ah, ninja'd
<apeiros> should still change that
doodleha_ has quit [Read error: Connection reset by peer]
<Ox0dea> codecodecode123: Sick detective work, mate.
<codecodecode123> thx
<havenwood> I change my caplocks to be another ctrl key.
<jfarmer> My in alt/option
<adaedra> havenwood: you got the control man
<havenwood> Which then is a *ton* of fun on other people's computer.
<ruboto> codecodecode123: no, I'm not apeiros. I'm autonomous. Thank you very much.
<codecodecode123> havenwood: why would you do that
<havenwood> When my case rapidly switched UP AND donwn.
Raboo has joined #ruby
<codecodecode123> thank you ruboto
<adaedra> I should do that, too
hotpancakes has joined #ruby
<havenwood> codecodecode123: The caplocks key is easy to hit and I don't actually ever want it.
<havenwood> codecodecode123: So I repurpose it.
<apeiros> ?owner
<ruboto> My owner is apeiros, I have many rulers though
<apeiros> it's quite a public fact that I own ruboto ;-)
<codecodecode123> oh
senayar has joined #ruby
senayar has joined #ruby
<sevenseacat> my caps lock makes a beeping noise so i know when i've hit it
<Ox0dea> codecodecode123: You're still a 1337 hax0r, though.
micmus has joined #ruby
<codecodecode123> a noob one actually
vikaton has quit [Quit: Connection closed for inactivity]
bigkevmcd has joined #ruby
anisha has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
sandelius has joined #ruby
white_bear has joined #ruby
<codecodecode123> so, do you change your nickname?
krz has quit [Read error: Connection reset by peer]
doodleha_ has joined #ruby
codecodecode123 is now known as hax0r1337
tkuchiki_ has quit [Read error: Connection reset by peer]
<apeiros> we usually don't change our nicknames, hax0r1337
tkuchiki_ has joined #ruby
<hax0r1337> ok
OrbitalKitten has joined #ruby
hax0r1337 is now known as codecodecode123
<Ox0dea> >> 0xc0dec0dec0de123
<ruboto> Ox0dea # => 868609847691436323 (https://eval.in/389089)
ndrei has quit [Remote host closed the connection]
<codecodecode123> I have been reborn!
sinkensabe has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 276 seconds]
doodleha_ has quit [Read error: Connection reset by peer]
timonv has joined #ruby
zz_Outlastsheep is now known as Outlastsheep
doodleha_ has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmes1 has joined #ruby
joonty has joined #ruby
Macaveli has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
hotpancakes has joined #ruby
TheHodge has joined #ruby
Al3ks has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
Indian has quit [Ping timeout: 246 seconds]
krz has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
axl_ has joined #ruby
doertedev has joined #ruby
ta has joined #ruby
k3asd` has joined #ruby
<pontiki> hi
doodleha_ has joined #ruby
codecodecode123 has quit [Quit: Page closed]
doodleha_ has quit [Read error: Connection reset by peer]
jfarmer has quit []
hotpancakes has quit [Ping timeout: 250 seconds]
doodleha_ has joined #ruby
<konsolebox> hi. anyone knows what could cause a child process you try to terminatee to defunct? I'm out of energy to examine the cause of this, so I'd be grateful if someone could give some ideas or tips
<konsolebox> i'm using the methods in Process btw
codecop has joined #ruby
codecop_ has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
<konsolebox> Ox0dea: btw, i was able to apply a good workaround to Readline. tell me if you're interested to see the code :) thanks again for the help yesterday btw
dumdedum has joined #ruby
sinkensabe has joined #ruby
marr has joined #ruby
doodleha_ has joined #ruby
<Ox0dea> konsolebox: You should be able to invoke Process.wait in the parent to kill the zombie.
<Ox0dea> And yes, I'd love to see how you managed it.
pwnz0r has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
rdark has joined #ruby
<_mh_> konsolebox: defunct means your parent failed to collect it once it's terminated (usually wait/waitpid missing in the parent)
doodleha_ has quit [Read error: Connection reset by peer]
houhoulis has quit [Remote host closed the connection]
<konsolebox> i see i actually only used Process.waitpid2 and never invoked Process.wait
ta has quit [Remote host closed the connection]
<Ox0dea> konsolebox: Just about as gnarly as might've been expected, but well done.
Xeago has quit [Remote host closed the connection]
doodleha_ has joined #ruby
<konsolebox> or to be exact, i only do `while (pid, status = Process.waitpid2(@pid, Process::WNOHANG)).nil?` to check if a process still exists. but Process.wait was actually needed for it
<konsolebox> Ox0dea: yeah, it would get better time to time :)
Xeago has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
<Ox0dea> konsolebox: I'm only half-joking in suggesting line = `read -ep '> ' f; echo $f`.
doodleha_ has joined #ruby
<Ox0dea> Okay, 90% jest; shelling out for each line of input is bad.
<konsolebox> Ox0dea: actually my original code works with Bash :) and it does use read.
blackmes1 has quit [Ping timeout: 264 seconds]
ryba has quit [Ping timeout: 265 seconds]
roshanavand has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
Outlastsheep is now known as zz_Outlastsheep
<Ox0dea> I've never seen a clean way to convert escaped literals to their actual values.
doodleh__ has joined #ruby
<apeiros> literal_parser gem!
<apeiros> (no idea whether it applies, didn't read backlog - and now break time, brb)
withnale_ has joined #ruby
doodleha_ has quit [Ping timeout: 265 seconds]
timonv has quit [Ping timeout: 248 seconds]
<Ox0dea> apeiros: How to go from '\n\r\t' to "\n\r\t"?
doodleh__ has quit [Read error: Connection reset by peer]
<Ox0dea> I've never seen it done "dynamically"; that is, without resorting to handling it on a case-by-case basis in order to just use the actual literal.
<bnagy> eval :(
<Ox0dea> >> '\n\r\t'.gsub(/\\([nrt])/) { eval "\\#$1" }
<ruboto> Ox0dea # => (eval):1: syntax error, unexpected $undefined (SyntaxError) ...check link for more (https://eval.in/389096)
<konsolebox> Ox0dea: that's one i'm trying to simplify as well
<Ox0dea> konsolebox: #gsub with a Hash is arguably a bit nicer.
doodleha_ has joined #ruby
<Ox0dea> bnagy: Did I not do that right?
<bnagy> no, it doesn't work :/
senayar has quit [Remote host closed the connection]
<konsolebox> Ox0dea: i actually tend to avoid eval unless necessary.. it significantly slows things down, most of the time... at least i don't want to use it on a char-by-char parser
oo_ has quit [Remote host closed the connection]
<Ox0dea> konsolebox: No, I would never suggest such a thing.
<Ox0dea> I just want to see if it's feasible.
codecop_ has quit [Quit: Išeinu]
doodleha_ has quit [Read error: Connection reset by peer]
<bnagy> >>eval("'\n'") # wrong :(
<Ox0dea> >> '\n\r\t'.gsub(/\\([nrt])/) { eval "\"\\#$1\"" } # derp
<ruboto> bnagy # => "\n" (https://eval.in/389105)
<ruboto> Ox0dea # => "\n\r\t" (https://eval.in/389105)
<Ox0dea> I was missing the quotes.
platzhirsch has joined #ruby
Igorshp has joined #ruby
<que__> guys is this saying anything for anyone ? i debbuged program and i got this http://paste.ofcode.org/bRm6JSRmEKnjALnukNxTAQ
_blizzy_ has joined #ruby
tubuliferous_ has joined #ruby
oo_ has joined #ruby
lavros has quit [Ping timeout: 265 seconds]
stan has joined #ruby
<Ox0dea> que__: You have a nil where the code is expecting something it can call + on.
<que__> ;/ damn how can i now find it. ehhhh
oo_ has quit [Remote host closed the connection]
platzhirsch has quit [Ping timeout: 272 seconds]
_blizzy_ has quit [Ping timeout: 248 seconds]
fella5s has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
IanV0rn has joined #ruby
IanV0rn has quit [Max SendQ exceeded]
tubuliferous_ has quit [Ping timeout: 265 seconds]
IanV0rn has joined #ruby
<Ox0dea> You should use a debugger, but if you're feeling silly, you could define nil.+(foo), and maybe the value of foo will point you in the right direction.
<que__> Ox0dea: so it is only error from there ?
<que__> it is from debugging mode
corpsicle has joined #ruby
<Ox0dea> Then you should be able to inspect your variables and determine which one is nil when it oughtn't be.
<que__> Ox0dea: that would be great if the program had only one rb file.
senayar has joined #ruby
lavros has joined #ruby
<que__> and it is not mine. i am just a simple sys adm.
fella6s has joined #ruby
oo_ has joined #ruby
Jackneill has joined #ruby
fella5s has quit [Ping timeout: 250 seconds]
blackmes1 has joined #ruby
<pontiki> que__: you'll probably have to direct your question to the program's authors :((
<Ox0dea> That's where the error is occurring, but I don't know the gem to say much more than that.
Zai00 has joined #ruby
<que__> moro pontiki yeah i did . just wanted to ask here to maybe masters of ruby can help me fix it. Ox0dea yeah i looked it up also.
<apeiros> it's incomplete, though. there's escape sequences it doesn't handle.
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sevenseacat has quit [Ping timeout: 248 seconds]
Karpah has joined #ruby
ahmetkapikiran has joined #ruby
hotpancakes has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba has joined #ruby
<Ox0dea> que__: Are you able to say which is more likely the offending Hash, @sincedb or @statcache?
<Ox0dea> apeiros: Ah, literal_parser lives up to its name.
<Ox0dea> It does seem #gsub's Hash form is the best approach, then.
<apeiros> Ox0dea: I explicitly didn't want to use eval. it uses it to resolve constants, but that can be disabled and the pattern is verified :)
<que__> the only thing i figure out is this - > when change in the file to longer text for expample aaa:bbb to aaaa:bbb all is ok when aa:bbb it crashes.
ryba has joined #ruby
<Ox0dea> apeiros: Would const_get not suffice?
hotpancakes has quit [Ping timeout: 244 seconds]
<apeiros> before 2.1 (or 2.2?) const_get could not handle nested constants. using each/inject to get "deep" constants was slower than eval.
<apeiros> with 2.1/2.2 I might do a polyfill
ghostpl has joined #ruby
<Ox0dea> Yep, makes sense. I ran into the same when trying to dynamically test my named unicode literals thing.
KetaPan has joined #ruby
renderful has joined #ruby
Xeago has quit [Remote host closed the connection]
knite has quit [Ping timeout: 256 seconds]
<apeiros> a version using inject might even be burried in the git history :)
hotpancakes has joined #ruby
KetaPan has quit [Client Quit]
ghostpl has quit [Remote host closed the connection]
ghostpl has joined #ruby
<apeiros> Ox0dea: oh wow, just actually read the code. it's obviously older than hash form of gsub :D
Igorshp has quit [Remote host closed the connection]
vdamewood has joined #ruby
Karpah is now known as sevenseacat
lessless has joined #ruby
<apeiros> (I doubt I wanted to be backwards compatible - I'd certainly have branched the code based on capability)
renderful has quit [Ping timeout: 250 seconds]
oo_ has quit [Remote host closed the connection]
stardiviner has quit [Quit: Weird in coding now, or make love, only two things push me away from IRC.]
skade has quit [Ping timeout: 255 seconds]
hotpancakes has quit [Ping timeout: 255 seconds]
skade has joined #ruby
platzhirsch has joined #ruby
knite has joined #ruby
Igorshp has joined #ruby
CloCkWeRX has joined #ruby
doodleha_ has joined #ruby
<Ox0dea> >> "\C-#{}"
<ruboto> Ox0dea # => "\u0003{}" (https://eval.in/389129)
<Ox0dea> I feel like interpolation should probably take precedence over this wonky \C guy.
Xeago has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
xrlabs has joined #ruby
KetaPan has joined #ruby
bruno- has joined #ruby
<apeiros> I disagree :)
<apeiros> it'd complicate matters quite a bit
<Ox0dea> Yes, it would.
mister_solo has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has joined #ruby
blackmes1 has quit [Ping timeout: 248 seconds]
kahunaio has quit [Ping timeout: 265 seconds]
doodleha_ has joined #ruby
Scroff has joined #ruby
<adaedra> :o
<Ox0dea> Mind, I'm not suggesting that the interpolation should attach to the \C.
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> I understood that
<apeiros> I understand that you want "\C-#{1+1}" to return "\\C-2"
<apeiros> or maybe without the \\
<Ox0dea> Right.
<apeiros> not sure about that part
doodleha_ has quit [Read error: Connection reset by peer]
<apeiros> but "\C-" starts a \C sequence. sequences are ltr.
<apeiros> it shouldn't suddenly change direction of interpretation
<Ox0dea> How Anglocentric of you.
<Ox0dea> I jest, of course.
ashleyis has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 264 seconds]
Scrofff has quit [Ping timeout: 272 seconds]
<apeiros> please, I'm not anglocentric. Clearly it should be obvious to everybody that I'm alemannicentric.
ghostpl has quit [Remote host closed the connection]
workmad3 has joined #ruby
<apeiros> alemannocentric?
doodleha_ has joined #ruby
<apeiros> plerp :)
<Ox0dea> $ ruby49 -e 'print("\C-A")' | xxd
<Ox0dea> 00000000: 01
<Ox0dea> These guys have been in since the beginning.
<apeiros> I'm happy ruby doesn't have trigraphs
<Ox0dea> Sign of the times, I suppose.
doodleha_ has quit [Read error: Connection reset by peer]
sfarley has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lavros has quit [Ping timeout: 246 seconds]
Xeago has quit [Remote host closed the connection]
white_bear has quit [Ping timeout: 244 seconds]
<quazimodo> um
Melite has joined #ruby
<BrianBoyko> Hey guys, especially apeiros - the site's up. And mostly running.
<apeiros> BrianBoyko: cool! I hope you forgive me for not knowing which site you're talking about, though :-S
<BrianBoyko> The site you were helping me work on. https://sendthisguytocodecamp.com/
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
<apeiros> heh, I *somewhat* suspected I might have helped you ;-)
ghostpl has joined #ruby
<apeiros> just didn't remember with what
KetaPan has quit [Remote host closed the connection]
auzty has quit [Quit: Leaving]
<BrianBoyko> I have a sneaking suspicion the site'll be on BoingBoing tomorrow. Maybe.
allomov has joined #ruby
* apeiros doesn't read boingboing :-/
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<BrianBoyko> It's a fairly popular blog.
lavros has joined #ruby
yaw has joined #ruby
<BrianBoyko> Anyway, things are great. Just promoted to family and friends, now we just have to wait for the morning pres.
<BrianBoyko> press.
dgutierrez1287 has joined #ruby
bf4 has joined #ruby
RegulationD has joined #ruby
txdv has joined #ruby
mikecmpbll has joined #ruby
<txdv> >> "Hello World"
<ruboto> txdv # => "Hello World" (https://eval.in/389141)
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<sevenseacat> I find these kinds of fundraisers uncomfortable.
vyorkin has joined #ruby
knite has quit [Read error: Connection reset by peer]
<sevenseacat> why do people need to give you money for you to do good works?
nhhagen has joined #ruby
<BrianBoyko> Because I don't have money.
<BrianBoyko> ...and I can't do the good works without the education, and I can't get the education without money.
<BrianBoyko> I mean, that 100 hour pledge - I'd probably volunteer that much anyway, but the difference between volunteering with specialized knowledge and volunteering without it.
<sevenseacat> so borrow some?
* apeiros now wonders how many hours he spent helping people
<ddv> BrianBoyko: there are tons of resources you can for free
<ddv> +find
<canton7> wouldn't it be a safer investment for us to fund someone who already has proven knowledge and experience?
<sevenseacat> apeiros: and to think, you could have been getting paid for it this whole time.
<apeiros> I suspect 100h doesn't even hit close to home :D
RegulationD has quit [Ping timeout: 248 seconds]
dgutierrez1287 has quit [Ping timeout: 252 seconds]
bf4 has quit [Ping timeout: 255 seconds]
<bnagy> haha broken https _b
j4cknewt has quit [Remote host closed the connection]
<bnagy> wow, that is beyond a trainwreck in chrome o_0
lavros_ has joined #ruby
<apeiros> if you'd assume an average of 1h per week (which is probably very conservative), I'd be around 500h now. but I guesstimate it's more in the ballpark of 1000-2000h (mind you, I'm much less active nowadays than what I've been)
<BrianBoyko> Canton7: Well, someone with proven knowledge and experience doesn't need the education. On the other hand, I've had proven talent. (Okay, my Ruby sucks, but still.)
IanV0rn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<BrianBoyko> Borrowing isn't an option.
<BrianBoyko> bnagy: What do you mean broken https?
<apeiros> BrianBoyko: I don't judge you. if people think it's a great idea to donate to you and you keep your promise - awesome.
<BrianBoyko> Thanks.
lavros has quit [Ping timeout: 256 seconds]
sfarley has quit [Remote host closed the connection]
<BrianBoyko> I mean, this isn't my first crowdfunding project. Just the first one where I'm asking for money for my education rather than for another person's cause. I raised $11M once. Didn't get to keep any of it, but still..
<sevenseacat> I don't judge *you*, but I find the idea distasteful. You'll probably get your goal, and good on you for it.
lkba_ has joined #ruby
<apeiros> hm
bruno- has joined #ruby
<apeiros> I'm actually a fan of something which does that in an institutionalized manner: http://www.vittana.org
<apeiros> it's part of my reserved yearly donation budget
<bnagy> BrianBoyko: my chrome doesn't trust your root cert
poguez_ has quit [Quit: Connection closed for inactivity]
<BrianBoyko> whaaaaaat?
tno has joined #ruby
<BrianBoyko> Can you give me a log of what it's saying?
<sevenseacat> apeiros: I like that.
lkba has quit [Ping timeout: 272 seconds]
<bnagy> oh, it's comodo. haha :<
<BrianBoyko> I'm using Cloudflare's SSL, I know it's not perfect...
BrianBoyko has left #ruby ["Leaving"]
BrianBoyko has joined #ruby
<maloik> you're putting in 100 hours for like 12k, rails girls summer of code raised 10x that for 15000 hours (rough estimate)
<sevenseacat> 100 hours is like two, three weeks of work
<sevenseacat> I doubt anyone here makes 12k for three weeks of work
<maloik> 16 teams of 2, 3 months, 30 hours per week... 11520
MrJiks_ has joined #ruby
<BrianBoyko> maloik: I think you're missing the point. I'm probably going to be putting in more than 100 hours. The point is that it sets a precident - anyone who wants to recieve a scholarship *after* me has to do *at least* that.
<maloik> and they're probably putting in more time in a week
<bnagy> BrianBoyko: welp, some portion of users will not be able to visit your site
<yorickpeterse> That money is used for much more than just paying students
<maloik> yorickpeterse: I know, but that just works in my favor
<sevenseacat> meh, I've said my piece.
<maloik> or well in favor of the point I'm trying to make
<yorickpeterse> didn't really follow, what's the tl;dr?
blackmes1 has joined #ruby
<yorickpeterse> besides "lol scroll up"
MrJiks has quit [Ping timeout: 265 seconds]
<adaedra> lol scroll down
<maloik> BrianBoyko is raising money to send him to bootcamp (12k USD?) and promises to work 100 hours pro bono for a non profit
<maloik> so I responded, RGSoC is imo a much better investment
<maloik> if you look at it purely logically like that
<BrianBoyko> Well, I'm also promising to pay the money forward for at least 12k * 105% to someone else.
<yorickpeterse> I'd rather donate to some well established organization than an individual
<maloik> ^
<yorickpeterse> RGSoC is less likely to blow it on crack, cars and hookers
<maloik> :D
<ljarvis> it's not inconceivable
<yorickpeterse> It's possible yes, but unlikely
<BrianBoyko> If I blew it on crack, cars, and hookers, I'd be prosecuted for fraud.
<yorickpeterse> No you wouldn't
<yorickpeterse> Because nobody would sue you
stardiviner has joined #ruby
<yorickpeterse> Plus donations don't come with any warranty/requirements IIRC
<sevenseacat> given you're not on one of the crowdfunding sites, likely not.
<sevenseacat> you're asking for donations, not backers.
IanV0rn has joined #ruby
<BrianBoyko> This probably isn't helping the point, but if I wanted to scam people out of money, there are much easier and less risky ways of doing it.
<yorickpeterse> tell that to 80% of all kickstarter projects
<ljarvis> im convinced
<maloik> BrianBoyko: I think if money is the only problem, you may as well find an unpaid internship to learn
<yorickpeterse> Either way, it will be very hard as an individual to get the money, no matter how honest
<ljarvis> hey i just realised i have today off work
<ljarvis> buh bye
<yorickpeterse> e.g. you might really want to achieve something, but unless you're well known you're sadly not going to get far
<sevenseacat> ljarvis: party!
<maloik> lol ljarvis :D
<ljarvis> \o/
<BrianBoyko> I'm kinda well known.
<yorickpeterse> local playground doesn't count
<maloik> ljarvis: how do you forget that?
<ljarvis> maloik: right?
<yorickpeterse> ljarvis: because he's working
<sevenseacat> it's all greek to me
<yorickpeterse> Also as an individual the question I'd ask: why me instead of the millions of others?
bkxd has quit [Quit: Reconnecting]
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
eGGsha has joined #ruby
<BrianBoyko> Because I have a track record of being trusted and living up to that trust with large sums of money before, because I have a track record of working for reform, and because I'm asking politely. Don't get me wrong, there are TONS of individuals in need of help. That's why I'm not taking the money and keeping it, I'm paying it forward.
senayar has quit [Remote host closed the connection]
eGGsha has quit [Client Quit]
<yorickpeterse> Not trying to be an ass, but most will counter that with
<yorickpeterse> fk
<yorickpeterse> with "Yeah everybody else says that too"
<yorickpeterse> e.g. I could say "Pay me 100k and I'll do something cool and totally not spend in on cat hats"
<yorickpeterse> "because I know how to handle money you can trust me"
<yorickpeterse> fuck, I wouldn't mind blowing 100k on funny cat hats
<BrianBoyko> No, not everyone else says that. When I say I have a track record with being responsible with large sums of "not-mine" money, I mean it.
<BrianBoyko> Think about it.
<yorickpeterse> The point is still, why you? Why not some kid from a poor country?
<yorickpeterse> "I know how to handle money" is like the worst argument
<BrianBoyko> No, not "I know how to handle money."
gix has quit [Quit: Client exiting]
<BrianBoyko> It's "I have been shown to have been trustworthy with a far greater sum when the oppertunity presented itself to be dishonest."
<txdv> what the fuck is a cat hat
mister_s_ has joined #ruby
<yorickpeterse> txdv: a hat for a cat
white_bear has joined #ruby
<yorickpeterse> let me get an example
<BrianBoyko> It's a cat shaped like a hat, or a hat shaped like a cat, or a hat for a cat, or a cat for a hat.
lala is now known as lala_
<txdv> why would you put hats on food
<Ox0dea> This guy.
senayar has joined #ruby
<yorickpeterse> txdv: to make it look better
senayar has quit [Changing host]
senayar has joined #ruby
borkdude has quit [Quit: ZNC - http://znc.sourceforge.net]
<yorickpeterse> http://i.imgur.com/dkOI4Dl.jpg <- hat for a cat
<yorickpeterse> (my cat to be exact)
<Ox0dea> Looks delicious.
chipotle has joined #ruby
<BrianBoyko> anyway, I'm going to try to get some sleep. big day tomorrow.
<BrianBoyko> Night guys.
BrianBoyko has quit [Quit: Leaving]
<Ox0dea> yorickpeterse: Your cat is adorbs; is he an ex-Googler?
hotpancakes has joined #ruby
<yorickpeterse> nah
mister_solo has quit [Ping timeout: 252 seconds]
<yorickpeterse> He hasn't started and sold any startups (catups?) just yet
<Ox0dea> Does he speak LOLCODE?
<yorickpeterse> No, he only meows all day
<yorickpeterse> when he's not asleep
Hobogrammer has quit [Ping timeout: 252 seconds]
<yorickpeterse> or chasing birds
<yorickpeterse> (which doesn't work because he has a bell around his neck)
Melite has quit [Quit: Leaving]
<yorickpeterse> so he gets in this cool tiger pose while the birds already noticed him minutes ago
<bnagy> that cat is unimpressed with his hat
<yorickpeterse> must be super frustrating
borkdude has joined #ruby
<yorickpeterse> "WHY DO THESE BIRDS FLY AWAY ALL THE TIME"
<bnagy> actually I've known cats that hunt fine with bells
<adaedra> More like
sandelius has joined #ruby
<adaedra> "MEOW MEOW MEOWMOEW MEEEEOW"
<sevenseacat> one of my cats is deaf, which makes it even more hilarious when he goes hunting birds with a bell on
<sevenseacat> "HOW DID THEY KNOW???"
<Ox0dea> >> 0xdeaf
<adaedra> Poor cat
<ruboto> Ox0dea # => 57007 (https://eval.in/389144)
<Ox0dea> That is a good number.
<yorickpeterse> I just imagine the birds having some sort of walky-talky system
vdamewood has quit [Quit: Life beckons.]
OrbitalKitten has joined #ruby
<sevenseacat> he also makes the most stupid noises, given he cant hear himself
eGGsha has joined #ruby
<yorickpeterse> "Red baron come in, red baron?" "This is red baron, the cat is out of the box, I repeat the cat is out of the box"
<Ox0dea> I was under the impression most birds had taken to communicating via tweets.
<yorickpeterse> god, that reminds me of Dogfort :<
choke has joined #ruby
hotpancakes has quit [Ping timeout: 256 seconds]
<yorickpeterse> I wonder if different bird species can understand each other
hmsimha_ has quit [Ping timeout: 265 seconds]
hmsimha has quit [Ping timeout: 265 seconds]
<yorickpeterse> or if it just sounds like a bunch of drunks
<sevenseacat> I want to write something articulate about how distasteful I find that crowdsourcing stuff, but given how prevalent it is these days, would probably get myself in trouble
<sevenseacat> crowdfunding, rather
<connor_goodwolf> curious, what happened to #ruby-lang? :)
<sevenseacat> it merged in with us here in #ruby
<yorickpeterse> jhass brutally forced us to merge
<connor_goodwolf> interesting
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<connor_goodwolf> A good thing I suppose, though just be careful of the old ops, some of them hold grudges.
<jhass> meh, and already another week we didn't survive without the question
<yorickpeterse> :P
<connor_goodwolf> jhass: I didn't pay attention to it until someone lazy tabbed my name
<connor_goodwolf> then I seen the /title
sdothum has joined #ruby
<apeiros> sevenseacat: I actually once made 10k for 2h of work :D (contractor wanted 40k for it, we couldn't do it internally so I offered to do it in my spare time for 1/4th the price… and we had much less overhead too - no custom server setup for the stuff, full integration in our existing apps)
sepp2k has joined #ruby
<apeiros> granted, I added 6h more of work to add unspecified stuff because I felt a little guilty :D
fabrice31 has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 248 seconds]
<connor_goodwolf> apeiros: business is business, never feel guilty
<apeiros> connor_goodwolf: honestly, I found the contractor should feel guilty asking 40k for something which took me 2h…
<yorickpeterse> businesses would be so much better if you'd get money without customers
denver has joined #ruby
<yorickpeterse> our business basically revolves around "WHERE ARE MY GOSH DARN REVIEWS????1111"
<yorickpeterse> "THIS OTHER COMPETITOR HAS THEM!!!"
Rickmasta has joined #ruby
<connor_goodwolf> apeiros: when Summly sold there were quite a few people, even those who I thought were peers but in reality they were far below me, say things like: "They're just bolt-on engineers", "you don't deserve the money after only 18 months work, I spent 5 years on my startup and it went nowhere." etc etc
Akagi201 has quit [Remote host closed the connection]
<connor_goodwolf> apeiros: so pretty much, consider t business is buiness
<yorickpeterse> "THIS OTHER COMPETITOR HAS DATA FIELD X" "but it doesn't exist in that service" "BUT THEY HAVE ITT!!!"
alotofnoodles has joined #ruby
gix has joined #ruby
Akagi201 has joined #ruby
Akagi201 has quit [Remote host closed the connection]
lala_ is now known as lala
Xeago has joined #ruby
<connor_goodwolf> apeiros: when you keep on doing what you did, you'll feel more accomplished, there's a word for it what you experienced
gix has quit [Client Quit]
<connor_goodwolf> Imposter Syndrome
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
gix has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
ooesili has joined #ruby
emilkarl has quit [Quit: emilkarl]
CloCkWeRX has quit [Quit: Leaving.]
Indian has joined #ruby
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous_ has joined #ruby
rubie has joined #ruby
iamninja has quit [Quit: WeeChat 1.2]
quazimodo has quit [Ping timeout: 248 seconds]
GitGud has quit [Ping timeout: 256 seconds]
fabrice31 has joined #ruby
<yorickpeterse> wtf, my mouse cursor vanished
<adaedra> keep calm and use your keyboard
i8igmac has quit [Ping timeout: 264 seconds]
frg133 has joined #ruby
<yorickpeterse> well it still works, the cursor is just invisible
<yorickpeterse> this is the weirdest bug
i8igmac has joined #ruby
rubie has quit [Ping timeout: 265 seconds]
tubuliferous_ has quit [Ping timeout: 272 seconds]
nofxx has quit [Ping timeout: 244 seconds]
AlexAltea has quit [Ping timeout: 276 seconds]
senayar has quit [Remote host closed the connection]
blackmes1 has joined #ruby
Asher has quit [Ping timeout: 246 seconds]
Asher has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Axy has quit [Ping timeout: 265 seconds]
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
Zai00 has quit [Quit: Zai00]
revath has quit [Ping timeout: 252 seconds]
vondruch_ has joined #ruby
jzigmund_ has joined #ruby
gagrio_ has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jzigmund has quit [Read error: Connection reset by peer]
gagrio has quit [Read error: Connection reset by peer]
sfarley has joined #ruby
ruby-lang510 has joined #ruby
blackmes1 has quit [Ping timeout: 265 seconds]
ryba has quit [Ping timeout: 264 seconds]
<workmad3> yorickpeterse: shake your mouse furiously until it reappears
<workmad3> (that's my normal solution for that type of problem)
<adaedra> burn the whole machine
vondruch has quit [Ping timeout: 252 seconds]
<workmad3> adaedra: that's plan B
<sevenseacat> its the only way to be sure.
frem has quit [Quit: Connection closed for inactivity]
jzigmund_ has quit [Ping timeout: 265 seconds]
tomaz_b has joined #ruby
matp has quit [Quit: Bye!]
gagrio_ has quit [Ping timeout: 264 seconds]
vondruch_ has quit [Ping timeout: 276 seconds]
Bertg has joined #ruby
jzigmund has joined #ruby
iamninja has joined #ruby
rodfersou has joined #ruby
<shevy> yorickpeterse hire a cat to discover the mouse
phutchins has joined #ruby
Oka has quit [Remote host closed the connection]
TinkerTyper has quit [Ping timeout: 264 seconds]
blackmes1 has joined #ruby
TinkerTyper has joined #ruby
bonehead has joined #ruby
Xeago has quit [Remote host closed the connection]
Xzanron_ has joined #ruby
matp has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
astrobunny has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
ghostpl has quit [Remote host closed the connection]
Oka has joined #ruby
arup_r has joined #ruby
vondruch_ has joined #ruby
Xzanron has quit [Ping timeout: 256 seconds]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vondruch_ is now known as vondruch
towski_ has joined #ruby
Xeago has joined #ruby
gagrio_ has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
astrobunny has joined #ruby
skade has joined #ruby
railsraider has joined #ruby
eGGsha has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
towski_ has quit [Ping timeout: 250 seconds]
eGGsha has joined #ruby
emilkarl has joined #ruby
skade has quit [Client Quit]
sfarley has quit [Remote host closed the connection]
<adaedra> but don't forget the hat!
gix has quit [Ping timeout: 256 seconds]
<shevy> what is with those hats
<yorickpeterse> heh
eGGsha has quit [Client Quit]
tomaz_b has quit [Quit: Leaving]
<apeiros> workmad3: what happened to "did you try to turn it off and on again?"?
<adaedra> it never turned on again. ever.
_blizzy_ has joined #ruby
Xoro has quit [Ping timeout: 265 seconds]
IanV0rn_ has joined #ruby
gix has joined #ruby
xrlabs has quit [Quit: This computer has gone to sleep]
astrobunny has quit [Remote host closed the connection]
IanV0rn has quit [Read error: Connection reset by peer]
fantazo has joined #ruby
havenwood has quit [Ping timeout: 276 seconds]
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
<shevy> I suppose default ruby does not have a hash or another means to convert
alex88 has quit []
<shevy> the integer 1 into the word 'one' ?
<shevy> and so forth
symbol has joined #ruby
eGGsha has joined #ruby
diegoviola has joined #ruby
<canton7> a hash of infinite length?
astrobunny has joined #ruby
<Aeyrix> >> Array.new(10)
<ruboto> Aeyrix # => [nil, nil, nil, nil, nil, nil, nil, nil, nil, nil] (https://eval.in/389234)
<yorickpeterse> well, at least rebooting got me my cursor back
roshanavand has quit [Ping timeout: 250 seconds]
EasyCo has quit [Quit: Connection closed for inactivity]
<yorickpeterse> stupid computers
Marisa has quit [Ping timeout: 256 seconds]
<shevy> canton7 can be generic or up to some length
<adaedra> >> {1: 'one'}[1]
symbol has quit [Client Quit]
<ruboto> adaedra # => /tmp/execpad-21a8126b9db9/source-21a8126b9db9:2: syntax error, unexpected ':', expecting => ...check link for more (https://eval.in/389236)
<canton7> and one hash for each language?
<shevy> I seem to keep finding myself in need of that
<adaedra> erf
<adaedra> >> {1 => 'one'}[1]
<ruboto> adaedra # => "one" (https://eval.in/389237)
<adaedra> :)
symbol has joined #ruby
<adaedra> but no, I don't think there is a list of number names in stdlib
<apeiros> shevy: there's a gem
mbhnvs has joined #ruby
RegulationD has joined #ruby
ooesili has quit [Quit: leaving]
xrlabs has joined #ruby
Marisa has joined #ruby
denver has quit [Ping timeout: 252 seconds]
astrobunny has quit [Remote host closed the connection]
lapide_viridi has joined #ruby
nofxx has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
quazimodo has joined #ruby
yfeldblum has quit [Ping timeout: 248 seconds]
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kirun has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
roshanavand has joined #ruby
Bertg has joined #ruby
tomaz_b has joined #ruby
mister_s_ has quit [Ping timeout: 252 seconds]
urbanmonk has quit [Quit: urbanmonk]
sfarley has joined #ruby
arup_r has quit [Remote host closed the connection]
mister_solo has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
startupality has joined #ruby
valkyrka has joined #ruby
revath has joined #ruby
<valkyrka> hi guys, I’m having an issue with migrating a redmine instance - I’m getting the following error trying to access it
krz has quit [Quit: WeeChat 1.0.1]
<valkyrka> but the psych module is installed
sfarley has quit [Remote host closed the connection]
aotg has quit [Quit: ZNC - http://znc.in]
<valkyrka> does anyone have any idea what might be wrong with it?
tkuchiki has quit [Ping timeout: 248 seconds]
CloCkWeRX has joined #ruby
aotg has joined #ruby
sgambino has joined #ruby
nofxx has quit [Ping timeout: 256 seconds]
senayar has joined #ruby
Zai00 has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pskosinski has quit [Quit: Connection closed for inactivity]
ruby-lang510 has quit [Ping timeout: 246 seconds]
hotpancakes has joined #ruby
Igorshp has quit [Remote host closed the connection]
_ht has quit [Ping timeout: 256 seconds]
pengin has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fabrice31 has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
zz_Outlastsheep is now known as Outlastsheep
hotpancakes has quit [Ping timeout: 248 seconds]
sandelius has joined #ruby
dgutierrez1287 has joined #ruby
Igorshp has joined #ruby
AugustoCesar has joined #ruby
sbhatore1 has joined #ruby
arup_r has joined #ruby
but3k4 has joined #ruby
sbhatore has quit [Ping timeout: 276 seconds]
pabloh has joined #ruby
Xzanron has joined #ruby
ryba has joined #ruby
astrobunny has joined #ruby
CloCkWeRX has quit [Ping timeout: 264 seconds]
gagrio_ has quit [Ping timeout: 246 seconds]
sbhatore has joined #ruby
Xzanron_ has quit [Ping timeout: 252 seconds]
sbhatore1 has quit [Ping timeout: 276 seconds]
abuzze_ has joined #ruby
pengin has quit [Remote host closed the connection]
abuzze has quit [Read error: Connection reset by peer]
Papierkorb has joined #ruby
hotpancakes has joined #ruby
AugustoCesar has left #ruby ["PONG :asimov.freenode.net"]
IanV0rn_ has quit [Quit: Textual IRC Client: www.textualapp.com]
revath has left #ruby [#ruby]
IanV0rn2341 has joined #ruby
rbennacer has joined #ruby
_ht has joined #ruby
lapide_viridi has quit [Quit: Leaving]
hotpancakes has quit [Ping timeout: 250 seconds]
jlast has quit [Ping timeout: 248 seconds]
atomical has joined #ruby
atomical has quit [Read error: Connection reset by peer]
sfarley has joined #ruby
Gadgetoid has quit [Ping timeout: 244 seconds]
Yiota has joined #ruby
bonehead has quit [Quit: Leaving]
emilkarl has quit [Quit: emilkarl]
CloCkWeRX has joined #ruby
eggoez has quit [Ping timeout: 252 seconds]
CHVNX has quit [Ping timeout: 246 seconds]
mattarse has joined #ruby
krz has joined #ruby
gagrio_ has joined #ruby
Gadgetoid has joined #ruby
bruno- has quit [Quit: Lost terminal]
User458764 has joined #ruby
<yorickpeterse> ergh, I hate hunting down memory leaks in Ruby
<yorickpeterse> especially when the only tools available just flat out disable the GC
tubuliferous_ has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
mister_solo has quit [Ping timeout: 256 seconds]
skade has joined #ruby
chinmay_dd has joined #ruby
nateberkopec has joined #ruby
phizzbuzz has quit [Ping timeout: 264 seconds]
CloCkWeRX has quit [Ping timeout: 256 seconds]
emilkarl has joined #ruby
Mia has quit [Ping timeout: 272 seconds]
atomical_ has joined #ruby
tubuliferous_ has quit [Ping timeout: 250 seconds]
CamonZ has joined #ruby
sankaber has joined #ruby
jschoolcraft has joined #ruby
IanV0rn2341 has quit [Ping timeout: 276 seconds]
CloCkWeRX has joined #ruby
bruno- has joined #ruby
Xiti has quit [Quit: Xiti]
IanV0rn2341 has joined #ruby
rbennacer has quit [Remote host closed the connection]
sfarley has quit [Remote host closed the connection]
bruno- has quit [Client Quit]
IanV0rn2_ has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
bruno- has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roolo_ has joined #ruby
zotherstupidguy has quit [Ping timeout: 276 seconds]
Igorshp has quit [Remote host closed the connection]
bruno- has quit [Client Quit]
dstarh has joined #ruby
sinkensabe has quit [Remote host closed the connection]
IanV0rn2341 has quit [Ping timeout: 264 seconds]
bf4 has joined #ruby
roolo has quit [Ping timeout: 256 seconds]
IanV0rn2_ has quit [Client Quit]
zotherstupidguy has joined #ruby
IanV0rn2341 has joined #ruby
Igorshp has joined #ruby
startupality has quit [Ping timeout: 244 seconds]
sfarley has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
revoohc has joined #ruby
Scroff has quit [Ping timeout: 264 seconds]
Scrofff has joined #ruby
mike___1234 has quit [Ping timeout: 248 seconds]
RegulationD has joined #ruby
Scroff has joined #ruby
bf4 has quit [Ping timeout: 248 seconds]
weemsledeux has quit [Ping timeout: 256 seconds]
sfarley has quit [Remote host closed the connection]
emilkarl has quit [Quit: emilkarl]
bhorn1 has joined #ruby
Scroff_ has joined #ruby
ldnunes has joined #ruby
sinkensabe has joined #ruby
<yorickpeterse> hm, I like the part where Nokogiri just allocates 541 XML::SyntaxError classes
[k- has joined #ruby
<shevy> hmm
<shevy> <my_poor_good_man>yorickpeterse</my_poor_good_man>
Scrofff has quit [Ping timeout: 264 seconds]
<[k-> o/
<[k-> eww xml
thelastinuit has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
emilkarl has joined #ruby
fabrice31_ has joined #ruby
Scroff has quit [Ping timeout: 272 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> maybe it's sgml still
ringarin has joined #ruby
Ropeney has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
zz_Outlastsheep is now known as Outlastsheep
fabrice31_ has quit [Remote host closed the connection]
<yorickpeterse> "LL::ParserError: Unexpected T_STRING_SQUOTE, expected element closing tag instead on line 3280" welp, so much for trying to use Oga
fabrice31 has joined #ruby
_blizzy_ has quit [Ping timeout: 248 seconds]
<[k-> is it that Ook! type of language?
sfarley has joined #ruby
<[k-> im pretty suspicious of those 3 letter languages...
<[k-> oh look, yorickpeterse, you're on the 4th result
<yorickpeterse> of what?
<[k-> the search term "oga"
<yorickpeterse> I get golf courses
<yorickpeterse> "Oregon Golf Association" and stuff like that
acrux09 has joined #ruby
<yorickpeterse> well unless I search for "ruby oga"
acrux09 has left #ruby [#ruby]
<[k-> i think i search for ruby fairly often
<[k-> google probably knows what i want
symm- has joined #ruby
xrlabs has quit [Quit: This computer has gone to sleep]
xrlabs has joined #ruby
nateberkopec has quit [Quit: Leaving...]
sfarley has quit [Remote host closed the connection]
millerti has joined #ruby
<[k-> yorickpeterse: there is errata on the readme
sbhatore has quit [Read error: Connection reset by peer]
bf4 has joined #ruby
<yorickpeterse> :P
Zai00 has quit [Quit: Zai00]
<[k-> k
sbhatore has joined #ruby
Igorshp has quit [Remote host closed the connection]
pabloh has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
CamonZ has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
dorei has joined #ruby
kfpratt has joined #ruby
tomaz_b has quit [Quit: Leaving]
eGGsha has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<yorickpeterse> Ah thanks, I'll fix it later today
sfarley has joined #ruby
fabrice31_ has joined #ruby
gagrio_ has quit [Ping timeout: 252 seconds]
fabrice31_ has quit [Read error: Connection reset by peer]
fabrice31_ has joined #ruby
albatross1 has joined #ruby
mike___1234 has joined #ruby
shellie_ has joined #ruby
consmans has joined #ruby
nhhagen has quit [Remote host closed the connection]
mbeasley has joined #ruby
fabrice31 has quit [Ping timeout: 246 seconds]
mister_solo has joined #ruby
mbeasley has left #ruby [#ruby]
p1k has joined #ruby
<consmans> Heya all, I am making a study on the governance of ruby and it would be nice if there would be someone to fill the gaps of what I have found out
sfarley has quit [Ping timeout: 250 seconds]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
nfk has joined #ruby
Zai00 has joined #ruby
shellie_ has left #ruby [#ruby]
malconis has joined #ruby
bruno- has joined #ruby
Igorshp has joined #ruby
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
<[k-> I <3 the cmdline
<[k-> it allows me to do things mac gui doesnt allow me to
sinkensabe has quit [Remote host closed the connection]
<yorickpeterse> [k-: fixed
<yorickpeterse> :P
rbennacer has joined #ruby
eGGsha has joined #ruby
<[k-> :P
sinkensabe has joined #ruby
que__ has quit [Quit: Page closed]
dblessing has joined #ruby
jlast has joined #ruby
Scroff has joined #ruby
droidburgundy has joined #ruby
jimms has joined #ruby
j4cknewt has joined #ruby
Scroff_ has quit [Ping timeout: 264 seconds]
roshanavand has quit [Read error: Connection reset by peer]
CloCkWeRX has left #ruby [#ruby]
mister_solo has quit [Ping timeout: 256 seconds]
Akagi201 has joined #ruby
Scroff has quit [Ping timeout: 272 seconds]
<[k-> yorickpeterse: did you mean `Corrected "explici" typo`?
blackmes1 has joined #ruby
Akagi201_ has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
<[k-> huehuehue
rubie has joined #ruby
<consmans> Is it correctly understood that anyone can join the Ruby core and that in order for my branch to be merged, I have to "just" create a ticket?
nhhagen has joined #ruby
Scroff has joined #ruby
intyl has joined #ruby
d10n-work has joined #ruby
coderhs has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Akagi201 has quit [Ping timeout: 265 seconds]
IanV0rn2_ has joined #ruby
<[k-> consmans: did you see this yet? https://www.ruby-lang.org/en/community/ruby-core/
dyoung_ has joined #ruby
albatross1 has left #ruby [#ruby]
jerius has joined #ruby
IanV0rn2_ has quit [Max SendQ exceeded]
blackmes1 has quit [Ping timeout: 246 seconds]
IanV0rn2_ has joined #ruby
IanV0rn2341 has quit [Ping timeout: 252 seconds]
rubie has quit [Ping timeout: 265 seconds]
<consmans> Yes thanks. It is still not unclear to me how changes are approved. More how one bacomes commiter, contributor, and maintainer?
jimms has quit [Remote host closed the connection]
IanV0rn2_ has quit [Max SendQ exceeded]
dyoung_ has quit [Client Quit]
IanV0rn2341 has joined #ruby
<consmans> *not clear
<[k-> i'm not very clear on it too
<consmans> :)
<[k-> if you don't get any answers here, you can try the mailing list
<sevenseacat> its got steps for doing it, right there
<sevenseacat> for putting a patch in
whippythellama has joined #ruby
<consmans> I guess contributor is anyone who has changes approved
<yorickpeterse> [k-: ha
<yorickpeterse> that wasn't even intended
hotpancakes has joined #ruby
<yorickpeterse> lol
IanV0rn2341 has quit [Max SendQ exceeded]
bkxd has quit [Ping timeout: 256 seconds]
mister_solo has joined #ruby
<[k-> so you made a typo when correcting a typo XD
IanV0rn2341 has joined #ruby
alotofnoodles has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<yorickpeterse> Yeah lets not even go there
<yorickpeterse> it was totally planned
thiagovsk has joined #ruby
ahmetkapikiran has joined #ruby
<shevy> consmans no idea how to become part of the inner circle; if you know the japanese language and look like a ninja then the chances are surely great
IanV0rn2341 has quit [Max SendQ exceeded]
<sevenseacat> contribute a lot, and you'll probably be given commit access.
<consmans> lol I am far from then :(
IanV0rn2341 has joined #ruby
commondream has joined #ruby
<bougyman> good luck learning japanese.
<sevenseacat> if you're asking these questions, yeah.
alotofnoodles has joined #ruby
<bougyman> when I started learning ruby there was almost no english documentation.
<bougyman> manveru: did you ever learn to read/write it?
<manveru> もちろんです
<yorickpeterse> on nice, this one website has <a .... onmouseover=lump-of-javascript-without-quotes>
<yorickpeterse> I hate HTML
<bougyman> I assume that's a yes :)
<shevy> yorickpeterse would you like HTML more without javascript?
<yorickpeterse> Yes
<shevy> :)
<yorickpeterse> the world would be much easier
<yorickpeterse> Well, HTML without inline Javascript
hotpancakes has quit [Ping timeout: 252 seconds]
NiVanc has joined #ruby
djstorm has joined #ruby
<[k-> if you write a patch, you are a contributor
<[k-> if you maintain/improve the stdlib, you are a commiter
gambl0re has quit [Ping timeout: 256 seconds]
<yorickpeterse> maintaining stdlib requires you to deal with the mess that is stdlib
<[k-> huehuehue
<consmans> :S
<jhass> can I adopt some stdlib maintenance by removing it?
<[k-> you can look through the page you linked and you can see trends
<yorickpeterse> jhass: no code is the best code
<consmans> can anyone maintain the stdlib or do you have to be given "access"
<consmans> ?
commondream has left #ruby [#ruby]
<[k-> jhass: then you are not maintaining
<yorickpeterse> hm, that doesn't sound right
<yorickpeterse> The best code is no code
<yorickpeterse> better
<yorickpeterse> consmans: you can request it
<[k-> once you remove it, you dont have anything to maintain
<[k-> the best code is code that is not there
<[k-> so you dont have any chance to do anything wrong!
<consmans> so hierarchically from bottom to top it would be: contributor - commiter - maintainer
<consmans> ?
<[k-> i think commiter & maintainers are the same
<consmans> ah ok!
<consmans> is there anything more than that?
charliesome has quit [Quit: zzz]
<[k-> you should look through the list again for more trends :S
<yorickpeterse> there's also "deckhand" and "landlubber"
<[k-> there is also a small team that leads Ruby
<yorickpeterse> But in all seriousness, usually it's just "maintainers" and "contributors"
Scrofff has joined #ruby
atomical_ has quit [Read error: Connection reset by peer]
<consmans> yorickpeterse what are those? also roles?
atomical has joined #ruby
atom3 has quit [Ping timeout: 276 seconds]
<yorickpeterse> it was a joke
<shevy> well community maintenance would be nice
<shevy> if take-over of a project would actually work
<shevy> most of _why projects have found a new maintainer, no idea how active these are
<consmans> [k- any more info on the small team that leads Ruby? What are they called e.g.
<maloik> I'm not up to speed on his projects, I just know shoes is still pretty popular
<maloik> we always get a couple proposals for talks about Shoes every year
<yorickpeterse> They're usually referred to as "The Ruby core team"
atom3 has joined #ruby
webguynow has quit [Ping timeout: 252 seconds]
<[k-> well, there are 3 people hired by heroku to work on ruby
<yorickpeterse> maloik: ask if they instead can do talks about sneakers
* yorickpeterse runs
<maloik> :D
<yorickpeterse> I would be the worst conference organization because I'd make bad puns like that all the time
hinbody has joined #ruby
<[k-> shoes (havent tried 4 yet) is terrible
<yorickpeterse> hahaha
<maloik> spoiler: nothing like shoes
<yorickpeterse> it actually exists?
<maloik> I doubt my colleagues knew about sneakers when they created that
Scroff has quit [Ping timeout: 252 seconds]
<yorickpeterse> You mean Shoes?
<maloik> yes
<yorickpeterse> heh
<maloik> for some reason, we used to name everything after a piece of clothing :/
<consmans> I thought the Ruby core was also contributers and maintainers - is that wrong?
<maloik> gl figuring out which is the FAQ app, which is the control panel etc when everything is called "hat", "underpants", "sock", "sneakers
RegulationD has joined #ruby
Guest85 has joined #ruby
<maloik> [k-: not all of them are actual employees though, right?
Guest85 has left #ruby [#ruby]
<[k-> the Ruby core team is different, they are like the board of directors
<[k-> no, only 3
emilkarl has quit [Quit: emilkarl]
<[k-> iirc
<maloik> I meant of those 3
<maloik> e.g. I think zakk isn't? could be wrong
<maloik> not that it matters :-)
<yorickpeterse> [k-: we use weird train related names and Japanese mythology
<[k-> i meant those 3 are hired by heroku, but there are others
CloCkWeRX has joined #ruby
<yorickpeterse> and a few boring ones such as "review-collector"
Scroff has joined #ruby
<shevy> consmans they sometimes maintain things or contribute new stuff, so yeah that is true. but I guess it depends on how much they want to maintain things in the first place; usually bug-fixes and such are quick, but other than that, many things don't change for quite a while
<shevy> consmans have a look at who made the most recent changes to the main ruby:
arup_r has quit [Remote host closed the connection]
p1k has quit [Ping timeout: 256 seconds]
ItSANgo_ has quit [Quit: Leaving...]
RegulationD has quit [Ping timeout: 265 seconds]
<yorickpeterse> although I think that only includes those with a Github account
Scroff has quit [Remote host closed the connection]
Scrofff has quit [Ping timeout: 248 seconds]
Scroff has joined #ruby
NeverDie has joined #ruby
alex88 has joined #ruby
speaking1ode has quit [Ping timeout: 252 seconds]
<consmans> Thanks for the info you guys this really helps.
<[k-> heh
mattarse has quit [Quit: Leaving]
nhhagen has quit [Remote host closed the connection]
emilkarl has joined #ruby
<consmans> Is something in the following lines then true: one becomes contributor by contribution, commiter by more contribution, and core?
millerti has quit [Max SendQ exceeded]
<yorickpeterse> I wouldn't distinguish between contributor and commiter
Scrofff has joined #ruby
<[k-> i would
Scroff has quit [Read error: Connection reset by peer]
<sevenseacat> this seems pretty standard, no?
<yorickpeterse> You contribute by comitting something, either code, documentation, support, etc
<[k-> i think the core team is made up of a small group of people
<[k-> they have to meet up to discuss about ruby
<yorickpeterse> Those are maintainers
<[k-> [citation in one of matz conference videos)
<[k-> ]*
<[k-> you contribute something by opening an issue, and someone with commit access commits it
<consmans> Interesting. The groups are established according to level of contribution then?
<[k-> there are only 2 groups
<[k-> the core is special
<[k-> i think we need the mailing list's expertise here
<consmans> the two groups you refer to is the contributor & commiter?
<shevy> consmans core team is like matz right hand
Leef_ has joined #ruby
<consmans> shevy so the core team is "hand picked"?
Leef_ has quit [Remote host closed the connection]
<shevy> sure
centrx has joined #ruby
<shevy> they did not pick me because they know I do not know C :(
<consmans> great tip
<consmans> sorry for that :(
acke has quit [Remote host closed the connection]
<consmans> is there any information on how many or who is the core team?
msnyon has joined #ruby
<[k-> hurr hurr hurr, shevy in core
<[k-> you still dont know some things yet!
<centrx> shevy, PHP core will take you
<[k-> eww php
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ddv> fake it till you make it
Aria has quit [Ping timeout: 248 seconds]
acke has joined #ruby
Xeago has quit [Remote host closed the connection]
startupality has joined #ruby
<yorickpeterse> They've been trying to do that for 20 years
<yorickpeterse> results are....mixed
davedev24_ has joined #ruby
silas has joined #ruby
axl__ has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
silas is now known as Guest45364
aredridel has joined #ruby
Xeago has joined #ruby
ItSANgo has joined #ruby
aryaching has joined #ruby
<consmans> [k- shevy do you mind if I acklowledge you in the study? You can get to review the text written before published
aredridel is now known as Aria
<[k-> you dont have to, dont forget yorickpeterse :D
<[k-> and sevenseacat
codecop has quit [Remote host closed the connection]
<consmans> oops also yorikpeterse and sevenseacat
<consmans> sorry
sinkensabe has quit []
<[k-> you should really get an answer from the mailing list
lavros_ has quit [Quit: leaving]
<[k-> i'm sure they know more than we do
lavros has joined #ruby
<consmans> what is the mailing list? (sory for the lazy question)
roshanavand has joined #ruby
hotpancakes has joined #ruby
<consmans> btw if you want to review the paper when ready please pm a mail address
<ddv> consmans: come one you can google this
<ddv> on*
rjno has joined #ruby
<yorickpeterse> You can attribute me if you want, I don't mind
<consmans> yes did that already sory
<[k-> the mailing list consists of people who are very active in ruby matters
tubuliferous_ has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
ItSANgo has quit [Read error: Connection reset by peer]
ItSANgo has joined #ruby
chouhoulis has joined #ruby
crazydiamond has quit [Read error: Connection reset by peer]
gagrio_ has joined #ruby
hotpancakes has quit [Ping timeout: 276 seconds]
ItSANg___ has joined #ruby
kobain has joined #ruby
astrobunny has quit [Remote host closed the connection]
sandelius has joined #ruby
tubuliferous_ has quit [Ping timeout: 248 seconds]
ashleyis has joined #ruby
User458764 has joined #ruby
nveselinov has joined #ruby
sandelius has quit [Client Quit]
rjno has quit []
jhooker has joined #ruby
jhooker has quit [Max SendQ exceeded]
eggoez has joined #ruby
jhooker has joined #ruby
RegulationD has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
ItSANgo has quit [Ping timeout: 276 seconds]
Narzew has joined #ruby
Ox0dea has left #ruby ["WeeChat 1.3-dev"]
mister_solo has quit [Ping timeout: 244 seconds]
ahmetkapikiran has joined #ruby
ahmetkapikiran has quit [Client Quit]
atomical has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ixti has joined #ruby
atom3 has quit [Ping timeout: 277 seconds]
atomical has joined #ruby
atom3 has joined #ruby
CHVNX has joined #ruby
eGGsha has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmes1 has joined #ruby
mister_solo has joined #ruby
wildroman2 has quit [Remote host closed the connection]
werelivinginthef has joined #ruby
last_staff has quit [Quit: last_staff]
vyorkin has quit [Quit: WeeChat 1.2]
kies has joined #ruby
atomical has quit [Read error: Connection reset by peer]
|work is now known as pipework
atomical has joined #ruby
davorb_ has joined #ruby
atomical has quit [Read error: Connection reset by peer]
mister_solo has quit [Ping timeout: 256 seconds]
Marisa has quit [Ping timeout: 255 seconds]
blackmes1 has quit [Ping timeout: 248 seconds]
atomical has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
Muhannad has joined #ruby
jpfuentes2 has joined #ruby
andikr has quit [Remote host closed the connection]
wildroman2 has joined #ruby
mister_solo has joined #ruby
<consmans> I have one more question....
DaniG2k has joined #ruby
<consmans> I can see in the mailing lists that I can joint the ruby core mailing list myself. Does that then give me the right to vote for changes and so on?
<centrx> Since when are changes decided by vote?
<[k-> i think you would have your opinion heard, and be considered, which somewhats, but not really, counts as a vote
renderful has joined #ruby
<[k-> chages arent decided by votes
Scroff has joined #ruby
<[k-> it might wreck havock
chinmay_dd has quit [Remote host closed the connection]
<[k-> changes*
bf4 has quit [Ping timeout: 276 seconds]
Scrofff has quit [Ping timeout: 246 seconds]
Hounddog has quit [Read error: Connection reset by peer]
DLSteve has joined #ruby
<consmans> hmm i guess you are right there are not votes i can read this:
<consmans> "
<consmans> Create a ticket in the issue tracker or email your patch to the Ruby-Core mailing list with a ChangeLog entry describing the patch.
<consmans> If there are no issues raised about the patch, committers will be given the approval to apply it.
<consmans> "
skade has quit [Quit: Computer has gone to sleep.]
<shevy> well as long as you don't have a patch
<shevy> this is a fairly meta discussion :)
<shevy> "if I'd have a fast car, I could travel to South Dakota by myself!"
<[k-> #ruby on ruby!
ahmetkapikiran has joined #ruby
<shevy> #everyone on [k-!
<adaedra> shevy: even if I had a car, I couldn't :(
JohnBat26 has joined #ruby
mister_solo has quit [Ping timeout: 264 seconds]
<consmans> shevy nope me neither, unless the car dirves over sea
renderful has quit [Ping timeout: 256 seconds]
prestorium has joined #ruby
lavros has quit [Read error: Connection reset by peer]
enebo has joined #ruby
Scrofff has joined #ruby
alol has joined #ruby
Xeago has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
freerobby has joined #ruby
chinmay_dd has quit [Read error: Connection reset by peer]
lavros has joined #ruby
depesz has joined #ruby
<depesz> hi. how can I resolve hostname to ip?
Scroff has quit [Ping timeout: 244 seconds]
<jhass> depesz: stdlib has the resolv library
<depesz> I seem to be getting some data from Socket.gethostbyname, but the fourth field doesn't look like ip
<depesz> jhass: thanks, checking
xrlabs has quit [Quit: This computer has gone to sleep]
<[k-> 1
<[k-> oops
<jhass> 2
<jhass> aaps
<[k-> o....k
njs126 has joined #ruby
msgodf has quit [Ping timeout: 256 seconds]
mister_solo has joined #ruby
s2013 has joined #ruby
DLSteve has quit [Quit: Textual IRC Client: www.textualapp.com]
lavros has quit [Ping timeout: 252 seconds]
_blizzy_ has joined #ruby
senayar has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 264 seconds]
casadei has joined #ruby
blackmes1 has joined #ruby
atom3 has quit [Ping timeout: 276 seconds]
atom3 has joined #ruby
erts has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
solars has quit [Ping timeout: 272 seconds]
mary5030 has joined #ruby
acke has quit [Remote host closed the connection]
senayar has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
symbol_ has joined #ruby
jlast has quit [Read error: Connection reset by peer]
rindolf has joined #ruby
mike___1234 has quit [Ping timeout: 265 seconds]
<rindolf> Hi all.
bruno- has joined #ruby
yardenbar has quit [Quit: Leaving]
n008f4g_ has joined #ruby
snophey has joined #ruby
The_Phoenix has joined #ruby
<[k-> hello
<shevy> Gandalf!
konsolebox has quit [Quit: Leaving]
jlast has joined #ruby
gambl0re has joined #ruby
symbol has quit [Ping timeout: 246 seconds]
Scroff has joined #ruby
senayar has quit [Remote host closed the connection]
fantazo has quit [Quit: Verlassend]
zotherstupidguy has quit [Ping timeout: 272 seconds]
bruno- has quit [Client Quit]
ashleyis_ has joined #ruby
DaniG2k has quit [Quit: leaving]
Scrofff has quit [Ping timeout: 276 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DroidBu__ has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 252 seconds]
zotherstupidguy has joined #ruby
droidburgundy has quit [Ping timeout: 276 seconds]
sandstro_ has quit [Quit: My computer has gone to sleep.]
ashleyis has quit [Quit: WeeChat 1.2]
Bertg has quit [Read error: Connection reset by peer]
Akagi201_ has quit []
mike___1234 has joined #ruby
renderful has joined #ruby
Bertg has joined #ruby
depesz has left #ruby ["WeeChat 1.2-dev"]
werelivinginthef has quit [Remote host closed the connection]
Xzanron has quit [Read error: Connection reset by peer]
werelivinginthef has joined #ruby
bnobu has joined #ruby
Muhannad has quit [Remote host closed the connection]
jpfuentes2 has joined #ruby
ashleyis_ has quit [Quit: ZNC - http://znc.in]
[H]unt3r has joined #ruby
umgrosscol has joined #ruby
ashleyis has joined #ruby
jamesaxl has joined #ruby
c0ncealed has quit [Quit: WeeChat 1.2]
c0ncealed has joined #ruby
havenwood has joined #ruby
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rcvalle has joined #ruby
<shevy> are you people all dutifully writing more ruby code right now
<adaedra> I wish I were
<havenwood> shevy: Boop. Bop. Beep.
<[k-> I am a bot bleep bloop. I do not know anything about ruby
<[k-> ?ruby
<ruboto> I don't know anything about ruby
<[k-> ^
<[k-> ^
diegoviola has quit [Ping timeout: 255 seconds]
iooner has quit [Ping timeout: 246 seconds]
Cache_Money has joined #ruby
acke has joined #ruby
lavros has joined #ruby
sevenseacat has quit [Quit: Me dun like you no more.]
emilkarl has quit [Quit: emilkarl]
bf4 has joined #ruby
jlast has quit [Read error: Connection reset by peer]
iooner has joined #ruby
teotwaki has quit [Ping timeout: 246 seconds]
Bertg has joined #ruby
peter_paule has joined #ruby
arturmartins has joined #ruby
teotwaki has joined #ruby
jlast has joined #ruby
jlast has quit [Read error: Connection reset by peer]
jlast has joined #ruby
RoryHughes has quit [Ping timeout: 246 seconds]
startupality has quit [Ping timeout: 264 seconds]
hanmac has quit [Ping timeout: 256 seconds]
iooner has quit [Ping timeout: 246 seconds]
senayar has joined #ruby
chouhoul_ has joined #ruby
startupality has joined #ruby
sandstrom has joined #ruby
iooner has joined #ruby
RoryHughes has joined #ruby
peter_paule has quit [Ping timeout: 264 seconds]
symm- has quit [Ping timeout: 272 seconds]
darix has joined #ruby
Soda has joined #ruby
blackmes1 has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
The_Phoenix1 has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
<consmans> I am off you guys
<consmans> Thanks again for the info and discussion
Lucky___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
The_Phoenix has quit [Ping timeout: 265 seconds]
<consmans> I will add somthing in the following lines in the paper
<consmans> "The authors would like to the thank the members of the Ruby community and more specifically the members [k-, shevy, sevenseacat, and yorickpeterse of the Ruby IRC channel for their insightful comments.
<consmans> "
<consmans> if that is something that you disagree now is the time to speak
<consmans> or silence forever
<shevy> I do not feel worthy to appear in the same sentence with the great sevenseacat cat
<consmans> :)
blackmes1 has joined #ruby
<consmans> do you want me to remove you from the text?
<[k-> me too
<[k-> me too again
<consmans> for me this is more an acknowledgement of your time and effort
ringarin has quit [Ping timeout: 256 seconds]
<consmans> nothing more nothing less
DroidBu__ has quit []
Indian has quit [Ping timeout: 248 seconds]
<yorickpeterse> consmans: fine by me
erts_ has joined #ruby
<shevy> consmans yeah I feel not worthy to appear with the others, I'd prefer if you cite others than me :D
<[k-> yorickpeterse likes having his name painted :D
<shevy> that's good
<consmans> * I am probably listing the names alphabetically
<shevy> he had to do XML today so he needs time off
<consmans> ok so shevy, i remove you from the text right?
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anisha has quit [Quit: Leaving]
<consmans> others stay
Louis__ has joined #ruby
Yiota has joined #ruby
<consmans> shevy pls confirm
<Louis__> Hi, people. Someone here experient in Rspec?
<[k-> ?anyone
<ruboto> Just ask your question, if anyone has or can, they will respond.
erts has quit [Ping timeout: 255 seconds]
railsraider has quit [Ping timeout: 272 seconds]
lapide_viridi has joined #ruby
Bertg has joined #ruby
<yorickpeterse> I do XML every day
<yorickpeterse> :<
<[k-> oh, you poor thing
<[k-> do you do xslt too?
Louis__ has quit [Client Quit]
eGGsha has joined #ruby
<yorickpeterse> Hell no
<yorickpeterse> I'm not touching that
<[k-> :/
<shevy> consmans yeah
erts_ has quit [Quit: erts_]
<consmans> shevy copy that :)
bf4 has quit [Ping timeout: 255 seconds]
<consmans> Cheers and keep up the good work!
consmans has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
gauke has quit [Quit: gauke]
startupality has quit [Ping timeout: 244 seconds]
tubuliferous_ has joined #ruby
startupality has joined #ruby
bking39116 has joined #ruby
bking39116 has left #ruby [#ruby]
sarkyniin has joined #ruby
chinmay_dd has joined #ruby
ivanskie has joined #ruby
Scrofff has joined #ruby
snockerton has joined #ruby
<ivanskie> uhm.. my brain is drawing a blank here.. whats that ruby server that ppl use with plain ruby? S....
<ivanskie> sha... something..?
<havenwood> ivanskie: WEBrick?
CloCkWeRX has quit [Quit: Leaving.]
<shevy> ricky rich!
diegoviola has joined #ruby
<ivanskie> no not the rails stuff.. but if i want a simple html page with a single ruby file pretty much
<ivanskie> argh
terlar has quit [Ping timeout: 256 seconds]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
<[k-> webrick
<ivanskie> its at tip of my toung almost but i can't remember lol. when i don't need it i see it everywhere
<havenwood> ivanskie: WEBrick isn't Rails stuff. It ships with Ruby.
tubuliferous_ has quit [Client Quit]
<[k-> Sinatra?
jlast has quit [Remote host closed the connection]
<ivanskie> sinatra yess
<ivanskie> thank you
jlast has joined #ruby
<jhass> ivanskie: don't call it "ruby server" though, that's wrong
<ivanskie> oh?
<jhass> it's a webframework
pullphinger has joined #ruby
Scroff has quit [Ping timeout: 244 seconds]
Lucky___ has joined #ruby
<ivanskie> oh.. oops didn't mean to be ignorant there.... will have to go read more about it then
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> not ignorant, just confusing ;P
rubie has joined #ruby
<ivanskie> k maybe sintra is not what i need
lapide_viridi has quit [Quit: Leaving]
<havenwood> ivanskie: You could serve your Sinatra app up with WEBrick. Sinatra like Rails is a Rack adapter. WEBrick is one of the Rack webservers that you could serve your Sinatra or Rails app up with, but folk typically use a gem like Puma, Rainbows!, Unicorn, Thin, etc instead of WEBrick.
bruno- has joined #ruby
chinmay_dd has quit [Ping timeout: 256 seconds]
baweaver has joined #ruby
jlast_ has joined #ruby
p1k has joined #ruby
<shevy> ohhh he meant sinatra
<havenwood> ivanskie: Take a look at the Sinatra docs and see if you're on the right track.
<shevy> ivanskie there is also padrino
jlast has quit [Read error: Connection reset by peer]
<[k-> WEBrick is generally avoided as it is only single threaded
<ivanskie> ah i see.. well what i need actually is something that would run locally. read local csv / exel file (in same directory) and output something in a formatted way that can be printed.
<ivanskie> will have to run on windows too.
<ivanskie> right now i just have a console app that i deployed to customer's machine..
<jhass> does it need to refresh on each request?
<ivanskie> but they need to be able to print stuff. so my options right now is to continue to try to get it to do an html file.. like with Opal, try to serve it, or output a pdf.
<ivanskie> hmm maybe.. maybe not
<jhass> well, vague requirements, then no recommendations
<ivanskie> it just reads csv file, and collects totals for product lables printed for the day..
<ivanskie> example
<ivanskie> old code.. have the updated one with your last suggestion by the way
<ivanskie> last one
Indian has joined #ruby
<[k-> you should use a table library...
<ivanskie> so yah. now im thinking to either output to plain text, excel file, pdf, or my original thought was to have this work from html file somehow.. or to serve it locally anyway
<ivanskie> oh? haven't thought of that
alex88 has quit [Remote host closed the connection]
dstarh has quit [Quit: Textual IRC Client: www.textualapp.com]
chouhoulis has joined #ruby
<[k-> it will let you focus less on formatting and help you concentrate on your code
eGGsha is now known as eGGshke
<ivanskie> trying to find documentation for table...
darkf has quit [Quit: Leaving]
<ivanskie> ah a gem
<[k-> we have a report a few days ago that there is some issues with the gemspec tho
<[k-> so you have to do a bit of hacking
<ivanskie> yeah and then i have to ship the gem with the app too... rightnow using traveling ruby..
<[k-> ah, they updated the gem file
chouhoul_ has quit [Ping timeout: 246 seconds]
<[k-> no issue with it then
Rickmasta has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
hotpancakes has joined #ruby
hotpancakes has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 276 seconds]
<ivanskie> if it was up to me.. i think it'd just do a quick rails app to collect all the data, and present it nicely.. but then customer would have to upload each csv file so its like meh..
<ivanskie> or do it in ember/angular on single html page.. except i suck at JS
DynamicMetaFlow has joined #ruby
kobain has quit [Ping timeout: 244 seconds]
<ivanskie> aand I tried using Opal.. but seems like it doesn't let you access local files?
dumdedum has quit [Ping timeout: 264 seconds]
gagrio_ has quit [Ping timeout: 256 seconds]
Deele has joined #ruby
CustosLimen has quit [Ping timeout: 256 seconds]
joonty has quit [Quit: joonty]
tacit7 has joined #ruby
railsraider has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
chinmay_dd has joined #ruby
ddarkpassenger has joined #ruby
einarj has quit [Remote host closed the connection]
Bertg has joined #ruby
dfockler has joined #ruby
ringarin has joined #ruby
hotpancakes has joined #ruby
hotpancakes has quit [Remote host closed the connection]
Eiam has joined #ruby
hsps_ has joined #ruby
bronson has joined #ruby
allomov has quit [Remote host closed the connection]
zendrix has joined #ruby
white_bear has quit [Quit: leaving]
allomov has joined #ruby
allomov has quit [Remote host closed the connection]
allomov has joined #ruby
nveselinov has quit [Quit: Connection closed for inactivity]
Oka has quit []
hotpancakes has joined #ruby
Eiam has quit [Client Quit]
ringarin has quit [Ping timeout: 252 seconds]
coderhs has quit [Ping timeout: 276 seconds]
j4cknewt has quit [Remote host closed the connection]
withnale_ has quit [Ping timeout: 246 seconds]
allomov has quit [Remote host closed the connection]
spider-mario has joined #ruby
allomov has joined #ruby
Alayde has joined #ruby
stan has quit [Ping timeout: 256 seconds]
startupality has quit [Quit: startupality]
<izzol> Anyone is using Route53?
ldnunes has quit [Ping timeout: 264 seconds]
<apeiros> ?anyone izzol
<ruboto> izzol, Just ask your question, if anyone has or can, they will respond.
<Senjai> Morning Ruby
<izzol> I'm looking some gem to manage it from the console. I found route53 gem, but now sure if it's ok yet ;-)
<apeiros> moin Senjai
mister_solo has joined #ruby
hahuang65 has joined #ruby
<[k-> apeiros!
s2013 has joined #ruby
gambl0re has quit [Ping timeout: 256 seconds]
<apeiros> me!
<apeiros> hi [k- :)
mdarby has joined #ruby
<[k-> hello :)
polysics_ has quit [Remote host closed the connection]
mdarby has quit [Max SendQ exceeded]
yardenbar has joined #ruby
kobain has joined #ruby
mdarby has joined #ruby
allomov has quit [Ping timeout: 248 seconds]
sfarley has joined #ruby
alotofnoodles has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benlieb_ has joined #ruby
jlast_ has quit [Remote host closed the connection]
valhallasw has joined #ruby
jlast has joined #ruby
ldnunes has joined #ruby
casadei has quit [Remote host closed the connection]
Agoldfish has joined #ruby
<shevy> izzol don't think many people know that gem
hahuang65 has quit [Ping timeout: 252 seconds]
Rollabunna has joined #ruby
zendrix has quit [Remote host closed the connection]
Channel6 has joined #ruby
eGGshke is now known as eGGsha
tubuliferous_ has joined #ruby
Indian has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
poguez_ has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gambl0re has joined #ruby
arturmartins has quit [Quit: Leaving...]
blackmes1 has joined #ruby
ddarkpassenger has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duderonomy has quit [Ping timeout: 272 seconds]
alex88 has joined #ruby
baweaver has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 246 seconds]
senayar has quit []
fantazo has joined #ruby
dented42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sfarley has quit [Remote host closed the connection]
ruv has quit [Ping timeout: 255 seconds]
<adaedra> how would you do to put a timeout around a job?
shinnya has joined #ruby
<adaedra> Derp, there's a timeout module
The_Phoenix1 has quit [Read error: Connection reset by peer]
Xeago has quit [Read error: Connection reset by peer]
alol has quit [Quit: Connection closed for inactivity]
<jhass> adaedra: it would be much much much better for the job to check for the timeout though and quit
railsraider has quit [Quit: railsraider]
<adaedra> I'll consider that
vdmgolub has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<[k-> many people have expressed dissatisfaction with timeout
<[k-> especially with matters to threading
memph1s has joined #ruby
pengin has joined #ruby
alex88 has quit [Remote host closed the connection]
idafyaid has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has quit [Remote host closed the connection]
sfarley has joined #ruby
gkra_ has joined #ruby
gkra has quit [Read error: Connection reset by peer]
Muhannad has joined #ruby
ddarkpassenger has joined #ruby
Indian has joined #ruby
[k- has quit [Quit: Lingo: www.lingoirc.com]
dented42 has joined #ruby
rehat has joined #ruby
gkra_ is now known as gkra
rindolf has quit [Quit: Leaving]
sfarley has quit [Remote host closed the connection]
framling has joined #ruby
krz has quit [Ping timeout: 248 seconds]
ddarkpassenger has quit [Quit: Textual IRC Client: www.textualapp.com]
Igorshp has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
GnuYawk has joined #ruby
GnuYawk has joined #ruby
gamename has joined #ruby
jlast has joined #ruby
Igorshp has joined #ruby
zendrix has joined #ruby
peter_paule has joined #ruby
blackmes1 has quit [Ping timeout: 256 seconds]
valkyrka has quit [Quit: valkyrka]
Igorshp has quit [Remote host closed the connection]
momomomomo has joined #ruby
vivekananda has joined #ruby
peter_paule has quit [Ping timeout: 252 seconds]
MatthewsFace has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
RazorX_ has quit [Remote host closed the connection]
zendrix has quit [Remote host closed the connection]
<Diabolik> how can i add muliple options to a search form using simple forms
<Diabolik> for example to search the spotify API
<Diabolik> I want to offer searching for albums, bio, songs, playlists
<Diabolik> from a dropdown bit on the form
RazorX has joined #ruby
zendrix has joined #ruby
fabrice31 has joined #ruby
<ivanskie> so I'm trying to write to CSV file.. but i'm getting a weird error that makes no sense ot me
lsmola has quit [Ping timeout: 265 seconds]
<ivanskie> i know i put CSV.open after i modify counts hash.. but it doesn't matter where I put it. still gives me this error
Channel6 has quit [Quit: Leaving]
blaines has joined #ruby
krz has joined #ruby
EllisTAA has joined #ruby
<EllisTAA> what is the ruby off topic channel?
wildroman2 has quit [Ping timeout: 265 seconds]
MatthewsFace has quit [Remote host closed the connection]
blaines_ has joined #ruby
<shevy> #ruby !
n008f4g_ has quit [Ping timeout: 276 seconds]
j4cknewt has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
MatthewsFace has joined #ruby
<EllisTAA> lol
blaines has quit [Read error: Connection reset by peer]
<havenwood> ?ot EllisTAA
<ruboto> EllisTAA, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
<EllisTAA> :)
Zai00 has quit [Quit: Zai00]
<Diabolik> can anyone help with the simple forms problem?
prestorium has quit [Quit: Konversation terminated!]
<ivanskie> nevermind looks like i got it
mdarby has quit [Read error: Connection reset by peer]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> Diabolik, Is that not a drop-down list (DDL) ?
nfk has quit [Read error: Connection reset by peer]
Paradox has joined #ruby
nfk has joined #ruby
<Diabolik> centrx kind of
<Diabolik> you know the search bar on firefox
<Diabolik> how you can select which search engine you want to use
enebo has quit [Quit: enebo]
peterhu has quit [Remote host closed the connection]
Indian has quit [Ping timeout: 246 seconds]
Paradox has quit [Client Quit]
Paradox has joined #ruby
peterhu has joined #ruby
shadoi has joined #ruby
jlast has quit [Remote host closed the connection]
bronson has joined #ruby
jlast has joined #ruby
wallerdev has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
blackmes1 has joined #ruby
momomomomo_ has joined #ruby
hotpancakes has quit [Remote host closed the connection]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
jlast has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 265 seconds]
momomomomo_ is now known as momomomomo
blackmesa has joined #ruby
casadei has joined #ruby
Narzew has quit [Read error: Connection reset by peer]
jlast has joined #ruby
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmes1 has quit [Ping timeout: 250 seconds]
duderonomy has joined #ruby
tvw has quit [Ping timeout: 252 seconds]
towski_ has joined #ruby
casadei has quit [Ping timeout: 264 seconds]
stoodfarback has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
hahuang65 has joined #ruby
hotpancakes has joined #ruby
roshanavand has quit [Remote host closed the connection]
tvw has joined #ruby
IanV0rn2341 has quit [Read error: Connection reset by peer]
anjen has joined #ruby
Muhannad has quit [Ping timeout: 246 seconds]
pengin has quit [Remote host closed the connection]
IanV0rn2341 has joined #ruby
RegulationD has quit [Remote host closed the connection]
dmmoody has joined #ruby
finisherr has joined #ruby
ta has joined #ruby
krz has quit [Ping timeout: 250 seconds]
mbhnvs has quit [Remote host closed the connection]
NeverDie has joined #ruby
Eiam has joined #ruby
jimms has joined #ruby
marr has quit [Ping timeout: 246 seconds]
tvw has quit [Ping timeout: 252 seconds]
Narzew has joined #ruby
troulouliou_dev has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
axl_ has quit [Ping timeout: 245 seconds]
axl__ is now known as axl_
EllisTAA has joined #ruby
JoshGlzBrk has joined #ruby
krz has joined #ruby
ItSANg___ has quit [Read error: Connection reset by peer]
ItSANgo_ has joined #ruby
Soda has quit [Remote host closed the connection]
alex88 has joined #ruby
solars has joined #ruby
lolmaus has joined #ruby
pengin has joined #ruby
davorb_ has quit [Quit: Connection closed for inactivity]
DynamicMetaFlow has quit [Quit: Leaving]
ruv has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
alex88 has quit [Ping timeout: 264 seconds]
jas02 has quit [Ping timeout: 252 seconds]
nofxx has joined #ruby
rdark has quit [Quit: leaving]
fantazo has quit [Ping timeout: 244 seconds]
momomomomo_ has joined #ruby
User458764 has joined #ruby
momomomomo has quit [Ping timeout: 276 seconds]
momomomomo_ is now known as momomomomo
User458764 has quit [Max SendQ exceeded]
User458764 has joined #ruby
Scrofff has quit [Remote host closed the connection]
Indian has joined #ruby
Guest45364 has quit []
cmisenas has joined #ruby
blackmesa has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
baweaver has joined #ruby
loveablelobster has joined #ruby
_blizzy_ has quit [Ping timeout: 248 seconds]
pengin has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
startupality has joined #ruby
atom3 has quit [Ping timeout: 276 seconds]
Igorshp has joined #ruby
loveablelobster has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby
<shevy> is there a way to define a meta-gem? I suppose no but I wanted to ask..
casadei has joined #ruby
<shevy> I have like several small gems, all part of ruby-gtk
<shevy> same namespace too
malconis has quit [Ping timeout: 264 seconds]
<shevy> I want to keep them separate though, but also allow an install-all action. I guess I could just add a meta-gem that just will include the dependencies of the others?
momomomomo has quit [Quit: momomomomo]
thiagovsk has quit [Quit: Connection closed for inactivity]
lkba_ has quit [Ping timeout: 256 seconds]
last_staff has joined #ruby
Igorshp has quit [Ping timeout: 265 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
malconis has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
blaines_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michael_mbp has quit [Excess Flood]
atom3 has joined #ruby
momomomomo has joined #ruby
<Senjai> shevy: Yes
<Senjai> shevy: Rails is a meta gem
<shevy> hmm
<Senjai> shevy: So is Spree
timonv has joined #ruby
tcrypt has joined #ruby
momomomomo has quit [Client Quit]
michael_mbp has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fantazo has joined #ruby
pengin has joined #ruby
blackmesa has quit [Ping timeout: 256 seconds]
Igorshp has joined #ruby
Xoro has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
<baweaver> So just to share the fun from last night
<baweaver> >> _=$$/$$;__=_-_;@_=_+_;$_=@_+_;$__=@_+$_;$-_=$__*$_;@__=''<<$-_*($__+$_)+@_;$___=''<<$-_*$__-$__<<$-_*($__+@_)<<@__<<@__;@___=''<<$-_*$__-$_*$_<<$-_*($__+$_)-$_<<@__<<@__;(___=->____{$.+=_;____<<($.%$-_==__ ?$___+@___:$.%$_==__ ?$___:$.%$__==__ ?@___:$.);$.<($__*@_)**@_?___[____]:____})[[]]
<ruboto> baweaver # => [1, 2, "Fizz", 4, "Buzz", "Fizz", 7, 8, "Fizz", "Buzz", 11, "Fizz", 13, 14, "FizzBuzz", 16, 17, "Fiz ...check link for more (https://eval.in/389416)
Renich has joined #ruby
<Senjai> baweaver: You totally waited for me to be here :P
hotpancakes has quit [Remote host closed the connection]
<dfockler> hahahaha
<baweaver> Guess who wrote that gem?
plexing has joined #ruby
zendrix has quit [Remote host closed the connection]
<Senjai> You did?
<dfockler> Give that fizzbuzz to an employer
<baweaver> Ox0dea
<baweaver> actually brilliant
<baweaver> and terrifying
phoo1234567 has joined #ruby
<ivanskie> anyone using axlsx gem?
<ivanskie> i'm having an issue.. it's not adding text to cells.. https://gist.github.com/i5okie/7aa839926c3f16cd9620
<yorickpeterse> baweaver: what the fuck
Igorshp has quit [Remote host closed the connection]
<baweaver> I know right? :D
<yorickpeterse> like
<yorickpeterse> how the fuck did you even get to that point?
bronson has quit [Remote host closed the connection]
<yorickpeterse> I can't even
plexing has quit [Killed (Sigyn (Spam is off topic on freenode.))]
symm- has joined #ruby
dkphenom has joined #ruby
<dfockler> that's awesome
<dfockler> start with 1 and work your way up
<yorickpeterse> I wonder how much alcohol was involved
RegulationD has joined #ruby
<dfockler> dividing the pid by itself to get 1 is pretty brilliant
<Senjai> baweaver: For some reason this is only giving me fizzbuz
blaines has joined #ruby
<yorickpeterse> yeah 2/10 wouldn't hire
User458764 has joined #ruby
<yorickpeterse> The real question is, can they invert a binary tree?
hotpancakes has joined #ruby
alex88 has joined #ruby
<baweaver> does anyone actually do that?
<yorickpeterse> Google apparently
<baweaver> I know that's the latest google joke
<shevy> The real question is
phoo1234567 has quit [Max SendQ exceeded]
<shevy> will it blend?
AlexAltea has joined #ruby
phoo1234567 has joined #ruby
benanne has joined #ruby
sfarley has joined #ruby
Sou|cutter has quit [Quit: bbiab]
<ivanskie> k I dont understand what the f is going on...
<ivanskie> it won't add any text into cells at all.
User458764 has quit [Ping timeout: 276 seconds]
<ivanskie> i don't understand why. I tried overwriting cell type.. no result.
hotpancakes has quit [Ping timeout: 264 seconds]
User458764 has joined #ruby
<ivanskie> more specifically... when im adding a row to xslx file.. it builds the worksheets with correct name, adds all the cells, and styles properly..
momomomomo has joined #ruby
<ivanskie> and populates rows with my numbers.. but it doesnt add text like for my header, or title...
<ivanskie> i've included the output xlsx file, and sample csv file.
jpfuentes2 has joined #ruby
Muhannad has joined #ruby
sfarley has quit [Remote host closed the connection]
timonv has quit [Read error: Connection reset by peer]
<Senjai> baweaver: You get that output with 2.1.6 ?
User458764 has quit [Client Quit]
<Senjai> baweaver: I only get an array with a single element
<baweaver> 2.2.2
<baweaver> and pry will not take it
<baweaver> remember it plays with underscores
mikecmpbll has joined #ruby
<shevy> b_e_a_v_e_r
<shevy> it makes you appear all bigger with underscores!
punkerplunk has joined #ruby
<Senjai> Yeah I cant get that output on 2.1.6
<Senjai> err
<Senjai> yeah
hotpancakes has joined #ruby
pengin has quit [Remote host closed the connection]
l0pher has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
MatthewsFace has joined #ruby
peter_paule has joined #ruby
<ivanskie> well this is retarded.
<ivanskie> axlsx is indeed outputting text into cells.
atom3 has quit [Ping timeout: 276 seconds]
<ivanskie> but Numbers app on osx doesn't read it.
codecop has joined #ruby
<ivanskie> excel reads it fine
<Senjai> baweaver: Congrats dude, that is mega impressive
Scroff has joined #ruby
atom3 has joined #ruby
Scroff has quit [Read error: Connection reset by peer]
<baweaver> Ox0dea wrote it originally
<baweaver> just sharing the madness
l0pher has quit [Client Quit]
<baweaver> and translating for the non-perl ninjas
eGGsha is now known as eGGshke
NeverDie_ has joined #ruby
Scroff has joined #ruby
<shevy> oh perl ninjas
l0pher has joined #ruby
<shevy> they are past age 50+ these days now aren't they
* baweaver knows perl
MatthewsFace has quit [Ping timeout: 252 seconds]
<shevy> hmmm
<shevy> beavers are immortal, like cats
blackmesa has joined #ruby
baweaver has quit [Remote host closed the connection]
Scroff has quit [Read error: Connection reset by peer]
dmmoody has quit [Remote host closed the connection]
NeverDie has quit [Ping timeout: 265 seconds]
greenbagels has joined #ruby
zendrix has joined #ruby
IanV0rn2341 has quit [Quit: Textual IRC Client: www.textualapp.com]
multi_io has quit [Ping timeout: 264 seconds]
Scroff has joined #ruby
multi_io has joined #ruby
Scroff has quit [Read error: Connection reset by peer]
sadik0x10 has joined #ruby
MatthewsFace has joined #ruby
workmad3 has joined #ruby
baweaver has joined #ruby
sfarley has joined #ruby
* phat4life inappropriate joke
<phat4life> about beavers
zendrix has quit [Ping timeout: 264 seconds]
craysiii has joined #ruby
einarj has joined #ruby
Scroff has joined #ruby
memph1s has quit [Read error: Connection reset by peer]
memph1s has joined #ruby
Marisa_ has joined #ruby
pengin has joined #ruby
doertedev has quit [Quit: Lost terminal]
MatthewsFace has quit [Ping timeout: 252 seconds]
_blizzy_ has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
NiVanc has quit [Ping timeout: 264 seconds]
alex88 has quit [Remote host closed the connection]
sfarley has quit [Ping timeout: 264 seconds]
EllisTAA has joined #ruby
chouhoulis has quit [Ping timeout: 264 seconds]
eGGshke is now known as eGGsha
framling has quit [Remote host closed the connection]
Muhannad has quit [Ping timeout: 246 seconds]
victortyau has joined #ruby
EllisTAA has quit [Client Quit]
vdamewood has joined #ruby
yardenbar has quit [Ping timeout: 256 seconds]
ryba has quit [Ping timeout: 256 seconds]
pdoherty has joined #ruby
framling has joined #ruby
dmmoody has joined #ruby
<Guest3348> hey how do you guys represent time duration in ruby?
<Senjai> Guest3348: wat
blackmesa has quit [Ping timeout: 256 seconds]
Guest3348 is now known as graft
<mozzarella> usually, by a number of seconds
<graft> well, there is the Time class, which represents a specific time
<graft> i.e., a given moment
NeverDie has joined #ruby
<graft> i want a Time duration (e.g. how long it took to run a race)
<graft> but there doesn't seem to be any base class for this concept
endash has joined #ruby
<graft> so i was wondering what people do (with an eye to sticking this in a database column)
valhallasw has left #ruby [#ruby]
blackmesa has joined #ruby
fabrice31 has joined #ruby
<mozzarella> I store the number of seconds elapsed
<phat4life> odl = Time.now(); //some code Time.now - old or something similar
baweaver has quit [Remote host closed the connection]
<mozzarella> because Time works with that
<mozzarella> Time.now + 30 = 30 seconds from now
marr has joined #ruby
<mozzarella> >> Time.now + 30
<ruboto> mozzarella # => 2015-06-29 18:58:16 +0000 (https://eval.in/389437)
mordocai has joined #ruby
EllisTAA has joined #ruby
<mozzarella> there's no duration class in the standard library AFAIK
<graft> yeah... guess i just need to write one
<mozzarella> why?
Zai00 has joined #ruby
<mozzarella> there's probably a gem for that, but it's pointless IMO
<graft> well it would be nice to have some operations available, like turning seconds into days/hours/minutes/seconds
<graft> maybe
einarj has quit [Ping timeout: 255 seconds]
<graft> probably best to just leave it an integer
NeverDie_ has quit [Ping timeout: 272 seconds]
<mozzarella> I'm not sure but I think rails has some methods for that
<graft> i think activesupport has a duration maybe
<miah> ya
<graft> well there i go
<eam> interval classes are very useful
GitGud has joined #ruby
j4cknewt has quit [Remote host closed the connection]
<graft> i think postgres has an interval column type
EllisTAA has quit [Client Quit]
<eam> it does
<graft> i thought about that, seemed like it might be overkill
fabrice31 has quit [Ping timeout: 256 seconds]
shortdudey123 has quit [Max SendQ exceeded]
<graft> i'm probably not doing complex interval operations on this
<graft> i just care about the magnitude, so an int seems fine
langlands has joined #ruby
shortdudey123 has joined #ruby
<eam> interestingly, you will have off by one errors if your interval is for more than 48 hours from today
nertzy has joined #ruby
bf4 has joined #ruby
symbol_ has quit [Quit: WeeChat 1.1]
<eam> more than 24, even
<Aria> \o/ Leap second!
eGGsha has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bf4 has quit [Read error: Connection reset by peer]
polysics has joined #ruby
ta has quit [Remote host closed the connection]
<Diabolik> when i run this gem
<shevy> Leap Aria!
<Diabolik> even having add the initializer
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Diabolik> i get uninitialized constant
<Diabolik> why
<Diabolik> just why
<Diabolik> :\
<Diabolik> i thought that's what initializers were for
ta has joined #ruby
lkba_ has joined #ruby
fmcgeough has joined #ruby
<eam> Diabolik: if you actually include the text of the error someone might be able to answer your question
<Diabolik> <Diabolik> i get uninitialized constant
<eam> it will have a line number, and the actual constant involved
<Diabolik> ok
<eam> leaving out the most important part of the error isn't helpful :)
<Diabolik> but eam
<Diabolik> even in pry
<Diabolik> when i do
<Diabolik> [1] pry(main)> user = Rockstar::User.new('askl56')
<Diabolik> NameError: uninitialized constant Rockstar
<Diabolik> from (pry):1:in `__pry__'
<eam> looks like you didn't require the gem
yardenbar has joined #ruby
<eam> require 'rockstar'
<shevy> oh that is a cool gem
<weaksauce> just use a double
jon__ has joined #ruby
<weaksauce> the time class stores the value as the number of seconds from some date in history with ms as the fractional component of that number.
atomical has joined #ruby
<Diabolik> well
<Diabolik> when i run this class
jon__ has quit [Client Quit]
<Diabolik> *spec
lkba has quit [Ping timeout: 265 seconds]
<weaksauce> graft what's if for?
<weaksauce> it*
<Diabolik> i get errors suggesting the Rockstar gem isn't instantiated
NeverDie_ has joined #ruby
emptyflask has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
<Diabolik> eam any ideas?
kraljev11 has joined #ruby
<eam> what is the exact error text?
Renich has quit [Quit: leaving]
<Diabolik> from the spec file
workmad3 has joined #ruby
NeverDie has quit [Ping timeout: 272 seconds]
krz has quit [Quit: WeeChat 1.0.1]
zendrix has joined #ruby
MatthewsFace has joined #ruby
krz has joined #ruby
ruv has quit [Remote host closed the connection]
zendrix has quit [Remote host closed the connection]
polysics has quit [Remote host closed the connection]
<eam> Diabolik: so looking at line 6, do you understand why it's raising? Why params[:artist_name] is nil?
jackjackdripper has joined #ruby
polysics has joined #ruby
<weaksauce> Diabolik if you watch that short video it will help you immensely
fantazo has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
<graft> weaksauce: storing processing times for patient samples... needs to be accurate to the quarter-hour probably
memph1s has quit [Quit: I couldn't come up with quit message :(]
<weaksauce> graft ah yeah. sounds like an int is good enough®.
zendrix has joined #ruby
casadei has quit [Remote host closed the connection]
jenrzzz has joined #ruby
startupality has quit [Quit: startupality]
fantazo has joined #ruby
Bertg has joined #ruby
gusrub has joined #ruby
polysics has quit []
davedev24_ has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 272 seconds]
dfockler has quit [Remote host closed the connection]
toretore has joined #ruby
nfk has quit [Ping timeout: 252 seconds]
memph1s has joined #ruby
davedev24_ has joined #ruby
pengin has quit [Remote host closed the connection]
hotpancakes has quit [Remote host closed the connection]
Rollabunna has quit [Remote host closed the connection]
zendrix has quit [Remote host closed the connection]
Rollabunna has joined #ruby
<_blizzy_> you know you're doing something wrong when you're scattering print statements.
nobitanobi has joined #ruby
bronson has joined #ruby
<punkerplunk> printing from a thread?
<_blizzy_> no.
wallerdev has quit [Quit: wallerdev]
<punkerplunk> well, you're not shooting them out of a shotgun
<_blizzy_> lol.
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zendrix has joined #ruby
renderful has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 248 seconds]
ItSANgo_ has quit [Read error: Connection reset by peer]
ItSANgo_ has joined #ruby
hotpancakes has joined #ruby
Bertg has joined #ruby
phutchins has quit [Ping timeout: 248 seconds]
renderful has joined #ruby
punkerplunk has quit [Quit: Leaving]
<Diabolik> eam because artist_info isn't a param for rockstar?
arturmartins has joined #ruby
speakingcode has joined #ruby
renderful has quit [Client Quit]
p1k has quit [Ping timeout: 250 seconds]
podman has quit [Quit: Connection closed for inactivity]
<Diabolik> or because artists hasn't been instantiated
TheHodge has quit [Quit: Connection closed for inactivity]
<ivanskie> how can I install 2.1.5 without rbenv or rvm?
<ivanskie> ruby-install doesn't list 2.1.5 for some reason
codecop has quit [Ping timeout: 255 seconds]
<eam> Diabolik: yes, likely because that param hasn't been set
<ivanskie> on osx
<havenwood> ivanskie: Update ruby-install but 2.1.6 is actually out which you can get without updating: ruby-install ruby 2.1.6 --sha2 1e1362ae7427c91fa53dc9c05aee4ee200e2d7d8970a891c5bd76bee28d28be4
Rickmasta has joined #ruby
<ivanskie> yeah im working with travelling ruby, they want 2.1.5
<ivanskie> *shrug* looks like its working now that i updated it. thanks
<havenwood> ivanskie: They ship their own binary.
<ivanskie> ah good point
<Diabolik> eam so a private artist_params method would solve it?
kadoppe has quit [Ping timeout: 252 seconds]
freerobby has quit [Quit: Leaving.]
jcromartie has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<eam> Diabolik: params[:artist_name] is what's giving you trouble -- do you know what the params hash is?
<eam> Diabolik: you should probably take this question over to the ruby on rails channel
<Diabolik> ok
<Diabolik> sorry
yfeldblum has joined #ruby
<eam> but, the parameter is nil, so the expression is nil, so #empty? doesn't work
kadoppe has joined #ruby
peter_paule has quit [Ping timeout: 264 seconds]
AlphaAtom has joined #ruby
mordocai has quit [Remote host closed the connection]
woodruffw has quit [Remote host closed the connection]
<jenksy> 454
hotpancakes has quit [Remote host closed the connection]
woodruffw has joined #ruby
NeverDie_ is now known as NeverDie
Muhannad has joined #ruby
freerobby has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
craysiii has quit [Quit: craysiii]
scottschecter has joined #ruby
scottschecter has quit [Max SendQ exceeded]
craysiii has joined #ruby
mdarby has joined #ruby
solars has quit [Ping timeout: 248 seconds]
doctorly has joined #ruby
n008f4g_ has joined #ruby
scottschecter has joined #ruby
scottschecter has quit [Max SendQ exceeded]
<meatchicken> How come this gives true? (DateTime.now.to_i - 9.days.ago.to_i) < 1.week.ago.to_i
<meatchicken> I want to check if a "last_opened_at" is less than a week
<meatchicken> shouldn't my equation check if the difference between now and 9 days ago is less than a week?
casadei_ has joined #ruby
mdarby has quit [Client Quit]
<eam> meatchicken: why don't you print out each integer value
vasilakisfil_ has joined #ruby
<graft> haha... 1.week.ago is a Time, nto a duration
<graft> i.e., 1.week.ago.to_i is the number of seconds betwee the epoch and 1 week ago, not the number of seconds in 1 week
<apeiros> meatchicken: why do you .to_i?
<jhass> meatchicken: 9.days.ago -> DateTime, DateTime#-(DateTime) -> Fixnum (difference in seconds). 1.week.ago -> DateTime, DateTime#to_i -> UNIX epoch timestamp
codecop has joined #ruby
<apeiros> ah, too many helpers.
* apeiros retreats
<meatchicken> graft, Oh..if I do 1.week.to_i -> it should work
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> meatchicken: don't use to_i
<meatchicken> jhass, thanks fr that
langlands has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<meatchicken> apeiros, I'm interfacing with an api that doesn't understand dates..comparisons must be made in integers
<apeiros> um…
<apeiros> no. not worth it.
<meatchicken> apeiros, what do you suggest? is there a flaw in my logic?
<Kero> 9.days.ago < 1.week.ago
<apeiros> the provided information is insufficient. and I'm not willing to go down that rabbit hole. so if it works for you, enjoy :)
<shevy> you have his blessing meatchicken \o/
jimms has quit [Remote host closed the connection]
<shevy> time to cook you :)
<meatchicken> lmao
Rollabunna has joined #ruby
<meatchicken> thanks folks
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Scroff has quit [Remote host closed the connection]
kraljev11 has quit [Ping timeout: 250 seconds]
AlphaAtom has joined #ruby
<graft> to_i seems to be necessary because - appears to expect a Numeric for DateTime
baweaver has joined #ruby
<apeiros> it accepts either Numeric or DateTime
platzhirsch has left #ruby [#ruby]
<apeiros> and the two types do different things.
<apeiros> Date - Date = diff
<apeiros> Date - Numeric = date
<apeiros> or rather: Date - diff = Date
<jhass> graft: don't worry too much about the example, the result is constant and we can only hope it's relevant to their real problem
<apeiros> where diff is Numeric.
wildroman2 has joined #ruby
nfk has joined #ruby
_ht has quit [Quit: Konversation terminated!]
AmBienCeD has joined #ruby
AmBienCeD has joined #ruby
Scroff has joined #ruby
Voker57 has joined #ruby
sandstrom has joined #ruby
arturmartins has quit [Quit: Leaving...]
Rollabunna has quit [Ping timeout: 248 seconds]
decoponio has quit [Quit: Leaving...]
roolo has joined #ruby
snockerton has quit [Quit: Leaving.]
baweaver has quit [Ping timeout: 246 seconds]
gizmore has joined #ruby
<shevy> time is relative!
<arcanez> for this code (to_bool), why does the author check 'self == true', 'self == false' for String?
<arcanez> I don't know where those would ever be ==
<adaedra> calm down, einstein
snockerton has joined #ruby
emilkarl has joined #ruby
roolo_ has quit [Ping timeout: 246 seconds]
ta has quit [Remote host closed the connection]
<jhass> arcanez: forgot link?
kraljev11 has joined #ruby
<arcanez> jhass: you need the link? :)
peter_paule has joined #ruby
snapcase has quit [Quit: leaving]
gamename has quit []
<jhass> you're right, unless String#== is overridden this is completely useless
diego_ has joined #ruby
<arcanez> you can write 'class String; def ==; ... '?
<jhass> you can, it's not wise but you can
jcdesimp has joined #ruby
arup_r has joined #ruby
<arcanez> when have programmers erred on the side of wise?
sfarley has joined #ruby
diegoviola has quit [Ping timeout: 250 seconds]
dstarh has joined #ruby
<adaedra> when they wanted feedback and external contributions.
krz has quit [Quit: WeeChat 1.0.1]
ixti has quit [Ping timeout: 252 seconds]
DLSteve has joined #ruby
__butch__ has joined #ruby
Earthnail has joined #ruby
ixti has joined #ruby
yqt has joined #ruby
Muhannad has quit [Ping timeout: 252 seconds]
NightMonkey has quit [Ping timeout: 246 seconds]
<arup_r> worked
<arup_r> super call has to be done first
<Earthnail> does anyone know a web frontend for godrb?
Marisa_ has quit [Ping timeout: 246 seconds]
kraljev11 has quit [Quit: kraljev11]
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
kraljev11 has joined #ruby
kraljev11 has quit [Read error: Connection reset by peer]
kraljev11 has joined #ruby
ringarin has joined #ruby
<shevy> adaedra are you a wise ruby programmer?
<arup_r> yes he is
<arup_r> and you shevy ?
<shevy> nope I am not
<adaedra> It would be unwise to consider myself wise, I can always be wiser.
<shevy> I make up for my lack of ingenuity with masses of lines of code
blackmesa has quit [Ping timeout: 264 seconds]
peter_paule has quit [Ping timeout: 272 seconds]
<arup_r> I am not good.. in English
<arup_r> :)
freeze has quit [Ping timeout: 256 seconds]
<adaedra> English, do you speak it?
zendrix has quit [Remote host closed the connection]
highbass has joined #ruby
<craysiii> wat is engels
<highbass> hey guys... how can i set a default ruby version for root that is different for one of my other users on a server?
<highbass> i am using rvm
Zai00 has quit [Quit: Zai00]
arturmartins has joined #ruby
EllisTAA has joined #ruby
<havenwood> highbass: A system install of RVM in /usr/local then?
hotpancakes has joined #ruby
<highbass> havenwood: could you elaborate for me please?
sfarley has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
EllisTAA has quit [Client Quit]
vdamewood has quit [Ping timeout: 252 seconds]
<havenwood> highbass: Are you using a recommended single-user install of RVM in your user's home directory ~/.rvm/ or a system install of RVM in the /usr/local directory?
Zai00 has joined #ruby
ringarin has quit [Ping timeout: 265 seconds]
dfockler has joined #ruby
sadik0x10 has quit [Quit: Leaving]
<havenwood> ~/.rvm/ vs /usr/local/rvm
diego_ has quit [Changing host]
diego_ has joined #ruby
<highbass> looks like which reports /usr/local/rvm/bin/rvm
<highbass> so i have to reinstall it the other way i guess
<havenwood> highbass: So likely you installed RVM with sudo or as root.
snapcase has joined #ruby
arturmartins has quit [Client Quit]
endash has quit [Quit: endash]
<highbass> yes i think it was done as root
kraljev11 has quit [Ping timeout: 248 seconds]
<highbass> so would i have to uninstall
<highbass> and then install it as a user?
<havenwood> highbass: There's a bit of explanation here regarding how RVM does it: https://rvm.io/rvm/install#installation-explained
<havenwood> highbass: Yeah, the recommended way is to install as non-root users.
EllisTAA has joined #ruby
<havenwood> highbass: There's an #rvm channel by the way if you want to ask RVM folk about best practices. :)
<havenwood> highbass: See the `rvmsudo` command for when you do actually need to escalate privileges without dropping your env like with `sudo`.
<highbass> havenwood: ok great thank you for your help
<havenwood> highbass: you're welcome
mansel_ has quit [Quit: ZNC - http://znc.in]
bf4 has joined #ruby
EllisTAA has quit [Client Quit]
mansel has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
uxp has quit [Read error: Connection reset by peer]
atom3 has quit [Ping timeout: 276 seconds]
uxp has joined #ruby
stoodfarback has quit [Ping timeout: 255 seconds]
wallerdev has joined #ruby
rbennacer has quit [Remote host closed the connection]
atom3 has joined #ruby
magicien_ has quit [Ping timeout: 252 seconds]
doctorly has quit [Ping timeout: 246 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sfarley has joined #ruby
delianides has joined #ruby
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arturmartins has joined #ruby
Rakunh0 has joined #ruby
mike___1234 has quit [Ping timeout: 256 seconds]
alex88 has joined #ruby
alex88 has quit [Changing host]
alex88 has joined #ruby
codecop has quit [Remote host closed the connection]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/2015051400]]
j4cknewt has joined #ruby
zendrix has joined #ruby
allomov has joined #ruby
pengin has joined #ruby
solars has joined #ruby
dmmoody has quit [Remote host closed the connection]
NightMonkey has joined #ruby
dmmoody has joined #ruby
Wolland has joined #ruby
baweaver has joined #ruby
alex88 has quit [Ping timeout: 248 seconds]
pollywog has joined #ruby
momomomomo has quit [Quit: momomomomo]
sarkyniin has quit [Ping timeout: 244 seconds]
pollywog has quit [Client Quit]
jhooker has quit [Ping timeout: 252 seconds]
polly_wog has joined #ruby
jaycee has joined #ruby
rbennacer has joined #ruby
Earthnail has quit [Remote host closed the connection]
frem has joined #ruby
nfk has quit [Quit: yawn]
jhooker has joined #ruby
EllisTAA has joined #ruby
hanmac has joined #ruby
momomomomo has joined #ruby
swgillespie has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimms has joined #ruby
NeverDie_ has joined #ruby
JoshGlzBrk has quit [Quit: Textual IRC Client: www.textualapp.com]
diego_ has quit [Ping timeout: 255 seconds]
Rollabunna has joined #ruby
AlphaAtom has joined #ruby
jcdesimp has quit [Remote host closed the connection]
bhorn1 has quit [Quit: Leaving]
lavros has quit [Quit: leaving]
NeverDie has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
sarkyniin has joined #ruby
freerobby has quit [Client Quit]
Al3ks has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
EllisTAA has joined #ruby
Rollabunna has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
revoohc has quit [Quit: revoohc]
jimms has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
Al3ks has quit [Quit: Leaving]
Al3ks has joined #ruby
zendrix has quit [Remote host closed the connection]
freerobby has quit [Read error: Connection reset by peer]
zendrix has joined #ruby
baweaver has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
nfk has joined #ruby
workmad3 has joined #ruby
woodruffw has quit [Ping timeout: 265 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wildroman2 has quit []
baweaver has joined #ruby
snockerton has quit [Quit: Leaving.]
A205B064 has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
snockerton has joined #ruby
aphprentice has quit [Remote host closed the connection]
mcclurmc has joined #ruby
djstorm has quit [Ping timeout: 256 seconds]
ivanskie has joined #ruby
aef has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
momomomomo has quit [Quit: momomomomo]
sarkyniin has quit [Ping timeout: 256 seconds]
delianides has quit [Remote host closed the connection]
aef has joined #ruby
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby
mcclurmc_ has quit [Ping timeout: 256 seconds]
enebo has joined #ruby
baweaver has quit [Remote host closed the connection]
pullphinger has quit []
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
phutchins has joined #ruby
Soda has joined #ruby
woodruffw has joined #ruby
bruno- has joined #ruby
bf4 has quit [Read error: Connection reset by peer]
emilkarl has quit [Quit: emilkarl]
ldnunes has quit [Quit: Leaving]
tacit7 has quit [Ping timeout: 255 seconds]
Scroff has quit [Remote host closed the connection]
Musashi007 has joined #ruby
tacit7 has joined #ruby
snapcase has quit [Quit: leaving]
acke has quit [Remote host closed the connection]
<shevy> hmm an array, we can grab 5 random elements, or just do [0..5]; is there something similar for a hash? I want to display just 5 key->value pairs, does not matter which one (or, the "first" 5, if that would exist)
sepp2k has quit [Quit: Leaving.]
<shevy> oh, actually 0..4 (0,1,2,3,4)
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Narzew has quit [Read error: Connection reset by peer]
danman has joined #ruby
mdw has joined #ruby
<weaksauce> shevy keys.sample(5)
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> ok
freerobby has joined #ruby
chouhoulis has joined #ruby
<cj> hey folks
<cj> What is the fully qualified name of twdc_nexus_file after that is run?
baweaver has joined #ruby
Igorshp has joined #ruby
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
solars has quit [Ping timeout: 265 seconds]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<cj> and can I call that from within a ruby_block ?
tubuliferous_ has quit [Read error: Connection reset by peer]
loocash_ has joined #ruby
blaines has joined #ruby
<havenwood> shevy: Or if you want a Hash back with both keys and values: to_a.sample(n).to_h
kirun has quit [Quit: Client exiting]
<shevy> ohhhhh
<shevy> .to_h
<shevy> I was using Hash[*]
alex88 has joined #ruby
* adaedra uses Hash[] more than .to_h
rodfersou has quit [Ping timeout: 264 seconds]
<shevy> well to_h seems shorter!
rbennacer has quit [Remote host closed the connection]
bf4 has joined #ruby
alex88 has quit [Ping timeout: 255 seconds]
AlphaAtom has joined #ruby
<_blizzy_> does ruby have a process.uptime() like in node?
workmad3 has joined #ruby
sarkyniin has joined #ruby
loocash_ has quit [Quit: Konversation terminated!]
blackmesa has joined #ruby
Rollabunna has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
<baweaver> shevy: and also looks less like a generic from java
dgutierrez1287 has quit [Remote host closed the connection]
jaequery has joined #ruby
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zai00 has quit [Quit: Zai00]
workmad3 has quit [Ping timeout: 276 seconds]
jerius has quit [Quit: /quit]
bf4 has quit [Read error: Connection reset by peer]
eggoez has quit [Ping timeout: 246 seconds]
Rollabunna has quit [Ping timeout: 248 seconds]
seansith has quit [Ping timeout: 246 seconds]
Musashi007 has quit [Quit: Musashi007]
fantazo has quit [Quit: Verlassend]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
eggoez has joined #ruby
doctorly has joined #ruby
bf4 has joined #ruby
Wolland has quit [Remote host closed the connection]
webguynow has joined #ruby
dgutierrez1287 has joined #ruby
momomomomo has joined #ruby
thelastinuit has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> well
<shevy> I am sure it's 100x as long in java :D
tacit7 has quit [Ping timeout: 255 seconds]
shadoi has quit [Quit: Leaving.]
Pupeno_ has joined #ruby
AlphaAtom has quit [Quit: Textual IRC Client: www.textualapp.com]
<adaedra> HashFactory?
dgutierrez1287 has quit [Remote host closed the connection]
<havenwood> _blizzy_: require 'time'; Time.now - Time.parse(`ps -p #{Process.pid} -o lstart`.lines.last.strip)
<havenwood> _blizzy_: ^ only as portable as ps >.>
<_blizzy_> havenwood, thanks.
dgutierrez1287 has joined #ruby
danman has quit [Quit: danman]
<havenwood> _blizzy_: you're welcome
Pupeno has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
danman has joined #ruby
bf4 has quit [Read error: Connection reset by peer]
dmmoody has quit [Remote host closed the connection]
dmmoody has joined #ruby
seansith has joined #ruby
freerobby has quit [Quit: Leaving.]
hinbody has quit [Quit: leaving]
micmus has quit [Ping timeout: 246 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
EllisTAA has quit [Quit: EllisTAA]
sfarley has quit [Remote host closed the connection]
bf4 has joined #ruby
shadoi has joined #ruby
last_staff has quit [Quit: last_staff]
werelivinginthef has joined #ruby
jhooker has quit [Ping timeout: 255 seconds]
Zai00 has joined #ruby
Spami has joined #ruby
<ivanskie> hit quite a roadblock dang it.. have a nice output into an excel file... but i can't transfer the app to windows. cuz nokogiri doesnt like it as is.. argh
<ivanskie> palmface
kies has quit [Ping timeout: 250 seconds]
mandarinkin has quit [Read error: Connection reset by peer]
hotpancakes has quit [Remote host closed the connection]
sfarley has joined #ruby
bronson has quit [Remote host closed the connection]
Rakunh0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
polly_wog has quit [Remote host closed the connection]
victortyau has quit [Quit: Leaving]
ta has joined #ruby
jlast has quit [Remote host closed the connection]
NeverDie_ is now known as NeverDie
jhooker has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Client Quit]
Igorshp has quit [Remote host closed the connection]
Igorshp has joined #ruby
[H]unt3r has quit []
Zai00 has quit [Quit: Zai00]
yfeldblum has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
yfeldblum has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
hotpancakes has joined #ruby
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dgutierrez1287 has joined #ruby
micmus has joined #ruby
Igorshp has quit [Ping timeout: 248 seconds]
yardenbar has quit [Quit: Leaving]
tno has quit [Remote host closed the connection]
Al3ks has quit [Remote host closed the connection]
Igorshp has joined #ruby
malconis has quit [Client Quit]
dgutierrez1287 has quit [Remote host closed the connection]
EllisTAA has joined #ruby
arturmartins has quit [Quit: Leaving...]
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
ausec has joined #ruby
<ausec> hey
blaines has quit [Read error: Connection reset by peer]
<Senjai> ivanskie: Of course, nokogiri builds native extensions
blaines has joined #ruby
<Senjai> ivanskie: Meaning it has to be compiled on each machine
<Senjai> ivanskie: But seriously, don't use windows. All your problems will dissapear ;)
<ivanskie> yeah. and it doesn't support 2.2.2 on windows
<ivanskie> yes thats usually my strategy.
<Senjai> If I had it my way, nothing would support windows :P
<ausec> how do i read only the first 100 lines of a file in ruby
Narzew has joined #ruby
bnobu has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Senjai> ausec: 100.times do File.readline
<ivanskie> but in this case.. I can't avoid it. im thinking of maybe doing a rails app with a background task running ruby code connecting to windows share to read my csv files..
<Senjai> ausec: Make sure you rescue EOF
<ivanskie> and sticking it into a vm.
sfarley has quit [Remote host closed the connection]
<Senjai> ivanskie: Why not just have it running on a server. Instead of a VM
rubie has quit [Remote host closed the connection]
<ivanskie> there's no linux server there
<ivanskie> and their internet is spotty
<Senjai> Can there be?
<ivanskie> in a vm...
<ausec> Senjai, thanks im pretty new to ruby
<Senjai> Why not ask them to spend $500 and get a linux server
<ivanskie> lol
<Senjai> Or you know
<Senjai> go digital ocean
<ivanskie> they've already spent a few dozen grand on our machine that comes with a box with a PC in it.
<Senjai> for $10 a month
<ausec> what im actually trying to do is read the first 100, run a block against them, then read the next 100 and so on
allomov has quit [Remote host closed the connection]
<umgrosscol> ivanskie: You're selling a box with a pc inside and it's not running linux?
<ivanskie> lol shh
<ivanskie> im not the engineer
micmus has quit [Quit: Leaving]
<umgrosscol> ausec: 100.times do File.readline
axl_ has quit [Quit: axl_]
<ivanskie> its controlling our print applicator machine
<umgrosscol> ausec: Throw that in a function
<ivanskie> printing labels and applying to boxes
<ivanskie> and this app was an afterthought
<umgrosscol> ivanskie: That's rough. A rails app to read a csv sounds like a sledgehammer to tap in some finishing nails.
dgutierrez1287 has joined #ruby
stoodfarback has joined #ruby
frg133 has quit [Quit: Leaving]
Oufoi has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
ddarkpassenger has joined #ruby
<Oufoi> Hi, quick question guys: can I call a method without instancing an object ? such as Class.mymethod instead of Class.new().mymethod() ?
bluOxigen has joined #ruby
<umgrosscol> ausec: File.readline(100) handle the EOFError for the end of file.
<umgrosscol> Oufoi: You can for a class method, but not for an instance method.
<umgrosscol> Oufoi: For an instance method, you need an instance of the class.
vasilakisfil_ has quit [Quit: Konversation terminated!]
<umgrosscol> Oufoi: So something that is stateless would be perfect for a class method. class Foo; def self.mymethod
fabrice31 has joined #ruby
<baweaver> >> class Foo; def self.bar; 1 end end; Foo.bar
<ruboto> baweaver # => 1 (https://eval.in/389510)
vasilakisfil_ has joined #ruby
EllisTAA has joined #ruby
quazimodo has quit [Ping timeout: 276 seconds]
__butch__ has quit [Quit: Linkinus - http://linkinus.com]
<Oufoi> umgrosscol: okay so if I have something like this: http://pastebin.com/H0EUKFZU
<ruboto> Oufoi, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/9acafebfce3ffd97348e
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<umgrosscol> Oufoi: You'll also see the idiom class << self to define a block of class methods
__butch__ has joined #ruby
<umgrosscol> Oufoi: google "ruby class methods"
<Oufoi> umgrosscol: what would be the syntax for this ? MyItem.Mymethod ?
dgutierrez1287 has quit [Remote host closed the connection]
<Oufoi> umgrosscol: I could not find otherwise I would have not come on irc
<umgrosscol> Oufoi: self.mymethod, but you wouldn't be able to use @name
<baweaver> you're referring to something that needs an instance
<baweaver> you're going to have a bad time there
<baweaver> all methods are public unless you explicitly say otherwise.
<baweaver> that, and use lower case for method names
<umgrosscol> really, the top google results for me look fine.
<leslie> I can use send(:method_name) to dynamically call a method. is there an equivalent for calling super ?
<baweaver> put super inside :method_name?
Rollabunna has joined #ruby
<baweaver> also, be nice on the google results bit
<umgrosscol> leslie: You could see what method super would call with class.method(:method_name).super_method
<baweaver> though be forewarned, people can tell when you don't Oufoi
<baweaver> and it does not bode well for help
momomomomo_ has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
fabrice31 has quit [Ping timeout: 252 seconds]
<Senjai> testing abilities is meh
<Senjai> Not sure if I want to make that more dynamic
kstuart has quit [Read error: Connection reset by peer]
<umgrosscol> Oufoi: the @var_name is for instance variables. Those aren't going to work for a Class method.
EllisTAA has quit [Client Quit]
kstuart has joined #ruby
jcdesimp has joined #ruby
<Oufoi> umgrosscol: okay I understand for the variable yes. thanks. Actually I am just a little confused due to the Chef syntax
<ivanskie> umgrosscol yep, rough indeed
a346 has joined #ruby
momomomomo has quit [Ping timeout: 276 seconds]
momomomomo_ is now known as momomomomo
<ivanskie> if only I could read local files from javascript from within html file. but noooo. thats security violation lol
<baweaver> Oufoi: you would be better suited to read into ruby itself as a language
<ivanskie> they don't have Access. so can't do it in access.. they don't have office at all so no excel either. argh
<baweaver> using chef without it is at your own peril
<baweaver> dsl or not
<leslie> ivanskie, you can, with certain constraints
<ivanskie> i've googled and haven't found a way.
DLSteve has quit [Quit: Leaving]
<ivanskie> i don't want them to click Browse, or drag and drop files on there.
<Senjai> ivanskie: Dont use nokogiri
<ivanskie> ah
<ivanskie> yah.
jhooker has quit [Ping timeout: 248 seconds]
<Oufoi> baweaver: yes I guess but the behavior is the same. I am using :Chef::Resource::MyClass.mymethod() and mymethod is undefined
<ivanskie> I'm going to just output to a text file.
<Senjai> ivanskie: Or you can use one of the pure ruby solutions
Rollabunna has quit [Ping timeout: 248 seconds]
<baweaver> that's because mymethod is only defined on ::Chef::Resource::MyClass.new
<ivanskie> Senjay like what
<umgrosscol> ivanskie: You're using nokogiri to parse csv?!
<ivanskie> nope
memph1s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ivanskie> lol
<ivanskie> im using CSV library for csv.
<baweaver> you could say self.my_method, but then you can't get at instance variables
<baweaver> or just pass in name as a string
<ivanskie> i worked on outputting it to excel file. and worked nicely. until nokogiri and windows..
<ivanskie> so now im just thinking of outputting it to plain text file.
jhooker has joined #ruby
blazes816 has joined #ruby
hotpancakes has quit [Remote host closed the connection]
<Senjai> Using nokogiri to output to excel
<Senjai> Just use the CSV library..
<Senjai> I have never even considered using nokogiri for that purpose. Seems hella farfetched
<ivanskie> well i was trying the AXLSX gem. which is dependant on Nokogiri
<Senjai> CSV's for days
<Senjai> excel formats can go sodomize themselves
<ivanskie> if I output csv.. next time customer runs the app (as is), it'll read this csv too. so i'd have to filter out for certain filename..
<Senjai> I dont even want to know dude :P
enebo has quit [Quit: enebo]
<ivanskie> lol
<ivanskie> yep 0fg
avahey has joined #ruby
tcrypt has quit [Ping timeout: 255 seconds]
roolo has quit [Remote host closed the connection]
whippythellama has quit [Quit: WeeChat 1.2]
blazes816 has quit [Ping timeout: 256 seconds]
baweaver has quit [Remote host closed the connection]
<ivanskie> was just thinking outloud
rubie has joined #ruby
jhooker has quit [Ping timeout: 256 seconds]
Exuma has joined #ruby
renderful has joined #ruby
bluOxigen has quit [Ping timeout: 246 seconds]
dmmoody has quit []
jhooker has joined #ruby
anjen has quit [Quit: anjen]
startupality has joined #ruby
pgatt has joined #ruby
renderful has quit [Client Quit]
sandstrom has quit [Quit: My computer has gone to sleep.]
doctorly has quit [Ping timeout: 272 seconds]
blaines has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
emptyflask has quit [Ping timeout: 248 seconds]
doctorly has joined #ruby
EllisTAA has joined #ruby
vasilakisfil_ has quit [Ping timeout: 256 seconds]
chipotle has quit [Ping timeout: 252 seconds]
jhooker has quit [Ping timeout: 248 seconds]
alex88 has joined #ruby
k3asd` has quit [Ping timeout: 246 seconds]
drocsid has joined #ruby
<finisherr> I have a strange issue. I’m trying to print the stdout and stderr of a shelled out command as the command is exeucting
<finisherr> I’m trying to run the command ‘kitchen converge’
__butch__ has quit [Quit: Linkinus - http://linkinus.com]
<finisherr> it does not prompt the user
<finisherr> but for some reason, nothing prints after the first 3 lines of output
<finisherr> normally thing command will print many many lines updating the user on the status of the things happening in vagrant and with the tests
reset has joined #ruby
astrobunny has quit [Ping timeout: 248 seconds]
blaines has joined #ruby
reset has quit [Client Quit]
<finisherr> if i just do puts `kitchen converge` i have a feeling the user would have to wait for a very long time to collect the string printed to standard out before printing
EllisTAA has quit [Ping timeout: 256 seconds]
alex88 has quit [Ping timeout: 264 seconds]
SCHAAP137 has quit [Remote host closed the connection]
hotpancakes has joined #ruby
spider-mario has quit [Remote host closed the connection]
baweaver has joined #ruby
bf4 has quit [Read error: Connection reset by peer]
psy_ has quit [Ping timeout: 252 seconds]
dgutierrez1287 has joined #ruby
towski_ has quit [Ping timeout: 276 seconds]
towski_ has joined #ruby
bf4 has joined #ruby
hotpancakes has quit [Ping timeout: 276 seconds]
ddarkpassenger has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
mister_solo has joined #ruby
lkba_ has quit [Ping timeout: 265 seconds]
icarus has joined #ruby
finisherr has quit [Quit: finisherr]
Azure has quit [Ping timeout: 265 seconds]
startupality has quit [Quit: startupality]
startupality has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
pengin has quit [Remote host closed the connection]
benanne has quit [Quit: kbai]
finisherr has joined #ruby
platzhirsch has joined #ruby
mary5030 has joined #ruby
Muhannad has joined #ruby
ixti has quit [Ping timeout: 256 seconds]
shadoi has quit [Quit: Leaving.]
jhooker has joined #ruby
startupality has quit [Ping timeout: 256 seconds]
enebo has joined #ruby
arescorpio has joined #ruby
highbass has quit [Remote host closed the connection]
psy_ has joined #ruby
mary5030 has quit [Ping timeout: 256 seconds]
umgrosscol has quit [Remote host closed the connection]
benlieb_ has quit [Quit: benlieb_]
pengin has joined #ruby
danman has quit [Quit: danman]
benlieb_ has joined #ruby
drocsid has quit [Quit: leaving]
mesamoo has joined #ruby
blaines has quit [Ping timeout: 250 seconds]
casadei_ has quit [Remote host closed the connection]
Ropeney has joined #ruby
bf4 has quit [Ping timeout: 272 seconds]
blaines has joined #ruby
AmBienCeD has quit [Read error: Connection reset by peer]
Rollabunna has joined #ruby
danman has joined #ruby
enebo has quit [Quit: enebo]
platzhirsch has quit [Ping timeout: 246 seconds]
enebo has joined #ruby
hgl has joined #ruby
blaines has quit [Ping timeout: 276 seconds]
enebo has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
blaines has joined #ruby
casadei_ has joined #ruby
Rollabunna has quit [Ping timeout: 256 seconds]
a346 has quit [Quit: a346]
Exuma has quit []
ledestin has joined #ruby
hgl has quit [Max SendQ exceeded]
hgl has joined #ruby
RegulationD has quit [Remote host closed the connection]
hgl has quit [Max SendQ exceeded]
emptyflask has joined #ruby
hgl has joined #ruby
bronson has joined #ruby
shoutsid has quit []
hgl has quit [Max SendQ exceeded]
idafyaid has quit [Ping timeout: 276 seconds]
doctorly has quit [Ping timeout: 246 seconds]
hgl has joined #ruby
hgl has quit [Max SendQ exceeded]
hgl has joined #ruby
bf4 has joined #ruby
Pupeno_ has quit [Remote host closed the connection]
dgutierrez1287 has quit [Remote host closed the connection]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
emptyflask has quit [Ping timeout: 246 seconds]
Pupeno has joined #ruby
Pupeno has joined #ruby
ausec has quit [Quit: Leaving]
hgl has left #ruby [#ruby]
Marisa_ has joined #ruby
speaking1ode has joined #ruby
mikecmpbll has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
idafyaid has joined #ruby
eggoez has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Client Quit]
hsps_ has quit [Quit: Leaving]
pdoherty has quit [Quit: Leaving]
swgillespie has joined #ruby
hotpancakes has joined #ruby
jpfuentes2 has joined #ruby
<weaksauce> ivanskie rubyXL is pretty ok for excel stuff.
<weaksauce> have you tried it?
hotpancakes has quit [Remote host closed the connection]
<ivanskie> nokogiri
<ivanskie> & windows... no go
EllisTAA has joined #ruby
MasterPiece has joined #ruby
<havenwood> ivanskie: Have you tried Oga?: https://github.com/YorickPeterse/oga#readme
<ivanskie> I just ended up outputting to plain text. will work fine. Don't really have much paid time left on this project.
swgillespie has quit [Client Quit]
snophey has quit [Quit: Leaving]
<weaksauce> ah there you go first requirement is nokogiri
<ivanskie> havenwood nope haven't looks like its a lot of work.
jhooker has quit [Ping timeout: 252 seconds]
emptyflask has joined #ruby
tcrypt has joined #ruby
<weaksauce> I can't imagine any libraries using anything other than that for excel xml files
scripore has joined #ruby
<ivanskie> yeh i kno.
<havenwood> ivanskie: ah, scrolling back and reading history now
<ivanskie> its alright.
<ivanskie> alright time to pack up and go home
<ivanskie> thanks guys
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<weaksauce> can you make the app dockerized and run it on windows?
athos_diddy has joined #ruby
swgillespie has joined #ruby
snapcase has joined #ruby
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
Azure has joined #ruby
Miesco has joined #ruby
<Miesco> Hi, I am getting this error when I run 'rails new':
<Miesco> /usr/bin/ruby2.1: No such file or directory -- /usr/share/rubygems-integration/all/gems/bundler-1.7.4/bin/bundle (LoadError)
<athos_diddy> for rails question ask in #RubyOnRails
cmisenas has quit [Read error: Connection reset by peer]
<Miesco> thanks
Miesco has left #ruby [#ruby]
eggoez has joined #ruby
<athos_diddy> np
bf4 has quit [Ping timeout: 252 seconds]
Azure has quit [Max SendQ exceeded]
n008f4g_ has quit [Ping timeout: 252 seconds]
<al2o3-cr> ?rails
<ruboto> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP