apeiros changed the topic of #ruby to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: 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
baweaver has joined #ruby
djbkd has joined #ruby
pu22l3r has joined #ruby
IrishGringo has joined #ruby
mpistone has quit []
pu22l3r has quit [Remote host closed the connection]
johnkary has joined #ruby
josephndenton has joined #ruby
adriancb has quit [Remote host closed the connection]
aboudreault has quit [Ping timeout: 255 seconds]
Spami has joined #ruby
beef-wellington has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
startupality has joined #ruby
checkit has joined #ruby
jenrzzz has quit [Quit: Lost terminal]
startupality has quit [Client Quit]
karmatr0_ has joined #ruby
karmatr0n has quit [Ping timeout: 264 seconds]
MartynKeigher has joined #ruby
aboudreault has joined #ruby
gwn has quit [Remote host closed the connection]
ta has joined #ruby
rubyonrailed has quit []
jenrzzz has joined #ruby
spyderma_ has quit [Remote host closed the connection]
sargas has joined #ruby
ta has quit [Ping timeout: 258 seconds]
x1337807_ has joined #ruby
_mtr has joined #ruby
Beoran has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
djdarkbeat has quit [Quit: djdarkbeat]
aspires has quit []
ezio has quit [Read error: Connection reset by peer]
tvw has quit []
lucyinthesky has joined #ruby
Beoran_ has quit [Ping timeout: 250 seconds]
TehStig_ has joined #ruby
x1337807x has quit [Ping timeout: 260 seconds]
IrishGringo has quit [Ping timeout: 265 seconds]
chrisja has quit [Quit: leaving]
phutchins has joined #ruby
_mtr has quit [Ping timeout: 256 seconds]
TehStig has quit [Ping timeout: 260 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
Scriptonaut has joined #ruby
TehStig_ has quit [Ping timeout: 245 seconds]
<Scriptonaut> hey guys, I'm reading in this csv file, I read it (into a string of chars), then call .encode("UTF-8") on it, and get: Encoding::UndefinedConversionError: "\xCC" from ASCII-8BIT to UTF-8. Any idea what this is? My error only resulted in 3 google results
mary5030 has joined #ruby
phutchins has quit [Remote host closed the connection]
mloveless has quit [Ping timeout: 255 seconds]
ghostmoth has quit [Quit: ghostmoth]
kinseapo has joined #ruby
davedev2_ has joined #ruby
kinseapo is now known as Guest88499
davedev24_ has quit [Ping timeout: 265 seconds]
<claf> Scriptonaut: use iconv
Ludicrou_ has joined #ruby
Pupeno_ has joined #ruby
MartynKeigher is now known as MartynKeigher-AW
<Scriptonaut> isn't iconv deprecated?
<Scriptonaut> (though I should mention I'm on 1.9.3
echevemaster has quit [Ping timeout: 240 seconds]
djdarkbeat has joined #ruby
LudicrousMango has quit [Ping timeout: 244 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Ping timeout: 260 seconds]
Pupeno has quit [Ping timeout: 244 seconds]
LudicrousMango has joined #ruby
nateberkopec has quit [Quit: Leaving...]
Stalkr_ has quit [Quit: Leaving...]
fgo has quit [Ping timeout: 264 seconds]
<claf> Scriptonaut: ah, of course, sorry, 2AM half-wit
o0oo0o has joined #ruby
baweaver has quit [Remote host closed the connection]
aZaFred has joined #ruby
<shevy> godd2 good!
<shevy> godd2 by the way do you know gamebox?
Spami has joined #ruby
Ludicrou_ has quit [Ping timeout: 260 seconds]
lucyinthesky has left #ruby ["Leaving"]
<shevy> <shevy> hey shawn42
<shevy> <shevy> did you have a look at Opal? like ruby rather than javascript and combine this with gamebox
<shevy> hawn42> shevy: I have, I actually wrote a dirty wrapper around pixi.js to use it from opal ;)
<shevy> <shawn42> just a prototype though
<shevy> there!
<shevy> you guys need to get together one day
<shevy> (when any of you actually finishes a prototype that is ...)
stunder has quit [Quit: Screw you guys I'm going home]
Nodeist has joined #ruby
<godd2> shevy yea shawn42 submitted an issue on my gem! he's looked at it
<claf> Scriptonaut: first, have you ensured your internal encoding is set, and the file encoding is detected correctly
<shevy> *get together means work on something... not make out or something, just to clarify
<Nodeist> Hi! I need help with this: https://gist.github.com/Ap0ph1s/e87095b406bd538fb89d
<Nodeist> I installed the gem to be clear
<shevy> cool
<Scriptonaut> how does one check if internatl encoding is set?
apeiros_ has quit [Remote host closed the connection]
<crome> :allow_redirections => :safe
<crome> wow
<Scriptonaut> this is gonna be running on a heroku-hosted rails server
<shevy> nodeist where are your gems? where does open_uri_redirections reside? gem env
kenneth has joined #ruby
<claf> Scriptonaut: ^
oo_ has joined #ruby
<Nodeist> crome, open-uri doesnt hnadle http and https redirections
<Scriptonaut> thanks
djdarkbeat has quit [Quit: djdarkbeat]
apeiros_ has joined #ruby
mjuszczak has joined #ruby
<crome> I know, I'm just stumped by the :safe parameter
<crome> I can't even guess what it does
econerd4ever has quit [Remote host closed the connection]
<Nodeist> shevy, What do you mean?
pu22l3r has joined #ruby
<shevy> nodeist your gem must reside somewhere
<shevy> I can tell you where my gems reside:
<shevy> /usr/lib/ruby/gems/2.1.0/cache/
econerd4ever has joined #ruby
arrubin has joined #ruby
<shevy> or respectively in the other directory one down there
<Nodeist> Im using cloud9
<shevy> /usr/lib/ruby/gems/2.1.0/gems/
<Nodeist> since ruby on windows sucks
<shevy> ok so you don't know where your gems are
<shevy> you should find out
TgMts_ has quit [Quit: No Ping reply in 180 seconds.]
<Nodeist> and we only have access to our workspace
<Nodeist> nothing else
<Nodeist> but how would that solve my problem?
<shevy> and you can confirm with 100% certainty that the gems do not reside anywhere in your workspace?
<Nodeist> yes
<shevy> simple; all the gems that are in /usr/lib/ruby/gems/2.1.0/gems/ work for me
<Nodeist> I can show you what my workspace look like
<Nodeist> with join.me
<shevy> no no
<shevy> I only need specific info
<shevy> you said that the gem is not installed
<Nodeist> no, it is!
<shevy> I just installed that gem
<shevy> Fetching: open_uri_redirections-0.2.1.gem (100%)
<shevy> Successfully installed open_uri_redirections-0.2.1
<Nodeist> thats hwat i got
econerd4ever has quit [Remote host closed the connection]
<shevy> "gem list" also shows it
Mothore has joined #ruby
econerd4ever has joined #ruby
<shevy> does your "gem list" show it?
<Nodeist> didnt ry
<Nodeist> try
DLSteve has quit [Quit: Leaving]
<shevy> try!
klmlfl has joined #ruby
<Nodeist> yup, its in my gem list shevy
<shevy> ok
<shevy> so now we know that gem can find it
<shevy> but for some reason, /usr/local/rvm/rubies/ruby-2.1.4/ can not find it
<Nodeist> yes
x1337807x has joined #ruby
<shevy> where does "gem" reside, do you know?
LudicrousMango has quit []
<shevy> the command itself
<Nodeist> Nope, I haveno control over that
<shevy> huh?
<soahccc> which gem
<soahccc> I call this "hampered by security" btw :D
echevemaster has joined #ruby
davedev2_ has quit [Ping timeout: 255 seconds]
<shevy> ah - well whether you can control it or not, that is a secondary question; the first question is to find out where it is anyway. Surely you must have at least read access if you can invoke "gem list", so you ought to be able to find out where it resides
<Nodeist> shevy, dont have access to that folder
<shevy> hmmm
ninjazach has quit [Read error: Connection reset by peer]
Shazaum has quit [Quit: This computer has gone to sleep]
klmlfl has quit [Remote host closed the connection]
rshetty has joined #ruby
<shevy> can you install stuff into your workspace?
<Nodeist> thats why i wanted to show you a join.me session
F__i__L has quit [Remote host closed the connection]
<Nodeist> idk how to install to a specific folder
davedev24_ has joined #ruby
<shevy> where is the "ruby" binary by the way?
baweaver has joined #ruby
Joufflu has joined #ruby
<shevy> nodeist you must find out man
<claf> its jeez and chill time again
triple_b has joined #ruby
Areessell has joined #ruby
ob has joined #ruby
<crome> -not
<shevy> though it's a lot of work
<shevy> nodeist but you managed to install rvm?
<crome> online ide lol
procat has joined #ruby
eighthbit has joined #ruby
<Nodeist> shevy, Im am using an online IDE
<Nodeist> Shevy, IDK!!!
<claf> $ which ruby
<Nodeist> ruby sucks on windows
<shevy> and some booze
<shevy> you somehow installed rvm
<shevy> as for windows sucks - sure, but you can use all of ruby, and with ruby-gnome you can also build up your own IDE
<shevy> well, install linux man
<claf> yea
<claf> install linux in a vbox
<crome> nodeist: for the sake of everything that is not just a little bit lovable, install linux in vbox or something
<shevy> take a coffee, take your time
<shevy> there is no impossible
<claf> install on a usb drive and boot there
<Nodeist> sigh
<Nodeist> shevy, its impossible!
<Nodeist> MY computer also sucks
jenrzzz has quit [Ping timeout: 272 seconds]
rshetty has quit [Remote host closed the connection]
ob has quit [Max SendQ exceeded]
ob has quit [Max SendQ exceeded]
<claf> external usb 3 ssd for rubydev linuxz
jcdesimp has joined #ruby
<soahccc> nodeist: If that what you said is true there is nothing worse than your current environment, even windows would be better
<crome> also, ruby on windows sort of works until you want to use some gems that actually break horribly
<crome> it might not be the case for you
ob has joined #ruby
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pupeno_ has quit [Remote host closed the connection]
beef-wellington has quit [Ping timeout: 244 seconds]
procat has quit [Ping timeout: 252 seconds]
sargas has quit [Quit: This computer has gone to sleep]
klmlfl has joined #ruby
mjuszczak has quit []
mjuszczak has joined #ruby
<Nodeist> what do you guys think about Golang?
baweaver has quit [Remote host closed the connection]
mloveless has joined #ruby
<crome> currently it's my job
<crome> I like it a lot
<godd2> shevy there, is this a little better? https://github.com/nicklink483/dare/blob/master/lib/dare/sound.rb
<Nodeist> crome, would you rather use ruby or Go?
<crome> that's a pretty stupid question
rshetty has joined #ruby
<benzrf> nodeist: for what project
<godd2> I develop ruby on windows. it forces me to make my code robust :P
Nodeist has quit [Quit: Page closed]
Tranquility has quit [Quit: Connection closed for inactivity]
<crome> I'm more than happy to exchange some flexibility (quite a bit of it, actually) in ruby to type safety and performance but I would never pick go to prototype a webapp
<claf> naw
<godd2> the heroku CLI is written in Go
<crome> or to build a webapp in general
<claf> ruby will never have to exchange
<crome> it's awesome for apis though
johnkary has quit [Ping timeout: 244 seconds]
<claf> just use scala if you want that
<epitron> rust
<crome> why would I prefer scala over go?
fgo has joined #ruby
* epitron fades into the shadows
devoldmx33 has quit [Ping timeout: 272 seconds]
<claf> jvm
larissa has quit [Quit: Leaving]
pu22l3r has quit [Remote host closed the connection]
mjuszczak has quit []
<claf> I dont even remember what go runs, actually
<crome> programs
<claf> made no impression on me so far
<crome> "jvm" as an argument is pretty moot
<shevy> godd2 how does that work? `#{@sound}.play()` did you redefine `
lukeholder has joined #ruby
<godd2> Opal uses the backtick to pass raw javascript
thomasfedb has quit [Ping timeout: 256 seconds]
babykosh has joined #ruby
lukehold_ has joined #ruby
djbkd has quit [Remote host closed the connection]
tokik has joined #ruby
klmlfl has quit [Remote host closed the connection]
thomasfedb has joined #ruby
narcan has joined #ruby
pu22l3r has joined #ruby
pu22l3r has quit [Remote host closed the connection]
<claf> crome: its not if you're silly
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pu22l3r has joined #ruby
<crome> okay
maletor has quit [Quit: Computer has gone to sleep.]
charliesome has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
oleo__ has joined #ruby
oleo is now known as Guest31229
<godd2> shevy you can also just use %x{ ... } to write multiple lines at once. but for one-liners I just use the backtick
lukeholder has quit [Ping timeout: 258 seconds]
triple_b has joined #ruby
robustus has quit [Ping timeout: 250 seconds]
<shevy> aha
<crome> @keys = Array.new(108)
<crome> I like this bit
<crome> oddly specific
<crome> D
<godd2> crome that's to store the state of each keyboard key
robustus has joined #ruby
<godd2> in the V8 engine, if you specify the size of an array, it will help you out and keep it as a C-like array in the background
<claf> jabbascripp
Guest31229 has quit [Ping timeout: 252 seconds]
jgrevich has joined #ruby
<godd2> instead of using a fully qualified dictionary
duncannz has quit [Ping timeout: 250 seconds]
<godd2> gotta go fast
babykosh has quit [Quit: babykosh]
jherbst has joined #ruby
snath has quit [Ping timeout: 260 seconds]
sargas has joined #ruby
hmsimha has joined #ruby
goodenough has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kiki_lamb has joined #ruby
kiki_lamb has quit [Quit: leaving]
jlast has quit [Ping timeout: 258 seconds]
mnemon has quit [Quit: No Ping reply in 180 seconds.]
grassdog has joined #ruby
_mtr has joined #ruby
wjimenez5271 has quit [Remote host closed the connection]
godd2 has quit [Remote host closed the connection]
mnemon has joined #ruby
tkuchiki has joined #ruby
fabrice31 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<Areessell> Wait, so Dare is a webgl gaming library that you build with Ruby?
sargas has quit [Quit: This computer has gone to sleep]
aspires has joined #ruby
wjimenez5271 has joined #ruby
aspires has quit [Client Quit]
djdarkbeat has joined #ruby
snath has joined #ruby
_mtr has quit [Ping timeout: 244 seconds]
marr has quit [Ping timeout: 258 seconds]
fabrice31 has quit [Ping timeout: 245 seconds]
boombadaroomba has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
mikepack has joined #ruby
Kricir has joined #ruby
yetanotherdave has quit [Ping timeout: 258 seconds]
bricker`work has quit [Quit: leaving]
salmonax has joined #ruby
rj46 has quit [Quit: Konversation terminated!]
dc has joined #ruby
rshetty has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 244 seconds]
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dh64 has joined #ruby
gsd has joined #ruby
charliesome has quit [Quit: zzz]
gsd has quit [Client Quit]
fandi has quit [Quit: Leaving]
dc has quit [Disconnected by services]
dc_ has joined #ruby
kl has quit [Ping timeout: 245 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
crdpink2 has quit [Quit: q term]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Scriptonaut has quit [Quit: leaving]
crdpink has joined #ruby
roolo has joined #ruby
mgberlin has joined #ruby
graydot has joined #ruby
jlast has joined #ruby
pedahzur has joined #ruby
BigRonnieRon has joined #ruby
<pedahzur> Howdy! I am trying to install Redmine on a system that doesn't have development tools (because it's a production server). is there a way to tell it to fall back to using the pure-Ruby json module so it doesn't try (and fail) to compile the C module? Or, alternately, is there a way to package up the whole thing on a dev server, and drop it on the production server ready to go? (maybe a subdirectory I could copy over)
russt has quit [Quit: russt]
russt has joined #ruby
rylev has joined #ruby
ninjazach has joined #ruby
roolo has quit [Ping timeout: 252 seconds]
grassdog has quit [Quit: Lingo: www.lingoirc.com]
Yottabyte has joined #ruby
<Yottabyte> hi guys, on windows here, just installed ruby, trying gem install sass and got: ERROR: Could not find a valid gem 'sass' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/latest_specs.4.8.gz)
checkit has quit [Ping timeout: 250 seconds]
seamon has joined #ruby
lucyinthesky has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
tejas-manohar has quit [Ping timeout: 246 seconds]
wsmoak has quit [Quit: wsmoak]
linojon has quit [Quit: linojon]
<seamon> anyone know what’s going on with rubygems.org, can’t seem to log in?
Spami has quit [Quit: This computer has gone to sleep]
Takle has joined #ruby
TgMts has joined #ruby
tejas-manohar has joined #ruby
echooo1 has quit [Remote host closed the connection]
cashnguns has joined #ruby
diegoviola has quit [Remote host closed the connection]
rshetty has joined #ruby
Xiti has quit [Ping timeout: 244 seconds]
linojon has joined #ruby
linojon has quit [Client Quit]
Takle has quit [Ping timeout: 272 seconds]
ta has joined #ruby
<Yottabyte> seamon i think it's broken
ob has quit [Max SendQ exceeded]
ob has joined #ruby
_mtr has joined #ruby
<seamon> yottabyte: So long I am not the only one, ok. Thanks
linojon has joined #ruby
<Yottabyte> seamon nvm
<Yottabyte> I think it's ifne
<seamon> yottabyte were you able to log in?
rylev has quit [Remote host closed the connection]
jenrzzz has joined #ruby
ta has quit [Ping timeout: 260 seconds]
babykosh has joined #ruby
mnemon has quit [Quit: No Ping reply in 180 seconds.]
Xiti has joined #ruby
mnemon has joined #ruby
Guest88499 has quit [K-Lined]
samsquanch has quit [Quit: Textual IRC Client: www.textualapp.com]
karmatr0_ has quit []
narcan has joined #ruby
babykosh has quit [Ping timeout: 244 seconds]
russt has quit [Quit: russt]
vyorkin has quit [Ping timeout: 255 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
echooo has joined #ruby
wjimenez5271 has quit [Remote host closed the connection]
drkyro has quit [Quit: Textual IRC Client: www.textualapp.com]
vyorkin has joined #ruby
graydot has quit [Quit: graydot]
amclain has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
rshetty has quit [Remote host closed the connection]
fgo has joined #ruby
vyorkin has quit [Ping timeout: 250 seconds]
hamakn has joined #ruby
jfran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
patrick99e99 has quit [Ping timeout: 264 seconds]
eighthbit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bkolden has quit [Quit: Leaving]
Hobogrammer has quit [Ping timeout: 255 seconds]
jlast has quit [Ping timeout: 258 seconds]
rikai has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
ta has joined #ruby
olivier_bK has quit [Ping timeout: 260 seconds]
tus has joined #ruby
geggam has joined #ruby
rikai has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has quit [Ping timeout: 260 seconds]
claptor has joined #ruby
russt has joined #ruby
studiotate has quit [Quit: Lingo - http://www.lingoirc.com]
zB0hs has quit [Quit: Textual IRC Client: www.textualapp.com]
kenneth has joined #ruby
Cache_Money has joined #ruby
duncannz has joined #ruby
Avahey has joined #ruby
procat has joined #ruby
msgodf has quit [Remote host closed the connection]
D9 has joined #ruby
louism2wash has quit [Quit: This computer has gone to sleep]
mnemon has quit [Quit: No Ping reply in 180 seconds.]
mnemon has joined #ruby
coderhs has joined #ruby
procat has quit [Ping timeout: 252 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coderhs has quit [Client Quit]
linocisco has joined #ruby
kenneth has joined #ruby
seamon has quit [Quit: Bye]
BigRonnieRon has quit [Quit: Textual IRC Client: www.textualapp.com]
SpikeMaster has joined #ruby
devoldmx33 has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<dts|pokeball> uhhh was crystal abandoned?
<linocisco> what is power of ruby? some said Ruby is for small development
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework> Ruby is a powerful general purpose programming language.
<pipework> The language is more powerful than python, but the implementations of those languages all bring great things to the table.
<linocisco> is there any website written in ruby only? I have never seen
<pedahzur> linocisco: There are many web apps written in Ruby.
<pipework> linocisco: How can a website be written only in ruby?
<linocisco> pedahzur, we could not know if it is written in Ruby
<dts|pokeball> my dads company is written in rails
<pipework> They surely must deliver some kind of payload, and since web browsers can't run ruby, they must be sending something else.
parduse has joined #ruby
<dts|pokeball> **companie's site
<Areessell> No web app is written in just one language
<Areessell> A ruby-based server sends HTML & CSS
<Areessell> in response to HTTP requests
<pipework> Areessell: Or something else.
b3itz has joined #ruby
<pipework> Lots of things are written using ruby, though some use it primarily, others don't.
adriancb has joined #ruby
Lucky__ has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
<linocisco> I agree HTML, CSS , flash are just markup like makeup styling. Actually langauge should be soemthing else to interact with Database. That language of website shoud be Ruby. where can I find that website?
<b3itz> hey guys! i have a string such as "2014-11-26 08:35:36" and i need to just extract the "2014-11-26".. how do i go about that?
<dts|pokeball> uhhh
<Areessell> O_o
<dts|pokeball> i think flash is a bit more that that
jlast has joined #ruby
<pipework> linocisco: lol flash.
pu22l3r has quit [Remote host closed the connection]
<Areessell> b3itz: "this that".split.first
<pipework> linocisco: They're all over the internet. What are you hoping to see?
evanjs has joined #ruby
<Areessell> er I think you might have to pass a ' ' to the split method
<b3itz> Areessell: thanks dude
Kricir has quit [Remote host closed the connection]
<pipework> Areessell: Actually, by default the split is space.
eighthbit has joined #ruby
kevr has quit [Quit: ZNC - http://znc.in]
<pipework> >> "hi there".split
<eval-in__> pipework => ["hi", "there"] (https://eval.in/233316)
ValicekB has quit [Ping timeout: 244 seconds]
pcooly has joined #ruby
russt has quit [Quit: russt]
<Areessell> SureYeh just checked in my irb
<Areessell> Then you could use `require 'date'` and `Date.parse` the string to get a Date object instance
_mtr has quit [*.net *.split]
Areessell has quit [*.net *.split]
kobain has quit [*.net *.split]
Yottabyte has quit [*.net *.split]
giuseppesolinas has quit [*.net *.split]
olekenneth has quit [*.net *.split]
Val__ has quit [*.net *.split]
radic has quit [*.net *.split]
BTRE has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
rainfyre has quit [*.net *.split]
f00dMonsta has quit [*.net *.split]
joast has quit [*.net *.split]
zarubin has quit [*.net *.split]
sumark has quit [*.net *.split]
sheepman has quit [*.net *.split]
clamstar has quit [*.net *.split]
j416 has quit [*.net *.split]
parus has quit [*.net *.split]
ccooke has quit [*.net *.split]
adriancb has quit [*.net *.split]
echooo has quit [*.net *.split]
oleo__ has quit [*.net *.split]
lukehold_ has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
econerd4ever has quit [*.net *.split]
yo61 has quit [*.net *.split]
dts|pokeball has quit [*.net *.split]
vjt has quit [*.net *.split]
hgl has quit [*.net *.split]
ycodr has quit [*.net *.split]
skmp_ has quit [*.net *.split]
ceej_irccloud has quit [*.net *.split]
adambeynon_ has quit [*.net *.split]
OliverTynes has quit [*.net *.split]
heftig has quit [*.net *.split]
StoneCypher has quit [*.net *.split]
vt102 has quit [*.net *.split]
shevy has quit [*.net *.split]
Deele has quit [*.net *.split]
Asher has quit [*.net *.split]
leslie has quit [*.net *.split]
camilasan has quit [*.net *.split]
felixjet__ has quit [*.net *.split]
cbetta_ has quit [*.net *.split]
_chs_ has quit [*.net *.split]
lepht has quit [*.net *.split]
dukedave has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
bove has quit [*.net *.split]
CMAXW has quit [*.net *.split]
jrunning has quit [*.net *.split]
happyface has quit [*.net *.split]
im0b has quit [*.net *.split]
pmarreck has quit [*.net *.split]
ELLIOTTCABLE has quit [*.net *.split]
kapowaz has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
ckrailo_ has quit [*.net *.split]
jeaye has quit [*.net *.split]
Trieste has quit [*.net *.split]
Caius has quit [*.net *.split]
warreng has quit [*.net *.split]
graft has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
elektronaut has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
ohcibi has quit [*.net *.split]
pwestlund_away has quit [*.net *.split]
soulcake has quit [*.net *.split]
magicien has quit [*.net *.split]
Bilge has quit [*.net *.split]
cnj has quit [*.net *.split]
chaos_ has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
hmsimha has quit [*.net *.split]
echevemaster has quit [*.net *.split]
Beoran has quit [*.net *.split]
Channel6 has quit [*.net *.split]
neoxquick has quit [*.net *.split]
aef has quit [*.net *.split]
_5kg has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
s00pcan has quit [*.net *.split]
cvtsx1 has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
icedp has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
ddd has quit [*.net *.split]
Fraeon has quit [*.net *.split]
ahri__ has quit [*.net *.split]
vieq has quit [*.net *.split]
tzero has quit [*.net *.split]
sindork has quit [*.net *.split]
mistergibson has quit [*.net *.split]
peterhu has quit [*.net *.split]
cibs has quit [*.net *.split]
RTG` has quit [*.net *.split]
D9 has quit [*.net *.split]
duncannz has quit [*.net *.split]
linocisco has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
Mothore has quit [*.net *.split]
ixti has quit [*.net *.split]
Megtastique has quit [*.net *.split]
mjc_ has quit [*.net *.split]
jshultz has quit [*.net *.split]
ccal has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
djbender has quit [*.net *.split]
bcavileer_ has quit [*.net *.split]
casual_ has quit [*.net *.split]
ZucchiniZe has quit [*.net *.split]
tmoore has quit [*.net *.split]
huddy has quit [*.net *.split]
jeregrine has quit [*.net *.split]
vcoinminer has quit [*.net *.split]
pusewicz has quit [*.net *.split]
Mongey has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
kith has quit [*.net *.split]
Mattias has quit [*.net *.split]
yokel has quit [*.net *.split]
jds has quit [*.net *.split]
ramblinpeck_ has quit [*.net *.split]
ggherdov has quit [*.net *.split]
zrl has quit [*.net *.split]
electrical has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
shelling_ has quit [*.net *.split]
mroth has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
iaj has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
ereslibre has quit [*.net *.split]
ujjain has quit [*.net *.split]
parduse has quit [*.net *.split]
jenrzzz has quit [*.net *.split]
davedev24_ has quit [*.net *.split]
devyn has quit [*.net *.split]
mg^^ has quit [*.net *.split]
kiyote23 has quit [*.net *.split]
existensil has quit [*.net *.split]
deric_skibotn has quit [*.net *.split]
linduxed has quit [*.net *.split]
chipotle has quit [*.net *.split]
chihhsin has quit [*.net *.split]
cajone has quit [*.net *.split]
n80 has quit [*.net *.split]
dyreshark has quit [*.net *.split]
WhereIsMySpoon_ has quit [*.net *.split]
akkad has quit [*.net *.split]
weaksauce has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
Brando753 has quit [*.net *.split]
BaNzounet has quit [*.net *.split]
klaas has quit [*.net *.split]
Guest70457 has quit [*.net *.split]
o0oo0o has quit [*.net *.split]
Sharker has quit [*.net *.split]
iamninja has quit [*.net *.split]
p0wn3d_mhs has quit [*.net *.split]
St_Marx has quit [*.net *.split]
geggam has quit [*.net *.split]
dc_ has quit [*.net *.split]
oo_ has quit [*.net *.split]
Musashi007 has quit [*.net *.split]
ChoiKyuSang has quit [*.net *.split]
gokulnath has quit [*.net *.split]
deavidsedice has quit [*.net *.split]
synergyz has quit [*.net *.split]
phreax has quit [*.net *.split]
nanashiRei has quit [*.net *.split]
Ancient has quit [*.net *.split]
monsieurp has quit [*.net *.split]
tsunamie has quit [*.net *.split]
AmBienCeD has quit [*.net *.split]
WillAmes has quit [*.net *.split]
Spleeze has quit [*.net *.split]
perrier_ has quit [*.net *.split]
MatthewsFace has quit [*.net *.split]
marahin has quit [*.net *.split]
QKO has quit [*.net *.split]
rcs has quit [*.net *.split]
hakunin has quit [*.net *.split]
hellome has quit [*.net *.split]
Mekkis has quit [*.net *.split]
miah has quit [*.net *.split]
ozzloy has quit [*.net *.split]
anafrogue has quit [*.net *.split]
Romance has quit [*.net *.split]
bkutil has quit [*.net *.split]
nerdman has quit [*.net *.split]
nw has quit [*.net *.split]
tskogberg has quit [*.net *.split]
FrankenDaemon has quit [*.net *.split]
Luyt has quit [*.net *.split]
patronus has quit [*.net *.split]
teejar has quit [*.net *.split]
willgorman has quit [*.net *.split]
dwn has quit [*.net *.split]
gogiel has quit [*.net *.split]
Gate has quit [*.net *.split]
xhoy has quit [*.net *.split]
aob has quit [*.net *.split]
mlue has quit [*.net *.split]
crazed has quit [*.net *.split]
okic_ has quit [*.net *.split]
ericwood has quit [*.net *.split]
seanmarcia has quit [*.net *.split]
Evan- has quit [*.net *.split]
zeusmns has quit [*.net *.split]
redondos- has quit [*.net *.split]
hdrv has quit [*.net *.split]
mburns has quit [*.net *.split]
IceDragon has quit [*.net *.split]
n3b_ has quit [*.net *.split]
jcp has quit [*.net *.split]
coderwill has quit [*.net *.split]
Affix has quit [*.net *.split]
eighthbit has quit [*.net *.split]
narcan has quit [*.net *.split]
mikepack has quit [*.net *.split]
apeiros_ has quit [*.net *.split]
banister has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
wink_ndge has quit [*.net *.split]
CustosL1men has quit [*.net *.split]
gr33n7007h has quit [*.net *.split]
edwardly has quit [*.net *.split]
porfa has quit [*.net *.split]
LRgraham has quit [*.net *.split]
retornam has quit [*.net *.split]
dreinull has quit [*.net *.split]
Trynemjoel has quit [*.net *.split]
nisstyre has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
philwantsfish has quit [*.net *.split]
troter__ has quit [*.net *.split]
ghormoon has quit [*.net *.split]
peeja has quit [*.net *.split]
blackgoat has quit [*.net *.split]
androidbruce has quit [*.net *.split]
p4tux has quit [*.net *.split]
rgs has quit [*.net *.split]
tchebb has quit [*.net *.split]
snapcase has quit [*.net *.split]
moted has quit [*.net *.split]
rotor` has quit [*.net *.split]
cescalante has quit [*.net *.split]
hfp_work has quit [*.net *.split]
klap has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
Esya has quit [*.net *.split]
kke_ has quit [*.net *.split]
_KaszpiR_ has quit [*.net *.split]
drjfreeze has quit [*.net *.split]
callumacrae has quit [*.net *.split]
Haiiro has quit [*.net *.split]
headius has quit [*.net *.split]
ikanobori has quit [*.net *.split]
marienz has quit [*.net *.split]
Rene has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
pipework has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
devoldmx33 has quit [*.net *.split]
kenneth has quit [*.net *.split]
Cache_Money has quit [*.net *.split]
linojon has quit [*.net *.split]
ohaibbq has quit [*.net *.split]
troyready has quit [*.net *.split]
psy_ has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
amundj has quit [*.net *.split]
dfas has quit [*.net *.split]
benzrf has quit [*.net *.split]
chishiki has quit [*.net *.split]
M-Technic has quit [*.net *.split]
livcd has quit [*.net *.split]
snowpeas has quit [*.net *.split]
tekacs has quit [*.net *.split]
JStoker has quit [*.net *.split]
Prawnzy_ has quit [*.net *.split]
xsdg_ has quit [*.net *.split]
kenichi has quit [*.net *.split]
p8952 has quit [*.net *.split]
SHyx0rmZ has quit [*.net *.split]
destructure has quit [*.net *.split]
vlad_starkov has quit [*.net *.split]
marcel has quit [*.net *.split]
asuka has quit [*.net *.split]
evanjs has quit [*.net *.split]
claptor has quit [*.net *.split]
TgMts has quit [*.net *.split]
jgrevich has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
akaiiro has quit [*.net *.split]
bahar has quit [*.net *.split]
agit0 has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
geilt has quit [*.net *.split]
kotk has quit [*.net *.split]
speaking1ode has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
shanlar has quit [*.net *.split]
Dr3amc0d3r|away has quit [*.net *.split]
Sgeo has quit [*.net *.split]
jlow has quit [*.net *.split]
nomadic has quit [*.net *.split]
Davey has quit [*.net *.split]
shaman42 has quit [*.net *.split]
helpa has quit [*.net *.split]
mocchi has quit [*.net *.split]
musicmatze has quit [*.net *.split]
lynxman has quit [*.net *.split]
seitensei has quit [*.net *.split]
moshee has quit [*.net *.split]
hfp has quit [*.net *.split]
v0n has quit [*.net *.split]
atta has quit [*.net *.split]
wang has quit [*.net *.split]
Ulrike_Rayne has quit [*.net *.split]
bhaak has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
Patteh has quit [*.net *.split]
juni0r has quit [*.net *.split]
borkdude has quit [*.net *.split]
sivoais has quit [*.net *.split]
btcctf has quit [*.net *.split]
jriese has quit [*.net *.split]
saltsa has quit [*.net *.split]
Pro| has quit [*.net *.split]
Kabaka has quit [*.net *.split]
pontiki has quit [*.net *.split]
dredozubov has quit [*.net *.split]
mikedugan has quit [*.net *.split]
fumduq has quit [*.net *.split]
ruisantos has quit [*.net *.split]
jeekl has quit [*.net *.split]
camt has quit [*.net *.split]
emdub has quit [*.net *.split]
Auv has quit [*.net *.split]
cout has quit [*.net *.split]
anekos_ has quit [*.net *.split]
SpikeMaster has quit [*.net *.split]
Xiti has quit [*.net *.split]
mgberlin has quit [*.net *.split]
snath has quit [*.net *.split]
tokik has quit [*.net *.split]
MartynKeigher-AW has quit [*.net *.split]
cleopatra has quit [*.net *.split]
CrazyM4n has quit [*.net *.split]
galeido has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
st0mar has quit [*.net *.split]
voodoofish430 has quit [*.net *.split]
red_horned_rihno has quit [*.net *.split]
fella6s has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
jarjar_prime has quit [*.net *.split]
wldcordeiro has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
__main__ has quit [*.net *.split]
HOS_nerv has quit [*.net *.split]
Rennex has quit [*.net *.split]
Anarch has quit [*.net *.split]
krisleech has quit [*.net *.split]
KramerC has quit [*.net *.split]
TinkerTyper has quit [*.net *.split]
billy_ran_away has quit [*.net *.split]
riceandbeans has quit [*.net *.split]
webguynow has quit [*.net *.split]
theRoUS has quit [*.net *.split]
pasv^_^_ has quit [*.net *.split]
byte48 has quit [*.net *.split]
doubleem_ has quit [*.net *.split]
sarlalian has quit [*.net *.split]
mosez_ has quit [*.net *.split]
ctrlrsf has quit [*.net *.split]
gkra has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
bascht1 has quit [*.net *.split]
dfedde has quit [*.net *.split]
genta has quit [*.net *.split]
timmmaaaayyy has quit [*.net *.split]
cn28h has quit [*.net *.split]
bmn has quit [*.net *.split]
marens has quit [*.net *.split]
pgmcgee has quit [*.net *.split]
Cyrax_ has quit [*.net *.split]
DrForr has quit [*.net *.split]
jlast has quit [*.net *.split]
hamakn has quit [*.net *.split]
amclain has quit [*.net *.split]
ninjazach has quit [*.net *.split]
crdpink has quit [*.net *.split]
salmonax has quit [*.net *.split]
mloveless has quit [*.net *.split]
Joufflu has quit [*.net *.split]
_JokerDoom has quit [*.net *.split]
rockdon has quit [*.net *.split]
mjmac has quit [*.net *.split]
user083 has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
terrellt has quit [*.net *.split]
cschneid has quit [*.net *.split]
sfr^ has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
postmodern has quit [*.net *.split]
bradland has quit [*.net *.split]
rfv has quit [*.net *.split]
mattmcclure has quit [*.net *.split]
tiagonobre_ has quit [*.net *.split]
pedahzur has quit [*.net *.split]
atomical has quit [*.net *.split]
j2p2 has quit [*.net *.split]
yeticry has quit [*.net *.split]
lsmola has quit [*.net *.split]
kp666 has quit [*.net *.split]
virtualize has quit [*.net *.split]
epochwolf has quit [*.net *.split]
psmolen has quit [*.net *.split]
hostess has quit [*.net *.split]
blackjid_ has quit [*.net *.split]
skarn has quit [*.net *.split]
blindsight has quit [*.net *.split]
mbr has quit [*.net *.split]
PhilK has quit [*.net *.split]
culturelabs has quit [*.net *.split]
GGMethos has quit [*.net *.split]
neersighted has quit [*.net *.split]
dnyy has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
TDJACR_ has quit [*.net *.split]
KC9YDN has quit [*.net *.split]
Seich has quit [*.net *.split]
jalcine has quit [*.net *.split]
brendenb has quit [*.net *.split]
Guest18421 has quit [*.net *.split]
tylersmith has quit [*.net *.split]
ConstantineXVI has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
Paradox has quit [*.net *.split]
artgoeshere has quit [*.net *.split]
cicloid_ has quit [*.net *.split]
gilmour has quit [*.net *.split]
LBRapid has quit [*.net *.split]
ReinH has quit [*.net *.split]
keelerm has quit [*.net *.split]
jxport has quit [*.net *.split]
psyprus has quit [*.net *.split]
Afforess has quit [*.net *.split]
roqo has quit [*.net *.split]
nitrix has quit [*.net *.split]
spectre256 has quit [*.net *.split]
artmann has quit [*.net *.split]
frankS2 has quit [*.net *.split]
TDJACR has quit [*.net *.split]
renier_ has quit [*.net *.split]
papercode has quit [*.net *.split]
kaplejon has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
jpinnix____ has quit [*.net *.split]
twistedpixels has quit [*.net *.split]
jzigmund has quit [*.net *.split]
disperso has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
incomprehensibly has quit [*.net *.split]
george2 has quit [*.net *.split]
Klumben has quit [*.net *.split]
ob has quit [*.net *.split]
fgo has quit [*.net *.split]
cashnguns has quit [*.net *.split]
lucyinthesky has quit [*.net *.split]
dh64 has quit [*.net *.split]
robustus has quit [*.net *.split]
iamayam has quit [*.net *.split]
chu has quit [*.net *.split]
Calmoto has quit [*.net *.split]
JBreit has quit [*.net *.split]
sdwrage has quit [*.net *.split]
Photism has quit [*.net *.split]
Crazy_Atheist has quit [*.net *.split]
AmirolAhmad has quit [*.net *.split]
SCHAAP137 has quit [*.net *.split]
Mia has quit [*.net *.split]
sea_local has quit [*.net *.split]
lampd1 has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
orionstein has quit [*.net *.split]
prasselpikachu has quit [*.net *.split]
TTilus has quit [*.net *.split]
uber has quit [*.net *.split]
Akagi201_ has quit [*.net *.split]
njs126 has quit [*.net *.split]
DivineEntity has quit [*.net *.split]
spacemud has quit [*.net *.split]
irk has quit [*.net *.split]
Karunamon has quit [*.net *.split]
dickoff has quit [*.net *.split]
mgorbach has quit [*.net *.split]
arclitgold has quit [*.net *.split]
ltd has quit [*.net *.split]
hendricius has quit [*.net *.split]
Kamilion has quit [*.net *.split]
ryao has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
hackeron_ has quit [*.net *.split]
mclee has quit [*.net *.split]
weeb1e has quit [*.net *.split]
bdamos has quit [*.net *.split]
jidar has quit [*.net *.split]
zumbi has quit [*.net *.split]
ptierno has quit [*.net *.split]
bline79 has quit [*.net *.split]
malcolmva has quit [*.net *.split]
Platini has quit [*.net *.split]
madhatter has quit [*.net *.split]
rtl has quit [*.net *.split]
marius has quit [*.net *.split]
dandrade has quit [*.net *.split]
BombStrike has quit [*.net *.split]
ukd1 has quit [*.net *.split]
oz has quit [*.net *.split]
three18ti has quit [*.net *.split]
jayne has quit [*.net *.split]
AlyssaDaemon has quit [*.net *.split]
jasonmit has quit [*.net *.split]
sfiggins has quit [*.net *.split]
cherwin has quit [*.net *.split]
danshultz has quit [*.net *.split]
jamo has quit [*.net *.split]
drizz has quit [*.net *.split]
jtperreault has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
gf3 has quit [*.net *.split]
mumblerit has quit [*.net *.split]
minecoins has quit [*.net *.split]
Kruppe has quit [*.net *.split]
stylus has quit [*.net *.split]
Drakevr has quit [*.net *.split]
sparr has quit [*.net *.split]
Roa has quit [*.net *.split]
Takumo has quit [*.net *.split]
sirecote has quit [*.net *.split]
eren has quit [*.net *.split]
faulkner has quit [*.net *.split]
kaichanvong has quit [*.net *.split]
programmerq has quit [*.net *.split]
DanKnox has quit [*.net *.split]
ged has quit [*.net *.split]
drakhu has quit [*.net *.split]
mjulian has quit [*.net *.split]
inukshuk has quit [*.net *.split]
Avahey has quit [*.net *.split]
djdarkbeat has quit [*.net *.split]
jherbst has quit [*.net *.split]
Dopagod has quit [*.net *.split]
mozzarella has quit [*.net *.split]
tercenya has quit [*.net *.split]
codezomb has quit [*.net *.split]
ewilliam has quit [*.net *.split]
MiracleBlue has quit [*.net *.split]
featheryahn has quit [*.net *.split]
bjeanes has quit [*.net *.split]
alol has quit [*.net *.split]
Hanmac has quit [*.net *.split]
machete has quit [*.net *.split]
_Andres has quit [*.net *.split]
avril14th has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
t7y9r has quit [*.net *.split]
kalz has quit [*.net *.split]
gregf has quit [*.net *.split]
ton31337 has quit [*.net *.split]
G has quit [*.net *.split]
Shidash has quit [*.net *.split]
WildBamboo-Josh has quit [*.net *.split]
mbeasley has quit [*.net *.split]
lele has quit [*.net *.split]
ZYPP has quit [*.net *.split]
matchaw has quit [*.net *.split]
exadeci has quit [*.net *.split]
AdamMeghji has quit [*.net *.split]
whoojemaflip has quit [*.net *.split]
kyote has quit [*.net *.split]
bluehavana has quit [*.net *.split]
teotwaki has quit [*.net *.split]
benlakey_ has quit [*.net *.split]
machty has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
akitada has quit [*.net *.split]
daxroc has quit [*.net *.split]
Hien has quit [*.net *.split]
kies has quit [*.net *.split]
SirFunk has quit [*.net *.split]
genpaku has quit [*.net *.split]
ElderFain has quit [*.net *.split]
Dwarf has quit [*.net *.split]
grn has quit [*.net *.split]
majoh has quit [*.net *.split]
jokke has quit [*.net *.split]
canton7 has quit [*.net *.split]
ndrst has quit [*.net *.split]
wlanboy has quit [*.net *.split]
Lucky__ has quit [*.net *.split]
rikai has quit [*.net *.split]
arrubin has quit [*.net *.split]
aZaFred has quit [*.net *.split]
aboudreault has quit [*.net *.split]
CpuID has quit [*.net *.split]
bmags73 has quit [*.net *.split]
jleishman has quit [*.net *.split]
jordsmi has quit [*.net *.split]
unclouded has quit [*.net *.split]
Hijiri has quit [*.net *.split]
frem has quit [*.net *.split]
jblancett has quit [*.net *.split]
npgm has quit [*.net *.split]
cstrahan_ has quit [*.net *.split]
callenb___ has quit [*.net *.split]
charles81 has quit [*.net *.split]
maZtah has quit [*.net *.split]
n1ftyn8 has quit [*.net *.split]
hellschreiber has quit [*.net *.split]
kAworu has quit [*.net *.split]
caveat- has quit [*.net *.split]
t3h_j4n170r has quit [*.net *.split]
atomi has quit [*.net *.split]
marcoamorales has quit [*.net *.split]
Synthead has quit [*.net *.split]
Ridley5 has quit [*.net *.split]
jimmyhoughjr has quit [*.net *.split]
kloeri has quit [*.net *.split]
ph8 has quit [*.net *.split]
MrSamuel has quit [*.net *.split]
claw has quit [*.net *.split]
aspiers_ has quit [*.net *.split]
nickjj has quit [*.net *.split]
El3ktra has quit [*.net *.split]
foundcat has quit [*.net *.split]
Miron has quit [*.net *.split]
suy has quit [*.net *.split]
pragmatism has quit [*.net *.split]
nug has quit [*.net *.split]
lupine has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
zly has quit [*.net *.split]
Su7 has quit [*.net *.split]
tacotaco_ has quit [*.net *.split]
PierreRambaud has quit [*.net *.split]
swartwulf has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
kosmonaut has quit [*.net *.split]
shtirlic has quit [*.net *.split]
Meeh has quit [*.net *.split]
lpaste has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
danoo_ has quit [*.net *.split]
mattjbarlow has quit [*.net *.split]
jimeh has quit [*.net *.split]
SpaceKookie has quit [*.net *.split]
comma8 has quit [*.net *.split]
yvemath has quit [*.net *.split]
BLuEGoD has quit [*.net *.split]
Zackio has quit [*.net *.split]
jrd0 has quit [*.net *.split]
bauruine has quit [*.net *.split]
jnollette has quit [*.net *.split]
heyimwill has quit [*.net *.split]
alem0lars has quit [*.net *.split]
Nightmare has quit [*.net *.split]
blackjid has quit [*.net *.split]
Riking has quit [*.net *.split]
raldu has quit [*.net *.split]
zenspider has quit [*.net *.split]
tessi_zz has quit [*.net *.split]
tris has quit [*.net *.split]
l3kn has quit [*.net *.split]
ejnahc has quit [*.net *.split]
jsaak has quit [*.net *.split]
xfz has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
mattp_ has quit [*.net *.split]
Tarential has quit [*.net *.split]
TrafficMan has quit [*.net *.split]
acalewin has quit [*.net *.split]
twohlix_ has quit [*.net *.split]
drPoggs has quit [*.net *.split]
ght has quit [*.net *.split]
adamholt has quit [*.net *.split]
ddv has quit [*.net *.split]
matrixise has quit [*.net *.split]
ylluminate has quit [*.net *.split]
JimmyNeutron has quit [*.net *.split]
Azure has quit [*.net *.split]
jamooo has quit [*.net *.split]
keen__________ has quit [*.net *.split]
Liothen has quit [*.net *.split]
tyll has quit [*.net *.split]
daynaskully has quit [*.net *.split]
sanguisdex has quit [*.net *.split]
Guest50032 has quit [*.net *.split]
_br_ has quit [*.net *.split]
suffice has quit [*.net *.split]
Xuerian has quit [*.net *.split]
Fusl has quit [*.net *.split]
jbw has quit [*.net *.split]
brixen has quit [*.net *.split]
musl has quit [*.net *.split]
Schmidt has quit [*.net *.split]
pygospa has quit [*.net *.split]
uxp has quit [*.net *.split]
axisys has quit [*.net *.split]
Cork has quit [*.net *.split]
qubit has quit [*.net *.split]
mbwe has quit [*.net *.split]
Bish has quit [*.net *.split]
jamo_ has quit [*.net *.split]
matti has quit [*.net *.split]
Nilium has quit [*.net *.split]
thomas has quit [*.net *.split]
idoru has quit [*.net *.split]
gomikemike has quit [*.net *.split]
aep has quit [*.net *.split]
rigel has quit [*.net *.split]
adam12 has quit [*.net *.split]
kevinfagan has quit [*.net *.split]
snzmn has quit [*.net *.split]
zai has quit [*.net *.split]
mocker has quit [*.net *.split]
crome has quit [*.net *.split]
gomix has quit [*.net *.split]
segv has quit [*.net *.split]
DefV has quit [*.net *.split]
jaffachief has quit [*.net *.split]
lorn has quit [*.net *.split]
Koshian has quit [*.net *.split]
rfi has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
kartouch has quit [*.net *.split]
lest has quit [*.net *.split]
skinny_much has quit [*.net *.split]
DylanJ has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
go|dfish has quit [*.net *.split]
Radar has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
inspectah_stack has quit [*.net *.split]
gremax has quit [*.net *.split]
fold has quit [*.net *.split]
cHarNe2 has quit [*.net *.split]
chuck has quit [*.net *.split]
lsone has quit [*.net *.split]
xlii has quit [*.net *.split]
railis has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
bier has quit [*.net *.split]
palantir has quit [*.net *.split]
SecretAg1nt has quit [*.net *.split]
joeyjones has quit [*.net *.split]
diegok has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
fearoffish has quit [*.net *.split]
adeponte has quit [*.net *.split]
David_Miller has quit [*.net *.split]
philtr has quit [*.net *.split]
lolmaus has quit [*.net *.split]
Eiam has quit [*.net *.split]
trampi has quit [*.net *.split]
totimkopf has quit [*.net *.split]
haroldwu has quit [*.net *.split]
mahlon has quit [*.net *.split]
Rylee has quit [*.net *.split]
nevans has quit [*.net *.split]
thoraxe has quit [*.net *.split]
Rydekull has quit [*.net *.split]
certainty has quit [*.net *.split]
maxmanders has quit [*.net *.split]
julieeharshaw has quit [*.net *.split]
soahccc has quit [*.net *.split]
kevr has joined #ruby
angryzor has quit [*.net *.split]
susmus has quit [*.net *.split]
preller has quit [*.net *.split]
claf has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
vanderh0ff has quit [*.net *.split]
synfin has quit [*.net *.split]
Adran has quit [*.net *.split]
napcae has quit [*.net *.split]
qz has quit [*.net *.split]
JDHankle has quit [*.net *.split]
gregf_ has quit [*.net *.split]
contradictioned has quit [*.net *.split]
totesjakey has quit [*.net *.split]
Obfuscate has quit [*.net *.split]
jmaister has quit [*.net *.split]
eval-in__ has quit [*.net *.split]
yasu has quit [*.net *.split]
pibby has quit [*.net *.split]
s_e has quit [*.net *.split]
Kovensky has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
finges has quit [*.net *.split]
qpls_ has quit [*.net *.split]
scottyob has quit [*.net *.split]
Muz has quit [*.net *.split]
eregon has quit [*.net *.split]
FifthWall has quit [*.net *.split]
neoice has quit [*.net *.split]
nullsign has quit [*.net *.split]
clocKwize_ has quit [*.net *.split]
pizzaops has quit [*.net *.split]
ahuman has quit [*.net *.split]
crodas has quit [*.net *.split]
Jelco has quit [*.net *.split]
xybre has quit [*.net *.split]
ryotarai has quit [*.net *.split]
sweeper has quit [*.net *.split]
scottymeuk has quit [*.net *.split]
Scient has quit [*.net *.split]
IceyEC_ has quit [*.net *.split]
okinomo_ has quit [*.net *.split]
davidcelis has quit [*.net *.split]
n88 has quit [*.net *.split]
wmoxam has quit [*.net *.split]
crazysim has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
eythoriu1 has quit [*.net *.split]
pcooly has quit [*.net *.split]
b3itz has quit [*.net *.split]
tejas-manohar has quit [*.net *.split]
tus has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
jcdesimp has quit [*.net *.split]
xymbol_ has quit [*.net *.split]
braincra- has quit [*.net *.split]
diego_ar has quit [*.net *.split]
FaresKAlaboud has quit [*.net *.split]
matled has quit [*.net *.split]
bjornar has quit [*.net *.split]
terlar has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
zacts has quit [*.net *.split]
gtc has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
defam has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
TheNumb has quit [*.net *.split]
Heartbroken has quit [*.net *.split]
swilr_ has quit [*.net *.split]
Guest49178 has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
deepy has quit [*.net *.split]
kalleth has quit [*.net *.split]
sonOfRa has quit [*.net *.split]
dazeddev has quit [*.net *.split]
jerrett_ has quit [*.net *.split]
Senjai has quit [*.net *.split]
wasamasa has quit [*.net *.split]
codehotter has quit [*.net *.split]
cephalostrum has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
bafbomb has quit [*.net *.split]
fumk has quit [*.net *.split]
mame1 has quit [*.net *.split]
Zolty_ has quit [*.net *.split]
haasn has quit [*.net *.split]
dualbus has quit [*.net *.split]
erichmenge has quit [*.net *.split]
Nowaker has quit [*.net *.split]
bri has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
timmow has quit [*.net *.split]
Killerkeksdose_ has quit [*.net *.split]
optiz0r has quit [*.net *.split]
waxjar has quit [*.net *.split]
sptq has quit [*.net *.split]
evvel2 has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
Morrolan has quit [*.net *.split]
epitron has quit [*.net *.split]
eam has quit [*.net *.split]
dylannorthrup has quit [*.net *.split]
pl1ght has quit [*.net *.split]
Cope has quit [*.net *.split]
Junaos has quit [*.net *.split]
slash_nick has quit [*.net *.split]
zonetti has quit [*.net *.split]
wereHamster has quit [*.net *.split]
dayid has quit [*.net *.split]
mist has quit [*.net *.split]
KillerFox has quit [*.net *.split]
bankair has quit [*.net *.split]
TheBrayn has quit [*.net *.split]
tomaw has quit [*.net *.split]
bl4ckdu5t has quit [Max SendQ exceeded]
bl4ckdu5t has joined #ruby
econerd4ever has joined #ruby
terrellt has joined #ruby
kevr has quit [Max SendQ exceeded]
agit0 has joined #ruby
vlad_starkov has joined #ruby
cicloid_ has joined #ruby
ItSANgo has joined #ruby
wang has joined #ruby
bascht1 has joined #ruby
leslie has joined #ruby
ptierno has joined #ruby
ghormoon has joined #ruby
LiquidInsect has joined #ruby
TTilus has joined #ruby
synergyz has joined #ruby
WildBamboo-Josh has joined #ruby
artmann has joined #ruby
atomi has joined #ruby
swartwulf has joined #ruby
TDJACR_ has joined #ruby
cescalante has joined #ruby
rotor` has joined #ruby
thesheff17 has joined #ruby
thoraxe has joined #ruby
byte48 has joined #ruby
rtl has joined #ruby
adeponte has joined #ruby
bmn has joined #ruby
elaptics`away has joined #ruby
redondos- has joined #ruby
yeltzooo has joined #ruby
twohlix_ has joined #ruby
eregon has joined #ruby
FifthWall has joined #ruby
railis has joined #ruby
dylannorthrup has joined #ruby
KillerFox has joined #ruby
snzmn has joined #ruby
Scient has joined #ruby
Nowaker has joined #ruby
ght has joined #ruby
DefV has joined #ruby
adamholt has joined #ruby
n88 has joined #ruby
xlii has joined #ruby
freerobby has joined #ruby
<Areessell> Drugs.all.each(&:share)
<pipework> Why isn't the object at Drugs already enumerable?
<Areessell> Because the dev was high
<SpikeMaster> what is the best distro of linux?
ValicekB has joined #ruby
<Areessell> The one you like
<shevy> well
Cache_Money has joined #ruby
<shevy> that too
fandi has joined #ruby
bl4ckdu5t is now known as Guest84649
SpikeMaster has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
lemur has joined #ruby
kevr has joined #ruby
pu22l3r has joined #ruby
lemur has quit [Remote host closed the connection]
ebbflowgo has joined #ruby
lemur has joined #ruby
startupality has joined #ruby
fabrice31 has joined #ruby
<linocisco> shevy, please may I know what the perl's philosophy is?
<shevy> linocisco I thought it was the spaghetti monster
<shevy> eam probably knows more about perl's philosophy than I do
mjuszczak has joined #ruby
AlbertoCG has joined #ruby
<linocisco> eam?
<linocisco> eam, your comments please! I am in the middle of newwhere what programming langauge I should use to work with Digium Asterisk
<pipework> linocisco: Try Pascal.
startupality has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 265 seconds]
<linocisco> pipework, It is End Of Life. no longer active
<Areessell> Assembly
<linocisco> pipework, ruby is like pascale code.
<pipework> linocisco: IS it?
<linocisco> Areessell, Mov AH
<pipework> FreePascal isn't EOL.
<pipework> Last I heard.
mjuszczak has quit []
<linocisco> I think you all dont know Digium's Asterisk. that is why you are all talking about low level langauges which are assumed to work with
<pipework> You obviously need to use erlang.
jeanlinux has joined #ruby
yfeldblum has joined #ruby
t_p has joined #ruby
<Areessell> You're just.. asking weird questions that could probably be answered with a few minutes of googling
j_mcnally has joined #ruby
cpruitt has joined #ruby
ajaiswal has joined #ruby
cpruitt has quit [Client Quit]
<shevy> google for him Areessell!
<pipework> shevy: Google faster!
boombadaroomba has joined #ruby
<shevy> I am way too lazy to google
<shevy> I would do the very same thing as my brother linocisco does
<shevy> Areessell but he still don't know what to google :(
<Areessell> Internets are hard =(
<shevy> perhaps he wants to hear it from the experts
radic has joined #ruby
<shevy> linocisco have we been able to answer your questions?
jeanlinux has quit [Remote host closed the connection]
Rollabunna has joined #ruby
boombadaroomba has quit [Ping timeout: 256 seconds]
<linocisco> Tango Yankee. All bros
t_p has quit [Read error: Connection reset by peer]
<shevy> see - he is already integrated very well
pauly_oc has joined #ruby
<shevy> linocisco you could use any language right? like php
<linocisco> shevy, you got the point. I know japanese. Ruby is created by japanese guy. so... can I learn it faster. No way !! :P
<Areessell> I'm pretty sure you're looking for something like: https://github.com/emilianodellacasa/ruby-asterisk ?
<shevy> linocisco well, the language ruby in itself uses english keywords
<shevy> class Foo; end
<shevy> yield if block_given?
<linocisco> shevy, very much like pascal syntax
<shevy> container.each
<shevy> naaah man
<shevy> don't insult ruby like that
<shevy> if i in [5..10] then ...
Mothore has joined #ruby
<shevy> ^^^ python-like !
<Areessell> Pascal is procedural
<shevy> NodePtr^.a := 10;
<shevy> the := is assignment?
babykosh has joined #ruby
<benzrf> shevy: that's valid haskell sy ntax!
<shevy> I don't think anyone is using haskell these days
babykosh has quit [Client Quit]
<shevy> TIOBE agrees!!!
<shevy> wow
<shevy> ruby is dying
<shevy> perl has been growing a lot
<shevy> TIOBE knows things
<Areessell> lol Visual Basic is more popular
narcan has joined #ruby
econerd4ever has quit [Remote host closed the connection]
econerd4ever has joined #ruby
sevenseacat has joined #ruby
AlexRussia has joined #ruby
pwnz0r has joined #ruby
pu22l3r has quit [Remote host closed the connection]
<shevy> well
<shevy> it makes big money
econerd4ever has quit [Ping timeout: 252 seconds]
bricker`work has joined #ruby
rshetty has joined #ruby
spicerack has joined #ruby
<linocisco> shevy, what made big money?
<Areessell> VB
<shevy> Visual Basic
ebbflowgo has quit [Quit: ebbflowgo]
<Areessell> Its a rapid application development language. Ya drag n drop controls n such
jack_rabbit has joined #ruby
<linocisco> Areessell, it is microsoft product
<Areessell> Ok
<linocisco> Areessell, visual C++ is also like that
apoorvparijat has joined #ruby
<linocisco> Areessell, java is like that
<Areessell> Ok
<linocisco> C is all time TOP
jlast has joined #ruby
<Areessell> Fastest language out there besides assembly IIRC
<linocisco> why? very every future languages are based on C
t_p has joined #ruby
<Areessell> Huh?
<Areessell> Why is it fast?
<jhass> Areessell: isn't julia faster?
<linocisco> machine langauage. Years ago I found assembly codes are embedded in C for performance
<Areessell> jhass: Never heard of it
<jhass> linocisco: not true
<jhass> quite some languages are written in themselves
synergyz has quit [Ping timeout: 264 seconds]
<jhass> Areessell: anyway, no language is in all aspects under all workloads faster than any other language
<jhass> you always need to look at the usecase and workload at hand
<linocisco> it might be. The reason why low level lanaguages are popular is they can access machine level quickly than others.
<jhass> general benchmarks are pretty useless
Adran has joined #ruby
<linocisco> but hard to learn
krz has joined #ruby
aewffwea has joined #ruby
davedev24_ has joined #ruby
<aewffwea> How do you create a hash map with an identity function as default element?
<jhass> aewffwea: got some pseudo code of what you want?
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
mylar has joined #ruby
arup_r has joined #ruby
adriancb has joined #ruby
pu22l3r has joined #ruby
arup_r has quit [Client Quit]
Kricir has joined #ruby
Megtastique has joined #ruby
braincrash has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
yourabi has joined #ruby
mjuszczak has joined #ruby
Megtastique has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
Xiti` has joined #ruby
Xiti` has quit [Read error: Connection reset by peer]
anaeem1_ has joined #ruby
giuseppesolinas has joined #ruby
gokul has joined #ruby
anaeem1_ has quit [Read error: Connection reset by peer]
mjuszczak has quit [Client Quit]
adriancb has quit [Remote host closed the connection]
Asher has joined #ruby
Asher has quit [Client Quit]
anaeem1 has joined #ruby
gokul has quit [Client Quit]
Asher has joined #ruby
gokul has joined #ruby
Xiti has joined #ruby
parabolize has joined #ruby
red_horned_rihno has joined #ruby
russt has joined #ruby
Musashi007_ has joined #ruby
apoorvpa_ has joined #ruby
max96at|off has quit [Ping timeout: 256 seconds]
max96at|off has joined #ruby
JBreit has left #ruby ["Leaving"]
max96at|off is now known as max96at
mjuszczak has joined #ruby
apoorvparijat has quit [Ping timeout: 255 seconds]
moonarys has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
<moonarys> what is n - 1? i always see it in arrays and ranges
red_horned_rihno has quit [Ping timeout: 245 seconds]
mnemon has quit [Quit: No Ping reply in 180 seconds.]
<aewffwea> How do you create a hash map with an identity function as default element?
bricker`work has quit [Ping timeout: 258 seconds]
Tarential has joined #ruby
mjuszczak has quit [Client Quit]
mnemon has joined #ruby
mjuszczak has joined #ruby
Lutece has joined #ruby
adriancb has joined #ruby
rshetty has quit [Remote host closed the connection]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
mjuszczak has quit [Client Quit]
procat has joined #ruby
AlbertoCG has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
jusmyth has joined #ruby
procat has quit [Ping timeout: 255 seconds]
kyb3r_ has joined #ruby
Rx_o has joined #ruby
Rx_o has quit [Remote host closed the connection]
emmesswhy has joined #ruby
dseitz has joined #ruby
sargas has joined #ruby
jlast has joined #ruby
Takle has joined #ruby
econerd4ever has joined #ruby
rshetty_ has joined #ruby
rshetty_ has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
davedev24_ has quit []
jlast_ has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
Takle has quit [Ping timeout: 264 seconds]
echevemaster has joined #ruby
synergyz has joined #ruby
bluOxigen has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
emmesswhy has quit [Quit: This computer has gone to sleep]
devoldmx has joined #ruby
kenneth has joined #ruby
bluOxigen has quit [Client Quit]
adriancb has quit [Remote host closed the connection]
moonarys has quit [Ping timeout: 246 seconds]
emmesswhy has joined #ruby
_mtr has joined #ruby
dc_ has joined #ruby
goodenough has joined #ruby
Lutece has quit [Quit: HydraIRC -> http://www.hydrairc.com <- The alternative IRC client]
fabrice31 has joined #ruby
Megtastique has joined #ruby
louism2wash has joined #ruby
kuda has joined #ruby
_mtr has quit [Ping timeout: 245 seconds]
dc_ has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
Morkel has joined #ruby
jbjuly has joined #ruby
bluOxigen has joined #ruby
louism2wash has quit [Quit: This computer has gone to sleep]
louism2wash has joined #ruby
xcesariox has joined #ruby
red_horned_rihno has joined #ruby
<aewffwea> How do you create a hash map with an identity function as default element?
dfinninger has joined #ruby
uber_hulk has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
ARCADIVS has joined #ruby
wjimenez5271 has joined #ruby
apoorvpa_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
devoldmx has quit [Ping timeout: 258 seconds]
jlast_ has quit [Ping timeout: 258 seconds]
wjimenez5271 has quit [Ping timeout: 264 seconds]
t7y9r has joined #ruby
jusmyth has left #ruby [#ruby]
fedexo has joined #ruby
Joufflu has joined #ruby
dfinninger has quit [Remote host closed the connection]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jusmyth has joined #ruby
Macaveli has joined #ruby
t7y9r has quit [Ping timeout: 252 seconds]
jusmyth has left #ruby [#ruby]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mylar has quit []
xcesariox has joined #ruby
ramfjord has joined #ruby
bears has joined #ruby
KnownSyntax has joined #ruby
mnemon has quit [Quit: No Ping reply in 180 seconds.]
mnemon has joined #ruby
Macaveli has quit [Ping timeout: 244 seconds]
narcan has joined #ruby
bears has quit [Remote host closed the connection]
narcan has quit [Max SendQ exceeded]
Musashi007_ has quit [Quit: Musashi007_]
Megtastique has quit []
Abhijit_ has joined #ruby
Abhijit_ is now known as Abhijit
<parabolize> h = {}; h.default=h
<parabolize> >> h = {:a => 'a'}; h.default=h; h[:b]
<eval-in__> parabolize => {:a=>"a"} (https://eval.in/233321)
<parabolize> When would you want that behavior?
<parabolize> aewffwea: ^
econerd4ever has quit [Remote host closed the connection]
econerd4ever has joined #ruby
<aewffwea> parabolize: beacuse I need to define some transformation for some strings
<aewffwea> they are on a hash, so each string is under a key
<aewffwea> and I only want to apply transformations to some keys
ph8 has joined #ruby
<parabolize> ah, 'identity function' is a little vague.
uber_hulk has quit [Quit: leaving]
Musashi007 has joined #ruby
<aewffwea> parabolize: a function that for a string f returns the same string f
econerd4ever has quit [Ping timeout: 260 seconds]
uber_hulk has joined #ruby
uber_hulk has quit [Client Quit]
ajaiswal has quit [Quit: Leaving]
uber_hulk has joined #ruby
lemur has joined #ruby
lemur has quit [Remote host closed the connection]
louism2wash has quit [Quit: This computer has gone to sleep]
econerd4ever has joined #ruby
jlast has joined #ruby
jlast_ has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
duncannz has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
devoldmx33 has joined #ruby
echevemaster has quit [Remote host closed the connection]
mnemon has quit [Quit: No Ping reply in 180 seconds.]
jgrevich has joined #ruby
mnemon has joined #ruby
chrishough has joined #ruby
geiltalasdair has joined #ruby
geiltalasdair has quit [Read error: Connection reset by peer]
geiltalasdair has joined #ruby
graydot has joined #ruby
yfeldblum has joined #ruby
goodenough has quit [Remote host closed the connection]
graydot_ has joined #ruby
Hobogrammer has joined #ruby
geiltadecht has joined #ruby
graydot_ has quit [Client Quit]
graydot has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
jdj_dk has quit [Remote host closed the connection]
duncannz has joined #ruby
geilt has joined #ruby
geiltalasdair has quit [Ping timeout: 244 seconds]
duncannz has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 260 seconds]
lemur has joined #ruby
pu22l3r has quit [Remote host closed the connection]
geiltadecht has quit [Ping timeout: 244 seconds]
<parabolize> aewffwea: like this? http://pastie.org/private/8u2s8ol0cou9cpkjubjda
maestrojed has joined #ruby
<aewffwea> parabolize: part of that, but I have one hash with keys and values... and I want to have another hash, to apply transformations to the values based on the key of the first hash
giuseppesolinas has quit [Quit: This computer has gone to sleep]
mnemon has quit [Quit: No Ping reply in 180 seconds.]
mnemon has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
<parabolize> ah, by key not value >.<
<parabolize> use Hash#replace
pu22l3r has joined #ruby
pwnz0r has quit [Remote host closed the connection]
dseitz has quit [Ping timeout: 265 seconds]
kenneth has joined #ruby
procat has joined #ruby
sevenseacat has quit [Ping timeout: 244 seconds]
<parabolize> nevermind that replaces the entire hash..
Guest97 has joined #ruby
arya_ching has joined #ruby
procat has quit [Ping timeout: 258 seconds]
dseitz has joined #ruby
<parabolize> aewffwea: I'm sure there is a better way to do this but: http://pastie.org/private/2br2dg8mytcsgfczu7qmtq#
econerd4ever has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sigurding has joined #ruby
econerd4ever has joined #ruby
<aewffwea> that's not what I want
kenneth has joined #ruby
tercenya_ has joined #ruby
oo__ has joined #ruby
Spami has joined #ruby
kenneth has quit [Client Quit]
<parabolize> ... you have access to the values in that block so you can make transformations with it.
mnemon has quit [Quit: No Ping reply in 180 seconds.]
econerd4ever has quit [Ping timeout: 244 seconds]
mnemon has joined #ruby
nfk has joined #ruby
bier has joined #ruby
jenrzzz has joined #ruby
<parabolize> err.. forgot to change the output to ["ax", "y", "c", "d"]
o0oo0o has joined #ruby
Takle has joined #ruby
sevenseacat has joined #ruby
Takle has quit [Ping timeout: 250 seconds]
<parabolize> you could just clone the hash. new_hash = old_hash.clone; new_hash[:a] = new_hash[:a].gsub('a', 'z')
sigurding has quit [Quit: sigurding]
AlexRussia has quit [Ping timeout: 250 seconds]
tobago has joined #ruby
arya_ching has quit [Ping timeout: 244 seconds]
AlexRussia has joined #ruby
sinequanon has joined #ruby
_mtr has joined #ruby
lukeholder has joined #ruby
econerd4ever has joined #ruby
tagrudev has joined #ruby
arup_r has joined #ruby
fabrice31 has joined #ruby
Guest97 has left #ruby ["Textual IRC Client: www.textualapp.com"]
apeiros__ has joined #ruby
lukeholder has quit [Max SendQ exceeded]
kenneth has joined #ruby
lukeholder has joined #ruby
_mtr has quit [Ping timeout: 255 seconds]
lukeholder has quit [Max SendQ exceeded]
econerd4ever has quit [Ping timeout: 255 seconds]
sinequanon has quit [Remote host closed the connection]
devoldmx33 has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 265 seconds]
Nameo0 has joined #ruby
last_staff has joined #ruby
lukeholder has joined #ruby
Macaveli has joined #ruby
sinequanon has joined #ruby
sigurding has joined #ruby
pu22l3r has quit [Remote host closed the connection]
ramfjord has quit [Quit: leaving]
SOLDIERz has joined #ruby
_mtr has joined #ruby
fawefeawfewa has joined #ruby
apeiros__ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
aewffwea has quit [Ping timeout: 255 seconds]
pedahzur has joined #ruby
agit0 has quit [Quit: This computer has gone to sleep]
rshetty has quit [Remote host closed the connection]
aewffwea has joined #ruby
lukeholder has quit [Ping timeout: 272 seconds]
pedahzur has quit [Client Quit]
<Nameo0> Hello! =) I have having trouble with my code. The issue is that the aray somehow duplicates the second item that is pushed into it and one of hte duplicates overwrites the initial item.
sevenseacat has quit [*.net *.split]
dseitz has quit [*.net *.split]
ARCADIVS has quit [*.net *.split]
Xiti has quit [*.net *.split]
yourabi has quit [*.net *.split]
t_p has quit [*.net *.split]
radic has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
tobago has quit [*.net *.split]
duncannz has quit [*.net *.split]
Hobogrammer has quit [*.net *.split]
chrishough has quit [*.net *.split]
uber_hulk has quit [*.net *.split]
parabolize has quit [*.net *.split]
Asher has quit [*.net *.split]
anaeem1 has quit [*.net *.split]
leslie has quit [*.net *.split]
fawefeawfewa has quit [*.net *.split]
Macaveli has quit [*.net *.split]
bluOxigen has quit [*.net *.split]
Rollabunna has quit [*.net *.split]
braincrash has quit [*.net *.split]
krz has quit [*.net *.split]
aewffwea has quit [*.net *.split]
gokul has quit [*.net *.split]
Cache_Money has quit [*.net *.split]
o0oo0o has quit [*.net *.split]
maestrojed has quit [*.net *.split]
max96at has quit [*.net *.split]
redondos- has quit [*.net *.split]
kenneth has quit [*.net *.split]
xcesariox has quit [*.net *.split]
emmesswhy has quit [*.net *.split]
ValicekB has quit [*.net *.split]
ghormoon has quit [*.net *.split]
rotor` has quit [*.net *.split]
cescalante has quit [*.net *.split]
SOLDIERz has quit [*.net *.split]
sinequanon has quit [*.net *.split]
Nameo0 has quit [*.net *.split]
tagrudev has quit [*.net *.split]
Spami has quit [*.net *.split]
oo__ has quit [*.net *.split]
Tarential has quit [*.net *.split]
j_mcnally has quit [*.net *.split]
vlad_starkov has quit [*.net *.split]
last_staff has quit [*.net *.split]
ph8 has quit [*.net *.split]
fandi has quit [*.net *.split]
wang has quit [*.net *.split]
fedexo has quit [*.net *.split]
red_horned_rihno has quit [*.net *.split]
kuda has quit [*.net *.split]
spicerack has quit [*.net *.split]
byte48 has quit [*.net *.split]
bascht1 has quit [*.net *.split]
bmn has quit [*.net *.split]
lxsameer has quit [*.net *.split]
lemur has quit [*.net *.split]
jlast_ has quit [*.net *.split]
Joufflu has quit [*.net *.split]
Mothore has quit [*.net *.split]
pauly_oc has quit [*.net *.split]
terrellt has quit [*.net *.split]
TDJACR_ has quit [*.net *.split]
cicloid_ has quit [*.net *.split]
artmann has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
bier has quit [*.net *.split]
tercenya_ has quit [*.net *.split]
geilt has quit [*.net *.split]
kyb3r_ has quit [*.net *.split]
jack_rabbit has quit [*.net *.split]
TTilus has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
ptierno has quit [*.net *.split]
rtl has quit [*.net *.split]
nfk has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
jgrevich has quit [*.net *.split]
Abhijit has quit [*.net *.split]
Kricir has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
WildBamboo-Josh has quit [*.net *.split]
KnownSyntax has quit [*.net *.split]
Morkel has quit [*.net *.split]
synergyz has quit [*.net *.split]
Adran has quit [*.net *.split]
atomi has quit [*.net *.split]
swartwulf has quit [*.net *.split]
twohlix_ has quit [*.net *.split]
ght has quit [*.net *.split]
adamholt has quit [*.net *.split]
_mtr has quit [*.net *.split]
sigurding has quit [*.net *.split]
arup_r has quit [*.net *.split]
jenrzzz has quit [*.net *.split]
russt has quit [*.net *.split]
snzmn has quit [*.net *.split]
DefV has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
xlii has quit [*.net *.split]
railis has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
adeponte has quit [*.net *.split]
thoraxe has quit [*.net *.split]
eregon has quit [*.net *.split]
FifthWall has quit [*.net *.split]
Scient has quit [*.net *.split]
n88 has quit [*.net *.split]
apeiros_ has quit [*.net *.split]
jbjuly has quit [*.net *.split]
Nowaker has quit [*.net *.split]
dylannorthrup has quit [*.net *.split]
KillerFox has quit [*.net *.split]
kevr has quit [Max SendQ exceeded]
Guest84649 has quit [Max SendQ exceeded]
bl4ckdu5t has joined #ruby
kevr has joined #ruby
kevr has quit [Max SendQ exceeded]
Musashi007 has joined #ruby
spicerack has joined #ruby
tgandrews has joined #ruby
aewffwea has joined #ruby
lxsameer has joined #ruby
jenrzzz has joined #ruby
Spami has joined #ruby
tagrudev has joined #ruby
sevenseacat has joined #ruby
kenneth has joined #ruby
dseitz has joined #ruby
nfk has joined #ruby
yfeldblum has joined #ruby
xcesariox has joined #ruby
Tarential has joined #ruby
Nameo0 has joined #ruby
geilt has joined #ruby
max96at has joined #ruby
KnownSyntax has joined #ruby
Kricir has joined #ruby
braincrash has joined #ruby
parabolize has joined #ruby
fgo has joined #ruby
jack_rabbit has joined #ruby
linojon has joined #ruby
linocisco has joined #ruby
radic has joined #ruby
claptor has joined #ruby
rikai has joined #ruby
tokik has joined #ruby
codehotter has joined #ruby
dts|pokeball has joined #ruby
livcd has joined #ruby
webguynow has joined #ruby
blackgoat has joined #ruby
susmus has joined #ruby
fella6s has joined #ruby
shanlar has joined #ruby
ramblinpeck_ has joined #ruby
PaulePanter has joined #ruby
adeponte has joined #ruby
julieeharshaw has joined #ruby
xlii has joined #ruby
<sevenseacat> nokogiri is what you want.
noop has joined #ruby
<Nameo0> The issue with nokorigi that I had was that I could not find any documentation on how to go to a select element. (There are no IDs or Names on the website)
<Nameo0> that I'm trying to scrap
TgMts has joined #ruby
Musashi007 has quit [Client Quit]
<Nameo0> sevenseacat: Okay, I'll give Nokogiri another try. Thansk for your help. =)
spicerack has quit [Client Quit]
lukeholder has joined #ruby
kevr has joined #ruby
aganov has joined #ruby
Xeago has joined #ruby
decoponio has joined #ruby
spicerack has joined #ruby
Calmoto1 has joined #ruby
mnemon has quit [Quit: No Ping reply in 180 seconds.]
bl4ckdu5t is now known as Guest73409
mnemon has joined #ruby
kevr has quit [Changing host]
kevr has joined #ruby
spicerack has quit [Client Quit]
sinkensabe has joined #ruby
Abhijit has joined #ruby
bal has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrCode has joined #ruby
kenneth has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
Musashi007 has joined #ruby
anarang has joined #ruby
TgMts has joined #ruby
TgMts has quit [Client Quit]
TgMts has joined #ruby
mnemon has quit [Quit: No Ping reply in 180 seconds.]
mnemon has joined #ruby
lukehold_ has joined #ruby
econerd4ever has joined #ruby
<linocisco> I am using ruby on windows
<linocisco> but whenever I type "gem search ...." , I got error "ERROR: While executing gem ... (URI::InvalidURIError)
<linocisco> the scheme http does not accept registry part: username:password@proxy:port (or bad hostname?)"
dts|pokeball has quit [Read error: Connection reset by peer]
lukeholder has quit [Ping timeout: 250 seconds]
rshetty has joined #ruby
dts|pokeball has joined #ruby
mnemon has quit [Client Quit]
lukeholder has joined #ruby
boombadaroomba has joined #ruby
goodenough has joined #ruby
lukehold_ has quit [Ping timeout: 250 seconds]
fandi has joined #ruby
mnemon has joined #ruby
<Nameo0> Hello. I am getting an error when I try to run my code that uses Nokogiri and Mechanize. Code and error are present here: https://gist.github.com/Nameo0/d3b0961780c2b8adf6d8
<Nameo0> If someone could look into this, I would be over-joyed!
TgMts has quit [Quit: No Ping reply in 180 seconds.]
boombadaroomba has quit [Ping timeout: 240 seconds]
TgMts has joined #ruby
<sevenseacat> Nameo0: `css` is a method on a nokogiri document. not on a string.
<sevenseacat> Nameo0: its not a great idea t owrite huge blobs of code without testing any of it.
rkday has joined #ruby
<Nameo0> The first part works. I just don't know how to get Nokogiri to scrap the page that is returned after Mechanize submits the form.
<Nameo0> Line 27 in hte gist file is where my terminal is telling me that I am having an issue
jlast has joined #ruby
chinmay_dd has joined #ruby
<sevenseacat> becuase search_results_body is a string.
<sevenseacat> not a nokogiri document.
TgMts has quit [Client Quit]
rurban_ has joined #ruby
rurban_ has left #ruby [#ruby]
TgMts has joined #ruby
surs has joined #ruby
rimantas has joined #ruby
JohnBat26 has joined #ruby
<Nameo0> sevenseacat: How do I turn search_results_body into a nokogiri document?
echooo1 has joined #ruby
craigp has joined #ruby
<Nameo0> Is it as simple as jsut creating a file?
fabrice31 has joined #ruby
tgandrews has quit [Quit: This computer has gone to sleep]
tgandrews has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
rshetty has quit [Remote host closed the connection]
TgMts has joined #ruby
echooo has joined #ruby
DrCode has quit [Ping timeout: 250 seconds]
echooo1 has quit [Ping timeout: 244 seconds]
CorySimmons has joined #ruby
econerd4ever has quit [Remote host closed the connection]
agit0 has joined #ruby
<El3ktra> Hey there, n00b question...
<El3ktra> Having trouble with the ForbiddenAttributesError error.
TgMts has quit [Client Quit]
roolo has joined #ruby
craigp has quit [Remote host closed the connection]
<El3ktra> I am early in the process, so I want to pass the entire object in to be updated
<sevenseacat> no you dont
kwd has joined #ruby
kwd has quit [Client Quit]
craigp has joined #ruby
<El3ktra> do I really have to list out each parameter individually?
<sevenseacat> you list out the attributes you want, yes.
<certainty> moin
TgMts has joined #ruby
<El3ktra> no way to say "all"?
Takle has joined #ruby
<sevenseacat> you dont want to do that. thats a security hole.
<El3ktra> ok, thanks!
Spami has quit [Quit: This computer has gone to sleep]
codecop has joined #ruby
roolo has quit [Ping timeout: 244 seconds]
ht__th has joined #ruby
craigp has quit [Remote host closed the connection]
<certainty> sevenseacat: who cares about security :D
craigp has joined #ruby
adriancb has joined #ruby
TgMts has quit [Client Quit]
oo_ has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
rkday has quit [Ping timeout: 264 seconds]
rdark has joined #ruby
TgMts has joined #ruby
msgodf has joined #ruby
echooo1 has joined #ruby
abc1298 has joined #ruby
abc1298 has left #ruby [#ruby]
adriancb has quit [Ping timeout: 250 seconds]
hamakn has joined #ruby
jgrevich_ has joined #ruby
bricker`work has joined #ruby
echooo has quit [Ping timeout: 258 seconds]
jgrevich_ is now known as jgrevich
tgandrews has quit [Quit: This computer has gone to sleep]
DrCode has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
Areessell has joined #ruby
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
TgMts has joined #ruby
o0oo0o has joined #ruby
p0wn3d_mhs has joined #ruby
kuda has joined #ruby
Nameo0 has quit [Quit: Leaving]
iamninja has joined #ruby
tobago has joined #ruby
craigp has quit [Remote host closed the connection]
craigp has joined #ruby
camilasan has joined #ruby
hs366 has joined #ruby
procat has joined #ruby
echooo1 has quit [Ping timeout: 245 seconds]
jheg has joined #ruby
TgMts has quit [Client Quit]
TgMts has joined #ruby
gener1c has joined #ruby
St_Marx has joined #ruby
echooo has joined #ruby
Sharker has joined #ruby
craigp has quit [Ping timeout: 245 seconds]
procat has quit [Ping timeout: 252 seconds]
samuel02 has joined #ruby
timonv_ has joined #ruby
st0mar has joined #ruby
TgMts has quit [Client Quit]
Takle has joined #ruby
fgo_ has joined #ruby
Takle has quit [Remote host closed the connection]
TgMts has joined #ruby
jgrevich has quit [Quit: jgrevich]
fgo has quit [Ping timeout: 255 seconds]
TomyWork has joined #ruby
jheg has quit [Quit: jheg]
samuel02 has quit [Remote host closed the connection]
einarj has joined #ruby
TgMts has quit [Client Quit]
AxonetBE has joined #ruby
st0mar has quit [Ping timeout: 250 seconds]
Calmoto1 is now known as Calmoto
<El3ktra> grr
TgMts has joined #ruby
<El3ktra> so I have an instance of Migration in my project (ActiveRecord::Migration) with a xxx_create_xx.rb file
<El3ktra> but when I run rake db_migrate, the schema.rb file isn't being updated
<El3ktra> any idea what I am doing wrong?
tgandrews has joined #ruby
<sevenseacat> without seeing the code? no.
<sevenseacat> without seeing any errors or information? no.
<El3ktra> well, when I run rake db:migrate, where does it look for information?
<sevenseacat> also, #rubyonrails is a better place for rails-specific questions.
<El3ktra> ok, thanks
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
TgMts has quit [Client Quit]
alex88 has joined #ruby
vinleod has joined #ruby
kenneth has joined #ruby
TgMts has joined #ruby
robbyoconnor has joined #ruby
kenneth has quit [Client Quit]
bayed has joined #ruby
kapil__ has joined #ruby
bricker`work has quit [Ping timeout: 244 seconds]
Macaveli has joined #ruby
linocisco has quit [Remote host closed the connection]
andikr has joined #ruby
timonv_ has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
noop has quit [Quit: Leaving]
noop has joined #ruby
craigp has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
oo_ has joined #ruby
TgMts has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
TgMts has quit [Client Quit]
TgMts has joined #ruby
psy_ has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
G has joined #ruby
ta has joined #ruby
Fraeon has joined #ruby
pu22l3r has joined #ruby
TgMts has quit [Client Quit]
uber_hulk has joined #ruby
timonv_ has joined #ruby
lemur has joined #ruby
sk87 has joined #ruby
Jackneill has joined #ruby
TgMts has joined #ruby
rshetty has joined #ruby
_mtr has joined #ruby
TgMts has quit [Client Quit]
pu22l3r has quit [Ping timeout: 256 seconds]
lemur has quit [Ping timeout: 258 seconds]
TgMts has joined #ruby
rshetty has quit [Ping timeout: 260 seconds]
dts|pokeball has quit [Ping timeout: 244 seconds]
_mtr has quit [Ping timeout: 252 seconds]
Takle has joined #ruby
ghr has joined #ruby
dumdedum has joined #ruby
tvw has joined #ruby
agjacome has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
hamakn has quit [Remote host closed the connection]
lemur has joined #ruby
hamakn has joined #ruby
olivier_bK has joined #ruby
arup_r has joined #ruby
CustosL1men has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
TgMts has joined #ruby
Stalkr_ has joined #ruby
chinmay_dd has quit [Ping timeout: 244 seconds]
iamninja has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
apoorvparijat has joined #ruby
Pupeno has joined #ruby
craigp has quit [Remote host closed the connection]
lolmaus has joined #ruby
craigp has joined #ruby
apoorvparijat has quit [Remote host closed the connection]
joonty has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
craigp has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
sk87 has quit [Quit: Textual IRC Client: www.textualapp.com]
craigp has joined #ruby
TgMts has joined #ruby
jheg has joined #ruby
goodenough has quit [Remote host closed the connection]
hamakn has joined #ruby
goodenough has joined #ruby
marr has joined #ruby
TgMts has quit [Client Quit]
tgandrews has quit [Quit: This computer has gone to sleep]
sk87 has joined #ruby
DrCode has quit [Ping timeout: 250 seconds]
TgMts has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
goodenough has quit [Ping timeout: 250 seconds]
roolo has joined #ruby
DrCode has joined #ruby
sinkensabe has quit []
sinkensabe has joined #ruby
jenrzzz has joined #ruby
lolmaus_ has joined #ruby
CorySimmons has quit [Quit: Bye!]
TgMts has quit [Client Quit]
RitterJack has joined #ruby
lolmaus has quit [Ping timeout: 240 seconds]
RitterJack has quit [Client Quit]
RitterJack has joined #ruby
RitterJack has quit [Read error: Connection reset by peer]
shortCircuit__ has joined #ruby
RitterJack has joined #ruby
TgMts has joined #ruby
lolmaus_ has quit [Ping timeout: 240 seconds]
uber_hulk has quit [Quit: leaving]
mikecmpbll has joined #ruby
<mikecmpbll> :)
<DefV> that syntax pains me
grn_ has joined #ruby
codezomb has joined #ruby
<RitterJack> DefV +1
TgMts has quit [Read error: Connection reset by peer]
tgandrews has joined #ruby
DrCode has quit [Ping timeout: 250 seconds]
LouisRoR has joined #ruby
grn_ has quit [Client Quit]
<avril14th> +1
timonv_ has quit [Read error: Connection reset by peer]
jlast has joined #ruby
lemur has quit [Remote host closed the connection]
arquebus has joined #ruby
rdark has quit [Quit: leaving]
lemur has joined #ruby
anarang is now known as anisha
grn_ has joined #ruby
DrCode has joined #ruby
renderful has joined #ruby
Xeago has quit [Remote host closed the connection]
grn_ has quit [Client Quit]
lemur has quit [Ping timeout: 258 seconds]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
renderful has quit [Ping timeout: 272 seconds]
livathinos has joined #ruby
LouisRoR has quit []
LouisRoR has joined #ruby
fandi has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
vasilakisfil has joined #ruby
<vasilakisfil> hey guyzzz
LouisRoR has quit [Client Quit]
<vasilakisfil> is it possible to throw an exception without the trace ?
LouisRoR has joined #ruby
Flcn has joined #ruby
grn_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<tobiasvl> vasilakisfil: first of all: why do you want to do that?
<tobiasvl> maybe rescuing it is the right way?
AxonetBE has quit [Quit: AxonetBE]
<vasilakisfil> well the trace wouldn't be helpful in my case.. it checks if you have set some env variables and throws an exception if you haven't
reinaldob has joined #ruby
<vasilakisfil> but instead of the whole trace, I would like to throw a redish message without the trace
rshetty has joined #ruby
<tobiasvl> rescue the exception and print out what you'd like then?
grn_ is now known as grn
sevenseacat has quit [Quit: Leaving.]
georgesmith has joined #ruby
jenrzzz has joined #ruby
sigurding has joined #ruby
<vasilakisfil> hmm ok but I want to stop the program unless someone else rescues the exception
LouisRoR has quit []
<vasilakisfil> does abort raises an exception ?
emmesswhy has joined #ruby
LouisRoR has joined #ruby
emmesswhy has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
rshetty has quit [Ping timeout: 245 seconds]
<tobiasvl> no
timonv_ has joined #ruby
RitterJack has quit [Ping timeout: 250 seconds]
<vasilakisfil> ok.. is it possible to hide the trace when raising an exception somehow ?
<avril14th> hide?
<avril14th> what does that mean?
<tobiasvl> vasilakisfil: rescue it?
<tobiasvl> I still don't understand the problem
jeanlinux has joined #ruby
timonv_ has quit [Remote host closed the connection]
<vasilakisfil> but if I rescue the exception
<vasilakisfil> then the exception won't happen
fandi has joined #ruby
<tobiasvl> won't happen?
arup_r has joined #ruby
<vasilakisfil> I mean the program won't stop
<vasilakisfil> it will continue running
<tobiasvl> you can stop it?
<kuda> isn't that a good thing?
<vasilakisfil> with abort you mean?
kl__ has joined #ruby
<vasilakisfil> kuda no it's not in my case
Takle has quit [Remote host closed the connection]
<tobiasvl> yes for example with abort
<vasilakisfil> [10:52] <vasilakisfil> hmm ok but I want to stop the program unless someone else rescues the exception <----
rshetty has joined #ruby
procat has joined #ruby
<vasilakisfil> so here we go again.. is it possible to hide the trace when raising an exception somehow ?
<tobiasvl> vasilakisfil: can you just explain your use case please
<tobiasvl> "I want to stop the program unless someone else rescues the exception" doesn't make sense to me
<vasilakisfil> I have a part of code that checks if you have set some keys (that will be used later)
<vasilakisfil> if you haven't set the keys then it raises an exception
lolmaus_ has joined #ruby
startupality has joined #ruby
<vasilakisfil> MissingKeysError
emmesswhy has joined #ruby
<vasilakisfil> the thing is that I want to beautify the exception.. I don't want the trace in there (cause it doesn't make much sense, you know what you have to do) and instead print a redish message
<tobiasvl> so far, the answer is still "rescue the exception and do what you want"
jeanlinux has quit [Remote host closed the connection]
<tobiasvl> now explain the "I want to stop the program unless someone else rescues the exception" part
<vasilakisfil> yes
<vasilakisfil> this part means that I want to rescue the MissingKeysError exception if I want to
Xeago has quit [Remote host closed the connection]
<vasilakisfil> so abort wouldn't help me
Takle has joined #ruby
jeanlinux has joined #ruby
<tobiasvl> you want to rescue it if you want to?
<tobiasvl> do you want to or not?
procat has quit [Ping timeout: 264 seconds]
<vasilakisfil> the code that checks the keys and throws the exception is in another gem (a very simple one)
<vasilakisfil> so the program that includes that gem should be able to bypass the exception
<vasilakisfil> it's not what I want, the user will decide
apeiros_ has joined #ruby
<vasilakisfil> for instance I might raise different exceptions for different key types.. the user might wanted to rescue only 1 of those types
jlast has quit [Ping timeout: 258 seconds]
<vasilakisfil> so it's regular exceptions with propagation etc only that I want to remove the trace
nclbr has joined #ruby
emmesswhy has quit [Ping timeout: 245 seconds]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sindork has joined #ruby
RitterJack has joined #ruby
timonv_ has joined #ruby
emmesswhy has joined #ruby
porfa has joined #ruby
<vasilakisfil> so is there a way to achieve that ?
lifenoodles has joined #ruby
hgl has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
emmesswhy has quit [Ping timeout: 264 seconds]
emmesswhy has joined #ruby
Grumelo has joined #ruby
aewffwea has quit [Ping timeout: 250 seconds]
vyorkin has joined #ruby
lolmaus_ has quit [Quit: Konversation terminated!]
<pusewicz> Guys, do you have MySQL tuned in any way for tests?
<pusewicz> To make them run faster?
<pusewicz> Also, what GC settings in Ruby 2.1 do you use for tests?
lolmaus has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
echooo has quit [Quit: echooo]
echooo has joined #ruby
startupality has quit [Quit: startupality]
Peterman_ has joined #ruby
iwishiwerearobot has joined #ruby
workmad3 has joined #ruby
Peterman_ has quit [Remote host closed the connection]
Xeago has joined #ruby
apoorvparijat has joined #ruby
charliesome has joined #ruby
rodfersou has joined #ruby
startupality has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
jlast has joined #ruby
craigp has quit [Ping timeout: 265 seconds]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
Musashi007 has quit [Quit: Musashi007]
jlast_ has joined #ruby
emmesswhy has quit [Quit: Leaving]
<vasilakisfil> bin/rails: HEY! SecretService got you! (SecretService::MissingSecrets)
Musashi007 has joined #ruby
<vasilakisfil> Missing secrets: pusher_app_id, pusher_app_key, pusher_app_secret
Musashi007 has quit [Client Quit]
uber_hulk has joined #ruby
<vasilakisfil> isn't that much better ? :)
<vasilakisfil> and you can still rescue it if you want ^_^
uber_hulk has quit [Client Quit]
jlast has quit [Ping timeout: 258 seconds]
Akuma has joined #ruby
_mtr has joined #ruby
<gregf_> vasilakisfil: whats it that youre trying to achieve? throw an exception in a method/function and let the call handle that exception?
<gregf_> s/call/caller/
<gregf_> or are you trolling :/
Aswebb_ has joined #ruby
<vasilakisfil> gregf_ I think you are trolling :P
<vasilakisfil> I want to throw regular exception from my gem
<vasilakisfil> that's all actually
Musashi007 has joined #ruby
<vasilakisfil> oh, and I want to remove the exception trace, but that's a minor
_mtr has quit [Ping timeout: 244 seconds]
joonty has quit [Ping timeout: 244 seconds]
joonty1 has joined #ruby
<avril14th> throw exception, catch it
<avril14th> just like baseball
elcheckito has joined #ruby
<vasilakisfil> exactly... I didn't get why gregf_ thinks that I am trolling -_-
<elcheckito> i need ruby2.1, and that very version for now, on debian wheezy. production system. ideas?
<avril14th> elcheckito: rvm?
rdark has joined #ruby
jdj_dk_ has joined #ruby
apoorvparijat has quit [Remote host closed the connection]
<elcheckito> avril14th: don't know. first time i am not using the repos directly on a prod system (with the repos i just pull the upgrades as part of my OS maint.)
jdj_dk_ has quit [Remote host closed the connection]
arquebus has quit [Quit: Konversation terminated!]
Kabaka has joined #ruby
<avril14th> so yes, rvm.io
<gregf_> vasilakisfil: class ExOne < StandardError;end;class ExTwo < StandardError;end;class ExThree < StandardError;end;class Foo; def bar; begin; self.baz();rescue => e; puts e.message;end ; end ; def baz; for i in 1..3 do; case i; when 1; raise ExOne, "Exception One"; when 2; raise ExTwo, "Exception Two"; else; raise ExThree, "Exception Three";end end; end; end; Foo.new().bar(); <== like that?
Stalkr_ has joined #ruby
hgl has quit [Ping timeout: 244 seconds]
rodfersou has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<gregf_> well, that wont have an exception trace
chinmay_dd has joined #ruby
lukeholder has joined #ruby
<workmad3> elcheckito: you could probably use the brightbox ppa too, if you would rather use a package repo
Akuma has quit [Read error: Connection reset by peer]
Akuma has joined #ruby
lukeholder has quit [Max SendQ exceeded]
hgl has joined #ruby
Takle has quit [Remote host closed the connection]
joonty has joined #ruby
lukeholder has joined #ruby
<vasilakisfil> gregf_ imagine that Foo.new().bar(); is called from the user that uses your code
tkuchiki has quit [Ping timeout: 252 seconds]
<vasilakisfil> how can she rescue the exception ?
oo_ has quit [Remote host closed the connection]
<vasilakisfil> since you rescue everything in there
<workmad3> vasilakisfil: out of curiosity, why do you want to remove the exception trace?
<vasilakisfil> yeap
<gregf_> vasilakisfil: thats how exception throwing an handling works. unless you've got a newer better way than the standard way?
startupality has quit [Quit: startupality]
<gregf_> s/an/and/
<workmad3> vasilakisfil: you missed answering the *why* there
<vasilakisfil> haha
<vasilakisfil> sorry
<workmad3> vasilakisfil: and what you want to do is really, really easy ;)
lukeholder has quit [Max SendQ exceeded]
<vasilakisfil> well to beautify the message
<workmad3> vasilakisfil: no... don't mess with backtraces
Takle has joined #ruby
<workmad3> vasilakisfil: at least not without some way to remove the messing around
<vasilakisfil> workmad3 the trace in my case is not helpfull at all
lukeholder has joined #ruby
<workmad3> vasilakisfil: to you, in the circumstances you're testing
Xeago has quit [Remote host closed the connection]
<vasilakisfil> when you start the program I throw an exception if some keys are not set
joonty1 has quit [Ping timeout: 260 seconds]
<workmad3> vasilakisfil: ok... then just do 'def backtrace; []; end' in your exception class
<vasilakisfil> yeah I am playing with that atm
Juanchito has joined #ruby
<workmad3> vasilakisfil: just be very, very careful with that ;)
lukeholder has quit [Max SendQ exceeded]
<workmad3> (although someone could always do a monkey-patch of 'def backtrace; super; end' to get back original behaviour if they know what they're doing)
DrCode has quit [Ping timeout: 250 seconds]
lukeholder has joined #ruby
lukeholder has quit [Client Quit]
Calmoto1 has joined #ruby
<vasilakisfil> hehe
<vasilakisfil> I think most people here take things very seriously
<gregf_> vasilakisfil: ah - ok. i get what you mean ;)
<vasilakisfil> I just wanted to play around with ruby :)
<gregf_> class Hrm < Exception; def backtrace; []; end;end; def foo; bar(); end; def bar; raise Hrm, "do ruby or die"; end;foo() <== what workmad3 said :)
fandi has quit [Quit: Leaving]
ta has quit [Remote host closed the connection]
<vasilakisfil> yeah that seems to be working atm
AFKGeek has joined #ruby
<workmad3> vasilakisfil: I take things seriously when people start talking about things that appear, on the surface, to be along the lines of crippling error reporting inside gems
DrCode has joined #ruby
Calmoto has quit [Ping timeout: 252 seconds]
<workmad3> vasilakisfil: I don't care if you do it in your app, that's your lookout... do it in a published gem, and suddenly you're making very large assumptions about what arbitrary people will find useful/necessary... and when that involves error traces and debugging info (which are pretty vital things to have), it's serious ;)
Kabaka has quit [Ping timeout: 250 seconds]
grn has quit [Ping timeout: 250 seconds]
<workmad3> vasilakisfil: so I'll be serious with you, so that we don't have to deal with the fallout of randomNewGuyX saying "HALP, I'm using vasilakisfilAwesomeGem1 and getting an error but the backtrace is missing! HALP!"
lifenoodles has quit [Ping timeout: 260 seconds]
joonty1 has joined #ruby
<vasilakisfil> haha ok
Jake232 has joined #ruby
Jake232 has quit [Max SendQ exceeded]
<certainty> workmad3: i remember when that happened because one of your gems xD
* certainty lies
<workmad3> certainty: yeah, I know you're lying... I don't have any gems :P
joonty has quit [Ping timeout: 272 seconds]
<certainty> workmad3: i know you know. i also wanted the others to know
<certainty> didn't want to give you bad reputation or something (on accident)
Spami has joined #ruby
<workmad3> certainty: reputation is serious business! ;)
<certainty> indeed ;D
* workmad3 goes back to his javascript
rodfersou has joined #ruby
godd2 has joined #ruby
kuda has quit [Quit: Textual IRC Client: www.textualapp.com]
lifenoodles has joined #ruby
livathinos has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
toretore has joined #ruby
_5kg has joined #ruby
Kabaka has joined #ruby
<certainty> workmad3: can't be a serios PL if it ends in 'script'
tkuchiki has joined #ruby
mengu has joined #ruby
hgl has quit [Ping timeout: 244 seconds]
himsin has joined #ruby
<elcheckito> workmad3: is the "brightbox" team a ppa to trust?
fabrice31 has quit [Remote host closed the connection]
<alex88> elcheckito: it's widely used afaik
<workmad3> elcheckito: plenty of people do, and they're a fairly reputable company
<workmad3> elcheckito: but you're the only one who can answer that wrt your own needs ;)
jlast_ has quit [Ping timeout: 258 seconds]
joonty has joined #ruby
hgl has joined #ruby
rodfersou has quit [Quit: Lost terminal]
rodfersou has joined #ruby
joonty1 has quit [Ping timeout: 256 seconds]
<certainty> being widely doesn't automatically mean that you can trust it.
<certainty> +used
tkuchiki has quit [Ping timeout: 256 seconds]
ghostbox has joined #ruby
samuel02 has joined #ruby
samuel02 has quit [Remote host closed the connection]
ta has joined #ruby
<godd2> Areessell Dare is not using WebGL (yet!), it's just drawing to the canvas
rodfersou has quit [Quit: Lost terminal]
vyorkin has quit [Quit: WeeChat 1.0.1]
rodfersou has joined #ruby
rylev has joined #ruby
Takle has joined #ruby
TheColonial has joined #ruby
<TheColonial> Hey all. How do i force REXML to output empty elements with terminating nodes instead of the shorthand version?
kristofferR has joined #ruby
<TheColonial> ie. how do i do this: <foo></foo> instead of <foo/>?
Aswebb_ has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
livathinos has joined #ruby
chipotle has joined #ruby
Takle has joined #ruby
anaeem1_ has joined #ruby
livathinos has quit [Read error: Connection reset by peer]
Morkel_ has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
livathinos has joined #ruby
Stalkr_ has quit [Quit: Linkinus - http://linkinus.com]
Morkel_ is now known as Morkel
<teotwaki> you don't?
<teotwaki> because afaik, that's not valid XML
<tobiasvl> TheColonial: why would you want that
<TheColonial> i want that in cases where some other shitty services requires it
<teotwaki> regexp it
<TheColonial> valid or not valid, the point is i need to do it.
<workmad3> teotwaki: <foo></foo> is as valid as <foo/>
<TheColonial> ugh :)
<teotwaki> workmad3: oh, my bad then.
<workmad3> (I think)
<TheColonial> and yes, it is valid XML.. ;)
Aswebb_ has joined #ruby
<TheColonial> I was just hoping that REXML had something in the context hash that would make it happen
Grumelo has quit [Remote host closed the connection]
rodfersou has quit [Quit: Lost terminal]
<TheColonial> but i cant' find any decent documentatio on that context object
rodfersou has joined #ruby
Takle has quit [Ping timeout: 255 seconds]
joonty has quit [Ping timeout: 244 seconds]
joonty has joined #ruby
Takle has joined #ruby
<workmad3> TheColonial: output is done by formatters in rexml, I believe
Peterman_ has joined #ruby
<workmad3> TheColonial: but I can't see any way to configure the standard formatters to output like you want
<TheColonial> workmad3: ok mate, thanks for the response.
Aswebb_ has quit [Remote host closed the connection]
TheColonial has left #ruby [#ruby]
<shevy> long live ruby!
Xeago has joined #ruby
<certainty> yay!
<certainty> why?
xymbol__ has joined #ruby
<workmad3> certainty: why not?
<apeiros_> because otherwise we're all very sad
<certainty> nope
<certainty> then again
<certainty> maybe yes
mengu has quit []
<apeiros_> ok, because otherwise all people in here who matter are all very sad :-p
<certainty> hehe
Aswebb_ has joined #ruby
<elcheckito> well i don't see how i can use brightbox for debian wheezy.. seems to be for ubuntu only? can you recommend a command line to run to add that ppa correctly?
<elcheckito> also.. how does brightbox compare/relate to
<elcheckito> Phusion?
<zenspider> nobody told him NOT to use rexml? really?
VictorBjelkholm has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
procat has joined #ruby
arturhoo has joined #ruby
freerobby has joined #ruby
arturhoo has quit [Client Quit]
<apeiros_> zenspider: I would have, if I'd known how to do what he asked with nokogiri :-/
<jhass> what's your favorite?
<zenspider> anything _emaintained_
<zenspider> -e :P
<zenspider> stupid pinky
<jhass> so no nokogiri hater? \o/
<jhass> :P
arturhoo has joined #ruby
<zenspider> I might even have commit bit , tho I've been avoiding that
<zenspider> hopefully not
arup_r has quit [Remote host closed the connection]
<zenspider> I help out with the osx build issues
joonty1 has joined #ruby
procat has quit [Ping timeout: 245 seconds]
joonty has quit [Ping timeout: 250 seconds]
rylev has quit [Remote host closed the connection]
<apeiros_> oh btw. zenspider - do you happen to know how tenderlove made his "find(id) cost" graphs? i.e., how he counted the total number of object allocations? did he just tap into the new GC stats or did he use something else?
arturhoo has quit [Client Quit]
rylev has joined #ruby
jlast has joined #ruby
livathin_ has joined #ruby
rylev has quit [Remote host closed the connection]
livathinos has quit [Ping timeout: 240 seconds]
dc_ has joined #ruby
tokik has quit [Ping timeout: 240 seconds]
fabrice31 has joined #ruby
rylev has joined #ruby
joonty has joined #ruby
n1lo has joined #ruby
joonty1 has quit [Ping timeout: 244 seconds]
uber_hulk has joined #ruby
Xeago has quit [Remote host closed the connection]
himsin has quit [Quit: himsin]
Peterman_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dc_ has quit [Ping timeout: 264 seconds]
rylev has quit [Ping timeout: 245 seconds]
Calmoto1 has quit [Ping timeout: 258 seconds]
Xeago has joined #ruby
yeticry has joined #ruby
wookiehangover has joined #ruby
SOLDIERz has joined #ruby
AlbertoCG has joined #ruby
arup_r has joined #ruby
chinmay_dd has quit [Ping timeout: 240 seconds]
joonty1 has joined #ruby
Soda has joined #ruby
anaeem1_ has joined #ruby
joonty has quit [Ping timeout: 245 seconds]
arturhoo has joined #ruby
wsmoak has joined #ruby
wsmoak has joined #ruby
jeff-ooh has joined #ruby
Musashi007 has quit [Quit: Musashi007]
apoorvparijat has joined #ruby
joonty2 has joined #ruby
Peterman_ has joined #ruby
n3phos has joined #ruby
arturhoo has quit [Client Quit]
jlast has quit [Ping timeout: 258 seconds]
joonty1 has quit [Ping timeout: 256 seconds]
_mtr has joined #ruby
joonty2 has quit [Quit: Leaving]
_mtr has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
jeff-ooh has quit []
startupality has joined #ruby
psy_ has quit [Ping timeout: 260 seconds]
chthon has joined #ruby
lessless has joined #ruby
ebbflowgo has joined #ruby
jack_rabbit has quit [Quit: Leaving]
Stoge88 has joined #ruby
<shevy> in a regex, a preceding ? makes what follows after it optional, right?
AFKGeek has quit [Ping timeout: 252 seconds]
psy_ has joined #ruby
jheg has quit [Quit: jheg]
vyorkin has joined #ruby
<apeiros_> shevy: wrong
Shazaum has joined #ruby
sigurding has quit [Quit: sigurding]
<apeiros_> quantifiers are suffixes, not prefixes
<apeiros_> <thing><quantifier>. e.g. /foo?/, the last o is optional.
<shevy> hmm
marcules has joined #ruby
marcules has quit [Changing host]
marcules has joined #ruby
marcules has joined #ruby
<apeiros_> /fo{2,}/ matches f followed by two or more o's
giuseppesolinas has joined #ruby
<marcules> hi
<apeiros_> hi marcules
troulouliou_dev has joined #ruby
AmirolAhmad has joined #ruby
<marcules> hi apeiros_ :)
kobain has joined #ruby
spyderman4g63 has joined #ruby
<shevy> hercules!
jeff-ooh has joined #ruby
<shevy> in new york
bal has quit [Quit: bal]
giuseppesolinas has quit [Client Quit]
sigurding has joined #ruby
dumdedum has quit [Quit: foo]
Aswebb_ has joined #ruby
bal has joined #ruby
jlast has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
justinmcp has joined #ruby
jlast_ has joined #ruby
vyorkin has quit [Quit: WeeChat 1.0.1]
AFKGeek has joined #ruby
AFKGeek has quit [Read error: Connection reset by peer]
rodfersou has quit [Quit: Lost terminal]
vyorkin has joined #ruby
rodfersou has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
vyorkin has quit [Client Quit]
vyorkin has joined #ruby
sailias has joined #ruby
aclearman037 has joined #ruby
apoorvpa_ has joined #ruby
adriancb has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has quit [Remote host closed the connection]
lolmaus has quit [Remote host closed the connection]
Xeago has joined #ruby
lolmaus has joined #ruby
kl__ has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
apoorvparijat has quit [Ping timeout: 255 seconds]
hanmac1 has joined #ruby
vyorkin has quit [Client Quit]
jheg has joined #ruby
hiyosi has joined #ruby
jusmyth has joined #ruby
asmodlol has joined #ruby
triple_b has joined #ruby
apoorvpa_ has quit [Remote host closed the connection]
rylev has joined #ruby
jlast_ has quit [Remote host closed the connection]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has joined #ruby
iwishiwerearobot has quit [Quit: Be back later ...]
Flcn has quit [Quit: Be back later ...]
timonv_ has joined #ruby
mengu has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
startupality has quit [Quit: startupality]
Akuma has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
rylev has quit [Ping timeout: 245 seconds]
paulfm has joined #ruby
tristanp has joined #ruby
chinmay_dd has joined #ruby
vyorkin has joined #ruby
sk87 has joined #ruby
asmodlol has quit [Ping timeout: 256 seconds]
IrishGringo has joined #ruby
chinmay_dd has quit [Client Quit]
claptor has quit [Quit: this channel is bakas]
asmodlol has joined #ruby
AFKGeek has joined #ruby
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
rshetty has quit [Remote host closed the connection]
RealMarc has joined #ruby
giuseppesolinas has joined #ruby
freerobby has joined #ruby
fabrice31 has quit []
AlSquirrel has joined #ruby
rshetty has joined #ruby
Akuma has joined #ruby
Takle has quit [Remote host closed the connection]
russt has joined #ruby
yfeldblum has quit [Remote host closed the connection]
tgandrews has quit [Ping timeout: 256 seconds]
rshetty has quit [Remote host closed the connection]
xymbol__ has quit [Quit: Be back later ...]
vyorkin has quit [Quit: WeeChat 1.0.1]
<shadeslayer> hey, could someone tell me how I can accomplish something like this : https://gist.github.com/shadeslayer/d9ebd10399396d4601a2
_mtr has joined #ruby
<ddv> shadeslayer: what do you want to know?
<shadeslayer> ddv: I want to override the init method of array to pass custom args
<shadeslayer> but I get a TypeError: no implicit conversion of Hash into Integer
<workmad3> shadeslayer: don't derive from Array
startupality has joined #ruby
tgandrews has joined #ruby
<ddv> deriving from array can be very handy
<workmad3> ddv: apart from the many, many ways your subclass just vanishes
allcentury has joined #ruby
Takle has joined #ruby
tgandrews has quit [Read error: Connection reset by peer]
spastorino has joined #ruby
_mtr has quit [Ping timeout: 264 seconds]
jeff-ooh has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
<workmad3> ddv: I much prefer writing my own class that implements Enumerable or enumerators, and happens to store stuff in Array
Flcn has joined #ruby
jlast has quit [Remote host closed the connection]
<workmad3> ddv: rather than deriving from Array :)
jlast has joined #ruby
sevenseacat has joined #ruby
dfinninger has joined #ruby
heftig_ has joined #ruby
procat has joined #ruby
matled has joined #ruby
freerobby has joined #ruby
freerobby has quit [Client Quit]
beef-wellington has joined #ruby
chipotle has quit [Quit: cheerio]
jlast has quit [Ping timeout: 258 seconds]
heftig_ is now known as heftig
startupality has quit [Quit: startupality]
fabrice31 has joined #ruby
nclbr has quit [Remote host closed the connection]
red_horned_rihno has joined #ruby
procat has quit [Ping timeout: 250 seconds]
davedev24_ has joined #ruby
AmirolAhmad has quit []
st0mar has joined #ruby
jdj_dk_ has joined #ruby
realli has joined #ruby
Abhijit has quit [Quit: Leaving]
chipotle has joined #ruby
kl__ has joined #ruby
vyorkin has joined #ruby
dfinninger has quit [Remote host closed the connection]
<shadeslayer> ddv: workmad3 well, calling super() instead of super makes it work
arup_r has quit []
sprihodko has joined #ruby
vyorkin has quit [Quit: WeeChat 1.0.1]
startupality has joined #ruby
tgandrews has joined #ruby
thumpba has joined #ruby
yfeldblum has joined #ruby
eichenwald has joined #ruby
yfeldblu_ has joined #ruby
Xeago has quit [Remote host closed the connection]
tgandrews has quit [Ping timeout: 265 seconds]
Akuma has quit [Quit: So long sukkas!]
Xeago has joined #ruby
n3phos has quit [Ping timeout: 260 seconds]
xymbol__ has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
uber_hulk has quit [Quit: leaving]
jdj_dk_ has quit [Remote host closed the connection]
Peterman_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
thumpba has quit [Remote host closed the connection]
kenneth has joined #ruby
yfeldblu_ has quit [Ping timeout: 260 seconds]
CustosL1men has quit [Ping timeout: 265 seconds]
Peterman_ has joined #ruby
grn has joined #ruby
Xeago has quit [Ping timeout: 256 seconds]
oleo has joined #ruby
kenneth has quit [Client Quit]
TomyWork has quit [Ping timeout: 250 seconds]
SCHAAP137 has joined #ruby
VictorBjelkholm has quit [Ping timeout: 256 seconds]
livingstn has joined #ruby
jlast has joined #ruby
jherbst has joined #ruby
tesaf has joined #ruby
tier has joined #ruby
studiotate has joined #ruby
Kricir has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 258 seconds]
droidburgundy has joined #ruby
dc_ has joined #ruby
n3phos has joined #ruby
n3phos has quit [Changing host]
n3phos has joined #ruby
evanjs has joined #ruby
Stoge88 has joined #ruby
yfeldblum has joined #ruby
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
st0mar has quit [Quit: quit]
st0mar has joined #ruby
dblessing has joined #ruby
startupality has quit [Quit: startupality]
djdarkbeat has joined #ruby
bmichelsen has joined #ruby
lxsameer has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 264 seconds]
asmodlol has quit [Ping timeout: 244 seconds]
tgandrews has joined #ruby
mengu has quit [Ping timeout: 260 seconds]
VictorBjelkholm has joined #ruby
asmodlol has joined #ruby
HOS_nerv has joined #ruby
sargas has joined #ruby
rylev has joined #ruby
stef204 has joined #ruby
sprihodko has quit [Quit: (null)]
apoorvparijat has joined #ruby
jusmyth has quit [Quit: Leaving.]
livathin_ has quit [Remote host closed the connection]
startupality has joined #ruby
grn has quit []
djdarkbeat has quit [Read error: Connection reset by peer]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Axy is now known as Mia
tier_ has joined #ruby
apeiros_ has quit [Remote host closed the connection]
Channel6 has joined #ruby
djdarkbeat has joined #ruby
djdarkbeat has quit [Remote host closed the connection]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
djdarkbeat has joined #ruby
rbennacer has joined #ruby
livathinos has joined #ruby
tier has quit [Ping timeout: 245 seconds]
n3phos has quit [Ping timeout: 264 seconds]
rylev has quit [Remote host closed the connection]
phutchins has joined #ruby
adac has joined #ruby
<adac> does someone of you know a well rdoc documented open source project for to see some examples on how rdoc is applied?
freerobby has joined #ruby
shortCircuit__ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 244 seconds]
nateberkopec has joined #ruby
jerius has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
zybi1 has joined #ruby
<claf> adac: http://yardoc.org/
<claf> hope, not old
<adac> claf, awesome! thanks!
anaeem1_ has quit [Remote host closed the connection]
Spami has joined #ruby
<adac> claf, thanks!
<claf> np
_maes_ has joined #ruby
ta has quit [Remote host closed the connection]
TehStig has joined #ruby
enebo has joined #ruby
devdazed has joined #ruby
ta has joined #ruby
mary5030 has joined #ruby
Channel6 has quit [Quit: Leaving]
gigetoo has joined #ruby
jeanlinux has quit [Remote host closed the connection]
josephndenton has joined #ruby
quarcu has joined #ruby
asmodlol has quit [Ping timeout: 245 seconds]
TehStig has quit [Remote host closed the connection]
lw has joined #ruby
livathinos has quit []
asmodlol has joined #ruby
heftig_ has joined #ruby
heftig has quit [Read error: Connection reset by peer]
heftig_ is now known as heftig
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Axy has quit [Remote host closed the connection]
nclbr has joined #ruby
fargas has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
godd2 has quit [Ping timeout: 240 seconds]
jeanlinux has joined #ruby
Kricir has joined #ruby
AlbertoCG has quit [Ping timeout: 245 seconds]
mbeasley has joined #ruby
apoorvpa_ has joined #ruby
apoorvparijat has quit [Ping timeout: 264 seconds]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sevenseacat has quit [Remote host closed the connection]
iwishiwerearobot has joined #ruby
arup_r has joined #ruby
pu22l3r has joined #ruby
krz has joined #ruby
byprdct has joined #ruby
n3phos has joined #ruby
byprdct has quit [Max SendQ exceeded]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
_beechnut has joined #ruby
hamakn has quit [Remote host closed the connection]
tier_ has quit [Ping timeout: 252 seconds]
moskovski has joined #ruby
zybi1 has quit [Quit: Leaving]
hamakn has joined #ruby
iwishiwerearobot has quit [Ping timeout: 272 seconds]
tier has joined #ruby
charliesome has quit [Quit: zzz]
Aswebb_ has joined #ruby
eguneys has joined #ruby
<eguneys> I have a "author is a user" relationship and I am using method_missing to delegate author to user is this a good approach? https://gist.github.com/eguneys/4c14ef52ec1377c0b20e
mary5030 has quit [Ping timeout: 258 seconds]
marens has joined #ruby
<avril14th> eguneys: this is too broad I think. You should use delegate
yfeldblum has joined #ruby
kedare has joined #ruby
moskovski has quit [Quit: Lingo: www.lingoirc.com]
anisha has quit [Quit: Leaving]
<eguneys> avril14th: thanks, so it's ok to delegate author methods to user right
lw has quit [Quit: s]
<avril14th> it's even better
<avril14th> just make sure to specify what to do when relation is nil though (read doc)
Mothore has joined #ruby
noop has quit [Ping timeout: 244 seconds]
procat has joined #ruby
<avril14th> but your thing looks like Author should inherit User though
workmad3 has joined #ruby
<eguneys> avril14th: do you have a example/blogpost explaining how to deal with similar kind of relationship
<avril14th> it depends what you want to do
<eguneys> I don't know just something generic, fundamental
jlast has joined #ruby
jlast has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
Aswebb_ has quit [Remote host closed the connection]
<dreinull> has anybody done templating in connection with Latex and come up with some nice solution? Like haml or slim for html?
Aova has joined #ruby
marens has quit [Ping timeout: 256 seconds]
eguneys has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
_mtr has joined #ruby
kobain has quit [Ping timeout: 240 seconds]
<ddv> other public logging is prohibited <- I wonder how this can be enforced
AmirolAhmad has joined #ruby
Hanmac has joined #ruby
<workmad3> ddv: kickbans on users found to be publishing a public log? :)
<ddv> but how do you find out who does the logging :p
agit0 has quit [Quit: This computer has gone to sleep]
johnkary has joined #ruby
<ddv> I guess you could kick people one by one
evanjs_ has joined #ruby
<workmad3> ddv: check the starting point of the log against the 'official' log and see who joined at exactly that time? :)
adriancb has quit [Remote host closed the connection]
<workmad3> ddv: I think it's mostly just a 'please don't publish a second public log that will just confuse the issue of where this channel logs to' :)
lw has joined #ruby
<ddv> I know but it says 'PROHIBITED'
<ddv> what are you going to do apeiros?
_mtr has quit [Ping timeout: 245 seconds]
<workmad3> ddv: he's done it... he's formally made the statement that other logging is disallowed
<workmad3> ddv: that's a valid meaning of 'prohibit' ;)
Spami has quit [Quit: This computer has gone to sleep]
evanjs has quit [Ping timeout: 244 seconds]
IrishGringo has quit [Ping timeout: 258 seconds]
<shevy> let's torture ddv!
<shevy> if the CIA can, so can we
<shevy> yes we can!
it0a has joined #ruby
<workmad3> can we waterboard him? yes we can!
<shevy> that is so old school
godd2 has joined #ruby
<shevy> we need brain bugs
<shevy> like in that old movie ... beastmaster
<claf> People who torture people, must be tried and imprisoned.
<claf> Dont just stand idly by
<shevy> but I also think in one of the Star Trek movies
<ddv> apeiros is going to waterboard me
<claf> as they destroy our human rights
<shevy> claf but IRC is all about idling :(
<workmad3> shevy: nah, old school would be using pliers to pull out his fingernails, or drilling holes in his teeth...
<shevy> drilling holes in teeth
<shevy> bacteria can do that!
lmickh has joined #ruby
<shevy> claf how can you ensure that any government won't ignore human rights?
robertt_dex has joined #ruby
<workmad3> ddv: yes, apeiros will waterboard you to find out who is logging :P
<workmad3> shevy: pfft, easy... nukes
<claf> shevy: well, for *any* government, that is not known
<claf> shevy: for a *democracy* -- you need the 5 pillars
Aova has quit [Quit: ZNC - http://znc.in]
<claf> shevy: the public, the journos, the police, the justice and the legislators
<shevy> so a democracy won't condone torture
<claf> they all must be awake
<claf> shevy: All democracies have woved to respect the declaration of human rights
Aova has joined #ruby
Aova has quit [Remote host closed the connection]
<claf> a government that does that, is probably no longer a functional democracy
chinmay_dd has joined #ruby
<shevy> how about the death penalty against proven innocents
AlbertoCG has joined #ruby
Aova has joined #ruby
<workmad3> claf: it could be a functional democracy, just the cultural values are such that the majority of people really like to torture people, and so vote to do so
<claf> naw
<shevy> hey pontiki I am doing it like you now and listening (and watching) old audio clips - I have just noticed that both Blondie and Kim Wilde had blond hair!
<claf> people who love and live in freedom, do not like torture
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<workmad3> claf: that's a rather bold, unilateral statement... got any evidence to back it up? :P
maestrojed has joined #ruby
Aova has quit [Client Quit]
<shevy> workmad3 well that is provided that, the way you vote has an actual impact on what is going to happen (or not happen)
Aswebb_ has joined #ruby
<claf> workmad3: besides, who gets to decide who tortures, and what for? Same as with death penalty. Foolish to give humans that power. When system fails, its *you* who is next!
Aswebb_ has quit [Remote host closed the connection]
<workmad3> claf: it's a democracy, so it's obviously the majority who decides all of that
<shevy> :)
xymbol__ has quit [Quit: Be back later ...]
Aova has joined #ruby
<claf> workmad3: it being?
evanjs_ has quit [Remote host closed the connection]
rylev has joined #ruby
<claf> USA? Nope, the public did not decide, they decided to sheeple and let the military industrial complex run the show
<workmad3> claf: you know, like with athenian democracy, where there were majority votes to kill people with publically painful methods that would be described as torture nowadays, or majority votes to go to war based on insults
<workmad3> claf: etc.
<workmad3> claf: ah, see now you're confusing a democratically elected republic with a democracpy
devoldmx33 has joined #ruby
evanjs has joined #ruby
<workmad3> *democracy
tagrudev has quit [Remote host closed the connection]
mary5030 has joined #ruby
<claf> yeah well
mary5030 has quit [Remote host closed the connection]
tgandrews has quit [Quit: This computer has gone to sleep]
<claf> or parlamentarist democracy, and so on
ccal has left #ruby [#ruby]
evanjs_ has joined #ruby
mary5030 has joined #ruby
apoorvpa_ has quit [Remote host closed the connection]
<claf> Sure, there are cultures that have corrupt value systems when viewed from your value system
Aswebb_ has joined #ruby
<claf> ecmascript truthiness makes rubys seem solid
Aova has quit [Client Quit]
<shevy> haha
<workmad3> claf: yes... and you claimed that such alternate value systems couldn't have a 'functional democracy' based on a unilateral declaration that people who 'love freedom' 'can't tolerate torture'...
Aova has joined #ruby
mondongo has joined #ruby
<workmad3> claf: so... evidence? :)
xymbol__ has joined #ruby
<claf> workmad3: sorry, thats too broad
<workmad3> claf: exactly
<workmad3> claf: that was your statement though
<claf> argumetn
sargas has quit [Quit: This computer has gone to sleep]
chipotle has quit [Quit: cheerio]
evanjs has quit [Ping timeout: 244 seconds]
<claf> workmad3: my argument was, that a functional democratic society would by virtue make its citizens value life, freedom and such "good" values
zybi1 has joined #ruby
<claf> and abhorr unnecessary violence, torture
sailias has quit [Quit: Leaving.]
jeanlinux has quit [Remote host closed the connection]
<shevy> claf well you could always use propaganda to influence the general public
<claf> workmad3: and in fact, you can see the evidence in said USA. They love freedom and peace so much, they export their wars and violence to ensure that.
<shevy> claf they have internal violence too, like shoot first then ask
<claf> shevy: yeah, and all the other manipulations by those greedy for power
<claf> shevy: by those whose values are corrupt
<shevy> they think that their values are sane; even Al Capone said he was a nice guy :)
<workmad3> claf: I love the inconsistency in your statement there btw ;)
<olivier_bK> how can i get with web crawler a js web site ?
<claf> well
<workmad3> claf: 'a functional democratic society would *make* it's citizens value freedom'
<workmad3> *its
<claf> workmad3: once your understanding reaches a certain level, the only understanding you have certainty of, is that there is no absolute certainty
<workmad3> claf: mmm, that's a nice, deep-sounding meaningless statement ;)
spicerack has joined #ruby
<workmad3> claf: care to roll out some more?
snath has joined #ruby
<workmad3> claf: maybe go back to the original form of it - 'Wisest is he who knows that he knows nothing'?
adac has quit [Ping timeout: 256 seconds]
<shevy> certainty you have been quoted ^^^
hs366 has quit [Quit: Leaving]
Takle has quit [Remote host closed the connection]
<claf> propaganda is creating ideas that seduce you into forgetting that you can not know the truth
<workmad3> claf: or maybe you'd like to address the inconsistency of a statement that imposes a love of freedom by dictatorial decree? ;)
<shevy> as long as you see that 2 + 2 = 5 we won't have any problem
<claf> workmad3: fantasy? why address a fantasy
sailias has joined #ruby
qwerqwerqwer1 has joined #ruby
<workmad3> claf: again, it's your statement
<shevy> (in php it might be valid!)
<qwerqwerqwer1> Ip
<qwerqwerqwer1> Ip
<shevy> yeah
<shevy> Ip man
<workmad3> claf: so you admit that your statement is pure fantasy?
qwerqwerqwer1 has left #ruby [#ruby]
<workmad3> claf: reducing your entire argument to idealistic mumblings?
<claf> shevys last video link seems to demonstrate a dysfunctional pillar of democracy
<claf> workmad3: I mean, "love of freedom by dictatorial decree" is fantasy
<claf> I've never heard of such
<workmad3> claf: you're the one who made the statement :P
renderful has joined #ruby
adriancb has joined #ruby
<workmad3> claf: your statement - 'a functional democratic society would by virtue make its citizens value life, freedom, ...'
<workmad3> claf: *make*
<workmad3> claf: as in impose
<claf> workmad3: by "make" I don't mean actively make
troyready has joined #ruby
<workmad3> claf: so under your democratic society, I'm free to believe that people shouldn't be free?L
dfinninger has joined #ruby
<claf> workmad3: I mean, it would come as a result of their freedom, and the understanding that this works for people
hanmac1 has quit [Quit: Leaving.]
<claf> workmad3: no, there is no 'my' democratic society
troyready has quit [Max SendQ exceeded]
<workmad3> claf: so I'm *not* free to believe that?
goodenough has joined #ruby
kobain has joined #ruby
<claf> workmad3: I think *you* are only living in your society, and having accepted that it tortures and incarcerates people as a necessity, you see that as 'normal
<workmad3> claf: so the society imposes its values on me, forcing me to agree to them and subsuming my own personal freedom?
ferr has joined #ruby
<workmad3> claf: I've made no claims about my own beliefs here
<claf> workmad3: well a non-democratic society would impose values
<workmad3> claf: I'm merely poking holes in your statements :P
<workmad3> claf: so don't go trying to force your viewpoint onto me
rippa has joined #ruby
<shevy> claf well that video is of course not representative. I mean for a complete representation you'd need to collect all interactions with police, and I guess the big majority will be uneventful
Takle has joined #ruby
<claf> workmad3: to understand my statement about 'democratic society' 'making' citizens value life, one would need a better definition for 'democratic' -- and since by definition democratic society does not mean dictating citizens value system....
renderful has quit [Ping timeout: 245 seconds]
<workmad3> claf: I understand it very well, thanks
Aova has quit [Remote host closed the connection]
<shevy> workmad3 is totally worked up now!
<shevy> time for a fish slapping duel
<workmad3> claf: it's the classic dichotomy of trading off personal freedom for societal norms
<shevy> with monty python quotes
<claf> and of course society *does* impose norms on you
<claf> even if confucian tribe
<shevy> you could try to ignore society
<workmad3> claf: right... so I'm trying to point out the inconsistency of a society that imposes the norm of loving the lack of imposing stuff on you :P
<claf> well whats the prob?
<workmad3> claf: i.e. 'a functional democratic society would make/impose its values of loving freedom on its citizens'
Aova has joined #ruby
econerd4ever has joined #ruby
<claf> well I think it is something these citizens can experience and understand, and like
<workmad3> claf: or, in other terms, it would subsume your individual values into a set of social values, one of which is valuing individual freedom
adriancb has quit [Remote host closed the connection]
<claf> well in this case that is not quite the case
<workmad3> claf: which is rather inconsistent... and also not something I'd suggest was a necessary aspect of 'functional democracy'
hamakn has quit [Remote host closed the connection]
<claf> phenomenology is needed as well as inductive logic
<claf> or you end up with funny statements that are true
<claf> yep - human thinking!
zarubin has joined #ruby
plukevdh has joined #ruby
<workmad3> claf: so, in the end, it seems your conclusion is that your 'ideal democratic society' is non-democratic by definition
<claf> again, not at all
<workmad3> claf: good times :)
<workmad3> claf: ok... restate it so that your democratic society doesn't impose value systems which you yourself pointed out are undemocratic by definition
krz has quit [Quit: WeeChat 1.0.1]
adac has joined #ruby
<workmad3> claf: and while you're doing that, I'm going to get on with more interesting stuff ;)
<claf> workmad3: this democratic society that I speak of, causes value systems to *emerge*
confucius has joined #ruby
<workmad3> claf: great... where do they emerge from?
<claf> it might even have a built-in value, that value systems are set of unknowns
<workmad3> claf: and what happens to the value systems of people that disagree with them
<claf> ie. the people are *free* to select their value system
<claf> hows that for a promise
<workmad3> claf: and what would you say if the emerging overarching value system was tolerant of torture of 'outsiders' if it was seen by the majority as necessary to preserve their democracy and freedoms?
<workmad3> claf: is that still democratic?
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
russt has quit [Quit: russt]
<claf> workmad3: what happens when communist or fascists want to hang all the fascists and communists? nothing, cause the legislators have put up a law to protect their freedom, and the police are there to ensure
<claf> or, thats the general idea in a democracy
<workmad3> claf: how about if the democracy votes to remove those laws?
mengu has quit [Remote host closed the connection]
<claf> workmad3: and that torture is nothing but violence, in case of USA, by those who have nominated themselves to be *better than the public and the legislators*
agit0 has joined #ruby
adriancb has joined #ruby
marens has joined #ruby
<claf> workmad3: the laws should apply to everyone
<claf> the tortured, the public, the torturers, even
Peterman_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
<workmad3> claf: right... but who decides them? and if they're seen as wrong by society as a whole, who changes them?
econerd4ever has quit [Remote host closed the connection]
<claf> the public
<claf> they should
<claf> if they dont, democracy fails
<claf> as can be seen
<workmad3> claf: right... so what if the *public* votes to do away with those laws and allow torture?
<workmad3> claf: which is just me restating - 'what happens if the democracy votes to remove those laws'
<claf> then that democracy will be destroyed
agjacome has quit [Quit: leaving]
<claf> by the usurpers that the stupid sheeple let into power by allowing them the means of violence
sinkensabe has quit [Remote host closed the connection]
<claf> and the sheeple can only blame themselves
<claf> Hows the CIA coke traffic these days, btw, still in rise?
<workmad3> claf: how about if the public voted to remove those laws against torture and then voted to torture all the previously elected representatives and have a completely open democratic forum to make all decisions?
<workmad3> claf: no idea, as a person who doesn't live in the US, I don't pay much attention to it :P
confucius has left #ruby [#ruby]
<claf> well as you know thats not really how practical democracy works
<workmad3> claf: I'm not arguing practical democracy, I'm exploring the extent of where your definition of 'democracy' stretches to
<claf> but afaics torture is not a valid means among most democratic values
<workmad3> claf: what are 'democratic values'?
aganov has quit [Remote host closed the connection]
lw has quit [Quit: s]
<claf> workmad3: now theres quite a pile of books written on that
<claf> workmad3: I think its life, love and freedom
<workmad3> claf: I'm asking for what it means to you in this context ;)
<claf> everything else comes from those three and valuing them
adriancb has quit [Remote host closed the connection]
<workmad3> claf: ok... so you think that it's impossible for a society to form that doesn't value those, and yet still operates with some form of democratically elected representatives or even goes whole-hog and has a democratic public forum deciding all matters?
<workmad3> claf: or do you merely see it as unlikely?
<claf> well
adriancb has joined #ruby
econerd4ever has joined #ruby
<claf> different cultures have different traditions and histories, and that largely dictates how they organize
Peterman_ has joined #ruby
troyready has joined #ruby
<workmad3> claf: that doesn't answer the question I put forward :P
<claf> cultures that have little responsibility on the people, seem to have "less" democracy that those where people have had to fend for themselves
<workmad3> claf: impossible or unlikely... which do you go for?
adriancb has quit [Remote host closed the connection]
<claf> I think democracy in its core is an extension of human biology
<claf> you have a curious mind, empathy and hunger
<workmad3> claf: ok... so biased, irrational, inconsistent and evolved in a somewhat random manner over long periods of time?
<claf> no I dont think you can have a society that doesn't organize according to its values
Xeago has joined #ruby
<workmad3> claf: you can have humans that don't organise according to their own values
<shevy> let's face it
<shevy> humans are corrupt
louism2wash has joined #ruby
<workmad3> claf: is it really such a stretch to think societies couldn't be just as actively harmful to themselves?
mjuszczak has quit []
wsmoak has quit [Ping timeout: 252 seconds]
bkolden has joined #ruby
adriancb has joined #ruby
<claf> workmad3: I also think Hegel had a great insight. It goes something like: the problem of being human is winning the man that puts you down. But by the act of winning, you become the man.
rimantas has quit [Quit: rimantas]
IrishGringo has joined #ruby
<workmad3> claf: heh :) while I see the problem of being human is that our only tools for comprehending reality are hardwired to act in ways that divorce from reality in multiple ways
<claf> workmad3: and yes, you can have some people who are not involved in society at all. But you cant have societal organization that is in conflict with its peoples values. It will either become divided or torn down.
<workmad3> claf: namely, our brains are hardwired in lots of respects to act against rational/sane purposes :)
<claf> or is it the other way around?
ghostbox has quit [Remote host closed the connection]
<workmad3> claf: anyway, good chat, must go do work now though :)
Peterman_ has quit [Remote host closed the connection]
<claf> thanks workmad3
Peterman_ has joined #ruby
<claf> yep, time to go code (ecma)
adriancb has quit [Ping timeout: 244 seconds]
<claf> And Fight Against Torture!
wsmoak has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
sargas has joined #ruby
rshetty has joined #ruby
kamil has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
TehStig has joined #ruby
rylev has quit [Remote host closed the connection]
_maes_ has joined #ruby
Xeago has quit [Remote host closed the connection]
Daniel__^_^ has joined #ruby
mengu has joined #ruby
jobewan has joined #ruby
mengu has quit [Remote host closed the connection]
mjuszczak has joined #ruby
surs_ has joined #ruby
surs_ has quit [Client Quit]
ghostbox has joined #ruby
himsin has joined #ruby
<shevy> with ECMA
<shevy> and YMCA
Tranquility has joined #ruby
<Daniel__^_^> I'm just learning ruby, this is great
<j2p2> :)
diegoviola has joined #ruby
VictorBjelkholm has quit [Ping timeout: 252 seconds]
uber_hulk has joined #ruby
bmichelsen has quit [Quit: ZZZzzz…]
surs has quit [Quit: leaving]
surs has joined #ruby
IrishGringo has quit [Ping timeout: 272 seconds]
neoxquick has joined #ruby
<pontiki> (it's fun to say at the..)
AFKGeek has quit [Quit: Fades into the shadows]
klmlfl has joined #ruby
hamakn has joined #ruby
william3 has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TomyWork has joined #ruby
<shevy> hmm this is rdoc
<shevy> ##
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<shevy> # Test.
<shevy> class Shape
<shevy> my question is: are the two # needed? Or is this just decoration
rshetty has quit [Ping timeout: 260 seconds]
tessi_zz has joined #ruby
l3kn has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
tier has quit [Remote host closed the connection]
kenneth has joined #ruby
chrishough has joined #ruby
coderhs has joined #ruby
_mtr has joined #ruby
fabrice31 has quit [Remote host closed the connection]
xymbol__ has quit [Quit: Be back later ...]
tobago has quit [Remote host closed the connection]
l3kn has quit [Ping timeout: 272 seconds]
tessi_zz has quit [Ping timeout: 272 seconds]
mjuszczak has quit []
Spami has joined #ruby
ta has quit [Remote host closed the connection]
rshetty has joined #ruby
TomyWork has quit [Ping timeout: 250 seconds]
econerd4ever has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
<jheg> Got some questions on class inheritance …
<jheg> I’m confused as to how they work to be honest
hamakn has quit [Remote host closed the connection]
<jheg> It seems to create a whole lot of dependencies in my mind so pretty sure I’m not getting it
klmlfl has quit [Remote host closed the connection]
_mtr has quit [Ping timeout: 260 seconds]
klmlfl has joined #ruby
<jheg> Now I’m trying to think of the best way to ask this
<jheg> :)
<shevy> it is simple
<shevy> Foo < Bar < Bla < Yoda
<shevy> this is with subclassing
<jheg> I get how a class inherits behaviour
<shevy> on module inclusion you get some kind of ancestor relationship as well
einarj has quit [Remote host closed the connection]
<jheg> but I dont get how instance vars are effected
Hijiri has joined #ruby
<shevy> >> class Foo; end; class Bar < Foo; end; module Bla; end; class Bar; include Bla; end; Bar.ancestors
<eval-in__> shevy => [Bar, Bla, Foo, Object, Kernel, BasicObject] (https://eval.in/233521)
<shevy> how should they be effected
surs has quit [Quit: leaving]
<jheg> yeah I guess thats where it is fuzzy
<shevy> it is not fuzzy
<jheg> Fuzzy in my mind i mean
<j2p2> best resource i've found for learning concepts
<shevy> >> class Foo; def initialize; @foo = 5; end; end; class Bar < Foo; end Bar.new.instance_variables
<eval-in__> shevy => /tmp/execpad-7c1090706727/source-7c1090706727:2: syntax error, unexpected tCONSTANT, expecting keyword_end ... (https://eval.in/233522)
<shevy> oops
<jheg> brilliant thanks j2p2
<shevy> >> class Foo; def initialize; @foo = 5; end; end; class Bar < Foo; end; Bar.new.instance_variables
<eval-in__> shevy => [:@foo] (https://eval.in/233523)
<j2p2> np
<shevy> there. Bar has it
jlast has quit [Remote host closed the connection]
aspires has joined #ruby
jlast has joined #ruby
jlast_ has joined #ruby
AmirolAhmad has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
shazaum_ has joined #ruby
Shazaum has quit [Ping timeout: 272 seconds]
xymbol__ has joined #ruby
sailias has quit [Quit: Leaving.]
jlast has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
pwh has joined #ruby
adriancb has joined #ruby
gener1c has quit [Ping timeout: 255 seconds]
valeriansaliou has joined #ruby
jlast_ has quit [Ping timeout: 245 seconds]
terlar has joined #ruby
iamninja has joined #ruby
goodenough has quit [Remote host closed the connection]
xymbol__ has quit [Client Quit]
VictorBjelkholm has joined #ruby
iwishiwerearobot has joined #ruby
xymbol__ has joined #ruby
tessi_zz has joined #ruby
asuka has joined #ruby
musicmatze has joined #ruby
l3kn has joined #ruby
yeticry has quit [Ping timeout: 258 seconds]
pu22l3r has quit []
djbkd has joined #ruby
chinmay_dd has quit [Ping timeout: 272 seconds]
yeticry has joined #ruby
coderhs has quit [Quit: Leaving]
gener1c has joined #ruby
djbkd has quit [Remote host closed the connection]
iwishiwerearobot has quit [Ping timeout: 272 seconds]
Morkel has quit [Quit: Morkel]
asmodlol has quit [Ping timeout: 264 seconds]
ta has joined #ruby
mjuszczak has joined #ruby
asmodlol has joined #ruby
_beechnut has quit [Quit: Leaving.]
rshetty has quit [Remote host closed the connection]
goodenough has joined #ruby
ghostmoth has joined #ruby
gsd has joined #ruby
ghostbox has quit []
SOLDIERz has quit [Quit: Be back later ...]
michaeldeol has joined #ruby
olivier_bK has quit [Ping timeout: 265 seconds]
conniemj has joined #ruby
Stoge88 has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
maestrojed has quit [Ping timeout: 245 seconds]
sambao21 has quit [Client Quit]
arietis has joined #ruby
fgo_ has quit [Ping timeout: 256 seconds]
sambao21 has joined #ruby
<jheg> So when writing classes that inherit
<jheg> lets say the programis quite complex and the inheritance stack is 10 deep
lkba has joined #ruby
mondongo has quit [Quit: mondongo]
<jheg> does that mean the the lowest subclass has to initialize every inherited instance veriable?
triple_b has joined #ruby
mondongo has joined #ruby
<jheg> I think this is my main area of confusion regarding inheritance
icbm has joined #ruby
<canton7> the derived class initializer will typically call the base class initializer
kl__ has quit [Ping timeout: 255 seconds]
andikr has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
<jheg> the base class being the uppermost superclass?
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atomical has joined #ruby
j_mcnally has joined #ruby
momomomomo has joined #ruby
Stoge88 has joined #ruby
alex88 has quit []
<j2p2> it'll go up the chain til it finds what it needs
mjuszczak has quit []
pushpak has joined #ruby
<pontiki> canton7: when you say "typically" under what circumstances do you mean "typical"
<pontiki> ?
<jheg> but the subclass has to initialize its superclasses IV to pass up the chain right?
dc has joined #ruby
mjuszczak has joined #ruby
JokerDoom has joined #ruby
mjuszczak has quit [Client Quit]
<pontiki> unless the author of the subclass either leaves out the method initialize, or explicitly calls super within it, superclasses' initialize method does not get called
lessless has quit [Ping timeout: 265 seconds]
kapil__ has quit [Quit: Connection closed for inactivity]
drkyro has joined #ruby
Hijiri has quit [Ping timeout: 272 seconds]
<jheg> Ah I didnt realize that the superclass initialize method didnt get called when the subclass is instantiated
rbennacer has quit [Remote host closed the connection]
econerd4ever has joined #ruby
timonv_ has quit [Remote host closed the connection]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jheg> So why do you use inheritance over modules - doesnt that keep it a lot cleaner
<jheg> ?
dc_ has quit [Ping timeout: 252 seconds]
rylev has joined #ruby
<claf> well
<claf> many dont
<workmad3> jheg: I don't use inheritance over modules
<claf> mix-ins baby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<j2p2> jheg, ruby's pretty flexible too and doesn't care that much about instance variables
<pontiki> generally speaking, composition is valued over inheritance. however, inheritance most definitely has it's place at the table as well.
fgo_ has joined #ruby
<canton7> people - particularly beginnners - tend to over-use inheritance. inheritance is a particularly specific tool which can be abused to solve a wide range of stuff
momomomomo has quit [Ping timeout: 240 seconds]
treehug88 has joined #ruby
<canton7> inheritance is about *specialisation*. Is your (proposed) subclass a specialised sort of whatever the superclass is? if it isn't, inheritance probably isn't the right tool
<jheg> j2p2: that is an example of where inheritance is flawed yes?
aZaFred has joined #ruby
havenwood has joined #ruby
<j2p2> i was more trying to show you that you don't have to worry about instance variables in subclasses so much if you're not going to use them
<j2p2> if you never needed name in the subclass, you can just ignore it
bricker`work has joined #ruby
rylev has quit [Remote host closed the connection]
<j2p2> but yeah, what everyone else said - mixins are pretty handy
chinmay_dd has joined #ruby
Spami has joined #ruby
sanguisdex has joined #ruby
j_mcnally has quit [Ping timeout: 245 seconds]
<jheg> yeah good stuff
rbennacer has joined #ruby
<jheg> thanks guys really usefull
rbennacer has quit [Remote host closed the connection]
magoo has joined #ruby
rbennacer has joined #ruby
<j2p2> np
procat has quit [Ping timeout: 245 seconds]
<jheg> would I be right in thinking that inheritance is a good choice if the subclass needs to inherit the superclasses instance variables otherwise look at mixins?
tvw has quit []
zybi1 has quit [Quit: Leaving]
djbkd has joined #ruby
<jheg> sorry if noob questions I just feel this is really important stuff to know
tvw has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<pontiki> inheritence is a good choice when what you're subclasses reuses most of the defined methods and variables of the superclass
maletor has joined #ruby
<workmad3> jheg: mixins also get access to instance variables
maletor has quit [Changing host]
maletor has joined #ruby
<workmad3> jheg: but it's not a good idea to rely on instance variables in either subclasses or mixins, IMO
adriancb has quit [Remote host closed the connection]
vyorkin has joined #ruby
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
<workmad3> jheg: instance variables are, IMO, a private implementation detail of a class, not something you should depend on
aclearman037 has joined #ruby
mjuszczak has joined #ruby
<pontiki> indeed; objects respond to messages, which classes implement as methods; do not assume any particular implementation *inside* the class
TomyWork has joined #ruby
<jheg> OK so if I had a Person class which had subclasses of male and female I would store iv’s name, age and im’s like speak, run, walk, jump
pu22l3r has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
AlbertoCG has quit [Ping timeout: 255 seconds]
<j2p2> that is one option yes
<workmad3> jheg: well, I'd personally start by asking if you really needed Male and Female as subclasses, or if you just wanted 'Person.new(gender: :male)' ;)
<j2p2> or you could have a mixin "Jumpable" which gave it the methods to jump for example
<jheg> and in the subclasses I’d have say in Female iv’s girl things and in the Male iv’s boy things and im’s like you know has_mood_swings etc :)
stunder has joined #ruby
<pontiki> *sigh*
<pontiki> this is why we can't have nice things
<jheg> yeah so I could resue on my Dog class yes? @j2p2
<workmad3> pontiki: oh, you mean the casual, implicit sexism in examples?
<j2p2> yeah sure
<jheg> it was a joke guys
<workmad3> jheg: * & gals
<jheg> It was either that or going into far too much detail
<pontiki> does not make it funny or welcome
<jheg> a gal can be a guy
Crazy_Atheist has joined #ruby
<jheg> oh come on pontiki seriously?
<workmad3> pontiki: as a gal, what's your opinion on being able to 'be a guy'? :)
mikecmpbll has quit [Quit: ciao.]
geggam has joined #ruby
<pontiki> death by a thousand cuts
<workmad3> pontiki: or would you prefer a different, masculine-oriented new-age gender-neutral term... like 'dude'? :)
<shevy> I am sorry jheg, pontiki has spoken
<shevy> you will have to be punished
<pontiki> i have no problem with "guy" or "dude" or even "man"
<Daniel__^_^> oh hermano
<shevy> oh mi gato
<shevy> hombres!
<Daniel__^_^> shevy: I don't think rdoc requires two ##, I think it's just a stylistic thing
<shevy> ok
<workmad3> pontiki: fun linguistic history time - 'man' used to be the gender-neutral term for 'person' :)
rbennacer has quit [Remote host closed the connection]
<workmad3> pontiki: with 'were' being 'male' :)
<shevy> it's a bit weird because rdoc makes crazy things when I use ASCII adornment like: '# =========== #'
<jheg> soz pontiki I’m so not sexist i’ve got a girlfriend and a daughter ;)
<shevy> ok now we understand why he is such a sexist
<workmad3> jheg: having a girlfriend and a daughter does not mean you can't be sexist ;)
georgesmith has quit [Quit: georgesmith]
<havenwood> ^
<workmad3> jheg: otherwise there wouldn't be a problem with sexist people reproducing....
<shevy> jheg have you finally understood subclassing or will your daughter pick up ruby before you
patrick99e99 has joined #ruby
<pontiki> just drop it
<jheg> oh i so need to give up on jokes with you folks
<workmad3> pontiki: aww, I'm having fun teasing him :(
<jheg> jheg: soz pontiki I’m so not sexist i’ve got a girlfriend and a daughter
<shevy> we haven't quite started yet!
beneggett has joined #ruby
<jheg> ^ was so a joke surely you know this
bahamas has joined #ruby
deric_skibotn has joined #ruby
<shevy> pontiki is not amused at all
<bahamas> hello. does this error say I need to install net-ssh NameError: uninitialized constant Net::SSH? I don't know much about ruby
<shevy> bahamas that means you must require it first
psmolen has joined #ruby
procat has joined #ruby
<bahamas> or can I require it somewhere outside the plugin?
spyderman4g63 has quit [Read error: Connection reset by peer]
<havenwood> bahamas: require 'net/ssh'
<shevy> you can require it before you load up that plugin
<bahamas> in Vagrantfile then
<shevy> :)
adriancb has joined #ruby
spyderman4g63 has joined #ruby
<pontiki> bahamas: however, you are correct, that is indeed broken
anaeem1_ has joined #ruby
codezomb has joined #ruby
<shevy> file a bug!
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> let them know that their software is broken!!!
<workmad3> jheg: btw, as you probably realised, jokes don't always come across well in IRC... seeing as you couldn't tell a lot of the response you got was *also* jokes ;)
<pontiki> that particular plug in is using things that need to be required but aren't explicitly required; they assume something else will do so
<Daniel__^_^> it mentions placing the requires in spec_helper in the readme
<shevy> jheg you'll just have to find a new joke
<jheg> v true workmad3 hopefully in time we’ll understand each other better
<bahamas> I will. thanks, guys!
<shevy> jheg as long as you find your own jokes funny, how bad can it be?
lolmaus has quit [Quit: Konversation terminated!]
AlSquirrel has quit [Quit: This computer has gone to sleep]
<pontiki> what's the cost of a require if something is already required?
<jheg> my naming conventions are terrible though
timonv_ has joined #ruby
<shevy> I think it won't require again
Takle has quit [Remote host closed the connection]
Techguy305 has joined #ruby
<pontiki> it was a slightly rhetorical, shevy
<workmad3> shevy: yes, but what's the cost of the check? :)
_mtr has joined #ruby
<pontiki> point being, it wastes much less time requiring it where needed than having people chase down problems with using your library
<shevy> workmad3 ah hmm
<shevy> workmad3 very very very low cost
jheg has left #ruby [#ruby]
<workmad3> yeah, having the require in the plugin would be correct, rather than assuming it's loaded
_beechnut has joined #ruby
jheg has joined #ruby
<workmad3> shevy: a lot of the load-time issues with rails are due to that check not being very low cost, I believe (and a lot of load-time speedups revolved around making it quicker)
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pontiki> (just had this go-round at work, too)
allcentury has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
<workmad3> shevy: but yeah, it's an ignorable cost unless you're pulling files in during normal running of your program :)
boombadaroomba has joined #ruby
jheg has quit [Quit: jheg]
rbennacer has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
troulouliou_dev has quit [Quit: Leaving]
arup_r has quit [Quit: Leaving.]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adriancb has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
kenneth has joined #ruby
<shevy> rails must be the snail among the webframeworks
ghr has quit [Ping timeout: 258 seconds]
<shevy> DAMN IT
<shevy> I KNEW IT
<shevy> matz will get bored with ruby
<pontiki> rails has many checks to see if something needs to be required automatically
rbennacer has joined #ruby
<shevy> though actually, I like that he takes ideas from erlang
<shevy> if I could code, I would write a programming language inspired based on reallife biological objects
<pontiki> yeah, but you'd have to change your name to Conroy
<shevy> Copyright (c) 2015 Yukihiro Matsumoto
<shevy> wtf
yetanotherdave has joined #ruby
spyderma_ has joined #ruby
gsd has joined #ruby
<shevy> ok
<havenwood> shevy: Matz is in the future.
<shevy> yeah I was about to say
<shevy> matz can time travel
<workmad3> shevy: just fork erlang and rename it shevylang
<havenwood> er
<shevy> workmad3 I find erlang's syntax unusable
<pontiki> ershevy
<havenwood> they should drop the lang
<havenwood> just be "er"
<shevy> how about err?
<pontiki> to err is shevy
<workmad3> shevy: how about elixir? :)
<shevy> err
sargas has joined #ruby
<bahamas> what defines the 'set' method? I'm getting this error in a file: undefined method `set' for main:Object (NoMethodError)
Hijiri has joined #ruby
LouisRoR has quit [Ping timeout: 255 seconds]
Peterman_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
spyderman4g63 has quit [Ping timeout: 245 seconds]
Aswebb_ has joined #ruby
<havenwood> bahamas: i'll wildly guess: sinatra
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_beechnut has quit [Ping timeout: 244 seconds]
hamakn has joined #ruby
Kricir has quit [Remote host closed the connection]
<shevy> sounds correct
<shevy> you seem to have some chaos there bahamas
lw has joined #ruby
tubuliferous has joined #ruby
Kricir has joined #ruby
himsin has left #ruby [#ruby]
<Daniel__^_^> the Object class, has no set method haha
<tubuliferous> Hey folks, how do I add a directory to $LOAD_PATH in my .bash_profile file in OS X?
yfeldblum has joined #ruby
Photism has joined #ruby
<bahamas> havenwood: no. I'm trying to have Vagrant run some serverspec specs
<bahamas> shevy: ^^
wjimenez5271 has joined #ruby
<bahamas> ups. I meant arrow pointing up
<havenwood> my wild guess is wrong? impossible!
hamakn has quit [Ping timeout: 264 seconds]
<shevy> hehe
asmodlol has quit [Ping timeout: 256 seconds]
<havenwood> tubuliferous: $LOAD_PATH is a Ruby global variable. It's Bash that goes in a .bash_profile.
bmichelsen has joined #ruby
<havenwood> tubuliferous: The question doesn't make much sense. Whatcha trying to do?
pedahzur has joined #ruby
<tubuliferous> Ah...
<pedahzur> Howdy! I am trying to install Redmine on a system that doesn't have development tools (because it's a production server). is there a way to tell it to fall back to using the pure-Ruby json module so it doesn't try (and fail) to compile the C module? Or, alternately, is there a way to package up the whole thing on a dev server, and drop it on the production server ready to go? (maybe a subdirectory I could copy over)
nclbr has quit [Quit: Leaving...]
<bahamas> can anyone give me some tips about how this 'set' works. I want to have Vagrant working with serverspec, but my knowledge of Ruby is minimal
<tubuliferous> havenwood: all I'm trying to do is add a directory to the default set of directories Ruby searches for source files
bmichelsen has quit [Client Quit]
yfeldblum has quit [Ping timeout: 244 seconds]
ringarin has joined #ruby
dh64 has joined #ruby
zarubin has quit [Quit: Leaving.]
<havenwood> tubuliferous: alias ruby="ruby -r gem_name_here"
<tubuliferous> cool
<tubuliferous> Thanks, havenwood!
asmodlol has joined #ruby
<shevy> sweet sweet aliases
magoo has quit [Quit: WeeChat 1.0.1]
agit0 has quit [Quit: This computer has gone to sleep]
<tubuliferous> like God's own mercy
rylev has joined #ruby
<havenwood> tubuliferous: You're welcome. Though I'd hesitate to do such a thing. If you can just use -r where you need it it'd be better! :)
chinmay_dd_ has joined #ruby
VictorBjelkholm has quit [Remote host closed the connection]
<tubuliferous> well, I'm not doing anything fancy with Ruby...
tristanp has quit [Remote host closed the connection]
<tubuliferous> I mean, I just use it for an occasional one-off script, so I'm not too worried about really borking anything
roolo has quit [Remote host closed the connection]
<shevy> you could alias it to ruby1 !
roolo has joined #ruby
jordsmi has joined #ruby
<havenwood> bahamas: Where'd the `set` outside any namespace come from? Did you write it?
chinmay_dd has quit [Ping timeout: 258 seconds]
_beechnut has joined #ruby
tristanp has joined #ruby
<workmad3> tubuliferous: there's also 'ruby -I other/path/for/searching'
<tubuliferous> ah...sweet
<tubuliferous> thanks, workmad3
Photism has quit [Read error: Connection reset by peer]
Photism has joined #ruby
<workmad3> tubuliferous: -r for require, -I for adding to the load path, and set RUBY_OPTS for 'defaults' :)
Peterman_ has joined #ruby
agit0 has joined #ruby
<havenwood> workmad3: ah, right - that's what was asked for - much better!
<tubuliferous> RUBY_OPTS is really what I was looking for
<tubuliferous> =)
<workmad3> havenwood: yeah, I'm not forgetting about RUBY_OPTS since I delved in and discovered it's how 'bundle exec' works :)
sambao21 has joined #ruby
lele has joined #ruby
Kricir has quit [Remote host closed the connection]
goodenough has quit [Remote host closed the connection]
sarlalian has joined #ruby
goodenough has joined #ruby
<bahamas> havenwood: I think these are the two relevant files https://bpaste.net/show/e7e26b3386cc
<bahamas> which I wrote
wallerdev has joined #ruby
m8 has joined #ruby
agit0 has quit [Client Quit]
<bahamas> where would I define the namespace?
maletor has quit [Quit: Textual IRC Client: www.textualapp.com]
maletor has joined #ruby
roolo has quit [Ping timeout: 264 seconds]
maletor has quit [Changing host]
maletor has joined #ruby
kenneth has joined #ruby
Kricir has joined #ruby
chthon has quit [Ping timeout: 240 seconds]
<havenwood> bahamas: seems you meant to `config.set` inside the Vagrant.configure block
ta has joined #ruby
<havenwood> s/you/you're/
goodenough has quit [Ping timeout: 260 seconds]
lele has quit [Quit: Coyote finally caught me]
lele has joined #ruby
mondongo has quit [Quit: mondongo]
<bahamas> what values? do I just write config.set?
axilla has joined #ruby
<axilla> whats the best way to say this https://gist.github.com/travisdmathis/3bf7d843ab775306bff2
procat has quit [Ping timeout: 250 seconds]
<axilla> i know there is better ruby syntax,
<havenwood> bahamas: huh? it's not my code, why'd you put it there? :P but it seems you wanted this *inside* the block: config.set :backend, :ssh
kl has joined #ruby
hellome has joined #ruby
<bahamas> ah.
lw has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 264 seconds]
lele has quit [Quit: Coyote finally caught me]
timonv_ has quit [Read error: Connection reset by peer]
Flcn has quit [Quit: Be back later ...]
lele has joined #ruby
TerjeLarsen has joined #ruby
<havenwood> axilla: are you using the return value of the if statement?
AlSquire has joined #ruby
fgo_ has quit [Ping timeout: 244 seconds]
<bahamas> havenwood: unfortunately it doesn't work. I get Vagrant:
<bahamas> * Unknown configuration section 'set'.
asmodlol has joined #ruby
startupality has quit [Quit: startupality]
_mtr has quit [Ping timeout: 264 seconds]
<havenwood> axilla: can you show a bit more context to the code?
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sanguisdex has quit [Quit: Leaving.]
<havenwood> bahamas: gist your current code?
kl has quit [Ping timeout: 244 seconds]
TerjeLarsen has quit [Quit: WeeChat 1.0.1]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
lkba has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
uber_hulk has quit [Quit: leaving]
pietr0 has joined #ruby
momomomomo has joined #ruby
asmodlol has quit [Ping timeout: 250 seconds]
psmolen has quit [Ping timeout: 245 seconds]
studiotate has quit [Quit: Computer has gone to sleep.]
asmodlol has joined #ruby
wjimenez5271 has quit [Remote host closed the connection]
bahamas has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
studiotate has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
kenneth has joined #ruby
x1337807x has joined #ruby
apeiros_ has joined #ruby
psmolen has joined #ruby
rkday has joined #ruby
tristanp has quit [Remote host closed the connection]
fgo_ has joined #ruby
vasilakisfil has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 255 seconds]
studiotate has quit [Ping timeout: 244 seconds]
bahamas has joined #ruby
r0bby_ has joined #ruby
drdanmaku has joined #ruby
bahamas has quit [Client Quit]
fargas has quit [Read error: Connection reset by peer]
<axilla> havenwood: child creates a child, but if the folder name already exists it won't create it, i want to use the existing folder if it exists, otherwise just continue along as normal.
robbyoconnor has quit [Ping timeout: 264 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
giuseppesolinas has joined #ruby
wjimenez5271 has joined #ruby
mjuszczak has quit []
kirun has joined #ruby
russt has joined #ruby
jenrzzz has joined #ruby
mjuszczak has joined #ruby
chinmay_dd_ has quit [Quit: Leaving]
rylev has quit [Remote host closed the connection]
timonv_ has joined #ruby
momomomomo has quit [Quit: momomomomo]
whoisjake has joined #ruby
iwishiwerearobot has joined #ruby
startupality has joined #ruby
Takle has joined #ruby
sarmiena_ has joined #ruby
tgandrews has joined #ruby
lkba has joined #ruby
Peterman_ has quit [Remote host closed the connection]
startupality has quit [Client Quit]
Peterman_ has joined #ruby
<havenwood> axilla: so would that mean?: child = current_user.catalogs.find_by_name(folder.name) || catalog.create_child(folder.name, user)
cleopatra has joined #ruby
iwishiwerearobot has quit [Ping timeout: 245 seconds]
adriancb has joined #ruby
timonv_ has quit [Remote host closed the connection]
Techguy305 has quit [Ping timeout: 250 seconds]
timonv_ has joined #ruby
allcentury has quit [Ping timeout: 265 seconds]
<terrellt> Or child = current_user.catalogs.where(:name => folder.name).first_or_create
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<terrellt> axilla: ^
allcentury has joined #ruby
kenneth has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
dts|pokeball has joined #ruby
econerd4ever has quit [Read error: Connection reset by peer]
sanguisdex has joined #ruby
econerd4ever has joined #ruby
dfinninger has quit [Remote host closed the connection]
adriancb has quit [Ping timeout: 264 seconds]
<louism2wash> hey guys, I am wondering what the terminology for "__FILE__" is? Is it a constant? Thanks.
jenrzzz has joined #ruby
timonv_ has quit [Ping timeout: 256 seconds]
<apeiros_> louism2wash: constants start with A-Z, so no, not a constant
<apeiros_> magic/pseudo string literal maybe.
rdark has quit [Quit: leaving]
paulfm has quit [Remote host closed the connection]
<Hanmac> >> defined?(__FILE__)
<eval-in__> Hanmac => "expression" (https://eval.in/233613)
allcentury has quit [Ping timeout: 244 seconds]
<Hanmac> apeiros_ bot says its full of magic
rkday has quit [Ping timeout: 255 seconds]
<apeiros_> >> defined?("hi")
<eval-in__> apeiros_ => "expression" (https://eval.in/233614)
<Hanmac> hmm
paulfm has joined #ruby
<apeiros_> strings are magical too
lolmaus has joined #ruby
<Hanmac> but >> A = 4; defined?(A)
<Hanmac> >> A = 4; defined?(A)
<eval-in__> Hanmac => "constant" (https://eval.in/233615)
yfeldblum has quit [Ping timeout: 265 seconds]
allcentury has joined #ruby
<Hanmac> louism2wash: so that should show that its not a constant ... but something similar to one ... (or something like that)
<louism2wash> >> 2+2
<eval-in__> louism2wash => 4 (https://eval.in/233616)
<louism2wash> whoa, that's awesome
sfr^ has joined #ruby
<Areessell> >> sleep 100
<Areessell> >_>
<eval-in__> Areessell => (https://eval.in/233617)
<Areessell> Wow, it should totally block that
<louism2wash> didn't know you could write ruby in here
<apeiros_> Areessell: you should click the link
<Areessell> It definitely helps when trying to explain a problem or solution
<apeiros_> and before everybody spams the channel again - the bot is for explanations only. not for personal experiments.
<Areessell> Someone is in a good mood
jenrzzz has quit [Ping timeout: 255 seconds]
rbennacer has quit [Remote host closed the connection]
frem_ has joined #ruby
Hobogrammer has joined #ruby
b4rbz has joined #ruby
<godd2> and it returns NEW_STR(rb_str_dup(ruby_sourcefile_string)) when parsed looks like
mary5030_ has joined #ruby
mary5030 has quit [Ping timeout: 255 seconds]
mary5030_ has quit [Remote host closed the connection]
tier has joined #ruby
frem_ is now known as frem
mary5030 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
marr has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
timonv_ has joined #ruby
psmolen has quit [Ping timeout: 250 seconds]
rkday has joined #ruby
paulfm has quit [Read error: Connection timed out]
tier has quit [Remote host closed the connection]
<axilla> rhizome: terrellt that's perfect! thanks
n3phos has quit [Changing host]
n3phos has joined #ruby
paulfm has joined #ruby
Miron has joined #ruby
timonv_ has quit [Remote host closed the connection]
<havenwood> >> defined? __dir__
<eval-in__> havenwood => "method" (https://eval.in/233619)
r0bby_ has quit [Ping timeout: 250 seconds]
<Areessell> Woah woah
<Areessell> Slow down on the smap, there
<godd2> That moment you realize that puts uses goto: https://github.com/ruby/ruby/blob/trunk/io.c#L7091
tier has joined #ruby
<eam> godd2: why shouldn't it?
lessless has joined #ruby
<godd2> cause goto is *eeeeevil*, didn't you hear?
<eam> myth
psmolen has joined #ruby
procat has joined #ruby
Snowstormer has joined #ruby
Pupeno has quit [Remote host closed the connection]
baweaver has joined #ruby
Pupeno has joined #ruby
michaeldeol has joined #ruby
momomomomo has joined #ruby
johnkary has quit [Quit: Computer has gone to sleep.]
william3 has quit [Remote host closed the connection]
tonyhb has joined #ruby
Snowstormer is now known as foundcat
Flcn has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
StoneCypher has joined #ruby
Fusl has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
mozzarella has joined #ruby
freerobby has quit [Quit: Leaving.]
relix has joined #ruby
sigurding has joined #ruby
studiotate has joined #ruby
tristanp has joined #ruby
tubuliferous has quit [Quit: Textual IRC Client: www.textualapp.com]
aspires has quit []
lw has joined #ruby
mozzarella has quit [Quit: WeeChat 1.0.1]
tubuliferous has joined #ruby
johnkary has joined #ruby
_mtr has joined #ruby
arrubin has joined #ruby
aspires has joined #ruby
rylev has joined #ruby
pushpak_ has joined #ruby
pushpak_ has quit [Client Quit]
pandaant has joined #ruby
claymore has joined #ruby
tristanp has quit [Ping timeout: 245 seconds]
pushpak has quit [Ping timeout: 244 seconds]
aspires has quit [Client Quit]
devoldmx33 has quit [Ping timeout: 244 seconds]
framling has joined #ruby
_mtr has quit [Ping timeout: 240 seconds]
chrishough has joined #ruby
tonyhb has quit [Quit: peace]
<shevy> is there a simple way to uninclude a module again from a given class?
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Areessell> quit
<Areessell> er
Areessell has quit [Quit: leaving]
aspires has joined #ruby
<havenwood> shevy: impossibru! well, there're some fancy gems.
x1337807x has joined #ruby
eindoofus has joined #ruby
<shevy> yeah it's not good
<eindoofus> does anyone else get an "invite-only" error message when joining #rails ?
<shevy> adding a dependency on a gem makes it too inflexible :(
<eindoofus> i've identified myself with freenode so i don't know what the problem is
<shevy> I dont know rails, are you not on #rubyonrails?
<eindoofus> oh
<eindoofus> that's where i went wrong. thanks
timonv_ has joined #ruby
dfinninger has joined #ruby
<Daniel__^_^> #rails is probably about trains or something
louism2wash has quit [Quit: This computer has gone to sleep]
mozzarella has joined #ruby
pu22l3r has quit [Remote host closed the connection]
LouisRoR has joined #ruby
tristanp has joined #ruby
pu22l3r has joined #ruby
fgo_ has quit [Ping timeout: 258 seconds]
sambao21 has joined #ruby
<eindoofus> how do you deal with being rejected? i went through two phone interviews, one in-person interview, and was supposed to have a second interview either yesterday or today but there hasn't been a beep out of their recruiter. he hasn't even responded to my email since yesterday afternoon.
<eindoofus> am i wrong to feel disrespected? i thought it's common courtsey to reply and update, even if they aren't interested anymore
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RitterJack has quit [Remote host closed the connection]
<shevy> eindoofus sometimes people are too lazy or too busy to respond
xymbol__ has quit [Quit: Lingo: www.lingoirc.com]
<pontiki> whether you feel disrespected or not is entirely up to you. but you should push back on the recruiter if they're the one managing this process
<pontiki> they may have had something come up, family emergency, who knows
<pontiki> or they may be a total putz
yfeldblum has joined #ruby
<pontiki> regardless, email, phone, text, as many ways as you have to contact them, do so
<pontiki> it shows that *you* are not letting this drop
<pontiki> if you have contact with the actual employers, also contact them
rylev has quit [Remote host closed the connection]
<pontiki> in all this, though, keep an up-beat and positive attitude
dc_ has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
<pontiki> eindoofus: all that was directed at you, sorry
chrishou_ has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
pu22l3r has quit [Read error: Connection reset by peer]
dc has quit [Ping timeout: 258 seconds]
pu22l3r has joined #ruby
chrishough has quit [Read error: Connection reset by peer]
baweaver has quit [Read error: Connection reset by peer]
fgo_ has joined #ruby
hfp_ has joined #ruby
chrishou_ has quit [Client Quit]
DLSteve has joined #ruby
chrishough has joined #ruby
hfp_ is now known as hfp
rylev has joined #ruby
klmlfl has quit [Remote host closed the connection]
ohaibbq has joined #ruby
timonv_ has quit [Remote host closed the connection]
econerd4ever has quit [Remote host closed the connection]
klmlfl has joined #ruby
timonv_ has joined #ruby
jenrzzz has joined #ruby
econerd4ever has joined #ruby
econerd4ever has quit [Remote host closed the connection]
lw has quit [Quit: s]
econerd4ever has joined #ruby
hfp_work has joined #ruby
tgandrews has quit [Quit: This computer has gone to sleep]
mjuszczak has quit []
Pnderer has joined #ruby
<Pnderer> hello!
rylev has quit [Remote host closed the connection]
_JokerDoom has joined #ruby
<Pnderer> Im trying to learn a secondary language(primaray is JS) and I was wondering if I can get your opinion if I should use Ruby over Go
<Pnderer> ik this is subjective, Im only looking for opinions
<shevy> dunno
<shevy> go and ruby do not fill the same niche
timonv_ has quit [Ping timeout: 256 seconds]
<havenwood> Pnderer: I vote Ruby.
<havenwood> This is #ruby after all.
<Pnderer> havenwood, can you explain?
jenrzzz has quit [Ping timeout: 265 seconds]
<Pnderer> Ik this is why Im trying to find bias opinions
jheg has joined #ruby
<wasamasa> Pnderer: we're in #ruby, there's no explanation necessary for recommending it
rkday has quit [Ping timeout: 252 seconds]
TehStig has quit [Remote host closed the connection]
JokerDoom has quit [Ping timeout: 250 seconds]
<Pnderer> wasamasa, Why not? You chose Ruby for a reason. Get a reason that applies with Go
<shevy> Pnderer we even think that ruby is superior to javascript
<wasamasa> Pnderer: my reason was work
<shevy> [x] because you like google
<Daniel__^_^> go is compiled
<wasamasa> Pnderer: people used ruby at work, I learned ruby
<shevy> [x] because go makes you super productive
<wasamasa> Pnderer: simple as that
<Pnderer> shevy, Im not looking for Ruby and Js since I have my reasons why JS is superior IMO
<shevy> shall I link the watman video
studiotate has quit [Quit: Computer has gone to sleep.]
<Pnderer> okay wasamasa
<claf> lol
<wasamasa> wat
<claf> ruby is so superior to js it is not funny
<wasamasa> ^
<Pnderer> claf, cool
<havenwood> Pnderer: I like the aesthetics of Ruby. It's quite expressive.
studiotate has joined #ruby
<shevy> yeah that's why he should pick Go. Go and JS fit together nicely
<claf> Try creating an array of length n, and apply a function to each value in js or ruby
<claf> js is still kind of maturing
<shevy> ok how is the js code for this
tgandrews has joined #ruby
<wasamasa> _.map(ary, function)
<wasamasa> or something like that
<Pnderer> Oh, Ike def know JS's syntax is not that good at all
<shevy> that is not complete is it?
workmad3 has joined #ruby
<wasamasa> shevy: blame underscore.js
<shevy> hehehe
<wasamasa> shevy: making underscores no longer valid placeholders
maasha has joined #ruby
<Pnderer> I prefer Ruby;s syntax, I just like JS for all the stuff you can do with it, with amazing V8 JS speed
tier has quit [Remote host closed the connection]
<shevy> omg
<shevy> _ is my favourite variable
<wasamasa> yes
<shevy> because I don't have to think of a name for it
<wasamasa> and they took it for functional paradigms!
<claf> for js: var arr = Array.apply(null, new Array(5)).map(Number.prototype.valueOf,0); arr.map( function(v, i){ return v+10 } );
* wasamasa shakes fist at js developers
sambao21 has quit [Quit: Computer has gone to sleep.]
<shevy> cool claf
<claf> yes, you cannot initialize array of len n with a value
<claf> shevy: whats it in ruby?
<shevy> let me try to remember the question... hahahaha
boombadaroomba has quit [Remote host closed the connection]
<claf> >> 1..5.map(&:+10)
<eval-in__> claf => /tmp/execpad-856dc2dd39a5/source-856dc2dd39a5:2: syntax error, unexpected tINTEGER, expecting ')' ... (https://eval.in/233634)
<Pnderer> I like JS for its modularity, and speed, although its syntax is improving, slowly though
<shevy> >> [1,2,3].map {|entry| entry * 2 }
<eval-in__> shevy => [2, 4, 6] (https://eval.in/233635)
<maasha> How can I create and populate a ruby Struct from within C? -> Hit.new(node_id, count)?
tgandrews has quit [Client Quit]
<maasha> zenspider: ^^ :o)
<Pnderer> IO.js is really sweet to
<Pnderer> so is Meteor
sailias has joined #ruby
<Pnderer> and so on
tgandrews has joined #ruby
<Pnderer> thats why Js is my primary language
<wasamasa> I can't believe there are already people who call it io.js over node.js
<Pnderer> Well, its faster for now
tier has joined #ruby
sambao21 has joined #ruby
<claf> >> arr = Array.new(5){|i| i+10 }
<eval-in__> claf => [10, 11, 12, 13, 14] (https://eval.in/233637)
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Daniel__^_^ has quit [Remote host closed the connection]
studiotate has quit [Ping timeout: 258 seconds]
<claf> Pnderer: so, how is ecma 5 so sweet?
<claf> it still has weird module syntax
<claf> most of things that are core in other languages need to be required as libraries
<wallerdev> es5 adds some cool ruby stuff like map / reduce
<Pnderer> EcmaScript6 is sweet
<shevy> so javascript steals from ruby
<claf> sure, only you have things like silly array initializing to prevent you from elegant oneliners, wallerdev
<claf> io.js may be sweet in 5 years
<claf> I'm pretty certain
tgandrews has quit [Client Quit]
<waxjar> i thinks this is a good enough argument against js as any: http://bjorn.tipling.com/all-this
<shevy> yeah
<wallerdev> haha i think the real issue preventing elegant oneliners is browser support
<shevy> that is why Pnderer ought to go with Go
jcdesimp has joined #ruby
<claf> but ATM io/node.js gives me "grr, this would be so simple in ruby" about once an hour
rodfersou has quit [Quit: leaving]
<shevy> hehehe
<Pnderer> Meteor does a lot of stuff for you, and is really fast
beneggett has quit [Ping timeout: 256 seconds]
<shevy> you and your continued speed reference
<shevy> Go is faster than Ruby
<shevy> there you go
<wasamasa> speed is all you need
<Pnderer> Ik Ruby has better syntax style than Go and JS
shazaum_ has quit [Quit: This computer has gone to sleep]
<shevy> but speed is more important
sinkensabe has joined #ruby
marr has joined #ruby
<claf> and core, and packaging, facilities
b4rbz has quit [Ping timeout: 256 seconds]
<claf> but speed is more important
pu22l3r has quit [Ping timeout: 240 seconds]
<shevy> hehe
beneggett has joined #ruby
<claf> so use ruby to build it, because it is 4 times faster than your node
<claf> (to build)
<Pnderer> You sure that applies to Meteor.js?
momomomomo has quit [Ping timeout: 272 seconds]
<workmad3> can't quite use ruby to replace meteor, tbh
<workmad3> unless you fancied using opalrb and then building out a similar solid comms & multi-client synchronisation framework with opalrb and a ruby backend
kamil has quit [Quit: Linkinus - http://linkinus.com]
dc_ has quit [Remote host closed the connection]
b4rbz has joined #ruby
banister has joined #ruby
dc has joined #ruby
tgandrews has joined #ruby
<shevy> betrayal!
<workmad3> shevy: annoyingly, ruby isn't easy to run in the browser :P
<claf> Technically, ruby's answer to meteor.js is jruby
tvw has quit []
studiotate has joined #ruby
<claf> (not literally, but covers smae ground)
<workmad3> claf: I don't see how jruby helps with the in-browser client-stuff that meteor.js handles ;)
<claf> oh
<claf> I thought meteor.js was a smartphone platform
<claf> framework
<claf> wateva
Pnderer has quit [Quit: Page closed]
<workmad3> claf: no, it's a js web-framework that focusses on really easy real-time synchronisation of data between server and browser(s)
<claf> ah ok
<workmad3> *focuses
<havenwood> Volt would be about as close as we'd get.
valeriansaliou has quit [Quit: Be back later ...]
fabrice31 has joined #ruby
agit0 has joined #ruby
<workmad3> havenwood: hmm, interesting
<workmad3> havenwood: how's the multi-client synchronisation in volt?
* StoneCypher is currently semi-in-love with react.js
<claf> ok, I put all of these under "the frameworks that break the semantic web in favour of vaporware"
<claf> whats the point
<StoneCypher> but it's not ruby specific and it doesn't do magic glue
agit0 has quit [Client Quit]
<claf> like http is going to run faster if its a single page app
<workmad3> StoneCypher: hah, I'm doing a project with react.js atm too, quite enjoying it :)
<StoneCypher> workmad3: good stuff :)
pu22l3r has joined #ruby
<StoneCypher> workmad3: i'm the author of (various garbage you've never heard of)
<workmad3> StoneCypher: you never know ;)
<StoneCypher> workmad3: in the react space, there's only one thing - a flux conceptual replacement called flocks
<workmad3> StoneCypher: well, my exposure to react is about 2 weeks old :P
<havenwood> workmad3: i dunno, haven't had a chance to actually look at internals yet
<havenwood> or use it for that matter
spyderma_ has quit []
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
Kricir has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
<workmad3> claf: no, but it could easily run faster when it's a single persistant websocket connection rather than a separate request on each single interaction :P
baweaver has joined #ruby
<havenwood> it looks like Confreaks hasn't posted the RubyConf Volt talk yet
lolmaus has quit [Quit: Konversation terminated!]
beef-wellington has quit [Ping timeout: 244 seconds]
rkday has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
<workmad3> havenwood: ah, shame
bwr has joined #ruby
agit0 has joined #ruby
r0bby_ has joined #ruby
geggam__ has joined #ruby
geggam has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
<StoneCypher> workmad3: react's a bunch of fun, especially after one gets to the point of centralizing stuff at the top and letting it push itself down
Fire-Dragon-DoL has joined #ruby
<StoneCypher> you get rid of a huge amount of updating work
Fire-Dragon-DoL has quit [Max SendQ exceeded]
<workmad3> StoneCypher: yeah, that's nice
<workmad3> StoneCypher: I also like the component-based approach it encourages
Fire-Dragon-DoL has joined #ruby
Megtastique has joined #ruby
beef-wellington has joined #ruby
momomomomo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
iceden has joined #ruby
wallerdev has quit [Quit: wallerdev]
sargas has quit [Quit: This computer has gone to sleep]
<StoneCypher> workmad3: yeah it seems like a really comfortable scale of reuse and modularity
<Fire-Dragon-DoL> Mhhh guys I have a doubt about correct way to handle a test. Suppose I have a method that generate a has like { 20: true, 15: false } (ids with success/fail data), in my test, should I actually generate the hash manually (assert method_result == { 20: true, 15: false }) or should I generate it through code? Like records.inject({}) { |hash, record| hash[record.id] = true/false; hash } ?
n1lo has quit [Quit: Leaving]
* IceDragon looks around quickly
* IceDragon ducks
<Fire-Dragon-DoL> ahaha
<IceDragon> MY ARCH NEMESIS FIREDRAGON
vvivv has joined #ruby
<IceDragon> We meet again /bass drop
* Fire-Dragon-DoL smell the air
<Fire-Dragon-DoL> I'm back indeed!
alekst has joined #ruby
<havenwood> with your powers combined, Steam-Dragon!
<Fire-Dragon-DoL> (I just forgot to login actually)
* Fire-Dragon-DoL imagines the steam dragon with "Magika 2" music playing in background
iwishiwerearobot has joined #ruby
tubuliferous has quit [Quit: Textual IRC Client: www.textualapp.com]
<Fire-Dragon-DoL> ( https://www.youtube.com/watch?v=qV0bDdxPoTg <-- this one )
<IceDragon> havenwood: Unfortunately, I'd need to melt first
sambao21 has joined #ruby
agit0 has quit [Quit: This computer has gone to sleep]
<Fire-Dragon-DoL> and I must extinguish, havenwood
<havenwood> Fire-Dragon-DoL: records.each_with_object({}) { |record, hash| hash[record.id] = true/false }
ghostmoth has quit [Quit: ghostmoth]
<Fire-Dragon-DoL> havenwood: that's a good point
<Fire-Dragon-DoL> havenwood: though it's no the answer I'm looking for :S
iwishiwerearobot has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
aspires has quit []
Peterman_ has quit [Quit: Textual IRC Client: www.textualapp.com]
mjuszczak has joined #ruby
r0bby_ has quit [Remote host closed the connection]
procat has quit [Ping timeout: 258 seconds]
triple_b has joined #ruby
Areessell has joined #ruby
Edward2 has joined #ruby
yfeldblum has joined #ruby
robbyoconnor has joined #ruby
justinsmestad has joined #ruby
<Edward2> my name is Edward
<shevy> hello edward
<havenwood> Fire-Dragon-DoL: i'd say just the expected Hash literal. otherwise you'll need to test your tests. and metatests.
<maasha> I must be missing something simple in the README.ext - like how to create a new instance of some Ruby object ... ?
<shevy> Fire-Dragon-DoL careful with IceDragon, he fight dirty
<havenwood> maasha: .new
<IceDragon> hi shevy
robbyoconnor has quit [Client Quit]
<IceDragon> :3
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> IceDragon I can't wait for the last hobbit what the dragon does! I hope it burns dwarves and hobbits alive
<Fire-Dragon-DoL> havenwood: good point on this too, the downside is some maintenance over tests when something changes, but I suppose it's fine
<maasha> havenwood: in a C extension? I think not ...
geggam__ is now known as geggam
geggam has quit [Quit: Leaving]
geggam has joined #ruby
<Edward2> hello
<havenwood> maasha: ah .ext, nevermind then
justinsmestad has quit [Client Quit]
jstad has joined #ruby
procat has joined #ruby
momomomomo has quit [Ping timeout: 250 seconds]
<havenwood> thought that was an odd question, i saw README.md >.>
<Areessell> Hi, Edward
tristanp has quit [Remote host closed the connection]
<Edward2> jeje
yfeldblum has quit [Ping timeout: 245 seconds]
TerjeLarsen has joined #ruby
<Areessell> Were you the one who finally got rid of that incessant Edward1?
<Areessell> Man, that guy sucked.
<shevy> lol
<Edward2> :D
_mtr has joined #ruby
Edward2 has left #ruby [#ruby]
<maasha> havenwood: np, I think I found a way
patrick99e99 has quit [Ping timeout: 252 seconds]
Stoge88 has joined #ruby
TehStig has joined #ruby
patrick99e99 has joined #ruby
jlast has quit [Remote host closed the connection]
boombadaroomba has joined #ruby
jlast has joined #ruby
Stoge88 has quit [Client Quit]
wallerdev has joined #ruby
jordsmi has quit [Quit: Connection closed for inactivity]
_mtr has quit [Ping timeout: 256 seconds]
spicerack has joined #ruby
Kricir has joined #ruby
Kabaka has quit [Ping timeout: 245 seconds]
yetanotherdave has quit [Read error: Connection reset by peer]
sigurding has quit [Quit: sigurding]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
zB0hs has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
spicerack has quit [Read error: Connection reset by peer]
patrick99e99 has quit [Ping timeout: 265 seconds]
aspires has joined #ruby
fgo_ has quit [Ping timeout: 256 seconds]
<maasha> Hm, I think structure wrapping is overkill, there must be a simpler way.
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has quit [Ping timeout: 244 seconds]
yetanotherdave has joined #ruby
tgandrews has quit [Quit: This computer has gone to sleep]
beneggett has joined #ruby
Pumukel has joined #ruby
mjuszczak has quit []
jstad has quit [Quit: Linkinus - http://linkinus.com]
wallerdev has quit [Quit: wallerdev]
agit0 has joined #ruby
Daniel__^_^ has joined #ruby
sargas has joined #ruby
Guest78 has joined #ruby
banister has joined #ruby
studiotate has quit [Read error: Connection reset by peer]
<Daniel__^_^> is everyone still debating js vs ruby vs go?
mjuszczak has joined #ruby
mjuszczak has quit [Client Quit]
studiotate has joined #ruby
<Radar> Go has won.
<Guest78> haha
<Radar> In some cases :)
Guest78 is now known as jstad
<Daniel__^_^> good to know, switching to #golang
jstad has quit [Quit: Textual IRC Client: www.textualapp.com]
<Radar> node is maintained by teenagers and I wouldn't trust it.
<Radar> Ruby is still my favourite.
<Daniel__^_^> hahaha
agit0 has quit [Client Quit]
<waxjar> what's #ruby's opinion on rust?
adriancb has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
jlast has joined #ruby
fgo_ has joined #ruby
atomical has quit [Ping timeout: 258 seconds]
jeanlinux has joined #ruby
Kabaka has joined #ruby
<havenwood> waxjar: Matz said he preferred Go to Rust.
tristanp has joined #ruby
timonv_ has joined #ruby
atomical has joined #ruby
adriancb has quit [Ping timeout: 250 seconds]
econerd4ever has quit [Read error: Connection reset by peer]
<havenwood> waxjar: Some Rubyists certainly seem to like Rust.
<vvivv> scala the best
<havenwood> vvivv: clojure > scala
econerd4ever has joined #ruby
<havenwood> vvivv: jruby \o/
kobain has quit [Ping timeout: 250 seconds]
johnkary has quit [Ping timeout: 240 seconds]
Pupeno has quit [Quit: Leaving...]
<waxjar> i'm quite interested in rust, but its p hard to get started with for me.
<waxjar> never did something with low-level languages
ferr has quit [Ping timeout: 255 seconds]
agit0 has joined #ruby
agit0 has quit [Client Quit]
rkday has quit [Ping timeout: 265 seconds]
Takle has quit [Remote host closed the connection]
wjimenez5271 has quit [Remote host closed the connection]
Takle has joined #ruby
wjimenez5271 has joined #ruby
ramfjord has joined #ruby
jvrmn has joined #ruby
<sweeper> eh, once it gets better for embedded devices, I'll be more interested in rust
rubie has joined #ruby
rylev has joined #ruby
rylev has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
rylev has joined #ruby
greenbagels has joined #ruby
<rubie> hi all: general question, if you were making a game of checkers. how would you create new "checker" objects. would you create them iteratively or just type them all out yourself, or does this not really even matter?
diegoviola has joined #ruby
<j2p2> like to initialize the board?
<rubie> no
<rubie> so there are 16 peices
<rubie> per team
pietr0 has quit [Ping timeout: 244 seconds]
<rubie> so 16 red 16 black
Mekkis has joined #ruby
<havenwood> rubie: :black and :red
<banister> rubie i'd do none of that and just go watch anime instead, speficially rosario vs vampire
pietr0 has joined #ruby
agjacome has joined #ruby
tejas-manohar has joined #ruby
<rubie> dont you want each red piece and each black piece to be its own object?
rylev_ has joined #ruby
<havenwood> rubie: a Symbol is an Object
robertt_dex has quit [Remote host closed the connection]
agjacome has quit [Client Quit]
<havenwood> >> :red.is_a? Object
<eval-in__> havenwood => true (https://eval.in/233679)
axilla has quit [Ping timeout: 264 seconds]
<rubie> right but there are 16 pieces
<rubie> each piece has a different state
<jvrmn> I think he is asking if you would create all 16 instances separately or generate them dynamically.
<rubie> yes!
claymore has quit [Quit: Leaving]
agjacome has joined #ruby
<rubie> instances
rylev has quit [Ping timeout: 255 seconds]
x1337807x has joined #ruby
dts|pokeball has quit [Quit: Leaving]
dts|pokeball has joined #ruby
<Hijiri> what happens if I collect all 16 pieces
rylev has joined #ruby
ht__th has quit [Read error: Connection reset by peer]
rylev has quit [Remote host closed the connection]
<Hijiri> oh, this is checkers
<jvrmn> rubie: In some way you will need an instance for every piece so I am not sure it matters. Declaring them each individually sounds really sloppy but they each have their own state you have to assign so I don't think it seems innappropriate. I'm sure there must be a better way though.
<rubie> i agree
<havenwood> >> [*[:red, nil] * 16, *[nil] * 12, *[nil, :black] * 16]
<eval-in__> havenwood => [:red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, :red, nil, nil, nil, nil, nil, nil, ... (https://eval.in/233680)
<havenwood> but Array.new :P
decoponio has quit [Quit: Leaving...]
<benzrf> havenwood: y not:
<benzrf> [:red, nil] * 16 + [nil] * 12 + [nil, :black] * 16
<benzrf> ^ shorter i think
<rubie> right now i have a hash with --- board[board_coordinate] = color
rylev has joined #ruby
<havenwood> benzrf: hehe, true!
rylev has quit [Remote host closed the connection]
wjimenez_ has joined #ruby
<frem> I have some code that only fails in prod with `can't convert Symbol into String`. It happens in external gems few different places and the stack traces don't have much overlap. Is there a way to monkey patch Symbol so that when the error occurs, I can at least see what is in the object that is failing to convert?
conniemj_ has joined #ruby
ghostmoth has joined #ruby
surial has joined #ruby
<frem> I suspect the error is "masking" what is actually failing.
konsolebox has joined #ruby
<surial> Where can I find the standard list of known singulars/plurals that make this class: https://github.com/rails/rails/blob/efff6c1fd4b9e2e4c9f705a45879373cb34a5b0e/activesupport/lib/active_support/inflector/inflections.rb work?
rylev_ has quit [Ping timeout: 250 seconds]
<surial> s/class/singleton instance
<havenwood> benzrf: oops, though they're staggered, i messed it up for checkers
<benzrf> tsk
<havenwood> haven't played checkers in some time...
drdanmaku has left #ruby [#ruby]
<j2p2> frem, just guessing but maybe try to define to_s?
wjimenez5271 has quit [Ping timeout: 255 seconds]
lw has joined #ruby
wallerdev has joined #ruby
rubie_ has joined #ruby
<j2p2> I think that's what it tries to call
b4rbz has quit [Ping timeout: 250 seconds]
<bricker`work> frem: That happens when you try to do somethign like :symbol + "string"
rubie has quit [Ping timeout: 246 seconds]
<bricker`work> frem: it actually calles "to_str" but you shouldn't define that on symbol
whoisjake has quit []
<bricker`work> calls*
conniemj has quit [Ping timeout: 272 seconds]
<bricker`work> that's not meant to be an "interface" method.
st0mar has quit [Quit: quit]
<havenwood> surial: I'd suggest asking in #rubyonrails.
tvw has joined #ruby
wallerdev has quit [Client Quit]
<surial> ah, that's the channel.
<surial> tried rails, that failed. Muchos gracias!
wallerdev has joined #ruby
<j2p2> well he was trying to figure out what the object was - he could overwrite it and throw an exception immediately just to debug
<frem> The particular instance I'm looking at right now is happening on encode!
mjuszczak has joined #ruby
Tranquility has quit [Quit: Connection closed for inactivity]
jfo has joined #ruby
jeanlinux has quit [Remote host closed the connection]
Tranquility has joined #ruby
kobain has joined #ruby
wjimenez_ has quit [Remote host closed the connection]
wjimenez5271 has joined #ruby
LouisRoR has quit [Ping timeout: 240 seconds]
devoldmx33 has joined #ruby
reinaldob has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pandaant has quit [Remote host closed the connection]
TehStig has quit []
reinaldob has quit [Ping timeout: 272 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegovio1 has joined #ruby
diegoviola has quit [Ping timeout: 252 seconds]
agit0 has joined #ruby
agit0 has quit [Client Quit]
max96at is now known as max96at|off
M-Technic has joined #ruby
freerobby has joined #ruby
jheg has quit [Quit: jheg]
pandaant has joined #ruby
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
wjimenez5271 has quit [Remote host closed the connection]
tesaf has quit [Quit: Lost terminal]
spicerack has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wjimenez5271 has joined #ruby
postmodern has joined #ruby
rubie_ has quit [Quit: Page closed]
freerobby has quit [Quit: Leaving.]
diegovio1 is now known as diegoviola
agit0 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tier has quit [Ping timeout: 244 seconds]
adac has quit [Ping timeout: 245 seconds]
Musashi007 has joined #ruby
tier has joined #ruby
chrishough has joined #ruby
beef-wellington has quit [Ping timeout: 256 seconds]
agit0 has quit [Client Quit]
tier has quit [Remote host closed the connection]
Stalkr_ has joined #ruby
kenneth has joined #ruby
Aswebb_ has quit []
sea_local has joined #ruby
zB0hs has quit [Quit: Textual IRC Client: www.textualapp.com]
elvis4526 has joined #ruby
<elvis4526> what does the ~> operator means ?
<wallerdev> nothing
<jhass> it's no real ruby operator
<wallerdev> are you sure its not ~= ?
<elvis4526> It's in rails Gemfile
<wallerdev> oh
<Daniel__^_^> hahaha
<wallerdev> its in a string then
<jhass> as a string
<elvis4526> the operator is not in a string
eichenwald has quit [Quit: WeeChat 1.0.1]
<jhass> it is
<elvis4526> mygem ~> 4.0
<jhass> you're looking at the .lock then
<jhass> that's not ruby
<elvis4526> Yes okay it's a string
<wallerdev> lol
<elvis4526> what does it mean ?
<jhass> see my link
<elvis4526> oops sorry i missed
<elvis4526> gonna check
jgrevich has joined #ruby
<elvis4526> does this make the gem in question, stuck at the same major version ?
evanjs_ has quit [Remote host closed the connection]
stunder has quit [Remote host closed the connection]
<jhass> depends
_mtr has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
maletor has quit [Ping timeout: 258 seconds]
valeriansaliou has joined #ruby
AlbertoCG has joined #ruby
fabrice31 has joined #ruby
Takle has quit [Remote host closed the connection]
<nateberkopec> What would be the most elegant way to do a time comparison between two times that might be nil?
stunder has joined #ruby
<nateberkopec> Time.now.between?(start_date, end_date) where start_date or end_date might be nil
paulfm has quit [Quit: Goodbye]
<jhass> what would be the outcome if it is nil?
lele has quit [Quit: Coyote finally caught me]
<elvis4526> if I say something like: coffee-script ~> 2.2.0
<elvis4526> it means coffee-script > 2.2.0 and coffee-script <= 2.2.9 ?
<nateberkopec> jhass: if start_date was nil, we should say that Time.now is "between?" that time.
razieliyo has joined #ruby
<jhass> elvis4526: "Had we said ~> 2.2.0, that would have been equivalent to ['>= 2.2.0', '< 2.3.0']" Did you even read my link?
razieliyo has quit [Changing host]
razieliyo has joined #ruby
rkday has joined #ruby
jfo has quit [Remote host closed the connection]
<jhass> nateberkopec: I'd hide it in a method with return true unless start_date
<jhass> as the first line
<elvis4526> Yes I read it. Okay thanks, I just wanted to be sure.
reinaldob has joined #ruby
<tejas-manohar> there's no rails g command for making the home/root view, controller etc right?
<tejas-manohar> like on '/'
<jhass> tejas-manohar: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ help
<nateberkopec> jhass: either could be nil. So if start_date is 50 years ago, and end_date is nil, Time.zone.between?(start_date, end_date) needs to also return false.
<tejas-manohar> whoops wrong tab
Jackneill has quit [Read error: Connection reset by peer]
valeriansaliou has quit [Ping timeout: 256 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
<jhass> nateberkopec: return false unless end_date as second line in that method then
roolo has joined #ruby
dts|pokeball has quit [Read error: Connection reset by peer]
boombadaroomba has quit [Remote host closed the connection]
<jhass> nateberkopec: btw between? is an ActiveSupport method, if you want to know if AS provides a nice helper for this, ask #RubyOnRails
livingstn has quit []
dts|pokeball has joined #ruby
boombadaroomba has joined #ruby
michaeldeol has joined #ruby
jvrmn has quit [Ping timeout: 250 seconds]
<jhass> oh
<jhass> nvm
<jhass> it's Comparable
<jhass> didn't realize
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roolo has quit [Ping timeout: 244 seconds]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wsmoak has quit [Quit: wsmoak]
sambao21 has joined #ruby
sanguisdex has quit [Quit: Leaving.]
reinaldob has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
AlbertoCG has quit [Ping timeout: 255 seconds]
apeiros_ has joined #ruby
djbkd has quit [Remote host closed the connection]
Kaakyy has joined #ruby
<Kaakyy> hi
iwishiwerearobot has joined #ruby
mjuszczak has quit []
it0a has quit [Ping timeout: 250 seconds]
framling has quit [Quit: dead]
<havenwood> Kaakyy: hi
<Kaakyy> userip kaakyy
<Kaakyy> welp
<Daniel__^_^> hehe
<Daniel__^_^> it's ok friend
<Kaakyy> I have not used irc in many many years
parabolize has joined #ruby
<Kaakyy> Learning Ruby now in Codemy
codecop has quit [Remote host closed the connection]
mbff has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
<mbff> Hello! I am trying to use rvm with cron and I can't get the working/home dir to be the directory the file is being run from
<mbff> Any ideas?
Spami has joined #ruby
iwishiwerearobot has quit [Ping timeout: 256 seconds]
jheg has joined #ruby
startupality has joined #ruby
alekst has quit [Quit: Computer has gone to sleep.]
Kaakyy has quit [Quit: Page closed]
patrick99e99 has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
yfeldblu_ has joined #ruby
<wallerdev> cd to it
conniemj_ has quit [Quit: (null)]
josephndenton has quit [Ping timeout: 260 seconds]
conniemj_ has joined #ruby
alekst has joined #ruby
<mbff> alright thanks
ice9 has joined #ruby
Kricir has quit [Remote host closed the connection]
<ice9> the command "bundle" is part of ruby?
_ixti_ has joined #ruby
yfeldblum has joined #ruby
uber_hulk has joined #ruby
<havenwood> mbff: just for future reference but #rvm is an active and helpful channel
<jhass> ice9: no, it's part of the gem bundler
<havenwood> ice9: it's a gem, Bundler
<Areessell> ice9: the `bundle` executable is packaged with the "bundler" gem
<havenwood> ice9: gem install bundler
<Areessell> "gem install bundler"
<Areessell> Ha
<mbff> havenwood, it doesn't set the home/working directory. if I write a file test.txt it will write to /usr/local/wrappers
<mbff> err /usr/local/rvm/wrapps
philwantsfish has joined #ruby
<ice9> I installed it via gem but it's not in the PATH so I can't run it
<havenwood> ice9: OS/distro?
<ice9> havenwood: Archlinux
philwantsfish has quit [Client Quit]
<jhass> ruby package?
yfeldblu_ has quit [Ping timeout: 240 seconds]
<ice9> I'm trying to run "snorby"
philwantsfish has joined #ruby
<jhass> I would recommend the ruby-bundler AUR package for such an essential gem
mary5030 has quit [Remote host closed the connection]
rylev has joined #ruby
<ice9> ok I'll try it thanks
<tejas-manohar> in an mvc layout
<tejas-manohar> which controller do you associate index action with
<havenwood> tejas-manohar: wrong tab? :P
<ice9> jhass: now it's working after I installed it via the AUR, is the gem broken?
<tejas-manohar> shit
AlbertoCG has joined #ruby
<tejas-manohar> lol
<jhass> ice9: no, arch just put --user-install in the global gemrc
startupality has quit [Quit: startupality]
devoldmx33 has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 272 seconds]
<jhass> ice9: which installs the bin/ script to a location that's not in your PATH by default
<jhass> I think that's explained in the wiki
<ice9> jhass: thanks a lot
perturbation has joined #ruby
uber_hulk has quit [Quit: leaving]
timonv_ has quit [Remote host closed the connection]
philwantsfish has quit [Client Quit]
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
philwantsfish has joined #ruby
rylev has quit [Ping timeout: 264 seconds]
gf3 has joined #ruby
sailias has quit [Quit: Leaving.]
dfinninger has quit [Remote host closed the connection]
LouisRoR has joined #ruby
startupality has joined #ruby
Shazaum has joined #ruby
yetanotherdave has quit [Quit: Lost terminal]
mbff has quit [Quit: Leaving]
Flcn has quit [Quit: Be back later ...]
yetanotherdave has joined #ruby
Flcn has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
econerd4ever has quit [Remote host closed the connection]
tristanp has quit [Remote host closed the connection]
econerd4ever has joined #ruby
<jheg> o/
<jheg> so been reading up on inheritance some and take this example
<jheg> I have an Animal superclass and subclasses of that like Human, Dog, Cat etc
lele has joined #ruby
tristanp has joined #ruby
tristanp has quit [Remote host closed the connection]
tristanp has joined #ruby
<jheg> When I create a new instance of Human I want to set instance variables for it’s name and gender
<jheg> but when I create instance of other Animal subclasses I also want to name and gender
sambao21 has joined #ruby
<jheg> so I’m thinking these instance variables should be stored in the superclass?
jeff-ooh has joined #ruby
lele has quit [Client Quit]
agit0 has joined #ruby
agit0 has quit [Client Quit]
n_blownapart has joined #ruby
<jheg> So assuming I moved those instance vars to the Animal class and I also wanted to add a specific instance var to my Human class of @job_title for example
tristanp has quit [Remote host closed the connection]
allcentury has joined #ruby
econerd4ever has quit [Ping timeout: 265 seconds]
eindoofus has quit [Ping timeout: 250 seconds]
<jheg> when I then created a new instance of Human class I would only need to pass in 1 arg (job_title) and although my Human object would have access to the getter and setter instance vars they would be set when I created the object
lele has joined #ruby
alekst has quit [Quit: Computer has gone to sleep.]
dseitz has joined #ruby
<jheg> Is there a point where the DRY principle and class dependencies conflict?
Stoge88 has joined #ruby
<Daniel__^_^> is there a way to run `puts` or another method on a bunch of consecutive method calls without having to call puts?
diegoviola has quit [Quit: WeeChat 1.0.1]
<jheg> for example if I move those instance vars to the superclass its following the DRY principle but it makes my Human class very dependent on the Animal class
lele has quit [Client Quit]
<jheg> What you mean Daniel__^_^ ? Like puts objectname.method1.mthod2 without the puts?
<Daniel__^_^> jheg: yeah
mjuszczak has joined #ruby
<jheg> I guess it depends what the method returns and how it returns it
<jhass> jheg: it is by definition since inheritance is a specialization
<jheg> but might be wrong
djbkd has joined #ruby
Stoge88 has quit [Client Quit]
<Daniel__^_^> but like in a block where everything in the block would have puts called on it
duncannz has joined #ruby
<jhass> inheritance already strongly couples the child class to the parent, no need to worry about adding to that really
_mtr has quit [Ping timeout: 245 seconds]
<jhass> it's part of the reason many people prefer flat hierarchies and composition instead
<jheg> jhass: I’m beginning to get that a child class should be a specialization of the parent
<jhass> yes, under all circumstances it should
<jheg> composition with modules?
<ramfjord> Daniel__^_^: do you have an example you could show us?
jenrzzz has joined #ruby
vvivv has quit [Quit: Leaving]
<jhass> modules/mixins are just another form of inheritance really, a less strong one but still
<jheg> its the instance variables the the initialization that is causing me great confusion
<jhass> composition is class Human; def initialize; @animal = Animal.new; end; end;
Hijiri has quit [Quit: WeeChat 1.0.1]
m8 has quit [Quit: Sto andando via]
Flcn has quit [Ping timeout: 265 seconds]
<jheg> would you say that in my Animal Human model there should be no instance variables in the Animal class?
agjacome has quit [Ping timeout: 245 seconds]
<jhass> jheg: you would call the parent constructor likely
lele has joined #ruby
<Daniel__^_^> ramfjord: like puts.call_all { x; y; 'test' } => 1, 2, test
<jhass> def initialize(age, gender, title); super(age, gender); @title = title; end
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
<ramfjord> => x,y = 1,2 ; puts [x,y,'test']
<jheg> ^ you’d have that in the child class yeah?
<jhass> yeah
<Daniel__^_^> ramfjord: oh ok
<Daniel__^_^> ramfjord: that's cool
<jheg> So I suppose there is no getting away from having to pass those variable up the inheritance chain is there?
<jheg> *variables
bwr has quit [Ping timeout: 244 seconds]
<jhass> ramfjord: Daniel__^_^ no need for the [ ] iirc
<ramfjord> jhass: yeah, you're right
<ramfjord> how do you eval code in here again?
<ramfjord> ?
<jhass> jheg: if it's an attribute of the parent you should pass it
<jhass> ramfjord: >>
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> only do it to demo ;)
iamninja has quit [Quit: ZZZzzz…]
<jheg> ok thanks jhass
<n_blownapart> in a hash, are the keys implicitly stored in an array, or do you need to define the array separately? i.e. , I cannot do this : my_hash[0] and get the first key in the hash returned..
agit0 has joined #ruby
<ramfjord> >> {a:1, b:2}.keys
<eval-in__> ramfjord => [:a, :b] (https://eval.in/233688)
<jhass> n_blownapart: while hashes are ordered by insertion order these days, it's a smell to rely on it IMO
<jhass> n_blownapart: Have a look at Array#assoc and Array#rassoc
Pumukel has quit [Remote host closed the connection]
<n_blownapart> ramfjord: jhass cool thanks alot
CrazyM4n has joined #ruby
veduardo has joined #ruby
hornairs has joined #ruby
alekst has joined #ruby
Takle has joined #ruby
agit0 has quit [Quit: Leaving]
devoldmx33 has joined #ruby
Mothore has quit [Quit: Be back later ...]
kirun has quit [Quit: Client exiting]
jenrzzz has quit [Ping timeout: 260 seconds]
dc has quit [Remote host closed the connection]
lele has quit [Quit: Coyote finally caught me]
davedev24_ has quit [Ping timeout: 258 seconds]
econerd4ever has joined #ruby
atomi has joined #ruby
wjimenez_ has joined #ruby
kl has joined #ruby
x1337807x has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
x1337807x has joined #ruby
Guest73409 is now known as bl4ckdu5t
bl4ckdu5t has quit [Changing host]
bl4ckdu5t has joined #ruby
wjimenez5271 has quit [Ping timeout: 255 seconds]
chipotle has joined #ruby
mjuszczak has quit []
alekst has quit [Quit: Computer has gone to sleep.]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Soliah has joined #ruby
Cork has joined #ruby
ctp__ has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
enebo has quit [Quit: enebo]
alekst has joined #ruby
<Areessell> jhass: You think so? I've done it a few times (relying on insertion order of a hash)
blizzy has joined #ruby
<jhass> yes, a map is not an ordered datastructure
<Areessell> But it is now
procat has quit [Ping timeout: 244 seconds]
<jhass> I mean I've done that 2-3 times too, but mainly because I was lazy
<Areessell> It's been that way for half a decade now, though
<jhass> for rubies main implementation of a map yes, not in the general sense though
allcentury has quit [Ping timeout: 265 seconds]
arquebus has joined #ruby
<jhass> and it only is now to get rid of some inconsistencies
<jhass> if the reason would be because "a map should have an order", then we would have a Hash#sort that returns a new hash, don't you think?
TerjeLarsen has quit [Quit: WeeChat 1.0.1]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
lele has joined #ruby
lele has quit [Client Quit]
<jhass> also {a: 'b', b: 'c'} would be != {b: 'c', a: 'b'}
lele has joined #ruby
<Areessell> Perhaps tehre should be an OrderedHash where that would be the case
<jhass> I think Array#assoc/#rassoc is fine for those usecases
plukevdh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
dc has joined #ruby
mjuszczak has joined #ruby
unclouded has joined #ruby
snath has quit [Ping timeout: 255 seconds]
veduardo has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<bradland> no need for OrderedHash because Hash is ordered
<jhass> read up
<bradland> we have Hash#sort via Enumerable
sambao21 has joined #ruby
ringarin has quit [Ping timeout: 255 seconds]
<bradland> yes, i know you consider it a smell
<bradland> but pragmatically, they’re ordered
mikepack has quit [Remote host closed the connection]
<bradland> and you can use sort and sort_by on a hash
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> smells rarely are about what you can do
<jhass> ruby has many many many ways to shoot yourself into the foot
davedev24_ has joined #ruby
aspires has quit []
startupality has quit [Quit: startupality]
blizzy is now known as BlizzyStacks
<n_blownapart> sorry not clear, jhass what is the reason for ordering *anything* non-sequentially ? what is the engineering reason to require methods in order to get the original sequence?
<bradland> if i wanted a pendantic map, i’d use haskell :)
wjimenez_ is now known as wjimenez5271
michaeldeol has joined #ruby
aspires has joined #ruby
BlizzyStacks is now known as blizzy
<jhass> n_blownapart: I'm sorry but I don't think I understand your question
<bradland> n_blownapart: it’s a matter of opinion on the basis of a hash map
<bradland> it’s meta
<bradland> “what should a hash map be or not be?”
rkday has quit [Ping timeout: 256 seconds]
<n_blownapart> well, with an array you have push / pop to modify it. noob question...
<bradland> “should it be ordered?” is one of the many questions a language designer must answer when building their implementation
<bradland> arrays are ordered
<bradland> traditionally, hash maps are not
brandon_ has joined #ruby
<bradland> or rather, traditionally, arrays are ordered
<bradland> the purpose of a hash map is to say “let’s reference this value: foo, using the key: bar”
<bradland> that functionality doesn’t specify order
snath has joined #ruby
<bradland> so many languages don’t bother to order hash maps
<jhass> and I think ruby only does because Hash includes Enumerable and there's Enumerable#first and inconsistencies like that
rbennace_ has joined #ruby
<bradland> i think ruby orders hashes because it’s pragmatic
<bradland> and because it’s easier to mix in Enumerable when everything works
goodenough has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bradland> if you _need_ to reference by key or by order, it is certainly convenient that ruby hashes are ordered
<n_blownapart> it seems that if order doesn't matter, why not just order it?
<bradland> but jhass is right, by the canonical definition, a hash map isn’t ordered
<n_blownapart> cool something to ponder. thanks all.
yetanotherdave has quit [Ping timeout: 264 seconds]
<bradland> the wikipedia page on hash tables is actually not terrible: http://en.wikipedia.org/wiki/Hash_table
<n_blownapart> gratzie
startupality has joined #ruby
rbennacer has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
treehug88 has quit []
rbennace_ has quit [Ping timeout: 264 seconds]
Tranquility has quit [Quit: Connection closed for inactivity]
SCHAAP137 has quit [Quit: Leaving]
SCHAAP137 has joined #ruby
Kricir has joined #ruby
digdeep has joined #ruby
digdeep has quit [Changing host]
digdeep has joined #ruby
n_blownapart has quit []
jobewan has quit [Quit: Leaving]
_beechnut1 has joined #ruby
_beechnut1 has quit [Client Quit]
bwr has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
diegoviola has joined #ruby
stunder has quit [Quit: Screw you guys I'm going home]
_beechnut has quit [Ping timeout: 250 seconds]
jheg has quit [Quit: jheg]
WillAmes has joined #ruby
tejas-manohar has quit [Ping timeout: 246 seconds]
_mtr has joined #ruby
breadtk has joined #ruby
fabrice31 has joined #ruby
valeriansaliou has joined #ruby
chipotle has quit [Quit: cheerio]
breadtk has left #ruby [#ruby]
goodenough has quit [Remote host closed the connection]
goodenough has joined #ruby
tokik has joined #ruby
_mtr has quit [Ping timeout: 252 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
valeriansaliou has quit [Ping timeout: 265 seconds]
fabrice31 has quit [Ping timeout: 272 seconds]
goodenough has quit [Ping timeout: 250 seconds]
phutchins has quit [Ping timeout: 264 seconds]
Shazaum has quit [Quit: This computer has gone to sleep]
startupality has quit [Quit: startupality]
startupality has joined #ruby
startupality has quit [Client Quit]
codeFiend has joined #ruby
aspires has quit []
djdarkbeat has quit [Quit: djdarkbeat]
devoldmx33 has quit [Remote host closed the connection]