havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8; 2.0.0-p648: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
dfinninger has joined #ruby
<reaVer> HAPPY NEW YEAR EVERYONE!!!
<Ox0dea> >> Time.now.year
<ruboto> Ox0dea # => 2016 (https://eval.in/496103)
<Ox0dea> !!!
gguggi has joined #ruby
bubbys has quit [Ping timeout: 250 seconds]
chipotle has quit [Ping timeout: 250 seconds]
peeja has joined #ruby
annomander has quit [Quit: WeeChat 1.3]
speakingcode has quit [Ping timeout: 255 seconds]
dfinninger has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
duckpuppy has joined #ruby
luluapple has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 246 seconds]
DLSteve has joined #ruby
duckpuppy has quit [Ping timeout: 250 seconds]
arescorpio has joined #ruby
luluapple has joined #ruby
Morrolan has joined #ruby
bithon has quit [Ping timeout: 276 seconds]
davedev24 has quit [Ping timeout: 250 seconds]
davedev2_ has joined #ruby
Jardayn has quit [Read error: Connection reset by peer]
rom1504 has joined #ruby
bradleyprice has joined #ruby
luluapple has quit [Remote host closed the connection]
luluapple has joined #ruby
devbug_ has joined #ruby
Ishido has quit [Remote host closed the connection]
bithon has joined #ruby
skcin7 has quit [Ping timeout: 255 seconds]
sandstrom has joined #ruby
devbug has quit [Ping timeout: 260 seconds]
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devbug has joined #ruby
pawnbox has joined #ruby
skcin7 has joined #ruby
sgambino has joined #ruby
devbug_ has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 265 seconds]
diegoviola has joined #ruby
FernandoBasso has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 260 seconds]
<havenwood> >> Math.sin(Math::PI/16).to_s.chars.rotate(10).take(4).join
<ruboto> havenwood # => "2016" (https://eval.in/496106)
<havenwood> >> Math.sqrt((137 - 1/(57 + Math.sqrt(Math::PI)/10))/(2 * Math::PI)).to_s.chars.rotate(5).take(4).join
<ruboto> havenwood # => "2016" (https://eval.in/496107)
<Zarthus> >> "2016"
<ruboto> Zarthus # => "2016" (https://eval.in/496108)
<Zarthus> mine is the shortest.
luluapple has quit [Remote host closed the connection]
yes`r has quit [Ping timeout: 276 seconds]
peeja has quit [Ping timeout: 265 seconds]
symm- has quit [Quit: Leaving...]
<Ox0dea> So brave.
bkxd has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
mary5030 has joined #ruby
diegoviola has quit [Ping timeout: 260 seconds]
peeja has joined #ruby
tenseiten has joined #ruby
<Ox0dea> >> 'Happy New Year, #ruby! <3'.bytes.reduce :+
<ruboto> Ox0dea # => 2014 (https://eval.in/496110)
<Ox0dea> Well, this is embarrassing.
dfinninger has joined #ruby
colegatron has quit [Ping timeout: 272 seconds]
last_staff has joined #ruby
s2013 has joined #ruby
<hxegon> can reduce take any proc that takes two arguments that way?
<hxegon> yes
peeja has quit [Ping timeout: 264 seconds]
Gaelan has joined #ruby
tenseiten has quit [Ping timeout: 260 seconds]
gizmore has joined #ruby
curses has joined #ruby
<Ox0dea> It'd be nifty if we could do a "splatting reduce" via `*:foo`, but #to_ary must return an Array. :/
gizless has quit [Ping timeout: 264 seconds]
<Ox0dea> I wish that limitation weren't a thing.
<Ox0dea> Four general-purpose unary operators just isn't enough.
pawnbox has joined #ruby
<AlexTheLion> Since one thing I love about ruby is complicating things and yet somehow making it work
<AlexTheLion> >> ("from " + (( 'Happy New Year, #ruby! <3'.bytes.reduce :+).to_i + 1).to_s + " to " + (( 'Happy New Year, #ruby! <3'.bytes.reduce :+).to_i + 2).to_s)
<ruboto> AlexTheLion # => "from 2015 to 2016" (https://eval.in/496111)
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> What's so complicated about addition? :P
<Ox0dea> >> 2015.succ
<ruboto> Ox0dea # => 2016 (https://eval.in/496112)
<Ox0dea> There we go.
juddey has quit [Ping timeout: 255 seconds]
diegoviola has joined #ruby
<AlexTheLion> yeah just took to long write
thejamespinto has joined #ruby
curses has quit [Ping timeout: 264 seconds]
<AlexTheLion> there is a .succ method on numbers ?
<AlexTheLion> I knew I would learn something interesting here
<Ox0dea> >​> 2016.rock!
Gaelan has quit [Quit: Gaelan]
bkxd has quit [Ping timeout: 256 seconds]
<Ox0dea> AlexTheLion: That's certainly the most natural place to find a successor function.
<Ox0dea> It's available on all sorts of Comparables, though.
colegatron has joined #ruby
dfinninger has quit [Remote host closed the connection]
<AlexTheLion> I am really really new to ruby so there is a lot I don't know.
<Ox0dea> Yay!
<AlexTheLion> Is it available on arrays ?
<Ox0dea> No.
Gaelan has joined #ruby
pawnbox has quit [Ping timeout: 256 seconds]
<Ox0dea> >> ObjectSpace.each_object(Class).select { |c| c.instance_methods.include? :succ }
dfg810 has joined #ruby
<ruboto> Ox0dea # => [Time, Bignum, Fixnum, Integer, Symbol, String] (https://eval.in/496113)
<AlexTheLion> What kind of magic was that ? and also thank you that was useful to know.
symm- has joined #ruby
<Ox0dea> Ruby magic!
<Ox0dea> ObjectSpace is a window into the interpreter's soul.
<AlexTheLion> I just looked it up in Ruby-docs.
RobertBirnie has joined #ruby
<AlexTheLion> How do people learn about this do I just randomly brows the docs ?
<dtordable2> Is magical or voodoo?
colegatron has quit [Ping timeout: 256 seconds]
Gaelan has quit [Client Quit]
Gaelan has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
darkxploit has quit [Ping timeout: 260 seconds]
diegoviola has quit [Ping timeout: 240 seconds]
diego1 is now known as diegoviola
gizless has joined #ruby
hxegon is now known as hxegon_AFK
<lannonbr> Whoo. Ruby 2.3 is in the Arch Repos!
gizmore has quit [Ping timeout: 264 seconds]
chipotle has joined #ruby
gizmore has joined #ruby
<shevy> AlexTheLion depends on what kind of basics you already know; the above examples of manipulating ObjectSpace are fairly rare, the ruby core team likes to keep some things secret; you can ask havenwood how he learned the bag of tricks, mostly by reading a lot of code
<Ox0dea> lannonbr: Consider running [testing]. :P
rodfersou has quit [Remote host closed the connection]
<lannonbr> It really isn't that bad to wait 6 days
<Ox0dea> And yet here you are rejoicing.
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gizmore|2 has joined #ruby
<Ox0dea> In any case, I wasn't being facetious. Run [testing] to help catch bugs before they spread.
<AlexTheLion> So asumming I know the basics, Is there a book that will go into the advance parts or rubies without going though the basics( or a video course, I am much better at listening then reading) because the tutorials I watched covered something like objectecs, mixins, etc. But never talked about rubygems, what they are ? How to use them ? etc. I ended up researching those things on
<AlexTheLion> my own and I am just wondering fi there is anything I else missed
gizless has quit [Ping timeout: 272 seconds]
<Ox0dea> AlexTheLion: "Passive learning" is a myth.
hxegon_AFK is now known as hxegon
<Gaelan> >> Time.now.localtime('-08:00').year # :(
<ruboto> Gaelan # => 2015 (https://eval.in/496114)
gizmore has quit [Ping timeout: 265 seconds]
ruby-lang857 has joined #ruby
phredus has quit [Read error: Connection reset by peer]
darkxploit has joined #ruby
<ruby-lang857> Hi I've been searching on the net for a while now but I can't seem to find the answer. Is there a way to take an input/argument as a binary?
<AlexTheLion> Ox0dea agreed, But sometimes I have no idea how some people know so much
brixen_ is now known as brixen
<Gaelan> ruby-lang857: do you mean? Convert the input to a binary string?
<Gaelan> What do you mean?*
<Papierkorb> AlexTheLion: "I want to do this. No idea how. Googling ..."
<Ox0dea> >> '101010'.to_i(2) # ruby-lang857
<ruboto> Ox0dea # => 42 (https://eval.in/496115)
<ruby-lang857> is there a way to take an input and use it as binary without converting
<Ox0dea> >> 0b101010 # ruby-lang857
<ruboto> Ox0dea # => 42 (https://eval.in/496116)
hxegon has quit [Quit: PEACE OUT]
<ruby-lang857> if the input was 001010 i want to use it as binary without converting it back and fort
bkxd has joined #ruby
<shevy> AlexTheLion for rubygems, the best way is to build a .gem ... but before you do so, you may have to write any code that does something useful
<Ox0dea> ruby-lang857: You mean you want to work with it as an integer?
arooni_______ has joined #ruby
<ruby-lang857> if the input is 0010 (prepended by 0s and without '0b' it'll get converted to integer automatically
<Ox0dea> ruby-lang857: No, that's an octal literal.
<Ox0dea> >> 0010 == 10
<ruboto> Ox0dea # => false (https://eval.in/496117)
<Ox0dea> ruby-lang857: Are you taking user input?
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dmr8 has joined #ruby
<ruby-lang857> for example I want to write a method and use it like so - get_bit(0010, 3) => 1
<ruby-lang857> it'll get the third bit and return 1
<Ox0dea> It seems you want to allow users of your code to supply a numeric argument using only 1s and 0s, but that won't work since `010 != 10`. The user wanted to supply the number 2 in binary, but you have no way to disambiguate.
atomical has quit [Ping timeout: 246 seconds]
<ruby-lang857> but i want to be able to take 0010 as an input without it being converted
<Ox0dea> ruby-lang857: Why not `0b0010`?
karapetyan has joined #ruby
<Ox0dea> Masochist?
gizmore has joined #ruby
<ruby-lang857> got it. so it's not do-able then
<Ox0dea> Not in the general case, no.
atomical has joined #ruby
<AlexTheLion> shevy I saw some of the screencasts made by Destory All Software and they were talking about mutations and other weird things (rSpec, Cucumber, etc..). also do I really have to use vim ?
<ruby-lang857> ok got it! thank you so much. I've been stuck on this for a long time now. really appreaciate it!
<Ox0dea> I mean, you could parse the source file, but that's crazy.
<Ox0dea> ruby-lang857: For what it's worth, there's already a "get_bit" method.
<Ox0dea> >> 0b0010[1]
<ruboto> Ox0dea # => 1 (https://eval.in/496118)
juddey has joined #ruby
<Ox0dea> 0-indexed from the LSB.
dorei has quit []
<Gaelan> >> 2[1]
<ruboto> Gaelan # => 1 (https://eval.in/496119)
<Gaelan> Thought so.
ascarter has joined #ruby
<Ox0dea> >> -1[Float::MAX]
<ruboto> Ox0dea # => 1 (https://eval.in/496120)
aibot has quit [Ping timeout: 276 seconds]
houhoulis has joined #ruby
gizmore|2 has quit [Ping timeout: 265 seconds]
<ruby-lang857> thanks Ox0dea!
<ruby-lang857> btw, happy new year guys!
ledestin has joined #ruby
<Ox0dea> Inshallah.
<Gaelan> >> .1[1]
<ruboto> Gaelan # => /tmp/execpad-6f9ff5058de9/source-6f9ff5058de9:2: no .<digit> floating literal anymore; put 0 before ...check link for more (https://eval.in/496122)
<Gaelan> >> 0.1[1]
<ruboto> Gaelan # => undefined method `[]' for 0.1:Float (NoMethodError) ...check link for more (https://eval.in/496123)
<Ox0dea> >> class String; def * n; chars.cycle.take(size * n).join end end; 'foobar' * 2.5
<ruboto> Ox0dea # => "foobarfoobarfoo" (https://eval.in/496124)
<Gaelan> >> ‘foobar’ * 2.5
<ruboto> Gaelan # => undefined local variable or method `‘foobar’' for main:Object (NameError) ...check link for more (https://eval.in/496125)
pawnbox has joined #ruby
<Gaelan> >> “foobar” * 2.5
<ruboto> Gaelan # => undefined local variable or method `“foobar”' for main:Object (NameError) ...check link for more (https://eval.in/496126)
<Gaelan> Oh, smart quotes.
<Gaelan> >> "foobar" * 2.5
<ruboto> Gaelan # => "foobarfoobar" (https://eval.in/496127)
kalopsian has quit [Ping timeout: 256 seconds]
duncannz has joined #ruby
scripore has joined #ruby
weemsledeux has joined #ruby
<shevy> AlexTheLion you must start from the bottom, not from the top
pawnbox has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
<Ox0dea> AlexTheLion: Listen to your heart.
<Ox0dea> *thump thump*
gambl0re has quit []
ruby-lang857 has quit [Ping timeout: 252 seconds]
<AlexTheLion> Ox0dea Funny my old username was AlexTheLionHeart
<AlexTheLion> Anyway I need to figure out an easy project I can do in Ruby to fill in the gaps
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<AlexTheLion> I am thinking a web spider but don't know how complex it can get
<shevy> something that you can use
<shevy> something simpler
thejamespinto has quit [Remote host closed the connection]
<Gaelan> AlexTheLion: I think a Twitter clone would be pretty simple, if you wanted to go towards the webside of things.
kalopsian has joined #ruby
symm- has quit [Quit: Leaving...]
<AlexTheLion> Gaelan I am learning Rails too but I would like to learn Ruby as Scripting+Web not just Web
<AlexTheLion> because I LOVE it's syntax
<AlexTheLion> *its
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Gaelan> AlexTheLion: Just wail till you find out about the semantics. They’re even better!
colegatron has joined #ruby
thejamespinto has joined #ruby
curses has joined #ruby
weemsledeux has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
<Ox0dea> AlexTheLion: How do you mean?
framling has joined #ruby
kegan_ has joined #ruby
CloCkWeRX1 has quit [Quit: Leaving.]
ibouvousaime has quit [Ping timeout: 250 seconds]
Dimik has quit [Ping timeout: 276 seconds]
bithon has left #ruby ["WeeChat 1.3"]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<diegoviola> happy new year
stamina has quit [Ping timeout: 276 seconds]
bkxd has joined #ruby
duckpuppy has joined #ruby
iateadonut has joined #ruby
dmr8 has quit [Read error: Connection reset by peer]
duckpuppy has quit [Ping timeout: 276 seconds]
stannard has quit [Remote host closed the connection]
aspire has quit [Quit: Leaving]
babblebre has quit [Quit: Connection closed for inactivity]
hackeron_ has quit [Ping timeout: 240 seconds]
colegatron has quit [Ping timeout: 264 seconds]
emptyflask has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 264 seconds]
hackeron has joined #ruby
DLSteve has joined #ruby
aibot has joined #ruby
build22 has quit [Remote host closed the connection]
Gaelan has quit [Quit: Gaelan]
last_staff has quit [Quit: last_staff]
bkxd has quit [Ping timeout: 256 seconds]
bkxd_ has joined #ruby
RobertBirnie has quit [Ping timeout: 246 seconds]
Gaelan has joined #ruby
colegatron has joined #ruby
QpQ4__ has joined #ruby
govg has joined #ruby
QpQ4__ has quit [Client Quit]
bkxd_ has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
nanoz has joined #ruby
Plazma has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
mic_e has quit [Ping timeout: 260 seconds]
arquebus has joined #ruby
robh71 has joined #ruby
robh71 has quit [Max SendQ exceeded]
emptyflask has joined #ruby
RobertBirnie has joined #ruby
jdawgaz has quit [Client Quit]
ruid has joined #ruby
ruid has quit [Changing host]
ruid has joined #ruby
arquebus has quit [Client Quit]
jdawgaz has joined #ruby
tenseiten has joined #ruby
A124 has quit [Read error: Connection reset by peer]
tenseiten has quit [Ping timeout: 256 seconds]
dlitvak has joined #ruby
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
A124 has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
dlitvak has quit [Ping timeout: 255 seconds]
DarkElement has joined #ruby
yeticry has joined #ruby
<DarkElement> Looking for help with a sequel problem. Is this an alright place to ask?
<shevy> problem is that not that many here know sequel
<shevy> you can still try to ask
<DarkElement> Alright
<havenwood> DarkElement: The Sequel gem?
<DarkElement> Problem is that i'm trying to check if there are rows in a table that match the right where condition, so I do result = listings_tbl.filter(:address => listing_addr). Except it never returns the result, just gets stuck.
<DarkElement> Yes, the Sequel gem.
<DarkElement> Whether the element be present or not, it doesn't find the result. My connection is fine since I can insert values, just can't do this for some reason.
<havenwood> DarkElement: What DB?
<DarkElement> havenwood: localhost one.
<DarkElement> Oh
<havenwood> DarkElement: (Curious if it's sqlite.)
<DarkElement> MySQL
<DarkElement> mysql2 for the adapter
<havenwood> aha
<havenwood> hem
<DarkElement> It does an insert query the line before just fine
<DarkElement> But even if i remove the insert query, nothing
bkxd has joined #ruby
<DarkElement> Ok, progress made. I tried printing it directly instead of assigning variable, and that seemed to work
mary5030 has quit [Remote host closed the connection]
<DarkElement> Problem solved, I was the problem
<DarkElement> <--too stupid
weemsledeux has joined #ruby
<Ox0dea> DarkElement: Filtering is lazy.
<Ox0dea> Computation only when necessary!
<DarkElement> Ox0dea: you're lazy
<DarkElement> It's necessary.
<DarkElement> And also, got em
<Ox0dea> When you go to print it, yes.
<havenwood> Laziness is a virtue.
<DarkElement> I was going to look up how to do a select count(*) instead of * with sequel
<DarkElement> But had to fix problem first.
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
<DarkElement> Now I must go my ruby needs me
DarkElement has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
MattV has quit [Quit: Leaving.]
N1993RS has joined #ruby
N1993RS was kicked from #ruby by ChanServ [Banned: Unacceptable nick - http://ruby-community.com/pages/user_rules#rule_2_10]
stannard has joined #ruby
yes`r has joined #ruby
CloCkWeRX has joined #ruby
xlegoman has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
kobain has quit [Read error: Connection reset by peer]
stannard has quit [Ping timeout: 260 seconds]
MattV has joined #ruby
ur5us has joined #ruby
karapetyan has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has quit [Ping timeout: 245 seconds]
karapetyan has quit [Ping timeout: 245 seconds]
AlexTheLion has quit [Ping timeout: 260 seconds]
AlexTheLion has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gaelan has quit [Quit: Gaelan]
yqt has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
yfeldblum has joined #ruby
kobain has joined #ruby
postmodern has joined #ruby
orion has joined #ruby
<orion> Hi. Why does this code not print anything out?: https://gist.github.com/centromere/8ce3b1c59eb8e9a3b3f6
<havenwood> orion: You'll see if you set: Thread.abort_on_exception = true
davedev2_ has quit []
anaeem1 has joined #ruby
speakingcode has joined #ruby
<havenwood> orion: ("Object#timeout is deprecated, use Timeout.timeout instead." And you'll need to `require 'timeout'`.)
<orion> havenwood: thank you
<havenwood> orion: you're welcome
Gaelan has joined #ruby
xlegoman has quit [Quit: xlegoman]
kalopsian has quit [Ping timeout: 250 seconds]
jdawgaz has joined #ruby
dgynn has quit [Quit: dgynn]
dfg810 has quit [Ping timeout: 276 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DarkElement has joined #ruby
<DarkElement> Ok i'm back
<Ox0dea> Prove it.
ruid has quit [Ping timeout: 272 seconds]
darkxploit has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
<DarkElement> How can I insert a variable directly into a Sequel query
iateadonut has quit [Quit: Leaving.]
<DarkElement> Since the example given didn't work
bkxd has quit [Ping timeout: 245 seconds]
SylarRuby has joined #ruby
vikas027 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dgynn has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DarkElement> Just, how can I insert a variable as a column name in a sequel query
<DarkElement> all I want
pontiki has joined #ruby
<DarkElement> But it never works!
<DarkElement> Every single language
<DarkElement> And library
<DarkElement> There is a problem with that shit
mostlybadfly has joined #ruby
<Ox0dea> Real craftsmen blame their tools, amirite?
<DarkElement> Thanks for the great help man
<DarkElement> Really good stuff
arooni_______ has quit [Ping timeout: 260 seconds]
weemsledeux has joined #ruby
braincrash has quit [Quit: bye bye]
<Ox0dea> <insert something about giving a man a fish>
<shevy> <insert something about wasting people's time>
<DarkElement> Except there is no teaching happening
<DarkElement> You are just wasting my time by making me think someone has responded with help
<shevy> DarkElement the real problem is that there are not many sequel experts here
<DarkElement> Yea but no one is responding in sequel so this is all I've got.
<shevy> DarkElement yeah but once you understand this about him you can try your best to ignore him
<DarkElement> shevy: already done.
rkazak has quit [Quit: Sleep.....ing....]
<shevy> sequel was the general SQL adaptor?
<DarkElement> yea
<DarkElement> I believe so
<DarkElement> It's a library for ruby to comm with mysql
<DarkElement> I'm using mysql2 for sequel to connect to my db however
<shevy> I did not try much with it, from my local examples it seems as if I tried to use sqlite... DB = Sequel.sqlite
<Ox0dea> DarkElement: Do you realize that you're just passing a regular-ol' Ruby Hash into #where?
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<DarkElement> Ah
rkazak_ has joined #ruby
<DarkElement> Well it was working so far so good with mysql2 until this
<DarkElement> I don't think the connector matters
duckpuppy has joined #ruby
charliesome has joined #ruby
puria has quit [Ping timeout: 240 seconds]
duckpuppy has quit [Ping timeout: 255 seconds]
braincrash has joined #ruby
stannard has joined #ruby
pawnbox has joined #ruby
SylarRuby has quit []
asccigcc has joined #ruby
stannard has quit [Ping timeout: 246 seconds]
puria has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
vikaton has joined #ruby
senayar has joined #ruby
colegatron has quit [Ping timeout: 276 seconds]
llfwf33 has joined #ruby
curses has quit [Ping timeout: 240 seconds]
decoponio has quit [Quit: Leaving...]
darkf has joined #ruby
scottschecter has quit [Quit: Leaving]
speakingcode has quit [Ping timeout: 245 seconds]
ghox has quit [Read error: Connection timed out]
colegatron has joined #ruby
CloCkWeRX has joined #ruby
agent_white has joined #ruby
arescorpio has quit [Quit: Leaving.]
dfinninger has joined #ruby
kam270 has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
emptyflask has quit []
hxegon has joined #ruby
kobain has quit [Ping timeout: 240 seconds]
devoldmx has quit [Remote host closed the connection]
jdawgaz has joined #ruby
dfinninger has quit [Remote host closed the connection]
agent_white has quit [Client Quit]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
asccigcc has quit [Quit: asccigcc]
agent_white has joined #ruby
asccigcc has joined #ruby
duncannz has quit [Remote host closed the connection]
asccigcc has quit [Client Quit]
Gaelan has quit [Read error: Connection reset by peer]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
hxegon has quit [Quit: BRB]
Domaldel has joined #ruby
Domaldel is now known as Domaldel
chipotle has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
tenseiten has joined #ruby
tenseiten has quit [Changing host]
tenseiten has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
anaeem1 has quit [Remote host closed the connection]
DarkElement has quit [Ping timeout: 240 seconds]
tenseiten has quit [Ping timeout: 265 seconds]
scripore has quit [Quit: Leaving]
rkazak_ has quit [Quit: Sleep.....ing....]
weemsledeux has joined #ruby
pawnbox has joined #ruby
<_blizzy_> this place isn't active. there hasn't been a message in this channel all year.
weemsledeux has quit [Max SendQ exceeded]
<AlexTheLion> HAPPY NEW YEAR and may your code always be bugless
chipotle_ has joined #ruby
kirun has quit [Quit: Client exiting]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CloCkWeRX has quit [Ping timeout: 276 seconds]
juddey has quit [Ping timeout: 265 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
dopie has quit [Quit: Lost terminal]
andywojo has quit [Ping timeout: 276 seconds]
senayar has quit [Remote host closed the connection]
ElFerna has joined #ruby
bkxd has joined #ruby
kenbi has joined #ruby
doublemalt_ has joined #ruby
FooMunki has quit [Quit: FooMunki]
arup_r has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
startupality has joined #ruby
ElFerna has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoubleMalt has quit [Ping timeout: 256 seconds]
startupality has quit [Client Quit]
anaeem1_ has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
nanoz has quit [Ping timeout: 245 seconds]
bkxd has quit [Ping timeout: 265 seconds]
smactive has joined #ruby
<shevy> _blizzy_ did you just transition into new year?
<shevy> for me it's past 6 hours now or something
<_blizzy_> shevy, yes, New Years started for me like 35 minutes ago.
smactive has quit [Ping timeout: 240 seconds]
<Ox0dea> EST reppazint!
<Ox0dea> (Sorry.)
curses has joined #ruby
<shevy> aha
andywojo has joined #ruby
<slash_nick> with UGT we all celebrate the new year for each timezone..
chipotle_ is now known as chipotle
kalopsian has joined #ruby
<Ox0dea> 24.times { say "Happy new year!" and sleep 1.hour }
<Ox0dea> (And they say Python is executable pseudocode.)
colegatron has quit [Ping timeout: 276 seconds]
curses has quit [Remote host closed the connection]
devoldmx has joined #ruby
kalopsian has quit [Quit: leaving]
kalopsian has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
peeja has joined #ruby
colegatron has joined #ruby
pawnbox has quit [Remote host closed the connection]
Gaelan has joined #ruby
vdamewood has joined #ruby
diegoviola has joined #ruby
harai54 has quit [Ping timeout: 256 seconds]
solocshaw has quit [Ping timeout: 255 seconds]
chipotle_ has joined #ruby
aspire has joined #ruby
dlitvak has joined #ruby
duckpuppy has joined #ruby
pawnbox has joined #ruby
chipotle has quit [Ping timeout: 260 seconds]
Gaelan has quit [Quit: Gaelan]
duckpuppy has quit [Ping timeout: 272 seconds]
diegoviola has quit [Quit: WeeChat 1.3]
Cohedrin has joined #ruby
ur5us has joined #ruby
Gaelan has joined #ruby
filippos has quit [Ping timeout: 276 seconds]
tmtwd has joined #ruby
charliesome has joined #ruby
nerium has joined #ruby
zapata has quit [Quit: WeeChat 1.3]
zapata has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
rippa has joined #ruby
chipotle has joined #ruby
postmodern has quit [Quit: Leaving]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle_ has quit [Ping timeout: 264 seconds]
_blizzy_ has quit [Quit: Leaving]
Gaelan has quit [Quit: Gaelan]
RobertBirnie has quit [Ping timeout: 256 seconds]
RobertBirnie has joined #ruby
Gaelan has joined #ruby
dlitvak has quit [Remote host closed the connection]
solocshaw has joined #ruby
adgtl has joined #ruby
peeja has quit [Ping timeout: 264 seconds]
arup_r has quit [Remote host closed the connection]
dlitvak has joined #ruby
arup_r has joined #ruby
blackgoat has quit [Quit: WeeChat 1.3]
chipotle has quit [Quit: cheerio]
adgtl has quit [Client Quit]
devoldmx has joined #ruby
claw has quit [Ping timeout: 276 seconds]
juddey has joined #ruby
fantazo has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
charliesome has joined #ruby
dlitvak has quit [Ping timeout: 260 seconds]
devoldmx has quit [Ping timeout: 246 seconds]
peeja has joined #ruby
claw has joined #ruby
andywojo has quit [Ping timeout: 276 seconds]
peeja has quit [Ping timeout: 265 seconds]
tenseiten has joined #ruby
tenseiten has quit [Changing host]
tenseiten has joined #ruby
blackgoat has joined #ruby
tenseiten has quit [Ping timeout: 256 seconds]
tmtwd has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
mooe has joined #ruby
vdamewood has quit [Quit: Life beckons.]
nanoz has joined #ruby
howdoi has joined #ruby
Gaelan has quit [Quit: Gaelan]
Lewix has quit [Ping timeout: 240 seconds]
chipotle_ has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
chipotle has quit [Ping timeout: 250 seconds]
devoldmx has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
Gaelan has joined #ruby
MattV has quit [Quit: Leaving.]
agent_white has joined #ruby
agent_white has quit [Changing host]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
agent_white has joined #ruby
ur5us has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
AlexTheLion has quit [Quit: Be back later ...]
Gaelan has quit [Client Quit]
chipotle_ has quit [Ping timeout: 272 seconds]
AlexTheLion has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
llfwf33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Lewix has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
tmtwd has joined #ruby
Waheedi has quit [Quit: Waheedi]
agent_white has quit [Ping timeout: 240 seconds]
Gaelan has joined #ruby
kies has quit [Remote host closed the connection]
agent_white has joined #ruby
Gaelan has quit [Client Quit]
curses has joined #ruby
nerium has quit [Quit: nerium]
s2013 has joined #ruby
llfwf33 has joined #ruby
Gaelan has joined #ruby
Gaelan has quit [Client Quit]
agent_white has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
curses has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gaelan has joined #ruby
RegulationD has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Changing host]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<Ox0dea> Thoughts on a nicer way to write `[ary[-1]] + ary + [ary[0]]`?
Wsewolod has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
agent_white has left #ruby [#ruby]
RegulationD has quit [Ping timeout: 245 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hagebake has quit [Read error: Connection reset by peer]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Gaelan> Happy PDT new year!
<Gaelan> PST*
<Gaelan> Anyway, is there a way to overload ||?
<Ox0dea> Gaelan: 'Fraid not: https://eval.in/496143
<Ox0dea> No method calls, you'll note.
<Ox0dea> You can override #|, of course.
nanoz] has joined #ruby
<Gaelan> Guess that would be an OK alternative. Working on (ab)using operator overloads for pretty mongo queries e.g. RubyQuery.mongo { |person| person.name == ‘Bob’ && person.age > 18 }
agent_white has joined #ruby
<Ox0dea> Relevant: https://eval.in/496144
<Ox0dea> Pretty Array filtration and mapping inspired by NumPy.
<Ox0dea> Except there it's `foo = np.array([1,2,3]); foo[foo < 2]`, which is just weird.
duckpuppy has joined #ruby
nanoz has quit [Ping timeout: 255 seconds]
<Ox0dea> You could provide `RubyQuery[_.name == 'Bob', _.age > 18]`, if you were so inclined.
<Ox0dea> Probably don't do that, though.
chipotle_ has joined #ruby
<Gaelan> I like the idea of sticking to standard ruby idioms/syntax/semantics as much as possible (reducing weird stuff to remember)
<Ox0dea> But you've confessed that you intend to abuse operators?
<agent_white> I WANT THE TRUTH
duckpuppy has quit [Ping timeout: 256 seconds]
* agent_white can't handle the truth
chipotle has quit [Ping timeout: 264 seconds]
<Gaelan> Abuse as in `person.name == ‘Bob’` returning a Predicate object (sorta like RSpec’s old `this.should == that`)
blackgoat has quit [Quit: WeeChat 1.3]
nerium has joined #ruby
Gaelan has quit [Quit: Gaelan]
thejamespinto has quit [Remote host closed the connection]
Gaelan has joined #ruby
zenlot1 has quit [Ping timeout: 260 seconds]
<atmosx> happy new year #ruby
chipotle_ has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
colegatron has quit [Ping timeout: 272 seconds]
king_usop has joined #ruby
arup_r has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fahio2 has joined #ruby
nanoz] has quit [Ping timeout: 276 seconds]
colegatron has joined #ruby
kalopsian has quit [Ping timeout: 256 seconds]
king_usop has quit [Ping timeout: 252 seconds]
AlexTheLion has quit [Remote host closed the connection]
llfwf33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jxs_ has quit [Ping timeout: 245 seconds]
Gaelan has quit [Ping timeout: 250 seconds]
jxs_ has joined #ruby
nerium has quit [Quit: nerium]
arup_r has joined #ruby
<Ox0dea> Fun with ECAs: http://i.imgur.com/tBJdSK5.png
<Ox0dea> Er, how do you pluralize an initialism whose final word doesn't actually take an S?
thejamespinto has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
arooni_______ has joined #ruby
fahio2 has quit [Quit: <3]
nerium has joined #ruby
pawnbox has joined #ruby
bkxd has joined #ruby
agent_white has joined #ruby
<agent_white> Ox0dea: Good point. Also... Sheep, Deer, Goose, Duck.
<Ox0dea> agent_white: I wasn't trying to make a point?
Gaelan has joined #ruby
<agent_white> Ox0dea: Also... Sheep, Deer, Goose, Duck.
<agent_white> ;)
<Ox0dea> But this is something completely different.
minimalism has quit [Quit: minimalism]
<agent_white> Oh sorry. Just glanced and saw "pluralizing" and thought of the above. Disregard.
<Ox0dea> But can you halp?
<agent_white> Nope. Only in aiding a discussing about the mammals above.
<Ox0dea> Those aren't all mammals.
<agent_white> Maybe. Maybe hampering as well. Either way, I would discuss it.
<Ox0dea> Geese and ducks are reptiles.
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<agent_white> Hm. Even if I give them bread?
<agent_white> In the park?
<Ox0dea> Probably.
<Ox0dea> I bet pterodactyls would've accepted bread.
<Ox0dea> In the park.
<Ox0dea> *Park
<agent_white> Damn. Snakes eat PB&J's...
<Gaelan> LOL!
<shevy> in the park
<shevy> it is dark
tenseiten has joined #ruby
tenseiten has quit [Changing host]
tenseiten has joined #ruby
thejamespinto has quit [Ping timeout: 245 seconds]
pdoherty has joined #ruby
charliesome has joined #ruby
<agent_white> shevy: Make a spark. Look, a lark!
bkxd has quit [Ping timeout: 246 seconds]
<agent_white> Ox0dea: pterodactyls are too big of birds for breadcrumbs. And p's shouldn't be that quiet. I think I'll avoid the park for now.
bkxd has joined #ruby
<Ox0dea> agent_white: Pterodactyls are not birds.
<agent_white> Snakes?
<Ox0dea> Not quite those either.
<agent_white> Hm. Still to big for bread.
<agent_white> s/to/too/
Gaelan has quit [Ping timeout: 260 seconds]
<Ox0dea> I know only what I've read in Fantastic Beasts and Where to Find Them.
tenseiten has quit [Ping timeout: 256 seconds]
<agent_white> Don't go find them :(
nerium has quit [Quit: nerium]
<Ox0dea> brb
* agent_white hides
yfeldblum has joined #ruby
<Ox0dea> This amused me: http://i.imgur.com/eQ2DwLI.png
<Ox0dea> These metabooks should've been called "1000 Magical Beasts and Herbs" and "Fantastic Funguys and Where to Find Them".
charliesome has quit [Read error: Connection reset by peer]
iateadonut has joined #ruby
charliesome has joined #ruby
iateadonut has quit [Client Quit]
<agent_white> Do magical beasts eat herbs and fungi?
<Ox0dea> Some of them even eat funguys! :'(
juddey has quit [Remote host closed the connection]
atomical has quit [Ping timeout: 246 seconds]
<agent_white> Ox0dea: Ohhh. I see! :D
<agent_white> I'm a bit slow. I figured there must be fun people who go to find magical beasts, and if you find them you find magical beasts. Though I still believe this to to be true.
kegan_ has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
harai54 has joined #ruby
<Ox0dea> I would certainly agree with that conclusion.
charliesome has joined #ruby
skade has joined #ruby
charliesome has quit [Client Quit]
griff has joined #ruby
<agent_white> Hopefully there wouldn't be snaketoids who like PB and J's.
arup_r has quit []
<Ox0dea> agent_white: Er... thanks, I guess. http://i.imgur.com/w2r9coi.jpg
<agent_white> Body armour... I never thought of that.
skade has quit [Quit: Computer has gone to sleep.]
chipotle_ has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
SCHAAP137 has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
nanoz has joined #ruby
karapetyan has joined #ruby
griff has quit [Read error: Connection reset by peer]
griff has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
griff has quit [Client Quit]
nerium has joined #ruby
cpup has quit [Ping timeout: 264 seconds]
cpup has joined #ruby
nerium has quit [Client Quit]
curses has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
chipotle has joined #ruby
curses has quit [Ping timeout: 255 seconds]
chipotle_ has quit [Ping timeout: 264 seconds]
vdamewood has joined #ruby
fantazo has joined #ruby
orion has left #ruby [#ruby]
cyfr0n has quit [Quit: WeeChat 1.3]
arup_r has joined #ruby
nanoz] has joined #ruby
mooe has quit [Quit: Connection closed for inactivity]
agent_white has left #ruby [#ruby]
devoldmx has quit [Remote host closed the connection]
haraigo has joined #ruby
PedramT has joined #ruby
nanoz has quit [Ping timeout: 256 seconds]
harai54 has quit [Ping timeout: 260 seconds]
fahio2 has joined #ruby
duckpuppy has joined #ruby
tmtwd has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
framling has quit [Remote host closed the connection]
fahio2 is now known as nanoz
nanoz] has quit [Ping timeout: 246 seconds]
luluapple has joined #ruby
fantazo has quit [Ping timeout: 265 seconds]
agit0 has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
agit0 has quit [Client Quit]
Axel___ has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
skcin7 has joined #ruby
skcin7 has quit [Quit: Textual IRC Client: www.textualapp.com]
mdw has joined #ruby
<Xeago> Happy new year #ruby! :D
Axel___ has left #ruby [#ruby]
chipotle_ has joined #ruby
arooni_______ has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 264 seconds]
blur3d has joined #ruby
steffkes has joined #ruby
steffkes has quit [Changing host]
steffkes has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
gregf has quit [Read error: Connection reset by peer]
reaVer_ has joined #ruby
<[spoiler]> Happy new year, everyone! :-)
Axel___ has joined #ruby
chipotle_ is now known as chipotle
agit0 has joined #ruby
reaVer has quit [Ping timeout: 256 seconds]
zenlot has joined #ruby
pawnbox has quit [Remote host closed the connection]
pagios has quit [Excess Flood]
pawnbox has joined #ruby
fantazo has joined #ruby
pagios has joined #ruby
FernandoBasso has joined #ruby
tujv has joined #ruby
mymosh has quit [Quit: ZNC - http://znc.in]
kies has joined #ruby
pawnbox has quit [Remote host closed the connection]
gregf has joined #ruby
pawnbox has joined #ruby
katxic has joined #ruby
katxic has left #ruby [#ruby]
karapetyan has joined #ruby
Ishido has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
tenseiten has joined #ruby
Axel___ has quit [Ping timeout: 256 seconds]
jondot has joined #ruby
PedramT_ has joined #ruby
tenseiten has quit [Ping timeout: 245 seconds]
PedramT has quit [Ping timeout: 276 seconds]
tujv has quit [Quit: Leaving...]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
decoponio has joined #ruby
houhoulis has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
DarkElement has joined #ruby
<DarkElement> How can I use one function over and over again for different threads? It seems to just end the one I started previously when making a new thread
duckpuppy has joined #ruby
<DarkElement> Argh I have to use mutex or sync
atmosx has quit [Ping timeout: 250 seconds]
ta_ has quit [Read error: Connection reset by peer]
PedramT_ has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 265 seconds]
AlphaAtom has joined #ruby
pandaant has joined #ruby
ta has joined #ruby
Jackneill has joined #ruby
<[spoiler]> DarkElement: If there's data races you need a Mutex. Otherwise, you should be able to call the same method from different threads without a problem
TheHodge has joined #ruby
Axel___ has joined #ruby
toretore has joined #ruby
grassass has joined #ruby
Pathfinder has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
haraigoshi has joined #ruby
Axel___ has left #ruby [#ruby]
Axel___ has joined #ruby
haraigo has quit [Ping timeout: 246 seconds]
harai has joined #ruby
haraigoshi has quit [Ping timeout: 240 seconds]
pandaant has quit [Remote host closed the connection]
build22 has joined #ruby
stamina has joined #ruby
curses has joined #ruby
tmtwd has joined #ruby
andywojo has joined #ruby
kmckelvin has joined #ruby
curses has quit [Ping timeout: 250 seconds]
andywojo has quit [Ping timeout: 250 seconds]
govg has quit [Ping timeout: 256 seconds]
govg has joined #ruby
RegulationD has joined #ruby
robbyoconnor has joined #ruby
futilegames has joined #ruby
gccostabr has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
grassass has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
karapetyan has joined #ruby
harai has quit [Ping timeout: 256 seconds]
dmr8 has joined #ruby
futilegames has quit [Quit: futilegames]
duckpuppy has joined #ruby
llfwf33 has joined #ruby
llfwf33 has quit [Max SendQ exceeded]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
__chris has joined #ruby
fgo has joined #ruby
devbug has quit [Read error: Connection reset by peer]
duckpuppy has quit [Ping timeout: 250 seconds]
Snowy has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
stamina has quit [Quit: WeeChat 1.3]
skade has joined #ruby
last_staff has joined #ruby
Snowy has quit []
karapetyan has quit [Remote host closed the connection]
TomyLobo has joined #ruby
psy_ has quit [Read error: No route to host]
Jet4Fire has joined #ruby
karapetyan has joined #ruby
pawnbox has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
fgo has quit [Quit: WeeChat 1.3]
fgo has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
spider-mario has joined #ruby
render___ has joined #ruby
renderfu_ has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
pawnbox has joined #ruby
bradleyprice has quit [Remote host closed the connection]
tmtwd has quit [Ping timeout: 260 seconds]
colegatron has quit [Ping timeout: 260 seconds]
asam1304 has joined #ruby
xet7 has quit [Ping timeout: 240 seconds]
last_staff has quit [Quit: last_staff]
mdw has quit [Quit: Sleeping Zzzzz]
smactive has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
neoliis has joined #ruby
nerium has joined #ruby
sdothum has joined #ruby
smactive has quit [Ping timeout: 260 seconds]
solocshaw has joined #ruby
Axel___ has quit [Ping timeout: 276 seconds]
colegatron has joined #ruby
karapetyan has joined #ruby
asam1304 has quit [Ping timeout: 252 seconds]
FooMunki has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
tenseiten has joined #ruby
nerium has quit [Quit: nerium]
nerium has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
tenseiten has quit [Ping timeout: 260 seconds]
nanoz] has joined #ruby
nerium has quit [Client Quit]
yes`r has quit [Ping timeout: 265 seconds]
charliesome_ has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
nanoz has quit [Ping timeout: 250 seconds]
fahio2 has joined #ruby
adgtl has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
kies has quit [Ping timeout: 240 seconds]
charliesome_ has quit [Read error: Connection reset by peer]
<adgtl> Guys, I have input array like [20,30,40,50,60,80] and I want to group this array if elements total is, lets say 70
charliesome has joined #ruby
dtordable2 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
nanoz] has quit [Ping timeout: 265 seconds]
<adgtl> [20,30,40,50,60,80] should then be [[30,40], [20, 50], [60,80]]
<adgtl> Anyway to this in ruby
curses has joined #ruby
duckpuppy has joined #ruby
skade has quit [Ping timeout: 265 seconds]
dtordable has joined #ruby
skade has joined #ruby
duckpuppy has quit [Ping timeout: 256 seconds]
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
gccostabr has quit [Quit: See you later!]
<ytti> in the last element, you're grouping them, even though it's not 70
<ytti> thatw ould be just Array#each_slice(2)
kies has joined #ruby
neoliis has quit [Quit: Textual IRC Client: www.textualapp.com]
TheBloke has joined #ruby
aryaching has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
aryaching has quit [Client Quit]
aryaching has joined #ruby
yes`r has joined #ruby
agit0 has joined #ruby
FernandoBasso has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
fahio2 has quit [Ping timeout: 246 seconds]
nanoz has joined #ruby
frog0909 has quit [Remote host closed the connection]
jdawgaz has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
ruid has joined #ruby
ruid has quit [Changing host]
ruid has joined #ruby
frog0909 has joined #ruby
shyn has joined #ruby
Xeago has joined #ruby
aryaching has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
wldcordeiro has quit [Ping timeout: 260 seconds]
Xeago has quit [Remote host closed the connection]
bkxd has joined #ruby
Jardayn has joined #ruby
Xeago has joined #ruby
adgtl has quit [Remote host closed the connection]
nanoz has quit [Ping timeout: 272 seconds]
mdw has joined #ruby
griff has joined #ruby
Xeago has quit [Remote host closed the connection]
pawnbox has joined #ruby
dfg810 has joined #ruby
PedramT has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
fgo has quit [Quit: WeeChat 1.3]
Xeago has joined #ruby
kenbi has quit [Max SendQ exceeded]
sandstrom has quit [Quit: My computer has gone to sleep.]
griff has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandstrom has joined #ruby
Xeago has quit [Remote host closed the connection]
kenbi has joined #ruby
kenbi has quit [Max SendQ exceeded]
yes`r has quit [Ping timeout: 245 seconds]
ruid has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 245 seconds]
bkxd has joined #ruby
llfwf33 has joined #ruby
blur3d has quit [Quit: blur3d]
FernandoBasso has joined #ruby
fantazo has quit [Ping timeout: 245 seconds]
gener1c has joined #ruby
bkxd has quit [Ping timeout: 245 seconds]
c355e3b has joined #ruby
gener1c has quit [Ping timeout: 240 seconds]
kotk has joined #ruby
nanoz has joined #ruby
duckpuppy has joined #ruby
llfwf33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
azgil has joined #ruby
nertzy has joined #ruby
duckpuppy has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
mary5030 has joined #ruby
spider-mario has quit [Remote host closed the connection]
puria has quit [Ping timeout: 240 seconds]
peeja has joined #ruby
kam270 has quit [Ping timeout: 265 seconds]
sol_ has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
spider-mario has joined #ruby
jackcom has joined #ruby
<jackcom> happy new year everyone. :)
adgtl has joined #ruby
peeja has quit [Ping timeout: 240 seconds]
skade has joined #ruby
<charliesome> >> RUBY_DESCRIPTION
<ruboto> charliesome # => "ruby 2.2.0p0 (2014-12-25 revision 49005) [i686-linux]" (https://eval.in/496186)
<charliesome> hmm, we should probably get that on 2.3
jottr has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
Xeago has joined #ruby
nerium has joined #ruby
sol_ has joined #ruby
ElFerna has joined #ruby
f3ttX] has joined #ruby
ghox has joined #ruby
ferna_ has joined #ruby
dlitvak has joined #ruby
<dtordable> charliesome will you change it?
<charliesome> dtordable: ruboto isn't my bot
<charliesome> I think it's apeiros's?
<dtordable> Ah, ok...
<charliesome> anyway ruby 2.3.0 is up on eval.in now
sol_ has quit [Ping timeout: 240 seconds]
<adaedra> Yeah, ruboto's apeiros's
<Zarthus> charliesome: neat
<adaedra> But I think it just forwards there
<adaedra> >> RUBY_VERSION
<ruboto> adaedra # => "2.2.0" (https://eval.in/496188)
<adaedra> Ah no
Emmanuel_Chanel has quit [Quit: Leaving]
sol_ has joined #ruby
<adaedra> Well, one more thing to deploy then :o)
<dtordable> >>> a = new Object
<ruboto> dtordable # => /tmp/execpad-daa0d2c38fe9/source-daa0d2c38fe9:2: syntax error, unexpected '>' ...check link for more (https://eval.in/496189)
<dtordable> Ah...
<adaedra> It's Object.new
<dtordable> Ah...
dlitvak has quit [Remote host closed the connection]
<Zarthus> also only two >
<dtordable> >>> A = Object.new
<ruboto> dtordable # => /tmp/execpad-b0a9a77f981c/source-b0a9a77f981c:2: syntax error, unexpected '>' ...check link for more (https://eval.in/496190)
dorei has joined #ruby
<dtordable> Ah...
<adaedra> Also
<adaedra> ?experiment
<ruboto> Please use your local irb or pry (see ?pry) to experiment, ruboto's eval functionality is for demonstration purposes only.
<dtordable> Two greater than
<dtordable> Ok, ok...
tenseiten has joined #ruby
ElFerna has quit [Quit: Textual IRC Client: www.textualapp.com]
chipotle has joined #ruby
dtordable has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
llfwf33 has joined #ruby
neoliis has joined #ruby
jackcom has left #ruby [#ruby]
davedev24 has joined #ruby
dtordable has joined #ruby
tenseiten has quit [Ping timeout: 256 seconds]
davedev2_ has joined #ruby
jondot has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CloCkWeRX has joined #ruby
davedev24 has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
Xeago has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
chipotle has quit [Quit: cheerio]
ElFerna has joined #ruby
duckpuppy has joined #ruby
atomical has joined #ruby
adgtl has quit [Remote host closed the connection]
ElFerna has quit [Client Quit]
agit0 has quit [Quit: zzzZZZ….]
agit0 has joined #ruby
ElFerna has joined #ruby
peeja has joined #ruby
Pathfinder has quit [Ping timeout: 246 seconds]
duckpuppy has quit [Ping timeout: 255 seconds]
chipotle has joined #ruby
gregf has quit [Quit: WeeChat 1.3]
Emmanuel_Chanel has quit [Ping timeout: 264 seconds]
nerium has quit [Quit: nerium]
gregf has joined #ruby
nerium has joined #ruby
adgtl has joined #ruby
The_Phoenix has joined #ruby
Emmanuel_Chanel has joined #ruby
TheMoonMaster has quit [Quit: Later!]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheMoonMaster has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
futilegames has joined #ruby
SCHAAP137 has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
Xeago has joined #ruby
nerium has quit [Quit: nerium]
Xeago has quit [Remote host closed the connection]
stannard has joined #ruby
nullwarp has quit [Ping timeout: 260 seconds]
nerium has joined #ruby
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
rgtk has joined #ruby
peeja has quit [Ping timeout: 255 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r has quit [Remote host closed the connection]
jdawgaz has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stannard has quit [Ping timeout: 264 seconds]
futilegames_ has joined #ruby
futilegames has quit [Ping timeout: 256 seconds]
futilegames_ is now known as futilegames
llfwf33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ferna_ has quit [Quit: Page closed]
jdawgaz has quit [Client Quit]
dlitvak has joined #ruby
alakra has quit [Ping timeout: 260 seconds]
koenrh has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
FernandoBasso has quit [Quit: Leaving]
nerium has quit [Quit: nerium]
nullwarp has joined #ruby
nerium has joined #ruby
codecop has joined #ruby
neoliis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has joined #ruby
koenrh has quit [Ping timeout: 256 seconds]
chipotle has quit [Quit: cheerio]
llfwf33 has joined #ruby
mary5030 has quit [Remote host closed the connection]
__chris has quit [Quit: This computer has gone to sleep]
cmrussell has joined #ruby
<cmrussell> hey everybody
jondot has joined #ruby
cmrussell has quit [Client Quit]
rippa has joined #ruby
s2013 has joined #ruby
futilegames_ has joined #ruby
dfinninger has joined #ruby
futilegames has quit [Ping timeout: 250 seconds]
futilegames_ is now known as futilegames
e4xit has joined #ruby
TheMoonMaster has quit [Ping timeout: 256 seconds]
nullwarp has quit [Ping timeout: 260 seconds]
e4xit has quit [Client Quit]
Xeago has quit [Remote host closed the connection]
Pathfinder has joined #ruby
lkba has joined #ruby
rgtk has quit [Read error: Connection reset by peer]
f3ttX] has quit [Quit: Lost terminal]
rgtk has joined #ruby
rgtk has quit [Remote host closed the connection]
__chris has joined #ruby
peeja has joined #ruby
SCHAAP137 has quit [Ping timeout: 240 seconds]
adgtl has quit [Remote host closed the connection]
duckpuppy has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
kalopsian has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
jdawgaz has joined #ruby
xlegoman has joined #ruby
dfinninger has quit [Remote host closed the connection]
xlegoman has quit [Client Quit]
xlegoman has joined #ruby
Xeago has joined #ruby
dtordable has quit [Ping timeout: 250 seconds]
llfwf33 has quit [Ping timeout: 272 seconds]
arup_r has joined #ruby
ElFerna has quit [Quit: WeeChat 1.3]
ElFerna has joined #ruby
dfinninger has joined #ruby
phrozen77 has quit [Ping timeout: 240 seconds]
PedramT_ has joined #ruby
RobertBirnie has joined #ruby
PedramT_ has quit [Remote host closed the connection]
RobertBirnie has quit [Client Quit]
PedramT_ has joined #ruby
speakingcode has joined #ruby
PedramT has quit [Ping timeout: 256 seconds]
darkxploit has joined #ruby
dmmr has joined #ruby
xlegoman has quit [Quit: xlegoman]
xlegoman_ has joined #ruby
darkxploit has quit [Max SendQ exceeded]
darkxploit has joined #ruby
RobertBirnie has joined #ruby
dmr8 has quit [Ping timeout: 265 seconds]
dtordable has joined #ruby
RobertBirnie has quit [Client Quit]
elaptics`away is now known as elaptics
xlegoman_ has quit [Client Quit]
nanoz has quit [Ping timeout: 240 seconds]
xlegoman has joined #ruby
kmckelvin has quit [Ping timeout: 265 seconds]
xlegoman has quit [Client Quit]
CloCkWeRX has quit [Read error: Connection reset by peer]
CloCkWeRX1 has joined #ruby
BaroMeter has joined #ruby
dlitvak has quit [Remote host closed the connection]
xlegoman has joined #ruby
kalopsian has quit [Ping timeout: 245 seconds]
puria has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kiloreux has joined #ruby
nullwarp has joined #ruby
alakra has joined #ruby
TheMoonMaster has joined #ruby
DarkElement has quit [Ping timeout: 260 seconds]
jdawgaz has joined #ruby
karapetyan has joined #ruby
nerium has quit [Quit: nerium]
arup_r has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
nerium has joined #ruby
arup_r has joined #ruby
Xeago has joined #ruby
Gadgetoid has quit [Ping timeout: 272 seconds]
ziyadb has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
tenseiten has joined #ruby
ElFerna has quit [Quit: ElFerna]
colegatron has quit [Ping timeout: 246 seconds]
Gadgetoid has joined #ruby
dfinninger has quit [Remote host closed the connection]
bkxd has joined #ruby
hagabaka has joined #ruby
govg has quit [Ping timeout: 250 seconds]
tenseiten has quit [Ping timeout: 264 seconds]
kiloreux has quit [Quit: Ex-Chat]
govg has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ElFerna has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
kiloreux has joined #ruby
nerium has quit [Quit: nerium]
chipotle has joined #ruby
curses has quit []
nerium has joined #ruby
thisirs has joined #ruby
karapetyan has quit [Remote host closed the connection]
thisirs has quit [Remote host closed the connection]
karapetyan has joined #ruby
dlitvak has joined #ruby
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
colegatron has joined #ruby
duckpuppy has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
koenrh has joined #ruby
Xeago has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 245 seconds]
Waheedi has joined #ruby
pdoherty has joined #ruby
koenrh has quit [Client Quit]
koenrh has joined #ruby
koenrh has quit [Client Quit]
dfg810 has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
atomical has joined #ruby
karapetyan has joined #ruby
SylarRuby has joined #ruby
TheMoonMaster has quit [Ping timeout: 264 seconds]
jdawgaz has joined #ruby
alakra has quit [Ping timeout: 250 seconds]
kiloreux has quit [Quit: Ex-Chat]
karapetyan has quit [Read error: Connection reset by peer]
kiloreux has joined #ruby
nullwarp has quit [Ping timeout: 260 seconds]
kknight has joined #ruby
atm0sphere has joined #ruby
ibouvousaime has joined #ruby
kalopsian has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stannard has joined #ruby
Xeago has joined #ruby
futilegames has quit [Quit: futilegames]
BaroMeter has quit [Quit: Leaving]
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
DarkElement has joined #ruby
<DarkElement> What is the best ruby tool for making an army of web scrapers?
<Pathfinder> feedjira
<DarkElement> to run at the same time
<DarkElement> Ok
jdawgaz has joined #ruby
hagabaka has quit []
<Pathfinder> Use the 1.6 version if you do not what to do the multithreading by yourself
<DarkElement> So is it just another way of multithreading?
<DarkElement> All I need to do atm is be able to loop through about 50 objects and call a function over and over again as a new thread
Wsewolod has joined #ruby
<DarkElement> So that all 50, when done, will be running together
Guest88361 has quit [Remote host closed the connection]
<Pathfinder> Feedjira is a gem for rss fetching....thought you wanted to scrap new site or smething of the sort
<DarkElement> Ah, no
<DarkElement> Yea I was wondering how it would apply here XD
mkosaki has joined #ruby
koenrh has joined #ruby
dopie has joined #ruby
thisirs has joined #ruby
Xeago has quit [Remote host closed the connection]
koenrh has quit [Client Quit]
<DarkElement> So I guess I can just do semaphore.synchronize{ main_function} for each
ni291187 has joined #ruby
krobzaur has joined #ruby
nerium has quit [Quit: nerium]
nerium has joined #ruby
kalopsian has quit [Ping timeout: 264 seconds]
skade has quit [Quit: Computer has gone to sleep.]
kirun has joined #ruby
SylarRuby has quit [Remote host closed the connection]
kmckelvin has joined #ruby
PedramT_ has quit [Remote host closed the connection]
neoliis has joined #ruby
PaulCapestany has quit [Quit: .]
SylarRuby has joined #ruby
PedramT has joined #ruby
DarkElement has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Legohead has joined #ruby
PaulCapestany has joined #ruby
KineticX has joined #ruby
Tempesta has quit [Ping timeout: 245 seconds]
tjohnson has joined #ruby
dtordable has quit [Read error: Connection reset by peer]
PedramT has quit [Ping timeout: 240 seconds]
dtordable has joined #ruby
Tempesta has joined #ruby
<atm0sphere> is in ruby there is concept of primitive and refrence data type like java?
karapetyan has quit [Remote host closed the connection]
Guest88361 has joined #ruby
<toretore> no
<toretore> some objects are "immediate" like Fixnum, but they are still object
<toretore> s
nerium has quit [Quit: nerium]
nerium has joined #ruby
skade has joined #ruby
__chris has quit [Quit: This computer has gone to sleep]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
atomical_ has joined #ruby
aryaching_ has quit []
minimalism has joined #ruby
kiloreux has quit [Quit: Ex-Chat]
stannard has quit [Remote host closed the connection]
kiloreux has joined #ruby
sorbo_ has joined #ruby
kknight has quit [Ping timeout: 255 seconds]
atomical has quit [Ping timeout: 255 seconds]
atomical has joined #ruby
houhoulis has joined #ruby
ur5us has joined #ruby
ni291187 has quit [Quit: TurboIRC for iOS. Available at the App Store.]
s2013 has joined #ruby
karapetyan has joined #ruby
atomical_ has quit [Ping timeout: 276 seconds]
<shevy> >> x = 5.5; def x.hi; puts "hi"; end
<ruboto> shevy # => can't define singleton (TypeError) ...check link for more (https://eval.in/496204)
atm0sphere has quit [Ping timeout: 265 seconds]
mdw has joined #ruby
Pathfinder has quit [Ping timeout: 240 seconds]
Xiti has quit [Quit: Xiti]
chipotle_ has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
_fumk has quit [Remote host closed the connection]
build22 has left #ruby [#ruby]
duckpuppy has joined #ruby
mary5030 has joined #ruby
fumk has joined #ruby
duckpuppy has quit [Ping timeout: 246 seconds]
ruid has joined #ruby
Xiti has joined #ruby
elaptics is now known as elaptics`away
rkazak_ has joined #ruby
nerium has quit [Quit: nerium]
PedramT has joined #ruby
kiloreux has quit [Quit: Ex-Chat]
nerium has joined #ruby
kiloreux has joined #ruby
choke has joined #ruby
shadoi has joined #ruby
darkf has quit [Quit: Leaving]
Xeago has joined #ruby
kknight has joined #ruby
arup_r has quit [Remote host closed the connection]
nerium has quit [Ping timeout: 264 seconds]
dtordable has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
diegoviola has joined #ruby
Pathfinder has joined #ruby
Pathfinder has quit [Remote host closed the connection]
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
kiloreux has quit [Quit: Ex-Chat]
dtordable has joined #ruby
nerium has joined #ruby
nerium has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
spider-mario has quit [Ping timeout: 272 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinninger has joined #ruby
Guest88361 has quit [Remote host closed the connection]
FernandoBasso has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
colegatron has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
jdawgaz has joined #ruby
pawnbox has joined #ruby
mdw has quit [Quit: cya! http://www.somerobots.com]
gambl0re has joined #ruby
arup_r has joined #ruby
harai has joined #ruby
kknight has quit [Ping timeout: 260 seconds]
thejamespinto has joined #ruby
jdawgaz has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
tvon has joined #ruby
shyn has left #ruby ["WeeChat 1.3"]
dtordable has quit [Remote host closed the connection]
dtordable has joined #ruby
jdawgaz has joined #ruby
<dtordable> Hello ladies and gentleman
thejamespinto has quit [Ping timeout: 250 seconds]
<Ox0dea> dtordable: Which one?
<dtordable> You damn hobbit 0xdea :)
<shevy> lol
Guest88361 has joined #ruby
<shevy> that was probably the best description given so far
<shevy> Gollum was a hobbit once
<Ox0dea> apeiros: Which rules are they breaking?
rkazak_ has quit [Quit: Sleep.....ing....]
harai54 has joined #ruby
xet7 has joined #ruby
<dtordable> Rules are meant to break them
* dtordable does a gitar execution
cpup has quit [Ping timeout: 250 seconds]
harai has quit [Ping timeout: 264 seconds]
colegatron has joined #ruby
<dtordable> Shit, rock has died...
* dtordable cries
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
xet7 has quit [Client Quit]
nerium has joined #ruby
senayar has joined #ruby
existensil has quit [Ping timeout: 272 seconds]
tenseiten has joined #ruby
cpup has joined #ruby
OdicforceSounds has joined #ruby
futilegames has joined #ruby
xet7 has joined #ruby
<OdicforceSounds> hi all, I am trying to install vmail in a debain box and I get this error: "mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h" .. does anyone know what is going on?
nerium has quit [Client Quit]
chipotle_ is now known as chipotle
bkxd has joined #ruby
Guest88361 has quit [Remote host closed the connection]
<Ox0dea> OdicforceSounds: You'll need the ruby-dev package.
tenseiten has quit [Ping timeout: 255 seconds]
<[spoiler]> vmail used to be cool, but it got kinda annoying so I switched to mutt
<[spoiler]> annoying as in unstable
<[spoiler]> it would randomly crash and, as it's usually with such things, at the wrong time.
bkxd has quit [Ping timeout: 250 seconds]
<OdicforceSounds> hmm.. well my experience with vmail was good.. but I don't know if something change.. I will check before moving to mutt or other email client like
pwelch has joined #ruby
vikaton has joined #ruby
<OdicforceSounds> thank you!
fantazo has joined #ruby
pwelch has left #ruby [#ruby]
<shevy> got mkmf to work?
SylarRuby has quit []
dfinninger has quit [Remote host closed the connection]
Guest88361 has joined #ruby
chipotle has quit [Ping timeout: 245 seconds]
pawnbox has quit [Ping timeout: 250 seconds]
sankaber has joined #ruby
dfinninger has joined #ruby
<dtordable> [spoiler], mutt is interesting
pawnbox has joined #ruby
stannard has joined #ruby
<shevy> hah... for a moment I read that as if you were trying to spoil a movie
<[spoiler]> shevy, :P
<OdicforceSounds> ok.. is getting more errors.. damn it..
<[spoiler]> dtordable: Yeah, I love mutt. It's simple, but powerful
<shevy> OdicforceSounds that's what usually happens!
Jet4Fire has quit [Quit: Leaving...]
<dtordable> A bit, mixing it with vim gets great
<shevy> OdicforceSounds what error are you getting? if it is a simple one then it could be fixed, when it comes to compiling from source, one typically has to make the debian-base sane first
rom1504 has left #ruby [#ruby]
ElFerna has quit [Quit: ElFerna]
atmosx has joined #ruby
mary5030 has joined #ruby
sergey_makagon has joined #ruby
neoliis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
FooMunki has quit [Quit: FooMunki]
ruid has quit [Ping timeout: 260 seconds]
FooMunki has joined #ruby
<atmosx> does ruby has any equivalent to python's fabric library?
<atmosx> or capistrano I guess
kspencer has quit [Changing host]
kspencer has joined #ruby
PedramT_ has joined #ruby
jxs_ has quit [Ping timeout: 276 seconds]
devoldmx has joined #ruby
shellie_ has quit [Remote host closed the connection]
ruid has joined #ruby
ruid has quit [Changing host]
ruid has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
PedramT has quit [Ping timeout: 264 seconds]
<shevy> you building a pharmacy-twitter or something? :)
<shevy> hmm... last update 2010... screams for a new maintainer *hint hint*
Xeago has joined #ruby
nerium has joined #ruby
pwelch has joined #ruby
luluapple has quit [Remote host closed the connection]
sameerynho has joined #ruby
Xeago has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 240 seconds]
luluapple has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
<shevy> speaking of updates... anyone able to update https://rubygems.org/gems/rubywebdialogs ? I tried and failed :(
Guest15 has joined #ruby
spider-mario has joined #ruby
Guest15 has quit [Client Quit]
pwelch has quit [Quit: Leaving.]
dfdfdf has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
rkazak has joined #ruby
jxs_ has joined #ruby
thejamespinto has joined #ruby
pwelch1 has joined #ruby
pwelch1 has left #ruby [#ruby]
spider-mario has quit [Read error: Connection reset by peer]
senayar has quit [Remote host closed the connection]
<ruurd> shevy does it need to be maintained then
Guest15 has joined #ruby
diego1 has joined #ruby
andywojo has joined #ruby
Guest15 is now known as cybernaught007
PedramT_ has quit [Remote host closed the connection]
thejamespinto has quit [Ping timeout: 240 seconds]
cybernaught007 is now known as foobar123
<shevy> ruurd dunno, I mean it's a symbiosis between users and developers. If a project is well polished, useful etc... then it is more likely to find acceptance
PedramT has joined #ruby
OdicforceSounds has left #ruby [#ruby]
bradleyprice has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
<shevy> I hoped that rubocop could fix all problems related to old code. rubocop is quite good but it's like fixing up to... 80% or so of that project
chipotle has joined #ruby
foobar123 has quit [Quit: Textual IRC Client: www.textualapp.com]
kegan_ has joined #ruby
<choke> first i've heard of this rubocop -- looks pretty cool.
nerium has quit [Quit: nerium]
jondot has quit [Ping timeout: 276 seconds]
<shevy> hehe
<shevy> the style guide I found annoying, but the autocorrect part is really cool
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
AlexTheLion has joined #ruby
pawnbox has quit [Remote host closed the connection]
jdawgaz has joined #ruby
pawnbox has joined #ruby
<choke> i'm looking at the style guide right now actually... some of it is nice, some of it is just preference and is in no way ( i wouldn't think ) "community standards" ( such as spaces vs tabs )
<choke> could also be layed out I think to be more of a "documentation" style instead of a readme
futilegames has quit [Quit: futilegames]
kadoppe has quit [Ping timeout: 240 seconds]
Kero has quit [Quit: Changing server]
houhoulis has quit []
Kero has joined #ruby
kadoppe has joined #ruby
<choke> and some of it i just don't understand ( which makes sense when you realize i've learned ruby and rails less than a year ago )
<shevy> I use ruby since more than a year and a lot of it I don't understand anyway
<shevy> spaces vs tabs is really minor, we all know that spaces are the way to go :D
<choke> most definitely! give me spaces or give me death! lol
houhoulis has joined #ruby
<shevy> the style guide states: "def too_much; something; something_else; end" is bad
<shevy> but "def some_method() body end" is ok-ish
<shevy> hmmmmm
<shevy> I actually went to have newlines when it is not a one liner anyway
<choke> kinda a contradiction there
Kero has quit [Client Quit]
<shevy> https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays is more interesting. which variant would you prefer?
<choke> yeah, i've written an entire json api ( albeit it's horrible code and if i showed it you'd want to kill yourself i'm sure ) using rails... I don't think I have anything of this sort in the entire thing
Kero has joined #ruby
<shevy> (Though I would use %w() rather than ['foo','bar' ...])
<choke> Me personally, I take the middle one -- specifically because to me it's easier to read
<choke> %w would be nice too -- i had to google what it meant lol
<choke> the :: i can understand... same problem I have with PHP and systems like Drupal that condone the use of ::
<shevy> yeah I'd go with the middle one to, only with the middle one though, I don't like the third option either, it feels to break up the reading flow compared to the middle one
sameerynho has quit [Quit: Leaving]
<shevy> %w() is nice because you can omit all the ' and the ,
futilegames has joined #ruby
<shevy> php namespace separator is insanity
<choke> I hate :: specifically because it's the "Global Scope Operator" -- may as well be using register globals at that point... php i'm a big fan of the object operator ( -> )
<choke> kinda same rules apply for that as what is listed in this ruby doc
luluapple has quit [Remote host closed the connection]
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruid has quit [Ping timeout: 256 seconds]
Azure has joined #ruby
luluapple has joined #ruby
greenglyph has joined #ruby
hxegon has joined #ruby
dfinninger has quit [Remote host closed the connection]
davedev24 has joined #ruby
<greenglyph> I have kind of a noob question...
<greenglyph> (happy new year, btw1)
davedev2_ has quit [Ping timeout: 240 seconds]
<greenglyph> Is it better to make a bunch of smaller method calls. or pass a larger array?
<greenglyph> i.e. form a memory/performance standpoint.
<shevy> array should be faster
<shevy> small methods will be easier to refactor/maintain
<greenglyph> that lines up with my intuition, just wanted to check. thanks!
dagda1 has joined #ruby
duckpuppy has joined #ruby
greenglyph has left #ruby [#ruby]
cpup has quit [Ping timeout: 264 seconds]
andywojo has quit [Ping timeout: 255 seconds]
cpup has joined #ruby
griff has joined #ruby
m4ck3r has joined #ruby
futilegames has quit [Ping timeout: 265 seconds]
duckpuppy has quit [Ping timeout: 272 seconds]
diegoviola has quit [Ping timeout: 256 seconds]
peeja has quit [Read error: Connection reset by peer]
peeja_ has joined #ruby
Zarthus_ has joined #ruby
senayar has quit [Remote host closed the connection]
Zarthus has quit [Quit: I can't go to hell. I'm all out of vacation days.]
Zarthus_ is now known as Zarthus
mary5030 has quit [Remote host closed the connection]
existensil has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
m4ck3r has quit []
maxclocktrees has joined #ruby
AlexTheLion_ has joined #ruby
adgtl has joined #ruby
unreal_ has joined #ruby
Cohedrin has joined #ruby
diegoviola has joined #ruby
bkxd has joined #ruby
ElFerna has joined #ruby
fantazo has quit [Quit: Verlassend]
unreal has quit [Ping timeout: 272 seconds]
AlexTheLion has quit [Ping timeout: 276 seconds]
maxclocktrees has left #ruby [#ruby]
adgtl has quit [Ping timeout: 255 seconds]
CloCkWeRX1 has quit [Quit: Leaving.]
The_Phoenix has quit [Quit: Leaving.]
stannard has quit [Remote host closed the connection]
blaxter has joined #ruby
jxs_ has quit [Ping timeout: 250 seconds]
marcdel has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
griff has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jxs_ has joined #ruby
krobzaur has quit [Ping timeout: 265 seconds]
holbach has joined #ruby
jxs_ has quit [Max SendQ exceeded]
jxs_ has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
toretore has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solocshaw has joined #ruby
diegoviola has quit [Quit: WeeChat 1.3]
ur5us has quit [Remote host closed the connection]
blackgoat has joined #ruby
agent_white has joined #ruby
thejamespinto has joined #ruby
nfk|laptop has joined #ruby
<[spoiler]> I generally follow the style guide, except that I sometimes prefer to use `def abc()` instead of `def abc` (talking about method definition with parentheses or without them). I am conflicted about it, to be honest.
<[spoiler]> I am happy that Crystal made it so they are mandatory in method defs
chipotle has quit [Ping timeout: 265 seconds]
<[spoiler]> So that I don't have to be conflicted about it
codecop has quit [Remote host closed the connection]
<[spoiler]> I don't understand how method calls/array compares, lol
<[spoiler]> Array just passes by reference anyway, it's not like it's copied.
chipotle has joined #ruby
<[spoiler]> oh they left anywat
<[spoiler]> I'm too drunk for this channel. I'll get off. Have fun everyone! :*
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
<shevy> lol
last_staff has joined #ruby
jxs_ has quit [Ping timeout: 276 seconds]
<dtordable> Alcohol
stannard has joined #ruby
<dtordable> Today morning, 1st of January got drunk
<shevy> [spoiler] oh, I am fine to omit the () when there are no arguments; strangely enough, I have no hard feelings about when you invoke a method and don't use () either, but when it comes to method definitions, with arguments, I always use (); those who omit the () have a point though, you actually save one keystroke since you can omit the last ')'; the first '(' would be equivalent to a ' ' of course so there i
<shevy> s no save
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> Ox0dea: what? who?
<dtordable> And today I'm getting divorced
griff has joined #ruby
gregf has quit [Quit: WeeChat 1.3]
<shevy> happy new year apeiros!!!
<apeiros> shevy: thanks, you too :)
ur5us has joined #ruby
djbkd has quit [Ping timeout: 260 seconds]
toretore has quit [Ping timeout: 276 seconds]
s00pcan_ has joined #ruby
holbach has quit [Quit: holbach]
yqt has joined #ruby
yfeldblum has joined #ruby
tenseiten has joined #ruby
toretore has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
Waheedi has quit [Quit: Waheedi]
Elysia has quit [Quit: WeeChat 1.4-rc1]
ur5us has joined #ruby
tenseiten has quit [Ping timeout: 265 seconds]
tmtwd has joined #ruby
thisirs has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
absolutejam has quit [Ping timeout: 240 seconds]
AlexTheLion_ has quit [Quit: Be back later ...]
skade has joined #ruby
s2013 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
absolutejam has joined #ruby
blaxter has quit [Quit: foo]
dlitvak has quit [Remote host closed the connection]
AlexTheLion_ has joined #ruby
last_staff has quit [Quit: last_staff]
last_staff has joined #ruby
griff has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
s00pcan_ has quit [Ping timeout: 256 seconds]
ElFerna has quit [Ping timeout: 272 seconds]
sankaber has joined #ruby
Elysia has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
last_staff has quit [Client Quit]
pawnbox has quit [Ping timeout: 250 seconds]
last_staff has joined #ruby
toretore has joined #ruby
ElFerna has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
phrozen77 has joined #ruby
last_staff has quit [Quit: last_staff]
diegoviola has joined #ruby
cfa6rtx8 has joined #ruby
dmmr has quit [Ping timeout: 265 seconds]
doublemalt_ has quit [Ping timeout: 246 seconds]
skade has joined #ruby
sorbo_ has quit [Remote host closed the connection]
CorySimmons has joined #ruby
CorySimmons has quit [Max SendQ exceeded]
jottr has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CorySimmons has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
agit0 has quit [Quit: zzzZZZ….]
jottr has quit [Ping timeout: 260 seconds]
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rkazak_ has joined #ruby
sergey_makagon has quit [Remote host closed the connection]
smactive has joined #ruby
dlitvak has joined #ruby
PedramT has quit [Ping timeout: 245 seconds]
pawnbox has joined #ruby
skade has joined #ruby
fantazo has joined #ruby
aaronm has joined #ruby
chipotle_ has joined #ruby
smactive has quit [Ping timeout: 272 seconds]
chipotle has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 246 seconds]
tomchapin has joined #ruby
nullwarp has joined #ruby
TheMoonMaster has joined #ruby
KineticX has quit [Remote host closed the connection]
dlitvak has quit [Read error: Connection reset by peer]
KineticX has joined #ruby
arup_r has quit []
dlitvak has joined #ruby
dlitvak has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
KineticX has quit [Read error: No route to host]
KineticX has joined #ruby
nullwarp has quit [Ping timeout: 250 seconds]
karapetyan has quit [Remote host closed the connection]
Xeago has joined #ruby
KineticX has quit [Remote host closed the connection]
CorySimmons has quit [Quit: Bye!]
TheMoonMaster has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
s2013 has joined #ruby
<headius> yorickpeterse: I'm confused by TCPSocket.new('localhost', 0)...it's supposed to be connecting to what port?
<headius> using JDK APIs for this connection I get a bind error because it's attempting to connect to a remote host on port zero
<headius> which translates to EADDR, but your test expects ECONN
ElFerna has quit [Ping timeout: 265 seconds]
pawnbox has quit [Ping timeout: 264 seconds]
<headius> oh, heh...MRI does the same thing
ziyadb has joined #ruby
<headius> so this spec is another red herring...MRI won't pass it on OS X either
andywojo has joined #ruby
<atmosx> happy new year shevy apeiros dtordable and headius
<headius> atmosx: happy new year to you as well!
symm- has joined #ruby
<dtordable> And the rest atmosx?
<ruurd> yes. what about us lurkers...
sorbo_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
<headius> yorickpeterse: do you want patches to fix bad specs? I think the 0 port thing only works like that on linux
<headius> or at least, it doesn't work the same on OS X
<adaedra> works how?
duckpuppy has joined #ruby
<headius> TCPSocket.new('localhost', 0) on linux raises connection refused, but on OS X it raises EADDR for address not available
<atmosx> dtordable: I already gave my wishes to the channel earlier in the morning :-P
Ebok has quit [Quit: Internet is down or Computer is restarting. I'll be back.]
Xeago has quit [Remote host closed the connection]
jottr has joined #ruby
<dtordable> Ah....
<headius> the spec is intended to test that a socket raises ECONN when trying to connect with no server listening, so I think picking a different port would be better than relying on this oddity of linux connect(2)
<atmosx> hm or maybe not, can't tell :-P happy new year to 'everyone'
andywojo has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
bkxd has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
stannard has quit [Remote host closed the connection]
Xeago has joined #ruby
akem has joined #ruby
dlitvak has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 260 seconds]
andywojo has joined #ruby
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
gizless has joined #ruby
neoliis has joined #ruby
neoliis has quit [Client Quit]
griff has joined #ruby
gizmore has quit [Ping timeout: 250 seconds]
dlitvak has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 260 seconds]
peeja_ has quit [Ping timeout: 272 seconds]
dwfait has joined #ruby
hacworld has joined #ruby
zenlot1 has joined #ruby
zenlot has quit [Ping timeout: 276 seconds]
<yorickpeterse> headius: port 0 works fine
<yorickpeterse> it means it will connect to a randomly generated port
<yorickpeterse> at least when used in combination with bind
<headius> apparently not on OS X
atomical_ has joined #ruby
futilegames has joined #ruby
<headius> TCPSocket.new('localhost', 12345) => ECONNREFUSED
<yorickpeterse> I can't find any specs that actually use TCPSocket.new('localhost', 0)
s00pcan_ has joined #ruby
<adaedra> the port selection is sequential under OS X, when listening
<headius> TCPSocket.new('localhost', 0) = EADDRUNAVAIL
<headius> er, EADDRNOTAVAIL
<yorickpeterse> oh wait there's one that tests raising an error
<headius> yes
AwchinBruh has joined #ruby
<headius> that one
<yorickpeterse> Ok so that raises EADDRNOTAVAIL on OS X?
<headius> you're using 0 to randomly pick a port to connect to to test connection refused
<headius> but on OS X it doesn't accept 0 for connect
futilegames has quit [Client Quit]
chipotle_ is now known as chipotle
<yorickpeterse> right
<headius> adaedra: makes sense
TomPeed has joined #ruby
<headius> yorickpeterse: so you might as well pick a random port > 0 there
<headius> I'd be surprised if 0 actually connected to a random port on linux, though
chipotle has quit [Quit: cheerio]
<headius> that doesn't seem like useful behavior for anyone
<yorickpeterse> No, it only does that when binding to a port
atomical has quit [Ping timeout: 240 seconds]
<headius> right
<yorickpeterse> bind with port 0 results in the kernel allocating it a random port
<headius> I know that behavior
<headius> but you're trying to connect to port 0
steffkes has quit [Ping timeout: 276 seconds]
<adaedra> in a given range, iirc
<yorickpeterse> I'll just change this spec to use an unlikely port number
krobzaur has joined #ruby
<headius> ok, thanks
Xeago has quit [Remote host closed the connection]
chipotle has joined #ruby
TomPeed is now known as justbleed
<headius> yorickpeterse: ahh, ok, perhaps I'll test against that branch for now
<headius> I'm only using the specs but making good progress
bkxd has joined #ruby
<headius> yay, only 4 fails on TCPSocket and they're all just JDK choosing different canonicalizations of addresses
Xeago has joined #ruby
atomical has joined #ruby
Xeago has quit [Remote host closed the connection]
AwchinBruh has left #ruby ["Leaving"]
AwchinBruh has joined #ruby
atomical_ has quit [Ping timeout: 276 seconds]
stannard has joined #ruby
stannard has quit [Remote host closed the connection]
ElFerna has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
j4cknewt has joined #ruby
tenseiten has joined #ruby
ElFerna has quit [Ping timeout: 250 seconds]
dlitvak has joined #ruby
s00pcan_ has quit [Ping timeout: 250 seconds]
ElFerna has joined #ruby
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
zast has joined #ruby
andywojo has quit [Ping timeout: 276 seconds]
tenseiten has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
s00pcan_ has joined #ruby
dlitvak has quit [Remote host closed the connection]
andywojo has joined #ruby
pawnbox has quit [Ping timeout: 245 seconds]
dlitvak has joined #ruby
dlitvak has quit [Remote host closed the connection]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zeroDivisible has quit [Quit: WeeChat 1.3]
zeroDivisible has joined #ruby
<shevy> RbConfig::CONFIG['host'] yields to me "i686-pc-linux-gnu". I am trying to translate some shell code to ruby
<shevy> the shell code uses: "case $(uname -m) in i?86)" I could use "uname -m" too but I assume that this may not work on windows. Is RbConfig::CONFIG['host'] equivalent to "uname -m" though?
krobzaur has quit [Ping timeout: 250 seconds]
<bnagy> shevy: check host_cpu instead
FernandoBasso has quit [Quit: Leaving]
<shevy> ah
<dtordable> I'm going to sleep
<shevy> yep that is it, thanks bnagy!
<bnagy> there's host_cpu and target_cpu, I am not sure offhand what the difference is
<bnagy> might be a jruby thing?
<headius> bnagy: running on versus built for
<headius> on JRuby I don't think they're ever different since we're built for JVM
<bnagy> oic like 32 bit mri on x64
jdawgaz has joined #ruby
<headius> yeah
dlitvak has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
<bnagy> shevy: so I guess target_cpu might be most likely to be what you want to check
<bnagy> you're probably only checking 'not arm' or something though I guess
<headius> yorickpeterse: not sure how I can get these to pass:
<headius> Expected "0:0:0:0:0:0:0:1"
<headius> to equal "::1"
<dtordable> Local host
Waheedi has joined #ruby
Waheedi has quit [Client Quit]
<headius> well, the specs basicall use ::1 to create sockets and then expect that to be there in sock.local_address
<headius> but the JDK classes appear to normalize to the longer form
Helheim has quit [Ping timeout: 245 seconds]
s2013 has quit [Client Quit]
s2013 has joined #ruby
aspire has quit [Quit: Leaving]
Jammy_Work has joined #ruby
arescorpio has joined #ruby
Helheim has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
nerium has joined #ruby
Hammy_Work has quit [Ping timeout: 250 seconds]
chipotle has quit [Ping timeout: 245 seconds]
krobzaur has joined #ruby
hxegon is now known as hxegon_AFK
firstdayonthejob has quit [Ping timeout: 276 seconds]
PedramT has joined #ruby
rgb-one has joined #ruby
Phage has left #ruby [#ruby]
<rgb-one> I would like to slit the first page of a pdf document into a new pdf document. Any ideas?
houhoulis has quit [Remote host closed the connection]
Contigi777 has joined #ruby
s00pcan_ has quit [Ping timeout: 276 seconds]
legohead258 has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
s00pcan_ has joined #ruby
tvon_ has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
dlitvak_ has joined #ruby
jtdowney has joined #ruby
jtdowney has joined #ruby
ta_ has joined #ruby
amitchellbullard has quit [Ping timeout: 250 seconds]
arthurnn has quit [Ping timeout: 250 seconds]
im0b_ has joined #ruby
Contigi has quit [Ping timeout: 250 seconds]
SirFunk has quit [Ping timeout: 250 seconds]
_kfpratt has joined #ruby
andywojo has quit [Ping timeout: 245 seconds]
Legohead has quit [Ping timeout: 250 seconds]
Axy has quit [Ping timeout: 250 seconds]
davidcelis_ has quit [Ping timeout: 250 seconds]
hxegon_AFK is now known as hxegon
dlitvak_ has quit [Remote host closed the connection]
robbyoconnor has quit [Read error: Connection reset by peer]
gbailey has quit [Ping timeout: 250 seconds]
jxf_ has joined #ruby
peteyg_ has joined #ruby
Sthebig has quit [Ping timeout: 250 seconds]
pfg_ has joined #ruby
amitchellbullard has joined #ruby
morfin60 has joined #ruby
s2013 has quit [Ping timeout: 250 seconds]
genpaku has quit [Ping timeout: 250 seconds]
SirFunk has joined #ruby
lianj_ has joined #ruby
kent\n_ has joined #ruby
Puffball_ has joined #ruby
iamdevnul_ has joined #ruby
jlyndon_ has joined #ruby
it_tard has joined #ruby
ur5us has quit [Remote host closed the connection]
borkdude_ has joined #ruby
Kero_ has joined #ruby
tvl has joined #ruby
bryancp_ has joined #ruby
adambeynon_ has joined #ruby
tessier-ashpool has joined #ruby
arthurnn has joined #ruby
halfdan_ has joined #ruby
goezz has joined #ruby
rheddry has joined #ruby
genpaku has joined #ruby
robbyoconnor has joined #ruby
chrisseaton_ has joined #ruby
Cihan_ has joined #ruby
jinie_ has joined #ruby
ur5us has joined #ruby
alxndr_ has joined #ruby
Y_Ichiro_ has joined #ruby
Y_Ichiro_ has joined #ruby
davidcelis has joined #ruby
davidcelis has joined #ruby
skmp_ has joined #ruby
bjeanes_ has joined #ruby
grumpycat has joined #ruby
dextertzu has quit [Read error: No route to host]
thejoecarroll_ has joined #ruby