baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.5.0, 2.4.3, 2.3.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
noobineer has quit [Ping timeout: 240 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
arkymad has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 256 seconds]
John__ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
marr has quit [Ping timeout: 260 seconds]
alex`` has quit [Quit: WeeChat 2.0.1]
bigblind has quit [Ping timeout: 245 seconds]
arkymad has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
arkymad has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
johnny56 has quit [Remote host closed the connection]
hahuang61 has joined #ruby
Papierkorb has joined #ruby
phaul has quit [Ping timeout: 256 seconds]
hahuang61 has quit [Ping timeout: 240 seconds]
johnny56 has joined #ruby
leitz has quit [Quit: Nappy time]
workmad3 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
mniip has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
hightower has quit [Ping timeout: 276 seconds]
gizmore|2 is now known as gizmore
ResidentBiscuit has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
ledestin has quit [Ping timeout: 240 seconds]
PresidentBiscuit has joined #ruby
desperek has quit [Quit: xoxo]
ta_ has quit [Ping timeout: 248 seconds]
JaredR has joined #ruby
ResidentBiscuit has quit [Ping timeout: 276 seconds]
hahuang61 has joined #ruby
PresidentBiscuit has quit [Ping timeout: 276 seconds]
hahuang61 has quit [Ping timeout: 268 seconds]
ta_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jnyw has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
karapetyan has quit [Remote host closed the connection]
konsolebox has quit [Ping timeout: 265 seconds]
karapetyan has joined #ruby
konsolebox has joined #ruby
apparition has joined #ruby
Puffball has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 256 seconds]
upinspace__ has joined #ruby
arescorpio has joined #ruby
dviola has quit [Read error: Connection reset by peer]
upinspace__ has quit [Client Quit]
dviola has joined #ruby
upinspace__ has joined #ruby
upinspace__ has quit [Client Quit]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
Fusselgesicht has quit [Quit: leaving]
konsolebox has quit [Ping timeout: 256 seconds]
Puffball has joined #ruby
konsolebox has joined #ruby
JaredR has quit []
ta_ has quit [Ping timeout: 240 seconds]
pastorinni has joined #ruby
ta_ has joined #ruby
pastorinni has quit [Remote host closed the connection]
bauruine has quit [Ping timeout: 265 seconds]
goatish has joined #ruby
shinnya has joined #ruby
bauruine has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
dinfuehr has quit [Ping timeout: 248 seconds]
dinfuehr has joined #ruby
cthulchu has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Quit: AJA4350]
hahuang61 has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
hahuang61 has quit [Ping timeout: 268 seconds]
Haris has joined #ruby
<Haris> hello all
<havenwood> Haris: hi
<Haris> ruby is installing gems on centos 7. Its expecting pgsql's include files somewhere under /usr/include. pgsql put them in /usr/pgsql-9.4/include. How do I reconcile this ? I tried softlinking a single file. but then it wants to search for more files
<Haris> %s/put/pts/
<Haris> %s/put/puts/
ta_ has joined #ruby
<havenwood> Haris: Try?: gem install pg -- --with-pg-config=/usr/pgsql-9.4/bin/pg_config
<Haris> I'm running bundle install
<Haris> hmm
<Haris> let me see
<havenwood> Haris: Is the postgresql-devel package installed?
<Haris> yes
<Haris> 9.4
<Haris> not the default for platform i.e., 9.2 from centos updates
<Haris> 9.4 from pg's yum repo
<Haris> something needs to be standardized about these paths
Puffball has quit [Remote host closed the connection]
<Haris> can I just mention the includes with a switch/param rather than the whole config ?
<Haris> ERROR: While executing gem ... (OptionParser::InvalidOption)
<Haris> invalid option: --with-pg-config=/usr/pgsql-9.4/bin/pg_config
<havenwood> Haris: Did you add the `--` in front of `-- --with-pg-config=...`?
Papierkorb has left #ruby ["Konversation terminated!"]
<Haris> my bad. done now
gizmore|2 has joined #ruby
<Haris> I thought -- pointed to current working dir
elcontrastador has joined #ruby
starseed0000 has quit [Ping timeout: 265 seconds]
gizmore has quit [Ping timeout: 256 seconds]
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
armyriad has quit [Quit: Leaving]
armyriad has joined #ruby
aguestuser has quit [Ping timeout: 255 seconds]
<zenspider> rawr
konsolebox has quit [Ping timeout: 245 seconds]
<zenspider> Haris: usually a plain "--" means "stop processing options"... lets the rest of the cmdline get passed down to someone else to handle
aguestuser has joined #ruby
govg has joined #ruby
goatish has quit [Quit: Hibernating]
sylario has quit [Quit: Connection closed for inactivity]
konsolebox has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
Pisuke has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
starseed0000 has joined #ruby
hahuang61 has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Puffball has joined #ruby
marius has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
arescorpio has quit [Quit: Leaving.]
Puffball has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 256 seconds]
armyriad has quit [Ping timeout: 256 seconds]
armyriad has joined #ruby
ta_ has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
shaiba has joined #ruby
eckhardt has joined #ruby
konsolebox has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
shaiba has quit [Quit: shaiba]
NightMonkey has quit [Ping timeout: 256 seconds]
psmolen has quit [Ping timeout: 240 seconds]
psmolen has joined #ruby
trautwein has quit [Quit: ZNC 1.6.5 - http://znc.in]
trautwein has joined #ruby
shaiba has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
psmolen has quit [Ping timeout: 240 seconds]
konsolebox has quit [Ping timeout: 256 seconds]
psmolen has joined #ruby
rippa has joined #ruby
konsolebox has joined #ruby
shaiba has quit [Quit: WeeChat 2.0.1]
shaiba has joined #ruby
NightMonkey has joined #ruby
moei has quit [Quit: Leaving...]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
ta_ has quit [Ping timeout: 248 seconds]
cthulchu has quit [Ping timeout: 268 seconds]
konsolebox has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
hahuang61 has quit [Ping timeout: 276 seconds]
upinspace__ has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
sameerynho has quit [Ping timeout: 268 seconds]
konsolebox has joined #ruby
rabajaj has quit [Remote host closed the connection]
rabajaj has joined #ruby
upinspace__ has quit [Quit: Mutter: www.mutterirc.com]
cthulchu_ has joined #ruby
workmad3 has joined #ruby
upinspace__ has joined #ruby
apparition has quit [Quit: Bye]
kapil___ has quit [Quit: Connection closed for inactivity]
workmad3 has quit [Ping timeout: 256 seconds]
mr_rich102 has quit [Quit: ZNC - http://znc.in]
mr_rich101 has joined #ruby
shaiba has quit [Quit: WeeChat 2.0.1]
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
hahuang61 has joined #ruby
GodFather has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
GodFather has quit [Ping timeout: 256 seconds]
ta_ has quit [Ping timeout: 276 seconds]
ta_ has joined #ruby
vondruch has quit [Read error: Connection reset by peer]
totalsecond has joined #ruby
jamesaxl has joined #ruby
tpendragon has quit [Ping timeout: 252 seconds]
upinspace__ has quit [Quit: Mutter: www.mutterirc.com]
dviola has quit [Quit: WeeChat 2.0.1]
upinspace__ has joined #ruby
upinspace__ has quit [Client Quit]
upinspace has joined #ruby
pastorinni has joined #ruby
upinspace has quit [Quit: I’m out]
Haris has quit [Ping timeout: 248 seconds]
ta_ has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
moei has joined #ruby
moei has quit [Client Quit]
moei has joined #ruby
Ishido has joined #ruby
hahuang61 has joined #ruby
mtkd has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
pastorinni has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
workmad3 has joined #ruby
dionysus69 has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
minimalism has quit [Quit: minimalism]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 256 seconds]
leah2 has quit [Ping timeout: 276 seconds]
alex`` has joined #ruby
ta_ has joined #ruby
starseed0000 has quit [Ping timeout: 252 seconds]
cthulchu_ has quit [Ping timeout: 256 seconds]
leah2 has joined #ruby
c0ncealed has quit [Remote host closed the connection]
c0ncealed has joined #ruby
hahuang61 has joined #ruby
jamesaxl has quit [Ping timeout: 256 seconds]
cadillac_ has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
Haris has joined #ruby
Haris has joined #ruby
Haris has quit [Changing host]
ta_ has quit [Ping timeout: 256 seconds]
ta_ has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
apparition has joined #ruby
Joufflu has quit [Quit: Leaving]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamesaxl has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
suukim has joined #ruby
ta_ has joined #ruby
tomphp has joined #ruby
frold has joined #ruby
<frold> If I have set Max chars to 5000 how do I let my output be based on that? https://pastebin.com/Q3qaPrhu
<ruby[bot]> frold: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/39a5965c304be01274d5b51b87431f18
<ruby[bot]> frold: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
mtkd has quit []
kapil___ has joined #ruby
hahuang61 has joined #ruby
<apeiros> frold: I don't understand your question. do you mean how to cut a string at a specific number of characters?
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
biberu has joined #ruby
hahuang61 has quit [Ping timeout: 265 seconds]
biberu has quit [Client Quit]
biberu has joined #ruby
claudiuinberlin has joined #ruby
armyriad has quit [Ping timeout: 265 seconds]
armyriad has joined #ruby
oroborous has quit [Ping timeout: 248 seconds]
workmad3 has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
tpendragon has joined #ruby
frold has quit [Quit: Page closed]
amatas has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
faces has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
hahuang61 has quit [Ping timeout: 260 seconds]
\void has joined #ruby
desperek has joined #ruby
ta_ has joined #ruby
ldepandis has joined #ruby
arkymad has joined #ruby
frold has joined #ruby
<frold> I have this line: And would like to limit the output to x chars: https://gist.github.com/frold/16ee4caacf5b5ee5cf873c3bc48a311a Any ideas?
<apeiros> >> "some very long string"[0,5] # @ frold
<ruby[bot]> apeiros: # => "some " (https://eval.in/966413)
arkymad has quit [Ping timeout: 256 seconds]
arkymad has joined #ruby
arkymad has quit [Remote host closed the connection]
<frold> Thanks apeiros - but it seems like the limit is also set else where in the script to a max of 250 - because I can reduce it to eg 50 chars but not have more then 250 even then set to 5000
faces has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
frold has quit [Quit: Page closed]
ta_ has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
jnyw has quit [Quit: WeeChat 2.0.1]
marr has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
Dimik has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
ta_ has joined #ruby
red_menace has joined #ruby
bigblind has joined #ruby
red_menace has left #ruby ["bye bye..."]
phaul has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
n008f4g_ has joined #ruby
mjolnird has joined #ruby
mtkd has quit [Ping timeout: 256 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
mtkd has joined #ruby
sidx64 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
mtkd has quit [Read error: Connection reset by peer]
^mtkd has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
^mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
^mtkd has joined #ruby
hahuang61 has joined #ruby
^mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
goatish has joined #ruby
ta_ has joined #ruby
d^sh has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
d^sh has joined #ruby
workmad3 has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
kapil___ has quit [Quit: Connection closed for inactivity]
workmad3 has quit [Ping timeout: 276 seconds]
n13z has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
schneider has quit [Ping timeout: 240 seconds]
hightower has joined #ruby
Papierkorb has joined #ruby
ta_ has joined #ruby
Papierkorb has left #ruby ["Konversation terminated!"]
tolland has left #ruby ["WeeChat 0.4.3"]
milardovich has joined #ruby
faces has quit [Read error: Connection reset by peer]
antoniobeyah has quit [Quit: Connection closed for inactivity]
milardovich has quit [Ping timeout: 245 seconds]
nowhereman_ has joined #ruby
sameerynho has joined #ruby
nowhere_man has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 248 seconds]
soniya29 has joined #ruby
soniya29_ has joined #ruby
keithy has joined #ruby
n008f4g_ has quit [Ping timeout: 248 seconds]
hahuang61 has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
sidx64_ has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
sidx64 has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
keithy has quit [Quit: keithy]
AJA4350 has joined #ruby
kapil___ has joined #ruby
schneider has joined #ruby
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
faces has joined #ruby
ta_ has quit [Ping timeout: 245 seconds]
schneider has quit [Quit: WeeChat 2.0.1]
ta_ has joined #ruby
drewmcmillan has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
ta_ has joined #ruby
hahuang61 has quit [Ping timeout: 248 seconds]
schneider has joined #ruby
chromis has left #ruby [#ruby]
lemonpaul has joined #ruby
emilford has joined #ruby
<lemonpaul> Good time for all. How to get previous element in array while iterate through it with each method?
<qyliss> lemonpaul: Use each_cons
bigblind has quit [Ping timeout: 248 seconds]
<lemonpaul> Ok, good. Thanks.
Haris has left #ruby [#ruby]
schneider has quit [Quit: WeeChat 2.0.1]
<lemonpaul> How to get last index of element in array?
<apeiros> a qyliss, btw. re "irc channels to hang out" -> #ruby-offtopic. even if it's often quite low traffic
<apeiros> lemonpaul: index or element?
<apeiros> ary.last for last element. ary.size - 1 for last index
<lemonpaul> like methon index, but not first
<lemonpaul> last
emilford has quit [Ping timeout: 240 seconds]
<apeiros> &ri Array#rindex
<apeiros> ^ like that?
<qyliss> apeiros: thanks!
<lemonpaul> Yes, like that. Thanks
workmad3 has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
drewmcmillan has joined #ruby
<lemonpaul> And last question. If I want to slice elements from index 'start' to the end which range should I use? [start..-1]?
<apeiros> yes
<apeiros> ?pry
<ruby[bot]> Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
<apeiros> oh well…
<apeiros> ?irb
<ruby[bot]> irb is "interactive ruby", it is part of ruby. You can run ruby code and see results immediately. it's useful for testing code. Also see ?pry, a gem which is a popular alternative to irb.
rwb has quit [Quit: rwb]
milardovich has quit [Ping timeout: 252 seconds]
<desperek> would something.(hello.there) work?
rabajaj has quit [Ping timeout: 256 seconds]
<apeiros> desperek: the syntax is valid
<apeiros> but "work" depends on so many things
<desperek> mhm
schneider has joined #ruby
<apeiros> for it to "work", `something` must evaluate to something which responds to #call, and can be invoked with one argument. hello must evaluate to something which responds to there. and that just means the whole expression evaluates.
hahuang61 has joined #ruby
bmurt has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
conta has joined #ruby
dionysus69 has joined #ruby
bigblind has joined #ruby
conta has quit [Client Quit]
hahuang61 has quit [Ping timeout: 248 seconds]
lemonpaul has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
houhoulis has joined #ruby
amelliaa has joined #ruby
<desperek> can i have something like IS EQUAL TO x OR y apeiros ?
<desperek> rather than IS EQUAL TO x OR IS EQUAL TO y
<apeiros> [x,y].include?(a)
<desperek> apeiros, i found out that x == (a || b) doesnt crash
<phaul> desperek: but probably does something different from what you intended
<desperek> phaul, how so?
<desperek> let me check
<desperek> oh, is it XOR?
joe_from_maine has joined #ruby
<Mon_Ouie> >> a = 3; b = 4; a || b
<ruby[bot]> Mon_Ouie: # => 3 (https://eval.in/966432)
<apeiros> desperek: a || b is evaluated first
<Mon_Ouie> ^ i.e. in this case it will be the same as x == a
<desperek> ;-;
<apeiros> and it will evaluate to the first non-nil, non-false value, amd to b otherwise.
<apeiros> and then `x == ` will be tested against that
<desperek> oh hmm
<apeiros> so yes, it doesn't crash. it also doesn't do what you want. just as phaul said.
<desperek> apeiros, so include is the way?
<apeiros> no. it's just one way.
<apeiros> for two values, I'd prefer `x == a || x == b`
<apeiros> it's IMO easier to grok at first read.
<desperek> mhm
<desperek> it also interprets it differently
<apeiros> no
<desperek> but include approach is better for my application tbh
<apeiros> both work exactly the same
<desperek> apeiros, but i mean, can i have like d == a if d = something.can.be.nil
<apeiros> apart from it not making sense, yes
loyaqua has joined #ruby
<desperek> apeiros, eh, i have a relation, which is tested against a relation that can be nil
<desperek> thats more rails problem but still
<apeiros> you may want to reread the code in your question
<apeiros> because that code certainly makes no sense. and probably is unrelated to the problem you just described.
<apeiros> and == doesn't care about nil. neither does include? care about values in the array being nil (or the value passed to it)
<desperek> apeiros, but relation does
<apeiros> relation is not ==
<apeiros> you seem to be confusing things. but I can't tell you more if you keep xy'ing
<desperek> !paste
<desperek> or, whatever
<apeiros> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<desperek> (['moderator','admin'].include?(d.permission) || record.user == user) if d = user.roles.find_by(division: record.division) apeiros
<desperek> this is how it looks so far
<desperek> so, d is a division, which can also be nil
<desperek> if it's nil then calling permission on it will raise error
<apeiros> why'd you have an expression on the left side of the if which does nothing?
<apeiros> do_nothing if condition # <-- makes no sense
<desperek> apeiros, it returns true or false
<apeiros> eeeeeew
<desperek> doing some policies .-.
<apeiros> seriously, rewrite that code to something actually read- and understandable
Fusselgesicht has joined #ruby
<desperek> apeiros, eh, i should go for php mode
<apeiros> o0
<apeiros> you mean if it's an ugly language, it doesn't matter if the code's ugly too?
yadnesh has joined #ruby
<phaul> blah if condition ==> condition && blah is more readable if you want to return something like that
<desperek> oh, didnt know that
<apeiros> user.roles.exists?(division: record.division, permission: ["moderator", "admin"])
<apeiros> also magic strings, bad.
<apeiros> phaul: though with an assignment I'd vote for two statements instead of trying to be clever.
<phaul> apeiros: agreed
<apeiros> I omitted the record.user clause
<apeiros> record.user == user || user.roles.exists?(division: record.division, permission: ["moderator", "admin"])
<apeiros> and then I'd factor those parts into methods
<apeiros> record_owner? || <has_privileges>?
<apeiros> (find a better name for has_privileges)
<apeiros> and the record.user relation is probably misnamed (named after the type of the relation instead of the semantics). I bet it should be record.owner # => <User>
<apeiros> rails really shouldn't provide defaults there. I've seen soooo many misnamed relations.
gr33n7007h1 is now known as al2o3-cr
<desperek> eh, should i refractor it then
<desperek> or refactor
<desperek> whatever
amelliaa has quit [Quit: -]
konsolebox has quit [Ping timeout: 248 seconds]
hndk has joined #ruby
konsolebox has joined #ruby
yadneshk has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
<yadneshk> i have created simple block in a class. i am trying to call the block from the function which has the same name as the block but its not working
konsolebox has joined #ruby
<apeiros> yadneshk: also note that there's a Kernel#test which you probably call there
<yadneshk> apeiros, so i shouldn't name my functions test?
<apeiros> well, in this case it'll add to the confusion
<apeiros> otherwise, nothing speaks against calling your method `test`
<yadneshk> apeiros, i am newbie to ruby. i still dont understand the error. i have changed the name of my function. here's link https://gist.github.com/yadneshk/b9efa89679958f72da20b71f24e05282
<apeiros> yadneshk: please gist the error you get too (even though I know what it is)
<apeiros> ("add file" and add it as a separate file)
dionysus69 has quit [Quit: dionysus69]
emilford has joined #ruby
<yadneshk> apeiros, updated .try refreshing the link
<apeiros> ok. so lets take it apart.
<apeiros> ./blocks.rb:6:in `<class:Myclass>': undefined method `getblock' for Myclass:Class (NoMethodError)
<apeiros> so this tells you it happens on line 6. it tells you that there is no method `getblock` for the object Myclass (which is an instance of class)
badeball_ is now known as badeball
<yadneshk> apeiros, so what do i do to fix it?
<apeiros> what you do on line 6 is essentially `self.getblock`, and `self` in line 6 is Myclass. i.e. you do `Myclass.getblock`
apparition has quit [Quit: Bye]
<yadneshk> apeiros, ok
<apeiros> see the difference between `Myclass.new.getblock` and `Myclass.getblock`?
<apeiros> well, "fix" depends on "what should it do?"
Azure has quit [Read error: Connection reset by peer]
Azure|dc has joined #ruby
<yadneshk> apeiros, i am learning to create blocks. i am calling the function getblock so i want the puts statement executed
<apeiros> ok. why are you calling it in the class body?
hahuang61 has joined #ruby
<apeiros> `class Foo; …class body of class Foo is here…; end`
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<yadneshk> apeiros, i didn't understand what you said
emilford has quit [Ping timeout: 248 seconds]
<apeiros> do you know what a class body is?
hahuang61 has quit [Ping timeout: 276 seconds]
<yadneshk> apeiros, all functions are written inside the class body, the lines of code written between class <class_name> till end is class body
<apeiros> the last part is correct. you can define methods outside of class bodies too, though
<apeiros> (also, use the term "method". ruby barely has any functions)
<apeiros> ok, so https://gist.github.com/yadneshk/b9efa89679958f72da20b71f24e05282#file-blocks-rb-L3-L8 is the class body of your class "Myclass"
<apeiros> now do you still not understand my question "why do you call getblock within the class body"?
<yadneshk> apeiros, yes correct
emilford has joined #ruby
<yadneshk> apeiros, you are taking about line 6 to 8 right?
<apeiros> yes
<yadneshk> apeiros, is that a call? I thought that it is how we create block and then call that block from a method having same name
<apeiros> no. you're calling the method "getblock" and pass it a block.
milardovich has joined #ruby
<yadneshk> apeiros, yield will call the block having same name as the function in which it was written right?
<apeiros> no
<apeiros> blocks don't have names
<apeiros> and yield will just call the block passed to the method
Papierkorb has joined #ruby
ryzokuken__ has joined #ruby
* yadneshk is checking the link
milardovich has quit [Ping timeout: 240 seconds]
Papierkorb has left #ruby ["Konversation terminated!"]
emilford has quit [Ping timeout: 255 seconds]
<yadneshk> apeiros, so where is this helpful? because i could also write the statement inside method instead of block
raynold has quit [Quit: Connection closed for inactivity]
<apeiros> in so many places that it's difficult to find a good start
<apeiros> example 1, each:
* yadneshk now thinks that ruby may be more complicated that python
<apeiros> [1,2,3].each do |x| …do something with each item… end
SynSynack has quit [Quit: Не разучиться мечтать... любить...]
<apeiros> just invoking a block multiple times. in this case with a container, calling it for every element
<apeiros> example 2, sort - provide a strategy to the sorting algorithm:
<apeiros> people.sort { |a,b| a.first_name <=> b.first_name } # though, in almost all situations where I pass a block to sort, I prefer sort_by
<apeiros> people.sort_by { |person| person.first_name } # sort the people array by the first name - note how I do not have to actually implement a sorting algorithm
<apeiros> invoke code delayed (using a gem which actually supports this - not core ruby):
logoscoder has quit [Read error: Connection reset by peer]
<apeiros> after(3.minutes) do puts "hey, 3 minutes are over" end
<apeiros> there's plenty more use cases.
<yadneshk> apeiros, i get the point that it's very helpful xD
<apeiros> and yes, all of them can be solved without blocks. but blocks provide a very convenient way to solve those things.
logoscoder has joined #ruby
schneider has quit [Quit: WeeChat 2.0.1]
schneider has joined #ruby
<yadneshk> apeiros, how many years has it been you are using ruby? just asking
<apeiros> it = me? :D
<apeiros> note sure. more than a decade.
emilford has joined #ruby
<yadneshk> apeiros, holy ****. looks like i was talking to a pro!!
<apeiros> given that I earn my money by writing ruby, that statement is correct ;-)
<yadneshk> apeiros, it's been only 2 days since i have started learning ruby. Any advices on how i should proceed ?
logoscoder has quit [Ping timeout: 256 seconds]
<apeiros> not really. everybody learns differently. for me, I like having a project and then work on that.
<yadneshk> apeiros, ok i will trouble you with a last question. I am using this to learn ruby https://www.tutorialspoint.com/ruby/ . Tell me is it good or not?
bigblind has quit [Ping timeout: 276 seconds]
<apeiros> I haven't used it, so I can't tell, sorry.
<yadneshk> apeiros, alright. can you point me some resources for ruby?
<apeiros> ?books
<ruby[bot]> You can find a list of recommended books at http://ruby-community.com/pages/links
<apeiros> also take a look at the books in the topic
Zaab1t has joined #ruby
karapetyan has joined #ruby
<yadneshk> woah !! ruby[bot] talks ? cool
<yadneshk> i thought that you were an actual bot ruby[bot] xD
<apeiros> it is
<yadneshk> apeiros, no way man
<apeiros> ?bot yadneshk
<ruby[bot]> apeiros: I don't know anything about bot
<apeiros> oh
<apeiros> hm
<apeiros> ?justabot yadneshk
<ruby[bot]> yadneshk: I'm just a bot. You don't need to address me.
Zaab1t has quit [Remote host closed the connection]
<yadneshk> anyways, thanks apeiros
alex`` has quit [Quit: WeeChat 2.0.1]
bigblind has joined #ruby
emilford has quit [Ping timeout: 252 seconds]
alex`` has joined #ruby
Zaab1t has joined #ruby
Zaab1t has quit [Remote host closed the connection]
Zaab1t has joined #ruby
Zaab1t has quit [Remote host closed the connection]
Zaab1t has joined #ruby
joe_from_maine has quit [Ping timeout: 260 seconds]
loyaqua has quit [Quit: Textual IRC Client: www.textualapp.com]
karapetyan has quit [Remote host closed the connection]
emilford has joined #ruby
karapetyan has joined #ruby
hahuang61 has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
emilford has quit [Ping timeout: 256 seconds]
milardovich has joined #ruby
soniya29 has quit [Ping timeout: 240 seconds]
soniya29_ has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 268 seconds]
alex`` has quit [Quit: WeeChat 2.0.1]
emilford has joined #ruby
ryzokuken__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomlukeywood has joined #ruby
<tomlukeywood> How would i split a string into sections of characters?
<tomlukeywood> so for example splitting a string 100 characters into an array containing 20, 5 character strings.
<apeiros> tomlukeywood: str.scan(/.{,5}/m)
<tomlukeywood> apeiros: perfect ty!
chouhoulis has joined #ruby
alex`` has joined #ruby
<al2o3-cr> /.{5}/ or it'll give you 21 elements
antoine1 has joined #ruby
ryzokuken__ has joined #ruby
<apeiros> oh, right. .{1,5}
<apeiros> .{5} is fine if you know your string will always have a length with a multiple of 5
<apeiros> (or if you want to skip the last odd n chars)
Barrt has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
jottr has joined #ruby
karapetyan has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drewmcmillan has joined #ruby
sidx64_ has quit [Ping timeout: 276 seconds]
sidx64 has joined #ruby
sidx64_ has joined #ruby
sidx64 has quit [Ping timeout: 248 seconds]
<desperek> apeiros, how can i check if arrays have similar part?
<desperek> [0,1],[1,2] -> true
<apeiros> how do you determine "similar"?
milardovich has joined #ruby
<desperek> apeiros, as for, well, if one array contains part of another one
<desperek> like, [0,1] and [1,2] both have 1 so they return true
<apeiros> but in your example, the left array does not contain the right array…
hahuang61 has joined #ruby
<apeiros> neither does the right array contain the left
<desperek> apeiros, not whole, just a part
<apeiros> &ri Array#&
<apeiros> ^ that's intersection, will give you all common elements
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
<desperek> mkay ty
Vile` has joined #ruby
itp_student|2401 has joined #ruby
ryzokuken__ has quit [Quit: Textual IRC Client: www.textualapp.com]
ryzokuken has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 240 seconds]
bonhoeffer has joined #ruby
<bonhoeffer> it looks like I can't use ' in %x[curl foo] -- is that true?
itp_student|2401 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<bonhoeffer> getting lots of syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
<bonhoeffer> ....0.3282.186 Safari/537.36' -H 'Accept: text/html,application...
ericmath1son has quit [Quit: leaving]
<apeiros> ' can be used in %x
<apeiros> %x{echo 'hallo'} # => "hallo\n"
ericmathison has joined #ruby
<apeiros> if you have syntax errors, then because you made mistakes. not because you used ' in %x
workmad3 has joined #ruby
itp_student|1913 has joined #ruby
<phaul> apeiros: are the channel bots documented anywhere? I mean the list of bots and their commands?
<apeiros> ?help
<ruby[bot]> You can find an overview of my commands at http://ruby-community.com/ruboto/commands
<bonhoeffer> apeiros, thanks --- that helps
emilford has quit [Quit: leaving]
<phaul> apeiros: thanks, is @ruby[bot] all or are there others?
Vile` has quit [Quit: ...]
<apeiros> there's also derpy, which provides docs. just `&ri arg` (like cmd line ri)
orbyt_ has joined #ruby
<apeiros> though adaedra wanted to add that to ruboto (ruby[bot])
soniya29 has joined #ruby
<phaul> ok thanks
<apeiros> in general, bots are allowed as long as they a) don't conflict with ruby[bot], and b) don't violate any channel rules (like no spamming etc.)
soniya29_ has joined #ruby
<phaul> asm>> 1+1
<ruby[bot]> phaul: I have disassembled your code, the result is at https://eval.in/966467
naftilos76 has joined #ruby
itp_student|1913 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
ResidentBiscuit has joined #ruby
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
bigblind has quit [Ping timeout: 268 seconds]
cthulchu_ has joined #ruby
hahuang61 has joined #ruby
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
itp_student|1913 has joined #ruby
hahuang61 has quit [Ping timeout: 245 seconds]
itp_student|1913 has quit [Client Quit]
suhdood has joined #ruby
tomlukeywood has left #ruby [#ruby]
ptx0 has quit [Remote host closed the connection]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
ryzokuken has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
soniya29_ has quit [Quit: Leaving]
soniya29 has quit [Quit: Leaving]
itp_student|1913 has joined #ruby
<bonhoeffer> is there a way to get a multiline string %Q[] without newlines -- or just do a replace on that string for "\n"
itp_student|1913 has quit [Client Quit]
<bonhoeffer> oh -- I guess %W[]
karapetyan has joined #ruby
ptx0 has joined #ruby
<bonhoeffer> with .join(' ') of course
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
karapetyan has quit [Ping timeout: 240 seconds]
<apeiros> I tend to use "" \ for that
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
itp_student|1913 has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
itp_student|1913 has quit [Client Quit]
ryzokuken has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
BTRE has quit [Read error: Connection reset by peer]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
sidx64_ has quit [Read error: Connection reset by peer]
BTRE has joined #ruby
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
hahuang61 has joined #ruby
Barrt has quit [Quit: Leaving]
John_Ivan has quit [Ping timeout: 265 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ResidentBiscuit has quit [Remote host closed the connection]
karapetyan has joined #ruby
itp_student|1913 has joined #ruby
cdg has joined #ruby
hahuang61 has quit [Ping timeout: 252 seconds]
PMS has joined #ruby
Barrt has joined #ruby
itp_student|1913 has quit [Client Quit]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
tildes has joined #ruby
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
<bonhoeffer> thanks apeiros
itp_student|1913 has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
PMS has quit [Quit: • IRcap • 8.72 •]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
itp_student|1913 has quit [Client Quit]
bigblind has joined #ruby
itp_student|1913 has joined #ruby
<bonhoeffer> i'm trying to scan a file for a match -- in ruby: perl -lne 'print $1 if /NOTETHREADUID=(\d+)\&/' raw.txt
<bonhoeffer> of course that only produces one match
itp_student|1913 has quit [Client Quit]
<bonhoeffer> i'm trying to scan a file for all matches
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
roelof has joined #ruby
<roelof> Is there another free alternative to ruby monk. When I want to visit the site I see a certificate error
itp_student|1913 has joined #ruby
cdg has quit [Ping timeout: 245 seconds]
hahuang65 has quit [Quit: WeeChat 2.0.1]
jottr has quit [Ping timeout: 276 seconds]
<apeiros> bonhoeffer: that line might work exactly as that by just replacing `perl` with `ruby` :)
<apeiros> not sure about the -l, tho
<apeiros> bonhoeffer: anyway, how does your try in ruby look like?
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bonhoeffer> apeiros, i'll check out -- is that a site to try online
<apeiros> hu?
itp_student|1913 has quit [Client Quit]
<bonhoeffer> i almost have exactly what i want with: egrep -o 'NOTETHREADUID=([0-9]+)\&' raw.txt
guacamole has joined #ruby
guacamole has joined #ruby
<bonhoeffer> but the whole string shows, not the match
hahuang65 has joined #ruby
<bonhoeffer> ruby -ne 'print $1 if /NOTETHREADUID=([0-9]+)\&/' raw.txt <-- works for first match
guacamole has quit [Client Quit]
<apeiros> first match on one line? or first match in the whole file?
<bonhoeffer> ruby -ne 'print $1 if /NOTETHREADUID=([0-9]+)\&/' raw.txt <-- works for first match
<bonhoeffer> my line finds the first match in the file, but I'm looking for all matches
<apeiros> ruby -ne should not stop on the first match
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
cthulchu_ has quit [Ping timeout: 256 seconds]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
Barrt has quit [Quit: Leaving]
govg has quit [Ping timeout: 256 seconds]
Ali_ has joined #ruby
<Ali_> Encapsulate application's business logic (Service Object)
roelof has quit [Quit: Page closed]
guacamole has quit [Client Quit]
<Ali_> Let me know if you have any feedback
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
milardovich has joined #ruby
larissa_ has quit [Quit: bye]
suhdood has quit [Remote host closed the connection]
itp_student|1913 has joined #ruby
hahuang61 has joined #ruby
suhdood has joined #ruby
suhdood has quit [Max SendQ exceeded]
milardovich has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
itp_student|1913 has quit [Client Quit]
rrutkowski has joined #ruby
Ali_ has quit [Quit: Page closed]
pmcgee has joined #ruby
itp_student|1913 has joined #ruby
jxv has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pmcgee has quit [Client Quit]
aufi has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
itp_student|1913 has quit [Client Quit]
rrutkowski has quit [Client Quit]
rrutkowski has joined #ruby
itp_student|1913 has joined #ruby
mjolnird has quit [Remote host closed the connection]
larissa has joined #ruby
itp_student|1913 has quit [Client Quit]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
itp_student|1913 has joined #ruby
cr3 has joined #ruby
itp_student|1913 has quit [Client Quit]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
yadneshk has quit [Quit: Leaving]
John_Ivan has joined #ruby
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
itp_student|1913 has joined #ruby
jottr has joined #ruby
itp_student|1913 has quit [Client Quit]
John_Ivan has quit [Read error: Connection reset by peer]
suukim has quit [Quit: Konversation terminated!]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
Ltem has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
drewmcmillan has joined #ruby
hahuang61 has joined #ruby
antoine1_ has joined #ruby
Kilobyte22 has quit [Quit: ZNC - 1.6.0 - http://znc.in]
antoine1 has quit [Ping timeout: 252 seconds]
xfbs has joined #ruby
itp_student|1913 has joined #ruby
hahuang61 has quit [Ping timeout: 268 seconds]
jottr has quit [Ping timeout: 245 seconds]
itp_student|1913 has quit [Client Quit]
antoine1 has joined #ruby
DTZUZO has quit [Ping timeout: 256 seconds]
antoine1_ has quit [Ping timeout: 256 seconds]
DTZUZO has joined #ruby
antoine1 has quit [Quit: Bye bye!]
itp_student|1913 has joined #ruby
starseed0000 has joined #ruby
itp_student|1913 has quit [Client Quit]
rybu has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
naftilos76 has quit [Quit: Αποχώρησε]
Ishido has quit [Ping timeout: 256 seconds]
itp_student|1913 has joined #ruby
bigblind has quit [Ping timeout: 240 seconds]
itp_student|1913 has quit [Client Quit]
cadillac_ has quit [Ping timeout: 245 seconds]
hightower has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
cthulchu_ has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
rrutkowski has joined #ruby
ldepandis has joined #ruby
DTZUZU has quit [Ping timeout: 256 seconds]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mniip has joined #ruby
itp_student|1913 has joined #ruby
raynold has joined #ruby
itp_student|1913 has quit [Client Quit]
jxv has quit [Quit: zzz…]
jxv has joined #ruby
cthulchu_ has quit [Ping timeout: 256 seconds]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
vutral|kali has quit [Ping timeout: 256 seconds]
brucebag has quit [Quit: brucebag nipped out]
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
itp_student|1913 has joined #ruby
SirFunk has quit [Quit: ZNC - http://znc.in]
itp_student|1913 has quit [Client Quit]
tomphp has joined #ruby
bigblind has joined #ruby
jnollette has quit [Ping timeout: 255 seconds]
schneider has quit [Ping timeout: 240 seconds]
SirFunk has joined #ruby
mynameisdebian has joined #ruby
schneider has joined #ruby
rybu has quit [Quit: Page closed]
jnollette has joined #ruby
DTZUZU has joined #ruby
sidx64 has joined #ruby
milardovich has joined #ruby
vutral|kali has quit [Ping timeout: 256 seconds]
guille-moe has joined #ruby
SirFunk has quit [Quit: ZNC - http://znc.in]
John_Ivan has joined #ruby
itp_student|1913 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
John_Ivan has quit [Read error: Connection reset by peer]
enigma_ has joined #ruby
itp_student|1913 has quit [Client Quit]
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
vutral|kali has joined #ruby
milardovich has quit [Ping timeout: 252 seconds]
sidx64 has quit [Ping timeout: 248 seconds]
idiocrash has joined #ruby
sidx64 has joined #ruby
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
itp_student|1913 has joined #ruby
guille-moe has quit [Ping timeout: 256 seconds]
itp_student|1913 has quit [Client Quit]
jxv has quit [Quit: zzz…]
hightower has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mynameisdebian has quit [Quit: Leaving]
itp_student|1913 has joined #ruby
minimalism has joined #ruby
itp_student|1913 has quit [Client Quit]
hahuang61 has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt_ has joined #ruby
brucebag has joined #ruby
brucebag has quit [Changing host]
brucebag has joined #ruby
SirFunk has joined #ruby
hahuang61 has quit [Ping timeout: 268 seconds]
hightower has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Remote host closed the connection]
cdg has joined #ruby
itp_student|1913 has joined #ruby
guacamole has joined #ruby
DTZUZU has quit [Ping timeout: 240 seconds]
xfbs has quit []
itp_student|1913 has quit [Client Quit]
jxv has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
idiocrash has quit [Quit: Textual IRC Client: www.textualapp.com]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jnollette has quit [Remote host closed the connection]
Ltem has quit [Quit: bye]
jnollette has joined #ruby
faces has quit [Ping timeout: 256 seconds]
cr3 has quit [Quit: leaving]
jxv has quit [Quit: zzz…]
caoraivoso has joined #ruby
drewmcmillan has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
roelof has joined #ruby
<roelof> What is the best free resource to learn ruby with challenges ?
hahuang61 has quit [Ping timeout: 260 seconds]
DTZUZU has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
jottr has joined #ruby
bigblind has quit [Ping timeout: 240 seconds]
roelof has quit [Quit: Page closed]
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
John_Ivan has joined #ruby
nowhere_man has joined #ruby
caoraivoso has quit [Quit: leaving]
houhoulis has quit []
nowhereman_ has quit [Ping timeout: 245 seconds]
tomphp has joined #ruby
Dimik has joined #ruby
DTZUZO has quit [Ping timeout: 265 seconds]
Zaab1t has quit [Remote host closed the connection]
itp_student|1913 has joined #ruby
DTZUZO has joined #ruby
itp_student|1913 has quit [Client Quit]
sidx64 has quit [Ping timeout: 256 seconds]
itp_student|1913 has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
itp_student|1913 has quit [Client Quit]
amatas has quit [Quit: amatas]
itp_student|1913 has joined #ruby
larissa has quit [Quit: bye]
itp_student|1913 has quit [Client Quit]
larissa has joined #ruby
goatish has quit [Quit: Hibernating]
aufi has quit [Remote host closed the connection]
itp_student|1913 has joined #ruby
goatish has joined #ruby
hndk has quit [Quit: Leaving]
itp_student|1913 has quit [Client Quit]
jottr has joined #ruby
biberu has quit []
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bigblind has joined #ruby
yaiyaichu has joined #ruby
ElDoggo has joined #ruby
alex`` has quit [Quit: WeeChat 2.0.1]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
daemonwrangler has quit [Quit: ZNC 1.6.5 - http://znc.in]
daemonwrangler has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ElDoggo has quit []
Fusselgesicht has quit [Quit: leaving]
c0ncealed has quit [Remote host closed the connection]
c0ncealed has joined #ruby
milardovich has joined #ruby
DTZUZU has quit [Ping timeout: 245 seconds]
ryzokuken has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
itp_student|1913 has joined #ruby
kapil___ has joined #ruby
itp_student|1913 has quit [Client Quit]
itp_student|1913 has joined #ruby
<yaiyaichu> exit
yaiyaichu has quit [Quit: WeeChat 1.4]
itp_student|1913 has quit [Client Quit]
yaiyaichu has joined #ruby
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
Mkop has joined #ruby
jxv has joined #ruby
Mkop has quit [Quit: This computer has gone to sleep]
itp_student|1913 has joined #ruby
jxv has quit [Quit: zzz…]
itp_student|1913 has quit [Client Quit]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
John_Ivan has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
RougeR has quit [Ping timeout: 260 seconds]
DTZUZU has joined #ruby
hahuang61 has quit [Ping timeout: 276 seconds]
ogres has joined #ruby
Matthew1 has joined #ruby
ogres has quit [Client Quit]
desperek has quit [Quit: xoxo]
<yaiyaichu> yo
<Radar> hio
itp_student|1913 has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
itp_student|1913 has quit [Client Quit]
schneider has quit [Ping timeout: 245 seconds]
yaiyaichu has left #ruby [#ruby]
rrutkowski has joined #ruby
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
jamesaxl has quit [Quit: WeeChat 2.0.1]
itp_student|1913 has joined #ruby
AJA4350 has joined #ruby
itp_student|1913 has quit [Client Quit]
cdg has joined #ruby
jxv has joined #ruby
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
cdg has quit [Ping timeout: 245 seconds]
\void has quit [Quit: So long, and thanks for all the fish.]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
DTZUZO has quit [Ping timeout: 256 seconds]
DTZUZO has joined #ruby
bigblind has quit [Ping timeout: 268 seconds]
mtkd has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Quit: WeeChat 2.0.1]
tomphp has joined #ruby
tomphp has quit [Client Quit]
jenrzzz has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 240 seconds]
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
hahuang61 has joined #ruby
itp_student|1913 has joined #ruby
itp_student|1913 has quit [Client Quit]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
hahuang61 has quit [Ping timeout: 256 seconds]
itp_student|1913 has joined #ruby
eckhardt_ has joined #ruby
itp_student|1913 has quit [Client Quit]
DTZUZO has quit [Ping timeout: 268 seconds]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
bigblind has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
GodFather has joined #ruby
ta_ has quit [Remote host closed the connection]
itp_student|1913 has joined #ruby
nowhereman_ has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
itp_student|1913 has quit [Client Quit]
Matthew1 has quit []
ta_ has joined #ruby
itp_student|1913 has joined #ruby
ta_ has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 245 seconds]
itp_student|1913 has quit [Client Quit]
ResidentBiscuit has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ResidentBiscuit has quit [Client Quit]
Barrt has joined #ruby