apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
saarinen has quit [Quit: saarinen]
nmco has quit [Quit: nmco]
urielable has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 240 seconds]
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
randomau_ has joined #ruby
justjealouse has joined #ruby
yshh has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
pkrnj has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
randomautomator has quit [Ping timeout: 248 seconds]
ckrailo has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby
randomau_ has quit [Ping timeout: 246 seconds]
blitz has joined #ruby
guiocavalcanti has joined #ruby
nari has joined #ruby
adeponte has quit [Remote host closed the connection]
iliketurtles has quit [Client Quit]
yshh has quit [Ping timeout: 276 seconds]
lnormous has quit [Remote host closed the connection]
<justjealouse> I am new to ruby but am trying to run a rserve gem in jruby. I get this error http://pastebin.com/g2B1N9Q2, can someone help explain what I'm missing
bradsmith has quit [Remote host closed the connection]
bigmac has joined #ruby
mrsolo has quit [Quit: Leaving]
pinage404 is now known as zz_pinage404
freerobby has quit [Quit: Leaving.]
jacobbednarz has joined #ruby
twoism has quit [Remote host closed the connection]
freerobby has joined #ruby
cj3kim has joined #ruby
<r0bgleeson> justjealouse: jruby -S gem install spoon
<havenwood> justjealouse: Have you installed sppon? ^
DanKnox is now known as DanKnox_away
DanKnox_away is now known as DanKnox
<justjealouse> no I am a completely new to ruby, sorry about dumb question, I havent bothered to read the manual yet
jacobbednarz has quit [Read error: Connection reset by peer]
Spami has joined #ruby
<havenwood> justjealouse: http://guides.rubygems.org
<justjealouse> what ide do you reccommend for jruby?
<havenwood> justjealouse: what OS?
<justjealouse> windows
<xybre> vim is an IDE right?
michaeldeol has quit [Remote host closed the connection]
<xybre> >.>
digitalcake has quit [Quit: Leaving.]
<havenwood> justjealouse: http://www.sublimetext.com/2
jacobbednarz has joined #ruby
<Rylai> xybre: vim is best ide
<r0bgleeson> vim isnt going to be useful to justjealouse
<havenwood> or take the plunge and emacs or vim :P
<r0bgleeson> no dont
<havenwood> but yeah
<r0bgleeson> itll slow you down
bionoid has quit [Remote host closed the connection]
digitalcake has joined #ruby
<r0bgleeson> you dont want to be smacking your head against the wall because of an editor when youre learning to code, sublime is a good choice
<r0bgleeson> its powerful and easy to use
platforms has quit [Remote host closed the connection]
<justjealouse> how do I run jruby from sublime text?
jacobbednarz has quit [Read error: Connection reset by peer]
<blitz> I use sublime for rails work
<shevy> hmmm when you have a user that could input stuff like this, a string: "5+5" or " 5 - 3" or "11/0", I would like to provide to him a little calculator. right now I use eval() but this does not seem to be ideal at all
<havenwood> justjealouse: You install JRuby then point Sublime at it.
<xybre> Sublime is awesome. One might even say its ... sublime.
apeiros has quit [Remote host closed the connection]
<blitz> well, I use sublime for everything
<shevy> does anyone have a better idea to provide a "calculator"?
<havenwood> justjealouse: Just grab the exe(x64): http://jruby.org
<justjealouse> how do you point with sublime?
<justjealouse> i have jruby installed
<r0bgleeson> justjealouse: what are you running?
<r0bgleeson> little scripts?
<justjealouse> yes
pkrnj has quit [Quit: Computer has gone to sleep.]
PhatBaja has quit [Quit: Leaving.]
<r0bgleeson> dont know how to do that with sublime, but i think powershell is suppose to be a good emulator, you'll need to get comfortable to running console commands if you get into rails or anything like that, so its not a bad idea
<r0bgleeson> so you'd just "jruby myscript.rb"
<r0bgleeson> from the command line (powershell)
Villadelfia has quit [Quit: Computer has gone to sleep.]
osvico has joined #ruby
<havenwood> r0bgleeson: I haven't played with it much, but stumbled across `pash` the other day: http://pash.sourceforge.net
DanKnox is now known as DanKnox_away
richardcw has quit [Ping timeout: 256 seconds]
ravster has left #ruby [#ruby]
<havenwood> justjealouse: PowerShell 4 Preview is available: http://www.microsoft.com/en-us/download/details.aspx?id=39347
Krajsnick has quit [Remote host closed the connection]
<r0bgleeson> havenwood: sounds promising
pkrnj has joined #ruby
Ry0_ has quit [Remote host closed the connection]
<justjealouse> ok ill do this ide stuff later, now im getting undefined method 'attach_function' for Spoon:Module error
<r0bgleeson> now you need FFI
<r0bgleeson> how are you installing this code?
<xybre> havenwood: wow, thats interesting
<r0bgleeson> use a rubygem
ephemerian has quit [Quit: Leaving.]
<r0bgleeson> it'll manage dependencies
<r0bgleeson> oh
<r0bgleeson> jruby
<r0bgleeson> require "ffi" should be enough actually
<r0bgleeson> i think they use JNI
blitz has quit [Quit: This computer has gone to sleep]
<r0bgleeson> unusual you'd have to require that
sarkis has quit [Ping timeout: 264 seconds]
itcharlie has quit [Quit: Leaving]
adeponte has joined #ruby
<r0bgleeson> something is wrong
<r0bgleeson> it requires "ffi"
<justjealouse> i added require 'ffi' but the same error occured
<r0bgleeson> but it doesn't extend FFI::Library
<r0bgleeson> so windows support is broken?
<r0bgleeson> hard to believe
<r0bgleeson> justjealouse: yeah its a bug in spoon
<r0bgleeson> i guess he never tried it on windows
<r0bgleeson> it should have extend FFI::Library
<bigmac> how would i do, if s.unclude?([aA-zZ])
<bigmac> if s.include([a-z][A-Z])
<justjealouse> well there are no errors now, thanks
Beoran_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
BashCoder has joined #ruby
BashCoder has quit [Client Quit]
<r0bgleeson> justjealouse: you added extend?
<justjealouse> yeah and there are no errors now
Beoran__ has quit [Read error: Operation timed out]
<r0bgleeson> ok
<havenwood> justjealouse: I'd suggest virtualizing a development environment so you can use a nice POSIX-compliant OS like Fedora 19 or Mint 15.
<havenwood> Does Vagrant work with Windows?
<bigmac> /[A-Z][a-z]+/
<havenwood> Looks like it does. justjealouse: http://www.vagrantup.com
<justjealouse> ok thanks havenwood ill look into it later
<havenwood> justjealouse: A nice Fedora box on Vagrant might save you a lot of Windows support headaches.
zeade has quit [Quit: Leaving.]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
AzizLight has joined #ruby
<bigmac> i cant figure out simple regex
<bigmac> if s =~ /[a-z][A-Z]+/
guiocavalcanti has quit [Remote host closed the connection]
<bigmac> puts "found words"
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> [a-zA-Z]
opus has quit [Quit: Textual IRC Client: www.textualapp.com]
superscott[8] has quit [Quit: superscott[8]]
justjealouse has quit [Read error: Connection reset by peer]
ckrailo has joined #ruby
<bigmac> how can i check if a string only includes numbers?
marcdel has joined #ruby
<havenwood> bigmac: /^\d+$/
justjealouse has joined #ruby
<r0bgleeson> \A \Z ;)
<r0bgleeson> ^ $ is line
L8D has left #ruby [#ruby]
<havenwood> oops >.>
Mon_Ouie has quit [Ping timeout: 264 seconds]
adeponte has quit [Remote host closed the connection]
AzizLight has quit [Ping timeout: 256 seconds]
<bigmac> haver can i also add period ? checking if the line only includes ip address
<bigmac> havenwood:
<havenwood> #chars.all? { |c| c.is_a? Integer }
<r0bgleeson> bigmac: use IPAddr.
<havenwood> ^
<havenwood> ip address regex is madness
digitalcake has quit [Quit: Leaving.]
S0da has quit [Read error: Connection reset by peer]
<bigmac> i see
pkrnj has quit [Quit: Computer has gone to sleep.]
bradsmith has joined #ruby
<r0bgleeson> haha wow
<r0bgleeson> do you know how IPAddr detects if it is valid or not?
<r0bgleeson> IPSocket.getaddress(prefix)
pkrnj has joined #ruby
adeponte has joined #ruby
<bigmac> i need to require IPAddr ?
<r0bgleeson> yeah
Spami has quit [Quit: This computer has gone to sleep]
v1rr3n has joined #ruby
<bigmac> im not sure how to use this
<bigmac> s.ipv4?
<bigmac> s="192.168.0.1
kobain has quit [Ping timeout: 246 seconds]
<r0bgleeson> if IPAddr.new doesn't raise, it is a valid IP.
mikitaka has quit [Quit: Leaving]
<havenwood> >> require 'ipaddr'; IPAddr::RE_IPV4ADDRLIKE
<eval-in> havenwood => / ... (https://eval.in/39187)
elaptics is now known as elaptics`away
<r0bgleeson> havenwood: :D
kofno has joined #ruby
dankest has quit [Quit: dankest]
kobain has joined #ruby
kobain has quit [Excess Flood]
kobain has joined #ruby
DonRichie has quit [Ping timeout: 264 seconds]
pitzips has quit [Ping timeout: 240 seconds]
DonRichie has joined #ruby
cnrk has quit [Quit: cnrk]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adeponte has quit [Remote host closed the connection]
<bigmac> this will give me a ugly error
<bigmac> IPAddr.new("192.168.2.1001").nil?
<r0bgleeson> >> require "ipaddr"; IPAddr::RE_IPV4ADDRLIKE =~ "192.1.1.1"
<eval-in> r0bgleeson => 0 (https://eval.in/39188)
<r0bgleeson> >> require "ipaddr"; IPAddr::RE_IPV4ADDRLIKE =~ "192.1.1.x"
<eval-in> r0bgleeson => nil (https://eval.in/39189)
<r0bgleeson> thats what you want bigmac
fcanela has joined #ruby
<bigmac> i didnt know that was for me... ill look
cj3kim has quit [Remote host closed the connection]
<havenwood> This video contains content from Eagle Rock and EMI Music Publishing, one or more of whom have blocked it in your country on copyright grounds.
<r0bgleeson> Queen - Who Wants To Live Forever (HQ) (Live At Wembley 86)
bricker`LA has joined #ruby
mercwithamouth has quit [Ping timeout: 276 seconds]
<r0bgleeson> havenwood: i also spammed you some nirvana in #pry
<havenwood> mmm good stuff indeed
bricker`LA has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
blackmes1 has quit [Quit: WeeChat 0.4.1]
<r0bgleeson> its time IRC clients support github emoji
joshmyers has quit [Remote host closed the connection]
eka has quit [Quit: Computer has gone to sleep.]
<bigmac> r0bgleeson: https://eval.in/39204
bricker`LA has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
<havenwood> A pickier IPV4 checker: https://gist.github.com/havenwood/6093223
Senjai has joined #ruby
<r0bgleeson> the regular expression wont raise an exception
<r0bgleeson> it's going to return nil(not an IP address) or the position of the match
Ry0_ has joined #ruby
Ry0_ has quit [Read error: Connection reset by peer]
fcanela has quit [Ping timeout: 248 seconds]
<r0bgleeson> havenwood: has to be in chunks of 4??
yfeldblum has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
<r0bgleeson> oh sorry read that wrong
<r0bgleeson> read as invidiual characters being chunks of 4
yfeldblum has joined #ruby
viszu has joined #ruby
<havenwood> guess i shoulda said octet not chunk >.>
<r0bgleeson> havenwood: i wonder which is more efficient, understandable, performant, and correct (regexp or the method you wrote)
<havenwood> r0bgleeson: The regex is pretty lax, in that it calls "256.1.1.1" valid and it ain't!
<r0bgleeson> ahhh
digitalcake has joined #ruby
<bigmac> whats your regex?
thesheff17 has quit [Ping timeout: 240 seconds]
<havenwood> bigmac: I didn't use regex: https://gist.github.com/havenwood/6093223
<r0bgleeson> i would use that ^
cHarNe2 has quit [Ping timeout: 276 seconds]
nbouscal has quit [Quit: Computer has commenced electric sheep tracking protocol.]
<r0bgleeson> modifying the regexp to cover that case doesnt sound easy
<havenwood> you could improve it I guess by checking for 1-3 \d's to remove absurd cases, but <= 255 dunno
<r0bgleeson> covering 256 is hard because 196 is valid
sqd has quit [Quit: sqd]
<r0bgleeson> if i wrote the regexp to do that i think it'd be a mess
<r0bgleeson> i guess you could use OR for a process of elimination
JohnE2 has joined #ruby
<r0bgleeson> also, i suck at regexps :)
<Nilium> Why would you try to solve this with a regexp? O_o
iliketurtles has joined #ruby
<bigmac> thanks for your guys help but i cant get your last example to work
<havenwood> valid_octet = /([1-9][0-9]{0,2}|255)/; '192.168.1.1' =~ /\A#{valid_octet}.#{valid_octet}.#{valid_octet}.#{valid_octet}\z/
Voodoofish430 has quit [Quit: Leaving.]
<Nilium> For the love of all that is holy, do not use a regex >_>
<havenwood> hehe
<Nilium> This is not sane.
<havenwood> >> '192.168.1.1' =~ /\A([1-9][0-9]{0,2}|255).([1-9][0-9]{0,2}|255).([1-9][0-9]{0,2}|255).([1-9][0-9]{0,2}|255)\z/
<eval-in> havenwood => 0 (https://eval.in/39206)
dtcrshr has quit [Quit: poff]
<havenwood> w00t
<bnagy> ...
<havenwood> oh, but doesn't work
<bnagy> was going to say 'morning'
<havenwood> i'm sure possible, but not sane
<bnagy> but now I have to go throw up
thesheff17 has joined #ruby
hanmac has quit [Ping timeout: 246 seconds]
<Nilium> Possible doesn't mean you should do it >_>
<havenwood> well, what I'd really do: https://gist.github.com/havenwood/6093223
<havenwood> actually, that `if else true false` spaghetti is kinda hard to read, but refactored...
<bigmac> havenwood: this example gives me error in irb
<Nilium> That's probably overkill on the false/true/false stuff.
<bnagy> it's still not really right, but I guess you can't get much better unless you know the netmask
<havenwood> bnagy: what's wrong, i'm curious
<havenwood> 4 octets between 0 and 255, are there other constraints?
<bnagy> if you know the netmask, yeah
<havenwood> ah
<bnagy> the network 0 and ..1 isn't valid
<bnagy> strictly speaking you could pull the rfc 1918 addresses as well
<bnagy> they're not valid on the public internet
dhruvasagar has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
platforms has joined #ruby
platforms has quit [Client Quit]
ckrailo has quit [Ping timeout: 246 seconds]
<bnagy> think you can skip the include? '.', it will get covered by the split / size check
cj3kim has joined #ruby
nomenkun has quit [Remote host closed the connection]
platforms has joined #ruby
<bnagy> but yeah refactoring is just a technical exercise from there. I like cover? :)
<havenwood> bnagy: ah, good point
nomenkun has joined #ruby
freerobby has quit [Quit: Leaving.]
kofno has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
ckrailo has joined #ruby
baroquebobcat has joined #ruby
JZTech101 has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC]
nadirvar_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<Nilium> https://gist.github.com/nilium/6093291 ← Slightly tweaked version of havenwood's thinger.
<Nilium> Now with fewer if .. true else false end blocks.
<Nilium> Also doesn't match 0x1.0x1.0x1.0x1
<havenwood> ooh
<Nilium> The weird thing here is that you're bothering with a conditional.
nomenkun has quit [Ping timeout: 276 seconds]
<havenwood> fine gone
freerobby has joined #ruby
<havenwood> ah, i see whatcha mean
<Nilium> Cat just walked into my room, howled, walked by me, then wandered off again
<havenwood> cats know best :P
mercwithamouth has quit [Ping timeout: 240 seconds]
brandon_ has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
JohnE2 has quit [Read error: Connection reset by peer]
JohnE has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
<Nilium> I'm almost positive there are bots inflating my RubyGems download numbers.
hanmac has joined #ruby
xcv has joined #ruby
<r0bgleeson> there's bots
brandon_ has quit [Ping timeout: 264 seconds]
JohnE has quit [Ping timeout: 256 seconds]
kaspergrubbe has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
henn has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Ping timeout: 240 seconds]
henn has joined #ruby
freerobby has quit [Quit: Leaving.]
io_syl has quit [Ping timeout: 256 seconds]
heftig has quit [Quit: Quitting]
ebobby has joined #ruby
DonRichie has quit [Quit: Verlassend]
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
dtcrshr has joined #ruby
henn has quit [Ping timeout: 240 seconds]
jnoob22 has joined #ruby
pkrnj has joined #ruby
adeponte has joined #ruby
cnrk has joined #ruby
kofno has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
airlok has joined #ruby
xcv has quit [Remote host closed the connection]
radic__ has joined #ruby
bricker`LA has quit [Ping timeout: 264 seconds]
tomsthumb has joined #ruby
cnrk has quit [Quit: cnrk]
nbouscal has joined #ruby
radic_ has quit [Ping timeout: 248 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
n_blownapart has quit [Remote host closed the connection]
wesside has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
Solnse has quit [Quit: Leaving.]
henn has joined #ruby
mklappstuhl has joined #ruby
pkh has joined #ruby
wmoxam has joined #ruby
digitalcake has quit [Quit: Leaving.]
L8D has joined #ruby
<L8D> Is there a method for Arrays that is similar to JavaScript's .reduce?
wesside has joined #ruby
kofno has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 264 seconds]
rickruby has joined #ruby
mklappstuhl has quit [Ping timeout: 264 seconds]
<r0bgleeson> L8D: yeah its called reduce
<L8D> oh
robustus has joined #ruby
<L8D> why can't I find it here: http://ruby-doc.org/core-2.0/Array.html
<r0bgleeson> its on Enumerable
<r0bgleeson> which Array includes
<L8D> Ahh...
<L8D> I see
<L8D> Thanks
<r0bgleeson> mp
<r0bgleeson> np
airlok has quit [Remote host closed the connection]
akashicman has joined #ruby
akashicman is now known as AkashicLegend_
<L8D> I really worried there when I couldn't find the documentation on it.
Arya_ has joined #ruby
AkashicLegend_ is now known as DanXl
<r0bgleeson> its a different documentation tool
<r0bgleeson> it is aware of included modules
DanXl is now known as AkashicLegend
Vivekananda has quit [Ping timeout: 256 seconds]
Pandee has quit [Ping timeout: 240 seconds]
Pandee has joined #ruby
saarinen has joined #ruby
swordsmanz has quit [Ping timeout: 246 seconds]
emergion has joined #ruby
kofno has joined #ruby
io_syl has joined #ruby
viszu has quit [Quit: Leaving.]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
henn has left #ruby ["Leaving"]
nanoxd has joined #ruby
rshetty has joined #ruby
<Kelet> I'm trying to make a RubyGem of my project, and the general idiom for versioning is to provide a lib/Project/version.rb with module Project; VERSION='0.0.1'; end or whatnot.
zachrab_ has joined #ruby
<Kelet> However my project provides a class named Project, so this doesn't work
<r0bgleeson> why not?
<Kelet> Because I have a class and a module named the same thing
<r0bgleeson> ok
<r0bgleeson> just set VERSION in your class
<Kelet> As a class variable, then? Makes sense.
<r0bgleeson> no
<r0bgleeson> as a constant
<Kelet> Gotcha, I wasn't aware of their status by default but just read about it
i_s has joined #ruby
freerobby has joined #ruby
rodacato has joined #ruby
Pandee has quit [Ping timeout: 246 seconds]
Pandee has joined #ruby
sailias has quit [Quit: Leaving.]
sailias has joined #ruby
apeiros has joined #ruby
mateuspontes has joined #ruby
bradsmith has quit [Remote host closed the connection]
<Kelet> r0bgleeson, If you don't mind. I've seen a lot of talk about bundler. I've read about it. But is it 'ok' if I just provide a gemspec file for using gem build with? I only have 1 runtime dependency, and 1 dev dependency. I don't think it's necessary so to speak.
<r0bgleeson> up to you
<r0bgleeson> if you want to test on TravisCI its easier to use bundler
zeade has joined #ruby
smathieu_ has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 240 seconds]
Pandee has quit [Ping timeout: 248 seconds]
v0n has quit [Ping timeout: 276 seconds]
zachrab_ has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
anderson has quit [Ping timeout: 260 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby
anderson has joined #ruby
digitalcake has joined #ruby
rshetty has quit [Ping timeout: 256 seconds]
AkashicLegend is now known as Akashic_Afk
i_s has joined #ruby
rshetty has joined #ruby
Spooner_ has quit [Remote host closed the connection]
Arya_ has quit [Ping timeout: 276 seconds]
emergion has joined #ruby
ebobby has quit [Quit: Lost terminal]
scarolan has quit [Ping timeout: 264 seconds]
Arya_ has joined #ruby
Kruppe has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
digitalcake has quit [Ping timeout: 264 seconds]
osvico has quit [Ping timeout: 248 seconds]
saarinen has joined #ruby
rshetty has quit [Quit: Sleeping]
vikhyat_ has quit [Remote host closed the connection]
rodacato has quit [Remote host closed the connection]
vikhyat has joined #ruby
i_s has quit [Remote host closed the connection]
ffio has joined #ruby
braincrash has quit [Ping timeout: 246 seconds]
graydot has joined #ruby
bradsmith has joined #ruby
Arya_ has quit [Ping timeout: 276 seconds]
devoldmx3 has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
smathieu_ has joined #ruby
threesome has quit [Ping timeout: 276 seconds]
Arya_ has joined #ruby
braincrash has joined #ruby
rodacato has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
fridim_ has joined #ruby
jefflyne has joined #ruby
bradsmith has quit [Ping timeout: 248 seconds]
tomsthumb has quit [Remote host closed the connection]
smathieu_ has quit [Ping timeout: 240 seconds]
yshh has joined #ruby
baroquebobcat has joined #ruby
freerobby has quit [Quit: Leaving.]
wesside has quit [Quit: Computer has gone to sleep.]
Zeeraw has quit [Ping timeout: 264 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
Arya_ has quit [Ping timeout: 264 seconds]
scarolan has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
mateuspontes has quit [Ping timeout: 246 seconds]
adeponte has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
digitalcake has joined #ruby
h4mz1d has quit [Ping timeout: 264 seconds]
Arya_ has joined #ruby
rh1n0 has joined #ruby
dodosan has joined #ruby
scarolan has quit [Ping timeout: 256 seconds]
ewnd9 has joined #ruby
wesside has joined #ruby
vmussa has joined #ruby
digitalcake has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
cj3kim has joined #ruby
sleetdrop has joined #ruby
nanothief has quit [Ping timeout: 246 seconds]
Ripp__ has joined #ruby
henn has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
icole has joined #ruby
freerobby has joined #ruby
dodosan has quit [Ping timeout: 256 seconds]
mame3 has quit [Ping timeout: 264 seconds]
Arya_ has quit [Ping timeout: 240 seconds]
rodacato has quit [Remote host closed the connection]
orionstein_away is now known as orionstein
Es0teric has quit [Quit: Computer has gone to sleep.]
Arya_ has joined #ruby
Arya_ has quit [Ping timeout: 256 seconds]
s2013 has joined #ruby
justjealouse has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
tgunr has joined #ruby
popl has joined #ruby
mame0 has joined #ruby
kofno has quit [Remote host closed the connection]
Arya_ has joined #ruby
orionstein is now known as orionstein_away
zets2 has joined #ruby
adeponte has joined #ruby
ninegrid_ has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
ninegrid has quit [Ping timeout: 245 seconds]
mahmoudimus has joined #ruby
pkh has quit [Ping timeout: 256 seconds]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
Arya_ has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
dankest has joined #ruby
<cads> hey guys, I'd like to translate some code from perl to ruby
<cads> or rather.. get an idea of the difficulty of such
<cads> and learn whether there are tools
adeponte has quit [Ping timeout: 248 seconds]
<cads> the project is only about 500 lines of perl
Arya_ has joined #ruby
<cads> apparently, parsing perl is 'hard'!
<cads> haha
<cads> not surprising on that count
nathancahill has joined #ruby
<cads> so since the project is so small, maybe I can give up on requiring any kind of initial translation step, and just implement the code function by function
<cads> I'll be done in no time
amacgregor has joined #ruby
icole has quit [Read error: Connection reset by peer]
wesside has quit [Quit: Computer has gone to sleep.]
io_syl has quit [Quit: io_syl]
amacgregor_ has quit [Ping timeout: 276 seconds]
dodosan has joined #ruby
cjs226 has quit [Quit: cjs226]
smathieu_ has joined #ruby
bradsmith has joined #ruby
baroquebobcat has joined #ruby
nathancahill has quit [Quit: nathancahill]
smathieu_ has quit [Ping timeout: 240 seconds]
rh1n0 has quit [Ping timeout: 248 seconds]
JohnE has joined #ruby
bradsmith has quit [Ping timeout: 240 seconds]
v1rr3n has quit [Quit: WeeChat 0.4.1]
mame0 has quit [Ping timeout: 264 seconds]
Gate has quit [Ping timeout: 276 seconds]
Gate_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Black_Dolphin has quit [Ping timeout: 246 seconds]
nbouscal has quit [Quit: Computer has commenced electric sheep tracking protocol.]
graydot has quit [Ping timeout: 246 seconds]
brennanMKE has quit [Remote host closed the connection]
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
scarolan has joined #ruby
digitalcake has joined #ruby
jalcine has quit [Excess Flood]
tomzx_mac has quit [Ping timeout: 264 seconds]
milardovich has joined #ruby
jalcine has joined #ruby
devoldmx has joined #ruby
haxrbyte has quit [Ping timeout: 246 seconds]
JohnE has quit [Read error: No route to host]
machuga is now known as machuga|away
graydot has joined #ruby
scarolan has quit [Ping timeout: 256 seconds]
jalcine has quit [Excess Flood]
digitalcake has quit [Ping timeout: 246 seconds]
devoldmx3 has quit [Ping timeout: 264 seconds]
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
wesside has joined #ruby
byprdct has joined #ruby
dross has quit [Ping timeout: 245 seconds]
Arya_ has quit [Ping timeout: 248 seconds]
<zets2> What's the purpose of eigenclasses in ruby? I might just be too used to other OOP languages, but I can't think of a situation where I'd want to use it :| maybe like polymorphic functions?
dross has joined #ruby
Heero has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
fridim_ has quit [Ping timeout: 256 seconds]
<bnagy> well in a lot of ways almost nothing would work without them
<bnagy> every time you use a module function or class method you're using one
<bnagy> Base64.decode_64 ... etc
zets2 is now known as zets
<bnagy> they _can_ be used to graft methods onto existing instances, but it's not very common and it's not IMHO good style
nbouscal has joined #ruby
<zets> bnagy: ah, that's what I was wondering
<bnagy> or even SomeCLass.new, really, to take a fundamental example
Arya_ has joined #ruby
brennanMKE has joined #ruby
<bnagy> >> class Foo;class << self;def new;"NOT A FOO HAHAHA";end;end;end ; p Foo.new ; p Foo.new.class
<eval-in> bnagy => "NOT A FOO HAHAHA" ... (https://eval.in/39228)
<bnagy> the eviltude of the eigenclass at work
<bnagy> basically without them our OO wouldn't be as clean, because classes and modules and such wouldn't really be objects just like everything else
tgunr has quit [Quit: I'm outta here]
<Kelet> zets, I've used it so I could use attr_accessor on variables I dynamically created using metaprogramming
henn has quit [Ping timeout: 264 seconds]
<zets> thanks - think I'm going to do more reading/coding... I like "get it" but think I need to play around before I really internalize it
d45h has joined #ruby
cj3kim has joined #ruby
dankest has quit [Quit: dankest]
nanothief has joined #ruby
dankest has joined #ruby
davedev24 has quit [Remote host closed the connection]
habanany has joined #ruby
vikhyat has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 240 seconds]
Myrth has quit [Quit: Nettalk6 - www.ntalk.de]
eldariof has joined #ruby
xjunior has joined #ruby
freerobby1 has quit [Quit: Leaving.]
Liothen has quit [Quit: System of a down……]
adeponte has joined #ruby
krish has joined #ruby
krish is now known as Guest23346
Davey has quit [Quit: Computer has gone to sleep.]
cyong has joined #ruby
r0bgleeson has quit [Ping timeout: 264 seconds]
Arya_ has quit [Ping timeout: 240 seconds]
xcv has joined #ruby
adeponte has quit [Ping timeout: 256 seconds]
Arya_ has joined #ruby
tkuchiki has joined #ruby
Gate_ has quit [Ping timeout: 246 seconds]
Guest23346 has quit [Quit: Page closed]
spidergears has joined #ruby
Gate has joined #ruby
Gate has joined #ruby
smathieu has joined #ruby
xcv has quit [Remote host closed the connection]
bradsmith has joined #ruby
cyong1 has joined #ruby
hogeo has joined #ruby
graydot has quit [Quit: graydot]
smathieu has quit [Ping timeout: 240 seconds]
cyong has quit [Ping timeout: 256 seconds]
bradsmith has quit [Ping timeout: 256 seconds]
x1337807x has joined #ruby
cj3kim has joined #ruby
wargasm has joined #ruby
ninegrid_ has quit [Ping timeout: 264 seconds]
ninegrid has joined #ruby
Gate has quit [Ping timeout: 256 seconds]
Gate has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
habanany has left #ruby [#ruby]
nbouscal has quit [Quit: Computer has commenced electric sheep tracking protocol.]
habanany has joined #ruby
digitalcake has joined #ruby
Heero has quit [Quit: Leaving]
bradsmith has joined #ruby
ffio has quit [Read error: Connection reset by peer]
ffio has joined #ruby
digitalcake has quit [Ping timeout: 240 seconds]
Senjai has quit [Ping timeout: 276 seconds]
ninegrid has quit [Ping timeout: 240 seconds]
ninegrid has joined #ruby
BizarreCake has joined #ruby
dhruvasagar has joined #ruby
pkh has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has joined #ruby
johnnyfuchs has joined #ruby
xjunior has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
jwang has joined #ruby
Heero has joined #ruby
amacgregor has quit [Ping timeout: 248 seconds]
jwang has quit [Client Quit]
smrtz|nix has joined #ruby
jwang has joined #ruby
<smrtz|nix> I'm teaching myself ruby, can someone explain line 2 of this please? http://ruby.learncodethehardway.org/book/ex16.html
d45h has quit [Quit: d45h]
<davidcelis> smrtz|nix: $0 is the name of the script being executed
<davidcelis> It's one of the "magical" global variables
smrtz|nix has quit [Quit: Lost terminal]
<davidcelis> see the "Pre-defined variables" section
<Boohbah> inherited from perl and shell just to confuse you
<Boohbah> davidcelis: is there a longer way to write $0 ?
<davidcelis> naw
<davidcelis> if it's a single script, maybe __FILE__
voodoofish has quit [Read error: No route to host]
Heero has quit [Quit: Leaving]
<hanmac> there is also $PROGRAM_NAME
gnufied has joined #ruby
whowantstolivefo has joined #ruby
staafl has joined #ruby
adeponte has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
haxrbyte has joined #ruby
vlad_starkov has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
haxrbyte has quit [Ping timeout: 246 seconds]
mweshi has joined #ruby
ayaz has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
devoldmx3 has joined #ruby
ninegrid has quit [Ping timeout: 264 seconds]
dankest has quit [Quit: dankest]
voodoofish has joined #ruby
ninegrid has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
tommyvyo has quit [Quit:]
zeade has quit [Quit: Leaving.]
dankest has joined #ruby
timonv has joined #ruby
<bnagy> So I'm trying to get a gemspec to work with executables on windows
<bnagy> I have another gem that works, but this new one doesn't, and I can't see any difference in the gemspec
<bnagy> the file's in the manifest, and it's in a bin/ dir and it's +x
<bnagy> what have I missed?
Kar- has joined #ruby
saarinen has quit [Quit: saarinen]
smathieu has joined #ruby
razi has joined #ruby
Dreamer3 has joined #ruby
end_guy has quit [Remote host closed the connection]
end_guy has joined #ruby
smathieu has quit [Ping timeout: 248 seconds]
sayan has joined #ruby
ninegrid has quit [Ping timeout: 240 seconds]
s2013 has quit [Quit: Leaving]
ninegrid has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
Arya_ has quit [Ping timeout: 240 seconds]
tgunr has joined #ruby
Arya_ has joined #ruby
digitalcake has joined #ruby
resure has quit [Quit: ...]
chihhsin has quit [Quit: leaving]
ninegrid has quit [Ping timeout: 276 seconds]
cj3kim has joined #ruby
huoxito has quit [Ping timeout: 268 seconds]
ninegrid has joined #ruby
Zespre has joined #ruby
sarkis has joined #ruby
bluOxigen has joined #ruby
digitalcake has quit [Ping timeout: 264 seconds]
razi has quit [Ping timeout: 276 seconds]
cj3kim has quit [Ping timeout: 264 seconds]
Arya_ has quit [Ping timeout: 264 seconds]
zets2 has joined #ruby
Arya_ has joined #ruby
dankest has quit [Quit: Peace]
timonv has quit [Remote host closed the connection]
zets has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
zets2 has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby
zets has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
Akashic_Afk has quit [Ping timeout: 264 seconds]
Arya_ has quit [Ping timeout: 256 seconds]
sayan has quit [Ping timeout: 276 seconds]
cyong1 has quit [Quit: Leaving.]
zomgbie has joined #ruby
Columcille has quit [Quit: leaving]
companion is now known as Companion
Arya_ has joined #ruby
Columcille has joined #ruby
ixti has quit [Read error: Connection reset by peer]
ixti has joined #ruby
Companion is now known as companion
Columcille has quit [Client Quit]
cj3kim has joined #ruby
Arya_ has quit []
cj3kim has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
pkh has quit [Quit: Leaving]
sayan has joined #ruby
ffio_ has joined #ruby
Columcille has joined #ruby
ChristianS has quit [Excess Flood]
ffio has quit [Ping timeout: 240 seconds]
ChristianS has joined #ruby
devoldmx3 has quit [Ping timeout: 256 seconds]
eldariof has quit [Ping timeout: 246 seconds]
tgunr has quit [Quit: I'm outta here]
vlad_starkov has joined #ruby
smathieu has joined #ruby
Lewix has quit [Remote host closed the connection]
Arya_ has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
ebanoid has joined #ruby
limon7 has joined #ruby
limon7 has quit [Client Quit]
codesoda has joined #ruby
habanany has quit [Ping timeout: 264 seconds]
limon7 has joined #ruby
bricker`LA has joined #ruby
popl has quit [Quit: We must make an idol of our fear, and call it God.]
codesoda has quit [Remote host closed the connection]
nathancahill has joined #ruby
Arya_ has quit [Ping timeout: 250 seconds]
mary5030 has quit [Remote host closed the connection]
digitalcake has joined #ruby
ntus1017 has joined #ruby
marr has joined #ruby
cj3kim has joined #ruby
digitalcake has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
sayan has quit [Ping timeout: 256 seconds]
timonv has joined #ruby
mklappstuhl has joined #ruby
Ripp__ has quit [Quit: This computer has gone to sleep]
gsvolt_ has quit [Ping timeout: 240 seconds]
nathancahill has quit [Quit: nathancahill]
sarkis has quit [Ping timeout: 248 seconds]
spectre| has joined #ruby
gsvolt has joined #ruby
nathancahill has joined #ruby
<bnagy> ha, nevermind, user errot
nathancahill has quit [Client Quit]
mklappstuhl has quit [Remote host closed the connection]
narcan has joined #ruby
spidergears has quit [Remote host closed the connection]
smathieu has joined #ruby
milardovich has quit [Quit: Leaving]
hakunin_ is now known as hakunin
Arya_ has joined #ruby
timonv has quit [Remote host closed the connection]
spidergears has joined #ruby
mklappstuhl has joined #ruby
Arya_ has quit [Client Quit]
Skaflem has joined #ruby
narcan has quit [Client Quit]
mklappstuhl has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
Arya_ has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
smathieu has quit [Ping timeout: 276 seconds]
mklappstuhl has joined #ruby
devoldmx3 has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
Arya_ has quit [Remote host closed the connection]
devoldmx3 has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
sqd has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Deele has joined #ruby
anderson is now known as Anderson
iFire_ has joined #ruby
iFire has quit [Read error: Connection reset by peer]
nkts has quit [Quit: -]
johnnyfuchs has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
cj3kim has joined #ruby
SynchronE has joined #ruby
nathancahill has joined #ruby
<SynchronE> hi everyone
cj3kim has quit [Ping timeout: 264 seconds]
nathancahill has quit [Client Quit]
Yakko has quit [Remote host closed the connection]
tommyvyo has joined #ruby
SynchronE has left #ruby [#ruby]
tommyvyo has quit [Client Quit]
tatsuya_o has joined #ruby
devoldmx3 has joined #ruby
havenwood has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
dodosan has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
tatsuya_o has quit [Remote host closed the connection]
smathieu has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
zmike123 has joined #ruby
smathieu has quit [Ping timeout: 264 seconds]
devoldmx3 has quit [Ping timeout: 256 seconds]
emergion has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
digitalcake has joined #ruby
dodosan has joined #ruby
bluOxigen has joined #ruby
Skaflem has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
digitalcake has quit [Ping timeout: 264 seconds]
DestinyAwaits has joined #ruby
AzizLight has joined #ruby
kreeves has quit [Ping timeout: 276 seconds]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
DestinyAwaits has quit [Max SendQ exceeded]
DestinyAwaits has joined #ruby
tatsuya_o has joined #ruby
ebanoid has quit [Quit: brbomgwtfbbq]
dhruvasagar has quit [Ping timeout: 256 seconds]
spider-mario has joined #ruby
Xeago has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
heftig has joined #ruby
gsvolt has quit [Ping timeout: 256 seconds]
nathancahill has joined #ruby
gsvolt_ has joined #ruby
cj3kim has joined #ruby
go|dfish has joined #ruby
nari has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
DestinyAwaits has quit [Quit: Leaving]
banisterfiend has joined #ruby
sqd has quit [Quit: sqd]
relix has joined #ruby
sqd has joined #ruby
sqd has quit [Client Quit]
ghosTM55 has joined #ruby
mweshi has quit [Quit: mweshi]
nkts has joined #ruby
nathancahill has quit [Quit: nathancahill]
hogeo has quit [Remote host closed the connection]
limon7 has quit [Remote host closed the connection]
nkts has quit [Ping timeout: 276 seconds]
hamakn has joined #ruby
rippa has joined #ruby
jibi has joined #ruby
kaspergrubbe has joined #ruby
ewnd9 has quit [Remote host closed the connection]
ewnd9 has joined #ruby
ewnd9 has quit [Remote host closed the connection]
ewnd9 has joined #ruby
spectre| has quit [Ping timeout: 264 seconds]
hamakn has quit [Ping timeout: 264 seconds]
spectre| has joined #ruby
pskosinski has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
nikeita has joined #ruby
DonRichie has joined #ruby
kirun has joined #ruby
kaspergrubbe has quit [Ping timeout: 264 seconds]
Nss has joined #ruby
Skaflem has joined #ruby
SHyx0rmZ has joined #ruby
blackmesa has joined #ruby
threesome has joined #ruby
kaspergrubbe has joined #ruby
smathieu has joined #ruby
gsvolt_ has quit [Ping timeout: 264 seconds]
tkuchiki has quit [Remote host closed the connection]
workmad3 has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
smathieu has quit [Ping timeout: 248 seconds]
nayfun has left #ruby [#ruby]
hamakn has joined #ruby
headius has joined #ruby
amacgregor has joined #ruby
gsvolt has joined #ruby
headius has quit [Client Quit]
vlad_starkov has quit [Ping timeout: 240 seconds]
vlad_sta_ has joined #ruby
digitalcake has joined #ruby
zz_pinage404 is now known as pinage404
jibi has quit [Ping timeout: 264 seconds]
Speed has joined #ruby
Mon_Ouie has joined #ruby
patsToms has left #ruby ["Leaving"]
fcanela has joined #ruby
TIJ has joined #ruby
digitalcake has quit [Ping timeout: 240 seconds]
gsvolt has quit [Read error: Connection reset by peer]
corehook_ has joined #ruby
ehaliewicz has quit [Remote host closed the connection]
emergion has quit [Quit: Computer has gone to sleep.]
pskosinski has quit [Quit: Til rivido Idisti!]
DestinyAwaits has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
PragCypher has joined #ruby
gsvolt has joined #ruby
ghosTM55 has quit [Ping timeout: 240 seconds]
seitensei has left #ruby [#ruby]
orionstein_away is now known as orionstein
teddyp1cker has joined #ruby
dodosan has quit [Remote host closed the connection]
gsvolt has quit [Ping timeout: 264 seconds]
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
tbrock has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
kaspergrubbe has quit [Ping timeout: 264 seconds]
johnmaynton has joined #ruby
<johnmaynton> Question about using splat to coerce to an array: this blog post (http://budhram.wordpress.com/2012/09/15/intro-to-splat-operator-in-ruby/), says that arr = *"Hello" #=> ["Hello"], but in 1.8, 1.9 and 2.0 it just produces a string. Where am I going wrong?
m8 has joined #ruby
gsvolt has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
orionstein is now known as orionstein_away
anildigital_away is now known as anildigital
<apeiros> >> arr = *"Hello"
<eval-in> apeiros => ["Hello"] (https://eval.in/39231)
<apeiros> produces an array alright.
cj3kim has joined #ruby
<apeiros> I'd say you're going wrong in thinking you'd use ruby 1.9 or 2.0? :)
<apeiros> 18>> arr = *"Hello"
<eval-in> apeiros => "Hello" (https://eval.in/39232)
workmad3 has quit [Ping timeout: 264 seconds]
PragCypher has quit [Quit: Leaving]
<hanmac> **obj is also funny ;P
Squarepy has joined #ruby
<johnmaynton> apeiros: hmm... what am I doing wrong here then? Am I using irb incorrectly or something? http://pastebin.com/feeSBmXe
<apeiros> johnmaynton: what makes you think that was ruby 1.9 or ruby 2.0?
BRMatt has joined #ruby
<apeiros> I mean it says rather clearly when you ask it that it is ruby 1.8.7
<johnmaynton> Yeah - so my shims must not be working, right?
<apeiros> wtf?
<johnmaynton> Because I ask for 1.8 and get REE
<johnmaynton> So if I ask rbenv for 1.8 and get REE, it's likely the shims aren't set up properly?
<apeiros> your REE is a ruby 1.8
<johnmaynton> Yeah, but why is rbenv giving me REE, when I ask for the standard 1.8 - that's not right is it?
sqd has joined #ruby
<apeiros> I don't use rbenv, so I wouldn't know.
Elfix is now known as Felixdu94
<johnmaynton> Ok, thanks
pupoque_ has joined #ruby
<hanmac> so Ruby Enterprise is old as the first Enterprise episodes? ;P
tatsuya_o has joined #ruby
<johnmaynton> I think this REE must be the Ruby system default
staafl_alt has joined #ruby
staafl has quit [Read error: Connection reset by peer]
maxmanders has joined #ruby
bricker`LA has quit [Read error: Connection reset by peer]
Neomex has joined #ruby
Neomex has quit [Client Quit]
gsvolt has quit [Ping timeout: 276 seconds]
bricker`LA has joined #ruby
<Xeago> johnmaynton: what does rbenv which ruby and rbenv whence ruby give you (try for irb if you care for that instead)
gsvolt has joined #ruby
obs has joined #ruby
cHarNe2 has joined #ruby
<johnmaynton> Xeago: it gives me the right shim! which is what is confusing me
eldariof has joined #ruby
<johnmaynton> Xeago: don't worry about it thanks
johnmaynton has quit [Quit: Page closed]
tessi has quit [Ping timeout: 264 seconds]
phite is now known as tessi
jibi has joined #ruby
havenwood has joined #ruby
hanmac1 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
gsvolt has quit [Ping timeout: 240 seconds]
osvico has joined #ruby
fcanela has quit [Changing host]
fcanela has joined #ruby
nari has joined #ruby
hanmac has quit [Ping timeout: 240 seconds]
mame0 has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
gsvolt has joined #ruby
ixti has quit [Read error: Connection reset by peer]
ixti has joined #ruby
phite has joined #ruby
Xeago has quit [Remote host closed the connection]
digitalcake has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
spidergears has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
spidergears has joined #ruby
anildigital is now known as anildigital_away
digitalcake has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
emergion has joined #ruby
jonkri has joined #ruby
mneorr has joined #ruby
obs has quit [Remote host closed the connection]
lkba has joined #ruby
obs has joined #ruby
viszu has joined #ruby
v0n has joined #ruby
mercwithamouth has joined #ruby
hanmac1 has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
mneorr has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
vlad_sta_ has quit [Remote host closed the connection]
gsvolt has quit [Ping timeout: 240 seconds]
smathieu has joined #ruby
gsvolt has joined #ruby
kaspergr_ has joined #ruby
AzizLight has quit [Ping timeout: 240 seconds]
BizarreCake has quit [Read error: Connection reset by peer]
swordsmanz has joined #ruby
ndrei has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
cHarNe2 has quit [Ping timeout: 248 seconds]
dodosan has joined #ruby
gsvolt has quit [Ping timeout: 264 seconds]
jonathanwallace1 has quit [Quit: WeeChat 0.4.0]
v0n has quit [Ping timeout: 240 seconds]
mneorr has joined #ruby
Krajsnick has joined #ruby
dodosan has quit [Ping timeout: 264 seconds]
cj3kim has quit [Remote host closed the connection]
aces1up has joined #ruby
<aces1up> i am doing a string.index /regex/ which works find to get starting offset, any ideas on how i get the end offset of the match as well?
vikhyat has joined #ruby
<apeiros> aces1up: use .match and look up the docs on MatchData, it should provide all that information
<aces1up> apeiros been checking out string.rindex seems what i want.
<apeiros> not really the same
<apeiros> index is first match, rindex is last match
ndrei has quit [Ping timeout: 264 seconds]
<apeiros> also, with a single occurrence, both index and rindex will return the same
<aces1up> apeiros gotcha ok thanks.
tbrock has quit [Quit: Textual IRC Client: www.textualapp.com]
guiocavalcanti has joined #ruby
<aces1up> apeiros match just returns first match? would i need .scan to get all matches?
<apeiros> you were only talking about start/end offset of a single match
tatsuya_o has quit [Remote host closed the connection]
<apeiros> want to amend your question?
<aces1up> right sorry yeh i need all matches specifically start and end offset of each match found.
<apeiros> yes, scan will return all matches, but not as MatchData objects
<aces1up> hrmm what would i do then? convert the scan match to a match object somehow?
erry is now known as Errietta
codecop has joined #ruby
<apeiros> blerp, I thought I had gisted my String#match_all
<apeiros> gimme a minute
gsvolt has joined #ruby
<aces1up> k
havenwood has joined #ruby
anay has joined #ruby
sqd has quit [Quit: sqd]
<aces1up> cool thanks.
mneorr has quit [Remote host closed the connection]
zomgbie has quit [Read error: Connection reset by peer]
cHarNe2 has joined #ruby
AzizLight has joined #ruby
zomgbie has joined #ruby
workmad3 has joined #ruby
havenwood has quit [Ping timeout: 248 seconds]
anay has quit [Remote host closed the connection]
ntus1017 has quit [Remote host closed the connection]
nikeita has quit [Quit: sleep]
klaut has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
Ripp__ has joined #ruby
Arya_ has joined #ruby
AzizLight has quit [Ping timeout: 240 seconds]
kaspergr_ has quit [Remote host closed the connection]
digitalcake has joined #ruby
BizarreCake has joined #ruby
tkuchiki has joined #ruby
tatsuya_o has joined #ruby
Arya_ has quit [Client Quit]
iFire_ has quit [Read error: Connection reset by peer]
whowantstolivefo has quit [Read error: Connection reset by peer]
whowantstolivefo has joined #ruby
iFire has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
Arya_ has joined #ruby
digitalcake has quit [Ping timeout: 276 seconds]
sam19113 has joined #ruby
cj3kim has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
aces1up has quit []
Ripp__ has quit [Quit: This computer has gone to sleep]
vikhyat has quit [Remote host closed the connection]
spike|spiegel has quit [Quit: WeeChat 0.4.1]
ewokchewy has joined #ruby
<mosez_> ich hasse regex -.-
<mosez_> wc
<MarcWeber> asplode('sqlite3') unless find_library 'sqlite3', 'sqlite3_libversion_number'
vikhyat has joined #ruby
<MarcWeber> found in extconf.rb (sqlite3 gem).
<MarcWeber> How is this supposed to work without using sqlite3.h header file?
jibi_ has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
poikon has quit [Read error: No route to host]
hogeo has joined #ruby
ewokchewy has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 248 seconds]
jibi has quit [Ping timeout: 240 seconds]
spike|spiegel has joined #ruby
vikhyat has quit [Remote host closed the connection]
Arya_ has quit [Ping timeout: 240 seconds]
tatsuya_o has quit [Remote host closed the connection]
corehook_ has quit [Ping timeout: 264 seconds]
Arya_ has joined #ruby
eka has joined #ruby
mansi has joined #ruby
intuxicated has joined #ruby
realDAB has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
ndrei has joined #ruby
smathieu has joined #ruby
spike|spiegel has quit [Quit: WeeChat 0.4.1]
spike|spiegel has joined #ruby
gsvolt has quit [Ping timeout: 248 seconds]
anildigital_away is now known as anildigital
pupoque_ has quit [Read error: Connection reset by peer]
gsvolt has joined #ruby
smathieu has quit [Ping timeout: 264 seconds]
intuxicated has quit [Remote host closed the connection]
sqd has joined #ruby
guiocavalcanti has joined #ruby
<MarcWeber> Don't know, but it works. The problem has been the second failure in the conf log
guiocavalcanti has quit [Remote host closed the connection]
emergion has quit [Quit: Computer has gone to sleep.]
Gate has quit [Ping timeout: 240 seconds]
Gate has joined #ruby
Gate has quit [Changing host]
Gate has joined #ruby
DestinyAwaits has quit [Quit: WeeChat 0.4.1]
k610 has joined #ruby
hogeo_ has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
whowantstolivef1 has joined #ruby
staafl_123 has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
seriously_random has joined #ruby
wargasm1 has joined #ruby
pupoque_ has joined #ruby
whowantstolivefo has quit [Disconnected by services]
LucidDreamZzZz has quit [Ping timeout: 240 seconds]
whowantstolivef1 has quit [Quit: quit]
whowantstolivefo has joined #ruby
Krajsnick has quit [Remote host closed the connection]
afd___ has joined #ruby
geggam_ has joined #ruby
whowantstolivef1 has joined #ruby
whowantstolivefo has quit [Disconnected by services]
tagrudev has joined #ruby
whowantstolivef1 is now known as whowantstolivefo
nanoxd has quit [Read error: Connection reset by peer]
wargasm has quit [Read error: Connection reset by peer]
drago777- has quit [Ping timeout: 240 seconds]
Azure has quit [Ping timeout: 240 seconds]
drago777 has joined #ruby
afd__ has quit [Quit: No Ping reply in 180 seconds.]
geggam has quit [Ping timeout: 240 seconds]
SegFaultAX has quit [Ping timeout: 240 seconds]
staafl_alt has quit [Ping timeout: 240 seconds]
aetaric has quit [Ping timeout: 240 seconds]
obs has quit [Read error: Connection reset by peer]
Norrin has quit [Ping timeout: 240 seconds]
relix_ has joined #ruby
mediko has quit [Remote host closed the connection]
ILoveYou has quit [Read error: Connection reset by peer]
xcthulhu has quit [Quit: xcthulhu]
mediko has joined #ruby
awc737 has quit [Ping timeout: 240 seconds]
tagrudev has quit [Client Quit]
mjc_ has quit [Quit: No Ping reply in 180 seconds.]
Azure has joined #ruby
mjc_ has joined #ruby
G has quit [Ping timeout: 240 seconds]
ged_ has quit [Ping timeout: 240 seconds]
ILoveYou has joined #ruby
aetaric has joined #ruby
G has joined #ruby
SegFaultAX has joined #ruby
awc737 has joined #ruby
Norrin has joined #ruby
kofno has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
nicoulaj has joined #ruby
Krajsnick has joined #ruby
ntus1017 has joined #ruby
tommyvyo has joined #ruby
pskosinski has joined #ruby
k610 has quit [Quit: Leaving]
AzizLight has joined #ruby
nicoulaj has quit [Remote host closed the connection]
tommyvyo has quit [Client Quit]
intuxicated has joined #ruby
xcthulhu has joined #ruby
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vikhyat has joined #ruby
silmawien has quit [Changing host]
silmawien has joined #ruby
digitalcake has joined #ruby
nicoulaj has joined #ruby
anildigital is now known as anildigital_away
<shevy> MarcWeber hey! aren't you that guy from nixos?
AzizLight has quit [Ping timeout: 264 seconds]
kaspergrubbe has joined #ruby
mansi has quit [Remote host closed the connection]
sailias has joined #ruby
<shevy> mosez_ yeah regexes suck, but they are also way too useful to avoid them
eka has quit [Quit: Computer has gone to sleep.]
Czupa has joined #ruby
freerobby has joined #ruby
digitalcake has quit [Ping timeout: 264 seconds]
<zendeavor> debatable
gsvolt has quit [Ping timeout: 264 seconds]
<mosez_> shevy: i nknow :)
<apeiros> zendeavor: which part, the "they suck" or the "too useful"?
davedev24 has joined #ruby
bigkevmcd has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
<shevy> unspecified
<shevy> :D
<zendeavor> too useful
guiocavalcanti has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
S0da has joined #ruby
<zendeavor> if everything wasn't a damned stream of text they wouldn't be useful at all!
<apeiros> zendeavor: theoretically you could apply the idea to arbitrary datastructures
maxmanders has joined #ruby
<_br_> any recommendations when it comes to pagination of an array?
<zendeavor> in practicality, the backend would just end up translating everything to streams of text again
cj3kim has joined #ruby
<apeiros> _br_: #each_slice
realDAB has quit [Quit: realDAB]
freerobby has quit [Quit: Leaving.]
<apeiros> except if you want some fancy end-balancing algorithm
arya__ has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
gsvolt has joined #ruby
<_br_> apeiros: Something that can preferably build all the pagination nonsense html (next, prev, first, last, .. #nr page x, y, z ) automatically?
Skaflem has quit [Quit: This computer has gone to sleep]
<apeiros> _br_: wow, way to leave away relevant information in the initial question!
cha1tanya has joined #ruby
cha1tanya has joined #ruby
<_br_> apeiros: Sorry :)
<apeiros> don't think there's much
<apeiros> you could probably reappropriate stuff for AR
<_br_> Hm, I see.
Xeago has joined #ruby
<apeiros> I don't think it's difficult to write, though
S0da has quit [Ping timeout: 240 seconds]
Arya_ has quit [Ping timeout: 246 seconds]
<_br_> Yeah, probably best if I just hack it together myself I guess
arya__ is now known as arya_
<_br_> thanks though, appreciate your comments apeiros
cj3kim has quit [Ping timeout: 240 seconds]
freeayu has joined #ruby
<apeiros> I'd take a look at the AR stuff
<apeiros> maybe somebody made one ready for plain arrays
<apeiros> ruby-toolbox -> pagination might help
<apeiros> and I officially can't type while eating an ice :D
PeterBoy has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
<_br_> yeah, I looked through that. Seems "paginator" is doing that what I want maybe. Lets try ...
<_br_> apeiros: haha... nice, bon appetit! :)
realDAB has joined #ruby
<PeterBoy> I'm trying to use the find_by method and I'm getting the error "undefined method"....
adambeynon has joined #ruby
<_br_> PeterBoy: What does #class return on your object you are trying to call with find_by ?
Felixdu94 is now known as Elfix
timonv has quit [Remote host closed the connection]
<PeterBoy> ActiveRecord::Base
<apeiros> PeterBoy: o0
<apeiros> you have a direct instance of ActiveRecord::Base?
<PeterBoy> The class is Movie but it is derived from ActiveRecord::Base
<apeiros> that seems highly unlikely.
<apeiros> PeterBoy: how about you answer without a made-up answer?
<PeterBoy> made-up?
<apeiros> you did obviously not run .class on your object and paste the result
<PeterBoy> no I didn't
<PeterBoy> class Model < ActiveRecord::Base
<PeterBoy> I'll run the command then
maxmanders has quit [Quit: Computer has gone to sleep.]
<PeterBoy> Class
<PeterBoy> that's what Movie.class returned
smathieu has joined #ruby
razi has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
chimkan has quit [Ping timeout: 276 seconds]
<apeiros> and the code you run is literally `Movie.find_by`?
<PeterBoy> yes
snearch has joined #ruby
<PeterBoy> Movie.all works though
jorge has joined #ruby
JZTech101 has joined #ruby
banisterfiend has quit [Remote host closed the connection]
<apeiros> `Movie < ActiveRecord::Base` returns true?
seriously_random has quit [Quit: Leaving]
<PeterBoy> yes
smathieu has quit [Ping timeout: 248 seconds]
<apeiros> don't know then. might want to ask over in #rubyonrails
<PeterBoy> ok thanks
cha1tanya has quit [Quit: cha1tanya]
nmco has joined #ruby
arya_ has quit []
PeterBoy has quit [Remote host closed the connection]
arya_ has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
razi has quit [Quit: Leaving.]
guiocava_ has joined #ruby
guiocava_ has quit [Client Quit]
guiocavalcanti has joined #ruby
S0da has joined #ruby
atno has joined #ruby
vikhyat has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
S0da has quit [Remote host closed the connection]
nmco has quit [Quit: nmco]
gsvolt has quit [Ping timeout: 240 seconds]
jonkri_ has joined #ruby
FredInDshell has joined #ruby
gsvolt has joined #ruby
ewnd9 has quit [Ping timeout: 276 seconds]
jonkri has quit [Ping timeout: 264 seconds]
kofno has quit [Remote host closed the connection]
jibi_ has quit [Ping timeout: 256 seconds]
otherj has joined #ruby
digitalcake has joined #ruby
lebek has joined #ruby
sepp2k has joined #ruby
workmad3 has joined #ruby
nmco has joined #ruby
vikhyat has joined #ruby
Errietta is now known as erry
klaut has quit [Remote host closed the connection]
snearch has quit [Quit: Verlassend]
klaut has joined #ruby
nanoxd has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
cHarNe2 has quit [Ping timeout: 248 seconds]
mansi has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
elaptics`away is now known as elaptics
rodacato has joined #ruby
scarolan has joined #ruby
freerobby has joined #ruby
jorge has quit [Remote host closed the connection]
jorge has joined #ruby
platforms is now known as help
mansi has quit [Ping timeout: 240 seconds]
help is now known as platforms
stayarrr has joined #ruby
pupoque_ has quit [Ping timeout: 246 seconds]
nmco has quit [Quit: nmco]
freerobby has quit [Ping timeout: 276 seconds]
platforms is now known as platforms_away
ewnd9 has joined #ruby
platforms_away is now known as platforms
jorge has quit [Ping timeout: 276 seconds]
Anderson has quit [Ping timeout: 246 seconds]
niklasb has joined #ruby
NealJ has joined #ruby
sam19113 has quit [Quit: sam19113]
sepp2k has quit [Quit: Leaving.]
Spami has quit [Quit: This computer has gone to sleep]
amanmangal has joined #ruby
smathieu has joined #ruby
sam19113 has joined #ruby
Anderson has joined #ruby
digitalcake has quit [Quit: Leaving.]
freeayu has quit [Remote host closed the connection]
digitalcake has joined #ruby
aloshkarev has joined #ruby
pupoque_ has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
ebanoid has joined #ruby
FredInDshell has quit [Ping timeout: 276 seconds]
FredInDshell has joined #ruby
amanmangal has quit [Ping timeout: 250 seconds]
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
echevemaster has quit [Read error: Connection reset by peer]
ebanoid has quit [Quit: brbomgwtfbbq]
Nisstyre-laptop has joined #ruby
ebanoid has joined #ruby
bradsmith has quit [Remote host closed the connection]
platforms is now known as platforms_away
yfeldblum has joined #ruby
cj3kim has joined #ruby
ged_ has joined #ruby
rodacato has quit [Remote host closed the connection]
cj3kim has quit [Read error: Connection reset by peer]
pupoque__ has joined #ruby
nmco has joined #ruby
aloshkarev has quit [Quit: aloshkarev]
hogeo_ has quit [Remote host closed the connection]
lewis has joined #ruby
sayan has joined #ruby
spidergears has quit [Ping timeout: 264 seconds]
platforms_away is now known as platforms
pupoque_ has quit [Ping timeout: 240 seconds]
io_syl has joined #ruby
k610 has joined #ruby
spectre| has quit [Quit: Leaving.]
pierre1 has joined #ruby
klaut has quit [Remote host closed the connection]
freerobby has joined #ruby
jorge_ has joined #ruby
realDAB has quit [Quit: realDAB]
digitalcake has left #ruby [#ruby]
pskosinski has joined #ruby
akashj87 has joined #ruby
dhruvasagar has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
chihhsin has joined #ruby
freerobby has quit [Ping timeout: 256 seconds]
Notte has joined #ruby
platforms is now known as platforms_away
chihhsin has quit [Client Quit]
Nss has quit [Quit: Sto andando via]
chihhsin has joined #ruby
akashj87 has quit [Ping timeout: 246 seconds]
jorge_ has quit [Ping timeout: 276 seconds]
BillCriswell has joined #ruby
rickruby has quit [Remote host closed the connection]
bricker`1A has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
pupoque_ has joined #ruby
optimusprimem has quit [Read error: Connection reset by peer]
h4mz1d has joined #ruby
dotemacs1 is now known as dotemacs
platforms_away is now known as platforms
banister_ has joined #ruby
pupoque__ has quit [Ping timeout: 246 seconds]
realDAB has joined #ruby
nari has quit [Ping timeout: 264 seconds]
chihhsin has quit [Quit: leaving]
chihhsin has joined #ruby
Xeago has quit [Remote host closed the connection]
smathieu has joined #ruby
chihhsin has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
zubov has joined #ruby
brennanMKE has quit [Remote host closed the connection]
chihhsin has joined #ruby
chihhsin has quit [Client Quit]
rickruby has joined #ruby
haxrbyte has joined #ruby
chihhsin has joined #ruby
chihhsin has quit [Client Quit]
FredInDshell has quit [Ping timeout: 240 seconds]
smathieu has quit [Ping timeout: 248 seconds]
zubov has quit [Client Quit]
chihhsin has joined #ruby
chihhsin has quit [Client Quit]
nathancahill has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
nathancahill has quit [Client Quit]
chihhsin has joined #ruby
johnnyfuchs has joined #ruby
maroloccio has joined #ruby
chihhsin has quit [Client Quit]
haxrbyte_ has joined #ruby
chihhsin has joined #ruby
hamakn has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 264 seconds]
nathancahill has joined #ruby
hamakn has joined #ruby
chihhsin has quit [Client Quit]
Xeago has quit [Remote host closed the connection]
kreeves has joined #ruby
chihhsin has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
huoxito has joined #ruby
chihhsin has quit [Client Quit]
teddyp1cker has joined #ruby
cha1tanya has joined #ruby
chihhsin has joined #ruby
haxrbyte has quit [Ping timeout: 256 seconds]
_ffio_ has joined #ruby
matti has joined #ruby
ffio_ has quit [Ping timeout: 264 seconds]
rickruby has quit [Remote host closed the connection]
maroloccio has quit [Quit: WeeChat 0.4.0]
wallerdev has joined #ruby
tomzx_mac has joined #ruby
_ffio_ is now known as ffio
habanany has joined #ruby
snearch has joined #ruby
tommyvyo has joined #ruby
FredInDshell has joined #ruby
mityaz has quit [Quit: See ya!]
Czupa has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
FredInDshell has quit [Ping timeout: 240 seconds]
Czupa has joined #ruby
amarraja has joined #ruby
kaspergrubbe has joined #ruby
AzizLight has joined #ruby
vlad_sta_ has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
Czupa has quit [Ping timeout: 264 seconds]
banister_ has quit [Remote host closed the connection]
cj3kim has joined #ruby
Czupa has joined #ruby
schickung has joined #ruby
zubov has joined #ruby
Xsheller has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
guiocavalcanti has quit [Remote host closed the connection]
FredInDshell has joined #ruby
vlad_starkov has joined #ruby
rshetty has joined #ruby
freerobby has joined #ruby
lebek has joined #ruby
rezzack has joined #ruby
vlad_sta_ has quit [Ping timeout: 264 seconds]
rezzack has quit [Client Quit]
dhruvasagar has joined #ruby
elux has joined #ruby
elux has quit [Client Quit]
_maes_ has joined #ruby
rickruby has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
jorge_ has joined #ruby
rezzack has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
nmco has quit [Quit: nmco]
Krajsnick has quit [Remote host closed the connection]
rippa has joined #ruby
Krajsnick has joined #ruby
jorge_ has quit [Ping timeout: 264 seconds]
zubov has quit [Quit: Linkinus - http://linkinus.com]
zubov has joined #ruby
schickung has quit [Quit: schickung]
r0bgleeson has joined #ruby
nikeita has joined #ruby
brennanMKE has joined #ruby
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tgunr has joined #ruby
k610 has quit [Quit: Leaving]
mansi has joined #ruby
Xsheller has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
smathieu has joined #ruby
<AzizLight> is there an easy way to assign the same value to multiple keys (in a hash) in one line please?
<zendeavor> /msg greybot in1line
zubov has quit [Quit: Linkinus - http://linkinus.com]
zubov has joined #ruby
m8 has quit [Quit: Sto andando via]
<fryguy> AzizLight: why does it need to be one line
Skaflem has joined #ruby
<apeiros> AzizLight: .each is your friend
realDAB has quit [Quit: realDAB]
<AzizLight> fryguy, zendeavor: I have a method that is too long, trying to make it a bit shorter/more readable. Also rubocop is complaining
tkuchiki has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
<fryguy> AzizLight: giant complicated one-liners aren't more readable
tkuchiki has joined #ruby
<apeiros> I couldn't care less than about a code analyzers complaints
<apeiros> those are hints at best
<fryguy> some are
smathieu has quit [Ping timeout: 240 seconds]
guiocavalcanti has joined #ruby
viszu has quit [Quit: Leaving.]
<AzizLight> apeiros: thanks for .each hint
<zendeavor> unless you're writing python, in which case it's pep8 or bust.
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
<apeiros> AzizLight: for such questions, you can also paste (gist.github.com) your current code and ask for how to do it better. best accompanied with desired in/output examples
klaut has joined #ruby
amarraja has quit [Quit: Textual IRC Client: www.textualapp.com]
<AzizLight> apeiros: thanks for the suggestion, it's a good idea, I'll do that in a bit ;)
BillCriswell has quit [Remote host closed the connection]
muay-guy has joined #ruby
<muay-guy> Hi, I'm having problems installing ruby with rvm on debian. https://dpaste.de/eMJYh/ "rvm autolibs enable" won't change the message
kobain has joined #ruby
eka has joined #ruby
freerobby has joined #ruby
yshh has quit [Remote host closed the connection]
nikeita has quit [Quit: sleep]
corehook_ has joined #ruby
realDAB has joined #ruby
h4mz1d has quit [Ping timeout: 248 seconds]
<zendeavor> #rvm4
<zendeavor> -4
<zendeavor> #rvm
muay-guy has quit [Quit: Leaving.]
freerobby has quit [Ping timeout: 256 seconds]
zachrab_ has joined #ruby
brennanMKE has quit [Ping timeout: 240 seconds]
zubov has quit [Quit: Linkinus - http://linkinus.com]
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
brennanMKE has joined #ruby
byprdct has joined #ruby
r1d4a3 has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
pygospa has quit [Read error: Operation timed out]
klaut has quit [Remote host closed the connection]
pygospa has joined #ruby
Vivekananda has joined #ruby
vlad_sta_ has joined #ruby
davedev24 has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
r1d4a3 has quit [Quit: Leaving]
vlad_starkov has quit [Ping timeout: 264 seconds]
teddyp1cker has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
fcanela has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
davedev24 has joined #ruby
<zachrab_> does anyone know of a way of using Ruby to develop iOS apps?
<zendeavor> rubymotion
nikeita has joined #ruby
realDAB has quit [Quit: realDAB]
zubov has joined #ruby
cj3kim has joined #ruby
BizarreCake has joined #ruby
teddyp1cker has quit [Ping timeout: 256 seconds]
freerobby has joined #ruby
niklasb has quit [Ping timeout: 276 seconds]
spidergears has joined #ruby
mansi has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 245 seconds]
realDAB has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
jorge_ has joined #ruby
corehook_ has quit [Ping timeout: 246 seconds]
m8 has joined #ruby
<zachrab_> zendeavor: is that the best toolchain? anything for free?
fcanela has joined #ruby
<zendeavor> have you tried googling?
PCChris has quit [Quit: Leaving]
xcthulhu has quit [Quit: xcthulhu]
anildigital_away is now known as anildigital
chimkan has joined #ruby
<zendeavor> perhaps mobiruby fits your needs
klaut has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 248 seconds]
fcanela has quit [Ping timeout: 240 seconds]
nikeita has quit [Ping timeout: 240 seconds]
<zachrab_> zendeavor: i have tried googling but was seeing if someone had better insight
Ripp__ has joined #ruby
tgunr has quit [Ping timeout: 276 seconds]
nikeita has joined #ruby
Krajsnick has quit [Remote host closed the connection]
<zendeavor> there's not much to go on.
<zachrab_> zendeavor: what do you mean?
tgunr has joined #ruby
<zendeavor> there are very few offerings available, one of which is commercial and the other which is MIT licensed.
jorge_ has quit [Ping timeout: 248 seconds]
smathieu has joined #ruby
<zachrab_> i see
<zendeavor> your options are fairly limited.
<zachrab_> got it thats unfortunate
<zachrab_> why is that?
<zendeavor> because most people suck it up and just use objective-c
<zachrab_> i think obj-c is terrible
guiocavalcanti has quit [Remote host closed the connection]
nikeita has quit [Quit: sleep]
<zendeavor> oh well.
<zendeavor> submit patches and features to mobiruby
saarinen has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
tommyvyo has quit [Quit:]
nikeita has joined #ruby
workmad3 has joined #ruby
tommyvyo has joined #ruby
maroloccio has joined #ruby
Ripp__ has quit [Quit: This computer has gone to sleep]
kobain has quit [Ping timeout: 246 seconds]
mary5030 has joined #ruby
xcthulhu has joined #ruby
nouh has joined #ruby
klaut has joined #ruby
platforms is now known as platforms_away
yshh has joined #ruby
freerobby has joined #ruby
realDAB has quit [Quit: realDAB]
v0n has joined #ruby
rshetty has quit [Quit: Sleeping]
tommyvyo has quit [Quit:]
eka has quit [Quit: Computer has gone to sleep.]
relix has joined #ruby
teddyp1cker has joined #ruby
guiocavalcanti has joined #ruby
yshh has quit [Ping timeout: 276 seconds]
habanany has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 264 seconds]
cj3kim has joined #ruby
jp- has joined #ruby
axeman- has joined #ruby
fcatojo has quit [Quit: Leaving]
snearch has quit [Quit: Verlassend]
Kabaka has quit [Remote host closed the connection]
mityaz has joined #ruby
Kabaka has joined #ruby
FredInDshell has quit [Ping timeout: 256 seconds]
nouh has quit [Remote host closed the connection]
nouh has joined #ruby
nouh has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
intuxicated has quit [Remote host closed the connection]
intuxicated has joined #ruby
pandawanda has joined #ruby
jabular has joined #ruby
Notte has quit [Remote host closed the connection]
rshetty has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
Astral_ has joined #ruby
johnkary has joined #ruby
eldariof has quit [Ping timeout: 276 seconds]
saarinen has quit [Quit: saarinen]
Astralum has quit [Ping timeout: 276 seconds]
guiocavalcanti has quit [Remote host closed the connection]
nouh has joined #ruby
nouh has quit [Read error: Connection reset by peer]
nouh has joined #ruby
FredInDshell has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
nouh has quit [Remote host closed the connection]
cj3kim has joined #ruby
nouh has joined #ruby
phracker has quit [Excess Flood]
nouh has quit [Remote host closed the connection]
cha1tanya has quit [Ping timeout: 248 seconds]
phracker has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
tkuchiki has quit [Remote host closed the connection]
cj3kim has quit [Read error: Connection reset by peer]
pitzips has joined #ruby
klaut has quit [Remote host closed the connection]
Krajsnick has joined #ruby
cj3kim has joined #ruby
freerobby has joined #ruby
henn has joined #ruby
henn has joined #ruby
henn has quit [Changing host]
saarinen has joined #ruby
IceDragon has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
vlad_sta_ has quit [Remote host closed the connection]
v0n has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
intuxicated has quit [Read error: No route to host]
binw_ has quit [Read error: Connection reset by peer]
anonymuse has joined #ruby
zachrab_ has quit [Remote host closed the connection]
rshetty has quit [Quit: rshetty]
klaut has joined #ruby
binw has joined #ruby
cj3kim has quit [Remote host closed the connection]
freerobby has joined #ruby
jorge_ has joined #ruby
platforms_away is now known as platforms
klaut has quit [Remote host closed the connection]
ebanoid has quit [Quit: brbomgwtfbbq]
Norsken has quit [Ping timeout: 240 seconds]
smathieu has joined #ruby
jorge_ has quit [Ping timeout: 240 seconds]
FredInDshell has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
anonymuse has quit [Remote host closed the connection]
yshh has joined #ruby
FredInDshell has joined #ruby
saarinen has quit [Quit: saarinen]
felixjet has quit [Quit: felixjet]
rezzack1 has joined #ruby
rezzack has quit [Ping timeout: 256 seconds]
saarinen has joined #ruby
axeman- has quit [Remote host closed the connection]
bricker`1A has quit [Ping timeout: 240 seconds]
nathancahill has quit [Quit: nathancahill]
yshh has quit [Ping timeout: 240 seconds]
nikeita has quit [Quit: sleep]
arya_ has quit [Ping timeout: 246 seconds]
cj3kim has joined #ruby
wmoxam has quit [Quit: Lost terminal]
anildigital is now known as _anildigital
dodosan has joined #ruby
clov3r has quit [Remote host closed the connection]
bean has joined #ruby
arya_ has joined #ruby
bronson has joined #ruby
Ripp__ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
dtcrshr has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
sarkis has joined #ruby
Norsken has joined #ruby
dodosan has quit [Remote host closed the connection]
godfrey3835 has joined #ruby
nathancahill has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
druonysus has joined #ruby
druonysus has joined #ruby
dtcrshr has joined #ruby
nathancahill has quit [Client Quit]
druonysus has quit [Client Quit]
druonysus has joined #ruby
druonysus has joined #ruby
druonysus has quit [Changing host]
druonysus has quit [Read error: Connection reset by peer]
kaspergrubbe has quit [Ping timeout: 264 seconds]
druonysus has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
rickruby has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
dash_ has joined #ruby
tommyvyo has quit [Quit:]
v0n has joined #ruby
FredInDshell has quit [Ping timeout: 256 seconds]
Notte has joined #ruby
FredInDshell has joined #ruby
Notte has quit [Remote host closed the connection]
Notte has joined #ruby
Notte has quit [Remote host closed the connection]
badquanta has quit [Remote host closed the connection]
henn has quit [Ping timeout: 248 seconds]
Es0teric has joined #ruby
fschuindt has joined #ruby
vikhyat_ has joined #ruby
henn has joined #ruby
vlad_starkov has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
intuxicated has joined #ruby
vikhyat has quit [Ping timeout: 276 seconds]
bronson has left #ruby ["Leaving"]
dash_ has quit [Ping timeout: 248 seconds]
SeySayux_ has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
fcanela has joined #ruby
dash_ has joined #ruby
SeySayux has quit [Ping timeout: 245 seconds]
adeponte has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
brennanMKE has quit [Read error: Connection reset by peer]
spectre| has joined #ruby
eka has joined #ruby
nathancahill has joined #ruby
anonymuse has joined #ruby
vikhyat has joined #ruby
cyong has joined #ruby
habanany has joined #ruby
vikhyat_ has quit [Ping timeout: 264 seconds]
maroloccio has joined #ruby
jorge has joined #ruby
noop has joined #ruby
<shevy> I'd wish there would be more GUI things going on with ruby
freakazoid0223 has quit [Read error: Connection reset by peer]
johnkary has quit [Quit: @johnkary]
freerobby has joined #ruby
timonv has joined #ruby
smathieu has joined #ruby
<shevy> is there a difference between Dir[input+'*'] and Dir.glob(input+'*') ? the first would seem shorter to match user input against file content of a directory listing
nathancahill has quit [Quit: nathancahill]
SeySayux_ is now known as SeySayux
jorge has quit [Ping timeout: 256 seconds]
zachrab_ has joined #ruby
godfrey3835 has quit [Quit: quit]
x1337807x has joined #ruby
anonymuse has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
ewnd9 has quit [Ping timeout: 256 seconds]
zmike123 has quit [Read error: Connection reset by peer]
smathieu has quit [Ping timeout: 276 seconds]
sam113101 is now known as sam113101_afk
nikeita has joined #ruby
trepidaciousMBR has joined #ruby
sam113101_afk is now known as sam113101
goodmanio has quit [Excess Flood]
stayarrr has quit [Quit: Leaving...]
k3VB6u4d has joined #ruby
k3VB6u4d has quit [Excess Flood]
trepidaciousMBR has quit [Client Quit]
arya_ has quit [Ping timeout: 264 seconds]
adeponte has quit [Remote host closed the connection]
nathancahill has joined #ruby
BizarreCake has quit [Ping timeout: 264 seconds]
zachrab_ has quit []
ntus1017 has quit [Remote host closed the connection]
Skaflem has quit [Quit: Leaving]
k3VB6u4d has joined #ruby
freakazoid0223 has joined #ruby
nathancahill has quit [Client Quit]
ryanf has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Remote host closed the connection]
arya_ has joined #ruby
spidergears has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
jonathanwallace has quit [Client Quit]
spidergears has joined #ruby
<apeiros> shevy: [] is an alias of glob
godfrey383 has joined #ruby
<apeiros> so there's no difference
<apeiros> but: [] methods can't take a block
n_blownapart has joined #ruby
xcv has joined #ruby
<apeiros> glob can take a block, so you can only use glob with a block when using 'glob' and not '[]'
bricker`LA has joined #ruby
sam113101 is now known as sam113101_afk
<shevy> hmm
timonv has quit [Remote host closed the connection]
<shevy> ah, nice, did not think of blocks
sam113101_afk is now known as sam113101
nikeita has quit [Quit: sleep]
rippa has joined #ruby
twoism has joined #ruby
twoism has quit [Remote host closed the connection]
jarin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
twoism has joined #ruby
nathancahill has joined #ruby
nikeita has joined #ruby
zomgbie has quit [Read error: Connection reset by peer]
zomgbie has joined #ruby
mmitchell has joined #ruby
jonahR has joined #ruby
goshakkk has joined #ruby
rfizzle has joined #ruby
<rfizzle> Datamapper inserting slowly into a MySQL database. Any thoughts?
benlieb has joined #ruby
twoism has quit [Ping timeout: 256 seconds]
<zendeavor> jonahR: nice gesture; activate hall pass -> 404 "houston we have a problem. go back home"
<jonahR> ah shit
<r0bgleeson> >> Dir["/"] { |x| p x }
<eval-in> r0bgleeson => /tmp/execpad-dc9262605ec0/source-dc9262605ec0:2: syntax error, unexpected { arg, expecting keyword_end ... (https://eval.in/39279)
<jonahR> try again later :( it's supposed to work
<r0bgleeson> interesting
<r0bgleeson> i had never noticed that
<shevy> yeah r0bgleeson
dhruvasagar has joined #ruby
<jonahR> rfizzle: try again later it's supposed to work
<shevy> apeiros knows the very dark secrets of ruby, possibly not even matz knows about them :D
n_blownapart has quit [Remote host closed the connection]
<apeiros> unlikely :-)
<r0bgleeson> im sure matz is a mind of information but he doesn't use IRC :p
codecop has joined #ruby
nathancahill has quit [Quit: nathancahill]
rezzack1 has quit [Quit: Leaving.]
workmad3 has joined #ruby
fuhgeddaboudit has joined #ruby
<shevy> yeah, he used to use it some years ago I think, but gave up because it ate too much time
xcv has quit [Remote host closed the connection]
<shevy> so it's mruby time for him
<shevy> replacing:
<shevy> if not
<shevy> with
<shevy> unless
<shevy> :D
elaptics is now known as elaptics`away
ntzrmtthihu777 has joined #ruby
mercwithamouth has joined #ruby
<ntzrmtthihu777> Hullo. I've a large array of rubyscripts stored via Marshal.dump; How would one go about requiring each of these scripts? its a 3*n array, n for each script contained (not sure atm, lol). the scripts are contained in the third index.
pskosinski has joined #ruby
<apeiros> ntzrmtthihu777: what have you tried?
kaspergrubbe has joined #ruby
n_blownapart has joined #ruby
<ntzrmtthihu777> script.each { |s| require (Zlib::Inflate.inflate(s.at(2))) } and various iterations after that; this is after I set script = Marshall.load scriptfile (not literally that, I marshalled it fine)
Villadelfia has joined #ruby
<apeiros> and what do you need help with now?
crashfocus has joined #ruby
otherj has quit []
pskosinski has quit [Client Quit]
cyong has quit [Quit: Leaving.]
<ntzrmtthihu777> well, I can use file.write(Zlib-blah-blah) to dump it all to a text file, but I'm wanting to load the entire thing into my current irb session.
colonolGron has joined #ruby
<apeiros> eval
<Nilium> Does require work on non-files?
cj3kim has quit [Remote host closed the connection]
cyong has joined #ruby
<Nilium> Docs suggest the answer's no.
<apeiros> require '/absolute/path.rb' is essentially eval(File.read(path), TOPLEVEL_BINDING)
v0n has quit [Quit: WeeChat 0.4.1]
xcv has joined #ruby
<apeiros> well, actually eval(File.read(path), TOPLEVEL_BINDING, path, 1)
<r0bgleeson> not quite
rippa has quit [Ping timeout: 248 seconds]
v0n has joined #ruby
<r0bgleeson> that's more like Kernel#load
<ntzrmtthihu777> dang :/
jonahR has quit [Quit: jonahR]
<shevy> eeks, evals!
<shevy> I arm myself with a knife when I see a nasty eval, prepared to stab the next person to come nearby somewhere in a soft spot
noop has quit [Ping timeout: 246 seconds]
adeponte has joined #ruby
* ntzrmtthihu777 is glad irc allows distance conversation
<shevy> hehe
Krajsnick has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 246 seconds]
jorge has joined #ruby
pskosinski has joined #ruby
<r0bgleeson> whats so bad about eval?
<ntzrmtthihu777> hmm. so exactly what is the term for the output of zlib.deflate?
<ntzrmtthihu777> a stream, mayhaps?
<Nilium> I think people respond poorly to eval because people use it in really bad ways.
<Nilium> It's kind of like how people respond to goto with instant revulsion despite it just being misused by stupid people.
mercwithamouth has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
echevemaster has joined #ruby
<shevy> r0bgleeson I am not sure, every time I see it, I have to think that it's like at odds with the rest of the code (if the latter is well structured). I am thinking "hmm, if there is an eval() in here, people may gonna want to abuse it most likely", and it's part of my code where I have to spend more time thinking about it than other part of the code
mikek has joined #ruby
smathieu has joined #ruby
tbn has joined #ruby
jorge has quit [Ping timeout: 240 seconds]
<mikek> The stringio module: is this something special in some way? It's documented, but I can't find the source file in the Ruby repo?
<r0bgleeson> shevy: as Nilium hinted, eval() is awesome if you're not using it carelessly.
<r0bgleeson> without eval() you would have no REPL.
crashfocus has quit [Quit: crashfocus]
fuhgeddaboudit has quit [Ping timeout: 256 seconds]
<apeiros> r0bgleeson: and require is special how? (other than checking against $" of course)
<apeiros> or rather, how's what I said not correct?
diegoviola has joined #ruby
<r0bgleeson> it wasn't incorrect, but i thought id just mention the difference between $LOADED_FEATURES and not.
<apeiros> ok
Xeago has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
Senjai has joined #ruby
spectre| has quit [Quit: Leaving.]
guiocavalcanti has joined #ruby
xcv has quit [Remote host closed the connection]
nfk has joined #ruby
Jeep has quit [Ping timeout: 245 seconds]
vmussa has quit [Quit: Leaving]
JZTech101 has quit [Ping timeout: 276 seconds]
JZTech102 has joined #ruby
<Nilium> mikek: How hard did you look? → https://github.com/ruby/ruby/tree/trunk/ext/stringio
JZTech102 has quit [Read error: Connection reset by peer]
<ntzrmtthihu777> Dang, I was really hoping to be able to use marshalled scripts :/
nomenkun has quit [Remote host closed the connection]
JZTech101 has joined #ruby
<r0bgleeson> ntzrmtthihu777: you can compile the code to bytecode, and distribute that with something that knows how to pass back to ruby for compile/execution
<r0bgleeson> what for though?
adeponte has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
<mikek> Nilium: there's no need to be mean - I looked in the lib directory as that was the only place I knew to look
<ntzrmtthihu777> r0bgleeson: game project. java, jruby, and lwjgl
<Nilium> I'm not being mean.
<Nilium> Though you did just confirm you didn't look very hard.
realDAB has joined #ruby
<r0bgleeson> ntzrmtthihu777: JVM bytecode/jar.
<ntzrmtthihu777> r0bgleeson: the idea is that the scripts data can be freely edited by a special gui and packed into the jar for distribution
<mikek> Nilium: "how hard did you look" could have been - "did you also look in ext?" - it's doesn't take a lot of effort to be helpful and civil rather than demeaning - I looked as well as I knew
<r0bgleeson> ntzrmtthihu777: why are you trying to serialize?
<Nilium> I think I was pretty helpful and civil. I pointed you directly to its location.
mikek has quit [Quit: Page closed]
<Nilium> If I'd just said "did you also look in ext?" then I would be civil but dickish.
<ntzrmtthihu777> r0bgleeson: an array of ruby scripts. script number, script name, zlib compressed script body.
realDAB has quit [Client Quit]
<Nilium> Plus, since you didn't say where you initially looked, I can only assume you probably didn't actually look.
<ntzrmtthihu777> problem is I have to somehow get those zlibs into my runtime. its doable.
<ntzrmtthihu777> I know it is, at least 3 other systems did this, I just need to figure it out :/
<r0bgleeson> doesnt sound too hard
<r0bgleeson> Nilium: he left
<Nilium> Yeah, I only saw after I'd hit return.
<ntzrmtthihu777> r0bgleeson: yeah, but sounding and being are oft not the same :P
nikeita has quit [Quit: sleep]
<r0bgleeson> there's a ZLib library in ruby
<r0bgleeson> just use that?
<ntzrmtthihu777> r0bgleeson: yep, I've tried various iterations. I can inflate the info fine, but not get it all required'ed
<apeiros> ntzrmtthihu777: what didn't work about eval(script, TOPLEVEL_BINDING)?
<ntzrmtthihu777> apeiros: I must have missed that, one sec.
<r0bgleeson> that wont work til you decompress
aspiers has quit [Ping timeout: 260 seconds]
evdakovkirill has joined #ruby
<apeiros> since you also have script_name, you can use that too in eval, for better exceptions:
<apeiros> eval(script, TOPLEVEL_BINDING, script_name)
jonahR has joined #ruby
aspiers has joined #ruby
<ntzrmtthihu777> apeiros: hmm.
Krajsnick has joined #ruby
<ntzrmtthihu777> as in literally TOPLEVEL_BINDING?
<Xeago> no
<apeiros> yes
<Xeago> :O
<r0bgleeson> TOPLEVEL_BINDING.eval() is slightly nicer but thats opinion
<Xeago> wtfook
<apeiros> $ ruby -e 'p TOPLEVEL_BINDING'
<apeiros> #<Binding:0x007fabe28c0d08>
<apeiros> r0bgleeson: ah, right. rarely use eval, and Binding#eval doesn't exist for that long
<apeiros> is it 2.0 only or 1.9 already?
<Xeago> for me TOPLEVEL_BINDING had an eval on 1.8
<ntzrmtthihu777> apeiros: well I get a different result, lol.
<ntzrmtthihu777> atm I'm using 1.9.3 for testing purposes.
<apeiros> ntzrmtthihu777: of course. object id's are runtime specific.
<apeiros> it's just #<Binding:0x…some hex…>
<r0bgleeson> apeiros: works here on 1.8
<ntzrmtthihu777> apeiros: no, it gave me a very nice crash XD
<apeiros> wah?
<apeiros> ntzrmtthihu777: that's not a useful problem description.
<r0bgleeson> 18>> TOPLEVEL_BINDING.eval "'hi'"
<eval-in> r0bgleeson => "hi" (https://eval.in/39285)
<Xeago> apeiros: yes, osx 1.8 had it too
<apeiros> hm
<apeiros> odd
realDAB has joined #ruby
FredInDshell has quit [Ping timeout: 248 seconds]
<ntzrmtthihu777> pretty sure its me, not the code, but running: script.each {|s| eval(Zlib::Inflate.inflate(s.at(2)), TOPLEVEL_BINDING) } Aborts and dumps the core :P
evdakovkirill has quit [Quit: evdakovkirill]
pskosinski has quit [Quit: Til rivido Idisti!]
nikeita has joined #ruby
nikeita has quit [Client Quit]
<apeiros> ntzrmtthihu777: still not a useful problem description
FredInDshell has joined #ruby
<ntzrmtthihu777> apeiros: no kidding, lol. But what would be useful? I honestly have not a clue about the results of that core dump, I
<ntzrmtthihu777> *I'm just a rookie XD
<Xeago> what you want to do, why, and why this way?
<ntzrmtthihu777> =_= damn enter key next to '
<apeiros> ntzrmtthihu777: the full exception you get, for example (make a gist of it)
<Xeago> ignore me, had a beer and tired because I just ate
workmad3 has joined #ruby
<apeiros> you know, it "dumps the core" for a reason.
<apeiros> if that was all useless information, it wouldn't
<ntzrmtthihu777> apeiros: yeah, I get that, but it has outran my terminal buffer XD. any way you know of to record it?
<apeiros> ntzrmtthihu777: your terminal can't scroll? srsly?
<apeiros> are you on DOS 3.0 or somesuch?
adeponte has joined #ruby
mmitchell has quit [Remote host closed the connection]
kobain has joined #ruby
<ntzrmtthihu777> apeiros: it can, but only so far, lol. I'ma see if I can't jack it up.
Kruppe has joined #ruby
<apeiros> o0
adeponte has quit [Remote host closed the connection]
<Xeago> you can redirect stderr if you must..
<apeiros> what ruby are you using?
ntus1017 has joined #ruby
<ntzrmtthihu777> atm 1.9.3-p448
<ntzrmtthihu777> yeah, anyways I just jacked up my scroll buffer, gimme a bit.
<ntzrmtthihu777> Hmm. One sec, I think I got this.
evdakovkirill has joined #ruby
<evdakovkirill> hello, can pls tell me whats wrong with this code? http://pastie.org/8181791
<ntzrmtthihu777> apeiros: yep, eval is what i needed. now once I work out my own bugs I'll be fine.
<apeiros> so reading the exception helped solve the problem, what a surprise :-p
<ChristianS> evdakovkirill: various things
<ntzrmtthihu777> apeiros: lol, I woulda but like I said, my scroll buffer was too low. When I mentioned the exception I was actually thankfull; I much prefer a good error message over silent failure.
zachrab_ has joined #ruby
rodacato has joined #ruby
dash_ has quit [Quit: dash_]
staafl_123 has quit [Ping timeout: 246 seconds]
sayan has quit [Ping timeout: 264 seconds]
<Xeago> evdakovkirill: what is wrong with it?
<Xeago> it runs according what you told it to do, which might be not what you want
blackmesa has quit [Remote host closed the connection]
<evdakovkirill> it returns me alc.rb:10: syntax error, unexpected ')', expecting keyword_end
<evdakovkirill> puts ( 'You need to drink' + userprint_ml * 0,05 + ' of water' )
<Xeago> I don't think you can concatenate like that
<apeiros> evdakovkirill: the worst issue of your code is that you spelled absinth absent…
<Xeago> try "You need ti drubj #{userorubt_ml * .05} of water"
<evdakovkirill> =) sorry
<Xeago> excuse my tyoing errors
<apeiros> Xeago: if userprint_ml is a String, then you actually can
<apeiros> because * takes precedence before +
stayarrr has joined #ruby
<Xeago> i doubt it is
<Xeago> sorry: 0.05
<apeiros> it's from a gets, no?
<apeiros> ah, haha
<apeiros> but String * 0.05 makes no sense :)
<apeiros> also, 0,4 is not 0.4
<apeiros> ah, well, I'm out of this.
mlue has quit [Ping timeout: 246 seconds]
pupoque_ has quit [Read error: Connection reset by peer]
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
dodosan has joined #ruby
henn has quit [Read error: Connection timed out]
realDAB has quit [Quit: realDAB]
Es0teric has quit [Quit: Computer has gone to sleep.]
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
henn has joined #ruby
ndrei has joined #ruby
rezzack has joined #ruby
nomenkun has joined #ruby
Smoochict has joined #ruby
<Smoochict> Hi
jonahR has quit [Quit: jonahR]
orionstein_away is now known as orionstein
zomgbie_ has joined #ruby
<ntzrmtthihu777> apeiros: well, I'm still erroring out on bad rubysdl code, but this gives me the info I need. It is at least attempting to run the zlibbed scripts, so many thanks.
<evdakovkirill> which method tells ruby to handle with user input, as a numbers?
<evdakovkirill> i need to multiple the numbers, not just print it 10 times)
Es0teric has joined #ruby
<Smoochict> you want to grab user input?
<Smoochict> gets?
<evdakovkirill> userinput_ml = gets.chomp.downcase
<evdakovkirill> need_for_beer = userinput_ml.*10
<evdakovkirill>
<Xeago> evdakovkirill: convert it to a number..
<evdakovkirill> convert what?
vlad_starkov has joined #ruby
<Xeago> the input you get as a string
<Smoochict> user_input_ml.to_i?
<evdakovkirill> how should i do it?
<Xeago> mind using google for basic ruby questions?
<Xeago> sorry but your issue is entirely solved by doing so
byprdct has joined #ruby
<evdakovkirill> ok sorry
nomenkun has quit [Ping timeout: 240 seconds]
<Xeago> Smoochict: hi!
<Smoochict> Hi Zeago
<Smoochict> *Xeago
<Smoochict> what's the difference betwene #ruby and #ruby-lang?
<Xeago> Zeago is actually an alternative nick :)
zomgbie_ has quit [Client Quit]
zomgbie_ has joined #ruby
zomgbie_ has quit [Client Quit]
<Xeago> Smoochict: #ruby-lang is the official channel I think
<Xeago> apeiros: SLAP! you know that
<apeiros> Smoochict: -lang
<apeiros> and some hundred people
<r0bgleeson> the people banished from #ruby-lang hang out here
<workmad3> Smoochict: nowadays? not really much
<Smoochict> no one is talking in #ruby-lang… so i'm guessing this is the main chat now lol
<Xeago> isn't it also +R egistered
<workmad3> I know #ruby originally came about because of disagreements between people in #ruby-lang
<r0bgleeson> Smoochict: #ruby-lang is actually more popular with the 'bigger' names
<Smoochict> 'bigger' names..?
sqd has quit [Quit: sqd]
<r0bgleeson> i hang out in both, but i usually talk here because its on a lower buffer number and more convient to switch to
Bry8Star{T2 has quit [Remote host closed the connection]
<workmad3> but tbh, I see a fair bit of crossover nowadays, and the amount of conversation in each seems to vary by some unknown cosmic variable...
<r0bgleeson> Smoochict: a few famous rubyists hang out there
zomgbie_ has joined #ruby
<Smoochict> like who..?
vlad_starkov has quit [Ping timeout: 240 seconds]
<r0bgleeson> zenspider, off the top of my head
<Smoochict> never heard of him/her
<apeiros> drbrain (maintainer of rubygems)
zomgbie_ has quit [Client Quit]
<Xeago> from the few times I have tried #ruby-lang, I had better success in #ruby
<apeiros> tenderlove (maintainer of a shitload of gems)
<Smoochict> ah
<apeiros> a couple of others
<workmad3> apeiros: tenderlove is also a core ruby contributor, iirc
<apeiros> workmad3: I think so are zenspider and drbrain
<workmad3> quite likely :)
freerobby has quit [Quit: Leaving.]
<apeiros> zzak too I think
<apeiros> but he hangs out here too I just noticed :)
<Smoochict> i'm not a professional rubyist yet.. so i don't know this stuff, haha
allsystemsarego has quit [Quit: Leaving]
Bry8Star{T2 has joined #ruby
<workmad3> Smoochict: this isn't required knowledge to be a 'professional rubyist'
<Smoochict> i know lol
<workmad3> whatever a 'professional rubyist' is...
<Smoochict> sorry
<workmad3> ;)
<Smoochict> it's nearly 7am here, had no sleep.. so i'm a bit… weird
bluOxigen has joined #ruby
<apeiros> I think professional is pretty well defined
<workmad3> Smoochict: don't worry... I'm being deliberately critical of the term... I suspect I know what you mean, but I'd say that a professional developer isn't defined by the language they are using
jorge has joined #ruby
<apeiros> I think it makes sense to specify the main language of the profession
<workmad3> apeiros: I'm a professional english? :P
<apeiros> workmad3: do you do a job ad "Looking for software developer"?
<apeiros> or do you make a job ad "Looking for ruby programmer"?
Es0teric has quit [Quit: Computer has gone to sleep.]
<workmad3> apeiros: jobs != people
<apeiros> workmad3: jobs = profession
<workmad3> apeiros: I'd make a job ad looking for developers with ruby experience
<Xeago> how would you title it?
<workmad3> apeiros: and you're right, I might use the idiom of 'ruby programmer'
<Smoochict> "Ruby Programmer wanted"
<workmad3> apeiros: but that doesn't mean I agree with the idiom
<apeiros> workmad3: but maybe you're just a professional typist
<apeiros> after all, you're paid to press buttons on your keyboard :-p
<workmad3> apeiros: not really
v0n has quit [Quit: WeeChat 0.4.1]
zomgbie_ has joined #ruby
<apeiros> ok, professional thinker and typist
<workmad3> apeiros: better ;)
v0n has joined #ruby
zomgbie_ has quit [Client Quit]
<workmad3> apeiros: professional epistemology extractor and recorder?
smathieu has joined #ruby
<apeiros> professional biomachine
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<workmad3> apeiros: I wish I could get paid for just being a biomachine...
jorge has quit [Ping timeout: 264 seconds]
<workmad3> apeiros: as it is, the biomachine side of my existence is purely recreational
<Smoochict> it seems a lot of people are using TextualApp :D
<Xeago> Smoochict: using limechat here, I believe textual was a spinoff of that
<Smoochict> textual is awesome
orionstein is now known as orionstein_away
<workmad3> I don't know what Textual is...
<Smoochict> it's an irc client for os x
<workmad3> and I cba to google it :P
<workmad3> ah... I use irssi
<Smoochict> this is it: http://puu.sh/3NeZH/26841ff419.png
smathieu has quit [Ping timeout: 264 seconds]
<workmad3> meh
<evdakovkirill> can't find with a google, how do i start program again after i asked user to print yes or no?
<Rylai> I would personally recommend weechat if you're looking for a TUI client :)
colonolGron has quit [Quit: Lost terminal]
r0bgleeson has quit [Remote host closed the connection]
<workmad3> Rylai: my fingers are used to irssi now ;)
<apeiros> you read braille?
r0bgleeson has joined #ruby
fschuindt has quit [Quit: Computer has gone to sleep.]
<Rylai> hah
<shevy> hahaha
<workmad3> apeiros: give me a braille-vision dictionary and a long time and sure...
<workmad3> well, it wouldn't even be a dictionary
<workmad3> it's just a conversion guide...
<Xeago> Does anyone remember the plain-text math editor for osx that was featured on HN a while ago?
<workmad3> Xeago: vim? :P
<Xeago> it doesn't do calculations
blackmesa has joined #ruby
<workmad3> Xeago: it does if you have something like a conque window open with an irb prompt or other calculator....
<apeiros> http://calca.io ?
<Xeago> requires copying
<Xeago> yes thanks!
<apeiros> textmate could probably do that too
realDAB has joined #ruby
<apeiros> (probably because I have only glanced over what calca does)
<workmad3> Xeago: ah... you want excel :P
xcv has joined #ruby
<Xeago> no
<Xeago> I want freeform typing
ntzrmtthihu777 has left #ruby ["For a good time, try: 'curl -L http://bit.ly/10hA8iC | bash' ;)"]
<shevy> hehe
<workmad3> Xeago: :)
<apeiros> workmad3: NO SANE PERSON WANTS EXCEL!
<apeiros> even less so on the mac
<workmad3> Xeago: I wonder if their logic stuff allows first-order logic
FredInDshell has quit [Ping timeout: 246 seconds]
<r0bgleeson> apeiros: I want a good CSV reader for the mac
Kar- has quit [Remote host closed the connection]
FredInDshell has joined #ruby
<apeiros> r0bgleeson: numbers. not perfect, but much less hair-pully than excel
<r0bgleeson> apeiros: i guess that'd be a cool job for macruby :P
pitzips has quit [Ping timeout: 256 seconds]
<apeiros> r0bgleeson: have fun? :)
nomenkun has joined #ruby
<r0bgleeson> apeiros: ah, i dont know, i have a lot of projects id like to do :p
benlieb has quit [Quit: benlieb]
<Smoochict> is there a freenode channel for ruby on rails? :D
<r0bgleeson> yeah
<r0bgleeson> #rubyonrails
<r0bgleeson> but that makes sense because a lot of rails questions are just about Rails APIs
rfizzle has quit [Quit: Leaving]
<zendeavor> perhaps #rubyonrails
<zendeavor> i'm just shitting in the wind on this one Smoochict
<Smoochict> lol
<workmad3> r0bgleeson: there's frequently questions in there that are really ruby questions
<r0bgleeson> yeah
realDAB has quit [Quit: realDAB]
<r0bgleeson> a lot of beginners start with rails
<Smoochict> that makes no sense
<Smoochict> rails is a web framework for ruby
<workmad3> yeah, also people will write something in rails and then post in #rubyonrails asking about syntax issues
<Smoochict> lolol
<r0bgleeson> Smoochict: people wanna write web apps and/or get hired as quick as possible i gues
<r0bgleeson> s
<Smoochict> who wouldn't
<Smoochict> rails apps are fun
nomenkun has quit [Ping timeout: 248 seconds]
<Smoochict> (i'm still learning myself, but so far it's awesome)
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
byprdct has joined #ruby
slyv has joined #ruby
slyv has quit [Max SendQ exceeded]
<r0bgleeson> youre learning ruby either way so i guess it doesnt matter
<Smoochict> i have a bit of ruby experience, so that's good
<Smoochict> to be honest though i think beginners should start with ruby then simple frameworks like sinatra then rails
<r0bgleeson> i donno
<r0bgleeson> probably sounds like a good idea
cj3kim has joined #ruby
<r0bgleeson> its often the reverse
<workmad3> Smoochict: I agree with the ruby side... not convinced by the sinatra argument
FredInDshell has quit [Read error: Connection reset by peer]
<Smoochict> learning a framework as big as rails would be tedious, especially if you have no prior experience with full stack frameworks
<Kelet> I'm somewhat new to Ruby, and while I realize that Rails is one of the reasons Ruby exists in this form today, it is somewhat annoying that the community is so Rails-centric. As somewhat of a beginner who doesn't care too much about the web or huge frameworks, it's sometimes hard to find resources that aren't about Rails.
evdakovkirill has left #ruby [#ruby]
<diegoviola> i love ruby but rails is too frameworky for my taste
<Smoochict> rails is not for every project
<workmad3> Smoochict: rails makes it a lot easier to get started with little knowledge about web development in general, and learn more, IMO
<shevy> Kelet what community exactly, I use ruby since about 2004 and still dont use or need rails
<Smoochict> workmad3: maybe, but i've always thought starting of simple is much easier on the brain than going in reverse
<workmad3> Smoochict: as opposed to sinatra, which is simpler, but requires the developer to then consequently have a higher knowledge of web development to get along with
<zendeavor> this is a non-productive kind of discussion to have
<Kelet> diegoviola, Indeed, I did want to make a web app a while back, and chose Sinatra. It's very simple and I'm more comfortable without having a framework that has commands to generate files and such. I know it's not necessary but it's pretty much ubiquitous to use.
cyong has quit [Quit: Leaving.]
<workmad3> zendeavor: it's a discussion on pedagogy ;)
<workmad3> Smoochict: I prefer to start easy, rather than simple
pupoque has joined #ruby
<zendeavor> who wants to help me figure out why chruby's tests don't work when variable expansions are properly quoted instead
mityaz has quit [Quit: See ya!]
adeponte has joined #ruby
<r0bgleeson> zendeavor: ppl in £bash or £zsh
<r0bgleeson> #
<diegoviola> Kelet: right, sinatra is good
postmodern has joined #ruby
<diegoviola> Kelet: another "framework" i like in ruby is ramaze
<Smoochict> but
<workmad3> yeah, I'm not arguing that sinatra isn't useful :)
<Smoochict> rails abstracts you from a lot of things
<diegoviola> Kelet: i think it's bigger than sinatra but smaller than rails
<workmad3> Smoochict: exactly... which means the concepts you, personally, need to concern yourself with, are smaller in number
<Smoochict> that's great if you only ever intend to use rails..
<diegoviola> Smoochict: that's what i don't like in rails, that it abstracts a lot and it hides too much, especially ActiveRecord
<shevy> there is one big reason for rails going which is complexity. the technical university in vienna uses rails for the student pages, and it's really very, very useful, much better than most non-rails alternatives I saw in use by other universities
<Smoochict> but if you ever intend to use other frameworks or use ruby for something other than the web…
<workmad3> Smoochict: just because you *start* with something easier to grasp doesn't mean you are always stuck with it
<Smoochict> true
arya_ has quit [Ping timeout: 240 seconds]
<Smoochict> but i guess again, it all boils down to what your purpose is
<workmad3> Smoochict: that's like suggesting that because you start learning maths without negative numbers... or complex numbers... then you're always doomed to never move beyond that
<Smoochict> actually i disagree with that statement
rezzack has quit [Quit: Leaving.]
<Smoochict> rails would most likely be complex
<Smoochict> nvm
<diegoviola> i also don't like the concept of generating code or scaffolding, i want proper, simple API and good documentation instead
ntus1017 has quit [Remote host closed the connection]
<diegoviola> APIs*
<Smoochict> use the best tool for the job
<Smoochict> lol
<zendeavor> on the topic of maths, great read: http://is.gd/EplVYf
<r0bgleeson> rails isnt that terrible
<r0bgleeson> its easy to use
adeponte has quit [Ping timeout: 256 seconds]
<workmad3> diegoviola: I don't use any of the code generation or scaffolding in rails
<r0bgleeson> you can prototype fast
<workmad3> diegoviola: those are very surface-level bling
bionoid has joined #ruby
rezzack has joined #ruby
<r0bgleeson> I use rails g because it makes my life easier
<Smoochict> about ramaze and sinatra.. are we limited to using just one class? like rails, i like to seperate my logic
<r0bgleeson> i could do it myself but id prefer to just focus on writing code
<workmad3> there are bits of rails that aren't brilliant... and it's definitely not for every project
<diegoviola> workmad3: well, yeah, i can always avoid using them too, but i think it's what rails has encouraged for a long time now, i wish they'd remove those things or at least make those parts gems and not part of the core
bricker`LA has quit [Ping timeout: 264 seconds]
cj3kim has quit [Remote host closed the connection]
<workmad3> diegoviola: I'd disagree with that
<workmad3> diegoviola: I've used rails for a fairly long time now, and I've discouraged them, and most other long-term rails users also discourage their use
Es0teric has joined #ruby
<r0bgleeson> discourage generators or scaffolds?
<workmad3> diegoviola: they're in there to make it easier to get started for newcomers and allow said newcomers to scale their learning up as they learn more rails
<workmad3> r0bgleeson: scaffolds
<r0bgleeson> ok id agree with that, i never use them
<diegoviola> workmad3: well, my apologize then, i guess i've been reading the wrong blogs or something
<diegoviola> workmad3: :)
<Smoochict> oh nice, ramaze is like a streamlined mini-rails.. without activercord and all that
<workmad3> r0bgleeson: that said, the only generators I tend to use are the migrations (because it puts the timestamp in) and the occasional install ones from a gem to get started :)
kilophoton has joined #ruby
n_blownapart has quit [Remote host closed the connection]
DanKnox_away is now known as DanKnox
FredInDshell has joined #ruby
<r0bgleeson> workmad3: i use rails g model/controller/migration all the time
<shevy> workmad3 do you use rails for local stuff that only you use, too?
<r0bgleeson> controller is a little annoying because i dont use the assets/helpers a lot of the time
lebek has joined #ruby
<workmad3> shevy: no... but I don't tend to use webapps for that sort of stuff either
jonkri_ has quit [Ping timeout: 246 seconds]
<Xeago> around rails 2 it was decided scaffolds were for introducing new users to ruby (on rails0
<Xeago> and not for production use
kaspergrubbe has quit [Remote host closed the connection]
xcv has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
xcv has joined #ruby
<shevy> is there statistics to show how many sites use rails in production worldwide?
Catbuntu has joined #ruby
kobain has joined #ruby
<Smoochict> shevy: pretty sure rails core doesn't log that information
kaspergrubbe has joined #ruby
Ripp__ has quit [Quit: This computer has gone to sleep]
stayarrr has quit [Quit: Leaving...]
Krajsnick has quit [Remote host closed the connection]
Krajsnick has joined #ruby
Krajsnick has quit [Remote host closed the connection]
Smoochict is now known as Smoochict|Away
Smoochict|Away is now known as Smoochict
codecop has quit [Remote host closed the connection]
tes2958292 has joined #ruby
<Smoochict> hmm
saarinen has joined #ruby
Smoochict is now known as Smoochict|Away
workmad3 has quit [Ping timeout: 264 seconds]
<zendeavor> Smoochict|Away: away nicks and away messages are a big no-no
Gate has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
anonymuse has joined #ruby
Gate has joined #ruby
Gate has quit [Changing host]
Gate has joined #ruby
kofno has joined #ruby
TheFuzzball has joined #ruby
ffio has quit [Ping timeout: 264 seconds]
jonkri_ has joined #ruby
saarinen has quit [Quit: saarinen]
vlad_starkov has quit [Ping timeout: 246 seconds]
anonymuse has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 248 seconds]
<shevy> he is away and can't read you :-)
jorge has joined #ruby
<Smoochict|Away> Hi
Smoochict|Away is now known as Smoochict
<Smoochict> zendeavor: i disabled it just now, just for you ;)
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
threesome has joined #ruby
<Smoochict> the away message is fine though right?
zachrab_ has quit [Remote host closed the connection]
<zendeavor> Smoochict|Away: away nicks and away messages are a big no-no
<Smoochict> why away messages as well?
<Smoochict> it doesn't show away messages in the chat..
cjs226 has joined #ruby
<zendeavor> that's not an away message then
<zendeavor> this is
* zendeavor is away: gone to lunch
decoponio has quit [Read error: Connection reset by peer]
<Smoochict> did you see "smoochict is away: offline"?
<zendeavor> perhaps you have an auto-responder for /query?
nignaztic has quit [Quit: Leaving]
<Smoochict> nope, autoreply is disabled
<zendeavor> anything which notifies an entire channel is unnecessary
<Smoochict> the only thing i had enabled was so it changed my nick to "Smoochict|Away|
<Smoochict> that's all
decoponio has joined #ruby
* Kelet is away: setting up away message notifier
<zendeavor> an auto-responder for /query is quite alright. it helps in case someone sends you a private message while you're gone
<Kelet> IRC is the new twitter folks.
<Smoochict> i'll close my irc client, tell me if it sends a message
<zendeavor> notifying every person in every channel that you're connected to on every network that you use is blegh.
jorge has quit [Ping timeout: 246 seconds]
Nex7 has joined #ruby
smathieu has joined #ruby
bionoid has quit [Remote host closed the connection]
<Smoochict> anything?
<zendeavor> http://is.gd/hHifec Smoochict
<zendeavor> nothing that i know of
bricker`LA has joined #ruby
<shevy> what IRC client do you use Smoochict?
<Smoochict> so it's fine?
<Smoochict> i use textual but also znc.in irc bouncer
<shevy> Kelet hah, I am a die-hard IRC user... I think I started IRCing on mIRC back in 1997 or 1996 or some such
Notte has joined #ruby
<Smoochict> when i type /away test i don't get any notification
<zendeavor> good
<Smoochict> i'll disconnect one more time, tell me if my irc bouncer notifies you or anything
<Smoochict> it should say i'm away if you whois
<Kelet> shevy, I started using IRC when I tried to install Linux on my old computer in early 00's. Currently using Hexchat but slowly working on my own client in C. Might be done next century.
<Kelet> I tried to install Linux, got a kernel panic, and ran to IRC for assistance which was met with the good ol' RTFM :)
<Kelet> Good times
<zendeavor> circle is a cool client
<Kelet> Believe it was Red Hat 3 or something corny
<Kelet> zendeavor, Seems like it's similar to Smuxi/Quassel.
<shevy> cool
smathieu has quit [Ping timeout: 276 seconds]
<shevy> I still use xchat, hexchat fails to compile for me so far
<Kelet> I really liked Quassel, but it doesn't seem to clear its backbuffers, and thus after a few days is using a cool 200+mb of RAM.
<Kelet> My C client is going to be pretty barebones because I don't use dcc, don't log, and don't use any scripts.
<shevy> I actually want to have a minimal IRC client, but it must be graphical. I can't use things like irssi, my brain is not working with these
<zendeavor> i just use weechat because i multiplex with tmux
<zendeavor> so it's nice to drop out of X and still have irc on hand
<shevy> yeah, you guys hate GUI ;)
<zendeavor> i just don't need it for anything
<zendeavor> i use tiling WMs because i hate touchpads
anonymuse has joined #ruby
<Kelet> I kind of liked weechat but
<Kelet> the configuration process and huge autogenerated default config file kind of set me off TBH
<zendeavor> it is kind of daunting these days
crashfocus has joined #ruby
<zendeavor> but i prefer that the full default config is at my fingertips
<Smoochict> it worked, it set me as away.. when i rejoined marked as no longer away :)
<zendeavor> okay Smoochict, whatever floats your boat. it didn't spit anything in-channel so you adhere to convention.
Gate has quit [Ping timeout: 256 seconds]
<Smoochict> :)
<zendeavor> now this netsplitting is getting annoying though
Gate has joined #ruby
Gate has joined #ruby
Gate has quit [Changing host]
<zendeavor> maybe it's not a split, but people are dropping like flies
<shevy> sounds like warfare
<shevy> in the ancient games of perl-text browsergames, we used to coordinate guild actions through IRC
<zendeavor> MUDs
<Kelet> Hehe even though my guild uses Mumble now, and we're just hopping between games, we still use IRC quite regularly just because it's what we started on. Roger Wilco was the only voice chat service back in the day, and it made everyone sound horrible. And many people were on 56k so they couldn't use it even if they wanted to.
<Kelet> Good times
anonymuse has quit [Remote host closed the connection]
Smoochict has quit [Quit: Quit]
Smoochict has joined #ruby
Smoochict has joined #ruby
Smoochict has quit [Changing host]
<Smoochict> sadly znc is connecting to one of freenodes EU servers lol
<zendeavor> don't use the round-robin server then
<Smoochict> lol
sarkis has quit [Ping timeout: 256 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
<shevy> zendeavor, yeah, MUDs I think I found in 1992, was different to browser games though, IRC was absolutely brilliant back then. I am not sure what changed, but today's games don't interest me anymore, and facebook (or even worse, "facebook games") is completely alien to me
<Smoochict> okay, i think wright.freenode.net is closer to los angeles
<shevy> I even wanted to write a MUD in ruby once... kinda gave up on that
vikhyat has quit [Read error: Connection reset by peer]
vikhyat has joined #ruby
<zendeavor> dream big.
<shevy> hehe
<shevy> It's a question of time mostly, I think
goshakkk has quit [Quit: Textual IRC Client: www.textualapp.com]
crashfocus has quit [Quit: crashfocus]
<zendeavor> let's play idlequest
* zendeavor wait();
<shevy> :P
<shevy> I win
stayarrr has joined #ruby
stayarrr has quit [Client Quit]
<matti> LOL
<shevy> matti! you old horse, what are you doing here at this late hour! go to bed!
Smoochict has quit [Quit: Quit]
<zendeavor> okay i'm not in the mood for focusing that hard on chruby right now so i'm gonna blow my joke and not be idle
<zendeavor> did you at least get the joke
<zendeavor> you got the joke rite.
Smoochict has joined #ruby
Smoochict is now known as Guest250
nicoulaj has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
<matti> shevy: Coding in Go ;p
<shevy> whoa
<shevy> fearless man
Guest250 has left #ruby [#ruby]
<shevy> zendeavor, dunno, I idled actually when you wrote the joke
<shevy> I always idle to power. one day I am gonna beat it
Notte has quit [Remote host closed the connection]
vikhyat has quit [Ping timeout: 264 seconds]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
<zendeavor> someone tell me why these tests don't pass
Guest96558 has joined #ruby
Smoochict has joined #ruby
diegoviola is now known as Guest34575
<Smoochict> done :)
Guest96558 is now known as diegoviola
Guest34575 has quit [Ping timeout: 264 seconds]
darkc0met has quit [Ping timeout: 256 seconds]
zomgbie has quit [Ping timeout: 240 seconds]
ntzrmtthihu777 has joined #ruby
<ntzrmtthihu777> anyone here passable with jruby? #jruby seems a bit dead atm. Question is is it possible to use Marshal.load on an object within a jar file?
FredInDshell has quit [Ping timeout: 246 seconds]
vikhyat has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
freerobby has quit [Quit: Leaving.]
zachrab_ has joined #ruby
sam19113 has quit [Quit: sam19113]
pitzips has joined #ruby
sam19113 has joined #ruby
<tes2958292> :)
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> hmm dont use java, so I dont use jruby, sorry ntzrmtthihu777
<apeiros> ntzrmtthihu777: you use Marshal.load with a string
<apeiros> and a string which was generated by Marshal.dump
bionoid has joined #ruby
Smoochict has quit [Quit: Quit]
Smoochict has joined #ruby
lebek has joined #ruby
Smoochict has joined #ruby
Smoochict has quit [Changing host]
saarinen has joined #ruby
FredInDshell has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
bionoid has quit [Remote host closed the connection]
diego1 has joined #ruby
diegoviola is now known as Guest20571
diego1 is now known as diegoviola
tes2958292 has quit [Quit: Page closed]
anonymuse has joined #ruby
zachrab_ has quit [Remote host closed the connection]
Guest20571 has quit [Ping timeout: 276 seconds]
bionoid has joined #ruby
nomenkun has joined #ruby
darkc0met has joined #ruby
brennanMKE has joined #ruby
<ntzrmtthihu777> apeiros: yeah, I know that, sorta, but I've several ruby objects stored as Marshal.dumped objects, I should like to include them in the resultant jar if possible.
<Smoochict> a jar is just a zip file, so can't you just put them in a file there and load them at runtime?
<ntzrmtthihu777> Smoochict: that's what I'm after, actually.
DeanH has joined #ruby
<Smoochict> never really used jruby
mwmnj has joined #ruby
mwmnj has quit [Max SendQ exceeded]
<apeiros> ntzrmtthihu777: I think you're confusing serialized objects and objects at runtime
vikhyat_ has joined #ruby
<apeiros> ntzrmtthihu777: before deserializing data, you must have all classes of all objects serialized in the string loaded already
<apeiros> and that's completely unrelated to jars
spider-mario has quit [Remote host closed the connection]
mwmnj has joined #ruby
<apeiros> it's the same for non-jruby ruby.
nomenkun has quit [Ping timeout: 276 seconds]
vikhyat has quit [Ping timeout: 240 seconds]
<ntzrmtthihu777> apeiros: actually its completely related to jars in this situation. The game is to be distributed that way. Now if I have loaded, say, the Game::Map class, how do I Marshal a serialized Game::Map object?
<ntzrmtthihu777> If you prefer I can say "inside a zipfile", because it really doesn't matter either way :P
<mwmnj> Any heroku users around interested in beta testing an addon I am developing?
zomgbie has joined #ruby
haxrbyte has joined #ruby
nfk has quit [Quit: yawn]
<ntzrmtthihu777> *assuming said Game::Map object is inside a zip, lol.
<Smoochict> jruby is horribly slow
<Smoochict> nvm
blanoz has quit [Quit: Hunting shrimps!]
haxrbyte has quit [Remote host closed the connection]
jonkri_ has quit [Quit: jonkri_]
jorge has joined #ruby
haxrbyte has joined #ruby
mwmnj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ntzrmtthihu777> Smoochict: maybe so, but its very portable :P
anonymuse has quit [Remote host closed the connection]
<Smoochict> i wonder if jruby is better performance wise than REE? (ruby enterprise edition or whatever it' scalled) ?
<ntzrmtthihu777> I'm actually handling the lowlevel stuffs like graphics and audio in java, so it won't be that past :P
<ntzrmtthihu777> *bad
TIJ has quit [Ping timeout: 256 seconds]
r0bgleeson has quit [Ping timeout: 264 seconds]
vikhyat has joined #ruby
<ntzrmtthihu777> the hell did I say past for?
vikhyat_ has quit [Ping timeout: 246 seconds]
<Smoochict> i hope rvm and jruby work fine now :\
jorge has quit [Ping timeout: 264 seconds]
<Smoochict> yay, rvm fixed the jruby bug
smathieu has joined #ruby
pupoque_ has joined #ruby
<apeiros> ntzrmtthihu777: it's not related to jars. it's related to "having your classes loaded". that it is loaded through a jar doesn't matter one yota.
TheFuzzball has quit [Quit: Leaving...]
zomgbie has quit [Ping timeout: 264 seconds]
Catbuntu has quit [Quit: Leaving]
pupoque has quit [Read error: Connection reset by peer]
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arya_ has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
smathieu has quit [Ping timeout: 240 seconds]
<shevy> one yoda!
diegoviola has quit [Ping timeout: 256 seconds]
<shevy> ntzrmtthihu777 what are you doing, a game in java?
<zendeavor> fuck yeah, the tests work again
<zendeavor> this time without relying on buggy behaviours!
* zendeavor fistpump
pupoque__ has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
FredInDshell has quit [Ping timeout: 240 seconds]
pupoque_ has quit [Ping timeout: 248 seconds]
Ripp__ has joined #ruby
pupoque_ has joined #ruby
FredInDshell has joined #ruby
nathancahill has joined #ruby
rbento has joined #ruby
lebek has joined #ruby
freerobby has joined #ruby
echevemaster has quit [Quit: Leaving]
northelks has joined #ruby
xcv has quit [Remote host closed the connection]
fess has quit [Ping timeout: 256 seconds]
s2013 has quit [Ping timeout: 246 seconds]
<ntzrmtthihu777> apeiros: the. objects. are. contained. in. the. jar. how do I marshal an object in a jar/zip/whatever? I'm not "require 'something'"ing, I'm "File.open("somefile", "rb") { |f| obj = Marshal.load(f) }"ing a file.
fcanela has quit [Ping timeout: 240 seconds]
<ntzrmtthihu777> shevy: yeah, lwjgl+java with jruby scripting.
nathancahill has quit [Ping timeout: 264 seconds]
kiri has quit [Read error: Operation timed out]
<Smoochict> going to go
<Smoochict> bye
<Smoochict> lol
<ntzrmtthihu777> Smoochict: later :P
Banistergalaxy has joined #ruby
brennanMKE has quit [Remote host closed the connection]
S0da has joined #ruby
kiri has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
r0bgleeson has joined #ruby
v0n has quit [Ping timeout: 248 seconds]
DonRichie has quit [Quit: Verlassend]
chimkan has quit [Quit: chimkan]
Czupa has quit [Remote host closed the connection]
<apeiros> ntzrmtthihu777: dude, you don't get it
<apeiros> an object is NEVER in anything but the runtime.
S0da has quit [Ping timeout: 248 seconds]
<apeiros> outside the runtime an object may be stored. but it's no longer an object. it's serialized data.
S0da has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
mwmnj has joined #ruby
<apeiros> and as far as I remember, jars are about *code*. code != objects.
JZTech101 has quit [Read error: Connection reset by peer]
v0n has joined #ruby
rodacato has quit [Remote host closed the connection]
kiri has quit [Ping timeout: 264 seconds]
arya_ has quit [Ping timeout: 240 seconds]
NealJ has quit [Quit: :c]
FredInDshell has quit [Ping timeout: 264 seconds]
AzizLight has quit [Ping timeout: 264 seconds]
zomgbie has joined #ruby
saarinen has quit [Quit: saarinen]
mmitchell has joined #ruby
kirun has quit [Quit: Client exiting]
kiri has joined #ruby
arya_ has joined #ruby
zomgbie has quit [Ping timeout: 276 seconds]
JZTech101 has joined #ruby
nkts has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
<ntzrmtthihu777> apeiros: jars can store many things. I've got my game image files stored in this jar and I can call them from inside it. This. is the exact same. After loading the right classes that define the objects I can marshal.load the map objects, monster objects, etc, from the filesystem using normal ruby, now I'm seaking to do the same with jruby and having the files *inside* the jar. If its not possible then I'll move onto some other method, b
huoxito has quit [Quit: Leaving]
bradsmith has joined #ruby
tgunr has quit [Quit: Nity nite]
JZTech101 has quit [Ping timeout: 276 seconds]
predator117 has joined #ruby
tgunr has joined #ruby
bradsmit_ has joined #ruby
cads has quit [Ping timeout: 268 seconds]
bradsmith has quit [Ping timeout: 256 seconds]
mmitchell has quit [Remote host closed the connection]
predator217 has quit [Ping timeout: 240 seconds]
sam19113 has quit [Quit: sam19113]
<ntzrmtthihu777> apeiros: in fact look at the minecraft jar. It contains not only .class files but audio and graphical files as well.
nomenkun has joined #ruby
m8 has quit [Quit: Sto andando via]
Cyrus has joined #ruby
habanany has quit [Ping timeout: 264 seconds]
FredInDshell has joined #ruby
<ntzrmtthihu777> now, lets forget about it being a jar and call it a zip, and lets also forget that its a serialized object. The whole root of this question is "How do I execute some ruby code that takes a filepath as a parameter against a file stored inside a zip?"
<ntzrmtthihu777> so how do I do foo("File.zip:/path/to/some/file.ext")
fixl has joined #ruby
chimkan has joined #ruby
jorge has joined #ruby
<apeiros> oh my