« Back to channel list

#ruby - 10 July 2016

« Back 1 day Forward 1 day »
[00:02:08] ghr: has joined #ruby
[00:02:24] hahuang61: has joined #ruby
[00:03:14] jottr: has joined #ruby
[00:05:34] Mattx: apeiros, it's actually a quick socket server I'm writing
[00:05:50] Mattx: you can connect to it and run different services
[00:06:27] Mattx: and those services are related but the logic is quite different, they do different things using the same data
[00:08:09] Mattx: apeiros, how would you divide that?
[00:08:52] apeiros: difficult without knowing the details. but probably by having classes for each service
[00:10:03] pontiki: i'm not touching this one
[00:12:17] kies: has joined #ruby
[00:12:39] ghr: has joined #ruby
[00:17:03] spudowiar: has joined #ruby
[00:22:10] ghr: has joined #ruby
[00:24:09] Kaneki-: has joined #ruby
[00:24:29] ecnalyr: has joined #ruby
[00:26:02] LoneHerm_: has joined #ruby
[00:27:12] SteveC: has joined #ruby
[00:27:34] colegatron_origi: has joined #ruby
[00:31:40] ghr: has joined #ruby
[00:37:40] mentok: has joined #ruby
[00:38:57] der-landgraf: has joined #ruby
[00:40:59] gizmore: has joined #ruby
[00:41:00] stoodfarback: has joined #ruby
[00:41:41] ghr: has joined #ruby
[00:42:28] blandflakes: has joined #ruby
[00:44:49] bkxd: has joined #ruby
[00:51:44] ghr: has joined #ruby
[00:55:18] hutch34: has joined #ruby
[00:59:15] mentok: I seem to be having some trouble calling methods in irb, I've created a class called Quarterback, initalized a new instance called "Andrew Luck" and have defined a method named "Audible" that prints out "WIDE EIGHTY", but when I try to call this method I get "undefined method `audible' for Quarterback:class". Any ideas what I'm slipping up on?
[00:59:21] mentok: http://imgur.com/vonwdRw Here's what I've put into irb so far.
[01:01:42] ghr: has joined #ruby
[01:03:24] blackmesa: has joined #ruby
[01:04:28] jottr: has joined #ruby
[01:06:03] jnoob22: has joined #ruby
[01:06:56] ledestin: has joined #ruby
[01:08:32] blandflakes: has joined #ruby
[01:11:12] ghr: has joined #ruby
[01:12:57] gizmore: Is someone native in japanese? 'あなたは間違った秘密を入力しました。アカウントが%s時間ブロックされる前に、あなたは今%s回の試行を持っています。'
[01:14:21] Zarthus: I just speak ruby here.
[01:14:24] Zarthus: ¯\_(ツ)_/¯
[01:14:35] Zarthus: try ##japanese
[01:15:58] charliesome: has joined #ruby
[01:16:25] hutch34: has joined #ruby
[01:18:53] bkxd: has joined #ruby
[01:19:35] gizmore: wow thanks :)
[01:19:50] gizmore: Zarthus: you also speak kind and helpful :)
[01:20:16] shachaf: has joined #ruby
[01:20:26] Zarthus: i'm not familiar with the japanese channel, but ##language channels tend to be willing to assist with translations. It's far more often about learning the ways, though.
[01:20:38] Zarthus: I like the compliment though!
[01:21:13] ghr: has joined #ruby
[01:27:04] LoneHermit: has joined #ruby
[01:29:03] Xeago_: has joined #ruby
[01:29:39] kies: has joined #ruby
[01:31:13] ghr: has joined #ruby
[01:32:00] charliesome: has joined #ruby
[01:33:44] macsteps: has joined #ruby
[01:37:26] z3ndrag0n: has joined #ruby
[01:38:16] Me_Engine: has joined #ruby
[01:40:31] shevy: has joined #ruby
[01:41:17] ghr: has joined #ruby
[01:41:56] roamingdog: has joined #ruby
[01:42:44] mentok: so, why does string interpolation allow for (almost) any kind of delimitter but regexes require / ? Just curious
[01:43:03] pontiki: they don't
[01:43:30] mentok: so I could use pipes too?
[01:43:31] pontiki: you can use p.much any character in %r
[01:43:45] mentok: I guess the book I'm working through doesn't explicity say, so I got confused. Thanks!
[01:44:13] finisherr: has joined #ruby
[01:45:11] shevy: that's why you have pontiki - more knowledge than a book!
[01:45:46] arlek: has joined #ruby
[01:45:46] mentok: oh it's a user hahaha
[01:45:56] mentok: I just did a google search thinking it was a wiki or something and was wondering why I got boat cruises.
[01:46:11] pontiki: i'm surprised you didn't get kiddie toys
[01:48:06] pontiki: no, i'm justa cranky old lady
[01:48:09] shevy: I always associate the name with indian tribes... like pocahontas, rather than a mouse
[01:48:13] pontiki: ACTION shakes fist
[01:48:20] mentok: "Woman shakes fist at cloud"
[01:50:01] pontiki: GIT OFFA MAH LAN!
[01:51:20] pontiki: shevy: most people seem to only think of Kon-Tiki and rafts
[01:53:24] pontiki: mentok: you can even use a space as a delimiter character, but pls don't
[01:57:50] ghr: has joined #ruby
[02:02:07] JoshGlzBrk: has joined #ruby
[02:06:02] postapocallyptic: has joined #ruby
[02:06:13] postapocallyptic: hello whats a good ruby book online for free?
[02:06:29] jottr: has joined #ruby
[02:06:59] pontiki: the old pickaxe book is online, it's probalby still 85% accurate
[02:07:15] ghr: has joined #ruby
[02:08:03] flashpoint9: has joined #ruby
[02:08:13] mentok: Working my way through "Beginning Ruby" by Peter Cooper, cause I need a physical book I can write in :D
[02:08:27] mentok: I really appreciate that he starts off from the very beginning teaching you about classes and objects.
[02:08:56] dtzuzu: has joined #ruby
[02:09:28] pontiki: for folks brand new to programming at all (no previous exp.) i'm still recommending chris pine's book
[02:09:42] mentok: the guy from star trek? :P
[02:09:56] shevy: postapocallyptic check out learn to program too, while it is basic, if you know 100% of its content then you are no longer a ruby newcomer
[02:09:59] pontiki: i believe you're thinking of commander pike, mentok
[02:10:13] mentok: May he rest in peace.
[02:10:13] shevy: https://pine.fm/LearnToProgram/
[02:10:45] akira616`: has joined #ruby
[02:11:06] mentok: aw man...almost time for the main event and my stream's going to shite :()
[02:13:23] roamingdog: has joined #ruby
[02:15:55] arescorpio: has joined #ruby
[02:16:04] shevy: all good things come to an end
[02:16:34] blackmesa: has joined #ruby
[02:19:38] bkxd: has joined #ruby
[02:22:46] ghr: has joined #ruby
[02:22:57] hunq8: has joined #ruby
[02:22:58] ChanServ: +b *!*@gateway/web/freenode/ip.99.181.20.181
[02:22:58] ChanServ: ChanServ kicked hunq8: is banned from this channel
[02:22:59] ruby[bot]: -b+b *!*@gateway/web/freenode/ip.99.181.20.181 *!*@gateway/web/freenode/ip.99.181.20.181$#ruby-banned
[02:25:51] chimkan: has joined #ruby
[02:28:33] mustmodify: has joined #ruby
[02:28:59] chimkan: has joined #ruby
[02:29:52] yfeldblum: has joined #ruby
[02:32:16] ghr: has joined #ruby
[02:34:55] pawnbox: has joined #ruby
[02:36:16] mentok: Starting to really appreciate irb.
[02:37:01] roamingdog: has joined #ruby
[02:38:30] DrCode: has joined #ruby
[02:40:45] karapetyan: has joined #ruby
[02:41:43] pontiki: soon you can step up your game to pry, mentok :)
[02:42:17] ghr: has joined #ruby
[02:42:29] SilverKey: has joined #ruby
[02:42:41] mentok: what's the advantage of pry?
[02:44:03] SilverKey: has joined #ruby
[02:45:04] pontiki: many things: http://pryrepl.org
[02:45:39] mentok: "shell integration" Sold.
[02:46:40] mentok: input buffer clearing? double sold.
[02:46:46] mentok: I'll take two. Thanks pontiki!
[02:47:13] shachaf: has left #ruby: ()
[02:47:35] astrobunny: has joined #ruby
[02:48:22] pontiki: <- better than a wiki
[02:48:38] mentok: I'd subscribe to your mailing list :P
[02:48:53] pontiki: you can subscribe to my blog
[02:49:09] mentok: send a link!
[02:49:32] pontiki: http://swaac.tamouse.org
[02:49:45] pontiki: i'm not a good writer
[02:50:41] pawnbox: has joined #ruby
[02:50:45] mentok: heh no worries
[02:51:04] mentok: man, putting the charging port on the BOTTOM of the magic mouse 2 was just silly.
[02:52:45] pontiki: you basically need 2 of them?
[02:53:06] mentok: Yeah, so if your main mouse runs out of battery, best have a second on hand.
[02:53:21] mentok: Which I have, just not a magic mouse so you're sacrificing mouse gestures, which I use A LOT.
[02:53:58] mentok: I might sell it on CList and find myself a 1st gen magic mouse so I can swap out batteries when it dies.
[02:54:00] pontiki: i'm still using a logic marble thingie
[02:54:25] mentok: that's what my backup is
[02:55:38] pontiki: having decades of muscle memory built up, it's actually hard to change things around
[02:55:47] pontiki: this is the true problem of getting old
[02:58:09] pontiki: it's not that you can't adapt, it just takes a lot more practice and time
[02:58:43] pontiki: well, that and the general fucks i don't have to give :D
[03:03:10] Tempesta: has joined #ruby
[03:03:10] Tempesta: has joined #ruby
[03:03:14] dcunit3d: has joined #ruby
[03:03:55] chimkan: has left #ruby: ()
[03:05:18] ghr: has joined #ruby
[03:05:36] tossup: has joined #ruby
[03:06:02] pawnbox: has joined #ruby
[03:07:16] jottr: has joined #ruby
[03:08:19] JoshGlzBrk: has joined #ruby
[03:09:36] flashpoint9: has joined #ruby
[03:12:04] gix: has joined #ruby
[03:12:27] burgestrand: has joined #ruby
[03:14:24] kevr: has joined #ruby
[03:14:49] Paradox: has joined #ruby
[03:15:19] ghr: has joined #ruby
[03:18:07] A124: I am probably little weird. How would I incorporate golang library into Ruby?
[03:18:22] blackmesa: has joined #ruby
[03:18:44] A124: Or in the worse case how should I proceed doing the same with C? Would like to extend Digest with another slgo.
[03:20:00] xue: has joined #ruby
[03:20:33] bkxd: has joined #ruby
[03:20:41] treaki_: has joined #ruby
[03:22:16] A124: I found and awesome weird dude that apparently does same languages. And the stuff is same like with C. So the focus now is how to digest a file/string efficiently.
[03:23:56] brianpWins_: has joined #ruby
[03:24:17] elomatreb: A124: I'm not entirely sure it's what you want, but there is https://github.com/ffi/ffi
[03:24:49] ghr: has joined #ruby
[03:28:37] LoneHermit: has joined #ruby
[03:30:09] A124: Likely, reading it now already. elomatreb Would like to extend Digest with another algo, so need to be able to consume strings and files. And need that efficiently.
[03:31:01] A124: How would / should I process the files? Send string with filename or other way? Searching gave zero resutlts so far.
[03:35:49] z3ndrag0n: has joined #ruby
[03:36:20] ghr: has joined #ruby
[03:39:54] shevy: has joined #ruby
[03:42:58] lxsameer: has joined #ruby
[03:43:44] zacts: has joined #ruby
[03:45:51] ghr: has joined #ruby
[03:46:18] The_Phoenix: has joined #ruby
[03:51:15] benlieb: has joined #ruby
[03:52:57] kevr: has joined #ruby
[03:55:11] dsea: has joined #ruby
[03:55:18] dsea: Ok am I retarded
[03:55:30] dsea: why is it impossible for me to install rails 5.0 on windows
[03:55:43] LoneHerm_: has joined #ruby
[03:55:51] ghr: has joined #ruby
[03:55:53] dsea: sorry just getting started with Ruby but 4.x version will install just fine
[03:56:04] dsea: keeps giving me some problem with tools gem for 5.x
[03:57:29] hk238: has joined #ruby
[03:58:03] pontiki: windows is definitely a second or third class citizen with regards to rails
[03:58:21] craigp_: has joined #ruby
[03:58:27] pontiki: that said, dsea, you may want to jump over to #rubyonrails for rails questions
[03:59:18] xue: has joined #ruby
[03:59:35] dsea: pontiki, Yea I just don't feel like going on work laptop for learning figured Windows was the problem though as it is with most things.... Didn't realize it was a different channel though, sorry
[04:00:07] pontiki: dsea: just don't want to perturb the rails-h8rs in #ruby :D
[04:01:17] shevy: dsea well if rails 4 worked fine and rails 5 is giving trouble then perhaps the rails devs have not tested it sufficiently well on windows... possibly because nobody uses windows! they are all macsters or linux users
[04:03:12] dsea: shevy, that's right I forgot that mac and windows were the most heavily used OS's
[04:03:34] dsea: sorry, just was wondering from the standpoint as I don't want to jump on a VM in order to learn something
[04:03:45] pontiki: even tho i'm on a mac, i still do almost all dev work in ubuntu
[04:04:27] pontiki: dsea: yeah, you really shouldn't have to. i use my personal gear for work, though, too, so i don't want to pollute my personal space if i don't have to
[04:04:39] pontiki: learning's a different thing, for sure
[04:04:44] pontiki: but windows, meh, i'm sorry
[04:05:12] pontiki: i bought an ultrabook running windows to see if i could help folks out, since i really have no experience with it
[04:05:26] pontiki: i ended up installing linux mint desktop :(
[04:05:47] dsea: Need to play gamez though and getting proper drivers for nvidia cards is a pain on any distro
[04:06:18] allstar: has joined #ruby
[04:06:28] dsea: I can just hop on my dev VM at work just was wondering if I was missing something basic
[04:07:00] pontiki: oh, i mean i installed the linux mint desktop as a VM
[04:07:28] pontiki: not replace or dual-boot
[04:08:01] jottr: has joined #ruby
[04:08:08] pontiki: at my monthly rails meetup, we're telling windows users to go use cloud 9 now
[04:09:02] dsea: esx+nomachine is great, don't have to use much for local resources that way and can make the box as big as I want
[04:09:43] dsea: what is cloud9
[04:09:52] pontiki: https://c9.io
[04:10:32] pontiki: development system in the cloud, basically
[04:10:35] dsea: that's pretty neat
[04:10:42] dsea: ty, hadn't heard of it
[04:10:52] ghr: has joined #ruby
[04:12:32] allstar: +1 for c9, I selfhost it here and there and it has plenty of dev features
[04:12:59] pontiki: there's also something similar called https://nitrous.io
[04:13:18] pawnbox: has joined #ruby
[04:13:51] dsea: seems like better pricing, anything big that's different?
[04:14:20] pontiki: idk, i've worked a bit more with c9 than nitrous
[04:14:33] pontiki: they're pretty much the same i think
[04:14:38] ledestin: has joined #ruby
[04:15:40] allstar: and c9 is free self-hosted of course, not sure if you can do that with nitrous
[04:17:08] pontiki: c9 is what hartl's rails tutorial recommends
[04:18:01] pontiki: i'm still sympathetic to the hope to learn on windows, i'm just unable to help :(
[04:19:00] charliesome: has joined #ruby
[04:20:22] ghr: has joined #ruby
[04:21:01] Paradox: has joined #ruby
[04:21:24] mentok: Welp. Lesnar made it to 3:15 in the first round, I just lost $20 lol
[04:21:30] blackmesa: has joined #ruby
[04:24:53] harfangk: has joined #ruby
[04:28:08] xcesariox: has joined #ruby
[04:31:53] ghr: has joined #ruby
[04:32:07] deviation: has joined #ruby
[04:34:38] naftilos76: has joined #ruby
[04:35:12] shevy: a MMA-interested programmer!
[04:35:59] deviation: has joined #ruby
[04:36:00] leea: has joined #ruby
[04:36:03] dsea: a gambling one
[04:37:59] zacts: has joined #ruby
[04:41:23] djbkd_: has joined #ruby
[04:41:41] coffeecupp: has joined #ruby
[04:41:50] mentok: I don't think it was that close.
[04:41:54] ghr: has joined #ruby
[04:42:00] hk238: has joined #ruby
[04:43:57] Guest54890: has joined #ruby
[04:45:32] SilverKey: has joined #ruby
[04:47:03] naftilos76: has joined #ruby
[04:51:24] ghr: has joined #ruby
[04:53:21] pawnbox: has joined #ruby
[04:55:33] SharksAbove: has joined #ruby
[04:59:27] craigp_: has joined #ruby
[05:00:16] mentok: well then.
[05:00:42] dsea: that happened in multiple channels
[05:00:51] armin: has joined #ruby
[05:00:55] ghr: has joined #ruby
[05:01:25] mentok: well yeah, it's a netsplit
[05:01:33] mentok: Those cross channels.
[05:02:41] dsea: what's a netsplit? I've never seen that
[05:03:36] dsea: nvm apparently a cluster gets broke?
[05:04:10] shevy: netsplit is somehow where people split up on IRC
[05:04:19] shevy: a minority has left us here on #ruby!
[05:04:24] pontiki: it's when irc servers disconnect and don't sync back up
[05:07:24] `tim`: has joined #ruby
[05:08:29] LoneHerm_: has joined #ruby
[05:08:47] jottr: has joined #ruby
[05:09:25] M-shine: has joined #ruby
[05:09:43] execat: has joined #ruby
[05:10:34] Satyajit: has joined #ruby
[05:10:52] execat: How do I generate a regex of the form /\p{X}/ where X takes values from an array?
[05:10:55] ghr: has joined #ruby
[05:11:08] execat: Turns out this --> /\p{Bengali}/ == Regexp.new("/\p{Bengali}/")
[05:11:10] execat: is false.
[05:11:37] pontiki: execat: indeed
[05:11:53] pontiki: don't put the delimiters withe Regexp.new
[05:14:09] execat: Wow. That was a stupid mistake. Thanks pontiki!
[05:14:36] dennisvennink: has joined #ruby
[05:19:03] craigp_: has joined #ruby
[05:21:20] bkxd: has joined #ruby
[05:21:26] ghr: has joined #ruby
[05:22:35] max1: has joined #ruby
[05:23:33] tristanp: has joined #ruby
[05:24:33] blackmesa: has joined #ruby
[05:24:33] pawnbox: has joined #ruby
[05:27:55] benlieb: has joined #ruby
[05:28:39] hk238: has joined #ruby
[05:28:57] Dimik--: has joined #ruby
[05:30:55] asianMike: has joined #ruby
[05:30:57] ghr: has joined #ruby
[05:31:14] Ebok: has joined #ruby
[05:35:08] tristanp: has joined #ruby
[05:40:27] ghr: has joined #ruby
[05:46:31] yadobujo: has joined #ruby
[05:47:17] charliesome: has joined #ruby
[05:49:49] ecnalyr: has joined #ruby
[05:49:58] ghr: has joined #ruby
[05:54:04] yadobujo: has joined #ruby
[05:55:17] arlek: has joined #ruby
[05:55:20] pawnbox: has joined #ruby
[05:55:46] shevy: hmm... if frozen encoding is used in a file that holds string constants
[05:55:53] shevy: like: FOO = 'Hello World!'
[05:56:13] shevy: I don't mean frozen encoding
[05:56:15] shevy: I mean: # frozen_string_literal: true
[05:56:24] shevy: is this functionally equivalent to doing:
[05:56:32] shevy: FOO = 'Hello World!'.dup ?
[05:57:10] pontiki: i don't think so
[05:57:26] pontiki: that's just assignment
[05:57:36] pontiki: you can't change the string content
[05:57:39] shevy: I actually meant to write:
[05:57:40] pontiki: as i understand it
[05:57:43] shevy: FOO = 'Hello World!'.freeze
[05:58:08] pontiki: for which part?
[05:59:26] shevy: for the string constants in a given .rb file
[05:59:28] ghr: has joined #ruby
[05:59:40] shevy: dunno why I used .dup above there, too much multitasking
[06:00:43] chandlerbing: has joined #ruby
[06:01:09] pontiki: so the assignment isn't changing the string, it's changing the constant
[06:01:33] kevr: has joined #ruby
[06:01:34] harfangk: has joined #ruby
[06:01:56] Phanes: has joined #ruby
[06:01:56] Phanes: has joined #ruby
[06:08:28] jidar: has joined #ruby
[06:08:42] dionysus69: has joined #ruby
[06:09:31] jottr: has joined #ruby
[06:11:29] ghr: has joined #ruby
[06:12:12] asianMike: has joined #ruby
[06:20:05] craigp_: has joined #ruby
[06:21:59] bkxd: has joined #ruby
[06:23:15] benlieb: has joined #ruby
[06:23:30] ghr: has joined #ruby
[06:26:00] dtzuzu: has joined #ruby
[06:26:17] blackmesa: has joined #ruby
[06:26:54] tmtwd: has joined #ruby
[06:27:21] kavanagh: has joined #ruby
[06:28:30] benlieb: has joined #ruby
[06:30:11] tvw: has joined #ruby
[06:31:35] ReK2: has joined #ruby
[06:31:35] ReK2: has joined #ruby
[06:38:01] ghr: has joined #ruby
[06:43:06] daumie: has joined #ruby
[06:44:20] `tim`: has joined #ruby
[06:47:31] ghr: has joined #ruby
[06:47:44] ljames: has joined #ruby
[06:56:34] kevr: has joined #ruby
[06:57:02] ghr: has joined #ruby
[06:58:24] Dimik: has joined #ruby
[06:58:32] bkxd: has joined #ruby
[07:00:32] dionysus69: has joined #ruby
[07:04:02] flughafen_: has joined #ruby
[07:06:32] ghr: has joined #ruby
[07:06:59] coffeecupp: has joined #ruby
[07:08:16] tossup_: has joined #ruby
[07:10:19] jottr: has joined #ruby
[07:10:55] Ebok: has joined #ruby
[07:16:55] Nanuq: has joined #ruby
[07:18:33] ghr: has joined #ruby
[07:20:50] charliesome: has joined #ruby
[07:24:55] zacts: hi rubyists
[07:25:14] zacts: I've just realized something I hadn't expected: ruby is difficult
[07:25:23] zacts: but it's really a nice kind of difficulty
[07:25:50] firstdayonthejob: has joined #ruby
[07:26:21] elomatreb: Are you sure you don't mean *programming* is difficult?
[07:27:24] zacts: elomatreb: I think I must
[07:27:29] blackmesa: has joined #ruby
[07:27:32] zacts: I'm being 1/2 silly though
[07:27:54] shevy: zacts yeah, well, I would not say difficult because ruby is in many ways very linear the moment you "think ruby", but I would say that it is a complex language if you look at all it has to offer
[07:28:15] zacts: shevy: indeed, I think that's what I meant also
[07:28:23] leea: has joined #ruby
[07:28:23] elomatreb: Is there any language that is not complex?
[07:28:30] zacts: Ruby offers a lot, and a lot of gems / libraries
[07:28:33] ghr: has joined #ruby
[07:28:45] zacts: elomatreb: probably the closest would be pure lambda calculus or (scheme)?
[07:29:00] zacts: but then you get complexity in the simplicity of it sometimes
[07:29:08] zacts: some things become too terse to describe
[07:29:24] elomatreb: (No expert, so take what I say with grains of salt) The complexity in these systems is having to do everything yourself
[07:29:26] zacts: verbose not terse
[07:29:44] zacts: s/terse/verbose/ for my first sentence mentioning it
[07:30:02] zacts: indeed. so perhaps there is complexity in any system
[07:30:34] zacts: but Perl5 makes me afraid, very afraid, in comparison to Ruby... oh well. :-P
[07:30:34] harfangk: has joined #ruby
[07:30:37] pawnbox: has joined #ruby
[07:30:39] elomatreb: To quote xkcd: "Functional programming combines the power of abstract mathematics with the intuitivity and clarity of abstract mathematics"
[07:31:01] zacts: heh, that's a nice quote
[07:35:52] lstanley: has left #ruby: ("Leaving")
[07:37:48] solars: has joined #ruby
[07:37:53] shevy: elomatreb probably just different layers of complexity
[07:37:57] shevy: like php versus haskell!
[07:38:45] shevy: I went, for the most part, from perl to php to ruby
[07:38:58] marr: has joined #ruby
[07:39:02] elomatreb: PHP to Ruby seems to be really common, I wonder why :)
[07:39:04] shevy: I'd probably say that back in ... 2001 or so, php was the simplest of these three
[07:39:40] shevy: I found PHP to be very lacking as a whole
[07:40:01] zacts: one thing I love is the Ruby community
[07:40:14] zacts: it's very welcoming, and also Ruby is well documented
[07:40:22] zacts: and not just syntax, but design and semantics too
[07:40:28] elomatreb: PHP, like javascript, is just not fun if you're used to the comfort of a well-designed standard library
[07:40:29] shevy: I remember that my first project in ruby was an IRC bot. It was my last project in PHP and I failed. In ruby, a few weeks and it was working, with a bit of help from others in how to get select() to work in ruby (it was both a bot and a client at the same time)
[07:40:30] zacts: I mean how to program ruby
[07:40:34] ghr: has joined #ruby
[07:40:50] shevy: dunno I still think the documentation in ruby is not very good
[07:41:03] shevy: but ruby as language is much prettier than both php and perl
[07:41:05] elomatreb: To be fair, Ruby has undergone a lot less change than PHP. Old PHP versions look nothing like what we write today
[07:41:07] zacts: Yeah, I'm referring to tutorial books, not to the Rubyspecs
[07:41:13] zacts: on how to program Ruby
[07:41:25] zacts: perldoc is probably nicer than the doc for the core language
[07:41:36] zacts: or at least more comprehensive?
[07:42:16] burgestrand: has joined #ruby
[07:42:43] elomatreb: Both Perl and Ruby have to be very well documented, simply because the "there is more than one way to do it"-pattern would cause chaos otherwise
[07:43:12] shevy: that's a fair point, more complexity requires more explanation
[07:43:25] shevy: have you seen those haskell monad tutorials
[07:43:50] alfiemax: has joined #ruby
[07:44:24] elomatreb: Java would be a good example. You can usually work with third-party code without opening a documentation website, because the language limitations combined with a few doc comments explain everything
[07:47:57] zacts: ok laters
[07:52:29] Alina-malina: has joined #ruby
[07:52:40] bkxd: has joined #ruby
[07:52:57] Alina-malina: has joined #ruby
[07:53:27] Alina-malina: has left #ruby: ()
[07:53:52] flughafen_: has joined #ruby
[07:54:41] symm-: has joined #ruby
[07:55:05] ghr: has joined #ruby
[07:55:39] armyriad: has joined #ruby
[07:55:43] daumie: has joined #ruby
[07:57:35] spyder55: has joined #ruby
[07:59:07] blackmesa: has joined #ruby
[08:05:35] ghr: has joined #ruby
[08:07:52] Me_Engine: has joined #ruby
[08:11:05] jottr: has joined #ruby
[08:15:06] ghr: has joined #ruby
[08:16:04] yardenbar: has joined #ruby
[08:16:25] charliesome: has joined #ruby
[08:18:19] niceperl: has joined #ruby
[08:19:13] zacts: has joined #ruby
[08:26:39] kent\n: has joined #ruby
[08:26:39] kent\n: has joined #ruby
[08:27:21] Tempesta: has joined #ruby
[08:30:36] ghr: has joined #ruby
[08:32:06] Xeago_: has joined #ruby
[08:34:59] fujinuma: has joined #ruby
[08:36:04] codecop: has joined #ruby
[08:36:41] finnnnnnnnnnn: has joined #ruby
[08:38:08] fujinuma: has joined #ruby
[08:42:37] ghr: has joined #ruby
[08:44:08] Tachikomas: has joined #ruby
[08:45:37] ur5us: has joined #ruby
[08:51:13] arlek: has joined #ruby
[08:52:00] craigp_: has joined #ruby
[08:52:10] futilegames: has joined #ruby
[08:53:45] spectra: has joined #ruby
[08:53:45] Davey: has joined #ruby
[08:53:45] hadronzoo: has joined #ruby
[08:53:59] dtzuzu: has joined #ruby
[08:53:59] antgel: has joined #ruby
[08:53:59] 1JTAAM584: has joined #ruby
[08:54:00] The_Phoenix: has joined #ruby
[08:54:00] lxsameer: has joined #ruby
[08:54:00] yfeldblum: has joined #ruby
[08:54:00] postmodern: has joined #ruby
[08:54:00] crdpink: has joined #ruby
[08:54:00] Azure: has joined #ruby
[08:54:00] banisterfiend: has joined #ruby
[08:54:00] jrafanie: has joined #ruby
[08:54:00] GinoMan2440: has joined #ruby
[08:54:00] zeroDi: has joined #ruby
[08:54:00] fschuindt1: has joined #ruby
[08:54:00] sarbs: has joined #ruby
[08:54:00] paultreny: has joined #ruby
[08:54:00] duoi: has joined #ruby
[08:54:00] axisys: has joined #ruby
[08:54:00] MuffinPimp: has joined #ruby
[08:54:00] Scient: has joined #ruby
[08:54:00] tw1sted: has joined #ruby
[08:54:00] svkurowski: has joined #ruby
[08:54:00] j2k: has joined #ruby
[08:54:00] wsmoak: has joined #ruby
[08:54:00] c355E3B: has joined #ruby
[08:54:00] Liothen: has joined #ruby
[08:54:00] jokke: has joined #ruby
[08:54:00] Sylario: has joined #ruby
[08:54:00] baweaver: has joined #ruby
[08:54:01] unforgiven512: has joined #ruby
[08:54:01] Ikri: has joined #ruby
[08:54:01] Miron: has joined #ruby
[08:54:01] meinside: has joined #ruby
[08:54:01] demophoon: has joined #ruby
[08:54:01] freeze: has joined #ruby
[08:54:01] fumck: has joined #ruby
[08:54:01] zapata: has joined #ruby
[08:54:01] steve: has joined #ruby
[08:54:01] Arcaire: has joined #ruby
[08:54:01] deepak_: has joined #ruby
[08:54:01] danzilio: has joined #ruby
[08:54:01] zzak___: has joined #ruby
[08:54:01] tfitts: has joined #ruby
[08:54:01] chrismytton: has joined #ruby
[08:54:01] chris2: has joined #ruby
[08:54:01] catbusters: has joined #ruby
[08:54:02] Guest92364: has joined #ruby
[08:54:02] tobiasvl: has joined #ruby
[08:54:02] NightMonkey: has joined #ruby
[08:54:02] Guest83412: has joined #ruby
[08:54:02] kitallis: has joined #ruby
[08:54:02] zenspider: has joined #ruby
[08:54:02] ndrst: has joined #ruby
[08:54:02] Meeh_: has joined #ruby
[08:54:02] Kruppe: has joined #ruby
[08:54:02] surrounder: has joined #ruby
[08:54:02] csmb_: has joined #ruby
[08:54:02] spastorino: has joined #ruby
[08:54:02] cbetta: has joined #ruby
[08:54:02] Seich: has joined #ruby
[08:54:02] codex: has joined #ruby
[08:54:02] m4rCsi: has joined #ruby
[08:54:02] Ariadeno: has joined #ruby
[08:54:02] swistak35: has joined #ruby
[08:54:02] znz_jp: has joined #ruby
[08:54:02] saneax: has joined #ruby
[08:54:02] borkdude: has joined #ruby
[08:54:02] Guest80745: has joined #ruby
[08:54:03] SenpaiSilver: has joined #ruby
[08:54:03] jinie_: has joined #ruby
[08:54:03] vikid: has joined #ruby
[08:54:03] Hates_: has joined #ruby
[08:54:03] twe4ked: has joined #ruby
[08:54:03] nyandoge: has joined #ruby
[08:54:03] olivierjanss: has joined #ruby
[08:54:03] braderhart: has joined #ruby
[08:54:03] deeprave: has joined #ruby
[08:54:03] bove: has joined #ruby
[08:54:03] dmnd: has joined #ruby
[08:54:03] pmarreck: has joined #ruby
[08:54:03] Majost: has joined #ruby
[08:54:03] cardoni: has joined #ruby
[08:54:03] tpendragon: has joined #ruby
[08:54:03] Y_Ichiro: has joined #ruby
[08:54:03] ged: has joined #ruby
[08:54:03] cschneid: has joined #ruby
[08:54:03] SegFaultAX: has joined #ruby
[08:54:03] hostess: has joined #ruby
[08:54:03] edev: has joined #ruby
[08:54:03] Junaos: has joined #ruby
[08:54:03] jpterry: has joined #ruby
[08:54:03] bodie_: has joined #ruby
[08:54:03] chrisseaton: has joined #ruby
[08:54:03] ramblinpeck: has joined #ruby
[08:54:03] rcs: has joined #ruby
[08:54:03] yasu___: has joined #ruby
[08:54:03] biox: has joined #ruby
[08:54:03] ytti: has joined #ruby
[08:54:04] atom3: has joined #ruby
[08:54:04] low-profile: has joined #ruby
[08:54:04] irick: has joined #ruby
[08:54:04] Zarthus: has joined #ruby
[08:54:04] rgs: has joined #ruby
[08:54:04] tcrypt: has joined #ruby
[08:54:04] ijij: has joined #ruby
[08:54:04] unsymbol: has joined #ruby
[08:54:04] sindork: has joined #ruby
[08:54:04] jtoy: has joined #ruby
[08:54:04] atmosx: has joined #ruby
[08:54:04] alem0lars: has joined #ruby
[08:54:04] Klumben: has joined #ruby
[08:54:04] Koshian_: has joined #ruby
[08:54:04] iko1: has joined #ruby
[08:54:04] inukshuk: has joined #ruby
[08:54:04] ammar_: has joined #ruby
[08:54:04] jericon: has joined #ruby
[08:54:04] LinuxHippie: has joined #ruby
[08:54:04] Darkwater: has joined #ruby
[08:54:04] Fraeon: has joined #ruby
[08:54:04] codepete: has joined #ruby
[08:54:04] zero7: has joined #ruby
[08:54:04] mitsuhiko: has joined #ruby
[08:54:05] jimeh: has joined #ruby
[08:54:05] ELCALOR: has joined #ruby
[08:54:05] shelling__: has joined #ruby
[08:54:05] flyinprogrammer: has joined #ruby
[08:54:05] alxndr: has joined #ruby
[08:54:05] jabreity: has joined #ruby
[08:54:05] cstrahan: has joined #ruby
[08:54:05] andywojo: has joined #ruby
[08:54:05] manveru: has joined #ruby
[08:54:05] lipoqil: has joined #ruby
[08:54:05] mjc_: has joined #ruby
[08:54:05] CrazyEddy: has joined #ruby
[08:54:05] blackjid: has joined #ruby
[08:54:05] r4z3r: has joined #ruby
[08:54:05] zz_barkerd427: has joined #ruby
[08:54:09] multi_io: has joined #ruby
[08:54:09] the_drow: has joined #ruby
[08:54:09] M-mistake: has joined #ruby
[08:54:09] hosttor: has joined #ruby
[08:54:09] triangles: has joined #ruby
[08:54:09] yonatankoren: has joined #ruby
[08:54:09] Guest32874: has joined #ruby
[08:54:09] heinrich5991: has joined #ruby
[08:54:09] quakephil: has joined #ruby
[08:54:09] Dry_Lips: has joined #ruby
[08:54:10] cfillion: has joined #ruby
[08:54:10] aries_liuxueyang: has joined #ruby
[08:54:10] Flipez: has joined #ruby
[08:54:10] juanfra: has joined #ruby
[08:54:10] Zackio: has joined #ruby
[08:54:10] erlend: has joined #ruby
[08:54:10] sunya7a_: has joined #ruby
[08:54:10] Log1x_: has joined #ruby
[08:54:10] daemoen_: has joined #ruby
[08:54:10] Emmanuel_Chanel: has joined #ruby
[08:54:10] dn`: has joined #ruby
[08:54:10] Antiarc1: has joined #ruby
[08:54:10] Sthebig: has joined #ruby
[08:54:10] KrzaQ: has joined #ruby
[08:54:10] pabs: has joined #ruby
[08:54:10] jgw: has joined #ruby
[08:54:10] mgorbach: has joined #ruby
[08:54:10] kbni: has joined #ruby
[08:54:10] awk: has joined #ruby
[08:54:10] wjimenez5271: has joined #ruby
[08:54:10] Cyrus: has joined #ruby
[08:54:10] callumacrae: has joined #ruby
[08:54:10] tjvc: has joined #ruby
[08:54:10] Kamilion: has joined #ruby
[08:54:11] constantinexvi: has joined #ruby
[08:54:11] martinbjeldbak_: has joined #ruby
[08:54:11] ltd_: has joined #ruby
[08:54:11] nickjj: has joined #ruby
[08:54:11] BiHi: has joined #ruby
[08:54:11] gnarf: has joined #ruby
[08:54:11] ptx0: has joined #ruby
[08:54:11] Prira: has joined #ruby
[08:54:11] angelixd_: has joined #ruby
[08:54:11] uranellus: has joined #ruby
[08:54:11] yxhuvud: has joined #ruby
[08:54:11] programmerq: has joined #ruby
[08:54:28] unforgiven512: has joined #ruby
[08:54:44] multi_io: has joined #ruby
[08:54:45] KrzaQ: has joined #ruby
[08:54:52] ptx0: has joined #ruby
[08:55:07] ghr: has joined #ruby
[08:55:26] braderhart: has joined #ruby
[08:56:05] blackmesa: has joined #ruby
[08:56:09] programm1: has joined #ruby
[08:56:20] Pupeno: has joined #ruby
[08:57:19] coffeecupp: has joined #ruby
[08:57:52] pfg: has joined #ruby
[08:58:19] hosttor: has joined #ruby
[08:58:22] edwinvdgraaf: has joined #ruby
[08:59:00] moei: has joined #ruby
[08:59:14] kevr: has joined #ruby
[09:01:07] nankyokusei: has joined #ruby
[09:02:03] futilegames: has joined #ruby
[09:03:15] tmtwd: has joined #ruby
[09:07:43] futilegames: has joined #ruby
[09:08:16] flughafen_: has joined #ruby
[09:08:38] ghr: has joined #ruby
[09:10:35] flashpoint9: has joined #ruby
[09:11:51] jottr: has joined #ruby
[09:12:12] futilegames: has joined #ruby
[09:12:42] pawnbox: has joined #ruby
[09:13:46] M4dH4TT3r: has joined #ruby
[09:17:37] blackmesa: has joined #ruby
[09:18:42] ghr: has joined #ruby
[09:21:31] barajasfab: has joined #ruby
[09:21:32] LoneHermit: has joined #ruby
[09:27:07] ecnalyr: has joined #ruby
[09:27:20] shinnya: has joined #ruby
[09:28:09] ghr: has joined #ruby
[09:28:35] shevy: I still struggle with rewrites
[09:28:54] shevy: I should avoid them but I don't know of another way to clean up things while expanding eventually
[09:28:57] jottr: has joined #ruby
[09:31:32] deeprave: has left #ruby: ()
[09:32:43] Guest27170: has joined #ruby
[09:32:44] harfangk: has joined #ruby
[09:35:49] malleable: has joined #ruby
[09:38:10] ghr: has joined #ruby
[09:40:09] flughafen_: has joined #ruby
[09:40:57] MrBusiness3: has joined #ruby
[09:42:17] Zarthus: shevy: Rewriting code? Blasphemy.
[09:42:34] Zarthus: If my SLOC is not increasing I am doing a bad job!
[09:44:30] tvw: has joined #ruby
[09:47:20] execat: has joined #ruby
[09:47:41] ghr: has joined #ruby
[09:49:45] karapetyan: has joined #ruby
[09:52:44] craigp_: has joined #ruby
[09:53:04] spyder55: has joined #ruby
[09:56:32] coffeecupp: has joined #ruby
[09:57:11] ghr: has joined #ruby
[09:58:06] Madplatypus: has joined #ruby
[09:58:13] A_Drone: has joined #ruby
[10:01:21] karapetyan: has joined #ruby
[10:01:32] blackmesa: has joined #ruby
[10:02:47] r3klm: has joined #ruby
[10:05:07] jottr: has joined #ruby
[10:06:04] chip_: has joined #ruby
[10:07:23] QORRiE: has joined #ruby
[10:07:42] ghr: has joined #ruby
[10:08:47] macsteps: has joined #ruby
[10:09:06] A_Drone: has joined #ruby
[10:09:13] nettoweb: has joined #ruby
[10:11:56] SCHAAP137: has joined #ruby
[10:12:23] t-ask: has joined #ruby
[10:13:30] c0mrad3: has joined #ruby
[10:14:51] ponga: has joined #ruby
[10:15:01] leea: has joined #ruby
[10:16:15] Sashimi: has joined #ruby
[10:16:22] t-ask: HI, I'm about to install a webapp written in ruby. Whats the recommended way of installing ruby written webapps? I have several domains, running on one server with one webserver running under a specific groupr 'httpd' eg. Now, do I create a new user for each ruby app and add them to the 'httpd' grpoup? Not sure, whats the best way to manage this
[10:17:12] ghr: has joined #ruby
[10:17:56] harfangk: has joined #ruby
[10:18:14] toretore: has joined #ruby
[10:19:23] ur5us: has joined #ruby
[10:22:08] LoneHerm_: has joined #ruby
[10:24:04] Guest27170: has joined #ruby
[10:29:43] ghr: has joined #ruby
[10:29:51] conta: has joined #ruby
[10:33:03] Jet4Fire: has joined #ruby
[10:33:58] jottr: has joined #ruby
[10:34:37] Xeago_: has joined #ruby
[10:35:14] daumie: has joined #ruby
[10:38:36] nankyokusei: has joined #ruby
[10:39:15] Mimorial: has joined #ruby
[10:43:23] Xiti: has joined #ruby
[10:44:44] ghr: has joined #ruby
[10:46:01] jottr: has joined #ruby
[10:47:07] blackmesa: has joined #ruby
[10:48:23] A_Drone: has joined #ruby
[10:52:17] jottr: has joined #ruby
[10:53:33] craigp_: has joined #ruby
[10:54:15] ghr: has joined #ruby
[10:59:26] JeanCarloMachado: has joined #ruby
[10:59:54] jottr: has joined #ruby
[11:02:10] Pupeno: has joined #ruby
[11:03:39] ffgghhj: has joined #ruby
[11:04:15] ghr: has joined #ruby
[11:05:15] johnmilton: has joined #ruby
[11:05:17] QORRiE: has joined #ruby
[11:07:15] Pupeno: has joined #ruby
[11:09:23] QORRiE: has joined #ruby
[11:09:53] Xeago_: has joined #ruby
[11:11:56] QORRiE: has joined #ruby
[11:12:12] webus: has joined #ruby
[11:13:04] conta: has joined #ruby
[11:13:20] flughafen_: has joined #ruby
[11:13:56] JeanCarloMachado: has joined #ruby
[11:14:46] ghr: has joined #ruby
[11:21:45] jottr: has joined #ruby
[11:23:30] renegadegaru: has joined #ruby
[11:24:16] ghr: has joined #ruby
[11:25:05] max1: has joined #ruby
[11:26:21] pawnbox: has joined #ruby
[11:33:40] Tachikomas: has joined #ruby
[11:34:23] AngryBuzzy: has joined #ruby
[11:34:47] ghr: has joined #ruby
[11:35:02] execat: has joined #ruby
[11:35:54] GinoMan2440_: has joined #ruby
[11:35:55] finnnnnnnnnnn: has joined #ruby
[11:38:25] Rodya_: has joined #ruby
[11:43:00] Tachikomas: has joined #ruby
[11:44:10] Hanmac: has joined #ruby
[11:45:17] ghr: has joined #ruby
[11:50:02] blackmesa: has joined #ruby
[11:51:21] antgel: has joined #ruby
[11:54:19] craigp_: has joined #ruby
[11:54:48] ghr: has joined #ruby
[11:56:25] Dimik--: has joined #ruby
[11:59:01] sepp2k: has joined #ruby
[12:01:49] johnmilton: has joined #ruby
[12:04:19] ghr: has joined #ruby
[12:05:04] benlieb: has joined #ruby
[12:05:50] nanoz: has joined #ruby
[12:08:39] CausaMortis: has joined #ruby
[12:15:49] ghr: has joined #ruby
[12:16:24] blackmesa: has joined #ruby
[12:17:13] blackgoat: has joined #ruby
[12:18:48] skade: has joined #ruby
[12:21:40] hosttor: has joined #ruby
[12:22:01] Nahra: has joined #ruby
[12:22:18] sdothum: has joined #ruby
[12:22:30] jottr: has joined #ruby
[12:22:52] binaryplease: has joined #ruby
[12:27:28] daumie: has joined #ruby
[12:28:20] ghr: has joined #ruby
[12:29:23] blackmesa: has joined #ruby
[12:29:32] execat: has joined #ruby
[12:29:56] tedwards: has joined #ruby
[12:31:27] LoneHerm_: has joined #ruby
[12:34:06] allcentury: has joined #ruby
[12:35:33] ramfjord_: has joined #ruby
[12:37:34] Pupeno: has joined #ruby
[12:38:16] Guest50168: has joined #ruby
[12:38:49] maloik: has joined #ruby
[12:39:41] nankyokusei: has joined #ruby
[12:40:43] kirun: has joined #ruby
[12:40:57] SCHAAP137: has joined #ruby
[12:41:37] skade: has joined #ruby
[12:43:21] ghr: has joined #ruby
[12:44:05] A_Drone: has joined #ruby
[12:45:58] A_Drone_: has joined #ruby
[12:48:17] john: has joined #ruby
[12:49:49] pilne: has joined #ruby
[12:50:50] johnernaut: has joined #ruby
[12:51:57] last_staff: has joined #ruby
[12:52:05] pawnbox: has joined #ruby
[12:53:03] nando293921: has joined #ruby
[12:53:10] The_Phoenix: has joined #ruby
[12:53:16] AngryBuzzy: has joined #ruby
[12:54:05] burgestrand: has joined #ruby
[12:54:30] daumie: has joined #ruby
[12:55:21] ghr: has joined #ruby
[12:55:23] A_Drone: has joined #ruby
[12:56:19] craigp_: has joined #ruby
[12:56:20] nankyokusei: has joined #ruby
[12:57:35] nando293921: has joined #ruby
[13:03:55] ecnalyr: has joined #ruby
[13:04:25] ElFerna: has joined #ruby
[13:04:57] A_Drone: has joined #ruby
[13:04:59] Ebok: has joined #ruby
[13:06:52] ghr: has joined #ruby
[13:12:43] freerobby: has joined #ruby
[13:15:24] arlek_: has joined #ruby
[13:16:23] ghr: has joined #ruby
[13:17:17] hutch34: has joined #ruby
[13:18:41] roamingdog: has joined #ruby
[13:19:26] flughafen_: has joined #ruby
[13:19:45] pawnbox: has joined #ruby
[13:23:11] A_Drone: has joined #ruby
[13:23:15] jottr: has joined #ruby
[13:23:40] execat: has joined #ruby
[13:24:48] diegoviola: has joined #ruby
[13:25:31] futilegames: has joined #ruby
[13:25:55] hutch34: has joined #ruby
[13:26:21] vuoto: has joined #ruby
[13:26:53] ghr: has joined #ruby
[13:30:31] edwinvdg_: has joined #ruby
[13:32:26] LoneHermit: has joined #ruby
[13:32:54] flashpoint9: has joined #ruby
[13:35:28] elementaru: has joined #ruby
[13:36:54] ghr: has joined #ruby
[13:40:21] FreeTable: has joined #ruby
[13:40:26] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:26] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:27] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:27] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:27] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:28] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:28] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:29] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:29] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:30] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:31] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:31] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:31] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:32] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:32] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:33] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:44] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:45] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:45] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:45] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:47] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:47] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:49] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:49] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:50] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:51] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:53] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:54] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:54] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:55] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:55] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:55] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:40:57] FreeTable: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org w
[13:41:04] blackmesa: has joined #ruby
[13:44:04] ElFerna: has joined #ruby
[13:46:54] ghr: has joined #ruby
[13:47:44] pontiki: has joined #ruby
[13:48:50] pilne: fuck's sake
[13:56:57] ghr: has joined #ruby
[13:57:02] craigp_: has joined #ruby
[13:58:47] pawnbox: has joined #ruby
[13:59:03] Regulati_: has joined #ruby
[14:02:04] Tachikomas: has joined #ruby
[14:05:13] AngryBuzzy: has joined #ruby
[14:06:13] mistermocha: has joined #ruby
[14:06:56] ghr: has joined #ruby
[14:07:00] A_Drone: has joined #ruby
[14:09:19] flughafen_: has joined #ruby
[14:10:43] chipotle: has joined #ruby
[14:11:55] chipotle: has joined #ruby
[14:13:56] mistermocha: has joined #ruby
[14:15:04] bkxd_: has joined #ruby
[14:15:09] craigp_: has joined #ruby
[14:16:27] hutch34: has joined #ruby
[14:16:56] mistermocha: has joined #ruby
[14:17:46] execat: has joined #ruby
[14:17:53] Xeago_: has joined #ruby
[14:21:02] macsteps: has joined #ruby
[14:21:26] ghr: has joined #ruby
[14:23:14] arlek_: has joined #ruby
[14:25:18] jottr: has joined #ruby
[14:31:27] ghr: has joined #ruby
[14:36:15] pawnbox: has joined #ruby
[14:40:57] ghr: has joined #ruby
[14:41:30] spider-mario: has joined #ruby
[14:41:31] spyder55: has joined #ruby
[14:41:34] smathy: has joined #ruby
[14:42:10] blackmesa: has joined #ruby
[14:42:21] Xentil: has joined #ruby
[14:43:32] Jackneill: has joined #ruby
[14:45:19] alfiemax: has joined #ruby
[14:45:32] Xentil: has joined #ruby
[14:45:59] JeremyC_: has joined #ruby
[14:46:55] JeremyC_: Greetings! Anyone available for a question?
[14:47:17] dtzuzu: has joined #ruby
[14:50:06] JeremyC_: has left #ruby: ()
[14:50:45] freerobby1: has joined #ruby
[14:50:45] bkxd: has joined #ruby
[14:50:47] macsteps: has joined #ruby
[14:51:07] jazzonmymind`: has joined #ruby
[14:51:23] Tachikomas: has joined #ruby
[14:52:05] ChrisWilding: has joined #ruby
[14:52:20] ecnalyr: has joined #ruby
[14:54:05] rdark: has joined #ruby
[14:54:38] funrep: hi, what should i call a controller in rails that just handles a single page?
[14:54:58] funrep: maybe just static_page
[14:55:39] pmden: has joined #ruby
[14:56:31] wspider: has joined #ruby
[14:57:02] wspider: I used rbenv to install ruby and it went succesfully ( apparently ), except that either rbenv nor ruby are on the command path
[14:57:12] nankyokusei: has joined #ruby
[14:57:28] wspider: any hint on how to fix this :\ ?, I mean I could add the folders to the path but am not sure if that's the right approach
[14:57:28] ghr: has joined #ruby
[14:58:44] Xeago_: has joined #ruby
[14:58:52] rikkipitt: has joined #ruby
[15:01:07] zeroDi: has joined #ruby
[15:05:03] pawnbox_: has joined #ruby
[15:06:18] wspider: already fixed it, a reboot was needed for .bash_profile to take effect
[15:06:27] Nanuq: has joined #ruby
[15:06:44] shazaum: has joined #ruby
[15:06:59] ghr: has joined #ruby
[15:09:44] conta: has joined #ruby
[15:11:07] Tachikomas: has joined #ruby
[15:11:52] Tachikomas: has joined #ruby
[15:12:12] execat: has joined #ruby
[15:12:24] pontiki: funrep: that's what i usually do: StaticPagesController
[15:12:37] Tachikomas: has joined #ruby
[15:13:22] Tachikomas: has joined #ruby
[15:14:07] Tachikomas: has joined #ruby
[15:14:52] Tachikomas: has joined #ruby
[15:15:37] Tachikomas: has joined #ruby
[15:16:59] ghr: has joined #ruby
[15:18:24] aryaching: has joined #ruby
[15:19:17] allcentury: has joined #ruby
[15:22:26] Guest27170: has joined #ruby
[15:24:53] SilverKey: has joined #ruby
[15:25:13] blackmesa: has joined #ruby
[15:26:03] jottr: has joined #ruby
[15:26:30] ghr: has joined #ruby
[15:28:08] agit0: has joined #ruby
[15:29:06] hogetaro: has joined #ruby
[15:29:22] roamingdog: has joined #ruby
[15:30:23] alfiemax: has joined #ruby
[15:31:04] hosttor: has joined #ruby
[15:32:09] Tachikomas: has joined #ruby
[15:32:12] yadobujo: has joined #ruby
[15:33:23] Tachikomas: has joined #ruby
[15:33:31] LoneHermit: has joined #ruby
[15:36:43] flughafen_: has joined #ruby
[15:36:57] David27: has joined #ruby
[15:38:59] naftilos76: has joined #ruby
[15:39:36] ghr: has joined #ruby
[15:39:47] Mon_Ouie: has joined #ruby
[15:40:29] Tachikomas: has joined #ruby
[15:40:35] hk238: has joined #ruby
[15:40:45] shinnya: has joined #ruby
[15:43:38] hk238: hmm how do I match a whitespace character ?
[15:44:14] pontiki: hk238: in a regexp?
[15:44:26] hk238: or more specifically I'm editing a sublime syntax definitions file, and I'm trying to match a whitespace, problem is if I do `\ ` backslash and whitespace, then the file doesnt work, and if I do `\s` then it matches all whitespaces I think
[15:44:33] karapetyan: has joined #ruby
[15:44:45] elomatreb: just a space matches a space, unless you set the x modifier
[15:44:48] hk238: pontiki how would I do it with regexp? :o
[15:44:55] pontiki: oh, you're not talking about ruby
[15:45:12] elomatreb: If you're using backslashes, are you sure you're not using regular expressions?
[15:45:22] hk238: it's a ruby regexp, but for some reaso nin thisthing it doesnt work if it ends in a space, so it's problematic
[15:45:33] hk238: (or at least it's claiming to be ruby)
[15:45:37] pontiki: sublime text doesn't use ruby
[15:45:46] elomatreb: ST usually is Python
[15:46:24] hk238: https://www.sublimetext.com/docs/3/syntax.html
[15:46:27] hk238: it says here it's ruby though
[15:46:57] elomatreb: that's interesting
[15:47:01] hk238: on the off chance that it actually is ruby,
[15:47:27] elomatreb: But "simple" regular expressions are usually the same across languages, as they're all inspired by Perl
[15:47:29] hk238: if for some reason sublime wouldnt process a match correctly when it ends in a `\ ` that is a backslash, and a literal space, how would I match whitespace differently?
[15:48:09] elomatreb: Have you escaped your backslash in the regex?
[15:48:23] mistermocha: has joined #ruby
[15:48:55] mistermocha: has joined #ruby
[15:49:22] hk238: alright thanks, i didnt realize I have to escape it
[15:49:28] dgynn: has joined #ruby
[15:49:54] hk238: it seems to work now, well, the at least there's no error, the syntax definition doesnt work, but I think that's not about the regular expression so it should be a different issue..
[15:49:57] pLaToOn: has joined #ruby
[15:50:01] ghr: has joined #ruby
[15:51:38] hk238: actually it is a problem with it, there's no error once escaping the backslash, but it's not matching the whitespace
[15:51:51] pontiki: i wonder who owns that doc. the link where it says Ruby looks pretty funky
[15:51:54] hk238: I mean I tried it with `\s` and it matches a whitespace
[15:52:08] pontiki: \s matches any sort of whitespace
[15:52:16] hk238: yeah that's the problem :d
[15:52:22] daumie: has joined #ruby
[15:52:28] hk238: or I assumed it would be a problem so I didnt try that
[15:52:36] pontiki: if you only want it to match "space", don't say "whitespace"
[15:53:00] elomatreb: If you just want to match the regular space, a regular space should work. Unless you ended up with some weird unicode space in your data or regex?
[15:53:24] hk238: oh well, that didnt even occur to me
[15:53:36] hk238: I mean I tried backslash space, but not jus tspace
[15:53:40] rikkipitt: has joined #ruby
[15:53:51] pontiki: this is a YAML file?
[15:54:11] pontiki: surround it in single quotes, or it will be stripped
[15:54:54] TinkerTyper: has joined #ruby
[15:55:14] hk238: hey thanks that works
[15:55:17] Ebok: has joined #ruby
[15:57:34] lxsameer: has joined #ruby
[15:58:04] macsteps: has joined #ruby
[15:58:45] flashpoint9: has joined #ruby
[16:00:02] ghr: has joined #ruby
[16:01:16] tossus: has joined #ruby
[16:02:55] asianMike: has joined #ruby
[16:03:32] agentmeerkat: has joined #ruby
[16:03:52] dionysus69: has joined #ruby
[16:05:25] sqnguyen: has joined #ruby
[16:05:58] pawnbox: has joined #ruby
[16:06:12] snguyen: has joined #ruby
[16:06:20] pawnbox: has joined #ruby
[16:06:32] spacemud: has joined #ruby
[16:06:44] execat: has joined #ruby
[16:07:12] rikkipitt: has joined #ruby
[16:07:21] nykona: has joined #ruby
[16:08:33] finnnnnnnnnnn: has joined #ruby
[16:09:00] daumie: has joined #ruby
[16:09:32] ghr: has joined #ruby
[16:11:04] craigp_: has joined #ruby
[16:13:35] brianpWins: has joined #ruby
[16:13:35] daumie: has joined #ruby
[16:13:49] mattwashere: has joined #ruby
[16:18:42] toretore: has joined #ruby
[16:19:03] ghr: has joined #ruby
[16:26:46] yqt: has joined #ruby
[16:26:47] jottr: has joined #ruby
[16:28:34] ghr: has joined #ruby
[16:29:00] sepp2k: has joined #ruby
[16:30:14] mistermocha: has joined #ruby
[16:32:35] vuoto: has joined #ruby
[16:33:26] roamingdog: has joined #ruby
[16:33:44] Guest54890: has joined #ruby
[16:35:44] karapetyan: has joined #ruby
[16:36:32] LoneHerm_: has joined #ruby
[16:40:10] craigp_: has joined #ruby
[16:40:11] execat: has joined #ruby
[16:40:28] xlegoman: has joined #ruby
[16:41:04] ghr: has joined #ruby
[16:41:52] rikkipitt: has joined #ruby
[16:46:45] marr: has joined #ruby
[16:48:53] DoubleMalt: has joined #ruby
[16:51:07] ghr: has joined #ruby
[16:51:23] miqlas-H: has joined #ruby
[16:51:30] BTRE: has joined #ruby
[16:52:29] nadir: has joined #ruby
[16:54:36] akira616: has joined #ruby
[16:54:48] nankyokusei: has joined #ruby
[16:55:36] GinoMan2440: has joined #ruby
[16:55:52] pard: has joined #ruby
[16:56:07] pard: there :)
[16:56:31] dikaio: has joined #ruby
[16:56:36] pard: is there any nich for writing a ruby parser in javascript?
[16:57:29] pontiki: such things probably wouldn't be known until it existed, pard :)
[16:57:39] macsteps: has joined #ruby
[16:58:16] pard: pontiki, i've set out to create a parser for ruby in the same way esprima is for javascript
[16:58:32] pard: but it is going to be somewhat more demanding
[16:58:34] pontiki: there's currently a transpiler project that converts ruby to javascript (opals), but if ruby could be parsed in the browser, that might pique someone's interest
[16:58:58] pard: pontiki, thanks
[16:59:08] pard: so would it be worth the effort?
[16:59:08] pontiki: like, DO EET MAAAHHNN!!
[16:59:12] pontiki: see what happens :)
[16:59:34] spyder55: has joined #ruby
[16:59:35] pard: will it have any use cases anywhere?
[16:59:54] elomatreb: I see it now: In 3 years, every browser will run Ruby using minified javascript
[17:00:18] pontiki: i mean, really, i have no idea; this is maybe onw of those things whose impact won't be felt until 2 years afterwards
[17:00:25] spyder55: has joined #ruby
[17:00:26] elomatreb: Also, there will be a spike in deaths caused by phones catching fire while browsing. Entirely unrelated
[17:00:28] pontiki: and ruby is running in every watch browser
[17:00:29] flashpoint9: has joined #ruby
[17:00:46] pontiki: lol elomatreb and i are on the same track here, somehow
[17:00:50] pard: won't it be of any use in, for example the code editors?
[17:00:53] A_Drone: has joined #ruby
[17:01:06] pontiki: i don't write editors
[17:01:18] pard: apolgies
[17:01:24] pard: *apologies
[17:01:29] elomatreb: In a code editors you likely don't need full AST parsers, just something that does syntax highlighting
[17:01:37] pontiki: i doubt emacs is going to start using a javascript ruby compiler :)
[17:01:45] agit0: has joined #ruby
[17:01:50] pontiki: just sayin'
[17:01:54] pard: elomatreb, thanks a lot
[17:02:06] pard: what about the code instrumentation side?
[17:02:40] pard: for javascript there's esprima
[17:02:44] elomatreb: There are tools that do static analysis for Ruby, but they're also written in Ruby
[17:02:59] akira616: has joined #ruby
[17:02:59] pard: thanks :)
[17:03:06] ghr: has joined #ruby
[17:03:32] pard: elomatreb, could i ask what/where they are? thanks :)
[17:03:51] JoshGlzBrk: has joined #ruby
[17:04:17] BillSussman: has joined #ruby
[17:04:24] elomatreb: rubocop (https://github.com/bbatsov/rubocop) is very common, but there are also less specific things like https://github.com/whitequark/parser
[17:04:35] pard: thanks :)
[17:04:57] solocshaw: has joined #ruby
[17:05:08] pard: i reckon an editor written by github runs on javascript (i can't remember what it was calld)
[17:05:09] pontiki: there's a bunch from the seattle ruby brigade
[17:05:14] codecop: has joined #ruby
[17:05:17] pard: will is be of any use in it?
[17:05:30] roamingdog: has joined #ruby
[17:05:48] elomatreb: github uses https://github.com/ajaxorg/ace as their web editor iirc
[17:05:57] agentmeerkat: has joined #ruby
[17:06:18] pontiki: pard, i'm wondering why you keep asking us that question
[17:06:28] pontiki: no, don't be sorry
[17:06:37] armando: has joined #ruby
[17:06:43] pontiki: i just want to know what it is you're really needing to know
[17:07:07] pard: i've built a parser for javascript and i've liked the experience so much i decided to take on a more challenging one
[17:07:25] pontiki: so what else do you need than that?
[17:07:33] elomatreb: "I've built a parser" "I've liked the experience"
[17:07:36] pard: i just wantd to make sure i'm not wasting my efforts :\
[17:07:41] elomatreb: First time hearing that
[17:07:43] pontiki: does it matter if it ever sees a use?
[17:07:48] pontiki: learning is never wated
[17:08:06] elomatreb: Esp. if you open source it, writing parsers is often considered a very important skill
[17:08:20] A_Drone: has joined #ruby
[17:08:38] rumia: has joined #ruby
[17:08:45] pard: the one i've written for the javascript-thing is actually on github
[17:09:11] pard: only that i no longer have time in abundance
[17:09:11] elomatreb: Projects like that look really good on applications for programming jobs
[17:09:16] Ebok: has joined #ruby
[17:10:13] pard: but it is very demanding :\ that's why i was after use cases before getting started
[17:10:46] karapetyan: has joined #ruby
[17:11:19] pontiki: if you were writing a more general thing, i'd say that's good, but a ruby parser implementing in javascript seems really a very concrete thing
[17:11:36] ramfjord: has joined #ruby
[17:11:37] elomatreb: I think you may be approaching this wrong. If you're doing this for fun in your free time, do it if you're having fun, and only as long as you're having fun
[17:11:55] pard: you are completely right
[17:12:20] pontiki: i'm really with elomatreb on this; i've never heard anyone say they have fun writing parsers
[17:12:27] pontiki: even the parser writers i know
[17:12:39] pontiki: if that is your thing, do it
[17:13:09] pard: pontiki, what if the parser is a _recursive descent_ ruby parser? :)
[17:13:10] elomatreb: Initially writing the parser may be fun, but patching it back together once you find the first bug is annoying
[17:14:22] pontiki: pard: i'm sorry, what if it is?
[17:15:06] pard: i mean all other parser that are made for ruby use parse.y directly, in a rather non-human friendly manner
[17:15:14] isberg: has joined #ruby
[17:15:16] pard: they do the job though :\
[17:15:35] elomatreb: You like ":\", don't you? :)
[17:15:39] pard: but i thought what i make might be more "intuitive", and easier to maintain
[17:15:51] pard: elomatreb, apologies
[17:16:12] pontiki: pard: then that would be cool
[17:16:22] pard: thanks :)
[17:16:38] pard: i'll get started soon then
[17:16:59] pard: could i count on your help for pushing it forward?
[17:17:25] swills_: has joined #ruby
[17:17:27] spudowiar: has joined #ruby
[17:17:36] pontiki: i mean, it depends on what it ends up being
[17:17:37] agentmeerkat: has joined #ruby
[17:17:53] pard: that is a catch22 thing :)
[17:17:56] pontiki: or maybe i don't know what you meant by pushing it forward
[17:18:06] tristanp: has joined #ruby
[17:18:22] Amnez777: has joined #ruby
[17:18:46] pard: pontiki, i'm adapting it to work with jruby AST, which i find somewhat more human-readable than s-expressions; that would be one case i can get help
[17:18:59] pard: i actually won't need coding at all
[17:19:26] pard: *it won't
[17:19:37] pontiki: somehow, that doesn't answer my question in any way i can figure out
[17:19:47] pard: something like the 'estree' for javascript
[17:20:19] pontiki: i don't know what you actually mean by "could i count on your help for pushing it forward?"
[17:21:07] pard: pontiki, apologies; i meant helping me in things like documenting a standart ast format for ruby, among other things actually
[17:21:15] pard: *standard
[17:21:30] pard: or testing it when it is done
[17:21:35] pontiki: ah, i don't think i could :/ i don't know that stuff well enough
[17:21:43] pard: thanks :)
[17:21:58] pard: jruby's AST is very straightforward
[17:22:09] pontiki: i'm also not interested in learning it :)
[17:22:17] pontiki: too many other things going on here
[17:22:25] pard: thanks :)
[17:22:38] pard: could i ask what they are?
[17:22:52] pard: (the hinderances)
[17:23:07] elomatreb: There are more than 3 people in this channel though, if you have a question there is a good chance someone can answer them
[17:23:07] pontiki: work, family, teaching, art
[17:23:25] pontiki: i don't consider any of those hinderances
[17:23:37] pard: can i use :\?
[17:24:44] pard: they are not actually
[17:24:50] pard: i meant no offense
[17:24:59] pontiki: none taken
[17:25:38] pard: could i give the link to the repository i'm documenting the ruby ast?
[17:26:14] pontiki: it might help people find your stuff to help with
[17:26:41] pard: https://github.com/icefapper/ruby-ast
[17:26:59] zapata: has joined #ruby
[17:27:19] pard: it would take a bit
[17:27:21] LoneHermit: has joined #ruby
[17:27:33] jottr: has joined #ruby
[17:27:42] pard: but i'd be glad to collaborate with others on this matter
[17:28:15] nankyokusei: has joined #ruby
[17:29:53] elomatreb: Does that link 404 for anybody else?
[17:30:19] pard: elomatreb, i just created it
[17:30:39] pard: will commit in 12hrs
[17:30:41] elomatreb: Maybe the cache needs some time?
[17:30:58] pard: i've created an empty repo
[17:31:09] pard: no commits
[17:31:16] pontiki: you've got this as a public repo: https://github.com/icefapper/rube
[17:31:45] zacts: has joined #ruby
[17:31:59] pontiki: none of you other public repos look like they'd apply to being a ruby parser
[17:32:20] pard: pontiki, actually, i left rube for jsRube
[17:32:54] pard: because i thought javascript would be easier to write parser for
[17:33:29] pard: no that much :\
[17:33:41] pontiki: anyway, you have no public ruby-ast repo
[17:33:54] pard: considering all the syntactic refinement rules and early errors
[17:33:56] agit0: has joined #ruby
[17:34:06] pard: please let me give it a check
[17:34:09] elomatreb: Mh, I could imagine that some of the syntactic sugar of Ruby (optional parentheses, fancy hash syntax, etc) might be kind of hard to catch with a parser
[17:34:35] pard: not actually
[17:35:01] Rodya_: has joined #ruby
[17:35:29] pard: ruby is not as "heuristic" as for example perl
[17:36:08] pard: it's indeed very easy to write a parser for once you have a gist on what i call the high-level details
[17:36:16] elomatreb: Heh, ok. Perl is even hard to read for a human :P
[17:36:44] pard: it's not even statically parseable (on occasions)
[17:37:37] ghr: has joined #ruby
[17:40:19] minimalism: has joined #ruby
[17:42:44] ma489: has joined #ruby
[17:42:44] mattwashere: has joined #ruby
[17:44:03] aasmith: has joined #ruby
[17:44:31] vuoto: has joined #ruby
[17:47:08] ghr: has joined #ruby
[17:47:25] craigp_: has joined #ruby
[17:48:11] amclain: has joined #ruby
[17:48:51] alfiemax: has joined #ruby
[17:53:13] vanvemden: has joined #ruby
[17:55:06] ifsp: has joined #ruby
[17:55:51] vanvemden: has joined #ruby
[17:56:53] yfeldblum: has joined #ruby
[17:59:08] ghr: has joined #ruby
[17:59:57] finnnnnnnnnnn: has joined #ruby
[18:02:45] jahrichie: has joined #ruby
[18:02:59] jahrichie: is there a rails channel?
[18:03:21] pontiki: jahrichie: ?rails
[18:03:31] pontiki: jahrichie: #rubyonrails
[18:03:39] jahrichie: rails wouldnt work for me
[18:03:44] jahrichie: rubyonrails has some peeps tho
[18:03:52] A124: has joined #ruby
[18:04:14] pontiki: jahrichie: #rubyonrails is official
[18:08:38] nando293921: has joined #ruby
[18:09:05] voodoofish4301: has joined #ruby
[18:09:14] ghr: has joined #ruby
[18:10:05] Sashimi: has joined #ruby
[18:10:36] JeanCarloMachado: has joined #ruby
[18:13:53] chris2: has joined #ruby
[18:14:02] skade: has joined #ruby
[18:15:28] smathy: has joined #ruby
[18:16:05] karapetyan: has joined #ruby
[18:18:27] Stazer: has joined #ruby
[18:19:37] mentok: has joined #ruby
[18:21:10] ghr: has joined #ruby
[18:25:16] allcentury: has joined #ruby
[18:25:52] al2o3-cr: has joined #ruby
[18:27:10] vuoto: has joined #ruby
[18:28:06] Amnez777: has joined #ruby
[18:28:19] jottr: has joined #ruby
[18:28:36] Dimik: has joined #ruby
[18:28:41] spyder55: has joined #ruby
[18:28:56] ecnalyr: has joined #ruby
[18:29:23] LoneHerm_: has joined #ruby
[18:29:41] vuoto: has joined #ruby
[18:29:58] AngryBuzzy: has joined #ruby
[18:30:40] ghr: has joined #ruby
[18:31:34] xcesariox: has joined #ruby
[18:33:35] Madplatypus: has joined #ruby
[18:35:06] pawnbox: has joined #ruby
[18:35:47] flashpoint9: has joined #ruby
[18:40:47] ghr: has joined #ruby
[18:44:59] Ebok: has joined #ruby
[18:45:11] bruce_lee: has joined #ruby
[18:46:08] macsteps: has joined #ruby
[18:48:20] akira616: has joined #ruby
[18:48:51] swills: has joined #ruby
[18:49:55] irregular: has joined #ruby
[18:49:56] hutch34: has joined #ruby
[18:50:07] shevy: you chopped off chars! :(
[18:52:44] shevy: "The HTML <rp> element is used to provide fall-back parenthesis for browsers non-supporting ruby annotations. Ruby annotations"
[18:52:48] shevy: ruby even has a tag!!!
[18:53:12] shevy: lol "like using Japanese furigana or Taiwainese bopomofo characters"
[18:53:23] shevy: bopomofo is that even a word?
[18:54:05] CausaMortis: has joined #ruby
[18:54:11] Guest27170: has joined #ruby
[18:54:34] yqt: has joined #ruby
[18:55:42] ghr: has joined #ruby
[18:56:58] karapetyan: has joined #ruby
[18:57:39] nofxx: has joined #ruby
[18:57:39] nofxx: has joined #ruby
[18:58:33] rikkipitt: has joined #ruby
[19:00:12] tjohnson: has joined #ruby
[19:00:59] zacts: has joined #ruby
[19:03:05] smathy: has joined #ruby
[19:04:31] Pupeno: has joined #ruby
[19:05:13] ghr: has joined #ruby
[19:08:16] roamingdog: has joined #ruby
[19:09:29] elementaru: has joined #ruby
[19:11:05] freerobby: has joined #ruby
[19:13:36] finnnnnnnnnnn: has joined #ruby
[19:14:43] ghr: has joined #ruby
[19:15:15] pykno-paron: has joined #ruby
[19:15:18] pykno-paron: great summer song ! https://www.youtube.com/watch?v=ysb3TZ-YrKU&feature=youtu.be
[19:16:02] craigp_: has joined #ruby
[19:16:48] solars: has joined #ruby
[19:18:20] stephan_: has joined #ruby
[19:19:01] xall: has joined #ruby
[19:21:07] tristanp: has joined #ruby
[19:21:22] mistermocha: has joined #ruby
[19:21:32] blaxter: has joined #ruby
[19:22:07] SilverKey: has joined #ruby
[19:22:14] Guest27170: has joined #ruby
[19:24:17] kent\n: has joined #ruby
[19:25:17] pawnbox: has joined #ruby
[19:26:20] ghr: has joined #ruby
[19:27:03] symm-: has joined #ruby
[19:29:02] nankyokusei: has joined #ruby
[19:29:05] jottr: has joined #ruby
[19:30:23] LoneHermit: has joined #ruby
[19:30:53] rikkipitt: has joined #ruby
[19:32:17] Guest21_: has joined #ruby
[19:32:33] agent_white: has joined #ruby
[19:33:47] tmtwd: has joined #ruby
[19:36:15] ghr: has joined #ruby
[19:37:11] craigp_: has joined #ruby
[19:37:59] allstar: has joined #ruby
[19:38:12] Coldblackice: has joined #ruby
[19:38:38] spyder55: has joined #ruby
[19:39:44] tubuliferous: has joined #ruby
[19:40:09] Xentil: has joined #ruby
[19:41:41] Rodya_: has joined #ruby
[19:43:45] skweek: has joined #ruby
[19:46:19] xlegoman: has joined #ruby
[19:46:49] futilegames: has joined #ruby
[19:47:45] travisxcode: has joined #ruby
[19:47:51] ghr: has joined #ruby
[19:48:21] hosttor: has joined #ruby
[19:48:49] yadobujo_: has joined #ruby
[19:49:45] edwinvdgraaf: has joined #ruby
[19:50:09] shinnya: has joined #ruby
[19:50:14] naftilos76: has joined #ruby
[19:50:35] conta: has joined #ruby
[19:51:44] travisxcode: First of all, let me start by saying that I am new to Ruby. I am working through Chris Pine's "Learn to Program" and am trying to write some code to get input from a user (their age, as an integer), and convert that to an approximate number of seconds. My output does not match up with what other converter programs online say it should be, and I cannot figure out why. Here is my source code: http://pastebin.com/34YF8GzH
[19:51:45] ruby[bot]: travisxcode: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/215dbc09769af1c606d709bd47a9ee33
[19:51:45] ruby[bot]: travisxcode: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[19:52:13] travisxcode: ruby[bot]: Thank you.
[19:53:03] flashpoint9: has joined #ruby
[19:54:41] bougyman: ugh, ruby 1.8
[19:54:47] bougyman: I forgot how shitty time handling was in it
[19:55:04] rikkipitt: has joined #ruby
[19:55:30] bougyman: DateTime.now.to_time - (DateTime.now.to_time - 10)
[19:55:30] bougyman: => 9.999955667
[19:55:35] bougyman: so easy in 2.x
[19:55:48] tristanp: has joined #ruby
[19:55:50] travisxcode: Actually, I am using Ruby version 2.2.4.
[19:55:52] Guest21_: has joined #ruby
[19:56:01] travisxcode: via RailsInstaller
[19:56:02] bougyman: there's no to_time 1.8 :(
[19:56:14] adaedra: bougyman: that sounds like an IEEE float problem
[19:56:17] hxegon: travisxcode: what are you expecting as output?
[19:56:17] mtkd: has joined #ruby
[19:56:19] adaedra: >> 0.1 + 0.2
[19:56:20] ruby[bot]: adaedra: # => 0.30000000000000004 (https://eval.in/603085)
[19:56:22] hxegon: and what do you get?
[19:56:25] bougyman: adaedra: it's not a problem
[19:56:37] bougyman: I called DateTime.now twice, it would be a little different
[19:56:47] bougyman: that's the expected, correct behavior
[19:56:50] adaedra: ah yes, that too.
[19:56:56] adaedra: ACTION is a bit tired
[19:57:00] bougyman: in ruby 1.8 i'm trying to get seconds between one DateTime and another.
[19:57:06] travisxcode: hxegon: I am expecting 662,695,992 Seconds (using 21 ase the age).
[19:57:10] bougyman: and it's no big deal, I wrote my own .to_time for 1.8 before
[19:57:16] hxegon: travisxcode: their age in seconds? (also on line 14 you don't have to do #to_s for age_in_years, because puts automatically calls #to_s on input)
[19:57:17] bougyman: it's just taht... I was trying it in a one-liner.
[19:57:23] bougyman: doesn't work so well, then.
[19:57:31] chipotle: has joined #ruby
[19:57:48] bougyman: puts "%0.6f" % (DateTime.now - DateTime.parse($_.split(" ", 2).last));end'
[19:58:00] bougyman: I guess that's fractions of a day?
[19:58:02] hxegon: travisxcode: and what do you get instead of that?
[19:58:08] CausaMortis: has joined #ruby
[19:58:13] travisxcode: hxegon: I end up with an output of 21212121212121 repeating, which crashes my terminal.
[19:59:13] hxegon: are you trying to multiply a string by a Fixnum on line 12?
[19:59:58] A_Drone: has joined #ruby
[20:00:07] travisxcode: hxegon: Ahhh! I think I need to convert 21 into an integer first.
[20:00:13] travisxcode: Let me test it.
[20:00:29] hxegon: yes, also, as a style note, I would say do that on line 9 rather than 12
[20:01:40] rikkipitt: has joined #ruby
[20:01:42] hxegon: so it was giving you the string "21" * seconds_in_year, which is...
[20:01:59] hxegon: >> 365 * 24 * 60 * 60
[20:02:00] ruby[bot]: hxegon: # => 31536000 (https://eval.in/603086)
[20:02:09] travisxcode: hxegon: That was my problem! Thank you! I'm looking forward to learning more about programming over the next...well, hopefully the rest of my life!
[20:02:52] hxegon: travisxcode: it's pretty interesting stuff. Pick up a copy of Practical Object Oriented Design in Ruby, when you get a chance
[20:03:21] travisxcode: hxegon: I will look into it next week when I get payed.
[20:03:47] macsteps: has joined #ruby
[20:03:48] travisxcode: I'm trying to get good enough to become a Ruby/RubyOnRails developer.
[20:03:56] travisxcode: I'm tired of doing manual labor.
[20:04:39] hxegon: Not a bad plan. There is a rails channel on IRC too, #RubyOnRails, if you have questions about that
[20:04:42] zacts: has joined #ruby
[20:04:47] flashpoint9: has joined #ruby
[20:04:48] spiette: has joined #ruby
[20:04:58] SilverKey: has joined #ruby
[20:05:25] travisxcode: I've decided to learn Ruby first, even though some say it isn't very important when using Rails. Obviously Rails is just a framework for Ruby, so I don't see how logical that is.
[20:05:59] hxegon: I disagree, but they have a point. Rails is such a huge framework that it's basically it's own DSL
[20:06:12] pawnbox: has joined #ruby
[20:06:25] hxegon: (using DSL lightly)
[20:06:35] pontiki: but knowing ruby well still helps a lot with rails
[20:06:37] execat: has joined #ruby
[20:06:41] hxegon: absolutely
[20:06:43] deuterium: has joined #ruby
[20:07:07] pontiki: i'd like to know where people are saying knowing ruby is unimportant to working with rails
[20:08:17] travisxcode: pontiki: Why, the internet of course! I read a lot of blog posts about Ruby and Rails before deciding to choose it as my first professional language.
[20:08:39] pontiki: then you know who to no longer follow, right?
[20:09:55] skalfyfan: has joined #ruby
[20:10:59] roamingdog: has joined #ruby
[20:13:20] rikkipitt: has joined #ruby
[20:16:26] jottr: has joined #ruby
[20:21:30] moeabdol: has joined #ruby
[20:21:57] leea: has joined #ruby
[20:22:21] spudowiar: has joined #ruby
[20:22:47] ghr: has joined #ruby
[20:25:54] karapetyan: has joined #ruby
[20:26:15] execat: has joined #ruby
[20:27:04] speaking1ode: has joined #ruby
[20:27:54] roshanavand: has joined #ruby
[20:28:04] nankyokusei: has joined #ruby
[20:28:27] tristanp: has joined #ruby
[20:29:23] finnnnnnnnnnn: has joined #ruby
[20:31:16] Pupeno: has joined #ruby
[20:32:18] blackmesa: has joined #ruby
[20:32:47] ghr: has joined #ruby
[20:35:37] Snaggle: has joined #ruby
[20:36:27] execat: has joined #ruby
[20:38:11] enterprisey: has joined #ruby
[20:42:00] Snaggle: has left #ruby: ()
[20:42:18] ghr: has joined #ruby
[20:43:52] finnnnnnnnnnn: has joined #ruby
[20:44:52] edwinvdgraaf: has joined #ruby
[20:46:14] Hanmac: >> "ß".upcase
[20:46:15] ruby[bot]: hanmac: # => "ß" (https://eval.in/603088)
[20:47:54] skalfyfan: has joined #ruby
[20:47:56] adaedra: Lacks some locale-aware things
[20:51:57] djbkd: has joined #ruby
[20:52:33] elifoster: has joined #ruby
[20:54:10] Guest21: has joined #ruby
[20:55:47] execat: has joined #ruby
[20:56:07] Phanes: has joined #ruby
[20:56:07] Phanes: has joined #ruby
[20:56:15] skalfyfan: has joined #ruby
[20:57:03] Phanes: has joined #ruby
[20:57:03] Phanes: has joined #ruby
[20:57:17] ramfjord: has joined #ruby
[20:57:19] ghr: has joined #ruby
[21:02:08] kavanagh: has joined #ruby
[21:02:21] shevy: ruby 3.0 will solve all the things!
[21:03:24] Guest27170: has joined #ruby
[21:04:18] execat: has joined #ruby
[21:06:51] ruby[bot]: spudowiar: # => (https://eval.in/603089)
[21:07:14] ruby[bot]: spudowiar: # => "/tmp/execpad-9d44dafee340" (https://eval.in/603090)
[21:07:17] tristanp: has joined #ruby
[21:07:22] ghr: has joined #ruby
[21:10:41] ekinmur: has joined #ruby
[21:11:02] yadobujo: has joined #ruby
[21:12:29] alfiemax: has joined #ruby
[21:13:00] JeanCarloMachado: has joined #ruby
[21:13:50] rikkipitt: has joined #ruby
[21:16:19] shevy: this bot has been battle-hardened
[21:16:41] shevy: Martin Duerst is like doing all the encoding
[21:16:50] ghr: has joined #ruby
[21:16:54] adaedra: spudowiar: please don't try to break the bot
[21:17:08] spudowiar: adaedra: I wasn't, I was just checking something
[21:17:14] spudowiar: adaedra: and the bot is separate
[21:18:09] cdg: has joined #ruby
[21:19:02] cdg: has joined #ruby
[21:19:17] Papierkorb: is the bot based on geordi?
[21:19:34] chignon: has joined #ruby
[21:19:52] spudowiar: has joined #ruby
[21:20:31] chignon: ruby question
[21:21:01] Papierkorb: chignon: ask away
[21:21:04] chignon: anyone know why instance variable are set equal to parameters?
[21:21:14] Papierkorb: chignon: mh?
[21:21:34] Papierkorb: chignon: you mean in #initialize?
[21:21:36] chignon: i'm obv new to ruby and I had a question on SO downgraded
[21:21:45] toretore: ?code chignon
[21:21:45] ruby[bot]: chignon: We can't help you without your code, please post it to https://gist.github.com
[21:22:15] chignon: sure...gimme 1 sec
[21:25:35] chignon: https://gist.github.com/anonymous/aaa07b0c7b660ddee72c236176d2240e
[21:26:05] shevy: this is a fragment
[21:26:11] Papierkorb: chignon: you do that to store the arguments value in the object, if you need it again somewhere else
[21:26:17] jjjjj: has joined #ruby
[21:26:56] skweek: has joined #ruby
[21:26:58] tmtwd: has joined #ruby
[21:27:17] chignon: the thing is works...if I am using only 1 object
[21:28:22] chignon: I mean I just don't understand the logic behind it...for scripts where I set 2 objects...I don't need that snippet
[21:29:14] Papierkorb: chignon: please gist the whole, real script, as shevy suggested
[21:29:57] chignon: ok there are actually two scripts...hangone
[21:30:38] Papierkorb: chignon: also gist the complete error message you're getting, including backtrace and everything. No paraphrasing.
[21:31:01] rikkipitt: has joined #ruby
[21:31:51] ghr: has joined #ruby
[21:32:02] LoneHermit: has joined #ruby
[21:33:11] Guest21: has joined #ruby
[21:33:15] zacts: has joined #ruby
[21:33:56] chignon: https://gist.github.com/anonymous/fac484069671ce3ab7dfa3054c0dee35
[21:34:08] blackmesa: has joined #ruby
[21:34:15] chignon: there are 2 very simple rb files
[21:34:17] bruce_lee: has joined #ruby
[21:34:21] Parko: has joined #ruby
[21:34:26] Papierkorb: chignon: that's not the whole thing. we can't help this way.
[21:34:42] chignon: do you need the terminal output?
[21:35:03] shevy: you must invoke this somehow
[21:35:06] shevy: but you don't show how you do this
[21:35:18] Papierkorb: The. Whole. Thing. all scripts. terminal output, the wrong one, and what you expected to see instead. also complete error messages if you get errors.
[21:37:47] freerobby: has joined #ruby
[21:37:56] chignon: Sorry I'm just new at this. The scripts work in irb....I just don't understand why I need @breed = personality in my 2nd script
[21:38:31] Papierkorb: chignon: it's fine. but please do what we ask you to do. we want to help, but without what we're asking, we can't.
[21:38:34] quakephil: has left #ruby: ()
[21:38:55] chignon: ok...how do I copy/paste from irb tho?
[21:39:25] shevy: on linux you can select with the mouse then press the middle button
[21:39:35] chignon: windows unfortunately
[21:39:37] shevy: for windows I think there is some app that does this
[21:39:42] chignon: school lib haha
[21:39:42] Papierkorb: Oh god windows
[21:39:55] toretore: start with pasting the entire file contents
[21:39:55] shevy: I also think there is some way to save the buffer in irb.... hmm
[21:39:57] Papierkorb: chignon: Right click, then "Select", and select the region with your mouse
[21:40:13] chignon: those are the files...they are very short
[21:40:21] arooni: has joined #ruby
[21:40:25] chignon: i promise those are my 2 rb files
[21:40:37] Papierkorb: chignon: we also need to know how you're trying to use those
[21:40:48] Papierkorb: chignon: as in, the real code you're using for that
[21:40:54] chignon: my input? sure
[21:41:13] flashpoint9: has joined #ruby
[21:41:21] arooni: has left #ruby: ()
[21:41:21] ghr: has joined #ruby
[21:41:24] Papierkorb: chignon: try right clicking in the terminal. It should have an entry to select something
[21:42:56] Rodya_: has joined #ruby
[21:43:50] chignon: @papierkorb just alt a which blows
[21:44:15] Papierkorb: Hey it's windows, what do you expect?
[21:44:32] shevy: chignon what the various attr*s do is as you can write in ruby code yourself: attr_reader :foo is the same as: def foo; @foo; end; attr_writer :foo is the same as def foo=(i); @foo = i; end and attr_accessor combines the two into one
[21:44:36] vanvemden: has joined #ruby
[21:45:14] chignon: yeah that's what I'm gonna do...they'll be in comments
[21:45:35] shevy: .foo is a method call that will work if the object responds to this method; if you used an attr* there then this will have added a method with the name (or with the = variant if you use attr_writer)
[21:46:25] shevy: instance variables that were not initialized to some explicit value, should default to nil, but ruby may issue a warning if it was not explicitely set to a value
[21:49:06] pawnbox: has joined #ruby
[21:49:41] Dimik--: has joined #ruby
[21:50:52] ghr: has joined #ruby
[21:53:06] evie_hammond: has joined #ruby
[21:54:12] chignon: https://gist.github.com/anonymous/d47d175eb2b23f852b0549bc95d574f7
[21:54:22] chignon: ok I think i killed my nails haha!!!
[21:55:05] chignon: my question is why isn't it necessary to set up my instance variable equal to anything in the first script...is because I'm dealing two classes?
[21:55:59] shevy: chignon btw on gist, you can save with .rb file end, then you get colour highlighting for free
[21:57:10] chignon: yeah I just didn't want to take up time with making an account (i use sublime ...luv it)!
[21:57:29] Xeago__: has joined #ruby
[21:57:31] moeabdol: has joined #ruby
[21:57:43] johnmilton: has joined #ruby
[21:57:58] Xeago-: has joined #ruby
[21:58:08] Evey_Hammond: has joined #ruby
[21:58:50] shevy: chignon a class should have an initialize method
[21:59:00] shevy: if you use @ivars on the instance level
[21:59:29] shevy: things such as .name = could be set when you use .new
[22:00:22] xall: has joined #ruby
[22:00:29] ghr: has joined #ruby
[22:00:37] JeanCarloMachado: has joined #ruby
[22:00:46] chignon: what's wrong with the way I'm doing it...I'm setting up a new_instance = object.new, then new_instance.name = "name_of_instance"
[22:00:56] shevy: why would you want to do this
[22:01:23] chignon: just the way the tutorial is going about it...
[22:01:32] chignon: how would you do it @shevy
[22:02:08] shevy: adam = Dog.new('Adam', 'alpha')
[22:02:08] shevy: chris = Dog.new('Chris','collie')
[22:02:08] shevy: adam.gets_along_with chris
[22:02:17] jottr: Hi all. Just a quick question: When would one use an equal sign before a begin..end-block? Ie. =begin ... =end ?
[22:02:38] shevy: I also don't know why you have a separate class Animal, isn't a dog a subclass of animal if you apply the hierarchical subclass setup?
[22:03:08] chignon: @jottr that's for multiline comments..there's a debate that #is better...per line
[22:03:21] jottr: chignon: Ah thx. :)
[22:03:43] shevy: # is nice since you can expect it
[22:03:53] shevy: though it may be more tedious depending on your editor
[22:04:09] chignon: @shevy, yes. Absolutely right ...I was trying to isolate @variable=parameter....I wanted to understand the logic there....classes and subclasses, I am familar with these
[22:04:41] zacts: hello rubyists
[22:04:49] pawnbox: has joined #ruby
[22:04:53] shevy: well you usually have to be explicit
[22:04:57] Jardayn: has joined #ruby
[22:05:03] shevy: you already are explicit in your code since you use the .name = assignments
[22:05:13] shevy: but it looks like a lot of extra work that does not seem necessary
[22:05:19] ecnalyr: has joined #ruby
[22:05:41] chignon: @shevy I'm learning...
[22:06:03] shevy: it's all method calls :)
[22:06:35] chignon: @shevy have an example?
[22:06:43] chignon: @shevy just curious
[22:08:02] shevy: these are examples!
[22:08:07] shevy: your code
[22:08:21] shevy: foo.bar = 'value' # also a method invocation
[22:08:47] shevy: if you write this on your own, you would use: def bar=(input1, input2, input3)
[22:10:14] chignon: @shevy I thought there had to be an simple array form (not really an array, but u get the idea)...guess the books I'm using haven't gotten to this part yet
[22:12:12] chignon: but I still don't get the concept of needing @name = assignment in 1 and not in the other
[22:12:14] SCHAAP137: has joined #ruby
[22:13:02] chignon: or rather @instance_variable = parameter in 2nd script and not needing it in the 1st (assume I utilize 2 objects/instances)
[22:13:30] shevy: you already manually set the values in your own code
[22:13:55] shevy: like via buddy.name
[22:14:05] shevy: the object that you pass in responds to .name
[22:14:18] chignon: @shevy yeah...I have to
[22:14:39] shevy: same with @what_animal
[22:14:52] shevy: Dog = Animal.new; Dog.what_animal = "Dog"
[22:15:59] roshanavand: has joined #ruby
[22:16:04] chignon: @shevy but @breed = personality ? that's only in my 2nd script
[22:17:28] shevy: why do you redefine class Dog anyway
[22:17:42] shevy: where did you even get the Dog = Foo.new part
[22:17:55] Rodya_: has joined #ruby
[22:18:17] shevy: see good oldschool tutorials
[22:18:17] shevy: https://pine.fm/LearnToProgram/chap_09.html
[22:18:22] shevy: "Creating Classes"
[22:18:33] toretore: chignon: the code you're working with is very poor quality, if you're getting it directly from some book or tutorial you should stop following it
[22:18:48] M4dH4TT3r: has joined #ruby
[22:19:07] shevy: output I get is:
[22:19:08] shevy: Adam is a Dog.
[22:19:08] shevy: Adam has a tabby personality.
[22:19:21] chignon: @toretore ... that code is my own brew if u will. I was p[layign around with code
[22:19:26] ghr: has joined #ruby
[22:20:01] toretore: chignon: then you're a few steps ahead of what you should be doing. understand the basics first
[22:20:14] shevy: but you really really should not redefine the classes you wrote prior to that. there is no need to use Dog = Dog.new as opposed to dog = Dog.new; or better, use the example code I showed above adam = Dog.new('Adam', 'alpha')
[22:21:01] toretore: just because you've used similar concepts in other languages doesn't mean you can just skip ahead and assume ruby works the same
[22:21:23] ascarter: has joined #ruby
[22:22:24] skweek: you should probably tell him why ruby is such a beautiful language
[22:22:42] chignon: @shevy ok that is easily more simple, and faster! @toretore yes I do tend to jump a bit...but that's what makes this stuff awesome!!!
[22:23:34] roshanavand: has joined #ruby
[22:23:35] roamingdog: has joined #ruby
[22:24:43] chignon: thx for that help guys!!! @shevy ,etc
[22:25:25] chouhoulis: has joined #ruby
[22:25:50] Sashimi: has joined #ruby
[22:28:43] dennisvennink: has joined #ruby
[22:28:56] shevy: I am semi-multitasking... reading https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ again ... I did not remember that @fopen('http://example.com/not-existing-file', 'r'); can mean multiple different things in the end (to determine whether to report an error or whether to not) in php
[22:28:58] nankyokusei: has joined #ruby
[22:31:17] shevy: so perhaps I was wrong! PHP is also complex... all the programming languages appear to be, at the least internally :(
[22:33:44] zenlot: has joined #ruby
[22:33:56] CausaMortis: has joined #ruby
[22:33:56] LoneHermit: has joined #ruby
[22:35:26] pawnbox: has joined #ruby
[22:35:34] wsmoak: I've done `bundler gem --test=rspec currency_utils` to set up the project structure, and added a class inside the module it generated. I'm having trouble exercising the code in irb. uninitialized constant -- it's not loaded.
[22:35:41] wsmoak: am I missing some config that makes this Just Work?
[22:37:43] toretore: wsmoak: what makes you think it should "just work"? and what exactly does "just work" mean in this case?
[22:38:32] wsmoak: I would like the code I've written (under 'lib') to be loaded when I enter irb so that I can exercise it. what is the usual development process for this?
[22:39:10] coffeecupp: has joined #ruby
[22:39:24] ghr: has joined #ruby
[22:39:26] wsmoak: I'm pretty sure I can build the gem, install it, and require that... but that's a long process for manual experimentation on changes.
[22:39:41] chouhoulis: has joined #ruby
[22:40:08] toretore: wsmoak: do you understand how loading files in ruby works?
[22:40:28] toretore: there is no such thing as "requiring a gem"
[22:40:50] toretore: you require files; ruby searches for those files in a list of directories, the load path
[22:40:55] wsmoak: I have a tentative grasp of 'require' and LOAD_PATH, yes
[22:41:20] toretore: ok, so you have a directory from which you'd like to load some files
[22:42:08] toretore: these files must then be in the load path
[22:42:36] blackgoat: has joined #ruby
[22:43:30] hck89: has joined #ruby
[22:43:58] wsmoak: http://www.justinweiss.com/articles/how-do-gems-work/ implies rubygems is adding some magic that I am probably conflating with plain old ruby
[22:45:52] toretore: yes, but you're not dealing with a gem, you just want to load a file
[22:46:02] cd-rum: has joined #ruby
[22:46:14] zacstewart: has joined #ruby
[22:46:17] roshanavand: has joined #ruby
[22:46:32] scottschecter: has joined #ruby
[22:47:51] wsmoak: the project itself is a gem. If I try to `load 'lib/currency_utils.rb'`in irb , it chokes on the `require "currency_utils/version"`that was generated.
[22:48:04] toretore: it's not a gem until you package it up as a gem
[22:48:19] toretore: you just have a bunch of files at this point
[22:48:42] wsmoak: correct. how do gem developers deal with this? I'm sure this is a solved problem...
[22:48:57] toretore: it's not a problem, and it has nothing to do with gems
[22:49:06] toretore: forget about the gems
[22:49:09] freerobby: has joined #ruby
[22:50:08] toretore: you have: some files, in some directories; you want: to load these files; ruby has `load` and `require` which searches for files in the load path
[22:50:13] toretore: what's the missing link?
[22:50:41] shevy: wsmoak I personally use a much simpler way
[22:50:42] programmerq: has joined #ruby
[22:50:53] shevy: wsmoak I use the old setup.rb to "install" an updated gem
[22:51:05] jon-: has joined #ruby
[22:51:09] shevy: usually the only time when I build a .gem file is when I publish to rubygems.org
[22:51:12] pawnbox: has joined #ruby
[22:51:32] shevy: https://github.com/rubyworks/setup explains this a bit
[22:52:09] cd-rum_: has joined #ruby
[22:52:36] shevy: my alias for using setup.rb is "r2" so I just go to the directory where the gem or .gemspec is, use r2 and te latest code is installed; I may have to sometimes remove the old directory from ruby SITE_DIR or whatever the name was but this is rare and I could also automate this
[22:53:25] ghr: has joined #ruby
[22:54:19] m4221|phone: has joined #ruby
[22:54:21] Schalla: has joined #ruby
[22:54:29] m4221|phone: Hey guys, I need help
[22:54:35] wsmoak: so pasting the stuff from the generated .gemspec into irb makes it work. (puts `lib` on the loadpath).
[22:54:38] jottr_: has joined #ruby
[22:54:44] xall: has joined #ruby
[22:55:08] tristanp: has joined #ruby
[22:55:29] mikespears: has joined #ruby
[22:55:41] wsmoak: going to see if .irbconfig is a thing so this can happen augomagically...
[22:56:22] jottr__: has joined #ruby
[22:56:37] wsmoak: toretore: thanks for the help!
[22:57:16] mikespears: is there a manpage for ruby?
[22:57:28] toretore: did you try?
[22:58:04] bogusdisk: has joined #ruby
[22:58:31] m4221|phone: What is ruby? A gem?
[22:58:40] mikespears: I think it's a man
[22:58:57] m4221|phone: mikespears: on railroad tracks
[22:59:38] moeabdol: has joined #ruby
[22:59:43] toretore: wsmoak: ok, so i'm going to spoon feed you because what you're doing is stupid and wrong.. all you have to do is make sure the files you want to require are in the load path. both ruby and irb have an -I argument which adds directories to the load path. thus all you have to do is `irb -I lib`
[23:00:14] m4221|phone: toretore: stop being a condescending fuck
[23:00:16] ruby[bot]: toretore: ops currently in #ruby: adaedra, aredridel, havenwood, Radar, apeiros, banisterfiend, baweaver, drbrain, jhass, miah, ruby[bot], zenspider and zzak___
[23:00:52] toretore: wsmoak: and require('currency_utils') will work because your "lib" is in the load path
[23:00:53] spudowiar: m4221|phone: please do not call one another a fuck
[23:01:10] ruby_newbie: has joined #ruby
[23:01:14] mikespears: fuck fuck fuck fuck
[23:01:18] m4221|phone: spudowiar: I'm just telling the truth
[23:01:31] spudowiar: mikespears: I didn't say don't use the fucking word fuck :)
[23:01:41] spudowiar: m4221|phone: you are a fuck.
[23:01:45] spudowiar: now I hurt your feelings
[23:01:56] mikespears: spudowiar is a fucking fucker
[23:02:05] spudowiar: mikespears: see, that's a different thing
[23:02:06] mikespears: I bet he plays with spuds
[23:02:13] spudowiar: mikespears is a fuck
[23:02:19] spudowiar: mikespears: that hurt your feelings, right?
[23:02:22] wsmoak: toretore: actually what I am doing is _learning_. with your hints I learned that lib needed to be on the load path, and got it to work. now I am investigating how to make that happen the _correct_ way, (thanks for the tip!) and then how to automate it.
[23:02:32] mikespears: nah because I'm not a little SJW faggot
[23:02:41] spudowiar: mikespears: what is SJW?
[23:02:51] mikespears: has left #ruby: ()
[23:02:56] mikespears: has joined #ruby
[23:02:58] spudowiar: what a fuck
[23:03:07] mikespears: I know you are
[23:03:08] spudowiar: the things that have been said
[23:03:11] torandu: has joined #ruby
[23:03:22] m4221|phone: spudowiar: toretore felt the need to summon the ops because I spoke the truth of what he was doing
[23:03:43] mikespears: alright, I've been trolling for a few minutes now, and nothing's happened, I'm bored now
[23:03:51] mikespears: has left #ruby: ()
[23:04:03] spudowiar: m4221|phone: please refrain from being a fuck
[23:04:20] m4221|phone: spudowiar: toretore was doing that
[23:04:53] spudowiar: m4221|phone: please refrain from being a fuck
[23:05:05] m4221|phone: has left #ruby: ("Leaving")
[23:08:05] shevy: they just don't have any patience
[23:11:02] k4ppa123: has joined #ruby
[23:11:26] k4ppa123: Oh shit wrong channel
[23:11:35] k4ppa123: I thought I was in #gays
[23:11:48] shevy: AndChatter eh
[23:12:01] k4ppa123: Fite me irl a
[23:12:27] shevy: I guess the format of it does not lend well to oldschool IRC
[23:13:09] k4ppa123: Only cool kids use irssi ?
[23:14:34] Madplatypus: has joined #ruby
[23:16:48] coffeecupp: has joined #ruby
[23:16:53] roamingdog: has joined #ruby
[23:16:58] m4221|phone: has joined #ruby
[23:17:26] ghr: has joined #ruby
[23:17:58] m4221|phone: Guys, can I find gems here? :P
[23:18:21] arescorpio: has joined #ruby
[23:18:23] k4ppa123: Not if it black
[23:18:38] k4ppa123: cOPs will shot u
[23:18:48] havenwood: !ban k4ppa123
[23:18:48] ruby[bot]: +bbb $a:k4ppa123$#ruby-banned k4ppa123!*@*$#ruby-banned *!*@2607:fb90:540:d202:e18d:115d:5bdd:e66e$#ruby-banned
[23:18:48] ruby[bot]: ruby[bot] kicked k4ppa123: offense, see http://ruby-community.com/pages/user_rules
[23:19:31] m4221|phone: havenwood: must you be so heavy handed?
[23:20:37] shevy: m4221|phone https://www.ruby-lang.org/en/about/
[23:20:58] m4221|phone: shevy: he was not being racist
[23:21:10] havenwood: !troll mikespears
[23:21:10] ruby[bot]: +bb mikespears!*@*$#ruby-banned *!*@gateway/web/irccloud.com/x-dneitgmfdygkbwzp$#ruby-banned
[23:21:16] flashpoint9: has joined #ruby
[23:21:16] shevy: m4221|phone gems http://guides.rubygems.org/
[23:21:46] m4221|phone: shevy: he was only suggesting a gem color
[23:21:58] shevy: m4221|phone you
[23:22:07] shevy: m4221|phone> What is ruby? A gem?
[23:22:07] shevy: <m4221|phone> Guys?
[23:22:39] postapocallyptic: class names in ruby must start with a Caps? or mustn't have _ in them?
[23:22:44] karapetyan: has joined #ruby
[23:22:46] m4221|phone: Oooooh, I forgot to be gender neutral
[23:23:48] shevy: postapocallyptic only first character
[23:24:19] postapocallyptic: yeah no one made that clear to me heh , and it said I had to make sure the name is a CONSTANT
[23:24:28] toretore: postapocallyptic: class names are constants, and follow naming rules for constants
[23:24:56] m4221|phone: havenwood: your moderator tactics are that of a dictator
[23:24:57] postapocallyptic: i thought ruby wasn't case sensative
[23:25:15] toretore: conventionally, class names use SnakeCase and other constants use SCREAMING_SNAKE_CASE
[23:25:18] havenwood: postapocallyptic: Yup, a constant so starting with a capital letter. You *can* have an underscore but by strong convention classes and modules should be camel case.
[23:25:26] shevy: _ is valid, so you can have class Foo_Bar or class FooBar but people tend to avoid the _ there
[23:25:38] roshanavand: has joined #ruby
[23:25:43] m4221|phone: has left #ruby: ("Leaving")
[23:25:46] havenwood: toretore: I think you mean CamelCase. :)
[23:26:02] shevy: class _Foo would be invalid :)
[23:26:04] toretore: or CamelCase, i forget my variable naming names
[23:26:16] havenwood: m4221|phone: If you'd like to discuss non-ruby issues please join #ruby-offtopic or #ruby-community. Please no trolling.
[23:26:29] shevy: but not camelCase!
[23:26:54] havenwood: shevy: headlessCamels are an abomination! ;)
[23:27:43] shevy: or snakes with a hump
[23:28:56] ghr: has joined #ruby
[23:29:38] leea: has joined #ruby
[23:30:02] vifino: has joined #ruby
[23:30:10] JeanCarloMachado: has joined #ruby
[23:30:32] postapocallyptic: and now I make a new class and I want to declare a member of type Array. do I do attr_accessor :names=Array.new
[23:30:59] postapocallyptic: or @names=Array.new
[23:31:07] shevy: postapocallyptic second variant
[23:31:13] shevy: though [] is less to type than Array.new
[23:32:08] pawnbox: has joined #ruby
[23:33:21] toretore: postapocallyptic: you don't declare types in ruby
[23:33:29] vanvemden: has joined #ruby
[23:36:32] tristanp: has joined #ruby
[23:37:46] spiette: has joined #ruby
[23:37:54] sumobob: has joined #ruby
[23:38:39] roamingdog: has joined #ruby
[23:38:53] vifino: has joined #ruby
[23:38:56] LoneHermit: has joined #ruby
[23:39:37] vanvemden: has joined #ruby
[23:40:04] sumobob: has joined #ruby
[23:40:36] m4221|phone: has joined #ruby
[23:40:45] m4221|phone: Can I get a dark ruby?
[23:41:14] Rodya_: has joined #ruby
[23:41:24] Xeago_: has joined #ruby
[23:41:27] ghr: has joined #ruby
[23:41:40] m4221|phone: has left #ruby: ("Leaving")
[23:42:30] Guest51731: has joined #ruby
[23:44:16] koooge: has joined #ruby
[23:44:39] postapocallyptic: ok. then I'm using line.split(",") which gives me an array of two separete words. ["word1","word2"] is ther a better way to access each then (line.split(",")).at(1) to assign them to a variable ?
[23:44:48] akira616: has joined #ruby
[23:45:50] toretore: postapocallyptic: elaborate
[23:46:19] vanvemden: has joined #ruby
[23:47:53] toretore: postapocallyptic: you can destructure an array when assigning with `a, b = *[1, 2]`
[23:48:19] postapocallyptic: line = "1.2.3.4.5:1000"; port=(line.split(":")).at(1); ip=(line.split(":")).at(0);
[23:48:28] execat: has joined #ruby
[23:48:41] wnd: has joined #ruby
[23:48:47] postapocallyptic: so ip,port= line.split(":")
[23:50:12] ramfjord: has joined #ruby
[23:51:58] ghr: has joined #ruby
[23:53:26] coffeecupp: has joined #ruby
[23:54:34] Rodya_: has joined #ruby
[23:54:57] execat_: has joined #ruby