apeiros changed the topic of #ruby to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
therue has quit [Remote host closed the connection]
therue has joined #ruby
mocfive has quit [Ping timeout: 245 seconds]
mocfive has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
antlong has joined #ruby
Wolland_ has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
geggam has quit [Remote host closed the connection]
nettoweb has quit [Max SendQ exceeded]
w09x has joined #ruby
<rubie> hi all: i have a rather complicated problem (complicated is relative) was wondering if someone would be willing to help me out https://gist.github.com/gabrie30/99695376db8f5983185c
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
gccostabr has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<epitron> rubie: you can do 20.downto(1) :D
gccostabr has joined #ruby
nettoweb has joined #ruby
<epitron> >> [*20.downto(1)]
<eval-in_> epitron => [20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] (https://eval.in/199141)
nettoweb has quit [Max SendQ exceeded]
<rubie> oh nice
Tomme has quit [Ping timeout: 245 seconds]
justjealouse is now known as justjello
nettoweb has joined #ruby
<rubie> yes that would be easier and more efficient code since 1 and 2 are divisible by most numbers
stunder has quit [Ping timeout: 245 seconds]
<Radar> Aren't all numbers divisible by all numbers? :D
tylersmith has quit [Remote host closed the connection]
antlong has quit [Quit: Textual IRC Client: www.textualapp.com]
<rubie> except 0
<epitron> 0 turns any number into infinity
<rubie> if thats a number
<epitron> and infinity is all numbers
<rubie> or is it just nil
Pupeno has quit [Remote host closed the connection]
<epitron> therefore 0 counts
tylersmith has joined #ruby
<epitron> <- so math
tylersmith has quit [Remote host closed the connection]
KC9YDN has joined #ruby
<epitron> oh wait
<epitron> except itself
<epitron> damn you, zero!
<rubie> ok well divisible without any remainders
<epitron> what're you actually trying to do, rubie?
<epitron> (out of curiousity)
angusiguess has joined #ruby
<rubie> find the smallest number that is divisible by all numbers 1-20
w09x has quit [Remote host closed the connection]
<rubie> i know its not the best way to solve the problem
w09x has joined #ruby
<rubie> but it will work
w09x has quit [Read error: Connection reset by peer]
dx7_ has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has quit [Ping timeout: 260 seconds]
havenwood has quit []
jthomp has joined #ruby
nobitanobi has joined #ruby
angusiguess has quit [Ping timeout: 272 seconds]
dx7 has quit [Ping timeout: 260 seconds]
kil0byte has joined #ruby
<epitron> wouldn't the smallest number divisible by those things also have to be a product of all of them?
dx7_ has quit [Ping timeout: 260 seconds]
nobitano_ has joined #ruby
<fennec> i think the number you want is the product of all the primes between 1 and 20
<rubie> yes but that teaches me nothing about programming :)
<fennec> so, 2*3*5*7*11*13*17*19?
spastorino has quit [Quit: Connection closed for inactivity]
<epitron> >> 2*3*5*7*11*13*17*19
<eval-in_> epitron => 9699690 (https://eval.in/199142)
<fennec> it teaches you about math
<fennec> math is a superset of programming
<epitron> >> [*1..20].all? { |n| 9699690 % n == 0 }
<eval-in_> epitron => false (https://eval.in/199143)
ItSANgo has quit [Quit: Leaving...]
nobitan__ has joined #ruby
<epitron> >> [*1..20].reduce(:*)
<eval-in_> epitron => 2432902008176640000 (https://eval.in/199144)
nobitano_ has quit [Read error: Connection reset by peer]
<fennec> >> [*1..20].reject { |n| 9699690 % n != 0 }
<eval-in_> fennec => [1, 2, 3, 5, 6, 7, 10, 11, 13, 14, 15, 17, 19] (https://eval.in/199145)
<epitron> >> [*1..20].all? { |n| 2432902008176640000 % n == 0 }
<eval-in_> epitron => true (https://eval.in/199146)
<rubie> actually no both are not answers to the problme
bruno- has joined #ruby
<epitron> fennec: i think you have that backwards
<eat_multi> 9699690 isn't divisible by 20
HelperW_ has joined #ruby
<epitron> >> [*1..20].reject { |n| 9699690 % n == 0 }
<eval-in_> epitron => [4, 8, 9, 12, 16, 18, 20] (https://eval.in/199147)
nettoweb has quit [Ping timeout: 260 seconds]
<fennec> epitron- worse, my math is wrong :)
hooper has quit [Quit: Leaving.]
ghostmoth has quit [Quit: ghostmoth]
<fennec> curse you discrete math
nobitanobi has quit [Ping timeout: 272 seconds]
gsd has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
<rubie> is that the smallest number tho
<rubie> ?
<centrx> >> [:one, :two, :three, :four].join('potato')
<eval-in_> centrx => "onepotatotwopotatothreepotatofour" (https://eval.in/199148)
Scripore has quit [Ping timeout: 246 seconds]
<epitron> hahah
justjello has quit [Quit: Leaving]
<epitron> >> require 'epitools'; (1..4).map(&:to_words).join('potato')
<eval-in_> epitron => cannot load such file -- epitools (LoadError) ... (https://eval.in/199149)
<epitron> nooo!
ghostmoth has joined #ruby
<fennec> hmm. maybe what you want to do is take all the numbers 1-20, start on the right, and cut out any factors of the number you're on
<epitron> >> Gem.install("epitools")
<eval-in_> epitron => libssl.so.1.0.0: cannot open shared object file: No such file or directory - /execpad/interpreters/ruby-2.1.3/lib/ruby/2.1.0/i686-linux/openssl.so (LoadError) ... (https://eval.in/199150)
<epitron> NOOOO!
<rg4> >> File.open('foo.rb', 'w') { |f| f.write("puts 'lawd'") }
<eval-in_> rg4 => 11 (https://eval.in/199151)
<rubie> naw im just looking to loop threw two arrays
<rubie> not sure how
jthomp has quit [Remote host closed the connection]
<rubie> but im trying
<rg4> i'm kinda surprised you can write to the filesystem
<epitron> >> s = Time.now; 10_000_000.times { |n| n % 2 }; Time.now - s
<eval-in_> epitron => 1.002890994 (https://eval.in/199152)
<epitron> 10 million per second...
<epitron> >> 2432902008176640000 / 10_000_000
<eval-in_> epitron => 243290200817 (https://eval.in/199153)
HelperW_ has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
<epitron> >> 243290200817 / (365*24*60*60)
<eval-in_> epitron => 7714 (https://eval.in/199154)
<rg4> >> Dir.glob(".")
<eval-in_> rg4 => ["."] (https://eval.in/199155)
<epitron> 7714 years to check! :D
bruno- has quit [Ping timeout: 240 seconds]
mocfive has quit [Remote host closed the connection]
HelperW_ has joined #ruby
Pupeno has joined #ruby
jthomp has joined #ruby
<rg4> >> Dir.getwd
<eval-in_> rg4 => "/tmp/execpad-9429fa3cad22" (https://eval.in/199156)
<rg4> >> Dir.getwd
<eval-in_> rg4 => "/tmp/execpad-5f027bb3b6c3" (https://eval.in/199157)
gh has joined #ruby
vt102 has quit [Remote host closed the connection]
mocfive has joined #ruby
Pupeno has quit [Remote host closed the connection]
jthomp has quit [Client Quit]
jottr has quit [Ping timeout: 258 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
icarus has quit [Remote host closed the connection]
<shevy> I hate rewrites
<shevy> but
mikeg has joined #ruby
<shevy> I have to admit that, they make an awful code base a bit cleaner
mikeg has quit [Remote host closed the connection]
<shevy> how do you guys fetch user input? does anyone use readline? or is it straight gets.chomp
gr33n7007h has quit [Quit: Leaving]
<centrx> I don't even use the chomp
<centrx> just straight gets man
<zrl> /join #coreos
<centrx> right into the vein of ruby
HelperW_ has quit [Ping timeout: 260 seconds]
mocfive has quit [Ping timeout: 272 seconds]
niklasb has quit [Ping timeout: 260 seconds]
patrick99e99 has joined #ruby
mocfive has joined #ruby
cndiv has quit [Ping timeout: 240 seconds]
<eat_multi> rubie: it's not efficient but I've based it on your gist, so it shouldn't be too hard to grok https://gist.github.com/DanielFerguson/4e27c36d99614023e66b
<eat_multi> I think it works, lemme check
thagomizer has quit [Quit: Leaving.]
<eat_multi> rubie: ^
Ruhk has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
agjacome has quit [Quit: Mozilla]
<eat_multi> rubie: you could also switch the increment of smallest to += 20 to save time
oo_ has joined #ruby
<eat_multi> rubie: tested, returns 232792560, I believe that's the correct answer
patrick99e99 has quit [Ping timeout: 272 seconds]
<epitron> shevy: i wrote a method called "prompt"
bizarrosandwich has quit [Read error: Connection reset by peer]
ItSANgo has joined #ruby
skammer1 has joined #ruby
mikecmpbll has quit [Quit: ciao.]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ndrei has quit [Ping timeout: 244 seconds]
ovidnis has joined #ruby
ore0s has joined #ruby
skammer1 has quit [Ping timeout: 260 seconds]
<solo_> I have some code that's going to be creating a directory and I'd like to write a couple unit tests around the "create_directory" method, but I'm unsure of the best way to do this in ruby? Mocking? Or is there something better/quicker?
Zesty has joined #ruby
oo_ has joined #ruby
Azure has joined #ruby
snath has joined #ruby
last_staff has quit [Quit: user fell asleep]
hellangel7 has quit [Remote host closed the connection]
enebo has joined #ruby
ndrei has joined #ruby
<zenspider> solo_: why?
<solo_> what do you mean why?
tessi_zz has quit [Quit: ZNC - http://znc.in]
fgo has joined #ruby
<zenspider> why are you writing a create_directory method? Why are you testing it? why aren't you using FileUtils.mkdir and just letting it be simple?
shock_one has joined #ruby
mrbubbles has quit [Quit: mrbubbles]
krisquigley has joined #ruby
<solo_> So I can easily test my code?
<solo_> If I just have FileUtils.mkdir in a massive method, that's not going to be easily testable.
<zenspider> you don't need to test FileUtils.mkdir, it's already tested
<postmodern> odd question, trying to install brightbox's ruby-ng packages
<postmodern> but apparently ruby-switch is nowhere to be found?
<zenspider> isn't that yours?
<solo_> zenspider: if the path is invalid, a syscallerror is going to be thrown
<solo_> I need to test that I handle these type of things.
<postmodern> zenspider, it's debian's replacement for update-alternatives https://packages.debian.org/wheezy/ruby-switch
<zenspider> ah. gotcha
<postmodern> debian in all their infinite wisdom dropped support for ruby from update-alternatives
<zenspider> that's not terribly surprising
rezzack has quit [Ping timeout: 272 seconds]
fgo has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 260 seconds]
krisquigley has quit [Ping timeout: 272 seconds]
shock_one has quit [Ping timeout: 272 seconds]
_maes_ has joined #ruby
sevvie has quit [Remote host closed the connection]
ndrei has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
mpistone has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
DadoCe has joined #ruby
bmurt has quit []
bbloom has joined #ruby
pyx has joined #ruby
LudicrousMango has joined #ruby
<rubie> eat_multi: great can i ask you some questions about this?
pyx has quit [Client Quit]
ovidnis has quit [Quit: Lost terminal]
InhalingPixels has joined #ruby
ore0s has quit [Ping timeout: 246 seconds]
sevvie has joined #ruby
deject3d has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
InhalingPixels has quit [Ping timeout: 250 seconds]
<zenspider> rubie: what euler problem is that?
Juanchito has quit [Quit: Connection closed for inactivity]
<rubie> 5
angusiguess has joined #ruby
<eat_multi> rubie: sorry was away
adam___ has joined #ruby
GinoMan has joined #ruby
<eat_multi> rubie: and that gist that I posted was a bit wrong, but it still seemed to work, go ahead though
<rubie> why did you use .map?
<rubie> ya it did work, what was wrong with it?
<pontiki> shevy: when i need to do tty input/output, i use highline
<zenspider> rubie: map is the right method to use to do this functionally
<rubie> doesn't .map change the array?
<rubie> i thought that was the only difference between .each
<zenspider> you should look at `ri Enumerable.map`, but the short answer is no
<zenspider> it returns a new collection with the result of mapping the old collection with the block results
bruno- has joined #ruby
<eat_multi> rubie: updated
<rubie> yea i haven't been able to wrap my head around "enumberable" when i see it in the doc
<zenspider> rubie: map! does, but I try to get ppl to avoid the bang methods
<zenspider> rubie: enumerable is your friend. spend a lot of extra time with it
<pontiki> truer words have not been spoken
<zenspider> with a bit of refactoring, my answer for euler 5 is ~ 5 lines long
<eat_multi> rubie: so in your case you get an array of trues and falses back representing whether the number in question divides into 'smallest' with no remainedr
Tricon has quit [Quit: Leaving...]
<rubie> nice!
<eat_multi> rubie: the include checks that array for any falses, if there are any.... I should really just comment the code
<rubie> feel free, hold on
<eat_multi> rubie: It's not the most elegant solution, but I've tried to keep it in line with what you initially wrote so it's easier to understand
wjimenez_ has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 272 seconds]
startupality has quit [Quit: startupality]
wjimenez5271 has joined #ruby
lkba has joined #ruby
totimkopf has joined #ruby
<rubie> if your going to make comments can you do them here, so i can keep it :) https://gist.github.com/gabrie30/671e77b4d690f57e7e7c
adam___ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
xcv_ has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
<rubie> i will read as much as i can about enumberables tonight
dukz has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
xcv has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
HelperW_ has joined #ruby
centrx has quit [Ping timeout: 246 seconds]
govg has quit [Remote host closed the connection]
diegoviola has joined #ruby
<rubie> awesome, thanks!
wjimenez5271 has quit [Ping timeout: 260 seconds]
<eat_multi> rubie: take a look, I meant inline code comments https://gist.github.com/DanielFerguson/4e27c36d99614023e66b
Scripore has joined #ruby
bricker`work has quit [Ping timeout: 240 seconds]
larissa has quit [Quit: Leaving]
mikepack has quit [Ping timeout: 244 seconds]
hooper has joined #ruby
<rubie> increment = divides_by.last
<rubie> that is just a fancy way of saying 1 correct?
<rubie> isn't this harder to read thatn using +=1
<eat_multi> rubie: 20 if you pass an array ending in 20
<eat_multi> rubie: or 30 if you pass an array ending in 30
<eat_multi> etc.
HelperW_ has quit [Read error: No route to host]
<rubie> ohhh
<eat_multi> rubie: as long as you pass in an array with highest value last all is good :P
HelperW_ has joined #ruby
<rubie> i see what you did, just to make it ore effcient, because they result will be a multiple of 20 anwyas
<rubie> spellig :(
<rubie> #tired fingers
deject3d has quit [Quit: Computer has gone to sleep.]
<eat_multi> rubie: otherwise you can run increment = divides_by.sort.last, to sort them first, I'm sure there's a better way but it's late
<eat_multi> rubie: ooh woops, off by one error
nobitan__ has quit [Remote host closed the connection]
gh has quit [Quit: Leaving]
axsuul_ has quit [Read error: Connection reset by peer]
<eat_multi> rubie: haha, ok this one works spot on :P https://gist.github.com/DanielFerguson/4e27c36d99614023e66b
thumpba has joined #ruby
HelperW_ has quit [Ping timeout: 260 seconds]
<eat_multi> woops, I thought gist urls pointed to specific revisions, not the latest version, sorry fur url spam
hooper has quit [Quit: Leaving.]
Tricon has joined #ruby
mostlybadfly has quit [Ping timeout: 244 seconds]
thesheff17 has quit [Ping timeout: 260 seconds]
HashNuke has quit [Ping timeout: 260 seconds]
mjc_ has quit [Ping timeout: 260 seconds]
olleromo___ has quit [Ping timeout: 244 seconds]
moritzs has quit [Ping timeout: 240 seconds]
whoojemaflip has quit [Ping timeout: 260 seconds]
paulog__ has quit [Ping timeout: 272 seconds]
dmoe_________ has quit [Ping timeout: 272 seconds]
mattyohe has quit [Ping timeout: 272 seconds]
dukz has quit [Remote host closed the connection]
andrewcarter has quit [Ping timeout: 260 seconds]
machty has quit [Ping timeout: 260 seconds]
kyote has quit [Ping timeout: 272 seconds]
thumpba has quit [Ping timeout: 244 seconds]
poguez_ has quit [Ping timeout: 260 seconds]
cmaxw has quit [Ping timeout: 260 seconds]
frankS2 has quit [Ping timeout: 260 seconds]
arrubin has quit [Ping timeout: 272 seconds]
fsapo has quit [Remote host closed the connection]
bove has quit [Ping timeout: 272 seconds]
ggherdov___ has quit [Ping timeout: 272 seconds]
kapowaz has quit [Ping timeout: 272 seconds]
ELLIOTTCABLE has quit [Ping timeout: 272 seconds]
daxroc has quit [Ping timeout: 272 seconds]
CJD14______ has quit [Ping timeout: 260 seconds]
rickruby has quit [Ping timeout: 260 seconds]
lewix has joined #ruby
mollitz has quit [Ping timeout: 272 seconds]
bluehavana has quit [Ping timeout: 272 seconds]
shelling_ has quit [Ping timeout: 272 seconds]
benlakey has quit [Ping timeout: 272 seconds]
ionelmc has quit [Ping timeout: 272 seconds]
kaplejon has quit [Ping timeout: 260 seconds]
akitada__ has quit [Ping timeout: 260 seconds]
jpinnix____ has quit [Ping timeout: 260 seconds]
pmarreck has quit [Ping timeout: 260 seconds]
yo61 has quit [Ping timeout: 260 seconds]
jdjkelly has quit [Ping timeout: 260 seconds]
Avahey has quit [Ping timeout: 272 seconds]
cbetta has quit [Ping timeout: 272 seconds]
andrewstewart has quit [Ping timeout: 272 seconds]
im0b has quit [Ping timeout: 272 seconds]
neersighted has quit [Ping timeout: 260 seconds]
ikanobori has quit [Ping timeout: 260 seconds]
rkjaer has quit [Ping timeout: 260 seconds]
Guest85414______ has quit [Ping timeout: 260 seconds]
DadoCe has quit [Remote host closed the connection]
deject3d has joined #ruby
bricker`LA has joined #ruby
yetanotherdave has quit [Ping timeout: 245 seconds]
skammer1 has joined #ruby
melik has quit [Quit: Computer has gone to sleep.]
peterhellberg has joined #ruby
skammer1 has quit [Ping timeout: 244 seconds]
eat_multi has left #ruby ["Goodnight world"]
Zesty has quit [Quit: Linkinus - http://linkinus.com]
angusiguess has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<solo_> If I have a crypto.rb which includes Module B nested within Module A, and another setup.rb file with Module A and a class inside of Module A, is it best practice to include the module inside the class or is at top of file okay?
jonr22 has quit [Ping timeout: 260 seconds]
<gizmore> solo_: yes
peterhellberg has quit [Ping timeout: 272 seconds]
<solo_> gizmore: is that because it will allow for mixins in the future (2nd day with ruby)?
Channel6 has joined #ruby
fgo has joined #ruby
<gizmore> solo_: do you have familiy members that experienced the same?
<gizmore> *kiddings* ;)
<solo_> lol
<gizmore> i am a rewbie (ruby newbie) too
angusiguess has quit [Ping timeout: 245 seconds]
<gizmore> i think ruby itself does not do any autoload?
<solo_> hm okay
<gizmore> so you would need to load A and B first, then do your patches?
<solo_> what was your reasoning for including it within the class then?
<gizmore> imho
InhalingPixels has joined #ruby
<gizmore> ruby is about writing includes/extends that give objects what they do
jcdesimp has quit [Remote host closed the connection]
<zenspider> sweet jesus no it is not
sepp2k has joined #ruby
<gizmore> its the most elegant and fun :p
kireevco has joined #ruby
<gizmore> it´s what makes php a piece of pile
<solo_> zenspider: can you chime in on this?
sepp2k has quit [Client Quit]
<gizmore> it´s what makes dynamic languages dynamic! ... prototyping!
therue has quit [Ping timeout: 258 seconds]
parduse has quit []
<zenspider> solo_: no. he's beyond saving. he's lost to us, he just doesn't realize it yet. at some point, he'll head into the light and rest peacefully
fgo has quit [Ping timeout: 272 seconds]
<solo_> lol regarding my question :p
jcdesimp has joined #ruby
<gizmore> solo_: give us code
sepp2k has joined #ruby
tyll_ has joined #ruby
<solo_> gizmore zenspider: http://pastebin.com/vKC3gpq3
jonr22 has joined #ruby
parduse has joined #ruby
rubie has quit [Quit: Page closed]
<gizmore> solo_: lesson 1
<gizmore> when you do def MyClass
<gizmore> you are kinda inside the definition process
tyll has quit [Ping timeout: 245 seconds]
<gizmore> you can do commands and stuff while you def the class
<zenspider> 2 spaces per indent or we'll all gang up, kill you, and hide the body
<gizmore> "include" just copies a snipped inside your class i think
<gizmore> "include" just copies a snippet inside your class i think*
<gizmore> not really
<gizmore> use include inside a class to add instance methods
<gizmore> use extend inside a class to add static methods
<gizmore> "kinda" ... they will lynch me now
<zenspider> or... go read up on what include and extend really do
* gizmore hides
parduse has quit [Client Quit]
<gizmore> important is to know about how classes work in ruby
<solo_> lol right
<gizmore> lt me give an example
<gizmore> class MyClass
<gizmore> end
szuletett has quit [Ping timeout: 272 seconds]
<gizmore> myinstance = MyClass.new
<gizmore> with these 3 lines, you have created 2 class definitions already
<gizmore> MyClass.class
<gizmore> and
Wolland has joined #ruby
<gizmore> MyClass
<zenspider> no you haven't
<gizmore> no?
<solo_> gizmore: What are you trying to tell me?
<zenspider> you've created one class, and one instance of that class. that's it
wng_0 has joined #ruby
<zenspider> MyClass.class == Class
<gizmore> i see
<gizmore> zenspider: but MyClass.class creates instances of MyClass, right?
<zenspider> not in the slightest
<zenspider> ri Object.class
<zenspider> >> Returns the class of obj
<eval-in_> zenspider => /tmp/execpad-b48979a719fe/source-b48979a719fe:2: class/module name must be CONSTANT ... (https://eval.in/199160)
<gizmore> it´s difficult to explain to newbies or migrants
dorei has quit []
<zenspider> gizmore: no it isn't difficult
<rg4> migrants? o_O
<gizmore> explain then :)
parduse has joined #ruby
bruno- has joined #ruby
<gizmore> explain classes, initialize, instance-and-class-variables
Wolland_ has quit [Ping timeout: 258 seconds]
<zenspider> no. go read a book.
wng_z3r0 has quit [Ping timeout: 258 seconds]
<gizmore> solo_: you may query me for a gizmore version of the ruby vm
deject3d has quit [Quit: Computer has gone to sleep.]
<rg4> you forked ruby?
<gizmore> i am just explaining the basics so you almost know what you are doing
<gizmore> without a big book
charliesome has joined #ruby
<zenspider> except that you have yet to say anything right.
<gizmore> i am close enough
<zenspider> and YOU need to read the book, not _solo (well, they do too, but not as badly)
<zenspider> no, you're really not
<solo_> lol, I've got it, I was just curious what best practice was regarding my question. Not really sure where you were going with the whole class thing
endash has quit [Quit: endash]
<zenspider> solo_: neither is gizmore
<solo_> hah
<gizmore> touché
<solo_> but I appreciate your attempt hah :p
<gizmore> zenspider: see, he appreciates you! ;P
<gizmore> *sry* ;)
<gizmore> important is that A::B might just be a class instance constant thingy
bruno- has quit [Ping timeout: 260 seconds]
<gizmore> it has "instance variables" too, and A::B.new is a differnt class with other instance variables
yfeldblum has joined #ruby
mocfive has quit [Remote host closed the connection]
<gizmore> as soon as you know this, things will become more clear
mocfive has joined #ruby
jottr has joined #ruby
<solo_> gizmore bud, you are really lost my friend hah
<gizmore> not really, i just can´t explain it more clear
akkad has quit [Ping timeout: 260 seconds]
<gizmore> i made a tut once... https://www.wechall.net/ruby_tut1.php
<gizmore> it does not cover this, though
<gizmore> that tut is bullocks
<zenspider> again... your misinformation is just making things worse
havenwood has joined #ruby
<zenspider> stop. go read a book.
<gizmore> zenspider: there is no need to read a book for, for me
<gizmore> but please try to correct me
dc__ has quit []
sevvie has quit [Ping timeout: 250 seconds]
<zenspider> except for the fact that you have yet to say one factual thing and have shown a complete misunderstanding for OO in general
<gizmore> can we please focus on correcting my statements?
<gizmore> so myself, and maybe others, can learn?
jottr has quit [Ping timeout: 244 seconds]
mocfive has quit [Ping timeout: 272 seconds]
<gizmore> >> module A; class B; end; end
<eval-in_> gizmore => nil (https://eval.in/199161)
iamjarvo has joined #ruby
<gizmore> zenspider: what is A::B exactly?
HelperW_ has joined #ruby
akkad has joined #ruby
lemur has joined #ruby
niklasb has joined #ruby
c107 has quit [Remote host closed the connection]
szuletett has joined #ruby
therue has joined #ruby
HelperW_ has quit [Ping timeout: 260 seconds]
HelperW_ has joined #ruby
mikepack has joined #ruby
mocfive has joined #ruby
sevvie has joined #ruby
AtumT has quit [Remote host closed the connection]
GR33NM4CH1N3 has quit [Read error: Connection reset by peer]
GR33NM4CH1N3 has joined #ruby
radic has joined #ruby
<havenwood> gizmore: i think parsing that you'll find it pretty much is nothing :P
<havenwood> >> require 'ripper'; Ripper.sexp "module A; class B end end"
<eval-in_> havenwood => nil (https://eval.in/199163)
HelperW_ has quit [Ping timeout: 260 seconds]
thumpba has joined #ruby
hooper has joined #ruby
audy has joined #ruby
<gizmore> havenwood: i am not suprised the minority can explain the OOP model of ruby in 3-4 short lines
<gizmore> +only
radic_ has quit [Ping timeout: 258 seconds]
<havenwood> i don't know what we're talking about, i showed up late
BackEndCoder has quit [Ping timeout: 272 seconds]
<havenwood> gizmore: but it's a class, ask it what it is
<gizmore> its a constant
<gizmore> A::B is a constant
<gizmore> and its some constant class that can spawn instances of another class
<havenwood> >> module A; class B; end end; [A::B.class, defined?(A::B)]
<eval-in_> havenwood => [Class, "constant"] (https://eval.in/199169)
<gizmore> A::B is an instance of a special A::B class
<gizmore> and
<havenwood> :O
<gizmore> A::B.new is an instance of another class
<gizmore> right?
<havenwood> gizmore: no, the first part isn't right
<gizmore> correct me, please
<havenwood> gizmore: A::B is simply asking A for a B in its namespace. Not for an instance of B. Not for an instance of anything.
<havenwood> gizmore: instance is a term of art
<gizmore> haha
<gizmore> but A::B is actually a class
<havenwood> B is a class namespaced in A
<gizmore> meaning A::B kinda is a singleton of an A::B class
<havenwood> no
<havenwood> not meaning that :P
<gizmore> A::B.instance_variable_set(:hello_statics, true);
<gizmore> why does it work then?
niklasb has quit [Quit: WeeChat 1.0]
<havenwood> In the words of zenspider, "stop. go read a book."
<havenwood> gizmore: I guess I don't get your last question.
<gizmore> A::B.instance_variable_set(:hello_statics, true);
<gizmore> it sets the instance var of the A::B "singleton"
InhalingPixels has quit [Read error: Connection reset by peer]
work_op has joined #ruby
<gizmore> it sets an instance var of the A::B "singleton" *
<gizmore> A::B is a constant, a class constant
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
<gizmore> it has instance vars too
skammer1 has joined #ruby
<gizmore> A::B.new is something different, it has instance vars too
krisquigley has joined #ruby
<gizmore> A::B.class != A::B.new.class
shock_one has joined #ruby
bogeyd6 has joined #ruby
<gizmore> >> A::B.class != A::B.new.class
<eval-in_> gizmore => uninitialized constant A (NameError) ... (https://eval.in/199173)
<gizmore> >> class A::B; end; A::B.class != A::B.new.class
<eval-in_> gizmore => uninitialized constant A (NameError) ... (https://eval.in/199174)
<gizmore> >> module A; class B; end;end; A::B.class != A::B.new.class
<eval-in_> gizmore => true (https://eval.in/199175)
<gizmore> :)
Azure has quit [Quit: Blue Sky Fish]
<gizmore> now you go, read _your_ book
benzrf is now known as benzrf|offline
<havenwood> you confuse me but aren't teaching me anything. but i will read a book! :)
<gizmore> :D
GR33NM4CH1N3 has left #ruby [#ruby]
<gizmore> the important lesson i wanna teach:
<havenwood> i'm not confused by what an instance of a class is, i'm confused by your point
<gizmore> A::B is an instance, a constant of A::B type
<havenwood> learning the terminology would help you profess
<gizmore> and A::B.new is an instance too, of another type... this is the most important ruby lesson imo
<gizmore> yep, i know
skammer1 has quit [Ping timeout: 246 seconds]
<gizmore> havenwood: please rephrase my "lesson"?
<havenwood> so... types eh?
<gizmore> so OOP in ruby
mocfive has quit [Remote host closed the connection]
peterhellberg has joined #ruby
shock_one has quit [Ping timeout: 272 seconds]
<havenwood> gizmore: A::B is NOT an instance of a class.
mocfive has joined #ruby
dkam has quit [Quit: dkam]
jthomp_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gizmore> havenwood: i disagree here, what i have discovered so far
<havenwood> gizmore: It's an Object.
<havenwood> gizmore: It's a Class.
<gizmore> wrong wrong
<havenwood> gizmore: ask it.
<gizmore> its a constant, an instance of A::B
<gizmore> which is a class class
yetanotherdave has joined #ruby
<gizmore> it produces types of A::B::instances
<gizmore> it produces objects of type of A::B::instance **
mburns has quit [Quit: ZNC - http://znc.in]
<havenwood> >> module A; class B; end end; [A::B.is_a?(Object), A::B.is_a?(Class)]
<eval-in_> havenwood => [true, true] (https://eval.in/199179)
<gizmore> via A::B::new
<havenwood> gizmore: just no
dx7 has joined #ruby
angusiguess has joined #ruby
<gizmore> so Class < Object is proven to be correc?
<havenwood> gizmore: i think your ideas maybe make sense but they aren't matched up with the right words
<gizmore> or Object < Class
<gizmore> one of them is true
mburns has joined #ruby
<gizmore> my assumptions might make sense when you implement a rvm yourself
yetanotherdave has quit [Client Quit]
<havenwood> when I implement an RVM?
<havenwood> what have i stumbled into?
<rg4> ruby virtual machine
<gizmore> maybe my assumptions are wrong, but they reflect a working ruby interpreter imo
<gizmore> so it is not entirely wrong, when i explain it this way to fellow rubyists
mocfive has quit [Ping timeout: 260 seconds]
peterhellberg has quit [Ping timeout: 272 seconds]
axsuul has joined #ruby
<havenwood> gizmore: You meant when I implement a VM i'll understand?
axsuul has quit [Excess Flood]
<gizmore> that´s also why i asked for corrections, but it seems hard to explain ruby oop to beginners
fgo has joined #ruby
<gizmore> havenwood: exactly... when you code your own rvm interpreter, you might encounter my constructs again
<havenwood> gizmore: now we're interpreting the ruby virtual machine?
mikepack has quit [Remote host closed the connection]
<havenwood> gizmore: Maybe I'm just daft tonight, but seems you don't quite get Ruby's object model.
<Nilium> VMs all the way down
<havenwood> VM inception
BackEndCoder has joined #ruby
<gizmore> havenwood: i am 1.5 years into ruby now
angusiguess has quit [Ping timeout: 240 seconds]
<Nilium> I am.. 6 bites into my calzone
<gizmore> i think i have a quite good impression of the "stamdard" ruby now
<havenwood> Nilium: mmmm yum
nicksanford has quit [Ping timeout: 250 seconds]
neoxquick has joined #ruby
<Nilium> I've been using Ruby for something like 6 years and I'm still pretty sure most people using Ruby are on crack
<gizmore> Nilium: can i query you?
phoo1234567 has quit [Quit: Leaving]
<gizmore> for the crack?
<Nilium> Not unless you really like C++11.
<havenwood> gizmore: that's a nice start but keep being inquisitive about things you're not sure about
<gizmore> no << "#{!!bool.nil?}";
ramfjord has quit [Ping timeout: 246 seconds]
<gizmore> havenwood: thats also why i started to argue
fgo has quit [Ping timeout: 246 seconds]
<gizmore> how about one of my other, earlier assumptions:
<Nilium> Local pizza is always best pizza.
<havenwood> gizmore: if people point out that your terminology is wrong it doesn't diminish the real lesson you learned, but does mean you go deeper and get it right
<gizmore> "There is no autoload in ruby"
<havenwood> gizmore: that's not right
<gizmore> there is kinda autoload with the plain rvm? Oo
<havenwood> gizmore: is that an example of not right or what you're saying? :P
<Nilium> Wasn't there a deprecated autoload?
<havenwood> gizmore: okay, so RVM is a thing...
<gizmore> i thought rails already poisons with autoload
<havenwood> gizmore: so talking about rvm is talking about the incredibly popular shell project called rvm
<Nilium> Rails is just poison, period
<havenwood> gizmore: no, no, gah~!
<gizmore> there is autoload with ruby?
<Nilium> Most people talking about the normal Ruby VM refer to it as MRI or YARV, I think.
tvon has joined #ruby
<havenwood> gizmore: rvm installs and switches rubies
<gizmore> in theory there cannot be autoload in a language
Azure has joined #ruby
<havenwood> gizmore: no
<tvon> Does anyone know of a general purpose project generation tool (pref in ruby, obviously) for building out new projects?
<Nilium> Since as far as I know YARV got merged with MRI, so one inside the other, I guess.
<gizmore> because filename and modulename can overlap, so the programm has to take care of loading 100%
<havenwood> Nilium: i kinda like CRuby, but yeah synonymous
<tvon> Similar to how 'rails new' can accept a project tempalte that defines what gems to include or files to create/overwrite, etc, but not specific to rails.
<gizmore> tvon: start with an empty git
<tvon> s/tempalte/template/
<gizmore> tvon: name your first file: "main.rb"
<gizmore> tvon: then do "ruby main.rb"
<Nilium> Also heard cruby used a few times, but it seems uncommon
<tvon> gizmore: that is basically the opposite of what I'm looking for
<havenwood> gizmore: so #autoload isn't Rails, it's Ruby
<havenwood> gizmore: you might be thinking of days gone by when #autoload wasn't thread safe
<havenwood> gizmore: this isn't the case anymore, there are discussions to be had, but what you're talking isn't correct
<gizmore> havenwood: i am thinking of i want to control the loading of my programm
<tvon> Say I work with a lot of vagrant setups, and there are particular ways I always like my projects setup. I'm looking for a way to automate this.
<havenwood> gizmore: yeah, as one would typically think of auto loading
<tvon> I can of course come up with something myself, but I thought maybe it had been done before.
hooper has quit [Quit: Leaving.]
<gizmore> tvon: how often do the configs change?
<havenwood> gizmore: Rails just happens to make prolific use of Ruby's autoload.
<havenwood> gizmore: You can use it too.
fold has joined #ruby
<gizmore> havenwood: rake and activerecord is crap too
<tvon> gizmore: every project will have variations
Spami has joined #ruby
<gizmore> havenwood: the best in rails is {}.reverse_merge
Spami has quit [Remote host closed the connection]
<havenwood> gizmore: You're very opinionated. But so is Rails. :P
<gizmore> havenwood: let me show you a working production spawnee in #ricergame
<Mia> Guys, I want to ask
<gizmore> tvon: how often do you change old configs of old servers?
<havenwood> The moment has come where I wonder if i'm feeding a troll. Dangit!
<Mia> everyone speaks about what's possible with RoR's
Spami has joined #ruby
<tvon> gizmore: That does not seem relevant to what I'm asking
<Mia> what's not easily possible with it?
<Mia> Maybe it's better to know
<rg4> twitter.com
<rg4> :D
<gizmore> tvon: depending on if you only need different config on install, or during runtime...
<Mia> rg4, O.o
<Mia> was that the answer to my question
bruno- has joined #ruby
<rg4> yeah but mostly a joke
<havenwood> Mia: It's based on an app called Basecamp. The closer your project is to that app the closest it is to perfect.
<Mia> oh :D
<Mia> basecamp hq, basecamp?
<Mia> project management thingy
<havenwood> ya
<tvon> gizmore: no, I'm looking for a way to automate the bootstrapping of projects, be they rails projects or sinatra projects or drupal projects. I am looking for a general purpose project templating tool.
<Mia> oh shit
<Mia> I hate it
<Nilium> I wonder if there's a fuckitjs for Ruby.
<havenwood> Mia: Rails was extracted from that. :P
<Mia> hmm
<tvon> I figured it existed but I am discovering that it probably does not.
<gizmore> Mia: try #RubyOnRails, you need to /msg nickserv help unselect
<havenwood> Mia: What are you trying to make?
lektrik has joined #ruby
<Mia> havenwood, well I'm trying to learn at this point
<Mia> bust gathering info around
<Mia> dived in ruby just yesterday
<gizmore> havenwood: please join that chan, i wanna show you my rubey :)
<Mia> it's prettty fun, but I intent to go into rails
<Mia> slecially for experimental web apps
<Mia> like, irc chat bots
<havenwood> Mia: I'd suggest taking a look at Sinatra and maybe Hobbit which is a nice minimalist implementation of a Rack adapter.
braincrash has quit [Quit: bye bye]
<Mia> and twitter auto repliers
<Nilium> My god this calzone is so damn good
<Mia> and stuff like those
<Nilium> Seriously amazing
<havenwood> Nilium: You...!
<Mia> havenwood, I dont know what a rack adapter is :)
<Nilium> Wait, why don't I have booze
* Nilium goes to get his wine out of the fridge.
<havenwood> Mia: So if you want to serve up some HTTP requests with Ruby, the most popular option is to use the well-established Rack.
<havenwood> Mia: Rails is the most popular Rack adapter, Sinatra is the second most popular.
slester has joined #ruby
<havenwood> There are many.
<rg4> there must be at least 10 of em by now
<havenwood> Mia: Here's a nice benchmark of a good variety of the modern Rack adapters: https://github.com/luislavena/bench-micro#readme
GR33NM4CH1N3 has joined #ruby
<havenwood> Mia: If you take a look at the apps/ dir you'll see a nice example of each.
<havenwood> Mia: Ruby actually ships with the `rackup` binary that will run each of these apps, just from the `config.ru` file (in apps/ examples).
<Mia> haven I'm still far away from all those
<Mia> since my information is limited with a few hours of codeacademy training
<Nilium> Hello, cheap rose wine, you are my friend
bruno- has quit [Ping timeout: 272 seconds]
<Mia> mostly, everything's abstract to me right now. But I noted them down
<Mia> and I'll check
<Mia> havenwood,
<havenwood> Mia: You can take what you learned in codeacademy and plop it into a Sinatra or Hobbit one-file couple-line app and serve it up on the web,
<havenwood> Mia: It's surprisingly simple to use but complicated to explain.
<Mia> havenwood, so it's not like RoR ?
<Mia> havenwood, I'll definitely check
<Mia> RoR looked like it needs a lot of esential training
mikepack has joined #ruby
<havenwood> Mia: Not like in that it doesn't produce app scaffolding, is orders of magnitudes less complicated, etc.
<havenwood> Mia: http://www.sinatrarb.com/
<havenwood> Mia: the starter app is on that page, just four lines literally
wallerdev has joined #ruby
<havenwood> or 6 if you count the blank line and trailing line
<havenwood> :P
<Mia> lol
<Mia> I wish it had examples
krisquigley has quit [Remote host closed the connection]
<Mia> I'm from design background, not programmer at all
<Mia> this is a big hobby for me right now
<havenwood> Mia: A nice thing about Sinatra and its ilk is just being able to serve up some Ruby one the web with no pretense.
jcdesimp has quit [Remote host closed the connection]
<Mia> but I can't compare since everything's abstract
braincrash has joined #ruby
<Mia> and generally I cause flame wars :D
<Mia> unintentionally
<Mia> like "which one is better ruby or node.js" kind of
jcdesimp has joined #ruby
jrockjiggz has joined #ruby
<havenwood> Mia: When you learn a bit of Sinatra you can serve up your code online. Rails can be nice, just depends.
<jrockjiggz> Hi, i'm trying to install ruby for the first time.. i run the installer .exe on windows, and nothing is happening.. no windows come up
<fennec> the real question is "which one is better-suited for a use case like mine and why" :b
<havenwood> jrockjiggz: Maybe give the chocolatey package manager for windows a try: https://chocolatey.org/
_reset has joined #ruby
<havenwood> jrockjiggz: It has Ruby packages for you to install.
<jrockjiggz> havenwood: thanks
<Mia> havenwood, does sinatra have frontend stuff
<Mia> I don't even know if this makes sense but
<Mia> can I design a blog, or a website with that
<havenwood> Mia: It has a nice way to organize your javascript, but no crazy stuff.
<Mia> havenwood, can you describe crazy stuff
gccostabr has quit [Quit: ZZZzzz…]
<havenwood> Mia: There's a new project called Volt that does Ruby on frontend (with Opal) and synchronizes with backend, but it's young.
<fennec> sinatra provides a way to render yourself some .erb files containing HTML and static files containing HTML, CSS, and JavaScript. It does not include an asset pipeline to automagically combine fragments of JavaScript and CSS into minified things automatically.
<havenwood> Mia: Rails a while ago went to Coffeescript (compiles to Javascript like Opal, but Opal didn't exist at the time) a while ago, and has an asset pipeline to take care of niceties.
<Mia> Hmm
alvaro_o has quit [Quit: Ex-Chat]
<Mia> thank also thank you for the description fennec
slyslick has quit [Ping timeout: 250 seconds]
<havenwood> Mia: there're tools to do that same thing for Sinatra but fennec's point remains that it's build into Rails
<Nilium> I get shit for drinking pink moscato and rose wine and whatnot, but screw it, it tastes good.
<fennec> sinatra readily allows you to do things like process a small piece of user input, save the data to the database, retrieve it later, put it on the website surrounded by a bunch of otherwise static text.
reset has quit [Ping timeout: 258 seconds]
<havenwood> Nilium: i like saying moscato better than writing it
<Nilium> I like saying mosquito.
<Mia> I see
_reset has quit [Ping timeout: 258 seconds]
<fennec> if, on the other hand, you want a massive application with a variety of resource types performing many interactions among each other and having fragments scattered across the app... then Rails will be better at helping you manage the complexity associated with that
<havenwood> Mia: with sinatra you'd pick all the peices. rails has predetermined options that are changeable. sinatra is inherently more minimalistic. rails has more scaffolding.
<havenwood> Mia: you can have a rails app with multiple sinatra apps and maybe even a rack app all playing nice, side by side
<Mia> can I go out of the provided limits (visually) in RoR
<havenwood> Mia: there's a lot to be said for the modular philosophy of padrino
<Mia> What I'm looking for is, a visual freedom, as easy as possible
<Mia> I don'tknow if both exits at the same time
mary5030 has joined #ruby
<havenwood> Mia: you can do your real work in Ruby and just use Rails to show it, if you want
Kricir has joined #ruby
maniacal_ has joined #ruby
<fennec> Visual freedom is going to be more a function of stuff happening browser-side
<Mia> fennec, what do you mean
HelperW_ has joined #ruby
<Mia> for instance, the twitter thingy I want to create will display data with this http://d3js.org/
<Mia> data vis. stuff
<Mia> That's what I had in mind
<fennec> If you want to craft a web page that looks good, you need HTML, CSS, JavaScript. Any backend framework like Rails or Sinatra can help you serve that HTML, but code written in that language generally won't be responsible for making it look good
<fennec> er, code written in the Ruby language or those frameworks
<havenwood> Mia: browser side is traditionally javascript, but these days a ton of nice things compile to javascript but unfortunately it's got to end up javascript for brower-side for now.
<Mia> havenwood, fennec Oh I know, I don't mind it
<havenwood> Mia: There ClojureScript for Clojure, or Opal for Ruby, or Dart or Coffeescript.
tessi_zz has joined #ruby
<havenwood> Mia: and others
<havenwood> there's*
<Mia> for instance the link I just gave; it would be enough for the main browsing capabilities
<havenwood> Mia: Opal really is looking nice. :)
<Mia> the data vis type of stuff
<Mia> Checking
<havenwood> Mia: It has a JQuery wrapper and lets you basically use Ruby as though it's on the browser but you're really requiring Opal.
<fennec> I'd like to disagree for a moment
<Mia> on what
<havenwood> fennec: javascript purist? :)
<fennec> just practically, if you're new to Ruby and JavaScript and you try to learn a framework that compiles Ruby into JavaScript and a framework that's in JavaScript and put them together using examples written in JavaScript it's going to be... a bit of something. :b
boombadaroomba has joined #ruby
<fennec> trivially straightforward is not the "something"
<Mia> :D
<Mia> Well
<Mia> simple = better, for me right now
<Mia> I'll give you an example
HelperW_ has quit [Ping timeout: 250 seconds]
<Mia> how easy would this be http://l.im/ in sinatra or ror
maniacal_ has quit [Ping timeout: 260 seconds]
booleandilemma has joined #ruby
HelperW_ has joined #ruby
<fennec> this is a twitter scraper that does sentiment analysis to figure out who's popular?
<havenwood> Mia: it's a rabbit hole, i swear! so much to learn.
<Mia> fennec, no this is a seperte system
<Mia> not related to twitter at all
<Mia> you vote up or down
<Mia> a social voting app
<fennec> ah
<Mia> havenwood, I like rabbit holes but "so much to learn" does nott necessarily motivate me right now :D
<havenwood> Mia: at least it's nice not to run out of stuff to learn :)
<Mia> I'm a machine it's never going to happen
<Mia> my list has.... so many things
jonmorehouse has quit [Ping timeout: 272 seconds]
<Mia> I want fast results
<Mia> I ofc. want to learn but quite impatient
<Mia> right now it feels like a growing food on my plate :D
boombadaroomba has quit [Ping timeout: 260 seconds]
GinoMan has quit [Quit: No Ping reply in 180 seconds.]
<Mia> A few days ago I was like "I'll make some small web app" now it's explosions in the sky :)
<Mia> I don't blame it, it's usual, but you know
<Mia> growing and growing
cirn0 has joined #ruby
<havenwood> Mia: the dom/css would be the overwhelming part for me
jonr22 has quit [Ping timeout: 272 seconds]
<Mia> css would be easy for me
bizarrosandwich has joined #ruby
<Mia> I'm pretty good with css3 I belive
<havenwood> hence we have pairing :)
<Mia> javascript, evnen frontend, I'm capable of copy paste modify :D
<Mia> aye!
axsuul has joined #ruby
HelperW_ has quit [Ping timeout: 272 seconds]
enebo has quit [Quit: enebo]
<fennec> anyway. that app, depends on the scope and the polish you actually want
GinoMan has joined #ruby
tvon has quit [Quit: leaving]
cirn0 has quit [Remote host closed the connection]
jonmorehouse has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
booleandilemma has left #ruby ["Leaving"]
lukeholder has joined #ruby
cirn0 has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
charliesome has quit [Quit: zzz]
GinoMan has quit [Ping timeout: 272 seconds]
lukeholder has joined #ruby
emocakes__ has quit []
lukeholder has quit [Max SendQ exceeded]
emocakes has joined #ruby
emocakes has quit [Client Quit]
arup_r has joined #ruby
skammer1 has joined #ruby
lukeholder has joined #ruby
lewix has quit [Remote host closed the connection]
<havenwood> spit and shine!
ramfjord has joined #ruby
lewix has joined #ruby
hiall has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skammer1 has quit [Ping timeout: 260 seconds]
geggam has joined #ruby
cirn0 has quit [Remote host closed the connection]
cirn0 has joined #ruby
lemur has quit [Read error: Connection reset by peer]
lemur has joined #ruby
charliesome has joined #ruby
angusiguess has joined #ruby
fgo has joined #ruby
kil0byte has quit [Remote host closed the connection]
helpa has quit [Remote host closed the connection]
<solo_> anyone else ever had any issues with sublime failing hard with translating tabs to spaces
helpa has joined #ruby
<solo_> to vim i go
bthesorceror has joined #ruby
<havenwood> solo_: i was just swapping editors for that same reason
jonmorehouse has quit [Ping timeout: 272 seconds]
<havenwood> not preserving tabs
arrubin has joined #ruby
<solo_> Must be a bug
angusiguess has quit [Ping timeout: 272 seconds]
<solo_> I kept changing it, pushing to github and it would be all screwed up
jonmorehouse has joined #ruby
<solo_> dumped the files in a hexeditor and they were in fact 0x09 (tabs)
fgo has quit [Ping timeout: 240 seconds]
<gizmore> eclipse in virtualbox using ftp plugin ftw
<havenwood> gizmore: go jruby and oracle all the way down
cndiv has joined #ruby
bruno- has joined #ruby
cndiv has quit [Client Quit]
<gizmore> it was a joke "vm to use ftp"
<gizmore> virtualbox to ftp somewhere
GR33NM4CH1N3 has left #ruby [#ruby]
<havenwood> gizmore: oracle wasn't a joke?
<gizmore> geez
<havenwood> :P
<havenwood> though <3 JRuby
<gizmore> havenwood: try my ruby bot live in #ricergame please
<gizmore> indeed... gotta try it
<havenwood> it's really nice
<gizmore> got quite some locks already in my bot
<gizmore> PUTS_LOCK :P
<gizmore> GLOBAL_LOCK
<gizmore> thats it -.-
<Nilium> I actually feel kind of sick
<Nilium> This is a first. Normally when I down over half a bottle of wine I just laugh at stuff and fail to walk correctly.
magic_ is now known as magic
magic has quit [Changing host]
magic has joined #ruby
<gizmore> Nilium: this is your parents. you are dreaming. Wake Up Please!
<havenwood> Nilium: maybe your calzone was contraindicated with your wine
<Nilium> Huh? No, my parents are down the hall and know I drank half a bottle of wine.
<Nilium> This is fine.
<havenwood> yeah, bio error
<Nilium> I probably just need to drink water.
<Nilium> On a side note, the starbucks salted caramel mochas are actually pretty tasty.
cirn0 has quit [Remote host closed the connection]
<Nilium> I still think it's sad and sort of nice that I'm drunk after half a bottle of wine.
sevvie has quit [Ping timeout: 260 seconds]
<Nilium> Also a little weird that I'm still good at typing.
bruno- has quit [Ping timeout: 260 seconds]
cirn0 has joined #ruby
<havenwood> and properly it's
<Nilium> Years of keyboard use have made my hands immune to alcohol when it comes to keyboards. Other things are still susceptible.
niklasb has joined #ruby
Takle has joined #ruby
<Nilium> I have a degree in English, so it's unlikely I'll fuck up on its/it's.
vinleod has joined #ruby
<havenwood> nice
<Nilium> I'd have to be really, really hammered for that to happen.
<havenwood> Sparse but proper commas usage is enjoyable to me.
<Nilium> I over-use commas, so that's not going to happen.
<havenwood> Oxford comma? that is the question?
<Nilium> I'm the lord of subclauses.
<havenwood> I half overuse them, kinda moderation.
<Nilium> I also really like multiple uses of colons in the same sentence.
<havenwood> oh: jesus: no
<Nilium> The world is round: a green and blue ball: water and earth.
<Nilium> You'd really hate to read Let Us Now Praise Famous Men
<havenwood> The world is round. A green and blue ball - water and earth.
<Nilium> Amazing book/documentary, but the author is very insistent upon using colons.
* havenwood hides
<Nilium> If you like history, you should read it anyway
<havenwood> okay, maybe i'll check it out
<Nilium> It's about southern sharecroppers and more or less extreme poverty.
Wolland_ has joined #ruby
mary5030 has quit [Remote host closed the connection]
solo_ has quit [Quit: Leaving...]
hooper has joined #ruby
<Nilium> Was originally a journalistic piece but it ballooned into a book because of the length and the sheer depth it goes into, since the author was very much documenting their actual lives and not just dropping in, getting a look, interviewing some people, and then leaving
<havenwood> Nilium: Hem, intersting.
<Nilium> He literally rifles through their drawers when they leave the house.
<havenwood> Wow, yikes.
<Nilium> Doesn't really do much good. Again, extreme poverty.
<Nilium> That said, the book opens with a lot of photographs the coauthor took, and they're telling as to what kind of life these folks had.
<havenwood> 1999 feeled like 1936 to me in the South, so I think I'd be interested what 1936 was like.
niklasb has quit [Ping timeout: 272 seconds]
Wolland has quit [Ping timeout: 240 seconds]
Guest85414______ has joined #ruby
Tricon has quit [Quit: Leaving...]
kapowaz has joined #ruby
<havenwood> Nilium: My ancestors are from those pars.
<havenwood> parts*
<Nilium> Maybe also read The Great Depression by David A. Shannon in that case
<Nilium> That's kind of a look into life during the '30s
bthesorceror has quit [Quit: bthesorceror]
Takle has quit [Remote host closed the connection]
<Nilium> At least in the US. I can't speak for other countries.
mleone has joined #ruby
<Nilium> It's not so much Shannon's own writing but a lot of contemporary articles from the time.
jpinnix____ has joined #ruby
ELLIOTTCABLE has joined #ruby
<havenwood> Nilium: And my name's Shannon, so that's gotta help.
<havenwood> I haven't read that either.
cirn0 has quit [Remote host closed the connection]
<Nilium> I grabbed it a while back while I was looking for books to put the emergence of walled communities into perspective
<Nilium> Still haven't really figured that one out
torspark has joined #ruby
bthesorceror has joined #ruby
bluehavana has joined #ruby
<Nilium> 'Cause they're a very modern thing and very strange in the US because they reek of isolationism, paranoia, and in a lot of cases racism (most walled communities and home owners' associations had terms forbidding people with non-white blood [the term usually used] from living in them)
pmarreck has joined #ruby
<Nilium> At any rate, that's one of my accidental fascinations
cbetta has joined #ruby
chuk_ has joined #ruby
<havenwood> my blood is all red (blames ruby)
cirn0 has joined #ruby
cym has joined #ruby
<Nilium> Kevin Rose liked my video on Tiiny but I'm not internet famous. How disappointing.
im0b has joined #ruby
mattyohe has joined #ruby
incomprehensibly has joined #ruby
cym has quit [Max SendQ exceeded]
neersighted has joined #ruby
diegovio1 has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
cym has joined #ruby
cirn0 has quit [Remote host closed the connection]
diegovio1 is now known as diegoviola
cirn0 has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pen has quit [Ping timeout: 244 seconds]
cirn0 has quit [Remote host closed the connection]
HelperW_ has joined #ruby
j_mcnally has joined #ruby
mostlybadfly has joined #ruby
cirn0 has joined #ruby
asteros has joined #ruby
<j_mcnally> what is modruby.net ?
<Nilium> I don't know, what is it?
krisquigley has joined #ruby
<Nilium> <j_mcnally> THE TIME OF YOUR LIFE
<gizmore> probably apache mod_ruby?
<j_mcnally> i get a notice from chanserv about it
<havenwood> j_mcnally: history
<Nilium> I can't turn my head without losing focus
<j_mcnally> and i go, and it looks like a japanese go daddy page
<havenwood> deprecated
seanosaur has quit []
<havenwood> history
<Nilium> This is actually actively annoying
<gizmore> j_mcnally: type \passchange <oldpass> <newpass>
<j_mcnally> can we remove it from the chanserv banner?
<j_mcnally> o word ok
<havenwood> j_mcnally: i can't
<j_mcnally> \passchange gofuck yourself
<j_mcnally> did it work?
<gizmore> :P
Takle has joined #ruby
shelling_ has joined #ruby
cirn0 has quit [Remote host closed the connection]
akitada__ has joined #ruby
cirn0 has joined #ruby
<Nilium> \passchange whoooooooooooooooa
<havenwood> j_mcnally: it'd be easier to ddos modruby.net than change that link i suspsect
<j_mcnally> hahaha really?
<gizmore> they probably use php, or passenger
<j_mcnally> does no one have chanserv permissions?
HashNuke has joined #ruby
HelperW_ has quit [Ping timeout: 244 seconds]
cirn0 has quit [Remote host closed the connection]
whoojemaflip has joined #ruby
HelperW_ has joined #ruby
oo_ has quit [Remote host closed the connection]
machty has joined #ruby
cirn0 has joined #ruby
chipotle has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
shock_one has joined #ruby
andrewcarter has joined #ruby
havenwood has quit [Remote host closed the connection]
oo_ has joined #ruby
ggherdov___ has joined #ruby
cirn0 has quit [Remote host closed the connection]
yo61 has joined #ruby
chihhsin_cloud has quit [Quit: Connection closed for inactivity]
lewix has quit [Remote host closed the connection]
andrewstewart has joined #ruby
axsuul_ has joined #ruby
<Nilium> I just remembered something. I did a bad thing at work today: I used PHP's mcrypt_encrypt to pass data back to a browser from a POST request because I wanted said data but didn't want it manipulable browser-side.
<Nilium> I should go flog myself.
Avahey has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
dmoe_________ has joined #ruby
<Nilium> Partly for using PHP and partly just for using something less than AES-256.
cirn0 has joined #ruby
poguez_ has joined #ruby
HelperW_ has quit [Ping timeout: 260 seconds]
rickruby has joined #ruby
cirn0 has quit [Remote host closed the connection]
frankS2 has joined #ruby
cirn0 has joined #ruby
cmaxw has joined #ruby
patrick99e99 has joined #ruby
kyote has joined #ruby
axsuul has quit [Ping timeout: 246 seconds]
ionelmc has joined #ruby
bizarrosandwich has quit [Read error: Connection reset by peer]
mjc_ has joined #ruby
olleromo___ has joined #ruby
crazydiamond has joined #ruby
kyote has quit [Changing host]
kyote has joined #ruby
bthesorceror has joined #ruby
iinzng has joined #ruby
shock_one has quit [Ping timeout: 260 seconds]
bthesorceror has quit [Client Quit]
benlakey has joined #ruby
thesheff17 has joined #ruby
paulog__ has joined #ruby
CJD14______ has joined #ruby
bove has joined #ruby
Takle has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 245 seconds]
lewix has joined #ruby
kaplejon has joined #ruby
bthesorceror has joined #ruby
emmesswhy has joined #ruby
daxroc has joined #ruby
skammer1 has joined #ruby
jdjkelly has joined #ruby
hiall has quit [Quit: hiall]
Channel6 has quit [Quit: Leaving]
LudicrousMango has quit [Remote host closed the connection]
LudicrousMango has joined #ruby
ikanobori has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ludicrou_ has joined #ruby
rkjaer has joined #ruby
skammer1 has quit [Ping timeout: 272 seconds]
cirn0 has quit [Remote host closed the connection]
Takle has joined #ruby
peterhellberg has joined #ruby
LudicrousMango has quit [Ping timeout: 240 seconds]
w09x has joined #ruby
Kricir has quit [Remote host closed the connection]
jrockjiggz has quit [Ping timeout: 276 seconds]
Kricir has joined #ruby
angusiguess has joined #ruby
bruno- has joined #ruby
dukz has joined #ruby
fgo has joined #ruby
slester has quit [Ping timeout: 245 seconds]
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
peterhellberg has quit [Ping timeout: 244 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
Kricir has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 260 seconds]
dukz has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 245 seconds]
bruno- has quit [Ping timeout: 245 seconds]
zekriad has quit [Ping timeout: 244 seconds]
hooper has quit [Quit: Leaving.]
Takle has quit [Remote host closed the connection]
Kricir has joined #ruby
dukz has joined #ruby
Takle has joined #ruby
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
melik has joined #ruby
dukz has quit [Ping timeout: 258 seconds]
cym has quit [Quit: Leaving]
gvenkat has joined #ruby
pen has joined #ruby
pen has quit [Max SendQ exceeded]
skammer1 has joined #ruby
chrishough has joined #ruby
Mattias has quit [Ping timeout: 260 seconds]
skammer1 has quit [Ping timeout: 272 seconds]
IceDragon has quit [Quit: Space~~~]
Takle has quit [Remote host closed the connection]
armyriad has joined #ruby
Mattias has joined #ruby
Takle has joined #ruby
xcv_ has quit [Remote host closed the connection]
lw has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
HelperW_ has joined #ruby
Takle has quit [Remote host closed the connection]
nobitanobi has joined #ruby
thrasymachus has joined #ruby
asteros has quit [Quit: asteros]
arup_r has quit [Quit: Leaving.]
arup_r has joined #ruby
GinoMan has joined #ruby
<shevy> yeah
<shevy> we will collectiley disdain you now for your php sins
<shevy> erm
<shevy> *collectively
HelperW_ has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
HelperW_ has joined #ruby
Rollabunna has quit [Quit: Leaving...]
MasterPiece has joined #ruby
HelperW_ has quit [Ping timeout: 272 seconds]
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
pen has joined #ruby
pen has quit [Max SendQ exceeded]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
pen has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
dx7 has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
pen has quit [Max SendQ exceeded]
pen has joined #ruby
rg4 has quit [Quit: Leaving]
chipotle has quit [Quit: cya]
pen has quit [Max SendQ exceeded]
Vivekananda has joined #ruby
rg4 has joined #ruby
w09x has quit []
pen has joined #ruby
havenwood has quit [Remote host closed the connection]
lxsameer has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
pen has quit [Max SendQ exceeded]
klmlfl has joined #ruby
thrasymachus has quit [Quit: Lost terminal]
pen has joined #ruby
yfeldblum has joined #ruby
lw has quit [Quit: s]
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
mofai has quit [Ping timeout: 250 seconds]
asteros has joined #ruby
angusiguess has joined #ruby
fgo has joined #ruby
thrasymachus has joined #ruby
slyslick has joined #ruby
kenndel_ has quit [Read error: Connection reset by peer]
c107 has joined #ruby
klmlfl has quit [Remote host closed the connection]
decoponio has joined #ruby
c107 has quit [Remote host closed the connection]
asteros has quit [Client Quit]
Wolland_ has quit []
fgo has quit [Ping timeout: 260 seconds]
angusiguess has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Remote host closed the connection]
Derander has quit [Ping timeout: 245 seconds]
relix has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jthomp has joined #ruby
gvenkat has joined #ruby
mofai has joined #ruby
r0bby_ has joined #ruby
vircung has quit [Ping timeout: 250 seconds]
jonmorehouse has quit [Ping timeout: 272 seconds]
emmesswhy has joined #ruby
vircung has joined #ruby
kireevco has quit [Quit: Leaving.]
r0bby_ has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
bricker`LA has quit [Ping timeout: 250 seconds]
CorySimmons has joined #ruby
jonmorehouse has joined #ruby
krisquigley has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
skammer1 has joined #ruby
rippa has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shock_one has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
skammer1 has quit [Ping timeout: 260 seconds]
MasterPiece has quit [Remote host closed the connection]
starkhalo has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
MasterPiece has joined #ruby
lukeholder has joined #ruby
HelperW_ has joined #ruby
shock_one has quit [Ping timeout: 245 seconds]
BTRE has quit [Read error: Connection reset by peer]
chuk_ has quit [Quit: Connection closed for inactivity]
zeroNones has quit [Quit: Textual IRC Client: www.textualapp.com]
St_Marx has quit [Quit: Ex-Chat]
HelperW_ has quit [Ping timeout: 260 seconds]
Kricir has quit [Remote host closed the connection]
asteros has joined #ruby
HelperW_ has joined #ruby
szuletett has quit [Quit: Leaving]
St_Marx has joined #ruby
CorySimmons has quit [Quit: Bye!]
MasterPiece has quit [Remote host closed the connection]
MasterPiece has joined #ruby
St_Marx has quit [Remote host closed the connection]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
agent_white has joined #ruby
St_Marx has joined #ruby
alem0lars has joined #ruby
<agent_white> Evenin'.
HelperW_ has quit [Ping timeout: 260 seconds]
maestrojed has joined #ruby
wallerdev has quit [Quit: wallerdev]
patrick99e99 has joined #ruby
Scripore has quit [Ping timeout: 245 seconds]
jhass is now known as jhass|off
maestrojed has quit [Client Quit]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
speakingcode has joined #ruby
patrick99e99 has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
nobitanobi has quit [Remote host closed the connection]
maestrojed has joined #ruby
kamilc__ has joined #ruby
loo has quit [Excess Flood]
bruno- has quit [Ping timeout: 246 seconds]
thrasymachus has quit [Quit: Lost terminal]
speakingcode has quit [Remote host closed the connection]
ballPointPenguin has quit [Ping timeout: 260 seconds]
codezomb has joined #ruby
ballPointPenguin has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
dukz has joined #ruby
yvemath has joined #ruby
yvemath is now known as Guest91991
MrBoolean has quit [Quit: Leaving...]
ramfjord has quit [Ping timeout: 245 seconds]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
MasterPiece has quit [Remote host closed the connection]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
MasterPiece has joined #ruby
peterhellberg has joined #ruby
lukeholder has joined #ruby
fgo has joined #ruby
dukz has quit [Ping timeout: 258 seconds]
lxsameer has quit [Read error: Connection reset by peer]
angusiguess has joined #ruby
lxsameer has joined #ruby
HelperW_ has joined #ruby
Morkel has joined #ruby
bricker`LA has joined #ruby
peterhellberg has quit [Ping timeout: 258 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
fgo has quit [Ping timeout: 272 seconds]
angusiguess has quit [Ping timeout: 246 seconds]
HelperW_ has quit [Ping timeout: 260 seconds]
adac has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carraroj has joined #ruby
hiyosi_ has quit [Quit: WeeChat 1.0]
charliesome has quit [Quit: zzz]
hiyosi has joined #ruby
charliesome has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
charliesome has quit [Client Quit]
hiyosi has quit [Client Quit]
hiyosi has joined #ruby
skammer1 has joined #ruby
St_Marx has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 246 seconds]
spider-mario has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
nobitanobi has joined #ruby
Spami has joined #ruby
Spami has quit [Remote host closed the connection]
sfr^ has quit [Excess Flood]
sfr^ has joined #ruby
frog0909_ has joined #ruby
kamilc__ has quit [Quit: Leaving...]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
frog0909 has quit [Ping timeout: 260 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has quit [Remote host closed the connection]
mary5030 has joined #ruby
gvenkat has joined #ruby
dx7 has joined #ruby
yfeldblum has joined #ruby
shock_one has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hellangel7 has joined #ruby
ptrrr has joined #ruby
mary5030 has quit [Ping timeout: 244 seconds]
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
slyslick has quit [Ping timeout: 245 seconds]
ballPointPenguin has quit [K-Lined]
ikanobori has quit [K-Lined]
CJD14______ has quit [K-Lined]
ionelmc has quit [K-Lined]
yo61 has quit [K-Lined]
andrewstewart has quit [K-Lined]
mostlybadfly has quit [K-Lined]
pmarreck has quit [K-Lined]
incomprehensibly has quit [K-Lined]
bluehavana has quit [K-Lined]
MiracleBlue has quit [K-Lined]
cstrahan has quit [K-Lined]
vcoinminer______ has quit [K-Lined]
pusewicz has quit [K-Lined]
rfv has quit [K-Lined]
arrubin has quit [K-Lined]
paulog__ has quit [K-Lined]
thesheff17 has quit [K-Lined]
Avahey has quit [K-Lined]
rickruby has quit [K-Lined]
dmoe_________ has quit [K-Lined]
kyote has quit [K-Lined]
andrewcarter has quit [K-Lined]
ggherdov___ has quit [K-Lined]
kapowaz has quit [K-Lined]
cbetta has quit [K-Lined]
Guest85414______ has quit [K-Lined]
pfg has quit [K-Lined]
dziga has quit [K-Lined]
amitchellbullard has quit [K-Lined]
mroth has quit [K-Lined]
rkjaer has quit [K-Lined]
kaplejon has quit [K-Lined]
jdjkelly has quit [K-Lined]
daxroc has quit [K-Lined]
frankS2 has quit [K-Lined]
poguez_ has quit [K-Lined]
cmaxw has quit [K-Lined]
olleromo___ has quit [K-Lined]
HashNuke has quit [K-Lined]
machty has quit [K-Lined]
mattyohe has quit [K-Lined]
akitada__ has quit [K-Lined]
whoojemaflip has quit [K-Lined]
callenb__ has quit [K-Lined]
bedouin has quit [K-Lined]
jpinnix____ has quit [K-Lined]
benlakey has quit [K-Lined]
bove has quit [K-Lined]
ckrailo has quit [K-Lined]
ssut__ has quit [K-Lined]
bcavileer_ has quit [K-Lined]
bjeanes has quit [K-Lined]
Tranquility___ has quit [K-Lined]
alol__ has quit [K-Lined]
niftyn8 has quit [K-Lined]
joshingly has quit [K-Lined]
fredsir has quit [K-Lined]
halfdan has quit [K-Lined]
skmp__ has quit [K-Lined]
charles81__ has quit [K-Lined]
troter_ has quit [K-Lined]
culturelabs_ has quit [K-Lined]
mjc_ has quit [K-Lined]
shelling_ has quit [K-Lined]
im0b has quit [K-Lined]
ELLIOTTCABLE has quit [K-Lined]
mattmcclure has quit [K-Lined]
adambeynon has quit [K-Lined]
KnownSyntax has quit [K-Lined]
jeregrine has quit [K-Lined]
ceej has quit [K-Lined]
natewalck has quit [K-Lined]
jrunning has quit [K-Lined]
maZtah has quit [K-Lined]
tarcwynne__ has quit [K-Lined]
Scorchin has quit [K-Lined]
tiagonobre_ has quit [K-Lined]
ramblinpeck___ has quit [K-Lined]
dukedave has quit [K-Lined]
dx7 has quit [Ping timeout: 260 seconds]
St_Marx has joined #ruby
boombadaroomba has joined #ruby
jonmorehouse has quit [Ping timeout: 269 seconds]
Takle has joined #ruby
hellangel7 has quit [Ping timeout: 272 seconds]
shock_one has quit [Ping timeout: 272 seconds]
<agent_white> rawrawrrawr
bjeanes has joined #ruby
nifty___ has joined #ruby
nifty___ has quit [K-Lined]
bjeanes has quit [K-Lined]
boombadaroomba has quit [Ping timeout: 260 seconds]
jonmorehouse has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
jds has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
whoojemaflip has joined #ruby
kaplejon has joined #ruby
akitada__ has joined #ruby
jpinnix____ has joined #ruby
troter_ has joined #ruby
HashNuke has joined #ruby
frankS2 has joined #ruby
halfdan has joined #ruby
mjc_ has joined #ruby
bcavileer_ has joined #ruby
fredsir has joined #ruby
charles81__ has joined #ruby
joshingly has joined #ruby
incomprehensibly has joined #ruby
Tranquility___ has joined #ruby
ELLIOTTCABLE_ has joined #ruby
machty has joined #ruby
ELLIOTTCABLE_ is now known as ELLIOTTCABLE
DarthGandalf has quit [Quit: Bye]
bruno- has quit [Ping timeout: 260 seconds]
sepp2k has quit [Read error: Connection reset by peer]
skammer1 has quit [Ping timeout: 244 seconds]
Morkel has quit [Quit: Morkel]
Morkel has joined #ruby
nobitanobi has quit []
Morkel has quit [Client Quit]
skammer1 has joined #ruby
Suchit has joined #ruby
Skyler has quit [Ping timeout: 272 seconds]
gvenkat has joined #ruby
mikepack has joined #ruby
Suchit has quit [Read error: Connection reset by peer]
andrewlio has joined #ruby
Suchit has joined #ruby
jonmorehouse has quit [Ping timeout: 272 seconds]
relix has joined #ruby
Scotteh_ has joined #ruby
<Hanmac> yeah ... ruby-devs did make a change that will break MANY compiled gems in the future ... but still did not explained in the README what is the best way to write it ...
<Hanmac> for this who have written C-gems before ... Data_Get_Struct/Data_Wrap_Struct are now deprecated ...
fgo has joined #ruby
krisquigley has joined #ruby
angusiguess has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
Scotteh has quit [Ping timeout: 260 seconds]
arup_r has quit [Quit: Leaving.]
arup_r has joined #ruby
relix has quit [Ping timeout: 245 seconds]
skammer1 has quit [Ping timeout: 260 seconds]
Tomme has joined #ruby
jcdesimp has quit [Quit: Leaving...]
fgo has quit [Ping timeout: 272 seconds]
Kuda has joined #ruby
adambeynon has joined #ruby
krisquigley has quit [Ping timeout: 245 seconds]
angusiguess has quit [Ping timeout: 245 seconds]
jthomp has quit [Quit: Textual IRC Client: www.textualapp.com]
gvenkat has quit [Quit: This computer has gone to sleep]
jonmorehouse has joined #ruby
skammer1 has joined #ruby
sevenseacat has joined #ruby
GinoMan has quit [Ping timeout: 250 seconds]
Scotteh_ has quit [Ping timeout: 250 seconds]
Scotteh_ has joined #ruby
shock_one has joined #ruby
jbueza has joined #ruby
skammer1 has quit [Ping timeout: 250 seconds]
bricker`LA has quit [Ping timeout: 245 seconds]
lukeholder has joined #ruby
kireevco has quit [Quit: Leaving.]
kireevco has joined #ruby
lukeholder has quit [Max SendQ exceeded]
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
asteros has quit [Quit: asteros]
lukeholder has joined #ruby
arup_r has quit [Quit: Leaving.]
arup_r has joined #ruby
buub has quit [Ping timeout: 272 seconds]
kireevco has quit [Ping timeout: 244 seconds]
BTRE has joined #ruby
melik has quit [Quit: Computer has gone to sleep.]
melik has joined #ruby
Suchit has quit [Quit: Computer has gone to sleep.]
Suchit has joined #ruby
dukz has joined #ruby
mikepack has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
zorak8 has quit [Ping timeout: 260 seconds]
vinleod has joined #ruby
chrishough has joined #ruby
melik has quit [Ping timeout: 258 seconds]
oleo is now known as Guest24335
oleo__ has joined #ruby
ndrei has quit [Remote host closed the connection]
Suchit has quit [Ping timeout: 240 seconds]
Guest24335 has quit [Ping timeout: 244 seconds]
ndrei has joined #ruby
mikepack has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
bruno- has joined #ruby
axsuul_ has quit [Ping timeout: 246 seconds]
jonmorehouse has quit [Ping timeout: 260 seconds]
bruno- has quit [Ping timeout: 258 seconds]
timgauthier has joined #ruby
Kuda has quit [Quit: Sleep]
dukz has quit [Remote host closed the connection]
Scotteh_ has quit [Ping timeout: 250 seconds]
asteros has joined #ruby
sdwrage_ has quit [Quit: This computer has gone to sleep]
sdwrage has quit [Quit: This computer has gone to sleep]
axsuul has joined #ruby
Scotteh has joined #ruby
MasterPiece has quit [Quit: Leaving]
marr has joined #ruby
mofai has quit [Ping timeout: 245 seconds]
tessi_zz is now known as tessi
spectator has joined #ruby
timgauthier is now known as timgauthier_isaw
moritzs has joined #ruby
mollitz has joined #ruby
Lucky__ has quit [Quit: Textual IRC Client: www.textualapp.com]
asteros has quit [Quit: asteros]
spectator has quit [Remote host closed the connection]
fgo has joined #ruby
timgauthier_isaw is now known as timgauthier
angusiguess has joined #ruby
agent_white has quit [Quit: gnight]
Lucky__ has joined #ruby
yacks has quit [Ping timeout: 272 seconds]
fgo has quit [Ping timeout: 240 seconds]
adac has quit [Ping timeout: 244 seconds]
Ludicrou_ has quit [Remote host closed the connection]
Lucky__ has quit [Client Quit]
LudicrousMango has joined #ruby
Lucky__ has joined #ruby
angusiguess has quit [Ping timeout: 246 seconds]
thomasxie has joined #ruby
LudicrousMango has quit [Ping timeout: 244 seconds]
KnownSyntax has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
DarthGandalf has joined #ruby
dkam has joined #ruby
dkam has quit [Client Quit]
thomasxie has left #ruby [#ruby]
HelperW_ has joined #ruby
dukz has joined #ruby
lsmola has quit [Ping timeout: 272 seconds]
dx7 has joined #ruby
<Hanmac> shevy: info for you, yes that means a massive rewrite again in the internals of rwx
adac has joined #ruby
dukz has quit [Ping timeout: 244 seconds]
Beoran_ has joined #ruby
govg has joined #ruby
timgauthier is now known as timgauthier_isaw
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emmesswhy has joined #ruby
Beoran has quit [Ping timeout: 245 seconds]
timgauthier has joined #ruby
dx7 has quit [Ping timeout: 272 seconds]
mofai has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
<Hanmac> hm bad #ruby-lang is not as helpful as this channel :(
einarj has joined #ruby
timonv_ has joined #ruby
ELLIOTTCABLE is now known as skoobettoille
bruno- has joined #ruby
behrz has joined #ruby
behrz has left #ruby [#ruby]
timgauthier is now known as timgauthier_isaw
oo_ has quit [Remote host closed the connection]
skoobettoille is now known as ELLIOTTCABLE
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gizmore> Hanmac: just ask good questions, and there will be discussion
timgauthier has joined #ruby
oo_ has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
guiguidoc has quit [Ping timeout: 272 seconds]
LudicrousMango has joined #ruby
<Hanmac> gizmore: Data_Get_Struct/Data_Wrap_Struct are now deprecated , need to be replaced with TypedData_Get_Struct/TypedData_Wrap_Struct, but i am unsure about how to use them correctly because they are not documented yet
<gizmore> i would assume it should be mostly compatible
<gizmore> else the method fingerprints are a good way to start
<Hanmac> they now use rb_data_type_t for infomation ... my question was if i can reuse the same rb_data_type_t for all classes in the baseclass of if i really need different ones for the child classes too
emmesswhy has quit [Quit: This computer has gone to sleep]
timgauthier is now known as timgauthier_isaw
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has quit [Quit: leaving]
timgauthier has joined #ruby
oo_ has quit [Remote host closed the connection]
Hyknua has joined #ruby
govg has joined #ruby
charliesome has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
awestroke has joined #ruby
guiguidoc has joined #ruby
krisquigley has joined #ruby
MasterPiece has joined #ruby
MaciejCzyzewski has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Rx_o has joined #ruby
Hamled|Erp is now known as Hamled
kaspertidemann has joined #ruby
einarj has quit [Remote host closed the connection]
fgo has joined #ruby
bricker`LA has joined #ruby
ptrrr has quit [Quit: ptrrr]
peterhellberg has joined #ruby
angusiguess has joined #ruby
Zackio has quit [Ping timeout: 244 seconds]
Zackio has joined #ruby
lowandslow has joined #ruby
jottr has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
bricker`LA has quit [Ping timeout: 245 seconds]
goodenough has joined #ruby
peterhellberg has quit [Ping timeout: 245 seconds]
emmesswhy has joined #ruby
charliesome has quit [Quit: zzz]
angusiguess has quit [Ping timeout: 260 seconds]
pen has quit [Read error: Connection reset by peer]
timgauthier is now known as timgauthier_isaw
pen has joined #ruby
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yacks has joined #ruby
timgauthier has joined #ruby
startupality has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
Kuda has joined #ruby
Kuda has quit [Client Quit]
Jackneill has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
MaciejCzyzewski has quit [Read error: Connection reset by peer]
coderhs has joined #ruby
coderhs has quit [Client Quit]
hamakn has quit [Ping timeout: 260 seconds]
krisquigley has quit [Remote host closed the connection]
moritzs has quit [Ping timeout: 260 seconds]
mollitz has quit [Ping timeout: 240 seconds]
skammer1 has joined #ruby
AFKGeek has joined #ruby
Rx_o has quit [Ping timeout: 245 seconds]
KesUK has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
timgauthier is now known as timgauthier_isaw
bruno- has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mia has joined #ruby
Rx_o has joined #ruby
timgauthier has joined #ruby
threesixes has quit [Remote host closed the connection]
linduxed has quit [Ping timeout: 245 seconds]
bruno- has quit [Ping timeout: 245 seconds]
kirun has joined #ruby
Kuda has joined #ruby
moritzs has joined #ruby
HelperW_ has quit [Read error: Connection reset by peer]
moritzschaefer has joined #ruby
HelperW_ has joined #ruby
pen has quit [Quit: Leaving]
Jackneill has quit [Ping timeout: 244 seconds]
pen has joined #ruby
pen has quit [Max SendQ exceeded]
pen has joined #ruby
awestroke has quit [Remote host closed the connection]
pen has quit [Max SendQ exceeded]
pen has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
linduxed has joined #ruby
yo61 has joined #ruby
diegoviola has quit [Remote host closed the connection]
nfk has joined #ruby
timgauthier is now known as timgauthier_isaw
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pen has quit [Max SendQ exceeded]
startupality_ has joined #ruby
timgauthier has joined #ruby
abdulsattar has joined #ruby
startupality has quit [Ping timeout: 245 seconds]
startupality_ is now known as startupality
pen has joined #ruby
jottr has joined #ruby
charliesome has joined #ruby
Kuda has quit [Quit: Sleep]
skammer1 has quit [Ping timeout: 244 seconds]
m8 has joined #ruby
AFK has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
AFK has quit [Remote host closed the connection]
AFK has joined #ruby
KesUK has quit [Quit: Lingo - http://www.lingoirc.com]
AFK has quit [Remote host closed the connection]
AFKGeek has quit [Ping timeout: 244 seconds]
AFKGeek has joined #ruby
AlexRussia_ has quit [Ping timeout: 264 seconds]
Rx_o has quit [Ping timeout: 250 seconds]
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
Snowstormer is now known as ^42
dorei has joined #ruby
axsuul has quit [Ping timeout: 260 seconds]
fgo has joined #ruby
Todiann has joined #ruby
pen has quit [Max SendQ exceeded]
pen has joined #ruby
Mon_Ouie has joined #ruby
peterhellberg has joined #ruby
timonv_ has quit [Ping timeout: 258 seconds]
abdulsattar has quit [Ping timeout: 272 seconds]
angusiguess has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
lkba has joined #ruby
dx7 has joined #ruby
peterhellberg has quit [Ping timeout: 246 seconds]
Kuda has joined #ruby
ikanobori has joined #ruby
abdulsattar has joined #ruby
angusiguess has quit [Ping timeout: 260 seconds]
Spami has joined #ruby
Ludicrou_ has joined #ruby
emmesswhy has joined #ruby
last_staff has joined #ruby
kaspertidemann has quit []
dx7 has quit [Ping timeout: 260 seconds]
timgauthier is now known as timgauthier_isaw
Rx_o has joined #ruby
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LudicrousMango has quit [Ping timeout: 258 seconds]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby
jottr has joined #ruby
kireevco has joined #ruby
Todiann has quit [Quit: Computer has gone to sleep.]
Kuda has quit [Read error: Connection reset by peer]
neoxquick has quit [Read error: Connection reset by peer]
<last_staff> how do I set a ruby variable?
<last_staff> and call it afterwards?
mofai has quit [Quit: Leaving...]
<last_staff> I know, I know, rtfm - but still
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<dorei> call a variable? what do you mean?
ptrrr has joined #ruby
<apeiros> >> x = "hello"; puts x
<eval-in_> apeiros => hello ... (https://eval.in/199276)
<apeiros> last_staff: ^
<apeiros> if that's not what you meant, then please elaborate.
kireevco has quit [Ping timeout: 258 seconds]
HelperW_ has quit [Quit: Computer has gone to sleep.]
HelperW_ has joined #ruby
<last_staff> I'm working with vagrant, in which the vagrantfile I'm using is pretty much refusing to acknowledge my ruby variable
<last_staff> So I tried
<last_staff> sh.inline = $script
<last_staff> sh.args = "vbox-#{ENV['USERNAME']}-w7-64"
lukeholder has joined #ruby
lukeholder has quit [Client Quit]
<last_staff> $script is a script block of the type $script =<<EOF
HelperW_ has quit [Read error: Connection reset by peer]
<last_staff> and in it I'm using $1 to get the variable...which returns an empty thingamageegee
HelperW__ has joined #ruby
<apeiros> $vars are globals
<apeiros> $1-$9 are special. you can't set them yourself. and I think ruby tells you so.
<apeiros> and the "type" of <<EOF is String
HelperW__ has quit [Client Quit]
mikepack has joined #ruby
<last_staff> so I'm basically asking everywhere since it could be a powershell thing, or a vagrantfile thing, could be a remoting thing, a mixture of the lot
HelperW__ has joined #ruby
<last_staff> right. more context
<last_staff> the contents of $script is powershell, which is sent remotely to the guest machine
<last_staff> agh, why I no understand this
AFKGeek has quit [Quit: Leaving]
<last_staff> thanks for the <<EOF type though
<last_staff> is it always string, or are variable expansions allowed - when doing regular programming and not mixing up environments?
artm has joined #ruby
<Mia> Guys I'm learning ruby - here is a minor question:
<Mia> is splat! useful?
jhass|off is now known as jhass
<last_staff> if you're making ketchup it's very useful
<Mia> this is the firs time I see it, and it feels like feeding an array into a method
mrbubbles has joined #ruby
HelperW__ has quit [Ping timeout: 260 seconds]
<Mia> I mean, why would I need it if I cn feed an array and do .each anyway?
krisquigley has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
<last_staff> oh, that's what it is
<last_staff> from what I'm reading, you don't need to do each if you're doing a splat
timonv_ has joined #ruby
<last_staff> Truth be told, I have no idea what the ruby splat really is, apart from what I'm reading here: https://endofline.wordpress.com/2011/01/21/the-strange-ruby-splat/
pen has quit [Quit: Leaving]
<rg4> Mia, in method def it lets you accept variable number of args, in method call it lets you pass elements of array as individual args
jottr has quit [Ping timeout: 272 seconds]
<Mia> rg4 thanks, it feels like it was doable other way around too
<Mia> but that's also what I felt when I first saw unless
krisquigley has quit [Ping timeout: 240 seconds]
<Mia> so it's probobly my lack of experience
boombadaroomba has joined #ruby
<last_staff> hah!
<last_staff> I didn't even know there was a splat thingie
<Mia> last_staff, thank me :P
<last_staff> Mia, thank you
* Mia is so extremely happy
emmesswhy has quit [Quit: This computer has gone to sleep]
<last_staff> meh, it's irc, so 'lol'
<last_staff> I've missed IRC
Morkel has joined #ruby
* Mia is an intelligent irc bot
<last_staff> And people are talking about 'live forums' (which I prefer to call "live fora") like it's something entirely new
<Mia> hah
<Mia> facebook = live forums
<Mia> mind the s at the end
<last_staff> you mean the groups?
<apeiros> Mia: are you talking about *, the splat operator?
<last_staff> apeiros: it's an operator?
<last_staff> nvm
<apeiros> last_staff: when used for splat, yes
<apeiros> in other situations, it's a method
<Mia> apeiros, yes I am
<last_staff> yeah I just saw it on the page I referenced
timonv_ has quit [Ping timeout: 258 seconds]
<Mia> I don't know about other uss yet
<Mia> just splat
<apeiros> Mia: you need it when you have e.g. arguments to another method in an array
boombadaroomba has quit [Ping timeout: 272 seconds]
<last_staff> oh wow
<Mia> I'm following codecademy so yeah
<last_staff> I just found the splat spec
<apeiros> e.g. def foo(a, b, c); a*b+c; end; values = [1,2,3]; foo(*values)
<apeiros> >> def foo(a, b, c); a*b+c; end; values = [1,2,3]; foo(*values)
<last_staff> so ruby is THAT open, huh?
<eval-in_> apeiros => 5 (https://eval.in/199292)
<last_staff> what IS that eval-thing link anyway?
<Mia> apeiros, yes, my question is, would something like this work (or how would)
duncannz has quit [Ping timeout: 240 seconds]
Rhainur has joined #ruby
<apeiros> "like this"? like what?
<Mia> def greetings (greetword, *names, ending)
<apeiros> last_staff: "is it always string, or are variable expansions allowed" - yes it is always a string. not sure what you mean by variable expansions.
<Mia> I mean if it's in the middle, how would it work
tanath_ has joined #ruby
<Mia> That's a pointless question maybe?
jottr has joined #ruby
<Mia> or is it possible to se two of them in a single method?
<apeiros> last_staff: if you mean string interpolation. yes. x = <<EOF; #{some_expression}; EOF # is valid - ; is a real newline here
<apeiros> Mia: I think as of 1.9, putting it in the middle is valid
MasterPiece has quit [Quit: Leaving]
<Mia> like def mix (*a, *b )
<apeiros> Mia: and it'd work by first processing required values
<apeiros> and no, 2 would not work as it would not make sense to begin with
MasterPiece has joined #ruby
MasterPiece has quit [Client Quit]
<last_staff> Nice
<Mia> apeiros, so how do you feed the values for the example that has values in the midle
<last_staff> hmm, maybe if...
<Mia> I mean, does it get the last one as the "last" and the rest as "in the middle" ?
<apeiros> def foo(a, *x, c) # first value goes to a, last value goes to c, rest goes to x
<Mia> hm what if you feed 2 values only
<apeiros> then the rest is an empty array
<Mia> actually I may just try it
<Mia> :P
<apeiros> and yes. try it!
tanath has quit [Ping timeout: 264 seconds]
MasterPiece has joined #ruby
<Mia> Oh empty array
<Mia> logical, kind of
<apeiros> programming usually is ;-)
<Mia> https://www.destroyallsoftware.com/talks/wat ----> this made it feel funny
Todiann has joined #ruby
<apeiros> meh, don't like bernhardt. but haven't seen talks by him, so maybe they're good.
Rx_o has quit [Ping timeout: 272 seconds]
<Mia> oh he's a famous dude?
<apeiros> I don't think famous. but well-known, yes.
Todiann has quit [Client Quit]
<last_staff> "Can't play video"
<last_staff> "Media source loading has failed"
<last_staff> :(
bmurt has joined #ruby
linojon has quit [Ping timeout: 250 seconds]
linojon has joined #ruby
segfalt has joined #ruby
Todiann has joined #ruby
<last_staff> huh
<last_staff> I just can't play the thing
yfeldblum has quit [Remote host closed the connection]
Todiann has quit [Client Quit]
St_Marx has quit [Ping timeout: 264 seconds]
shock_one has quit [Quit: Computer has gone to sleep.]
<last_staff> but...how nice of them to think of me, and put up a download link
fgo has joined #ruby
<last_staff> lol
<last_staff> wat
Darryl has joined #ruby
<last_staff> object + object = not a number
<last_staff> lol
Sonny|3oy has joined #ruby
<last_staff> nananannananananannaan batman!
ta has quit [Ping timeout: 260 seconds]
angusiguess has joined #ruby
<last_staff> I'm dying!
fgo has quit [Ping timeout: 246 seconds]
<last_staff> writing figuratively
shock_one has joined #ruby
osse has joined #ruby
Jackneill has joined #ruby
codecop has joined #ruby
artm has quit [Quit: artm]
echevemaster has joined #ruby
angusiguess has quit [Ping timeout: 244 seconds]
mastr_bennett[x] has joined #ruby
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby
jusmyth has joined #ruby
jusmyth has left #ruby [#ruby]
Scripore has joined #ruby
bruno- has joined #ruby
<last_staff> Mia, how did you come over this?
HelperW__ has joined #ruby
St_Marx has joined #ruby
angusiguess has joined #ruby
<Mia> last_staff, what do you mean
<Mia> the watman thing?
mostlybadfly has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
lukeholder has joined #ruby
nerofox has joined #ruby
lukeholder has quit [Max SendQ exceeded]
HelperW__ has quit [Ping timeout: 272 seconds]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
<last_staff> yeah, the screencast
apeiros has quit []
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
<last_staff> I'm basically assuming you didn't just get a link to destroyallsoftware.com
nerofox has left #ruby [#ruby]
bruno- has joined #ruby
<sevenseacat> wat is an awesome video
<Mia> last_staff, I actually did get a link to that particular video
lukeholder has joined #ruby
<Mia> just like I gave it to you
<Mia> I don't remember where and when though
<Mia> But it was a direct link p.much like that
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
shock_one has quit [Quit: Computer has gone to sleep.]
lukeholder has quit [Max SendQ exceeded]
jottr has quit [Ping timeout: 246 seconds]
<last_staff> loved the missing_method method
lukeholder has joined #ruby
<last_staff> i wonder if it could be used to type out text
<last_staff> wouldn't need to parse txt then
<last_staff> and people'd be 'wat' too
yfeldblum has joined #ruby
<sevenseacat> thats not a good thing
Kabaka has quit [Ping timeout: 260 seconds]
coderdad has joined #ruby
<last_staff> well, people who know enough ruby and general programming, anyway
<last_staff> I know, that's why they'd probably go 'wat'
<last_staff> I'd probably have to do some damage control so it doesn't expand everywhere
<Mia> last_staff, ruby is cool so far to me
<last_staff> if that's even possible, I don't know
<Mia> it's my first proper language
manacit has quit [Ping timeout: 255 seconds]
<last_staff> lol, 'proper'
tomaw- has quit [Quit: Quitting]
<Mia> well arguebly
<last_staff> yeah, I figured.
<Mia> I used to be good at actionscript 2 back at the day
yfeldblu_ has joined #ruby
<last_staff> what's that?
<Mia> and I know js just a little bit, to help me copy paste and understand what other people did
<last_staff> (I know, flash)
<Mia> and that's it
<Mia> actionscript2 is flash yes
thomasxie has joined #ruby
<Mia> Oh I'll brb quick (it better be quick)
<last_staff> I could never figure out the animation stuff
* last_staff assumes there's a screaming baby in need for attention
enebo has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
Kabaka has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
coderdad has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 272 seconds]
gccostabr has joined #ruby
jonr22 has joined #ruby
rkalfane has joined #ruby
timonv_ has joined #ruby
jottr has joined #ruby
gccostabr has quit [Client Quit]
rhiannon has joined #ruby
rkjaer has joined #ruby
Scotteh has quit [Read error: Connection reset by peer]
Scotteh has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has quit [Ping timeout: 246 seconds]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
tkuchiki has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
<Hanmac> hey has someone already worked with TYPED_DATA from the C-API ?
patrick99e99 has joined #ruby
xcv has joined #ruby
WormDrink has quit [Ping timeout: 250 seconds]
patrick99e99 has quit [Ping timeout: 272 seconds]
kristofferR has joined #ruby
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
shock_one has joined #ruby
Xeago has joined #ruby
dx7 has joined #ruby
bmurt has quit []
Todiann has joined #ruby
vinleod has joined #ruby
jonr22 has quit [Ping timeout: 260 seconds]
endash has joined #ruby
Todiann has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
fgo has joined #ruby
dx7 has quit [Ping timeout: 260 seconds]
AndChat|329121 has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
shock_one has quit [Quit: Computer has gone to sleep.]
HelperW__ has joined #ruby
hamakn has joined #ruby
jonr22 has joined #ruby
phutchins has joined #ruby
hellangel7 has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
HelperW__ has quit [Ping timeout: 260 seconds]
HelperW__ has joined #ruby
lolmaus_ has quit [Ping timeout: 272 seconds]
rhiannon has quit [Quit: Bye]
HelperW___ has joined #ruby
lolmaus_ has joined #ruby
cirn0 has joined #ruby
Morkel has quit [Quit: Morkel]
Sonny|3oy has quit [Quit: Leaving]
HelperW__ has quit [Ping timeout: 260 seconds]
Soda has joined #ruby
HelperW___ has quit [Ping timeout: 260 seconds]
krisquigley has joined #ruby
kyote has joined #ruby
kyote has quit [Changing host]
kyote has joined #ruby
Kricir has joined #ruby
yfeldblum has joined #ruby
last_staff has quit [Remote host closed the connection]
fabrice31 has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 260 seconds]
zeroNones has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
carraroj has joined #ruby
carraroj has quit [Changing host]
carraroj has joined #ruby
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
oo_ has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
last_staff has joined #ruby
Kricir has joined #ruby
<last_staff> I guess Mia's 'quick' was pretty slow
angusiguess has quit [Ping timeout: 260 seconds]
carraroj has quit [Ping timeout: 258 seconds]
lektrik has quit [Quit: Leaving]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Todiann has joined #ruby
lukevinc has joined #ruby
Todiann has quit [Client Quit]
<lukevinc> rubysts, how i handle sqlite with ruby? please, give me some page to start to try it out. thanks
<last_staff> use python
fabrice31 has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
<last_staff> there, bought myself some time
<last_staff> lukevinc: could this be a start? http://zetcode.com/db/sqliteruby/
Spami has joined #ruby
<lukevinc> if i'm in #ruby, i want it in ruby, not python. thanks anyway.
lukevinc has quit [Client Quit]
<last_staff> hehe, like I said. I wrote to buy some time to search for it
<last_staff> the link contains both ruby and sqlite, so I'm wondering if that's a start
ionelmc has joined #ruby
Spami has quit [Client Quit]
<last_staff> tell me so I can bookmark it for later (it's in my 2lrn-backlog)
<Nowaker> last_staff: hey, do you want pure sqlite with no orm abstraction?
fabrice31 has quit [Read error: Connection reset by peer]
Kricir has quit [Remote host closed the connection]
fabrice31 has joined #ruby
<Nowaker> if not, you could have a look here, sqlite plus data mapper http://www.sitepoint.com/just-do-it-learn-sinatra-ii-2/
Kricir has joined #ruby
qmfnp has joined #ruby
Spami has joined #ruby
<last_staff> Nowaker: "orm" as in object-relational mapping?
<Nowaker> yes
Jackneill has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Read error: Connection reset by peer]
<last_staff> hadn't thought about it....so both
fabrice31 has joined #ruby
<last_staff> 2 new things, right in the backlog
rlvm has joined #ruby
<last_staff> brb afk
fabrice31 has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
<Nowaker> last_staff: so you dont have specific requirements, so do have a look at data mapper plus sqlite.
tessi is now known as tessi_zz
lolmaus_ has quit [Read error: Connection reset by peer]
Kricir has quit [Ping timeout: 245 seconds]
skaflem has joined #ruby
krisquigley has quit [Remote host closed the connection]
subopt has quit [Remote host closed the connection]
krisquigley has joined #ruby
subopt has joined #ruby
angusiguess has joined #ruby
MasterPiece has quit [Quit: Leaving]
MasterPiece has joined #ruby
banister has joined #ruby
rlvm has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 244 seconds]
krisquigley has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby
<havenwood> turk5nag
fabrice31 has joined #ruby
<havenwood> good morning rather
ARCADIVS has joined #ruby
fgo has joined #ruby
benzrf|offline is now known as benzrf
lxsameer has quit [Quit: Leaving]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mastr_bennett[x] has joined #ruby
ndrei has joined #ruby
Jackneill has joined #ruby
St_Marx has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 244 seconds]
fabrice31_ has joined #ruby
fabrice31 has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nettoweb has joined #ruby
MasterPiece has quit [Quit: Leaving]
MasterPiece has joined #ruby
codecop has quit [Remote host closed the connection]
hellangel7 has quit [Max SendQ exceeded]
HelperW___ has joined #ruby
fabrice31_ has quit [Read error: Connection reset by peer]
<last_staff> bk
fabrice31 has joined #ruby
<last_staff> Nowaker: sort of, yeah. Basically I don't know what I'm going to need in the future. At some point some db-heavy applications will get mobile interfaces, and some of the databases will most likely go in sqlite files
<last_staff> Also I don't know how I'm gonna connect to them
<last_staff> so the overall requirement at the moment is 'how do I connect to sqlite through X'
<last_staff> where X can be java, python, batch, .net, etc.
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
HelperW____ has joined #ruby
fabrice31_ has joined #ruby
HelperW___ has quit [Ping timeout: 260 seconds]
fabrice31_ has quit [Read error: Connection reset by peer]
arup_r has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
arup_r1 has joined #ruby
fabrice31_ has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
MaciejCzyzewski has joined #ruby
MaciejCzyzewski has quit [Client Quit]
timonv^ has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
AndChat|329121 has quit [Quit: Bye]
AndChat|329121 has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
MaciejCzyzewski has joined #ruby
AndChat|329121 has quit [Read error: Connection reset by peer]
banister has joined #ruby
fabrice31_ has quit [Read error: Connection reset by peer]
AndChat|329121 has joined #ruby
tessi_zz is now known as tessi
fabrice31 has joined #ruby
MasterPiece has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 260 seconds]
MasterPiece has joined #ruby
MasterPiece has quit [Remote host closed the connection]
zz_jrhorn424 is now known as jrhorn424
fabrice31_ has joined #ruby
fabrice31 has quit [Read error: Connection reset by peer]
MasterPiece has joined #ruby
bmurt has joined #ruby
fabrice31 has joined #ruby
fabrice31_ has quit [Read error: Connection reset by peer]
<shevy> ahhh
<shevy> we need more ruby
<shevy> we need more pretties
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
manacit has joined #ruby
danguita has joined #ruby
MaciejCzyzewski has joined #ruby
enebo has quit [Quit: enebo]
<last_staff> shevy, just don't tell Link
lukevinc has joined #ruby
<lukevinc> rubygems is down?
<shevy> last_staff link?
fabrice31 has quit [Ping timeout: 244 seconds]
<last_staff> no, Link. From the Zelda games
<shevy> I don't know what is a Zelda
<lukevinc> last_staff: thanks my friend.
<last_staff> shevy: ...really?
<lukevinc> who controls ruby gems, same of ruby official site?
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lukevinc> mantainance?
fabrice31 has joined #ruby
<lukevinc> Zelda is the name of William's daughter.
<shevy> lukevinc community
jonr22 has quit [Ping timeout: 240 seconds]
<last_staff> lukevinc: wtf really?
<lukevinc> can i have a mirror of ruby gems?
<shevy> lukevinc you can add new URLs to gem host
<shevy> yes that too
<last_staff> William as in the crown prince?
<lukevinc> Robin Williams.
<shevy> lukevinc for instance, to add github you can do:
<shevy> gem sources -a http://gems.github.com
<lukevinc> Zelda is the name of sister of the woman of movie Pet Sematary, adapted of Stephen King's book.
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<last_staff> oh, you meant Williams'
<lukevinc> i have not doubt ruby gems is working, only the website is off, i need a search engine.
nettoweb has joined #ruby
fabrice31_ has joined #ruby
<lukevinc> to be specific, how i install sqlite for ruby?
<last_staff> sqlite, or sqlite connector?
fabrice31 has quit [Read error: Connection reset by peer]
fabrice31_ has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
<last_staff> wow, I found that question almost to the letter, lukevinc
MrBoolean has joined #ruby
fabrice31 has quit [Read error: Connection reset by peer]
<last_staff> of course, if you're on a non-windows platform it's a different matter
lukeholder has quit [Quit: Textual IRC Client: www.textualapp.com]
fabrice31 has joined #ruby
<lukevinc> sqlite gem for sqlite3
MasterPiece has quit [Remote host closed the connection]
<sevenseacat> you put sqlite in your Gemfile, and then you bundle.
<lukevinc> windows, pfft, ubuntu please
<sevenseacat> thats how you install sqlite for ruby.
MasterPiece has joined #ruby
slester has joined #ruby
<last_staff> meh, I'm done with ubuntu for now
jusmyth1 has joined #ruby
<lukevinc> gem install sqlite should works?
<sevenseacat> !try
<helpa> Why don't you try it and find out for yourself?
<last_staff> everything ubuntu's gone pretty much downhill since gnome3 was released
<sevenseacat> gnome3 is indeed a pos
fabrice31 has quit [Read error: Connection reset by peer]
jds has quit [Quit: Connection closed for inactivity]
dx7 has joined #ruby
fabrice31 has joined #ruby
lolmaus_ has joined #ruby
<lukevinc> damn, i come here to have a good opinion,not to be told to try it yourself.
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sevenseacat> installing gems isnt something opinion-based
<eam> lukevinc: that's how you develop good opinions
patrick99e99 has joined #ruby
centrx has joined #ruby
<lukevinc> of course it is, if you have a good opinion, you have a good tool. if you try the tool without opinions, your tool could crash.
jonr22 has joined #ruby
rkalfane has joined #ruby
<sevenseacat> wat
<lukevinc> there's no manual page for gem.
<lukevinc> wft
<centrx> Your opinion directly corresponds to whether you are a tool
* sevenseacat has formed those opinions by now about certain people
<last_staff> oh man, I just almost drowned in my own coffee
dx7 has quit [Ping timeout: 246 seconds]
<lukevinc> use mighty mug
xcv has quit [Remote host closed the connection]
<last_staff> I did, it was too mighty for me
endash has quit [Quit: endash]
<last_staff> goes to show humans aren't built to talk and drink at the same time
<last_staff> aka 'multitasking'
fabrice31_ has joined #ruby
work_op has quit [Ping timeout: 272 seconds]
<lukevinc> let it to your operation system buddy
thesheff17 has joined #ruby
<last_staff> don't I wish. It never listens to me
patrick99e99 has quit [Ping timeout: 272 seconds]
jonr22 has quit [Ping timeout: 240 seconds]
<last_staff> it insists on getting every instruction in writing
<last_staff> well....not EVERY instruction, but every command, at least
cajone has joined #ruby
cpruitt has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
timonv^ has quit [Remote host closed the connection]
gvenkat has joined #ruby
fabrice31_ has quit [Ping timeout: 250 seconds]
bmurt has quit []
bmurt has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
MrBoolean has quit [Quit: Leaving...]
Sthebig has quit [Quit: /quit]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lukevinc> woot, i did install sqlite3, thanks people.
<sevenseacat> :)
<lukevinc> sudo gem install sqlite3
Sthebig has joined #ruby
<sevenseacat> ew, sudo
fgo has joined #ruby
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
mclosson has joined #ruby
IceDragon has joined #ruby
krisquigley has joined #ruby
<lukevinc> without sudo, theres no permission to save in /usr
bmurt has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 272 seconds]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lukevinc> You don't have write permissions for the /usr/local/lib/ruby/gems/2.1.0 directory.
kaspertidemann has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
yeticry has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 260 seconds]
hamakn has joined #ruby
krisquigley has quit [Ping timeout: 260 seconds]
WormDrink has joined #ruby
abdulsattar has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
HelperW____ has joined #ruby
ceej has joined #ruby
<lukevinc> damn, it's not working
Sht0 has quit [Ping timeout: 272 seconds]
hamakn has quit [Ping timeout: 260 seconds]
<last_staff> use windows instead
<last_staff> then you don't have to sudo
yfeldblum has joined #ruby
jrhorn424 is now known as zz_jrhorn424
<sevenseacat> well whos fault is that for installing ruby into a place that requires sudo
Spami has quit [Quit: This computer has gone to sleep]
<lukevinc> /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- sqlite3 (LoadError)
HelperW____ has quit [Ping timeout: 250 seconds]
<lukevinc> windows, pfffft, hell, do you use windows, really?
<centrx> You need some Windex
HelperW____ has joined #ruby
ndrei has joined #ruby
Xeago has quit [Remote host closed the connection]
mroth has joined #ruby
abdulsattar has joined #ruby
<lukevinc> what is it?
yfeldblum has quit [Ping timeout: 272 seconds]
<centrx> Are your windows foggy?
Ludicrou_ has quit [Remote host closed the connection]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LudicrousMango has joined #ruby
HelperW____ has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
jusmyth1 has left #ruby [#ruby]
<last_staff> lukevinc: "do you use windows, really" I'm forced to, so yeah
<last_staff> my point still stands though. On windows you don't need sudo
<last_staff> you do need a whole bunch of other stuff and configuration settings and whatnot....but not sudo
banister has quit [Read error: Connection reset by peer]
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
LudicrousMango has quit [Ping timeout: 260 seconds]
banister has joined #ruby
lw has joined #ruby
banister has quit [Client Quit]
<eam> sure, on windows you use runas.exe
<eam> worlds apart!
ndrei has quit [Ping timeout: 272 seconds]
bricker`LA has joined #ruby
mikepack has joined #ruby
Phrogz_ has joined #ruby
Phrogz_ has joined #ruby
Phrogz_ is now known as Phrogz
last_staff has quit [Ping timeout: 246 seconds]
buub has joined #ruby
tonybird has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
tonybird has quit [Max SendQ exceeded]
angusiguess has joined #ruby
bricker`LA has quit [Ping timeout: 272 seconds]
<lukevinc> i use windows only for games.
mikepack has quit [Ping timeout: 260 seconds]
jottr has quit [Read error: Connection reset by peer]
lukevinc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.8.0/20000101000000]]
last_staff has joined #ruby
jottr has joined #ruby
voodoofish1 has joined #ruby
MaciejCzyzewski has joined #ruby
ndrei has joined #ruby
arrubin has joined #ruby
voodoofish has quit [Ping timeout: 244 seconds]
banister has joined #ruby
timonv_ has joined #ruby
endash has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
sdwrage has joined #ruby
sdwrage_ has joined #ruby
boombadaroomba has joined #ruby
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
ndrei has quit [Ping timeout: 245 seconds]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
ndrei has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
timonv_ has quit [Ping timeout: 260 seconds]
boombadaroomba has quit [Ping timeout: 250 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Kricir has joined #ruby
matti has quit [Quit: Reconnecting]
matti has joined #ruby
sevenseacat has quit [Remote host closed the connection]
geggam has quit [Remote host closed the connection]
entrenador has joined #ruby
banister has joined #ruby
geggam has joined #ruby
bricker`LA has joined #ruby
entrenador has quit [Client Quit]
entrenador has joined #ruby
kobain has joined #ruby
<MaciejCzyzewski> Hi folks!
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thomasxie has left #ruby [#ruby]
fgo has joined #ruby
solo_ has joined #ruby
peterhellberg has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
andrewstewart has joined #ruby
<certainty> yow
ndrei has joined #ruby
<solo_> Is there a preferred directory to put config files in when shipping a gem? Say, a json file the gem will consume. share folder?
yfeldblum has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
oleo__ is now known as oleo
klmlfl has joined #ruby
<rg4> solo_, is the user gonna edit the file or is it just for the gem to parse?
<solo_> It's going to be used as a template, so the user will do "mygem template <templatename>"
<solo_> and i just wanna copy this file and name it <templatename>
<solo_> so, no they shouldn't edit it directly.
HelperW____ has joined #ruby
wald0 has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
<rg4> just make sure you package it with the gem then, and copy it over later, i don't think there is a standard name for data dirs, i'd just 'templates/' or 'data/'.
<rg4> just use^
<solo_> okay.
<solo_> thanks
timonv_ has joined #ruby
HelperW____ has quit [Ping timeout: 272 seconds]
HelperW____ has joined #ruby
tessi is now known as tessi_zz
kaffepan1a has quit [Remote host closed the connection]
entrenador has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
hmsimha_ has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
sdwrage_ has quit [Quit: This computer has gone to sleep]
sdwrage has quit [Quit: This computer has gone to sleep]
Kricir has joined #ruby
zeroNones has joined #ruby
slester has quit [Quit: Quitte]
Kricir has quit [Read error: Connection reset by peer]
<shevy> solo_ I would call the directory config/
Kricir has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
<solo_> shevy: Yeah, I read that a couple places (config, shared, or data). Didn't know which one was best, looked at some projects on github, but none of them did this.
<solo_> It's not really a config file though, so I'm wondering if data would be?
HelperW____ has quit [Ping timeout: 272 seconds]
bdnelson has joined #ruby
<solo_> I will also need a config file though, so maybe I'll just throw both in there for simplicity.
bdnelson has quit [Remote host closed the connection]
bdnelson has joined #ruby
charliesome has joined #ruby
zeroNones has quit [Client Quit]
endash has quit [Quit: endash]
gvenkat has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 260 seconds]
sdwrage_ has joined #ruby
sdwrage has joined #ruby
Asher has quit [Quit: Leaving.]
chipotle has joined #ruby
bluehavana has joined #ruby
Phrogz has quit [Remote host closed the connection]
MasterPiece has quit [Quit: Leaving]
banister has joined #ruby
codezomb has quit [Ping timeout: 272 seconds]
MaciejCzyzewski has joined #ruby
charliesome has quit [Quit: zzz]
lkba has joined #ruby
synergyz has quit [Read error: Connection reset by peer]
gvenkat has quit [Quit: This computer has gone to sleep]
wallerdev has joined #ruby
charliesome has joined #ruby
dx7 has joined #ruby
angusiguess has joined #ruby
synergyz has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
dx7 has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
angusiguess has quit [Ping timeout: 258 seconds]
bthesorceror has joined #ruby
Scripore has quit [Ping timeout: 258 seconds]
zeroNones has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SilkFox_ has joined #ruby
buub has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 264 seconds]
hooper has joined #ruby
buub has joined #ruby
nessib_ has joined #ruby
rkalfane has joined #ruby
{xenomorph} is now known as xenomorph
hmsimha_ has quit [Ping timeout: 260 seconds]
Koshian has quit [Ping timeout: 260 seconds]
xenomorph is now known as {xenomorph}
nessib_ has quit [Client Quit]
benzrf is now known as benzrf|offline
timonv_ has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
timonv_ has joined #ruby
GGMethos has quit [Ping timeout: 272 seconds]
jottr has joined #ruby
krisquigley has joined #ruby
gvenkat has joined #ruby
emmesswhy has joined #ruby
kaspertidemann has quit []
cpruitt has quit [Quit: cpruitt]
kireevco has joined #ruby
webgen has joined #ruby
banister has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
mclosson has quit [Ping timeout: 260 seconds]
tectonic has joined #ruby
m8 has quit [Quit: Sto andando via]
yfeldblum has joined #ruby
klmlfl has quit [Remote host closed the connection]
axsuul has joined #ruby
fgo has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Ping timeout: 260 seconds]
fgo has quit [Ping timeout: 245 seconds]
gvenkat has joined #ruby
IceDragon has quit [Ping timeout: 272 seconds]
phoo1234567 has joined #ruby
HelperW____ has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
webgen has quit [Quit: Leaving]
endash has joined #ruby
St_Marx has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Remote host closed the connection]
HelperW____ has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
fabrice31 has quit [Remote host closed the connection]
GGMethos has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
HelperW____ has quit [Ping timeout: 260 seconds]
hellangel7 has joined #ruby
Kilo`byte has quit [Ping timeout: 272 seconds]
krisquigley has quit [Remote host closed the connection]
hellangel7 has quit [Max SendQ exceeded]
krisquigley has joined #ruby
hellangel7 has joined #ruby
zorak8 has joined #ruby
Phrogz_ has joined #ruby
^42 has quit [Excess Flood]
hellangel7 has quit [Max SendQ exceeded]
Kilo`byte has joined #ruby
hellangel7 has joined #ruby
gvenkat has joined #ruby
krisquigley has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby
abdulsattar has quit [Ping timeout: 260 seconds]
LikeGecko has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
LikeGecko is now known as ^42
bthesorceror has quit [Quit: bthesorceror]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
kaspertidemann has joined #ruby
Channel6 has joined #ruby
mattyohe has joined #ruby
ducklobster has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
ducklobster has quit [Remote host closed the connection]
shock_one has joined #ruby
SilkFox_ has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
patronus_ has joined #ruby
hellangel7 has joined #ruby
Apocalypse has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
marahin has quit [Ping timeout: 245 seconds]
wookiehangover_ has joined #ruby
Hobogrammer has joined #ruby
Apocalypse has joined #ruby
marahin has joined #ruby
Platini has quit [Ping timeout: 245 seconds]
marahin is now known as Guest96667
xxi has joined #ruby
flori_ has joined #ruby
masak has quit [Ping timeout: 245 seconds]
Sp4rKy has quit [Ping timeout: 245 seconds]
Anarch has quit [Ping timeout: 245 seconds]
hellangel7 has quit [Max SendQ exceeded]
mbwe has quit [Ping timeout: 245 seconds]
yliu has quit [Ping timeout: 245 seconds]
hellangel7 has joined #ruby
Anarch has joined #ruby
kriskrop1 has joined #ruby
yliu has joined #ruby
rs0_ has joined #ruby
kenneth has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
jay__ has joined #ruby
AndChat|329121 has quit [Quit: Bye]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hellangel7 has quit [Max SendQ exceeded]
shock_one has quit [*.net *.split]
Phrogz_ has quit [*.net *.split]
cirn0 has quit [*.net *.split]
bruno- has quit [*.net *.split]
adac has quit [*.net *.split]
Tomme has quit [*.net *.split]
jpinnix____ has quit [*.net *.split]
akitada__ has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
chihhsin has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
germanstudent has quit [*.net *.split]
rg4 has quit [*.net *.split]
farn has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
Jelco has quit [*.net *.split]
kriskropd has quit [*.net *.split]
ltd has quit [*.net *.split]
crazydiamond has quit [*.net *.split]
andrewbredow has quit [*.net *.split]
a13x212 has quit [*.net *.split]
vieq has quit [*.net *.split]
mg^^ has quit [*.net *.split]
wang has quit [*.net *.split]
xybre has quit [*.net *.split]
zmyrgel has quit [*.net *.split]
willgorm- has quit [*.net *.split]
nopc0de has quit [*.net *.split]
deavid has quit [*.net *.split]
jamespw has quit [*.net *.split]
rs0 has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
Pro| has quit [*.net *.split]
saltsa has quit [*.net *.split]
ryotarai has quit [*.net *.split]
csfrancis has quit [*.net *.split]
j416 has quit [*.net *.split]
klaas has quit [*.net *.split]
ineb has quit [*.net *.split]
ClarusCogitatio has quit [*.net *.split]
stnly has quit [*.net *.split]
sweeper has quit [*.net *.split]
ejnahc has quit [*.net *.split]
regedarek has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
flori has quit [*.net *.split]
SirFunk has quit [*.net *.split]
ccooke has quit [*.net *.split]
d4nku_ has quit [*.net *.split]
brandon_2 has quit [*.net *.split]
parus has quit [*.net *.split]
daed has quit [*.net *.split]
Rylee has quit [*.net *.split]
bhaak has quit [*.net *.split]
IceyEC_ has quit [*.net *.split]
Scient has quit [*.net *.split]
crome has quit [*.net *.split]
okinomo_ has quit [*.net *.split]
eam has quit [*.net *.split]
aep has quit [*.net *.split]
Rennex has quit [*.net *.split]
davidcelis has quit [*.net *.split]
bmn has quit [*.net *.split]
ixx has quit [*.net *.split]
patronus has quit [*.net *.split]
n88 has quit [*.net *.split]
quarcu has quit [*.net *.split]
y_nk has quit [*.net *.split]
Cope has quit [*.net *.split]
wmoxam has quit [*.net *.split]
jblancett has quit [*.net *.split]
dacamp has quit [*.net *.split]
EvanGuru has quit [*.net *.split]
Numdox has quit [*.net *.split]
yasu has quit [*.net *.split]
wlanboy has quit [*.net *.split]
three18t- has quit [*.net *.split]
crazysim has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
miah has quit [*.net *.split]
eythoriu1 has quit [*.net *.split]
cout has quit [*.net *.split]
neoice has quit [*.net *.split]
segv has quit [*.net *.split]
wookiehangover_ is now known as wookiehangover
hellangel7 has joined #ruby
Sp4rKy has joined #ruby
maestrojed has joined #ruby
yasu has joined #ruby
overflow has joined #ruby
overflow has quit [Client Quit]
slester has joined #ruby
despai has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
<despai> hello. Someone using grape + swagger ui? I need to add the api_key parameter not only to the swagger endpoint, but also to the endpoints of my api
<despai> anybody has any idea how?
hellangel7 has joined #ruby
lowandslow_ has joined #ruby
ndrei has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
hellangel7 has quit [Max SendQ exceeded]
bjeanes has joined #ruby
<Hanmac> banister: does one of your gems use C-API with Data_Wrap_Struct and Data_Get_Struct? you might need to rewrite that because they might be deprecated in the future
lowandslow_ has quit [Client Quit]
lowandslow has quit [Quit: Leaving]
lowandslow has joined #ruby
danguita has left #ruby ["WeeChat 0.4.2"]
mbwe has joined #ruby
<banister> Hanmac secret
yfeldblum has joined #ruby
Phrogz_ has joined #ruby
Tomme has joined #ruby
bruno- has joined #ruby
shock_one has joined #ruby
chihhsin has joined #ruby
cirn0 has joined #ruby
vieq has joined #ruby
saltsa has joined #ruby
klaas has joined #ruby
crazydiamond has joined #ruby
adac has joined #ruby
jblancett has joined #ruby
nopc0de has joined #ruby
germanstudent has joined #ruby
willgorm- has joined #ruby
yxhuvud has joined #ruby
jpinnix____ has joined #ruby
m4rCsi has joined #ruby
lifenoodles has joined #ruby
mg^^ has joined #ruby
stnly has joined #ruby
csfrancis has joined #ruby
akitada__ has joined #ruby
zmyrgel has joined #ruby
Jelco has joined #ruby
masak_ has joined #ruby
rg4 has joined #ruby
a13x212 has joined #ruby
farn has joined #ruby
xybre has joined #ruby
Pro| has joined #ruby
deavid has joined #ruby
ryotarai has joined #ruby
connor_goodwolf has joined #ruby
ltd has joined #ruby
j416 has joined #ruby
ineb has joined #ruby
wang has joined #ruby
jamespw has joined #ruby
andrewbredow has joined #ruby
daed has joined #ruby
regedarek has joined #ruby
sweeper has joined #ruby
SirFunk has joined #ruby
brandon_2 has joined #ruby
crome has joined #ruby
Rennex has joined #ruby
parus has joined #ruby
bhaak has joined #ruby
EvanGuru has joined #ruby
quarcu has joined #ruby
Scient has joined #ruby
segv has joined #ruby
IceyEC_ has joined #ruby
three18t- has joined #ruby
ejnahc has joined #ruby
wmoxam has joined #ruby
y_nk has joined #ruby
eam has joined #ruby
Rylee has joined #ruby
miah has joined #ruby
davidcelis has joined #ruby
eythoriu1 has joined #ruby
neoice has joined #ruby
cout has joined #ruby
d4nku_ has joined #ruby
ccooke has joined #ruby
mhenrixon has joined #ruby
Cope has joined #ruby
okinomo_ has joined #ruby
aep has joined #ruby
wlanboy has joined #ruby
Numdox has joined #ruby
bmn has joined #ruby
dacamp has joined #ruby
n88 has joined #ruby
ClarusCogitatio has joined #ruby
crazysim has joined #ruby
perrier has quit [Read error: Connection reset by peer]
Platini has joined #ruby
moritzschaefer has quit [Quit: Verlassend]
moritzs has quit [Quit: Verlassend]
<Hanmac> banister: just saying you might update the code to use TypedData_Wrap_Struct ... that is a bit different ...
ndrei has quit [Ping timeout: 246 seconds]
<banister> Hanmac write a blog post on it to explain to a cutie like me
kaspergrubbe_ has joined #ruby
IceDragon has joined #ruby
ta has joined #ruby
<Hanmac> hm i might do it ... after i did understand it myself ;P
yfeldblum has quit [Ping timeout: 260 seconds]
<banister> Hanmac can you speak to me in german
skysploit has joined #ruby
skysploit has quit [Changing host]
skysploit has joined #ruby
bthesorceror has joined #ruby
fgo has joined #ruby
kriskrop1 is now known as kriskropd
tectonic has quit []
AlexRussia_ has joined #ruby
kriskropd has quit [Changing host]
kriskropd has joined #ruby
Scripore has joined #ruby
mclosson has joined #ruby
kristofferR has quit [Ping timeout: 260 seconds]
fgo has quit [Ping timeout: 246 seconds]
<wasamasa> nein
Takle has joined #ruby
kobain has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
kobain has quit [Max SendQ exceeded]
AtumT has joined #ruby
kobain has joined #ruby
hiyosi has quit [Ping timeout: 258 seconds]
HelperW____ has joined #ruby
mclosson has quit [Ping timeout: 260 seconds]
cirn0 has quit [Remote host closed the connection]
Zesty has joined #ruby
^42 is now known as Snowstormer
Snowstormer is now known as ^42
Zesty has quit [Client Quit]
yeticry has quit [Ping timeout: 250 seconds]
koderok has joined #ruby
koderok has quit [Remote host closed the connection]
arup_r1 has quit [Quit: Leaving.]
yeticry has joined #ruby
mclosson has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
larissa has joined #ruby
gsd has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
d2dchat has joined #ruby
HelperW____ has joined #ruby
d2dchat has quit [Remote host closed the connection]
buub has quit [Ping timeout: 272 seconds]
ddfreyne has quit [Quit: Changing server]
tectonic has joined #ruby
agjacome has joined #ruby
ner0x has joined #ruby
kireevco has quit [Quit: Leaving.]
zeroNones has joined #ruby
xcv has joined #ruby
claymore has joined #ruby
mclosson has quit [Ping timeout: 258 seconds]
tskogberg has quit [Ping timeout: 245 seconds]
tskogberg has joined #ruby
bruno- has joined #ruby
timonv_ has quit [Remote host closed the connection]
HelperW____ has quit [Ping timeout: 260 seconds]
bricker`LA has quit [Ping timeout: 245 seconds]
neersighted has quit [Remote host closed the connection]
dx7 has joined #ruby
benzrf is now known as benzrf|offline
bove has joined #ruby
petersaints has joined #ruby
dx7 has quit [Ping timeout: 260 seconds]
neersighted has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
hooper has quit [Quit: Leaving.]
Alina-malina has joined #ruby
benzrf|offline is now known as benzrf
krisquigley has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
Skyler has joined #ruby
mityaz has quit [Ping timeout: 260 seconds]
govg has quit [Remote host closed the connection]
angusiguess has joined #ruby
jay__ is now known as rubyonrailed
krisquigley has quit [Ping timeout: 258 seconds]
cirn0 has joined #ruby
angusiguess has quit [Ping timeout: 250 seconds]
tanath_ is now known as tanath
bbloom has quit [Ping timeout: 272 seconds]
bbloom has joined #ruby
earfin has joined #ruby
mclosson has joined #ruby
<crome> does anyone work either on a toshiba z30 or on a dell e7440?
Jackneill has quit [Quit: Leaving]
cirn0 has quit [Ping timeout: 272 seconds]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has quit [Read error: Connection reset by peer]
ta___ has joined #ruby
ringarin has joined #ruby
yfeldblum has joined #ruby
Cache_Money has joined #ruby
bluOxigen has joined #ruby
tarcwynne__ has joined #ruby
nicksanford has joined #ruby
patrick99e99 has joined #ruby
BBBThunda has quit [Read error: Connection reset by peer]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexRussia_ has quit []
mityaz has joined #ruby
AlexRussia_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
agjacome has quit [Quit: leaving]
agjacome has joined #ruby
AlexRussia_ has quit [Client Quit]
mclosson has quit [Ping timeout: 244 seconds]
patrick99e99 has quit [Ping timeout: 272 seconds]
SilkFox_ has joined #ruby
AlexRussia_ has joined #ruby
Rollabunna has joined #ruby
* wasamasa stares blankly at crome
AlexRussia_ is now known as AlexRussia
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
* crome pokes wasamasa with a stick
<wasamasa> proceed with your actual question
Cache_Money has joined #ruby
charliesome has quit [Quit: zzz]
zz_jrhorn424 is now known as jrhorn424
AlexRussia has quit [Client Quit]
<shevy> I work on a normal desktop machine
<shevy> next question
<shevy> I just woke up
Plastic_Chicken has joined #ruby
earfin has quit [Remote host closed the connection]
<shevy> solo_ well, if it is yaml, I usually store it into a dir called yaml
fgo has joined #ruby
AlexRussia has joined #ruby
neersighted has quit [Remote host closed the connection]
<solo_> yeah, it's not
<solo_> it's my own markup
<shevy> I wrote one class, Configuration, that reads in a directory of yaml files, and uses that to set its members like an OpenStruct object
<shevy> so I can then do: config.debug = true
<shevy> rather than keep an extra @debug variable
Plastic_Chicken has left #ruby [#ruby]
<crome> wasamasa: im just trying to figure out which one i should buy
<shevy> crome both
<crome> i dont need both ;<
kireevco has joined #ruby
zeroNones has joined #ruby
<wasamasa> crome: buy an used thinkpad
robustus has quit [Ping timeout: 250 seconds]
<crome> dont confuse me
starless has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
hiyosi has joined #ruby
bogeyd6 has quit [Read error: Connection reset by peer]
<solo_> wooho this worked
neersighted has joined #ruby
<shevy> solo_ yeah, strangely enough, I distribute the yaml/ directory in my lib/ subdirectory of a gem project
<shevy> a few days ago I found out that you can get the sitedir lib of ruby
<shevy> require 'rbconfig'; RbConfig::CONFIG['sitelibdir']
d0lph1n99 has joined #ruby
<shevy> I always used Pathname instead, but I hate pathname so much
* solo_ has only been doing for 2 days, not familiar with some of this jargon
<solo_> wait so what does that return?
<shevy> a string that holds the sitedir lib
Takle_ has quit [Read error: Connection reset by peer]
<shevy> on my system it returns exactly "/Programs/Ruby/2.1.3/lib/ruby/site_ruby/2.1.0"
Takle has joined #ruby
<shevy> oh interesting
<solo_> Oh, not familiar with what that is.
HelperW____ has joined #ruby
<shevy> that one should actually read "/Programs/Ruby/Current/lib/ruby/site_ruby/2.1.0" where Current simply denotes which version is in active use
<shevy> but obviously I am on ruby 2.1.3
mistergibson has joined #ruby
<shevy> on traditional /usr --prefix this should return: "/usr/lib/ruby/site_ruby/2.1.0"
<shevy> so if you have a gem called foobar
gvenkat has joined #ruby
<shevy> you should get a string called "/usr/lib/ruby/site_ruby/2.1.0/foobar"
robustus has joined #ruby
<shevy> or rather, you can build one
maestrojed has quit [Quit: Computer has gone to sleep.]
hiyosi has quit [Ping timeout: 258 seconds]
<solo_> so is that just returning the root of said gem?
AlexRussia has quit []
chipotle has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
chipotle has joined #ruby
HelperW____ has quit [Ping timeout: 240 seconds]
<shevy> well the sitedir path actually
HelperW____ has joined #ruby
<shevy> but that is like 99% of the time the main path under which a project will be installed to
<shevy> two files would be there
<shevy> first, well, the directory "file" of the project, so foobar/
<shevy> and also foobar.rb
tkuchiki has joined #ruby
<shevy> there also is a funny file called "ubygems.rb"
MaciejCzyzewski has joined #ruby
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
ner0x has quit [Ping timeout: 260 seconds]
codezomb has joined #ruby
angusiguess has joined #ruby
hooper has joined #ruby
aspires has joined #ruby
kireevco has quit [Quit: Leaving.]
<solo_> man ruby is *really* nice
<solo_> so little can do so much
HelperW____ has quit [Ping timeout: 260 seconds]
KLVTZ has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
InhalingPixels has joined #ruby
d0lph1n99 has left #ruby [#ruby]
jheg has joined #ruby
d0lph1n99 has joined #ruby
threesixes has joined #ruby
<d0lph1n99> anyone have tried exercism?
hilake has joined #ruby
<hilake> quick ruby question
tectonic has quit []
<hilake> I am having problems with the win32 installer
<hilake> for version 2.1.3
larissa has quit [Quit: Leaving]
rubyonrailed has quit [Remote host closed the connection]
d0lph1n99 has left #ruby [#ruby]
peregrine81 has joined #ruby
peregrine81 is now known as jeregrine
ner0x has joined #ruby
pen has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 258 seconds]
tessi_zz is now known as tessi
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pen has quit [Read error: Connection reset by peer]
asteros has joined #ruby
Phrogz_ is now known as Phrogz
<shevy> I don't use windows
<shevy> come to linux man
<hilake> fair enough
<hilake> I have some VMs
<Phrogz> hilake: What kind of problems?
<shevy> do older ruby versions work for you?
<hilake> the "I agree" button doesnt work
<hilake> Im trying the previous version new
<hilake> now
asteros has quit [Client Quit]
AlexRussia has quit []
alexherbo2 has joined #ruby
Takle has quit [Ping timeout: 246 seconds]
asteros has joined #ruby
<hilake> 2.0 has the same problem
AlexRussia has joined #ruby
centrx has joined #ruby
<Phrogz> hilake: Huh. I haven't had problems with any previous version on Windows, but I haven't installed 2.1.3 yet. I did install 2.0 with no such problem.
<hilake> I am on windows 7 64x
claymore has quit [Ping timeout: 244 seconds]
despai has quit [Quit: This computer has gone to sleep]
nicksanford has left #ruby ["WeeChat 1.0"]
skysploit has quit [Read error: Connection reset by peer]
claymore has joined #ruby
Darryl has quit [Quit: Connection closed for inactivity]
boombadaroomba has joined #ruby
zeroNone_ has joined #ruby
jonr22 has joined #ruby
yfeldblum has joined #ruby
jeregrine has quit []
melik has joined #ruby
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
melik has quit [Client Quit]
zeroNones has quit [Ping timeout: 272 seconds]
Nieralyte has joined #ruby
Pupeno has joined #ruby
boombadaroomba has quit [Ping timeout: 244 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
lewix has quit [Remote host closed the connection]
<hilake> linux time
tanath has quit [Remote host closed the connection]
seamon has joined #ruby
<benzrf> I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/LInux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
<benzrf> Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.
<benzrf> There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself;
<benzrf> it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.
tanath has joined #ruby
<centrx> thx
<hilake> GNU\Linux time
tectonic has joined #ruby
jrhorn424 is now known as zz_jrhorn424
<fennec> benzrf- Paste >3 lines of text as a gist please
<fennec> per /topic
kaspergrubbe_ has quit [Remote host closed the connection]
<eam> git may be GPL but github is not please don't encourage us to abandon our Freedoms
<eam> sorry GNU/GPL
MrBoolean has joined #ruby
<benzrf> ( ͡~ ͜ʖ ͡°)
* Nilium stares
<riceandbeans> you know what's easier than all that, just using BSD instead
<fennec> you're welcome to use another host naturally
<Nilium> Use the Boost license.
<centrx> Any OS not based on GNU/Haskell sucks
* Nilium throws centrx in the incinerator
<hilake> this is by far the nerdiest slap fight I have ever seen
<eam> I run GNU/Hurd to head off any confusion
<benzrf> eam: you mean just GNU
<riceandbeans> no you don't
<Nilium> centrx had an unrecoverable kernel failure, we're disposing of him
<benzrf> the /HURD is redundant
<riceandbeans> GNU/Hurd doesn't fully work
<riceandbeans> and it's only 32bit
<riceandbeans> development has been dead for years
<Nilium> LET'S TALK ABOUT BEOS.
<eam> look if it's GNU/Linux it's gotta be GNU/Hurd
kaspergrubbe_ has joined #ruby
<centrx> hurd is alive and well in Debian! sort of
<Nilium> Or I guess Haiku nowadays
<riceandbeans> Hurd is the kernel
<benzrf> sometimes i have these nightmares of Hurd finally being finished and the mainstream media reporting on 'The new computer system GNU, a new alternative to Linux'
<eam> I’d just like to interject for a moment. What you’re refering to as Hurd, is in fact, GNU/Hurd, or asI’ve recently taken to calling it, GNU plus Hurd.
MaciejCzyzewski has joined #ruby
<riceandbeans> Hurd stopped because Linux gained popularity
<Nilium> This is too much for me
<Nilium> Too much
<Nilium> You're all going in the incinerator
rkalfane has joined #ruby
ruukasu has joined #ruby
<riceandbeans> no, I'm referring specifically to the kernel and nothing but right now
<centrx> Colonel Who?
<ruukasu> riceandbeans: obviously not true
<eam> how many rubygems have been released under the Perl artistic license?
<centrx> >> Kernel
<eval-in_> centrx => Kernel (https://eval.in/199512)
<riceandbeans> the GNU team stopped developing Hurd because Linux became so widely adopted
rkalfane has quit [Client Quit]
<riceandbeans> most usage of the GNU userland was with the Linux kernel
<riceandbeans> there was no need for Hurd anymore
<centrx> no they are well on track for a 2025 release
<ruukasu> so I guess it's now "linux libc"?
<riceandbeans> Stallman made Hurd because there was no Linux kernel
<riceandbeans> he failed
<riceandbeans> the end
zz_jrhorn424 is now known as jrhorn424
<zorak8> map == collect ?
yfeldblum has joined #ruby
lw has quit [Quit: b]
<centrx> zorak8, yes
<zorak8> or have differences?
<centrx> identical
<centrx> except spelled differently
<eam> >> "GNU" + RUBY_PLATFORM.split('-').last
<eval-in_> eam => "GNUlinux" (https://eval.in/199513)
<eam> oops I forgot the /
<eam> do you think a patch will be accepted here?
ringarin has quit [Quit: Leaving]
<Nilium> I'm debating whether I should get a RubyMotion license even though I'm almost positive it's a dead end
<eam> or should I just monkeypatch my system
<zorak8> i have a code that works with collect but not with map
<riceandbeans> you should monkeypatch, because no one wants your crap
<riceandbeans> but you
<eam> :(
<riceandbeans> the rest of us will be using BSD
<Nilium> iOS got Swift, Android's a shitshow, and RubyMotion's going to die for it, but I feel compelled to get RubyMotion because Ruby. ಠ_ಠ
<riceandbeans> the only way to get ruby on a droid is jruby
ARCADIVS has quit [Quit: WeeChat 0.4.3]
<riceandbeans> which is inherently evil because java
<Nilium> I care less about Ruby specifically and more about the syntax and semantics
<Nilium> Gems don't matter all that much because Ruby is NIH syndrome hell
Phrogz has quit []
<Nilium> Not as bad as node.js at least
<riceandbeans> NIH?
<Nilium> Or web dev in general.
<Nilium> Not-invented-here
<riceandbeans> don't get it
<Nilium> People tend toward rebuilding their wheels because they want a wheel that does a specific thing
<riceandbeans> you're saying ruby core doesn't have anything useful?
<ruukasu> <eam> look if it's GNU/Linux it's gotta be GNU/Hurd
odlox has joined #ruby
<riceandbeans> or people never use other people's gems and basically write their own libs
<Nilium> The latter.
relix has joined #ruby
fgo has joined #ruby
<riceandbeans> righ
<ruukasu> eam: I'll go tell the FreeBSD folks that they've got it all wrong and tell them to register FreeBSD/kFreeBSD at once
<Nilium> The core —not counting the stdlib — is fine.
<Nilium> The stdlib is worse off because it's a maze of crap that people just shoved in there and failed to maintain.
<eam> ruukasu: BSD/FreeBSD
seamon has quit [Quit: Bye]
<riceandbeans> eam: that's not accurate
<eam> it is now that clang is a thing
<ruukasu> eam: FreeBSD has its own self-titled userland
seamon has joined #ruby
<riceandbeans> eam: you do realize that the different BSDs have diffenent userlands, right?
<solo_> Is there some kind of static analyzer that can parse my code and tell me what the lowest ruby version I can support is?
<centrx> zorak8, map and collect are identical for objects of type Array and Enumerable, maybe the arguments being passed there are of a different type
<ruukasu> userland is FreeBSD, kernel is kFreeBSD, combination is FreeBSD
<eam> riceandbeans: I know nothing; this is fascinating, please explain
<Nilium> solo_: No, you should just pick one.
<benzrf> >mfw ruukasu jumps into my flame wars
<Nilium> Static analysis wouldn't really tell you enough to figure out, say, behavioral differences in methods and operators
<eam> ruukasu: but before clang it would be GNU/BSD/kFreeBSD by your logic?
<Nilium> Like how Ruby 1.8 or whatever's String#[] would return integers while 1.9 onward return strings.
<ruukasu> top gec
<Nilium> You only really get that by running the code and seeing, oh, my code's broken
seamon has quit [Client Quit]
<solo_> Agreed, but you got what I was after. Hmm. Is there a general one people try to support?
<Nilium> In most cases you can just support 1.9 as a minimum.
<solo_> ^
<solo_> thanks
seamon has joined #ruby
<shevy> solo_ I usually go for the latest ruby
skammer1 has joined #ruby
<solo_> hah
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Nilium> The difference between 1.9 and 2.0 is clearer and you'll ideally know when you're breaking compatibility if you make sure to read the changes between 1.9 and 2.x
<shevy> I just can not be bothered mentally to have to write different code - 1.8. and 2.x era do not have the same valid syntax
<Nilium> I just support 2.0 as a minimum even though most of my gems are probably 1.9-compatible.
Wolland has joined #ruby
<Nilium> 'Cause I really don't give a shit if you're too lazy to update.
<solo_> Good motto.
<shevy> just upgrade!
bthesorceror has quit [Quit: bthesorceror]
<eam> I only support 1.8 because it changed too much since then
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.bz2
axsuul has quit [Quit: Textual IRC Client: www.textualapp.com]
<Nilium> You're a terrible person.
<shevy> 1.8 was cool
<shevy> damn encoding issues past that era
<Nilium> Also, despite what people say, building Ruby from source is not hard.
MaciejCzyzewski has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
<eam> riceandbeans' name is making me hungry, I think I'm going to slow cook some beans
<Nilium> I hope you choke on them for your Ruby 1.8 ways. ಠ_ಠ
<shevy> eam there is another guy here like that
<shevy> mozzarella
hiyosi has joined #ruby
seamon has quit [Client Quit]
<eam> stop it
<shevy> I always want italian cuisine when he writes something
<MaciejCzyzewski> mozzarella?
<solo_> Is there an automated test suite to run against different version of ruby? Or do i have to roll my own?
seamon has joined #ruby
<Nilium> On the Ars Technica IRC we've got DrPizza/Burrito
<eam> the thing about the beans is if I start soaking them now they won't be edible until tomorrow afternoon
<shevy> solo_ I think you are the first man alive to want to try to have test suites cater towards different versions
<mozzarella> wut
<MaciejCzyzewski> I prefer pancakes ^^
<solo_> Well, I want to take care of my users lol
<shevy> don't make me hungry
<Nilium> I want waffles
<eam> belgian waffles?
<shevy> solo_ let them complain about bugs
<Nilium> Just straight waffles with syrup.
SilkFox_ has quit [Ping timeout: 260 seconds]
<MaciejCzyzewski> waffles with jam_
<Nilium> Syrup and butter, anyway.
<Nilium> Nothing fancy.
<riceandbeans> soak them in hot water
<solo_> meh..I guess.
julian-delphiki has quit [Ping timeout: 272 seconds]
<shevy> the syntax differences are not huge and it boils down to 99% of how you write your ruby code
<eam> riceandbeans: that goes against everything I know
<shevy> for instance, I always use: string[3,1] rather than string[3]
<riceandbeans> am I the only ruby guy here who also really likes perl and hates python and php?
seamon has quit [Client Quit]
bdnelson has quit [Quit: Computer has gone to sleep.]
<Nilium> I hate Python and PHP.
HelperW____ has joined #ruby
<eam> riceandbeans: nope
<shevy> solo_ you can get the ruby version from the constant RUBY_VERSION, and use that in any test code if you really must
<riceandbeans> eam: I've never tried it but it sounds like it could work
<Nilium> I don't really care for Perl but I haven't used it in over 10 years.
seamon has joined #ruby
bdnelson has joined #ruby
<eam> hot water might lead to bacteria issues after a 24h soak
<MaciejCzyzewski> I love python and ruby?
<MaciejCzyzewski> It's wrong?
<riceandbeans> MaciejCzyzewski: yes, very
<eam> the thing I like most about ruby is how similar it is to perl
<hilake> so im new here
<Nilium> Incidentally, my work has me using PHP and node.js even though these exist nowhere on my resume and I'm learning them as I go.
i8igmac has quit [Read error: Connection reset by peer]
<shevy> riceandbeans I like php more than perl. python I have no real preference, but I feel that its philosophy is broken - to carry explicit self feels like taint. also whitespace-significant without it being OPTIONAL, sucks
seamon has quit [Client Quit]
<eam> shevy: o m g
<Nilium> I'm ostensibly an iOS developer but I ended up being backend/frontend/UI O_o
<hilake> would anybody like to explain the function of gnu vs linux?
<eam> shevy: have you even read php.txt
<shevy> I don't read docu
<shevy> I just write
i8igmac has joined #ruby
seamon has joined #ruby
<Nilium> PHP documentation's actually really good, if you ignore that the language is a disaster
<solo_> shevy: Yeah, oh well. I'll just say 1.9 and let them file bugs in beta.
<shevy> I can't read that, I abandoned php 10 years ago
<solo_> Nilium: you're an iOS dev as well?
<Nilium> It's the most bizarre thing I've ever encountered. The language is godawful but PHP's documentation is amazing.
<eam> Nilium: not as good as perl's though
<shevy> compared to ruby's documentation everything is better
<Nilium> solo_: Ostensibly. I haven't done iOS stuff in years but I was hired for it.
bdnelson has quit [Read error: Connection reset by peer]
hiyosi has quit [Ping timeout: 240 seconds]
<Nilium> I haven't actually touched a single line of Obj-C (or Swift) since I started though.
<Nilium> For work, anyway.
<riceandbeans> perl does have damn good docs
<riceandbeans> ruby docs are good, except for gems
<Nilium> Yeah.
<riceandbeans> ymmv with gems
<Nilium> Gems are hit or miss and usually miss.
seamon has quit [Client Quit]
<Nilium> Even my own aren't where I want them to be on docs.
<riceandbeans> but gems are a lot easier to deal with than cpan
<Nilium> I'm just happy that I got the gui gem.
<riceandbeans> gui gem?
<MaciejCzyzewski> gui gem???
dx7 has joined #ruby
seamon has joined #ruby
<eam> cpan is WAY easier to deal with than gem, are you nuts?
<Nilium> All mine.
bthesorceror has joined #ruby
<Nilium> One day I'll get back to writing it.
<shevy> what can cpan do better?
<Nilium> Right now it's just a mess of event handling code and whatnot.
bdnelson has joined #ruby
seamon has quit [Client Quit]
<shevy> is that the one GUI that binds them all?
<shevy> can I write Button.new and it will be handled properly in all gui toolkits
<riceandbeans> yes
<Nilium> No, it's a gem that provides windowing and otherwise renders a GUI in OpenGL.
<Nilium> So you can write button.new but you'll get the same thing on all platforms because it's non-native
seamon has joined #ruby
<Nilium> The only native part will probably be context menus
<riceandbeans> eam: gem install foo is usually fewer steps, faster, and easier to do than cpan install foo
HelperW____ has quit [Ping timeout: 260 seconds]
<riceandbeans> cpan builds everything usually and can on some things, take most of a day to build modules
kenneth has joined #ruby
<eam> gem builds too
HelperW____ has joined #ruby
<Nilium> Locally.
<riceandbeans> I built out an IDS in perl, and a couple modules I used took >8 hours to build
<eam> mkmf is essentially the same between ruby/perl
<eam> even has the same name
<MaciejCzyzewski> Hey guys. It's ruby channel. Not perl...
seamon has quit [Client Quit]
<eam> the major difference I see between cpan and gem is that gem has this crazy layer on top that messes everything up
<eam> but in terms of deployment mechanics they are essentially identical
<riceandbeans> it automates everything for you
goodenough has quit [Remote host closed the connection]
<eam> both do
seamon has joined #ruby
<riceandbeans> gem automates way more
<riceandbeans> and manages versions
<eam> name one thing?
<eam> right that's the crap on top I don't want :)
<riceandbeans> you don't have to hit y every 2 minutes
<Nilium> eam is more backwards than I am.
<Nilium> And I'm opposed to package managers.
<riceandbeans> updating perl modules is way more effort
<Nilium> It's insane.
<eam> Nilium: I've written package managers
dx7 has quit [Ping timeout: 260 seconds]
<Nilium> Shut up, you use Ruby 1.8.
<riceandbeans> why would you be opposed to package managers?
<Nilium> Grew up on Slackware. Used to building stuff from source.
<eam> weirdo
<Nilium> I believe even Slackware now has a sort of package manager.
<solo_> Never seen such an active channel..didn't know you rubyist were this active ;p
<Nilium> I know at one point there was slapt-get.
<riceandbeans> slack-pkg
<Nilium> Now I use Mac OS because I'm lazy.
<Nilium> Also because it's the closest compromise I could get between software I wanted and BSD.
<riceandbeans> you use OS X because you've given up on life
ndrei has quit [Ping timeout: 246 seconds]
<Nilium> More because I gave up on Linux as a desktop and because Windows pissed me off.
<Nilium> Still waiting for Adobe to decide to port Photoshop to Linux before I could really plan on jumping ship again.
<riceandbeans> GIMP
<riceandbeans> anyway
<Nilium> Pre-emptive: Gimp sucks, I won't hear it.
<riceandbeans> use BSD
<eam> GNU/GIMP
<riceandbeans> oh shut your GNU/Face
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Nilium> Gimp is not comparable to Photoshop.
HelperW____ has quit [Ping timeout: 260 seconds]
<Nilium> That's just how it is. Deal.
<riceandbeans> It is comparable, it's behind, but definitely comparable
<Nilium> I say comparable in the sense that they can't be considered equals.
<Nilium> You can certainly compare them, but Gimp's worse.
<riceandbeans> Frankly, Photoshop isn't worth the thousands it costs
<Nilium> You mean $100.
krisquigley has joined #ruby
<Nilium> It's gone down in price a lot.
<riceandbeans> per month
<Nilium> Costs me $10 a month.
<Nilium> Overall, the cost is low enough that I consider it worthwhile still.
<riceandbeans> unless ALL you do is graphic design and that's where all your money comes from and you need things in it that are not in GIMP at all, I really don't think it's worth it
<Nilium> I paint in Photoshop.
<riceandbeans> I paint in tuxpaint
<riceandbeans> wait what?
<riceandbeans> you paint in Photoshop?
<Nilium> Yes.
<riceandbeans> like with a tablet or something?
<Nilium> Yes.
<riceandbeans> the hell?
<Wolland> have you tried scetchbook pro?
<Nilium> I started out doing art for games and ended up programming.
rkalfane has joined #ruby
aspires has quit []
<riceandbeans> what happened to paper and pencils
<Nilium> I have, but I've been using Photoshop for long enough that I'm dependent on specific UI features it has even though Adobe is hellbent on making each update break something.
<riceandbeans> notepads and butcher blocks
<Nilium> You don't use paper and pencils to make textures for game assets.
<Wolland> riceandbeans: it's actually much cheaper to paint this way
<Wolland> plus you don't have to digitize it after
binw has quit [Remote host closed the connection]
binw has joined #ruby
chihhsin has quit [Remote host closed the connection]
<Nilium> I guess you could and scan them in, guy at id Software did that for a few things, but overall Photoshop's the way to go.
rubyonrailed has joined #ruby
benzrf is now known as benzrf|offline
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<riceandbeans> Nilium: so if I made a game, you'd be down for artwork?
<Nilium> Layer compositing, history, brush configurations, etc. are all important, and somehow Photoshop does them right while Gimp gets them horrifyingly wrong (i.e., not the way Photoshop does it).
MaciejCzyzewski has joined #ruby
<Nilium> Moonlighting's not allowed by my employer and I don't do game art stuff much anymore.
<Nilium> Plus you'd have to pay me.
douglasssssss has joined #ruby
<wasamasa> moonlighting?
douglasssssss has quit [Max SendQ exceeded]
<Nilium> Otherwise I'd rather spend time on my own projects.
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nilium> wasamasa: Google.
<Nilium> Or a dictionary. Either.
Scotteh has quit [Read error: Connection reset by peer]
<shevy> Gimp was written by a Pimp
<Nilium> Or a sadist. Not sure.
<shevy> I used to be able to just do save image... now I have to export it, or overwrite
<riceandbeans> moonlighting is basically working another job on top of a full time
benzrf|offline is now known as benzrf
jrhorn424 is now known as zz_jrhorn424
Crabby has joined #ruby
Paul_McFreely has joined #ruby
<shevy> oh
<Nilium> It's bad enough that my NDA/contract tries to claim all past and future work as my employer's
<shevy> a slave worker
<riceandbeans> Nilium: what does a graphic designer go for these days
<shevy> weed
<Nilium> Don't know. I'm not a graphic designer.
<riceandbeans> whatever you call yourself dude
<hilake> ha
<Nilium> I could ask the one that sits behind me at work.
<Nilium> I made game art, didn't say it was a job.
<riceandbeans> shevy: no, it's a choice
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<Nilium> I originally intended it to be a job but, again, ended up as a programmer.
chihhsin has joined #ruby
<shevy> is that dude staring at your back
<shevy> that would make me so nervous
emmesswhy has quit [Quit: This computer has gone to sleep]
<Nilium> No.
manacit has quit [Ping timeout: 255 seconds]
<Nilium> At any rate, I'm the side-effect of needing a programmer and not being able to trick one into doing stuff for me for free.
Inhaling_ has joined #ruby
<riceandbeans> shevy: at one point I was in the military, got up at 5 to go to work, got off around 6, went to work at a pizza place, worked till closing around 1, went to sleep, rinse lather repeat
<Nilium> So now I'm a programmer who doesn't have programmer art.
<riceandbeans> shevy: that's moonlighting, I wanted to make more money
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Stalkr_ has joined #ruby
<riceandbeans> I'll program for you if you art for me :P
<Nilium> Moonlighting is how most people make a living on minimum wage
<Nilium> You just don't get by otherwise.
modernbob has quit [Ping timeout: 255 seconds]
<shevy> riceandbeans man that's so insane
<Nilium> I need to get lunch
<shevy> did you at least get rich in the process?
<Nilium> Also need to download the new IntelliJ preview.
yeticry has quit [Ping timeout: 250 seconds]
asteros has quit [Quit: asteros]
<riceandbeans> shevy: no, I actually lost money, no one tipped, and cost of gas was too high, so I ended up paying the pizza place to work for them and lost all my free time, so I quit
<Nilium> People who don't tip need a swift kick in the nuts.
<Nilium> Or ovaries.
<Nilium> Not sure which would hurt more.
<shevy> difficult to test
yeticry has joined #ruby
<shevy> you'd need probands to have the same amount of pain reception too
<Nilium> I'm sure you could find volunteers on a university campus if you offered $20.
hilake has quit [Ping timeout: 246 seconds]
InhalingPixels has quit [Ping timeout: 272 seconds]
hiyosi has joined #ruby
<shevy> you watched too much of jackass
<Nilium> I've seen too many students donate plasma in exchange for money and lie about when they've donated to get more moeny
<Nilium> *money
ner0x has quit [Read error: Connection reset by peer]
<Nilium> Students will do some weird stuff for money
duncannz has joined #ruby
<riceandbeans> :(
einarj has joined #ruby
Scotteh has joined #ruby
ramfjord has joined #ruby
Rhainur1 has joined #ruby
helpa has quit [Write error: Broken pipe]
MaciejCzyzewski has joined #ruby
iinzg has joined #ruby
felixjet_ has joined #ruby
zeroNone_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skaflem has quit [Quit: Leaving]
_lucid_ has joined #ruby
patronus has joined #ruby
helpa has joined #ruby
<_lucid_> Is celluloid not able to process more then 1000 actions at once?
gnarld_ has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
danshultz_ has joined #ruby
therue has quit []
odlox_ has joined #ruby
<_lucid_> Does anyone here know about celluloid and concurrency?
moshee has joined #ruby
Dreamer3__ has joined #ruby
lukevinc has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
naw_ has joined #ruby
Rhainur has quit [Ping timeout: 272 seconds]
asteros has joined #ruby
<duncannz> to add a method to an integer, should the class be "Integer", "Fixnum" or "Integer < Fixnum"? all seem to work
Wolland_ has joined #ruby
Hobogrammer_ has joined #ruby
suffice_ has joined #ruby
xorax has joined #ruby
Sp4rKy__ has joined #ruby
lsone_ has joined #ruby
danshultz has quit [Ping timeout: 260 seconds]
Dreamer3 has quit [Ping timeout: 260 seconds]
nug has quit [Ping timeout: 260 seconds]
pipework has quit [Ping timeout: 260 seconds]
sirecote has quit [Ping timeout: 260 seconds]
Caius has quit [Ping timeout: 260 seconds]
sn0wb1rd has quit [Ping timeout: 260 seconds]
odlox has quit [Read error: Connection reset by peer]
mosheee has quit [Ping timeout: 260 seconds]
gnarld_ is now known as nug
hfp has quit [Ping timeout: 260 seconds]
thomasfedb has quit [Ping timeout: 260 seconds]
sheepman has quit [Ping timeout: 260 seconds]
startupality has quit [Ping timeout: 260 seconds]
xorax_ has quit [Ping timeout: 260 seconds]
soulcake has quit [Ping timeout: 260 seconds]
SirCmpwn has quit [Ping timeout: 260 seconds]
jonr22 has quit [Ping timeout: 260 seconds]
Sp4rKy has quit [Ping timeout: 260 seconds]
phoo1234567 has quit [Ping timeout: 260 seconds]
patronus_ has quit [Ping timeout: 260 seconds]
iinzng has quit [Ping timeout: 260 seconds]
_maes_ has quit [Ping timeout: 260 seconds]
Meeh has quit [Ping timeout: 260 seconds]
dvabr has quit [Ping timeout: 260 seconds]
edwardly has quit [Ping timeout: 260 seconds]
lsone has quit [Ping timeout: 260 seconds]
suffice has quit [Ping timeout: 260 seconds]
mbwe has quit [Ping timeout: 260 seconds]
bdnelson has quit [Ping timeout: 260 seconds]
shevy has quit [Ping timeout: 260 seconds]
drawingthesun has quit [Ping timeout: 260 seconds]
__main__ has quit [Ping timeout: 260 seconds]
felixjet has quit [Ping timeout: 260 seconds]
Mekkis has quit [Ping timeout: 260 seconds]
soulcake has joined #ruby
magic has quit [Ping timeout: 260 seconds]
tiguser has quit [Ping timeout: 260 seconds]
Caius has joined #ruby
kke_ has quit [Ping timeout: 260 seconds]
sn0wb1rd has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
Deele has quit [Ping timeout: 260 seconds]
naw__ has quit [Ping timeout: 260 seconds]
rikai has quit [Read error: Connection reset by peer]
danshultz_ is now known as danshultz
soulcake has quit [Changing host]
soulcake has joined #ruby
kke has joined #ruby
<Nilium> duncannz: What kind of integer?
Caius has quit [Changing host]
Caius has joined #ruby
hfp_ has joined #ruby
jonr22 has joined #ruby
zeroNones has joined #ruby
<duncannz> Nilium: um.. just 26.my_custom_method
tiguser has joined #ruby
<Nilium> What kind of integer though?
drawingthesun has joined #ruby
dvabr has joined #ruby
hfp_ is now known as hfp
<duncannz> I don't know
mbwe has joined #ruby
phoo1234567 has joined #ruby
Paul_McFreely_ has joined #ruby
entrenador has joined #ruby
Meeh has joined #ruby
magic has joined #ruby
SirCmpwn has joined #ruby
lewix has joined #ruby
sirecote has joined #ruby
<Nilium> A fixnum is a native int, a bignum is what it sounds like, and an integer is a general superclass.
rikai has joined #ruby
edwardly has joined #ruby
magic is now known as Guest57710
thomasfedb has joined #ruby
__main__ has joined #ruby
kith_ has joined #ruby
Mekkis has joined #ruby
virtualize has joined #ruby
<duncannz> ok so if I just do class Integer // def my_custom_method // end // end then it should be fine?
<Nilium> Probably.
Hobogrammer has quit [Ping timeout: 260 seconds]
GodAlmightyHimse has joined #ruby
sheepman has joined #ruby
<Nilium> I remember there being some odd things about extending integers..
AlexRussia has quit [Ping timeout: 264 seconds]
<Nilium> I think it was that you couldn't extend specific integers
jaredrhine_ has joined #ruby
camilasann has joined #ruby
Killerkeksdose_ has joined #ruby
asteros_ has joined #ruby
<lukevinc> hello again, my friends, can you help me debug sqlite3 for ruby? it doesn't run, i installed the gem of sqlite3.
Akagi201_ has joined #ruby
<lukevinc> I tried to execute this, but says doesn't exists: sudo apt-get install libsqlite3-ruby
mroth_ has joined #ruby
lewix has quit [Remote host closed the connection]
ahuman_ has joined #ruby
tarcwynne___ has joined #ruby
krisquigley has quit [Remote host closed the connection]
ceej_ has joined #ruby
phreax_ has joined #ruby
ozzloy_ has joined #ruby
caveat- has quit [Disconnected by services]
totimkop1 has joined #ruby
dazeddev has joined #ruby
jxport_ has joined #ruby
alex-i_ has joined #ruby
Inhaling_ has quit [Remote host closed the connection]
shaman42_ has joined #ruby
pibby_ has joined #ruby
maloik has joined #ruby
riceandb1ans has joined #ruby
krisquigley has joined #ruby
drizz_ has joined #ruby
Skyler_ has joined #ruby
m_3_ has joined #ruby
queequeg2 has joined #ruby
Deele has joined #ruby
caveat- has joined #ruby
riceandbeans has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
shaman42 has quit [Write error: Connection reset by peer]
pumpkintits has quit [Write error: Connection reset by peer]
phreax has quit [Write error: Connection reset by peer]
alex-i has quit [Write error: Broken pipe]
Skyler has quit [Write error: Connection reset by peer]
totimkopf has quit [Write error: Connection reset by peer]
wwalker has quit [Write error: Connection reset by peer]
maloik_ has quit [Write error: Broken pipe]
queequeg1 has quit [Write error: Connection reset by peer]
ahuman has quit [Write error: Connection reset by peer]
dazeddev_ has quit [Write error: Broken pipe]
pibby has quit [Write error: Connection reset by peer]
jxport has quit [Write error: Connection reset by peer]
Akagi201 has quit [Write error: Connection reset by peer]
m_3 has quit [Write error: Connection reset by peer]
ozzloy has quit [Write error: Broken pipe]
tarcwynne__ has quit [Read error: Connection reset by peer]
jaredrhine has quit [Read error: Connection reset by peer]
chirfi has quit [Read error: Connection reset by peer]
Gate has quit [Read error: Connection reset by peer]
drizz has quit [Read error: Connection reset by peer]
drizz_ is now known as drizz
<Nilium> lukevinc: I have no idea what you're trying to accomplish.
lolmaus__ has joined #ruby
wwalker has joined #ruby
chirfi has joined #ruby
Gate has joined #ruby
Gate has quit [Changing host]
Gate has joined #ruby
bluehavana_ has joined #ruby
tarcwynne___ is now known as tarcwynne__
<lukevinc> Nilium: i want to use the sqlite3 in ruby.
<Nilium> So install the sqlite3 gem.
<lukevinc> /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- sqlite3 (LoadError)
asteros_ has quit [Ping timeout: 250 seconds]
<Nilium> How did you install the gem?
ahuman_ is now known as ahuman
<lukevinc> sudo gem install sqlite3
wald0 has quit [Quit: Lost terminal]
<Nilium> Did it say it succeeded?
Paul_McFreely has quit [Ping timeout: 268 seconds]
bluehavana has quit [Ping timeout: 268 seconds]
mroth has quit [Ping timeout: 268 seconds]
lolmaus_ has quit [Ping timeout: 268 seconds]
ceej has quit [Ping timeout: 268 seconds]
Hanmac has quit [Ping timeout: 268 seconds]
proxie has quit [Ping timeout: 268 seconds]
bluehavana_ is now known as bluehavana
mroth_ is now known as mroth
ceej_ is now known as ceej
Hanmac has joined #ruby
AlexRussia has joined #ruby
<lukevinc> hmmm, not sure, i thought i read 1 gem installed.
freerobby has joined #ruby
krisquigley has quit [Ping timeout: 260 seconds]
<lukevinc> hell, it works
<Nilium> I'm pretty sure you're just hallucinating things.
<Nilium> Common issue.
<lukevinc> i remember i read 1 gem installed early morning. i have witness here.
asteros has quit [Ping timeout: 272 seconds]
xvqq17 has quit [Ping timeout: 272 seconds]
Vile` has quit [Ping timeout: 272 seconds]
kith has quit [Ping timeout: 272 seconds]
camilasan has quit [Ping timeout: 272 seconds]
Killerkeksdose has quit [Ping timeout: 272 seconds]
jcdesimp has joined #ruby
<lukevinc> see the log.
InhalingPixels has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
<riceandb1ans> ugh, I need menudo
xvqq17 has joined #ruby
claymore has quit [Quit: Leaving]
freerobby has quit [Client Quit]
shevy has joined #ruby
tanath_ has joined #ruby
Hyknua has quit [Ping timeout: 272 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lukevinc> thanks Nilium
AlexRussia has quit [Excess Flood]
Vile` has joined #ruby
AlexRussia has joined #ruby
fgo has joined #ruby
<lukevinc> now i will use the protocol, if something doesn't work at first time, try once.
InhalingPixels has joined #ruby
tanath has quit [Ping timeout: 264 seconds]
<shevy> optparse.rb:238:in `===': incompatible encoding regexp match (ISO-8859-1 regexp with ASCII-8BIT string) (Encoding::CompatibilityError)
<shevy> DIE
<lukevinc> show code?
seamon has quit [Quit: Zzzzzzz]
Wolland_ has quit [Remote host closed the connection]
<shevy> option_parser.on('--height N','--höhe N'
<lukevinc> let me search it
<shevy> the file is saved as ISO-8859-1, there is no way to change that
<lukevinc> can't you change to utf-8?
Soda has quit [Remote host closed the connection]
<shevy> aha
<shevy> ARGV seems to be #<Encoding:ISO-8859-1>
<Mia> I don't get the sort in ruby
totimkop1 is now known as totimkopf
gvenkat has quit [Quit: This computer has gone to sleep]
totimkopf has quit [Changing host]
totimkopf has joined #ruby
<shevy> lukevinc nope - the original file encoding has to remain as it is
<Mia> what's the <=> business
<shevy> Mia I think it is smaller vs. larger
tylersmith has quit [Remote host closed the connection]
<Mia> shevy, yes but, I mean, I don't get the construct
<Nilium> Comparison operator. Returns if something's greater, smaller, or equal.
fgo has quit [Ping timeout: 250 seconds]
<totimkopf> how do I access an instance variable of a Class Object?
<Mia> why am I comparing the only two then
lewix has joined #ruby
<shevy> totimkopf through an accessor method
jonr22 has quit [Quit: WeeChat 0.4.3]
<Nilium> Comparing what two?
<totimkopf> shevy: is that the only way?
<shevy> totimkopf inside the class you can simply use @name
<Mia> like array.sort! { |a,b| a<=>b }
<shevy> there is also .instance_variables method to obtain all of them
<Mia> that's what I don't get ^
<shevy> read the header Mia
yaymukund has joined #ruby
HelperW____ has joined #ruby
<yaymukund> what are some fun ruby libraries for teaching kids ruby? I am currently teaching kids ruby. something like https://github.com/zz85/sparks.js/ maybe?
<Mia> shevy, hm
<totimkopf> shevy: thanks :)
<Mia> I still don't get it :/
<yaymukund> what are some fun ruby libraries for teaching kids ruby? I am currently teaching kids ruby. something like https://github.com/zz85/sparks.js/ maybe?
<Mia> I mean - why am I comparing the only two
oleo has quit [Ping timeout: 272 seconds]
<shevy> Mia well you return -1,0,+1
<shevy> no, you pass a block there
odlox_ has quit []
<shevy> it's like when you use .map {}
<Mia> hm then I didn't get the concept of passing a block
<totimkopf> the whole busienss of *everything* being an object in ruby is a bit confusing to me :)
<shevy> do you understand .map
oleo has joined #ruby
<Mia> shevy, just started like yesterday
<shevy> totimkopf that just means that you use .methods
<Mia> not at .map so far
<shevy> ok jump to .map
<yaymukund> I'm also using `colorize`
<Mia> so I don't know what .map is, yet
<shevy> you must understand .map Mia
<wasamasa> yaymukund: I like that book: https://pine.fm/LearnToProgram
<totimkopf> shevy: yeah, I made a self.method in my class and was able to access the top-level instance variable :)
<wasamasa> yaymukund: features a bunch of easy examples that are a lot less dry than usual
<shevy> totimkopf yeah but for most code, in the class you simply invoke methods to set the @ivar
mikeg has joined #ruby
<yaymukund> wasamasa: no no I'm literally with a group of 6 right now. they finished their exercises a bit early an are bright enough to take on more
<Mia> hm so when I basically do |a| kind of things, is it a block
<totimkopf> shevy: okay, noted. I am just poking at ruby, trying to grok it :)
<yaymukund> well s/bright/fast/, but also bright!
<shevy> that is just a name Mia
<shevy> the {} to a method will denote a block
<shevy> well
<shevy> "do/end" can also be used
<shevy> so your sentence is correct if you also include the "end"
jonr22 has joined #ruby
<shevy> lukevinc can I tell optionparser to treat regex-matches against a different string encoding?
<shevy> "(ISO-8859-1 regexp with ASCII-8BIT string)" I can change either of those two at runtime
<Mia> shevy, ok I get it, what I don't get is - why am I comparing the only two like |a,b|
<Mia> I mean how does it help for sorting at all
<totimkopf> Mia: it compares two items at once
<totimkopf> at a time*
HelperW____ has quit [Ping timeout: 260 seconds]
<lukevinc> i will read documentation, wait a min, sweetz
<Mia> so could I do the same with, .each for instance
<Mon_Ouie> It's just that the #sort method needs to know how to compare two elements, and it can use the block you pass it for that
<Mia> Mon_Ouie, oh so it's about sort itself
HelperW____ has joined #ruby
<Mia> rather than a generic logic
<Mon_Ouie> Do you mean "blocks aren't about sorting per-se"? If so, indeed, they're not.
<shevy> Mia the block is pertaining to the method there
tkuchiki has joined #ruby
<shevy> .sort { 'hey' }
<shevy> .blub { 'ho' }
Hyknua has joined #ruby
<Mia> no I mean, can you give me another example of the same situation without .sort
<shevy> you can sort by manually keeping track of the positions in an array, and shift the values left and right depending on how you compare them
<Mon_Ouie> What situation exactly?
<Mia> what does sort do "hey" end --- do in that case?
<Mon_Ouie> >> [1, 2, 3].map { |x| x + 1 }
<eval-in_> Mon_Ouie => [2, 3, 4] (https://eval.in/199514)
<shevy> if lower, shift left, if higher shift right (in a hand of cards)
Rollabunna has quit [Remote host closed the connection]
<shevy> Mia that just passes a string, that in itself does nothing, it depends on the .sort method how and if it makes use of a block
<lukevinc> shevy: you can use a set of encodings, not only one, have a look: http://ruby-doc.org/stdlib-2.1.0/libdoc/optparse/rdoc/OptionParser.html
<shevy> with the keyword "yield" you access the block content
<shevy> lukevinc aha
<Mon_Ouie> >> [1, 2, 3].sort { "hey" }
<eval-in_> Mon_Ouie => comparison of String with 0 failed (ArgumentError) ... (https://eval.in/199515)
<lukevinc> shevy: go to complete example
<Mon_Ouie> It does that because it expected your block to return an integer, but it returned a string
sdwrage_ has quit [Quit: This computer has gone to sleep]
sdwrage has quit [Quit: This computer has gone to sleep]
<totimkopf> shevy: how would I make attr_accessor make accessor methods that would read/write the class object's instance variable?
HelperW____ has quit [Ping timeout: 260 seconds]
<Mia> Mon_Ouie, so I need to understand what |x| really does
<Mia> and how it's used
<Mia> becaose sometimes it's just |x| but sometimes its more
sdwrage_ has joined #ruby
<Mia> |x,y|
sdwrage has joined #ruby
<lukevinc> you can use _ if you don't use the variable
<Mon_Ouie> |x| does nothing by tiself
<lukevinc> for example
<lukevinc> you want to access the third argument
<lukevinc> |_, _, z|
<Mon_Ouie> You have to look at the whole thing, some_method { |x, y| … }
tkuchiki has quit [Ping timeout: 250 seconds]
<Mon_Ouie> Which will call the method "some_method" with a block that takes two arguments
tectonic has quit []
<shevy> totimkopf I don't understand the question. you just described how they work, in your question
<_lucid_> What is the proper way to count items in an array?
<Mon_Ouie> The block is a piece of code that the method can run with different parameters
<Mia> lukevinc, yes I get it; the thing I don't get is --- why would comparing the only two does the whole sorting
<_lucid_> My code keeps just returning 1
<shevy> _lucid_ apply .size on it
<_lucid_> I did
<_lucid_> No matter what it returns 1
<Mia> I mean, as far as I understand when I write .sort! its already sorted, right?
<shevy> then your array has 1 element
<lukevinc> whole sort?
<_lucid_> No
<_lucid_> It doesn't
<shevy> yes it has
<shevy> do: p array
<lukevinc> whats your doubt, Mia?
<_lucid_> ok
<lukevinc> array.sort!?
starless has quit [Ping timeout: 272 seconds]
<Mia> lukevinc, just trying to udnerstand the logic as a complete stranger to programming and ruby
<totimkopf> shevy: say I have an ivar at the top-level of the class, how do I get attr_accessor to access that instead of the the ivar of an instance?
<Mia> I'm following codecademy stuff and at this point it made no sense
<shevy> Mia that is just a method invocation, it could be sorted before you run it, sure, but after you run .sort! you can be sure it was modified and hopefully sorted
<Mon_Ouie> Say you wanted to sort an array in reverse order, you can use the block that you give to sort to tell it to compare things backwards:
<lukevinc> ahhhhh
hiall has joined #ruby
<lukevinc> i know where you are
<Mia> like I can ofc. learn it, I already did, but I want to learn why
<_lucid_> Yes there's DEFINITELY more then one item in this array
<Mon_Ouie> >> [1, 3, 2, 4].sort { |a, b| -(a <=> b) }
<eval-in_> Mon_Ouie => [4, 3, 2, 1] (https://eval.in/199516)
<shevy> totimkopf you must somehow invoke it on the class level
<lukevinc> array.sort! do |x,y| x <=> y end
<shevy> totimkopf in general in ruby you have to switch to what self refers to
<Mia> so Mon_Ouie what is a and b in that case
<Mia> 1 and 3 ?
<lukevinc> array.sort! do |x,y| x <=> y end, that should sort the array in crescent order
<shevy> totimkopf usually you can try .class_eval and class << self
hilake has joined #ruby
<_lucid_> You can test the code
<lukevinc> array.sort! do |x,y| y <=> x end, that should sort the array in crescent order
<shevy> totimkopf but it is annoying to talk about invisible code. can you bring a minimal example, and your desired (minimal) output on a pastie pls
<lukevinc> ops, decrescent
<Mon_Ouie> No, they're just going to be two elements of the array. The block will be called multiple times
<Mia> lukevinc, yes I learned it, I'm trying to understand why it happens
halfdan has left #ruby [#ruby]
yaymukund has quit [Ping timeout: 245 seconds]
<hilake> ruby install worked on reboot
<lukevinc> Ruby tricks, it's unexplainable
<Mia> ha!
<lukevinc> it's like sort of perl
<totimkopf> shevy: sure :)
<shevy> lukevinc I need you to explain something to me
<_lucid_> Can someone tell me why this doesn't work? http://pastebin.com/nHUFYkKU
<lukevinc> sort {$a cmp $b} makes sense to you?, no
<Mon_Ouie> You can run the program with "p [a, b]" inside the block to see which comparisons it does exactly
<Mia> lukevinc, not at all
seamon has joined #ruby
<shevy> lukevinc I have in my .rb file the setting: "# Encoding: ASCII-8BIT" on the 2nd line
<lukevinc> shevy: go on
<shevy> why is ARGV a different encoding?
<Mia> to me whatmakes sense is sort, because I can see that it sorts everything in itself
<Mon_Ouie> >> [1, 4, 3, 2].sort { |a, b| p [a, b]; a <=> b }
<eval-in_> Mon_Ouie => [1, 3] ... (https://eval.in/199517)
<Mon_Ouie> ^ click the link to see the whole thing
<Mia> when it compares two, I don't get why and how it makes sense at all
<shevy> specifically it is in #<Encoding:ISO-8859-1>
<lukevinc> argv get the system encoding, perhaps?
<lukevinc> or terminal encoding, dunno
<shevy> file foo.rb: foo.rb: Ruby script, ISO-8859 text
<shevy> yeah
syva has joined #ruby
<shevy> but is this proper behaviour? that means that it can disregard all # Encoding: lines
<Mon_Ouie> The block returns a negative number when a goes before b, a positive number when b goes before a and zero if they're both equal
<lukevinc> shevy: sweet, lets search a gem to do the encode for ya.
<shevy> hehe
<Mia> so in reality, when I do "sort" it actually compares two things
<shevy> I first need to understand this
<Mon_Ouie> Woops, got negative and positive it mixed up
crazydiamond has quit [Ping timeout: 240 seconds]
<shevy> until recently I thought that "# Encoding: ASCII-8BIT" solves my problems, but I found out that Regexp.quote() forcibly changes the encoding, and now that ARGV is also in another encoding ...
<Mon_Ouie> It needs to compare all the elements inside the array. To sort an array like [a, b, c] you need to compare a and b to know which one goes first.
mikeg has quit [Ping timeout: 246 seconds]
<banister> Mon_Ouie 'alut
<banister> Mon_Ouie how's life
<Mon_Ouie> Fine :)
<shevy> "The default script encoding is Encoding::UTF-8 after v2.0, but it can be changed by a magic comment on the first line of the source code file (or second line, if there is a shebang line on the first)."
<Mia> okay, it's still all blurry but I'll keep going, I think it'll be clear at some point
<lukevinc> okay, i will search about that.
<shevy> "ruby -K will change the default locale encoding, but this is not recommended."
modernbob has joined #ruby
<shevy> hmmm
<shevy> let me try that option
Takle has joined #ruby
<Mon_Ouie> It'd probably be easier to look at other methods that use blocks in a more obvious way
<lukevinc> Keep studying Mia, it doesn't makes sense, it's ruby.
manacit has joined #ruby
<Mon_Ouie> Like #each and #map
<lukevinc> just put it in your mind, it's a ruby tool.
<Mia> lukevinc, that makes me sad then
<Mia> I want to learn something that makes sense
<lukevinc> nah, you don't have to understand all, just know it does the sort.
<Mia> should I start phyton in that case
Inhaling_ has joined #ruby
<totimkopf> that sort thingy with blocks and <=> is a perl thing, so blame perl
<lukevinc> a <=> b does crescent sort, b <=> a does decrescent sort
<Mia> totimkopf, :D
<shevy> haha "optparse.rb:1350:in `===': invalid byte sequence in UTF-8 (ArgumentError)"
<lukevinc> you can use reverse and sort too
yaymukund has joined #ruby
<Mon_Ouie> Well even C's qsort works like that
<Mon_Ouie> It just doesn't have the fancy symbol
<lukevinc> shevy: lol
<lukevinc> shevy: lets search about this you said, lets find the default encoding
justinmburrous has joined #ruby
<Mia> lukevinc, yes I can, but I'm just trying to understand how it works at all, I mean, logically, what the hell is going on there with the comparison and passing first two elements and... well you know... the general logic
<Mia> otherwise .sort.reverse seems more logical if it works
<lukevinc> yes, it's ruby logic, don't try to understand that. just know it does the sort, else you will be mad.
entrenador has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> lukevinc well I can use Encoding.locale_charmap; the problem is that I can not change this encoding
mikeg has joined #ruby
<Mon_Ouie> The details of how it works depend on the exact sorting algorithm that is being used. I think ruby uses a quicksort.
<shevy> I guess I understand why ARGV has that encoding
<shevy> "Each IO object has an external encoding which indicates the encoding that Ruby will use to read its data."
jonr22 has quit [Quit: WeeChat 0.4.3]
<shevy> so ARGV must be external as it comes from e. g. bash
<apeiros> ruby uses qsort. and qsort used to be quicksort. but doesn't have to be.
jonr22 has joined #ruby
<apeiros> at least that's how I remember it. use the source, luke! :)
<shevy> Encoding.default_external
<lukevinc> shevy: you can set the default encoding.
<shevy> hmm let me try that...
<_lucid_> Sorry to interrupt, but this make absolutely no sense to me
<lukevinc> ^exactly
<lukevinc> apeiros: yes my friend, there's a lot of tools
<_lucid_> I don't get why they all return 1 when the actual array has like 1000 items in it
<apeiros> _lucid_: because the array you query indeed only has one item in it
<shevy> nope it does nothing to ARGV
InhalingPixels has quit [Ping timeout: 272 seconds]
<shevy> Encoding.default_external = 'ASCII-8BIT'
<apeiros> _lucid_: it contains a single item - the array with thousands of items in it.
<shevy> and ARGV[0] afterwards is still #<Encoding:ISO-8859-1>
<shevy> so now I am confused
<apeiros> >> outer = []; outer << [1,2,3,4]; outer.size
<eval-in_> apeiros => 1 (https://eval.in/199518)
<apeiros> >> outer = []; outer << [1,2,3,4]; outer[0].size
<eval-in_> apeiros => 4 (https://eval.in/199519)
<lukevinc> shevy: set it to utf8
<apeiros> >> outer = []; outer << [1,2,3,4]; outer
<eval-in_> apeiros => [[1, 2, 3, 4]] (https://eval.in/199520)
<apeiros> _lucid_: see above 3 pieces of code and output
<apeiros> _lucid_: I assume you either want = or .concat instead of <<
<_lucid_> Ah
<_lucid_> Maybe
<shevy> lukevinc, I did it, it is still #<Encoding:ISO-8859-1> - let me try to write an example so others can test it, it seems as if ARGV will always have the default encoding
ndrei has quit [Ping timeout: 244 seconds]
<totimkopf> I guess my question is really this, how do I make attr_accessor make class methods instead of instance methods?
tylersmith has joined #ruby
<lukevinc> yes, do it, shevy , help only too help you, lady.
<Mon_Ouie> You call it inside the class's singleton class
<lukevinc> happy*
<Mon_Ouie> >> class Foo; class << self; attr_accessor :bar; end; end
<eval-in_> Mon_Ouie => nil (https://eval.in/199521)
yaymukund has quit [Ping timeout: 272 seconds]
<_lucid_> Wow
<_lucid_> This should be a lot simpler then it is
<lukevinc> shevy: opens your irb and type: Encoding.default_external
<lukevinc> it returns Encoding:utf-8?
<shevy> no
MaciejCzyzewski has joined #ruby
<shevy> #<Encoding:ISO-8859-1>
Hyknua has quit [Quit: Hyknua]
yaymukund has joined #ruby
<shevy> lukevinc can you run this code for me please, store it in a dump .rb file:
<lukevinc> i will find how you can change it to utf-8
wald0 has joined #ruby
<lukevinc> yes, sweetz
SilkFox_ has joined #ruby
<shevy> oh
tylersmith has quit [Ping timeout: 240 seconds]
<shevy> I should have added my output here
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> so my setup is... system locale iso 8859. encoding of the .rb file ASCII-8BIT. And ARGV is always the same encoding as the system locale, regardless of the use of .default_external
<shevy> and that sucks :\
<totimkopf> Mon_Ouie: thanks, that code just broke my head, though, is there a more verbose way of writing that?
shock_one has quit [Quit: Computer has gone to sleep.]
<shevy> totimkopf you do use attr_accessor already right?
<totimkopf> shevy: sure, I use them as instance methods
<lukevinc> shevy: mine is returning utf-8 instead of iso-8859, are you using windows, i'm using ubuntu, right?
<shevy> class << self is indeed ugly but you can think of it as applying the code on the toplevel class there
starless has joined #ruby
KC9YDN-2 has joined #ruby
<shevy> lukevinc nah I am on linux but the problem is, the iso encoding will stay. there is no way to change to utf. now I'll have to wonder what to do with ARGV
<totimkopf> shevy: but aren't I already doing that here? https://gist.github.com/anonymous/8cd714e12842a71ae725
n_blownapart has joined #ruby
KC9YDN-2 has quit [Client Quit]
<lukevinc> i will try to change that
<shevy> totimkopf those look like 2 different variables right?
<totimkopf> shevy: yes
<shevy> k, so the first example works because you have defined an accessor method through attr_accessor
<shevy> the second can not work because class C has no class method called v in your code example
<shevy> that is why you can see people in their code do stuff like: class Foo; def self.bla
<shevy> or class << self
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> I like self.bla more
<totimkopf> shevy: so, I can't use attr_accessor for class methods ie (self.bla)?
<lukevinc> aha, did you try argv[0].default_external?
sevvie has joined #ruby
<lukevinc> aha, did you try argv[0].default_external = UTF-8?
<totimkopf> the terse code that Mon_Ouie wrote seemed to work
KC9YDN has quit [Ping timeout: 245 seconds]
<Mon_Ouie> It's just that class methods are a special case of instance methods
<totimkopf> but I can't figure out how to translate that into a more verbose version :S
phutchins has joined #ruby
<Mon_Ouie> You should just learn the 'class << object' syntax, it's not that obscure
<totimkopf> Mon_Ouie: okay
<lukevinc> shevy: there's no method encoding for argv here, strange.
Stalkr_ has quit [Quit: Leaving...]
nfk has quit [Quit: yawn]
yaymukund has quit [Ping timeout: 272 seconds]
andrewlio has quit [Quit: Leaving.]
hiall has quit [Quit: hiall]
<lukevinc> i have a idea, receive the raw argv, and then convert it to utf-8 directly
<shevy> lukevinc well ARGV is a special constant
<shevy> I can intercept and modify it before sending it to my class
<shevy> but I am not sure how
<lukevinc> you are using which version of ruby?
<shevy> I mean, so that the problem will go away
<shevy> latest
<lukevinc> i have the solution, i will paste here
<shevy> lukevinc I tried that above, optionparser will fail at another location
Ankhers has joined #ruby
<lukevinc> string = "some string".encode(Encoding::ISO_8859_1)
<shevy> "optparse.rb:1350:in `===': invalid byte sequence in UTF-8 (ArgumentError)"
<lukevinc> utf8_string = ARGV.encode(Encoding::ISO_8859_1)
<lukevinc> utf8_string = ARGV[0].encode(Encoding::UTF-8)
<lukevinc> try this, see if the encode is returning utf-8
<lukevinc> another solution: string.force_encoding(Encoding::UTF_8)
<lukevinc> oh i see
<lukevinc> why you are using opt parse?
<shevy> Encoding::UTF-8 does not exist btw
benzrf is now known as benzrf|offline
tessi is now known as tessi_zz
binw has quit [Ping timeout: 246 seconds]
<shevy> optparse.rb:238:in `===': incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string) (Encoding::CompatibilityError)
<shevy> nope, still won't work
<lukevinc> sorry, i did wrong, did you try: encoding(Encoding::UTF_8)
binw has joined #ruby
<shevy> yeah, see above for the new error
<shevy> it is the same as for ISO before btw
<shevy> optparse.rb:238:in `===': incompatible encoding regexp match (ISO-8859-1 regexp with ASCII-8BIT string) (Encoding::CompatibilityError)
armyriad has quit [Ping timeout: 246 seconds]
<shevy> if I have to make a guess, optionparser was not properly updated when encoding came to ruby
<lukevinc> there's no alternative gem for opt parser?
nuck has quit [Ping timeout: 246 seconds]
armyriad has joined #ruby
<lukevinc> i think i understand the error, option parser expects ASCII-8Bit, but ISO-8859-1 found.
nuck has joined #ruby
alem0lars has quit [Quit: Bye bye..]
<shevy> this all worked fine on 1.8.x btw
DrCode has quit [Remote host closed the connection]
<shevy> lukevinc I guess I can use other gems but I am sure they also have other problems :P
<lukevinc> ok, lets persist in opt parser
<shevy> lukevinc I guess ASCII-8BIT is technically not a real encoding, the encoding in use is the ISO-8859-1
<lukevinc> try this encode: ASCII-8BIT
<shevy> k
<lukevinc> Encoding::ASCII-8BIT or Encoding::ASCII_8BIT
<apeiros> a constant can't contain a -
fgo has joined #ruby
<shevy> foo.rb:329:in `encode': U+00F6 to ASCII-8BIT in conversion from ISO-8859-1 to UTF-8 to ASCII-8BIT (Encoding::UndefinedConversionError)
<lukevinc> even with force_encoding?
n_blownapart has quit []
dx7 has joined #ruby
DrCode has joined #ruby
<shevy> hmmmmm
<shevy> that seems to work
afhammad has joined #ruby
krisquigley has joined #ruby
hamakn has joined #ruby
<lukevinc> \o/
entrenador has joined #ruby
entrenador has quit [Client Quit]
_lucid_ has quit [Quit: leaving]
<shevy> still testing hehe
<shevy> but ok...
<shevy> ARGV[0] now says #<Encoding:ASCII-8BIT>
yaymukund has joined #ruby
matchaw has joined #ruby
zeroNones has joined #ruby
<shevy> so I now know I can modify ARGV
KLVTZ has quit [Ping timeout: 272 seconds]
<lukevinc> shevy
<lukevinc> i found a alternative gem for opt parser
<shevy> pp __ENCODING__ still returns #<Encoding:ISO-8859-1> for that file
<shevy> which is a bit strange, I thought it would be ASCII-8BIT
fgo has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby
<shevy> but now, when I use that modified ARGV, and use .encoding I get #<Encoding:ASCII-8BIT>
dx7 has quit [Ping timeout: 245 seconds]
<shevy> and that seems to be fine for OptionParser to not die
<lukevinc> yeah, it's really a not commom encoding.
<shevy> so lukevinc you solved my problem
tessi_zz is now known as tessi
<shevy> in doing so you rescued a class
<lukevinc> it's just a favour, you saved my life a lot of times, time to retrieve the favor.
<shevy> the class is Cylinder - it calculates everything about a cylinder and will use both english and german (+ german umlauts) from the commandline
krisquigley has quit [Ping timeout: 272 seconds]
iamcyberbird has quit [Ping timeout: 245 seconds]
<shevy> I still don't quite understand __ENCODING__ though
maestrojed has joined #ruby
<shevy> the line near the shebang won't affect __ENCODING__ ?
<lukevinc> yeah, it's hard to understand, just use it and converts when you need. thats all
<shevy> hehe
slyslick has joined #ruby
<lukevinc> _ENCODING_? where? in your code?
mary5030 has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
HelperW____ has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
yaymukund has quit [Ping timeout: 245 seconds]
mary5030 has joined #ruby
syva has quit [Quit: syva]
Scripore has quit [Ping timeout: 245 seconds]
syva has joined #ruby
<syva> hm
<shevy> in general
<shevy> __ENCODING__
<syva> how comes i can’t join #rails channel
decoponio has joined #ruby
<shevy> you must register at freenode first
<shevy> wait
last_staff has quit [Quit: last_staff]
<syva> i thought i was registered
<shevy> that is not even the real channel
tylersmith has quit [Ping timeout: 245 seconds]
<shevy> #RubyOnRails
jheg has quit [Quit: jheg]
<syva> lol thanks brah
Rhainur1 is now known as Rhainur
<shevy> there is also a second ruby channel
<shevy> #ruby-lang :)
<syva> oh? :3
<syva> for leet pros
<shevy> yeah it even is the "official" one
<shevy> yeah
maestrojed has quit [Client Quit]
<lukevinc> shevy: did you try to print Encoding.default_external?
<shevy> lemme try again
<shevy> #<Encoding:ISO-8859-1>
angusiguess has quit [Ping timeout: 244 seconds]
<shevy> when I reassign this I get a warning so I assume that this should not be done
<lukevinc> yes
maestrojed has joined #ruby
<shevy> I think one day I will find out what # Encoding: ASCII-8BIT really affects
<lukevinc> it's the default of your system.
yaymukund has joined #ruby
<shevy> sure enough it does not affect __ENCODING__ nor that extra shebang line nor Encoding.default_external; Encoding.default_internal is nil
angusiguess has joined #ruby
<lukevinc> internal is the input and external the output?
HelperW____ has quit [Ping timeout: 260 seconds]
mclosson has joined #ruby
<shevy> yeah
mieko has joined #ruby
<shevy> I guess external will be used for stuff like File.readlines()
Rhainur1 has joined #ruby
<shevy> but the cool thing in File.readlines is that you can also set the encoding in that method invocation
<lukevinc> gotcha
Rhainur has quit [Ping timeout: 260 seconds]
<shevy> so it is no problem
<lukevinc> shevy, can you set the encode in file open too
<shevy> I think so, yeah
Rhainur1 is now known as Rhainur
<lukevinc> open("transcoded.txt", "w:ISO-8859-1") do |io|
MaciejCzyzewski has joined #ruby
yaymukund has quit [Ping timeout: 246 seconds]
tectonic has joined #ruby
yaymukund has joined #ruby
Nieralyte has quit [Quit: Nieralyte]
mclosson has quit [Ping timeout: 250 seconds]
jeregrine has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
jonr22 has quit [Ping timeout: 246 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
lukevinc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.8.0/20000101000000]]
yaymukund has quit [Ping timeout: 272 seconds]
<MaciejCzyzewski> Hi! What's going on?
<MaciejCzyzewski> Any one active?
JBreit has joined #ruby
skammer2 has joined #ruby
<Nilium> This is the automated messaging bot. Message: Everyone in #ruby has been systematically slaughtered by a robot goat.
<Nilium> This is the automated messaging bot. Message: Leave now.
JBreit has left #ruby [#ruby]
fabrice31 has joined #ruby
<MaciejCzyzewski> ???
<MaciejCzyzewski> Bad joke. Nilium...
skammer1 has quit [Ping timeout: 250 seconds]
<apeiros> I've not seen active one's
<apeiros> but the two's are going cracy
<Nilium> apeiros: You don't stick a 's on the end of a plural
<Nilium> You horrible person
<MaciejCzyzewski> english, english
<apeiros> s isch scho spaat
ptrrr has quit [Quit: ptrrr]
<MaciejCzyzewski> Norsk er best. Udiskutabelt...
mary5030 has quit [Remote host closed the connection]
<MaciejCzyzewski> Nilium? You know rusalka-vm?
shock_one has joined #ruby
<Nilium> I'd hope so, considering I wrote it.
therealGent has joined #ruby
<MaciejCzyzewski> xD
<therealGent> is there a dependency injection framework for ruby?
<wasamasa> is there a need for such a thing in ruby?
tanath__ has joined #ruby
<MaciejCzyzewski> injection in ruby?
tanath__ is now known as tanath
<Nilium> What's dependency injection?
<wasamasa> a java thing
<MaciejCzyzewski> For sql...
<wasamasa> that's something different
JeffBonds has joined #ruby
tanath_ has quit [Ping timeout: 264 seconds]
starless has quit [Quit: WeeChat 1.0]
<therealGent> if you have a very large project, you usually have some sort of service classes. Something that exposes functionality like "addCustomer", "addProduct", etc.
mary5030 has joined #ruby
<therealGent> In Java, you may want to add a product as part of another functional part of the system. So you inject an instantiated instance of that service into the one you want the functionality in. Then you can use it.
kirun has quit [Quit: Client exiting]
yaymukund has joined #ruby
zeroNone_ has joined #ruby
Cache_Money_ has joined #ruby
Cache_Money has quit [Read error: Connection reset by peer]
Cache_Money_ is now known as Cache_Money
havenwood has joined #ruby
zeroNones has quit [Ping timeout: 240 seconds]
wald0 has quit [Quit: Lost terminal]
SOLDIERz has quit [Remote host closed the connection]
MrBoolean has quit [Quit: Leaving...]
SOLDIERz has joined #ruby
ptierno has joined #ruby
yaymukund has quit [Ping timeout: 260 seconds]
mclosson has joined #ruby
jottr has joined #ruby
mclosson has quit [Ping timeout: 260 seconds]
patrick99e99 has joined #ruby
jonmorehouse has joined #ruby
benzrf|offline is now known as benzrf
wng_0 has quit [Read error: Connection reset by peer]
dorei has quit []
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patrick99e99 has quit [Ping timeout: 272 seconds]
banister has joined #ruby
seamon has quit [Quit: Zzzzzzz]
Spami has joined #ruby
einarj has quit []
fgo has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
volty has joined #ruby
WormDr1nk has joined #ruby
HelperW____ has joined #ruby
einarj has joined #ruby
lewix has quit [Remote host closed the connection]
chrishough has joined #ruby
WormDrink has quit [Ping timeout: 246 seconds]
fgo has quit [Ping timeout: 246 seconds]
<volty> hi, smarties, i did transform with a ruby lib some html tags, attributes etc., i forgot which one // i am asking what do you suggest, and, especially (to evaluate) a bit of code (or just a hint) on how to change all bgcolor attributes
tylersmith has joined #ruby
<volty> btw i was looking at haskell's libs but they seem to be too much intelligent to be useful :)
einarj has quit [Remote host closed the connection]
wjimenez5271 has joined #ruby
KLVTZ has joined #ruby
<Mia> what does "nil"m means
HelperW____ has quit [Ping timeout: 260 seconds]
<Mia> I mean, I know what it means, but wht does it stand for?
<Mia> is it an abbrevation of something
<banister> Mia it's an english word
<banister> Mia google it :)
<volty> Nil is a word commonly used to mean nothing or zero; it is one of several names for the number 0. (wikipedia)
SilkFox_ has quit [Ping timeout: 272 seconds]
<Mia> OH
<apeiros> Mia: either 'not in list' or short for 'nihil', latin for 'nothing'
<Mia> Okay perfect thank you volty banister
<volty> boys, I need just the line that changes that damn attribute
<Mia> Ok I thought about nihil
<Mia> not in list is also nice to know
Fusl has quit [Ping timeout: 245 seconds]
<epitron> volty: regular expressions are good for changing lots for HTML attributes.. :)
<volty> the sense of nil is not deterministic -- usually no result, but it depends on the semantic
tylersmith has quit [Ping timeout: 272 seconds]
<epitron> css is also a good solution
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
seamon has joined #ruby
<volty> epitron: with close eyes // but I want a line of a pure parser & transformer to show the case to the fp intelligent idiots :)
<volty> s/pure/full | complete/
<epitron> meh
<MaciejCzyzewski> intelligent idiots, heh
banister is now known as banisterfiend
<volty> if you use it pls quote me :)
WormDrink has joined #ruby
<volty> it is a nightmare, not to learn, but to see all these arrows around, all that multiplying of math-like arrowing operators -- to achieve simple transformations
Fusl has joined #ruby
<MaciejCzyzewski> I'm going to sleep. Maybe someone want to finish this list? https://github.com/netflam/netflam#conceptions
<volty> never mind, I have done it with ruby, I'll search tomorrow
<MaciejCzyzewski> BB folks...
MaciejCzyzewski has quit [Quit: Textual IRC Client: www.textualapp.com]
tkuchiki has joined #ruby
jonmorehouse has quit [Ping timeout: 272 seconds]
WormDr1nk has quit [Ping timeout: 272 seconds]
spider-mario has quit [Remote host closed the connection]
centrx has quit [Read error: Connection reset by peer]
<volty> because I have to transform some /pre in /div too
spicerack has joined #ruby
echevemaster has quit [Remote host closed the connection]
kith_ is now known as kith
shock_one has quit [Quit: Computer has gone to sleep.]
shock_one has joined #ruby
tkuchiki has quit [Ping timeout: 260 seconds]
Scripore has joined #ruby
<apeiros> volty: nokogiri
WormDr1nk has joined #ruby
<apeiros> Nokogiri.HTML(html_code).css('[bgcolor]') # gives you all nodes with a bgcolor attribute
<apeiros> at least if I'm not making a mistake because it's late and I actually want to go to sleep :)
* apeiros steals epitron's hat
<apeiros> gn8
shock_one has quit [Ping timeout: 250 seconds]
WormDrink has quit [Ping timeout: 246 seconds]
<volty> thx apeiros, i find some files here (only 3 small) that deal with nokogiri
<volty> found
apeiros has quit [Remote host closed the connection]
seamon has quit [Quit: Zzzzzzz]
hooper has quit [Quit: Leaving.]
apeiros has joined #ruby
tylersmith has joined #ruby
<Mia> Hm
<Mia> so hash rocket is removed after 1.9
<havenwood> Mia: nope
WormDrink has joined #ruby
<Mia> so - is it only for symbols?
tectonic_ has joined #ruby
<havenwood> Mia: 1.9 Hash sytax is only for symbols, yeah. And not all symbols either, just normally named ones.
lolmaus__ has quit [Read error: Connection reset by peer]
mieko has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
lolmaus__ has joined #ruby
<havenwood> Mia: There's no: "odd symbol":
<Mia> havenwood, so for strings, it's not possible?
<Mia> "key": "value"
<havenwood> no
tectonic has quit [Ping timeout: 245 seconds]
<Mia> hm that's stupid.
<Mia> I mean what's the point
<havenwood> => :"i am a symbol too"
tessi is now known as tessi_zz
WormDr1nk has quit [Ping timeout: 272 seconds]
<havenwood> #=> Symbol
<Mia> idk
<Mia> just odd
moritzs has joined #ruby
<Mia> so everyone codes different
iamcyberbird has joined #ruby
tylersmith has quit [Ping timeout: 258 seconds]
jonmorehouse has joined #ruby
benzrf|offline is now known as benzrf
WormDrink has quit [Ping timeout: 272 seconds]
<syva> symbols are kind of interesting feature of ruby. this syntactical nuance is a compromise so we can leverage delicious symbols
<syva> a trade off
seamon has joined #ruby
tectonic_ has quit []
tectonic has joined #ruby
wjimenez5271 has quit [Ping timeout: 245 seconds]
hooper has joined #ruby
yaymukund has joined #ruby
<banisterfiend> syva symbols get annoying
lewix has joined #ruby
boombadaroomba has joined #ruby
tectonic has quit [Ping timeout: 246 seconds]
tectonic has joined #ruby
zenojis has quit [Ping timeout: 260 seconds]
hooper has quit [Client Quit]
yaymukund has quit [Ping timeout: 258 seconds]
einarj has joined #ruby
boombadaroomba has quit [Ping timeout: 258 seconds]
Takle has quit [Remote host closed the connection]
Wolland has joined #ruby
marr has quit [Ping timeout: 245 seconds]
adrenaline_ has quit [Ping timeout: 246 seconds]
rubyonrailed has quit []
dx7 has joined #ruby
einarj has quit [Ping timeout: 260 seconds]
last_staff has joined #ruby
krisquigley has joined #ruby
zenojis has joined #ruby
Skyler_ has quit [Ping timeout: 250 seconds]
starkhalo has joined #ruby
dx7 has quit [Ping timeout: 246 seconds]
kireevco has joined #ruby
mclosson has joined #ruby
justinmburrous has quit [Remote host closed the connection]
HelperW____ has joined #ruby
W0rmDr1nk has quit [Ping timeout: 258 seconds]
Inhaling_ has quit []
InhalingPixels has joined #ruby
last_staff has quit [Quit: Pong timeout]
emmesswhy has joined #ruby
AlexRussia has quit [Ping timeout: 264 seconds]
W0rmDr1nk has joined #ruby
jonr22 has joined #ruby
fgo has joined #ruby
hmsimha_ has joined #ruby
mclosson has quit [Ping timeout: 245 seconds]
jonr22 has left #ruby [#ruby]
HelperW____ has quit [Ping timeout: 260 seconds]
jonr22 has joined #ruby
kireevco has quit [Quit: Leaving.]
X-warrior has joined #ruby
<X-warrior> Does anybody know why my match.save trigger the error 'Cannot visit User'? http://pastie.org/9600033
mikepack has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 240 seconds]
Cache_Money has quit [Quit: Cache_Money]
KC9YDN has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> Mia especially in ruby yes. it is a trade-off from "there is more than one way to do it", and so people also have different style