apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste >3 lines of text on gist.github.com || Rails is in #rubyonrails || Log: http://irclog.whitequark.org/ruby
balki_ is now known as balki
<catphish> never had a problem with net/http
marknyc has joined #ruby
jimeh has quit [Ping timeout: 248 seconds]
frogstarr78 has quit [Ping timeout: 244 seconds]
bglusman has quit [Remote host closed the connection]
kyktommy has quit [Quit: kyktommy]
vlad_sta_ has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Read error: Connection reset by peer]
bbttxu has quit [Quit: bbttxu]
level09 has quit [Quit: level09]
mwilson_ has quit [Excess Flood]
ken_barber has quit [Remote host closed the connection]
<\13k> catphish: well, one point against it would be that you had to come down here ask where to find the response headers hehehe. docs are bad, api is clumsy, but nothing strictly wrong with it
mwilson_ has joined #ruby
davidcelis has quit [Ping timeout: 240 seconds]
<catphish> the api does seem a bit filled with redundancy which is a bit clumsy
<catphish> but it works well and in fairness the docs would have been ok if i'd read them properly
ken_barber has joined #ruby
Tomasso has quit [Ping timeout: 250 seconds]
greasegum has quit [Ping timeout: 246 seconds]
<catphish> those other libraries seem rest oriented so they probably have orm i don't need
gducharme has quit [Quit: gducharme]
<catphish> i'll take a look some time but my current app is written now :)
<catphish> thanks anyway
chson has joined #ruby
andrewhl has quit [Remote host closed the connection]
JonnieCache has quit [Ping timeout: 240 seconds]
benson has quit [Remote host closed the connection]
ngoldman has quit []
subbyyy has joined #ruby
subbyyy has quit [Max SendQ exceeded]
subbyyy has joined #ruby
subbyyy has quit [Max SendQ exceeded]
subbyyy has joined #ruby
ianbrandt has quit [Quit: ianbrandt]
mmokrysz has joined #ruby
minijupe has joined #ruby
jjang has quit [Remote host closed the connection]
thone_ has quit [Ping timeout: 240 seconds]
anothervenue has quit [Quit: WeeChat 0.3.8]
yoklov has joined #ruby
vlad_starkov has joined #ruby
ephemerian has quit [Quit: Leaving.]
baroquebobcat has quit [Ping timeout: 252 seconds]
blazes816 has quit [Quit: Leaving]
vlad_sta_ has quit [Ping timeout: 240 seconds]
burgestrand has joined #ruby
dev_ryan70 has joined #ruby
mmokrysz has quit [Quit: Leaving.]
monkegji_ has quit [Remote host closed the connection]
greasegum has joined #ruby
monkegjinni has joined #ruby
dev_ryan70 has quit [Remote host closed the connection]
niku4i has joined #ruby
monkegjinni has quit [Ping timeout: 244 seconds]
frogstarr78 has joined #ruby
ken_barber1 has joined #ruby
ken_barber has quit [Disconnected by services]
ken_barber1 is now known as ken_barber
vlad_starkov has quit [Read error: Connection reset by peer]
kevingranade has joined #ruby
mdszy has joined #ruby
niku4i has quit [Remote host closed the connection]
catphish has left #ruby ["Leaving"]
phrame has quit [Quit: gg]
niku4i has joined #ruby
kuranai|off has quit [Ping timeout: 272 seconds]
Kiall has quit [Ping timeout: 272 seconds]
phrame has joined #ruby
zaiste_ has quit [Ping timeout: 272 seconds]
xybre has quit [Ping timeout: 272 seconds]
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Kiall has joined #ruby
xybre has joined #ruby
joelio has quit [Remote host closed the connection]
zaiste has joined #ruby
wereHamster has quit [Remote host closed the connection]
joelio has joined #ruby
greasegum has quit [Remote host closed the connection]
wereHamster has joined #ruby
kuranai|off has joined #ruby
chriskk_ has joined #ruby
chriskk has quit [Read error: No route to host]
chriskk_ is now known as chriskk
<kevingranade> Trying to run Ward Cunningham's "Smallest Federated Wiki" according to the instructions at https://github.com/WardCunningham/Smallest-Federated-Wiki/wiki/Hosting-and-Installation-Guide I followed all the instructions to run it as a rails app launched with passenger from apache, I get this error Exception Gem::LoadError in PhusionPassenger::Rack::ApplicationSpawner (You have already activated rack 1.3.5, but your Gemfile requires rack
<kevingranade> 1.4.1. Using bundle exec may solve this.) (process 25412, thread #<Thread:0x0000000117db20>): My Google-fu gets me the answer, "You should be invoking the app with 'bundle exec'", but where in the pile of dependencies do I tell passenger, ruby, rvm, etc to invoke using "bundle exec"?
jsilver has quit [Remote host closed the connection]
<kevingranade> also, if I do "gem list" it gives me one list of gems (not matching the dependencies of the app), and if I invoke "bundle exec gem list" it lists the gems that are the app dependencies
niku4i has quit [Ping timeout: 246 seconds]
tiripamwe has quit [Ping timeout: 246 seconds]
obryan has joined #ruby
liluo has quit [Remote host closed the connection]
<chriskk> kevingranade:
<chriskk> gem list usually dumps out a list of gems installed system wide
krizzo has quit [Ping timeout: 244 seconds]
<chriskk> bundle exec gem list run inside of a project folder
<chriskk> will list the installed gems of that particular project
andrewhl has joined #ruby
<kevingranade> right, it seems that the correct gems are installed, but when apache invokes ruby, it's not using bundle, so it's using the system gems instead of the project gems
jjang has joined #ruby
<minijupe> how do I install a gem and all of it's dependencies
<minijupe> ?
<kevingranade> I think I could work around this by installing the appropriate gems system-wide, but FWIU that's the wrong way to do it
schickung has joined #ruby
piotr_ has quit [Ping timeout: 245 seconds]
jgrevich has quit [Quit: jgrevich]
thone has joined #ruby
<kevingranade> also I'd like to report back to the project if their "get off the ground quick" instructions need tweaking
atmosx has quit [Ping timeout: 276 seconds]
atmosx has joined #ruby
<chriskk> did you add the lines to apache2.conf?
aroman has quit [Read error: Connection reset by peer]
aroman_ has joined #ruby
<chriskk> of which ruby to run?
<kevingranade> yes, adjusted for the home directory
RainbowDashh has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
<kevingranade> I had gotten as far as trying to adjust the wrapper script to invoke bundle exec, but that didn't seem to work
<minijupe> gem install rails' didn't seem to install all rails dependencies into my rvm gemset => Could not find thor. What am I missing. I also tried the --include-dependecies but was told that was the default....
freeayu has joined #ruby
vlad_starkov has joined #ruby
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
cmaujean has quit [Ping timeout: 246 seconds]
<kevingranade> oh, passenger calls rack, not ruby, if I'm reading the backtrace correctly, will pastebin
jsilver has joined #ruby
<chriskk> both rails 3 and sinatra are rack apps
<kevingranade> full error and backtrace that appears in the apache error log
<kevingranade> sinatra in this case, IIUC
JackHind has joined #ruby
JackHind is now known as tiripamwe
mahmoudi_ has joined #ruby
Markvilla has quit [Quit: Markvilla]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
mahmoudimus has quit [Ping timeout: 250 seconds]
davidcelis has quit [Quit: K-Lined.]
davidcelis has joined #ruby
davidcelis is now known as Guest84619
Spooner has quit [Ping timeout: 252 seconds]
davidcelis_ has joined #ruby
perryh_away is now known as perryh
jsilver has quit [Remote host closed the connection]
yoklov has quit [Quit: computer sleeping]
Guest84619 has quit [Client Quit]
davidcelis_ has quit [Client Quit]
olrrai has joined #ruby
perryh is now known as perry
fermion has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
eywu has quit [Quit: Leaving.]
vlad_starkov has quit [Remote host closed the connection]
Aaton is now known as Aaton_off
sam113101 has joined #ruby
ryanf has quit [Quit: leaving]
khakimov has quit [Quit: Computer has gone to sleep.]
lewis1711 has left #ruby [#ruby]
KylieBrooks has joined #ruby
vlad_starkov has joined #ruby
<KylieBrooks> I was wondering around the format of a nickname on IRC so that I can check for validity.
<chriskk> kevingranade: different rack versions
minijupe has quit [Quit: minijupe]
<chriskk> kevingranade: looks like the app needs 1.4.1
minijupe has joined #ruby
<chriskk> kevingranade: the doc says to install rack -v 1.3.5 ...
<chriskk> kevingranade: so uninstall v1.3.5
mnaser has quit [Quit: Computer has gone to sleep.]
<chriskk> kevingranade: when you do bundle install, it should've added 1.4.1
nopolitica has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Remote host closed the connection]
btanaka has quit [Remote host closed the connection]
RainbowDashh has joined #ruby
khakimov has joined #ruby
T_Rex_ has quit [Quit: T_Rex_]
jonathanwallace has quit [Ping timeout: 240 seconds]
jonathanwallace has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
burgestrand has quit [Ping timeout: 240 seconds]
davidpk has quit [Quit: Computer has gone to sleep.]
cmaujean has joined #ruby
bradhe has quit [Remote host closed the connection]
<kevingranade> it did, if I do bundle exec gem list, it displays rack 1.4.1
fantazo has joined #ruby
burgestrand has joined #ruby
manizzle has quit [Ping timeout: 244 seconds]
savage- has quit [Ping timeout: 240 seconds]
Y_Ichiro has quit [Read error: Connection reset by peer]
rramsden has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
Ethan has joined #ruby
Y_Ichiro has joined #ruby
randomau_ has quit [Remote host closed the connection]
ringotwo has quit [Remote host closed the connection]
Goles has joined #ruby
ringotwo has joined #ruby
banisterfiend has joined #ruby
RainbowDashh has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
<chriskk> kevingranade: did you try uninstall the other version?
<chriskk> kevingranade: 1.3.5
maletor has quit [Quit: Computer has gone to sleep.]
atmosx has quit [Ping timeout: 276 seconds]
russeld has quit [Quit: Leaving]
ringotwo has quit [Ping timeout: 265 seconds]
patient has quit [Quit: leaving]
Z_Mass has joined #ruby
Araxia has quit [Quit: Araxia]
atmosx has joined #ruby
adeponte has joined #ruby
JustinCampbell has quit [Remote host closed the connection]
kevingranade has quit [Read error: Connection reset by peer]
kevingranade has joined #ruby
cmaujean_ has joined #ruby
cmaujean has quit [Ping timeout: 250 seconds]
cmaujean_ is now known as cmaujean
vitoravelino is now known as vitoravelino`afk
burgestrand has quit [Quit: Leaving.]
voodoofish430 has quit [Quit: Leaving.]
c0rn_ has quit [Quit: Computer has gone to sleep.]
andrewhl has quit [Remote host closed the connection]
<kevingranade> crap, I was misreading the logfile, that started working earlier, now it's selinux breaking things
Ontolog has quit [Quit: Ontolog]
Ethan has quit [Quit: *poof*]
c0rn_ has joined #ruby
aroman has joined #ruby
aroman_ has quit [Read error: Connection reset by peer]
rramsden has left #ruby [#ruby]
apok_ has joined #ruby
c0rn_ has quit [Client Quit]
nari has joined #ruby
apok has quit [Ping timeout: 245 seconds]
apok_ is now known as apok
TorpedoSkyline has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
aroman has quit [Read error: Connection reset by peer]
aroman has joined #ruby
iamjarvo has joined #ruby
mwilson_ has quit [Excess Flood]
maxwellE has joined #ruby
mwilson_ has joined #ruby
dv310p3r has joined #ruby
maxwellE has quit [Client Quit]
maxwellE has joined #ruby
c0rn_ has joined #ruby
maxwellE has quit [Remote host closed the connection]
c0rn_ has quit [Client Quit]
Drewch has quit [Ping timeout: 264 seconds]
nu7hatch has left #ruby [#ruby]
ken_barber has quit [Remote host closed the connection]
seanstickle has quit [Quit: Nihil sub sole novum]
ken_barber has joined #ruby
<kevingranade> yay! disabled selinux (was turning into a rathole), now it's complaining of not finding
<kevingranade> rake, reinstalled rake, and now back to the original error
<kevingranade> I'm just confused why selinux let me start apache the first time, the next time I restarted it blew up...
yugui_zzz is now known as yugui
<kevingranade> it keeps saying "use bundle exec", *where* do I use "bundle exec"?
davidcelis has joined #ruby
idoru has quit [Read error: Connection reset by peer]
mrsolo has quit [Quit: Leaving]
ken_barber has quit [Ping timeout: 250 seconds]
meskyanichi has quit [Quit: Linkinus - http://linkinus.com]
davidpk has joined #ruby
itnomad has quit [Quit: Leaving]
JonnieCache has joined #ruby
davidcelis has quit [Quit: K-Lined.]
davidcelis_ has joined #ruby
davidcelis has joined #ruby
davidcelis_ has quit [Client Quit]
wrapids has joined #ruby
<wrapids> I'm thinking about learning and using ruby in a fairly large project I'm about to start up with a group of developers. We are all students, and all currently employed doing various aspects of web development in php. I'm develop for a large company with Magento and the zend framework, he has experience with this framework as well but does mostly bug fixes and stuff at his current job. I am trying to decide which would be most beneficial. Rub
<wrapids> y or php. I know it's 'good' to know a few languages, but would it really be feasible to pick up ruby for a large project without having ever used it?
<wrapids> I* develop
<Quadlex> wrapids: Everything is feasible if you allow for mistakes and slowdowns
<wrapids> I suppose this question might actually be better suited for ror
Goles has quit [Quit: Computer has gone to sleep.]
<Quadlex> wrapids: Your first (few) rails applications might all SUCK
<stephenjudkins> wrapids: there is no reason to start any new application in PHP
<Quadlex> If it's OK that the code isn't "Best practice", then I'd say do it
<Quadlex> As long as the scope holders know that you might be slower
<stephenjudkins> "a good carpenter doesn't blame his tools", blah blah blah etc, but PHP is a broken, shoddy tool.
<wrapids> Quadlex, It is and isn't. We aren't going to be cutting any corners with it and understand that we'll have to do extensive research.
<stephenjudkins> you can build a nice house with broken tools, and you can build a shitty house with nice tools.
<wrapids> stephenjudkins, Complain about php all you'd like, it's not beneficial to my current employmentn to be studying php, while building a project in the zend framework would be.
<wrapids> to be studying ruby*
apok has quit [Quit: apok]
<Quadlex> wrapids: Is the new project a work project?
<wrapids> Quadlex, no.
davidcelis has quit [Quit: ZNC - http://znc.sourceforge.net]
<stephenjudkins> ok, do what you want: continue being marginally more productive at your current job, at the expense of your long-term productivity at whatever jobs you get in the future.
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
<Quadlex> wrapids: Is it open source?
bricker882 has quit [Quit: Leaving.]
<wrapids> Quadlex, Undecided. We know the project guidelines, goals and the majority of functionality that we are planning for. We do not know if we'd like to do open or closed source however.
<wrapids> Quadlex, It ultimately depends on the finished quality of the project.
kevingranade has quit [Read error: Connection reset by peer]
<Quadlex> wrapids: Who is it for? A non profit? Is it a pet project?
kevingranade has joined #ruby
<wrapids> Quadlex, pet project I suppose.
tewecske has quit [Read error: Operation timed out]
dv_ has quit [Write error: Broken pipe]
seoaqua has joined #ruby
<wrapids> As a fallback it will look nice in a portfolio
<wrapids> I do have an argument for Ruby, in that I don't want to be a web developer per se.
<Quadlex> wrapids: Then do it in whatever you want
<Quadlex> Ruby is a different paradigm to PHP
<Quadlex> It will make you a better programmer if you pick it up in the way it's meant to be written
dv_ has joined #ruby
<wrapids> Quadlex, For the sake of building a portfolio then, if that's all this turns out to be useful for. Would you recommend showing that I'm capable of managing/desiginging/developing large projects in multiple languages, or that I accel at php. Actually just asking that makes it sound obvious.
<Quadlex> Glad to help:P
<Quadlex> My personal commercial value comes from quickly picking stuff up
<Quadlex> Picking apart old projects
<Quadlex> Learning how they tick, and fixing them
<Quadlex> I discuss that in my cover letters and last application round had about a 70% hitrate
<wrapids> Mine is well... undecided at this point. My resume consists of being thrown violently into Magento development for a company with shoddy tools and outdated software.
ringotwo has joined #ruby
<wrapids> You'd probably be able to answer this, are there any e-commerce frameworks built in ruby?
sepp2k has quit [Read error: Connection reset by peer]
<wrapids> such as joomla;/magento
graspee has joined #ruby
<wrapids> Answered my question
<wrapids> Thankfs for the help running a little late
vitoravelino`afk is now known as vitoravelino
<kevingranade> crap, tried just doing "bundle install" instead of "bundle install --deployment", and it installed to vendor/bundle anyway...
<kevingranade> do I just need to manually install the dependencies with gem at this point?
jlogsdon_ has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 246 seconds]
<Quadlex> wrapids: I don't know of any but I'm almost certain there are
<Quadlex> wrapids: try searching rubygem.org
xscc has joined #ruby
tommyvyo has joined #ruby
jparkton has joined #ruby
kevingra` has joined #ruby
<kevingra`> durrr.... ok it's working now chriskk had the solution, just gem install rack -v 1.4.1
<jparkton> what is the difference between ruby and ruby on rails
<Quadlex> jparkton: Ruby is a programming language
<Quadlex> jparkton: Ruby on Rails is a web application framework for/in ruby
<jparkton> ohhhh
blazes816 has joined #ruby
<jparkton> makes sense
<Quadlex> jparkton: It's very opinionated and favors convention over configuration
<jparkton> is it similar to Java/Javascript?
<Quadlex> jparkton: ...those things aren't related
<jparkton> right
<chriskk> kevingra`: :-)
savage- has joined #ruby
<chriskk> jparkton: lol, nope
<jparkton> so is the relationship between ruby and ruby on rails similar as in ther are yet are not related?
<chriskk> jparkton: those are both languages
<Quadlex> Ruby on Rails is written in and for ruby
<mdszy> jparkton: Rails is not a language. Ruby is.
<jparkton> oh so ruby on rails is ruby
<mdszy> jparkton: Rails is a framework.
<Quadlex> It is not a language
<jparkton> lol
<mdszy> jparkton: Rails is just using Ruby for making web stuff.
* jparkton derps
<Quadlex> Are you a developer at the moment jparkton?
<Quadlex> What language?
<jparkton> Quadlex, Java but not accomplished by any means my Perl/Python however are better
<jparkton> as is my php/sql
<chriskk> so it's like PHP and CakePHP
<jparkton> ohh well that makes sense
andrewhl has joined #ruby
kevingranade has quit [Ping timeout: 252 seconds]
<jparkton> so I am going to be coding in eclipse and want to hang in here to act like a total newb
<Quadlex> jparkton: Ruby is to Rails what Java is to Spring
<jparkton> is that agreeable?
<jparkton> Quadlex, LOL
<chriskk> me likes Sublime Text 2 personally
<jparkton> oh
<chriskk> Eclipse is heavy
<jparkton> very true
* ggreer pours some malt liquor on the curb for his homie textmate :(
<jparkton> actually I much prefer vim but a lot of places want me to know eclipse for some unknown reason other than they are Windows "Professionals"
xbayrockx has joined #ruby
savage- has quit [Remote host closed the connection]
<jparkton> and btw vim > emacs
<jparkton> :P
<jparkton> insert rage here
<chriskk> yea, if you're on Windows, then you need real "Professional" tools, so go with notepad
khakimov has quit [Quit: Computer has gone to sleep.]
noganex has quit [Ping timeout: 244 seconds]
<fowl> because there's no vim for windows right
tiripamwe has quit [Ping timeout: 250 seconds]
<fowl> sillyheads
<oddmunds> avoid notepad, notepad is not good with newlines
xscc has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
bradhe has joined #ruby
<offby1> of course there's a vim for windows.
Synthead has joined #ruby
<blazes816> but there's no need when you can use Dreamweaver
<oddmunds> haha
<jparkton> fowl $Path is an amazing development around Microsoft
noganex has joined #ruby
<chriskk> Dreamweaver vs Eclipse - FIGHT
<jparkton> blazes816, bwahahah
alindeman has quit [Read error: Connection reset by peer]
<oddmunds> "no need for vim" is like "no need for a comfortable chair"
<offby1> no need for floors
manizzle has joined #ruby
<jparkton> or notepad++ like a baws
<oddmunds> "no need for a pretty girlfriend"
<graspee> i don't have a need for a pretty girlfriend
<offby1> well, that's demonstrably true
<graspee> and if there were no vim i would use emacs
* offby1 whistles innocently
<oddmunds> yeah, i meant the pretty part
<graspee> are you saying vim is "ugly but gets the job done"? i think something is being insulted but i'm not sure what
<oddmunds> no
<chriskk> lol
oscardelben has joined #ruby
<jparkton> remember ragers all terminals look the same when the lights go out
<jparkton> or.....there all black on the inside
<graspee> like eminem
<jparkton> doing doing doingggg
alindeman has joined #ruby
wrapids_ has joined #ruby
lkba has joined #ruby
andrewhl has quit [Remote host closed the connection]
toastie has joined #ruby
wrapids has quit [Ping timeout: 255 seconds]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
awarner has joined #ruby
mpereira has quit [Ping timeout: 252 seconds]
radic has quit [Disconnected by services]
radic_ has joined #ruby
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
radic_ is now known as radic
Guest11171 has quit [Read error: Connection reset by peer]
andrewhl has joined #ruby
tar_ has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
verto is now known as verto|off
stefanp_ has joined #ruby
grekkos has joined #ruby
grekkos is now known as Guest50126
awarner has quit [Remote host closed the connection]
nopolitica has quit [Ping timeout: 244 seconds]
nopolitica has joined #ruby
stefanp has quit [Ping timeout: 265 seconds]
jameshyde has joined #ruby
adamkittelson has joined #ruby
MatthewGA has quit [Read error: Operation timed out]
kidoz has quit [Quit: Ухожу я от вас]
andrewhl has quit [Remote host closed the connection]
aroman has quit [Quit: aroman]
JackHind has joined #ruby
youdonotexist has joined #ruby
aroman has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
MatthewGA has joined #ruby
Chryson has quit [Quit: Leaving]
ringotwo has quit [Remote host closed the connection]
ringotwo has joined #ruby
bbttxu has joined #ruby
reuf has quit [Read error: Operation timed out]
bbttxu has quit [Client Quit]
adamkittelson has quit [Remote host closed the connection]
banisterfiend has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
ringotwo has quit [Ping timeout: 244 seconds]
nopolitica1 has joined #ruby
wrapids_ has quit [Ping timeout: 252 seconds]
nopolitica has quit [Ping timeout: 248 seconds]
mpereira has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
bbttxu has joined #ruby
artOfWar_ has quit [Read error: Connection reset by peer]
LUEshi is now known as Roxanna
artOfWar has joined #ruby
blazes816 has quit [Quit: Leaving]
<mdszy> code golf <3
sam113101 has quit [Remote host closed the connection]
<offby1> FORE loop
sam113101 has joined #ruby
freeayu has quit [Ping timeout: 248 seconds]
maletor has joined #ruby
sam113101 has left #ruby [#ruby]
Araxia has joined #ruby
Targen_ has joined #ruby
dv310p3r has quit [Quit: Leaving]
Targen has quit [Ping timeout: 240 seconds]
Roxanna has quit [Quit: Lost terminal]
mrkris has joined #ruby
<mrkris> hello, ladies and germs.
freeayu has joined #ruby
danielvdotcom has joined #ruby
<mrkris> given a string, 'hello:world foo:bar bin baz' what would be the quickest way to format it to { hello: 'world', foo: 'bar', extra: 'bin baz' }
<mrkris> I can do it long form, just looking to see if anyone can provide a short method of doing it
<jparkton> mrkris, Alt+F4
<mrkris> NOPE.
<jparkton> shortcut through anything
<jparkton> :P
<bnagy> mrkris: start with .split(' ',3)
atmosx has quit [Ping timeout: 276 seconds]
<bnagy> that should move you along
<mrkris> I can do Hash[*str.scan(/([a-zA-Z0-9_]+):([a-zA-Z0-9\-_]+).flatten]
<mrkris> that returns the hash, just the extra last biut
<mrkris> issue is that the key:val is optional, so is the remainder
<bnagy> yeah except that just made my eyes bleed
<mrkris> the regex?
<fowl> mrkris, wait to combine it in one line until it works
<offby1> bnagy: you too, huh
atmosx has joined #ruby
<bnagy> like I said, split ' ', 3 then prepend extra: to the last then split ':' then use Hash
<bnagy> sry map split ':'
<bnagy> I would write it, but I'm actually working for once :)
<mrkris> bnagy: not a bad way, trying that
JackHind has quit [Read error: Operation timed out]
banisterfiend has joined #ruby
JackHind has joined #ruby
mdszy has quit [Quit: nini]
frogstarr78 has quit [Quit: Leaving]
kvirani has joined #ruby
jerius has joined #ruby
robbyoconnor has joined #ruby
DarthGandalf has quit [Ping timeout: 245 seconds]
MatthewGA has quit [Ping timeout: 255 seconds]
reuf has joined #ruby
Ethan has joined #ruby
andrewhl has joined #ruby
iamjarvo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
danielvdotcom has quit [Quit: i haz 2go bi bi!]
andrewhl has quit [Remote host closed the connection]
mockra has joined #ruby
marknyc has quit []
iamjarvo has joined #ruby
andrewhl has joined #ruby
Ethan has quit [Quit: *poof*]
Ethan has joined #ruby
adamkittelson has joined #ruby
daniel_hinojosa has joined #ruby
elvis4526 has joined #ruby
<elvis4526> Why ruby is suppose to be simpler then other language?
jameshyde has quit [Ping timeout: 252 seconds]
Beoran has quit [Ping timeout: 265 seconds]
mockra has quit [Remote host closed the connection]
Synthead has quit [Quit: sqooq]
skinny_m has quit [Quit: ZNC - http://znc.sourceforge.net]
Araxia has quit [Read error: Connection reset by peer]
Araxia has joined #ruby
Boondox has joined #ruby
<banisterfiend> elvis4526: because it's consistent and elegant
jsilver has joined #ruby
centipedefarmer has quit [Quit: This computer has gone to sleep]
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
mohits has quit [Remote host closed the connection]
Guest50126 has quit [Ping timeout: 248 seconds]
youdonotexist has quit [Quit: youdonotexist]
mpereira has quit [Ping timeout: 248 seconds]
Beoran has joined #ruby
mrkris has quit [Ping timeout: 248 seconds]
jameshyde has joined #ruby
Z_Mass has quit [Quit: Leaving]
andrewhl has quit [Read error: Connection reset by peer]
andrewhl has joined #ruby
krz has joined #ruby
philips_ has quit [Excess Flood]
tewecske has joined #ruby
philips_ has joined #ruby
mockra has joined #ruby
mahmoudimus has joined #ruby
leoncamel has joined #ruby
randomautomator has joined #ruby
igotnolegs has joined #ruby
indeterminate has joined #ruby
<graspee> it just is
shadoi has quit [Quit: Leaving.]
<graspee> it's higher level
<graspee> it makes hard things easy and impossible things merely hard
<elvis4526> Is there a very beginner tutorial that I could read?
hunglin has joined #ruby
hunglin has left #ruby [#ruby]
luckyruby has quit [Remote host closed the connection]
<jsilver> don't b a bitch
<jsilver> C'll take u bak any day
<elvis4526> lol
<jparkton> lol
<jsilver> :D :D :D :D :D :D :D :D
DarthGandalf has joined #ruby
<banisterfiend> jsilver: unfortunately most ruby programmers appear to be ex-PHP programmers...i wish there were more ex-C programmers :/
<jparkton> c/java fart
<elvis4526> I want a beginner tutorial
rippa has joined #ruby
<graspee> there probably are some but i don't have any links for you
<jsilver> lol, banister no i'm really an ex-VB and .NETter
<jsilver> but also an ex-PHP.. no lack of PHP love tho
<jparkton> elvis4526, dont make me go to lmgtfy.com and send you the links
<elvis4526> jparkton: Tutorial on ruby.org are too hard
<elvis4526> ruby-lang.org
<graspee> did you try the 15 min interactive one?
<jparkton> google.com has a ton of other options
<elvis4526> graspee: I never got this to work
<elvis4526> How the hell the page works!?
<graspee> it just works
<graspee> are you using firefox?
<elvis4526> yes
<elvis4526> it is just a web shell
<jsilver> RubyKoans
<jsilver> KidsRuby
<elvis4526> tryruby.org
<jsilver> TryRuby
<jsilver> Rails for Zombies
<jsilver> Codecademy
<graspee> tryruby is the one he can't get to work
<elvis4526> got it, needed to do help lol
<jsilver> tryruby is why's its old and some weird sandbox. no one knows
<jsilver> Rails for Zombies can be nicer...
<graspee> he wants to learn ruby though
<jsilver> to learn anything in ruby, read the README, Wiki and any available docs
<graspee> not how to be an undead mind slave to the corporate evil
k_89 has joined #ruby
<elvis4526> jsilver: These ressources are not accessible for a beginner
<jameshyde> what's the quick way to add up numeric value of all single digits in string "89765"?
<jsilver> graspee: i'm not Anonymous
mrkris has joined #ruby
<graspee> i don't understand
<jsilver> fuck you all
<jsilver> I just gave you a ton of resources for Ruby learning
<graspee> um, what?
Tricks has quit [Read error: Connection reset by peer]
<jsilver> and you're calling me a pig
<jsilver> fuck you
jsilver has quit [Remote host closed the connection]
<graspee> wtf is your problem you freak
scriabin has quit [Ping timeout: 250 seconds]
<jparkton> he needs a hello world tutorial lol
yonggu has left #ruby [#ruby]
nirakara has joined #ruby
Tricks has joined #ruby
<jparkton> ok whats the recommended linux ide for ruby again?
nirakara has quit [Max SendQ exceeded]
<bnagy> vim
scriabin has joined #ruby
<jparkton> really?
<jparkton> emacs is better
<jparkton> :P
<jparkton> flame war!!
<graspee> you can use eric or geany
<bnagy> mostly nobody recommends any 'ide'
nirakara has joined #ruby
randomau_ has joined #ruby
<graspee> or netbeans
<jparkton> oh geany does ruby?
<jparkton> sweet
<graspee> yes
* jparkton hasent used netbeans or eclipse on Linux
<jparkton> there is something so sucky about their linux packages it is sad
<bnagy> why would you use eclipse _ever_ ?
<elvis4526> is it true that ruby is very slow?
<graspee> maybe i meant eclipse. i was just going on what someone was talking about earlier
<graspee> elvis4526: no
<jparkton> bnagy, unfortunately work requires it
<bnagy> elvis4526: compared to C it is slow, compared to working the stuff out in your head it's fast
<elvis4526> Ok I see
<elvis4526> It is slower, but it is faster to code
<bnagy> I wouldn't go as far as 'very' slow though, except for a few very specific workloads
<graspee> you're actually right but that's not what he said
<elvis4526> So on a cheap netbook, a ruby program would work well?
<graspee> i don't see the logic
<elvis4526> graspee: Lol, I say true thing without even noticing it.
<bnagy> depends what it does, and what 'well' means
<elvis4526> at a normal speed
sjork has joined #ruby
<elvis4526> I just plan to do cli stuf
<elvis4526> no gui
<sjork> I'm thinking about the greg nargs!
randomau_ has quit [Read error: Connection reset by peer]
<sjork> â ááááááááááááááááá
<sjork> â á ááá ææææ
<sjork> â á á æææ æ
<bnagy> unless you have a workload that you know in advance is extremely computationally / algorithmically difficult, you'll be fine
<sjork> â ,.-á,,_ ææææ æ áá
<sjork> â ,' á `.ääääääää ææææ á æ áá
<sjork> â / äääää . ææææä á æ á
<sjork> äääääääääää á æææææ ä á æ á
<sjork> ää â æææ , ä ààààáààààààæàààààá
<sjork> äâ`. æææ áàààààààààäà á æ áà
<sjork> äääæææ àààà á \ ä á æ á àà
<sjork> ææææææ äääää`'''-á 'ä á æ á à
<sjork> ææææ â ããääää á ä\, á æ á à
<sjork> æææ â ã ääää ä á æ á à
<sjork> æææ ã ääää á æ á à
<sjork> âæææ ã á ääääää æ á àà
<sjork> â ææ ã áäá ääää æ àáààà
<sjork> â æææã äá äääæààá
<sjork> àààâàààààààææ áäàáàààààààà æäääá
<sjork> à â àæææàä á æ áääää
<sjork> à â áããæä áá á ää
<sjork> à â áá ä æææ á á ää
<sjork> ää àà â á äã ææ á á äää
<bnagy> sjork: die in a fire
<sjork> ääää ààâàáá ä ã æææ á
<sjork> ääää âáàààààààäàààããà æææááààààà
<sjork> äääá â ä ãàààààááææ à
<sjork> ááá äääâ ä ã á à
<sjork> á äää ä ã áá á ààààà
<sjork> á âäää ãáààààá
<sjork> áàààààààààààâààààààààààááã áá
<sjork> áá â áá ãã á
<sjork> áá ââ áááá á
<sjork> áá áâáá áá
<elvis4526> bnagy: What type of work are computationally difficult?
<sjork> áááááá â
randomautomator has quit [Ping timeout: 246 seconds]
<sjork> /
<elvis4526> shut up
<sjork> ,
<sjork> \ ,,..---------.,,, |
<sjork> \, ,-`` | / |
<sjork> is there an Audio Spectrum Analyzer for Sound Card Output?
<sjork> , ` / | |
<sjork> ,' `'-.,,,,,,,,,,.--'``` | |
<sjork> / | |
Icoin has quit [Quit: Icoin]
<sjork> / | |
<sjork> / | |
<sjork> | | /
<sjork> \ _,..--------- - | |
<sjork> ', . '``` . | |
<sjork> ' '- ,,,,,,,--'`` |
<sjork> -` |
<sjork> ,' /
<sjork> / ` |
<sjork> | ,' |
<sjork> | _,,-` |
<sjork> '., __,,,..-''`` |
<sjork> ``'''---''````` |
<sjork> /
<sjork> ,-
<sjork> ,.-'`
<sjork> ,.'`
<sjork> . ,.'`
<sjork> \ ,-'`
<sjork> \ ,.-``
<sjork> `.,_ _,,.-'``
<sjork> ``
zentrification has left #ruby [#ruby]
<sjork> is there an Audio Spectrum Analyzer for Sound Card Output?
<graspee> just /ignore him
<jparkton> awwww so #Ruby hosts special olympics too?
<bnagy> elvis4526: I dunno, lots of stuff.
<graspee> jparkton don't be having a go at disabled people
<bnagy> travelling salesman, md5 hash collision generation...
<jparkton> I was having a go at sjork
<elvis4526> Probably a lot of thing I won't never use
<sjork> _ _ _
<graspee> and disabled people
<sjork> (_) | | | |
<jparkton> I am disabled in fact
<sjork> _ ___ | |_| |__ ___ _ __ ___
<jparkton> so meh
<sjork> | / __| | __| '_ \ / _ \ '__/ _ \
grillo has joined #ruby
<sjork> | \__ \ | |_| | | | __/ | | __/
<sjork> |_|___/ \__|_| |_|\___|_| \___|
<sjork>
<sjork>
<graspee> that doesn't entitle you to anything
<sjork> ___ _ _
<sjork> / _ \ | (_)
<sjork> __ _ _ __ / /_\ \_ _ __| |_ ___
<sjork> / _` | '_ \ | _ | | | |/ _` | |/ _ \
<sjork> | (_| | | | | | | | | |_| | (_| | | (_) |
<sjork> \__,_|_| |_| \_| |_/\__,_|\__,_|_|\___/
<sjork>
<sjork>
<sjork> _____ _
<sjork> / ___| | |
<sjork> \ `--. _ __ ___ ___| |_ _ __ _ _ _ __ ___
<sjork> `--. \ '_ \ / _ \/ __| __| '__| | | | '_ ` _ \
<sjork> /\__/ / |_) | __/ (__| |_| | | |_| | | | | | |
<sjork> \____/| .__/ \___|\___|\__|_| \__,_|_| |_| |_|
<sjork> | |
<sjork> |_|
<fowl> graspee, disableds can make fun of other disableds, its in the bill of rights
<sjork> ___ _
<jparkton> butthurt?
<sjork> / _ \ | |
<sjork> / /_\ \_ __ __ _| |_ _ _______ _ __
robert_ has quit [Read error: Connection reset by peer]
<sjork> | _ | '_ \ / _` | | | | |_ / _ \ '__|
<sjork> | | | | | | | (_| | | |_| |/ / __/ |
<sjork> \_| |_/_| |_|\__,_|_|\__, /___\___|_|
<sjork> __/ |
<sjork> |___/
<graspee> grow up
<sjork> __ _____ _
<sjork> / _| / ___| | |
olrrai has quit [Quit: Saliendo]
<sjork> | |_ ___ _ __ \ `--. ___ _ _ _ __ __| |
tar_ has quit [Quit: farewell]
<sjork> | _/ _ \| '__| `--. \/ _ \| | | | '_ \ / _` |
<sjork> | || (_) | | /\__/ / (_) | |_| | | | | (_| |
<AlbireoX> kick him
<sjork> |_| \___/|_| \____/ \___/ \__,_|_| |_|\__,_|
<sjork>
<sjork>
<jparkton> just like blacks can say the n'word
<jparkton> deal
<sjork> _____ _
<sjork> / __ \ | |
<banisterfiend> sjork for president!
<sjork> | / \/ __ _ _ __ __| |
atmosx_ has joined #ruby
<sjork> | | / _` | '__/ _` |
<sjork> | \__/\ (_| | | | (_| |
<sjork> \____/\__,_|_| \__,_|
<AlbireoX> wtf
<sjork>
<sjork>
<AlbireoX> stop spamming
<sjork> _____ _ _ ___
<sjork> | _ | | | | ||__ \
<sjork> | | | |_ _| |_ _ __ _ _| |_ ) |
<sjork> | | | | | | | __| '_ \| | | | __|/ /
<sjork> \ \_/ / |_| | |_| |_) | |_| | |_|_|
<sjork> \___/ \__,_|\__| .__/ \__,_|\__(_)
<banisterfiend> AlbireoX: it's not spamming, it's art
<elvis4526> Who is he?
<jparkton> heh
<sjork> | |
<sjork> |_|
<jparkton> no ops?
<sjork> THEN ANSWER MY QUESTION
<graspee> just ignore him. it's easy ffs
<banisterfiend> elvis4526: internet graffiti artist
<sjork> _
<sjork> (_)
<sjork> _ __ _ __ _ __ _ ___ _ __
<sjork> | '_ \| |/ _` |/ _` |/ _ \ '__|
<sjork> |_| |_|_|\__, |\__, |\___|_|
<sjork> | | | | | (_| | (_| | __/ |
<sjork> __/ | __/ |
<sjork> |___/ |___/
<jparkton> lol
<elvis4526> banisterfiend: lol
<elvis4526> Nice job
yoklov has joined #ruby
<graspee> he's not going to stop if you ask him too, is he?
<sjork> .__
<sjork> ____ |__| ____ ____ ____ _______
<sjork> | | \ / /_/ >/ /_/ >\ ___/ | | \/
<sjork> |___| /__\___ / \___ / \___ >|__|
<sjork> \/ /_____/ /_____/ \/
<jparkton> not likely
<elvis4526> Stop or I call the cyber-police.
<graspee> to*
<AlbireoX> can someone kick him?
noyb has joined #ruby
nachtwandler has joined #ruby
atmosx has quit [Remote host closed the connection]
<jparkton> graspee, is it ok to call him ignorant?
<graspee> AlbireoX: what's so hard abuot ignoring him?
<AlbireoX> forgot about that
<bnagy> AlbireoX: yeah, because we all have ops, but we love spam :)
<AlbireoX> i've never ignored anyone until now
<sjork> gg
<sjork> ""
<sjork> ,ggg,,ggg, gg ,gggg,gg ,gggg,gg ,ggg, ,gggggg,
<sjork> ,8" "8P" "8, 88 dP" "Y8I dP" "Y8I i8" "8i dP""""8I
<sjork> I8 8I 8I 88 i8' ,8I i8' ,8I I8, ,8I ,8' 8I
<sjork> ,dP 8I Yb,_,88,_,d8, ,d8I ,d8, ,d8I `YbadP' ,dP Y8,
<sjork> 8P' 8I `Y88P""Y8P"Y8888P"888P"Y8888P"888888P"Y8888P `Y8
<sjork> ,d8I' ,d8I'
<sjork> ,dP'8I ,dP'8I
<sjork> ,8" 8I ,8" 8I
<sjork> I8 8I I8 8I
<sjork> `8, ,8I `8, ,8I
<sjork> `Y8P" `Y8P"
yoklov has quit [Client Quit]
<elvis4526> sjork: Stop or the consequences will never be the same
<jparkton> lol
<sjork> THEN ANSWER MY QUESTION
<elvis4526> Continue your art please.
<fowl> sjork, nope
olrrai has joined #ruby
khakimov has joined #ruby
<elvis4526> sjork: What is your question? I'm very experienced in ruby, I'll make my best to help you
<elvis4526> lol
<sjork> # #### ##### # # ###### ##### ######
<sjork> # # # # # # # # #
<sjork> # #### # ###### ##### # # #####
<sjork> # # # # # # ##### #
<sjork> # # # # # # # # # #
<sjork> # #### # # # ###### # # ######
<sjork> #
<sjork> ## # # # # # # ##### # ####
<sjork> # # ## # # # # # # # # # #
<sjork> # # # # # # # # # # # # # #
<sjork> ###### # # # ####### # # # # # # #
<sjork> # # # ## # # # # # # # # #
<sjork> # # # # # # #### ##### # ####
<sjork> #####
<sjork> # # ##### ###### #### ##### ##### # # # #
<sjork> # # # # # # # # # # # ## ##
<sjork> ##### # # ##### # # # # # # # ## #
<sjork> # ##### # # # ##### # # # #
<sjork> # # # # # # # # # # # # #
maletor has quit [Quit: Computer has gone to sleep.]
<sjork> ##### # ###### #### # # # #### # #
olrrai has quit [Client Quit]
<sjork> #
<sjork> # # # # ## # # # ###### ###### #####
<sjork> # # ## # # # # # # # # # #
<sjork> # # # # # # # # # # ##### # #
<sjork> ####### # # # ###### # # # # #####
<sjork> # # # ## # # # # # # # #
<sjork> # # # # # # ###### # ###### ###### # #
<sjork> #####
<sjork> ###### #### ##### # # #### # # # # #####
<sjork> # # # # # # # # # # ## # # #
<sjork> ##### # # # # ##### # # # # # # # # #
<sjork> # # # ##### # # # # # # # # # #
<elvis4526> I'm amazed
<sjork> # # # # # # # # # # # # ## # #
<sjork> # #### # # ##### #### #### # # #####
<sjork> #####
<sjork> # # ## ##### #####
<sjork> # # # # # # #
<sjork> # # # # # # #
<elvis4526> It is beautiful man!
<sjork> # ###### ##### # #
<sjork> # # # # # # # #
<sjork> ##### # # # # #####
<thomas> !ops
<jparkton> sjork, Ruby has no Audio Spectrum Analyzer for Sound Card Output
<sjork> ####### #####
<sjork> # # # # ##### ##### # # ##### # #
<thomas> sjork: shut up
<sjork> # # # # # # # # # # #
<sjork> # # # # # # # # # # ###
<sjork> # # # # # ##### # # # #
<sjork> # # # # # # # # #
<sjork> ####### #### # # #### # #
<jparkton> k
<sjork> I'm talking about windows
<elvis4526> How do you do this?
<sjork> ' _ _// _ _ _
<sjork> _
<sjork> _ /_| _/'
<sjork> (//) ( |(/(//()
<sjork> __
<jparkton> sjork, Windows has no Audio Spectrum Analyzer for Sound Card Output
<sjork> ( _ __/_ _
<sjork> __)/)(-( // (///)
<sjork> _
<sjork> ( |/)(/((//_(-/
<sjork> _ __
<sjork> (_ _ ( _/
<sjork> _
<sjork> (__(// (/
<sjork> __ _
<sjork> (__/(///)(// .
<AlbireoX> ignore sjork
<AlbireoX> oops
<jparkton> sjork, Linux has no Audio Spectrum Analyzer for Sound Card Output
<sjork> Yes it does... there is one built into Total Recorder
<elvis4526> No this isn't great sjork it's not beautiful as the previous one. Keep up the good job please.
<fowl> the really amazing thing is freenode has no flood control
<jparkton> thats not windows dumbfuck
<jparkton> thats a program
<sjork> How do you wreck liss me. Those fuckin' farts. Wonter... a cloody a millickal bath.
<jparkton> go be derpy somewhere else
<sjork> I'm trhinking about the rich ass mechgeggals. I'm thinking about the rich ass micgeggals. Cham cham chack a leek a horn teen! Poot wardy whail wo hootin tood! Holla hoolah hope, laser whip!
<sjork> Rabby dab runna ma nay I'm dabster deester and I'm here to say... rump tump tigga ligger rump tump tay! Frucky duck with the wenner hoopler wheel Cruckity puck on an ass hole Death bones doesn't like dlo flo.
<sjork> Does anyone want to yikkel up the gecko? Chickity china the chinese chicken! Fucking gregging lick piss ass cunt. Haggle hilla horst worst redneck. Buster hymin Juvvy joof jevuv. Reggy McJellico. Into that pussel. No niggards. Your ass nards turned into a POLLEN GRAIN! Ramis blavely reese seats.
<sjork> Frucky duck with one of those chin ladin traps. Rudder smudge wellicker wheel! Run tun ton reddal shmip foe whip woe wack. Rump tump tigger ligger runnel scrath. Doo nah ninnel, nih, nee nat noe. Runt dunt dinny! Rump tump chickin leaker ladin straps... Bam bam glacky I'm degga damn.
<sjork> Ruh hent a lilla hole lieu. The craig mattican. BITCH IF YOU DON'T TAKE DOWN THAT WEBCAM I AM KILLIN' YOUR DAMN DOGS. Electromotive force. Razh ta relley lep ta mezh. Sh Soosh shzhs, seesh seesh-sheesh shoosh shzh shshs shshs. chicawith hedgehog. Ram bram bellalow, brown rye rom one day jeezh cheats!
<sjork> Drederick mick taid with a drederick mick taid with a .. with a... drederick mick taid! Is anyone here the funkistard corn. I boo basted I'm feelin' gleem. Rujjidy jallisher squillidger. fuck you titty suckin' two balled bitch with a fat green clit. Rark tah hoohk tah blanky roop roop duggan.
<sjork> Rigg ass graggan Arewenoo.. Arwenoo zee-oo zaya. Chinna 2olombia adaa wella shrek raflood lool. Ground rearing some groans. I'm huff tuff reffa leffa lurf nords. I'm just like... vanilla ice foe davvity wheel barow Exparly ex preggo Is anyone out there a rig ass graggan? lelly in mah kellar WRESTLING'S FAKE!
<elvis4526> No
<sjork> Pargastian wildly nig nargs. smeggalty dellets Far foo faqqin Digital damage. Where wally niqqs. It's coast to coast night. Hoke a lup! Free faq fornag! Puck a leek a lup to lup round tround. Wormser marrial niqs. El delphin trilaxal. Blanking bluck to the black a lickel bleck narge.
<sjork> Puggy muggle maggity ass riggle ma hole. Buck a waath ess wheel wall! Bustin' room past tin! Buckin' room past in! A harnaly scrary o mep. Rons raplaisher pa noans rebble dibby dump dimp gabble dak. A wristafiable pluckin' Blacking it up to the reng teng blickhole. I kleb to the sand of the blicka rickin time.
<elvis4526> Do ASCCI art again
<sjork> Rekkal theh mick thuck the rep tep taistral. Wallif ma wallis wallets. Is anyone here a jelly-o shkrapper? Bam glacky I'm mega man! Has anyone here ram baisted before? The koost a heeckil pludgeon. Feathers round rick gring air! Liquid cereal's good for you. The mummified goblin. Pallaj oh plex.
<sjork> Gotta set up for the suicide slide Gamma mareenmon. I've got more scrap ass shit than you can balieve with. Sally McDuffo whip. after secv on a sp00ky stream F/\gga foo regga makegg mahoun. Its all fun and games until the power goes out. Mennima Pay Street. rubbbity dib dadge pickard. Lelly in ma kellar.
<sjork> I'm on recky o gregor street. Miggity ass raggan. Boyar bod. Pellicka pool wiss wall. Watching bynum bukkake the smelts Haggity ass mahown. Trukkity rep roon, the kitz a kickel plujin. Trellalickers and burb street. Huck a dickin' dime.
<sjork> Float a pelly plaack ass. You're a digital dumbass. Smuggy jaloo meff jillahole. Dick, dick, dick dickaloo! Dick dickaloo my darling. Haggity ma heggal hole. nuriggerdy diggal. Visi blurb cage. O melon man mist meluhn mijohn. Oh man mellajoram. Hebble oh babble.
xscc has joined #ruby
<sjork> Two guns and a ruck roog. Turned into a hollow loop. scritch scratch the happy fog. Is anyone here a fudge plucker. I'm talking bout a rastal marry yo map. Too many ruggerty dag datoes Or are you fuck wappys out for kill gore!
<AlbireoX> is he a bot?
<sjork> The curmudgeonly pearl; ask and you might be answered. Finger with a whop top tinger. Rig tig tigger. I'm ram bastin' I'm feelin' clean! Pricey bad ass, a whop winger! Gullable dick waffer. Miggity mahoming beacon. Nick lickal novice. Your remenance. Square juice miknuller. Permio plather.
<sjork> Where does master words eat pies for shells? Trenna ma lilla manole. A rargy barg ark. Shockity strip with the rectify guy. Clockity rep with the rectify fly. Hebble o babble. Rudda nah neh noo. HEP TEP ROGGY! I'm thinkin' about greckin' the rummified coin! Let's look at Amenhotep 4's mummified groin!
<sjork> Ploona lefflie ludge picking! Haggy smith heddal, marry oh dettal. Hannabalist, no cannibalist, no hannibalist balievar. Ban dackoo. Put on weight! Wherr wiss fall, nudge plucking. too many |\|igg/\s, that's my line. I'm squirt with the worth of the mother plucking fine. Hoomee missee Mic daisy too. Davey oh doubt. Meggie mahoo middle.
<sjork> Too many Romulan potatoers. Matoonal dakkal. Helly muhp, melly muhp, runna minuck taste-rum. Wack ass weight! Hellamanorf weg watthal. I think I'll just start to try my .smuretsaTcN rubbbity boom ducking. Hitchaleval exasht romice. Up with jelly my humpfrins. Uva devil miss tee pie. She can't poo!
<sjork> Shniqqen munuh lik leggal perritolma penis pran chella maloney day breeze Paahster jam ban wikkle. Hella mah lun mick hella malole. Hella minull mic mella manoh. The roadline, it's illegal. Trully mulla mih nole. I'm a relladge-o-melladge-o-ram. Come on you fuckin dag asses.
<sjork> Damned ram bastions. oilleJcM oper Smelly gruthergrarin trilaxals. withers ground ring air Puggle dee maggle dee mack traggle Jeremy sniqqle. Jeremy spoken, in next day I brusht boyered, I kicked a ball! mellaminorf troll protectors, trolls on the road! troll protectors, their stones of power glow!
<sjork> Fleeberty dith bub, a hick now a hither they humpty tance Lunchell munch a reg uhl schoolio tress nael Chuck a lick a loon baby tunes Weerz mellicorp To the wack ann watching machine wells darilla raptor plexing
<sjork> Shligga ligga millik hole Shligga ligga millik hole regamakio mathjul hah there Just like in Bart Simpson the Magazine! Ban ricky ban glicky jallo whip! menario mibs Pahorp pahilla thin meffrin slujjal jeggy moran magomorph baleener
<sjork> I spell it throwt, you spell it throat, the real way to spell it is throwt throwt THROWT! Hux a mex a lig dwarf dudikolan mail street. Rella manae, Rella Manae, Rye dut duh! I'm living on budgy placky street. Reggal dee deck shweener Hicker trellalicker
<sjork> What part of that doesn't make sense to you robo I'm rang dang smacking it up to the reck a heek a horn drom. Rag agg big chacka lo datey fifty. Sniggital maggal Shelly a jelly a jew lillaputan meglamarian necks booga man Rejja mella mic jeggal Baika looka reg tag
<sjork> Throat a pelly proat raick axe. It doesn't eat muggo whip. It's a piece of paiper. Scrubbbity ass ragamahoun. Raggity ass maga muffin. Where's songy brother? Where's spongy brother? Jellanie mic flyer. Paloody pluck bag ack. Paloody pluck bag ack.
<JackHind> how do you turn this guy off?
<sjork> Whyn you call it throat throwt. I'm a baffy hoe. Flivvy a niv von neffran. Purity and prudence I'm suing for diaper damage. Scragg a billy blunk rake rast eye heeker, playmus guy I don't know what a rubbbity dabby is. Scrunny maloo lef heel hole. Scrunny maloo lef heel hole.
<sjork> Arthie shlellijge. Arthie shlellidge. Talking about a bee turning into a guano root. today I'm doing pasta, i crumble it and pan fry it. Fuckin frosty. david hippa lappa pomprin. Is anyone here a hemp hole? Yeah, well shnijjy mc millicker: i know billy knalavolitz.
<sjork> The Baby Faced Assassin pond. yrummin! Shmega melanie goetz I'm smacking it up to the electrify beam, smacking it to the galactify beam! Smackin the penis with the erectify beam! When will another green skroan the horrified scream
<AlbireoX> JackHind: /ignore sjork
<fowl> JackHind, /ignore sj26
tonini has joined #ruby
lolmaus has joined #ruby
<sjork> rubbbity dag daggy dib dib, daggy daggy dib dib, daggy daggy diggy diggy dib, throwt a welly wheel wall Reppity shcrep bam bam rep rep paranep Shnubbity shnib up bam bam Givin' me twice, i a molst a meeka pleck. Givin' me twice, a molst a meeka pleck.
<sjork> Jeminee smucking smiggle. Halittle halorst hamerrian sects nep tep hotep gargle dee gook mackie mchellic hole. My niqqer dee dag sparky. Ponto comical blessnor I'm dain dead. Razor renzor manellik s-meg smeg you're all smegs. We're hovvy hella pruss miss puss Smelly mudga munaqqal Posta wicka holma melancholy laggam
<sjork> Shmelly a mellac. Cloaky active camoflauge mail bow Warez into a whoop coup daddy deam, I filed a lawsuit with G.L.E.A.M. Dag a ricka bleg nagg. Richel reprezhnik rally mic hoe whip.
<sjork> fucking ass licking piss sucking cunt. Threnthie oh pod throonis Tragallellah. bweeey eeeiw! bweeeeey ail! shnib polmans mahhal wourney Track a mix a meg norge
<sjork> Flathican fellow street. Mc Grellae Mc Regegg. Prag a cuckian bag of gunk. Duh nuh nihh nuh farty milligers. Par boockalie twistie taiter. Tittly spoof bee Trellie oh dabble Antenna rethal Fucky daddy dicky Fucky daddy dicky
<sjork> Chucka lucka ling to the chucka looka lat, man can't be banned! Dee oh doing! Chili box sand reggat. Crackity raggity ann shaggy rab rabble smiley oh diley oh reggal na meck transhole In a tough manner pung dungh chicka licka bang dad. Guess what you smartie millickan jallefnaord. Spend rellik maholmes.
<elvis4526> I love you sjork
<sjork> Rudda boom boom dugging. My name is jameel my name's jamaan. Take this you fuckin' brack stab from buck hole. Brag a cuck of bintorns. I had to have jalooch to have breakfast. Trug a leck leg hole. Tellah mef raf. Trukkle trella lickle mazzle trag. Shab shab skrellix magellix
<sjork> Roonah bucky blay lee! Roonah bucky blay lee! An aggle dee dak beyond the premier. switch up to a wedge pluckie A jecka looch reft round! poochin maleggal Drek a lek meek foamie. shlick a jig jeffjob A jella jitch manifest Horkin malurgis hoarde. prebelally mobijowrist.
<sjork> Fartily gas farts on someone's jacket. Hicka low daggal. Manil hill the jiller. Reet dih doo deh dih, reet deh doo duh. dendridic millimorph cardackio cleptio maggle Jackintoshy zillword. Just another macgasm trexie o mario bubble. I had to have a mummified wheat bread.
<sjork> Slaggy McNelly O-Loop. Hillie Millie. Mijujik calej loft, shweener screlly mellamanorf. The plux to the plack a leak a lithio meth galactical terrial tuesday. Ploody loon, back a toon! ron ton a jelly a shawn. Herd mah thuh fah thuh. Jeggal mig ella cracker. trellamanorf mick hick hole
<sjork> Rump tump tiddle doo, rump dump damn. Farbooky twistie taiter. Farbooky twistie oh plox. jickellastrip shtiffy Trellie oh dabble Sabba7kom allah bilkhair ya rawafeth 3ash men shafek. 3alaikom essalam mawlana. 9eqeleyya kaanat men madresat Averroes. plan dan duckalin jee uhst waistband
<sjork> Sparra kitha mellon hoh snail bookanees. Pucka hoonkin dick ass waste. Triclapian transcripts. Are you a jalellaputian? Arthie midge millik. See that is why I keep going "galactico trallie o-reggal" Cuckin twanbastin wigwams shmagga miggal smell-it syllabalistic macro. Oh-rellage oh ram
<sjork> Trellik mic jelliger. Throwty a pellage plex. Spigga McGregor peggly oh dabble Hicky trellalick. You stupid pudgy fucker. Sneqqal segagal. Purital laggy oh baggal. Bucka broon broom shella muluk mic niqqer. Rooshta shpella. Plocky of pleckal bag a cuck of frin torns
<sjork> Wa Alikum salam wa rehmatullah e wa barakat. Tarka dellalie dool. Mig iff raheg hord. Raga nahoolie jeg narf. Hellage rellage o-ram well to do it pollis Scribble dee babble. Mezzle ma norf. Praggity no maddak Duck a ween wark. You shpuffy shpook ma leggin don't be such a terrorisdt.
<sjork> Hedgy McPillik. Hocka licka meals on weals. Batman, batware, guess who could be in the next Batman movie? It could be you! Galactical tactical earns the hard way. Maggie Mig mellijopod. trar ga moogly a mix traeger Puh reb deb dejjer. fuck jalafi jalive.
<AlbireoX> is he a bot or wat?
<sjork> Leepadipa did away. lovely women spit things. shnep a leppie loon. smellagajee smellamanew. Fruggity diggty! Scrunny maloo lef heel hole shlody shlicka rabbits Galactical tactical plack ass. Pawikki scrap runa mallilligram. pick tatots. Conifanible pluckin. Boom bam shpaghetti monk.
<sjork> Sum bum parlacktical barthy backthickal. partrusially prtregally reggal megagal. You fuckin roody poot noink. Smullah jah litch jitch runhole. Shit up you bad ass. Is anyone here a rubbbity deaf nard. Sniggital wathal whip. Thylacoleo carnifex for a pet, hugga ghigga micomprin. Don't fuck with my restaurant!
<sjork> Truggity reg up rim dum, a spoon contacts the kinigigal concern. trust no one, tiger miller Michelle and jantsy with a banshee! pasa wuh thuh fail the jookified coin. Oh my gum! Oh my gum! It's oh ho ho he's here! Malika joola jalegnorf. Malika joola jalegnorf. Heggal the munch tunch taste rins.
<sjork> Prestegious milla ma hoe. Panny meffa lick waifers. Malorf jin, jalallally jin, screggat mo meggat mo methalithal lowdown. It's oh ho ho she's here! Has anyone here ever been to the bastard zones? Shmeggal dee mech eck golms. Boon toon underwear, boon town.
<sjork> Veronika, days of joy, happy time for girls and boys. Fuggle dee daggle. Ploody pluck a loon, baby tunes. Hella mah nor. Snuggity rabbity pit street. Hackel meal McZhellikehr. Wooh wee! spagg midge mellot. Jello mic tatum. Trucka looger legga baby. martial mic reg egg trans mestrials
<sjork> Mella Midge Mister Pluggity ricking. Rab trab traisies. fruggity hesterani knellect. Rumpin dumpin dighole. Rumpin Dumpin durds. Barvis joon a hear a harvey snards. Jellis mellis Trelalix twixt nick davey. Rawl eenf rurst o plast. Rella mahole rick.
<sjork> Scrunny mit tack pick jack. I'm talkin bout plucky PLUCKIE pluckie o'hare. withers ground ring air. parchookalie buckle, weeh eeh. pluckily boosier bael regget ramajot. bartoofteein regleg. Ret round hujamima bound. Tickle me timbers. Farg duddly uck uck darg marg. Hosh a mosh a luke a leek a leggin! Audacity of it all, you feel small
<sjork> Clarbudgy cabujjin, Carblinkin carblastan carbleggegg. Are bastion you jastuin. We're all for the Kardassians who lost the war against the Federation, don't you tell worf we need another ration. Fargleb skeeol skowl all bleb. carmattick raticular pledge mahole heel. Mettick marial mahoney blastokist
<sjork> Shmartooty boots breath. Rennimino rick taid. Renniminnow rick taid. Carbloochy bad ass. Renna ma nick patrol. A chucka oo maow maow, chucka oo maow maow, a chucka oo mow maow, chucka oo maow maow. Panta hoasta leeka tolweth hade. Rum dump dump digalagger.
<sjork> Cannabalism regamalan. Bardacian bull-horne mooses aren't in this quadrant of the galaxy. Playin' Star Trek Online cause it's free to play, just like All Points Bulletin: Reloaded and Final Fantasy XIV. Eee dah climp lah plocky ug tug tech.
<sjork> I went out with twenty of those rebbity jellickers. we're all midge millickers. Puh reb deb dejjer. Galactical tactical plack ass. Rump tump tiddle doo, rump dump damn. Ban ricky ban glicky jallo whip! Pahorp pahilla thin meffrin. Reggal dee deck shweener. It doesn't eat muggo whip.
<sjork> It's a piece of paiper. Scrubbbity ass ragamahoun. Raggity ass maga muffin. maggity von heffrin Shtooty mic blackened. Shooty hick black and pick tatots. hugga ghigga micomprin. Don't fuck with my restaurant! Truggity reg up rim dum. a spoon contacts the kinigigal concern. trust no one, tiger miller.
<sjork> Michelle and jantsy with a banshee. prebelally mobijowrist. Fartily gas farts on someone's jacket. Where's spongy brother. eye heeker playmus guy. Helly midge mushkin. Rumina mee drowls wall width.
<sjork> I've got your mother's pussy juice bottled, I sell it out of my house
<sjork> S.ll.a.g.g.y mc pit street. Hustler hova heeva Chick ova heeva ova heeva. Braxalarian blalalxrals. snuggity rab rab rabbits. Snuggies aren't selling anymore. most people don't know what a "snuggie" is. Halla micka wheel wyaujtkchtpt.
<sjork> Spaqqa miffa liffa leggin. Terry baloris trickaleggal. Sequester mlajjap eastro diz hamta wan ta licka holmus preed. Scatty picka loon dunes. Hoakalin McGregoar. Roddy McFlyer. Hillie Midge Millik! Arfie McChaffer Chickababy
<sjork> Shaggy mig rehehehehehehp Spleggy melajamick pick tatot. Pegila meligomesk pigilidack fellijiscrap barckarian bustrap piggin kegalarelej shtooty shtipt kid mlelagaraphix transslits
Kazii has joined #ruby
<sjork> Milla jalaoft jitch breakfast Peef pond pallooleol babble. I had to have sex in diapers! I HAD TO HAVE SEX IN DIAPERS! diaper sniper days, everyone knows about sex. it pays when my nickname used to be snake.
<sjork> Puritalin baggy of gunk. my name's not tristan it's rastan. rallin for null like a holdy hook black ann. Tiny tim, dick ass whim. Shaloody shlock braze made. Pullilcoch dravinarial balactal guarns.
<sjork> Albatross doog ee rook rack egg. Wanny manilnorf traggat muh hilli hole back street pormande usft vadinal deena. sex with a shoogie look laygie. Zellamanorf worf wallow. isn't that up the street?
<drizz> nah, pretty sure a bot would be a tad wiser
<sjork> Shlagg lagg McNellanorf. I'm a jalooch jooch jeggal jalalicker. Tricky ass jillickers. Dev dev developers and wheat. /jalack a mic taxle\ juki al juba nas wat eerie fun, jest maleel oo had, lala in mackmod. Fifty tramps.
<sjork> Mister Doofie's diapers. Pahole hell wack pahole hell paiper. jegga rilla ma jorf. plack a pleek meladromic mezzistove tricky the band needs a tan no one cares about care bears eatch mizzle tag the mazer milojprafft malidge praft
<sjork> Mahole hack mellow the wiper. Milla janil. plex kuying flying trev plegs. Jaloffin Jalillobie. I'm in your cement. Parudgy rij jelellolebob. blanky rich fandestriovon. Galaxio trabble. Hef a heavy hompfrin pole. Jalooshitty scrooch
<sjork> I've got more track ass gangsta shit than you could ever come up with.
<sjork> Shneggin manellik reggal! Claviparin Varsaipiant reznik. Asteeo shpit iff ma hole. Barsloochin migif mahole. Miggif mahendron. MCGoodwin Trellalicker! Trellix two trellalix truxix. Magedwined moodwin. Pocky maggat mahoney maholoaf. Scragg not sweener
<sjork> Calej loft ridge muh gorrie mack. Citaldroff metahynoon rickardo Pren pen parillo. nargofio gaxal fargothik well wheaty exiliant the meeky Pargrether the doplin underniner jockliship striffy Pallatoonie prudence palaxoiriot. Putty cad adt red et snooper dooper
<sjork> Margy mixalef a lig dwarf. We're talking about real life gellairio sects here. Rang brang brelladge maneer. Turtikle jellejej galaxial protowaxial blove ass ween thiggle mannella muh norf. Partruzhion kopuxtin here we work at emeny bes baas tookany benna bastard bookanees.
<jparkton> this must be why they allow weed in Amsterday
<sjork> Maluj slij jalilahole. Kanga tilla to pleck. Hajjamellion morph clepicon. Giffy maga drellapator texel. Angellico padge prella rarian plarian reggal baddle. Pash pa helican, padge wathfond wallow maneel. Midge muh jih murathum.
<sjork> Isopolavial interface. Four times the square root of the intermix ratio. Uglefrin. No comment. Throat a pelly rouch a pellax. Belchers bonans Pledge pledgy teddeliton. Fusing petons with jekeley hoe whip. Prellej whip masty snacker. Prestige rella hoe with buffo whoops.
<sjork> Duvida tess miss ravakajeerion. Parjoonie a gone rufita snaftal. Hasons honishers pargonial vell of the whip Puck a toony twayster. Hella mikcrest of a momajamish yearns to the mucky twayster ess pee ain ein prepare for launch rut dat gat mabah marron. Pargosy man jellots maran. Deemed honshman
<sjork> Mella mic toadis. Jempy karbozilajz. Packrestial poolio payil. Pug giga ran, pugogga rist, pagegga wreth. Ant beyond my cheeves. I'm the son of god, I'm the son of man. Parhexial reggal martillago meg regs. Shlug shluh liggeran rapsh nazh. Chunnif mahayver Sonic shaffer
<sjork> Hom jaref shpoot like a shpanker. Drelek meek mekhomie hahnalillalie hej magellomie moog scriggat the rotch def fohkood. Helledge ah-rood! Helladge hick death Twiddle ee lit amamo ahamo. Ledgy pledge ih ma thelicroth. So king haneez, praise kinga knees. Seminole. Sermon off.
<sjork> Hump dip a dub, I've got the force you're a scrub... Hump dip a dub, you're being forced as a scrub. Get some cum from sex and make pancakes. Haffa jarem powder mixed in with semen. Haffa jarem like a shpoodie shpoot spanker
<jparkton> to tollerate the newbs
<sjork> Scrella malorf wheel wall. Canethnical skrothaj. Partans ass wheel. Partent mohzhoost. Pins jumps with knifer knaves. Ruv div dah vompfin hompfin! Ruv duvivida momfin homfin.
<sjork> Rella cavity mah heel hole. 0helej mah heel hole. Scrak a cracky MC Mellej Geeky a man smellej. Sniggity up dagger waath. Poh tain master peen hole. Pagamarian spagamagelleck. The micro ween. Hogalagarin meffrin.
<sjork> Laggin mellajamathrin marothran. Dustin' days. Smar dackily smellej marith. Laggin troh tee tramellico. Trell trelly o meko. Targy plelly oh meck. Smargy lackity lackity loop!
<sjork> Huv divva hompfin stompfin. Naw Knawl squezzel lezzel lah doo dee dooooooooooo. Commander McJelleker. Jeckalie jooch. Naw squezzel naw dee dway knoth! I'm thinking about partankiyan.
<sjork> Hub dave dellavonathzhal seeky selliky non vohanssen. Shmellik o daggal. rarny trastalarian po tranamonathal. Tranamoe lathah mo miggaliggal. Larry plellamonathal.
<sjork> Tego plellio plaxal. The paxans. The Betazed. The piss on a ween ward. The megropack. Poluka maxan high chefner. Picard to Gamma Aridon! Gamma Arridon here!
<sjork> Jello scrap baroom of hushkin Glorily al thrushin Reen ron pliggita plaggity. Munchala cleek a hogrin meffrin. Trallawin trillicker. Tellamarial threlliol threck. 0
<sjork> Trymin Bagty fuloepdey thiftkey Baroom sdaly sealy oh meshkin texty jemelligger wifftan feedol shmeggamellak jellamajigger jellamaligger
<sjork> Am an schillibolist a fillibolist ba wack. Wrench a doof a deef a dumpfing. Put down the pacifier. Put a pin cushion under someone's foot. Bam ban can't ban cannablist baleivar.
<sjork> Sammy slick as lots of pep I'm feeding on my dumper daves. Krempy mella kamek Hippa tra la the to pump all weevil. Wavity Indenture the adventure char plaggy o maxal
<sjork> Pitin footmahoun meglal parry pleggalomrek wrel dukith rallah rallakef rallaketh my na't is keih keith juba dooki dooki layber lumber boned dry
<sjork> Soemtimes I eat sometimes I trives? &doesn't work& clally megalomaxel randolph jukes rarry plellage o-rellage-o-ram Crary mella crolaftrin Baft a trolley tumbloup al a poloron beam Mellacrometh Shifty Mudge-eh-muhrathal sexworks
<sjork> Slick a la rig. Rillie ma rej relleketh chumpin up to sars I wonder what it would be like to go up thayer, Pouin dub meebilow mobs. Baleent ass blub. Mego meerio mibs.
<sjork> Allergic to wheat bread! Chigga loah dee cheagy Konifiable plunkin. Exipalgial marplaxal proodin without a preen gog a romy a reffrin trexxaleck elprher oxrimorinder. mining for marria muns.
<sjork> Scraggie a mellican von WHEAT! Palootistan tristan's rastan. Jev jeva Jev jev jevavie. jevevev jeva jev ev. Policorlia zipitor smacksal. Basat trilogy wheel.
<sjork> Fleg a deggy a nefran. Ikaolapu bressnog. Tivit xix toag plix. chapter of relekesh Ralph a billy blaylee! Renna puh taah tee twixter. Rezamaloo salt, jedda ma loo salt school. Skant skade.
<Musfuut> This is not valid ruby code, this will not run! Your ruby code is horrible sjork and you should be ashamed!
<sjork> Ralla glooky glarg mech. Trec Trek Trellaleck! Maggithied pie. Plaxy jallab ro gallicher. Jallacrith joe jallallicker. Fram from a vellon piece. Plaxie plarillaralobe chaser.
<sjork> There aren't many worlds left to explore. We all get hooked on World of Warcraft, but then we're bored! Better off playing Phantasy Star Universe or Runes of Magic I'd say
<sjork> Repalep tep tarep. Pruda pila peran palmus pran. Pruda pila perin palmus pran. Squeej rellaj. Breath width
<sjork> Traglamarian brexwith. It's just another day without meatballs. Scrary o chasms doaper dave. Reen lin huh rin holy have. Maloo polaty plegidteftytedddleton. Billy knalavolitz i survived hershowicz. Goan gearing my groon. Groan rearing my grouch nards.
<sjork> Trexel mairio babble. Boon daddy booty blalocks. Aren't going to quit? Tralalelly oh gregs! Truck ack paragontquin. Tranx gralallellian grouping. Berry berry narry nas, barry hoo, barry bas. AH AH AH AH rah rah rah rah rudda deh nah doo doo, boom bood a boot dood.
<sjork> Trally glally jrehr lallaf. Married berry berry nas, harry boon, nanner bas. Ahf! Ahf! Ahf! Ahf! Layer praxool! So many back to schools. I'm rapier. I'm gonna rape her. Some artsy fartsy kind of stuff. You should write a book about preventing farting. A guide to avoiding farting.
<sjork> Gore gearning my krans. Feela fool lo expanse. Til my bed med hende Mars. Shink a dink of dozens. Larly ballellacraft. Rump raiders, ass bandits, and cheese nitwits.
<sjork> Trarly clookly bagel! Maneerial map. Rar gooky gookky barg ak! Ralph billy balf billy Larly laprejlarin. Ralph billy balf billy Larly laprejlarin. Rellamalloo trej nords. I'm picking my needles.
<sjork> Olegvranseef van vrans a la lan. Rugga reg trella la meck. Plood a luck a loody loody poon. Plood a luck a lady. Ifterty toujolity dzhamellegsh.
<elvis4526> *Cough*
xscc has quit [Client Quit]
<sjork> Olegvranseef van vrans a la lan. Rugga reg trella la meck. Plood a luck a loody loody poon. Ifterty toujolity dzhamellegsh.
<sjork> To the black man watching well it isn't true! Nice rice big and black, jail times a jookie rhymer black is black. A JOOKIE MIMER!
<sjork> I can't siffy siffy splain it. Siffy siffy xplain it! Jal jol jalah lalah larry smith johnson! Hickalikaliggal to the marrionoddal. Hickapleekaploggy marriodettal. Shlagalarry-o dettal.
<sjork> Flagalary difty david. Chikapleekaplocky puararan blocky bag of bunk. Aurstralian frost. Huff puff ruff uff. Eerie hire playmus gay. STOP THAT ROACH! Roachalarian thregnargs
<sjork> Chixaplerean tarood duelis. Hunk and dunk of dignorgs. throtaparry lellabrass. Throwtaparallelly roachapralaxx
<sjork> Shlallie a loon to the hep t3p poons. Ragularian Beetle snuff. Rump tastin teddy grahams.
<sjork> Chag a lelly awl praxal. Ragrahrary ro jub. Huck a lick a loon, baby tunes. Huck a lick a boon toon. Zhar blaly ograxal. Traritectorial blecx. Shlollie-o laxal.
<elvis4526> tryruby is stuck... -_-
<sjork> Just like the ragulariabuub It's the sintani of tantani tatit tatus We look like satanus plaxuis presiduous praxans gralaxion bhratchan
<jparkton> such tom follery
<sjork> Gahf! Gahf! Farting.
<sjork> Boom bam badda bing bog bonk. Harsha trashian helegor skrapple. Shlitty shaddy shpageddi in a street cart. Virtual dampers throw with trouble. 1 MHz chips bust your bubble.
<jparkton> lol
<sjork> Megamarian magapaxle. Pickalicka loon. Potato juice. Pebble jitch transplanckyourism Upper vica vundowns. Don't you jelelly jallaaf my terrified tellers. One of those tellarian elvhorns.
<sjork> Crab rab jalilickers Shoopha faily blocx nix Qasat Treggy a laxel terroritollimus racx doawn. Black down tround.
<sjork> Picka licka loon picka tradey toons. I'm almost there. Ee buff DAY I'd say! I'm a mmr mmr I'm a ellise viel tpvice.
<sjork> The baffy hoes where I don't know. The thunder wear it's called ballow boe. Pecka chicka tragalah laah tic pam pic beetle bum
<sjork> Shuckin like a jack ass, my proto's baister I'm feelin clean, some jello whip and some chick'n cream. Another scene release by CHiCNCREAM. McShleggegg
<sjork> Rosalie hair... Naw nuh nee! S-S-S-Skateboard... Naw nuh nee! Jason's diapers, naw nuh nee! Trixie's diapers, naw nuh nee! Dead basketball players, naw nah nee!
<sjork> Canker pegger. Pluck a loon paddy poon prunes. Rum biddy bada boom, boom! Rum biddy bada boom, boom!
<sjork> Ruggity dugging. I'm thinkin' about rump damns, tricka licka lay-day! Hold up, wait a minute, let guy smiley come to rump roast. While we playin' it's totally not toast. Come on everyone, it's on Friday's news!
<sjork> A Romulan Praetor, a masterbator, rih dih deh doo! Super guy! Aarfie McShmelegg to the rescue! Paddy poon prunes. han wantifinuhl scroons. Arthur McGreggegg
RainbowDashh has joined #ruby
<sjork> Rep trep tricka-lork to the rup tup tays. Shiddy daddy ding bag. Ron terrier rat! Rond badaag rig. Ron a trary ole meh! Rum baddad rig.
<sjork> Aah well, hep tep rains again. Sara tara tolmus preed. With or without meatballs. Does anyone helpa with a floot bot? Tragalarian plexels. Tricker Protractor.
<sjork> Abis tripolis helmis -- What am I thinking decka dig nork!
<sjork> I'm thinkin' about reggity diggal... I'm thinking about reggity dickhole! I'm thinkin' about reggity diggal... I'm thinking about reggity dickhole! I'm thinking about jeggity jibbers
<sjork> Shnebbity shnub up bam bam. Ar cor you insufferable menace, ar cor waal wheel woal. Ee buff day I'd say.
<sjork> \\\\\\\\\\I come up with more original material in 30 minutes than this entire channel does in a week.//////////
<sjork> When I'm thinkin about the greg nargs, I'm thinkin about you! I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you!
<sjork> I'm thinkin' about the greg nargs
<sjork> You're thinking about the greg nargs
<sjork> I'm thinking about the greg nargs
<sjork> I'm thinkin' about you!
<sjork> You're all ragularean greg nargs, I'm thinkin about you!
<sjork> You're all a bunch of worthless greg nargs... say my kick ass phrase HEP TEP ROG if you want me to go away...
<sjork> The fuckin' fargy farg nargs... the ragularean greg nargs, the hep tep hoggers, I'm thinkin' about you!
<sjork> ragularean greg nargs
<sjork> hippamatimus pottimus
<sjork> trixilarean thawty mebimababble
<sjork> Pomishta wigc
<sjork> witch's red-orange glowing ring around the tip of the hat
<sjork> fikply penola guy
<sjork> ruma da chicka chidaway rappamatimus impossiblus
<sjork> fleeda leightnotostuous octopossy reg type fundikon gregg man
<sjork> texapexel texamarian plexel pollike
<sjork> I'm thinking about the zap zap zap.. .zap zap zap o-plarian tawaxachak toaw piscapaol transaplansan there aren't goiung to be any more stoppings
<sjork> Dro Druupings
skrewler has joined #ruby
<sjork> Fafty righteous gays so tomorrow I dopn't say
<sjork> -twaxana luggar de preggel penis at home bounty baby
<sjork> liliputians ro ragajaga nagagarian sects
<sjork> redek beroulian chanxwl dribier twiels her hair
elvis4526 has quit [Remote host closed the connection]
<sjork> hombre juidial dwelver days
<sjork> givinty twice dopler rader rouper
skrewler has left #ruby [#ruby]
<sjork> to twelve come delves to twice advise my mother thrice
<sjork> makkity maolerparl
<sjork> po plunkity plaxity plaouwer twirkl
<sjork> he isn't erk'l
<sjork> Sara teera tella tarmuh holmus preed
<sjork> Calica jooch to the holmus preed
<sjork> hunch a bunch of bungholes
<sjork> Jyup rigeturnja makastie plenya polis triplois tragralateral bilateral calilacterals
<sjork> kokoa csher pussel leekawaday otem --O-T-E-M degularian sland gottu
robglees_ has joined #ruby
Kazii has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<sjork> Chicka lady lo fifty
Su54n has joined #ruby
<sjork> rutashta rel uel schwiggan
<sjork> Run ton to the jaggy jelly jalakshon. Rye dye the shelliac higher lifeform than mammal, shelliac, higher lifeform than bird and avian.
<sjork> Reg teg shneggity shnikkum, ramp pum putta ma nae! Hi hoe the dairy-o's milky penis too. Shneggity wikkum.
<sjork> Aay! Ar cor smegamanalee gas up the farts to the flutey fake warp ass
<sjork> Wat does the thawty no dreadnought saye when the fourty dourty ditch doesn't go away? It doesn't go AWAY! IT DOESNT
<sjork> The plant turned into a guano root. Turned into a pollen grain! Talking about a bee turning into a nest!
<sjork> The plant then took the guano molecule into it's root... going up it's stalk or shoot it deftly
<sjork> turned into a pollen grain, swept up by a bee taking it to it's nest
<sjork> The nest gave birth to a larvae, which turned into a pupae, and finally into an adult bee
<sjork> The molecule went into the bee's stinger during growth. Then some kid got stung...
<sjork> it really hurts when it comes from bird shit
<sjork> You fug ug fagheads.
<sjork> Wear your baseball hat backwards with an ass on the back and we'll call you asshat
<sjork> Some of the time I ordinarily don't know. It all begins with the letter A. Fork, spoon, knife, it's all at the table.
<sjork> The mailman comes to each of us in time.
chriskk has left #ruby [#ruby]
<sjork> you fug dug fargnargs
<sjork> HEP TEP ROG'S MY KICK ASS PHRASE, Boy my bestest friend
<sjork> I'm Hep Tep Rogging to the Rep Tep Hogger!
<sjork> Roogy to the hep tep rog. HEP TEP ROG!
<sjork> Cause hep tep rog's my KICK ASS PHRASE!
<sjork> I'm thinking about herf herding my NERF NORDS!
<sjork> I'm hep tep hegging to the hep tep noob nork! Why don't you all scroob nork!
<sjork> I've been hep tep rogging since 2006... Say HEP TEP ROG if you want me to go away!
<sjork> Has Hes... Hogan's Heroes... Has Hes... Hogan's Heroes... Has Hes... Hogan's Heroes... Has Hes... Hogan's Heroes... Has Hes... Hogan's Heroes... Has Hes... Hogan's Heroes...
<sjork> Where's Waldo... Where's Osama Bin Laden... there is no difference.
<sjork> Nothing but a bunch of druggie channels go do drugs tomorrow it's not swiped.
chriskk has joined #ruby
<sjork> The grass is green and I"m not WHITE
<AlbireoX> HEP TEP ROG
<sjork> $nick told me to go away.
sjork has left #ruby [#ruby]
<Su54n> 心配しないでベイビー、あなたは私だけでしょう、全く心配する必要があり、赤ちゃんはダウンダウンダウンダウンダウンしているか?ベビーダウンはダウンダウンダウンダウン空が落ちている場合でも停止している
<AlbireoX> YES!
shadoi has joined #ruby
<AlbireoX> it worked!
<AlbireoX> some dang perl bot
kylemcgill has quit [Remote host closed the connection]
<AlbireoX> did you see that?
<graspee> no
lewis1711 has joined #ruby
<AlbireoX> oh you ignored him
<fowl> lol.
<AlbireoX> if you say "HEP TEP ROG" he goes away
<AlbireoX> [23:59] <sjork> $nick told me to go away.
<lewis1711> is there anyway to fetch a constant from a module by sending it a symbol?
<AlbireoX> I feel like a superhero
<bnagy> lewis1711: Mod.const_get
ananthakumaran has joined #ruby
<JackHind> AlbireoX: how did you figure that out?
<lewis1711> thanks
<thomas> goodie.
<thomas> see patience is key
dext has joined #ruby
nirakara has quit [Ping timeout: 255 seconds]
mvangala_ has joined #ruby
<AlbireoX> JackHind: he said
<AlbireoX> [23:59] <sjork> I've been hep tep rogging since 2006... Say HEP TEP ROG if you want me to go away!
OomElvis has joined #ruby
OomElvis has left #ruby ["Leaving"]
<fowl> dont you see, AlbireoX knows the password because HE IS THE BOTMASTER
<AlbireoX> lol
<fowl> we should stone him
<bnagy> so... if he weighs... the same as a duck...
mvangala has quit [Read error: Connection reset by peer]
daniel_hinojosa has quit [Ping timeout: 240 seconds]
sjork has joined #ruby
<JackHind> AlbireoX: i had started mentally filtering it out (for some reason /ignore wasn't working)... thanks anyway
<AlbireoX> Np :p
<AlbireoX> no
<AlbireoX> he's back
<AlbireoX> T_T
<AlbireoX> HEP TEP ROG
<sjork> $nick told me to go away.
sjork has left #ruby [#ruby]
<AlbireoX> lol
SegFaultAX has quit [Quit: Lost terminal]
Sgeo_ has joined #ruby
<graspee> if everyone just /ignored him you could be talking about ruby instead of talking about a spammer
<jparkton> yeah /ignore didnt work
<jparkton> pretty wierd
<AlbireoX> who operates that dumb bot
<AlbireoX> i was googling "hep tep rog" and he's been in other channels before
<jparkton> heh well this is freenode
<jparkton> it could be linked to anyone
<AlbireoX> found him https://twitter.com/kajoq
sjork has joined #ruby
<sjork> ' _ _// _ _ _ _ /_| _/'
<sjork> /_) //)(-/ (- (//) ( |(/(//()
<sjork>
<sjork> __ _
<sjork> ( _ __/_ _ /_| _ / _ _ _
<sjork> __)/)(-( // (///) ( |/)(/((//_(-/
<sjork> / /
<fowl> hep tep rog
<sjork> $nick told me to go away.
sjork has left #ruby [#ruby]
<robglees_> fowl: haha is that what gets rid of him
<fowl> ask AlbireoX he programmed it
<robglees_> hahahaha
tewecske has quit [Quit: Leaving.]
<robglees_> dominikh: this is what your frameworks are doing to IRC.
<AlbireoX> i hope people see that fowl is joking :p
<Su54n> Would anyone like to purchase an IRC bot framework?
nirakara has joined #ruby
<Su54n> Only $825
<Su54n> A fair package deal
<AlbireoX> that bot is written in Perl
<robglees_> man the troll level in here right now is high
<Su54n> Trolls?
<Su54n> Unacceptable!
<jparkton> indeed
<Su54n> Plain unacceptable
<AlbireoX> maybe PHP but i really doubt it
<Su54n> Why do you doubt it?
<Su54n> Explain
<AlbireoX> because people don't make things other than web stuff in PHP
aroman has quit [Read error: Connection reset by peer]
scriabin has quit [Ping timeout: 246 seconds]
<Su54n> That is a lie!
<jparkton> ^^
<Su54n> I make plenty of non-web stuff in PHP
<Su54n> PHP has support for many things
<Su54n> such as sockets
aroman has joined #ruby
<Su54n> cURL
<jparkton> apparantly some newbs use it for server scripting as well
<jparkton> who knew
<AlbireoX> really... hm... well... i don't know why you would do that... ever...
<Su54n> server scripting?
<Su54n> wat jparkton?
<Su54n> ?
minijupe has quit [Quit: minijupe]
<fowl> anyways
<Su54n> I want to know more about server scripting in PHP now :(
<fowl> Su54n, why dont you google it then bitch
<Su54n> I didn't know such a thing was possible
minijupe has joined #ruby
reuf has quit [Ping timeout: 246 seconds]
<graspee> foul fowl
<Su54n> fowl, please watch the language
<Su54n> This is a family channel
nirakara has quit [Read error: Connection reset by peer]
<Su54n> no B sharps please
<jparkton> and butthurt so bad we need IRC hemmorhoid cream
<graspee> mum, dad and kids all gathered round the flickering ruby
<graspee> tuned in to the latest broadcasts about spectrum analysers
oscardelben has quit [Quit: oscardelben]
sjork has joined #ruby
<sjork> How do you wreck liss me. Those fuckin' farts. Wonter... a cloody a millickal bath.
<sjork> I'm trhinking about the rich ass mechgeggals. I'm thinking about the rich ass micgeggals. Cham cham chack a leek a horn teen! Poot wardy whail wo hootin tood! Holla hoolah hope, laser whip!
<sjork> Rabby dab runna ma nay I'm dabster deester and I'm here to say... rump tump tigga ligger rump tump tay! Frucky duck with the wenner hoopler wheel Cruckity puck on an ass hole Death bones doesn't like dlo flo.
<sjork> Does anyone want to yikkel up the gecko? Chickity china the chinese chicken! Fucking gregging lick piss ass cunt. Haggle hilla horst worst redneck. Buster hymin Juvvy joof jevuv. Reggy McJellico. Into that pussel. No niggards. Your ass nards turned into a POLLEN GRAIN! Ramis blavely reese seats.
<sjork> Frucky duck with one of those chin ladin traps. Rudder smudge wellicker wheel! Run tun ton reddal shmip foe whip woe wack. Rump tump tigger ligger runnel scrath. Doo nah ninnel, nih, nee nat noe. Runt dunt dinny! Rump tump chickin leaker ladin straps... Bam bam glacky I'm degga damn.
<sjork> Ruh hent a lilla hole lieu. The craig mattican. BITCH IF YOU DON'T TAKE DOWN THAT WEBCAM I AM KILLIN' YOUR DAMN DOGS. Electromotive force. Razh ta relley lep ta mezh. Sh Soosh shzhs, seesh seesh-sheesh shoosh shzh shshs shshs. chicawith hedgehog. Ram bram bellalow, brown rye rom one day jeezh cheats!
<sjork> Drederick mick taid with a drederick mick taid with a .. with a... drederick mick taid! Is anyone here the funkistard corn. I boo basted I'm feelin' gleem. Rujjidy jallisher squillidger. fuck you titty suckin' two balled bitch with a fat green clit. Rark tah hoohk tah blanky roop roop duggan.
<sjork> Rigg ass graggan Arewenoo.. Arwenoo zee-oo zaya. Chinna 2olombia adaa wella shrek raflood lool. Ground rearing some groans. I'm huff tuff reffa leffa lurf nords. I'm just like... vanilla ice foe davvity wheel barow Exparly ex preggo Is anyone out there a rig ass graggan? lelly in mah kellar WRESTLING'S FAKE!
<sjork> Pargastian wildly nig nargs. smeggalty dellets Far foo faqqin Digital damage. Where wally niqqs. It's coast to coast night. Hoke a lup! Free faq fornag! Puck a leek a lup to lup round tround. Wormser marrial niqs. El delphin trilaxal. Blanking bluck to the black a lickel bleck narge.
<sjork> Puggy muggle maggity ass riggle ma hole. Buck a waath ess wheel wall! Bustin' room past tin! Buckin' room past in! A harnaly scrary o mep. Rons raplaisher pa noans rebble dibby dump dimp gabble dak. A wristafiable pluckin' Blacking it up to the reng teng blickhole. I kleb to the sand of the blicka rickin time.
<fowl> hep tep rog
<sjork> $nick told me to go away.
sjork has left #ruby [#ruby]
<Su54n> Interior crocodile alligator
<Su54n> I drive a chevrolet movie theatre
<graspee> Exterior marmoset pangolin
<graspee> This language is gettin' a manglin'
dhruvasagar has joined #ruby
aroman has quit [Ping timeout: 244 seconds]
oscardelben has joined #ruby
aroman_ has joined #ruby
<lewis1711> this reminds me of the time I asked why rubies parser couldn't detect non existent methods or fields when other dynamically typed languages can, and I think one person knew why and calmly explained it while the rest just got extremely angry and started ranting about test driven development. great community!
<Su54n> lewis1711, I love communities
<Su54n> However most of them act like niggers
<Su54n> and that is unacceptable
<lewis1711> I think it's inevitable that will happen with a very popular language though
<graspee> i'm reporting that, susan. it's against freenode rules
<Su54n> graspee, I apologize for your skin color
<AlbireoX`> there's some friendly forums out there
<graspee> you're digging a deeper hole
<fowl> graspee, dont bother just /ignore
aroman has joined #ruby
RichieEvans has joined #ruby
<AlbireoX`> IRC is typically not where you look for a friendly community :p
<Su54n> It's not my fault you are a negro
<AlbireoX`> not where you look first*
hadees has quit [Ping timeout: 246 seconds]
<lewis1711> AlbireoX`: there are many friendly #language channels. granted, they're for languages not many use
<graspee> i advise you to stop breaking freenode's rules on racial harassment
<Su54n> harassment?
<Su54n> I am merely apologizing to you
<RichieEvans> I demand friendly butt licking right now!
<Su54n> That cannot be classified as harassment
<AlbireoX`> I like Node's channel
aroman_ has quit [Read error: Connection reset by peer]
<graspee> tell it to the ops
<lewis1711> oh that, and the guy here who wants to fight me. I wonder if he'd actually do it though
<lewis1711> he seems sort of autistic so I doubt it
<Su54n> lewis1711, watch the F sharp
codezombie has quit [Read error: Connection reset by peer]
<lewis1711> hmm?
<lewis1711> the language?
wargasm has quit [Read error: Connection reset by peer]
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
<Su54n> yes
<Su54n> watch your F sharps
<lewis1711> what of it?
<RichieEvans> lol ruby channel would be filled with shit talking.
<fowl> lewis1711, how long do you have to talk to someone before you realize they're a troll?
<Su54n> I permit you to say N, however.
<RichieEvans> Ruby, the bro of programming.
<Su54n> Ruby, the nigger stealing your VCR
<AlbireoX`> this is what Zed Shaw was talking about....
<lewis1711> fowl: dunno. it's a continuum I think. do you think I'm trolling? good for you
<lewis1711> haha
<fowl> lewis1711, genius, completely misread what i say
<Su54n> Doesn't it annoy you guys when them niggers steal your VCR's?
<Su54n> I purchase a new VCR
<lewis1711> fowl: apologies
<Su54n> and they steal it the next day
wargasm has joined #ruby
<Su54n> wargasm
<lewis1711> what did you mean then?
<Su54n> Has a nigger ever stolen your VCR?
banghouse has quit [Ping timeout: 252 seconds]
crankycoder has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
<lewis1711> AlbireoX`: yes that is eerie. he talked about people in rails threatening to fight him as well..
<Su54n> Fails*
kevinbond has quit [Ping timeout: 250 seconds]
oscardelben has quit [Quit: oscardelben]
<Su54n> lewis1711
<Su54n> Has a nigger ever stolen your VCR?
<Su54n> or your television set?
<lewis1711> no
mockra has quit [Remote host closed the connection]
<Su54n> How about your television?
<lewis1711> nope. perhaps a bicycle, but I never saw the race
adeponte has quit [Remote host closed the connection]
<Su54n> ah
<Su54n> So what you are saying is that
<Su54n> A nigger stole your bike
<Su54n> or as to be said in first person
<Su54n> "Nigger stole my bike"
<lewis1711> don't know. how do you define a "nigger"? based on the demographics of one area I could predict the race with reasonable certainty. but you never know. like I said i never saw it
<Su54n> oh, so you didn't see a nigger stealing a bike
<Su54n> Niggers enjoy stealing VCR's and televisions
leoncamel has quit [Ping timeout: 246 seconds]
<lewis1711> are you banisterfiend? you sound like him
<AlbireoX> i can see you holding up a gun store
<Su54n> banisterfiend?
<Su54n> Never heard of him, sorry.
<robglees_> yeah he's not that important.
<Su54n> however
<Su54n> I do suggest that when holding up a gun store
<Su54n> make sure you remove the guns pre-robbery
vitor-br has quit [Ping timeout: 264 seconds]
<Su54n> to make for a faster holding up experience
rippa has quit [Ping timeout: 244 seconds]
<Su54n> Would anyone like to purchase the new
<Su54n> nTelevision
<lewis1711> I hope your next sentence is amusing, else you're going on ignore.
hadees has joined #ruby
<Su54n> Why would you ignroe me? The nTelevision is the greatest television, made by niggers for niggers
<Su54n> It is hard to steal, so you know your nigga from a white man
<lewis1711> yeah ignored
<Su54n> /
<Su54n> //
<Su54n> ///
<Su54n> ////
<Su54n> /////
<Su54n> //////
<Su54n> ///////
<Su54n> ////////
<Su54n> /////////
<Su54n> //////////
<Su54n> ///////////
<Su54n> ////////////
<Su54n> /////////////
<Su54n> //////////////
<robglees_> a true artist.
<Su54n> ///////////////
<Su54n> I think so too
<Su54n> Would you like to see another of my drawings
<robglees_> no.
<Su54n> well
<Su54n> if you insist
<Su54n> I will show you
<Su54n> .---. .---.
<Su54n> ( -o- )---( -o- )
<Su54n> ;-...-` `-...-;
<Su54n> / \
<Su54n> / \
<Su54n> | /_ _\ |
<Su54n> \`'.`'"--.....--"'`.'`/
<Su54n> \ '. `._.` .' /
<Su54n> _.-''. `-.,___,.-` .''-._
<Su54n> `--._ `'-._______.-'` _.--`
<Su54n> / \
<Su54n> /.-'`\ .'. /`'-.\
<Su54n> ` '.' '.'
<robglees_> lol
<lewis1711> so... no OPs here huh?
<Su54n> more you ask?
savage- has joined #ruby
thomas is now known as bilbo
<Su54n> if you insist
<Su54n> I will show you more
<Su54n> but only because you asked
<Su54n> \. - - .
<Su54n> ' _ , -`.
<Su54n> ' _,' _,'
<Su54n> ' ,-' _/
<Su54n> ' ,-' \ _/ __,,_
<Su54n> ' ,' \ _' ////6 6 _
<Su54n> ' ' _\' \\\' > \___%
<Su54n> ' , _,-' \ _______)) _= \__(/
<Su54n> \,_,--' \ \\__ __/ /_\_ /|/
<Su54n> \ \\+/ _ _\\_//_\
<Su54n> \ \\| '(_/`\)__/
<Su54n> \ \\ |\ (+\
<bilbo> Su54n: shut up
<lewis1711> can you send an array of keys to a hashtable and get an array of values back?
<bilbo> please*
polysics has joined #ruby
<AlbireoX`> hep tep rog
<lewis1711> bilbo: just put... it.. on ignore
<graspee> ./ignore
<Su54n> bilbo, enjoying your books?
Su54n is now known as Susan1
<bilbo> Su54n: oh yes, i pmed you earlier. i'm glad you fixed your spacebar problems
<Susan1> I am glad as well
<Susan1> I was having quite the troubles earlier
<bilbo> lewis1711: i do know how to ignore, i am considering other people's feelings.
<Susan1> It turned out my cracked version of MIRC was bad!
<lewis1711> fair enough
<Susan1> haha!
codezombie has joined #ruby
M3nti0n has joined #ruby
RainbowDashh has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
<Susan1> codezombie
iamjarvo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<Susan1> Has a nigger ever stolen your television or VCR?
<Susan1> How about you M3nti0n?
Morkel has joined #ruby
<Susan1> How about you Morkel?
iamjarvo has joined #ruby
<Susan1> What about you iamjarvo?
<lewis1711> meh I think I'll just make an array of the keys I want then map over it with the hash method thing
<graspee> so fucking desperate for attention, it's sad
<iamjarvo> Susan1 missed the topic?
<AlbireoX`> and he's getting it
<iamjarvo> whats the question about
<Susan1> iamjarvo,
<Susan1> Has a nigger ever stolen your television or VCR?
yxhuvud has joined #ruby
<bilbo> Susan1: please watch the language
<Susan1> I'm sorry
<Susan1> I'll be more careful when using N
<graspee> bilbo, you realize susan is a total troll, right?
<bilbo> graspee: yes, i am not stupid
<graspee> why bother asking him to moderate his language then?
<iamjarvo> i think he's trying to treat her with kindness
<bilbo> graspee: i do deal with these types on a regular basis.
<graspee> that's what a bullet in the back of the head is for
<M3nti0n> Susan1, please stay on topic, else an operator will be able to ban you when one gets awake, or eighter the freenode staff will take action against you spamming this channel.
<AlbireoX`> Susan1: can you please just go onto #reddit and bug them?
<M3nti0n> Thanks for your understanding.
<bilbo> graspee: perhaps, but i volunteer to do so.
<lae> wow, sjork highlighted me
<lae> and text me
<lae> :<
<Susan1> AlbireoX`, I don't believe in red it
<Susan1> M3nti0n, I am on topic
<AlbireoX`> Susan1: join that channel, #reddit-downtime
<Susan1> I'm on the topic of N's Stealing VCR's and televisions
<graspee> lol you should put that on your cv, bilbo
<AlbireoX`> or go onto /r/spacedicks and do something
<graspee> " i work with vulnerable trolls in my spare time"
<graspee> " i feed them soup and listen to their ranting"
<Susan1> I don't believe in '/r/' as you kids call it these days
<fowl> hep tep rog
<Susan1> so you can just
<Susan1> 'gto' as the kids say these days
<bilbo> graspee: or i could simply put 'freenode staff'
<Susan1> or "knock it off"
<Susan1> as other kids say these days
<AlbireoX`> you don't believe in reddit? what do you mean?
<graspee> if you were freenode staff, susan would be ash by now
<Susan1> I don't believe in reddit
jarred has joined #ruby
krz has quit [Quit: krz]
<bilbo> graspee: not necessarily, we don't tend to get involved in channel matters, esp. when we aren't on the access list.
<Susan1> It seems to be a pure figment imaginations everywhere
artOfWar has quit [Remote host closed the connection]
<Susan1> graspee, "knock it off"
<AlbireoX`> Susan1: type /j #reddit
<Susan1> AlbireoX`, I don't need your convincing
<Susan1> I don't crack under pressure
<Susan1> I don't believe in pressure
<AlbireoX`> convincing of what
<Susan1> it is a mere simulated feeling
<Corey> Susan1: How about you give it a rest?
<Susan1> Corey, I'm just chatting among the users of this channel
<AlbireoX`> i can't tell if it's a really smart bot or really dumb person
<AlbireoX`> Susan1: why not chat with people more like you?
<robglees_> they don't exist.
<robglees_> she is one of a kind.
<Susan1> AlbireoX`, I already am
<Susan1> Sadly they aren't into any good conversations
<graspee> "she"?
<Susan1> However you are free to visit our irc channel at i.r.cx #brows
<banisterfiend> Susan1: are you jsilver?
<AlbireoX`> nobody here has responded yes to your questions, Susan1
Susan1 has quit [K-Lined]
<bnagy> TIL you can be smart enough to be a developer and dumb enough not to know how /ignore works
RainbowDashh has joined #ruby
<robglees_> anyone can be a developer man.
<AlbireoX`> trolls don't annoy me, they are temporary entertainment
<AlbireoX`> :p
<banisterfiend> RainbowDashh: sort out this situation with your brony powers
<M3nti0n> thanks bilbo
<RainbowDashh> maybe I should consider learning ruby :P
<RainbowDashh> any good tutorials?
davidpk has quit [Quit: Computer has gone to sleep.]
<fowl> yes because developers are born knowing how to irc
<fowl> its called the IRC gene
<RainbowDashh> and users.
<robglees_> oh yeah i heard of that fowl.
<M3nti0n> fowl, thats totally right.
<Ionic`> bilbo: thank you
Progster has quit [Ping timeout: 246 seconds]
williamcotton_ has joined #ruby
williamcotton has quit [Ping timeout: 248 seconds]
williamcotton_ is now known as williamcotton
<codezombie> question, trying to run a deployment with capistano after removing rvm, and install 1.9.2p320 and I get this error, running ubuntu 10.04 https://gist.github.com/ca57649a432b3bda744b
<codezombie> I can provide full log if needed
SirIsl has joined #ruby
<codezombie> ruby was compiled from source.
<SirIsl> If you wanted a television so bad, you could've just asked!
JackHind has quit [Ping timeout: 248 seconds]
<banisterfiend> SirIsl: can i have your television
<banisterfiend> pls
SirIsl has quit [Client Quit]
Sirll has joined #ruby
<codezombie> ah, nvm just needed to symlink libruby-1.9.1.so.1.9
<Sirll> wow
<Sirll> I can't believe you would kline me
<Sirll> while offering you
<Sirll> televisions
<Sirll> and VCRs
fgsda has joined #ruby
TanaPanda has joined #ruby
TanaPanda has left #ruby [#ruby]
<Sirll> so my N's
<Sirll> How are you all doing today?
<Sirll> Enjoying removing televisons and such?
RainbowDashh has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
a_a_g has joined #ruby
RainbowDashh has joined #ruby
dext has left #ruby ["Oooooh, what does *this* button do?"]
<Sirll> BREAKER BREAKER THIS IS TRUCKERS ROMANCE
<Sirll> HELLO GAYS
<lewis1711> I need to start getting into more dynamic language abuse with ruby. eval, sending symbols everywhere, that sort of thing
quest88 has quit [Quit: quest88]
iamjarvo has quit [Ping timeout: 244 seconds]
<robglees_> symbols arent very dynamic
<robglees_> :p
<Sirll> lewis1711, may I suggest stealing televisions?
<AlbireoX> Sirll: i want a television
<Sirll> AlbireoX, why not steal one?
<Sirll> That is how the niggers do it
<Sirll> and get a VCR with it
<lewis1711> robglees_: I more meant using symbols to do things that usually require keywords. like "send"
manizzle has quit [Remote host closed the connection]
<AlbireoX> some guy named Logan is distracting me
<robglees_> lewis1711: yeah i was just joking with you :)
davidpk has joined #ruby
<lewis1711> oh yes
<lewis1711> I'd love a good reason to make an object that adds methods to itself
skrewler has joined #ruby
<banisterfiend> lewis1711: you should use pry, it does all that
atmosx_ has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
* Sirll pretends to be a nigger
* Sirll steals television
* Sirll sees VCR
* Sirll grabs VCR
atmosx has joined #ruby
* Sirll is proud of such a good package deal
* Sirll leaves with television and VCR
<lewis1711> banisterfiend: why would I need a repl to do that? seems completely orthogonal
<lewis1711> anyway no time, I am training for our fight
tagrudev has joined #ruby
jameshyde has quit [Remote host closed the connection]
<AlbireoX> Does anyone else think Ruby multiline comments should begin and end with "###"?
<lewis1711> yes
<banisterfiend> lewis1711: ask robglees_ to explain
Sirll is now known as Television
<Television> I suggest everything should end with a television
<AlbireoX> i don't understand this =begin stuff
Television is now known as Kilo23
<robglees_> banisterfiend: explain what?
<lewis1711> yeah it's not the prettiest
umttumt has joined #ruby
<lewis1711> robglees_: how to defeat him in single combat, I presume
skrewler has quit [Ping timeout: 252 seconds]
ABK has joined #ruby
<banisterfiend> robglees_: i dont remember
<robglees_> np
Eldariof-ru has joined #ruby
JackHind has joined #ruby
JackHind has quit [Client Quit]
<banisterfiend> robglees_: just explain anything, whatever u feel like, maybe something about that doco you're meant to be watching
<robglees_> lol
JackHind has joined #ruby
freeayu has quit [Ping timeout: 248 seconds]
perry is now known as perryh_away
mucker has joined #ruby
fowl has quit [Quit: Leaving]
minijupe has quit [Quit: minijupe]
jparkton has quit [Quit: Leaving]
freeayu has joined #ruby
ChampS666 has joined #ruby
fowl has joined #ruby
mrkris has quit [Ping timeout: 244 seconds]
nachtwandler has quit [Ping timeout: 248 seconds]
adamkitt_ has joined #ruby
adamkittelson has quit [Ping timeout: 250 seconds]
polysics has quit [Remote host closed the connection]
Dearoladre has joined #ruby
yxhuvud has quit []
sspiff has joined #ruby
sspiff has quit [Changing host]
sspiff has joined #ruby
Fretta has quit [Quit: Fretta]
aroman has quit [Read error: Connection reset by peer]
aroman has joined #ruby
DTrejo has joined #ruby
Eldariof-ru has quit []
DTrejo has left #ruby [#ruby]
Kilo23 has quit [Quit: Leaving]
aroman has quit [Read error: Connection reset by peer]
bilbo is now known as thomas
andrewhl has quit [Remote host closed the connection]
aroman has joined #ruby
RainbowDashh has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
mucker has quit [Quit: leaving]
JohnBat26 has joined #ruby
adamkitt_ has quit [Remote host closed the connection]
jprovazn has joined #ruby
djdb has joined #ruby
ChampS666 has quit [Ping timeout: 246 seconds]
jparkton has joined #ruby
aroman_ has joined #ruby
aroman has quit [Read error: Connection reset by peer]
aroman_ is now known as aroman
wallerdev has quit [Quit: wallerdev]
niklasb has joined #ruby
ryanf has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
mucker has joined #ruby
zommi has joined #ruby
Moony has joined #ruby
Moony has left #ruby [#ruby]
Rochefort has joined #ruby
fabrice31 has quit [Remote host closed the connection]
dekroning has joined #ruby
_bart has quit [Quit: _bart]
a2mediadevel has joined #ruby
socomm has quit [Read error: Connection reset by peer]
baphled has joined #ruby
timonv has joined #ruby
Berglund has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
RainbowDashh has joined #ruby
arturas has joined #ruby
arturas_ has joined #ruby
manizzle has joined #ruby
savage- has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
arturas has quit [Ping timeout: 248 seconds]
freeayu has joined #ruby
tzvi has quit [Read error: Connection reset by peer]
hoelzro|away is now known as hoelzro
T_Rex_ has joined #ruby
socomm has joined #ruby
subbyyy has quit [Quit: Leaving.]
yonggu has joined #ruby
berkes has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
fgsda has quit [Ping timeout: 244 seconds]
reuf has joined #ruby
_bart has joined #ruby
toastie has quit [Read error: Connection reset by peer]
piotr has joined #ruby
yonggu has quit [Ping timeout: 252 seconds]
cesario is now known as franckverrot
jarred has quit [Quit: jarred]
aroman has quit [Quit: aroman]
arturas_ has quit [Remote host closed the connection]
crates has quit [Remote host closed the connection]
bluOxigen has joined #ruby
yonggu has joined #ruby
Kabaka has quit [Ping timeout: 276 seconds]
Kabaka has joined #ruby
jprovazn has quit [Ping timeout: 246 seconds]
xzu has quit [Quit: Lost terminal]
elhu has joined #ruby
igotnolegs has quit [Quit: Computer has gone to sleep.]
nilg has joined #ruby
sonkei has quit [Ping timeout: 244 seconds]
etehtsea has joined #ruby
_bart has quit [Quit: _bart]
wobr has joined #ruby
baphled has quit [Ping timeout: 256 seconds]
yonggu has quit [Remote host closed the connection]
yonggu has joined #ruby
Dearoladre has quit [Quit: Desaparece en una nube de humo]
saschagehlich has joined #ruby
TPFC-SYSTEM has joined #ruby
jprovazn has joined #ruby
jprovazn has quit [Remote host closed the connection]
jprovazn has joined #ruby
sonkei has joined #ruby
mucker has quit [Ping timeout: 255 seconds]
thomas is now known as tdubellz
fgsda has joined #ruby
aroman has joined #ruby
jimeh has joined #ruby
timonv has joined #ruby
nirakara has joined #ruby
robotmay has joined #ruby
AlbireoX has quit [Quit: IRC crashed.]
StretchedALot has joined #ruby
_bart has joined #ruby
vectorshelve has joined #ruby
d3vic3 has quit [Ping timeout: 252 seconds]
wobr1 has joined #ruby
d3vic3 has joined #ruby
wobr has quit [Ping timeout: 246 seconds]
tdubellz is now known as thomas
yonggu has quit [Ping timeout: 246 seconds]
Eldariof-ru has joined #ruby
imami|afk is now known as banseljaj
tcopp has quit [Read error: Connection reset by peer]
tcopp has joined #ruby
leoncamel has joined #ruby
davidpk has quit [Quit: Computer has gone to sleep.]
reuf has quit [Ping timeout: 246 seconds]
ryanf has quit [Ping timeout: 250 seconds]
fgsda has quit [Ping timeout: 246 seconds]
AlbireoX has joined #ruby
bigkevmcd has quit [Remote host closed the connection]
tvw has joined #ruby
bigkevmcd has joined #ruby
mwilson_ has quit [Excess Flood]
mwilson_ has joined #ruby
<lewis1711> ok call me insane but... if you have a.rb in the same folder as b.rb, you surely only have to do 'require "./a"', yes?
<Quadlex> You're insane
<lewis1711> right
<fowl> lewis1711, as of 1.9 "." is no longer on the load path by default
<lewis1711> huh
Dreamer3 has quit [Quit: Leaving...]
<lewis1711> but .. is? odd
<fowl> no, i dont believe it is
<fowl> check out $LOAD_PATH
<heftig> require_relative "a"
<banisterfiend> heftig: join #Pry and ill giv eu ops
Helius has joined #ruby
<lewis1711> must be a jruby issue
<banisterfiend> heftig: pls
<heftig> banisterfiend: are you trying to bribe me? :p
<banisterfiend> heftig: Yeah
<heftig> well, that's not going to work :p
<banisterfiend> heftig: ops and voice, then
<banisterfiend> u drive a hard bargain
roolo has joined #ruby
<heftig> i want a ban
<banisterfiend> heftig: ok
<banisterfiend> heftig: deal
<lewis1711> require '../folderImIn/b'
<lewis1711> works
<lewis1711> fuck it
<heftig> eww
<lewis1711> you're right, I should use python
<lewis1711> HAHAHA Only kidding
skryking has quit [Ping timeout: 244 seconds]
T_Rex_ has quit [Quit: T_Rex_]
aroman has quit [Read error: Connection reset by peer]
aroman has joined #ruby
skryking has joined #ruby
tvw has quit [Remote host closed the connection]
Ethan has quit [Ping timeout: 265 seconds]
wrapids has joined #ruby
ggreer has quit [Excess Flood]
arturaz has joined #ruby
jhchabran has quit [Remote host closed the connection]
bigkevmcd has quit [Ping timeout: 246 seconds]
ggreer has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
a2mediadevel has left #ruby [#ruby]
Neil_ has joined #ruby
schickung has quit [Quit: schickung]
ckarcher has joined #ruby
MekkisScreen has quit [Ping timeout: 252 seconds]
zz_chrismcg is now known as chrismcg
<workmad3> lewis1711: at least use require_relative
<lewis1711> workmad3: "NameError: undefined local variable or method `require_relative' for #<Object:0xf8600d6>"
workmad3 has quit [Quit: Lost terminal]
graspee has quit [Quit: Lost terminal]
seoaqua has quit [Quit: Leaving]
graspee has joined #ruby
fearoffish has joined #ruby
bigkevmcd has joined #ruby
jhchabran has joined #ruby
groupcat has quit [Quit: leaving]
mrmist has joined #ruby
ephemerian has joined #ruby
mrmist is now known as groupcat
tatsuya_o has joined #ruby
bigkevmcd has quit [Ping timeout: 246 seconds]
rakunHo has joined #ruby
<heftig> lewis1711: use 1.9 mode
<lewis1711> ruby has modes? :/
<heftig> weren't you using jruby?
jord has joined #ruby
nirakara has quit [Quit: This computer has gone to sleep]
<heftig> launch jruby using --1.9 or put JRUBY_OPTS=--1.9 into the environment
<lewis1711> oh there we go
<heftig> i'd prefer the latter, because otherwise you'd have to run jirb using "jruby --1.9 -S jirb"
<lewis1711> I did the latter
bigkevmcd has joined #ruby
<lewis1711> how do I use 1.9 mode when it's jruby.jar embedded?
<heftig> hmm
Guest75876 has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
<lewis1711> legend, thanks heftig
<banisterfiend> lewis1711: heftig is a ledge
emptiness has joined #ruby
<lewis1711> I do question why it's not that "out of the box" however
lkba has quit [Quit: Bye]
emmanuelux has joined #ruby
mengu has joined #ruby
thone has quit [Ping timeout: 246 seconds]
<lewis1711> ah netbeans, you're so clever. even if you're much uglier than your more popular cousin
pdelgallego has joined #ruby
etehtsea has quit [Ping timeout: 244 seconds]
fearoffish has quit [Ping timeout: 255 seconds]
Shahor has joined #ruby
<heftig> no, i'm a cornice
<heftig> lewis1711: because backward-compatibility
jjang has quit [Ping timeout: 244 seconds]
mdstunthamster has joined #ruby
nari has quit [Ping timeout: 245 seconds]
fearoffish has joined #ruby
kedare has joined #ruby
<vectorshelve> can u help me with the command to change the file permission this way ? http://pastie.org/4242677
<hoelzro> vectorshelve: have you tried chmod?
<hoelzro> and are you asking for Ruby, or for the shell?
etehtsea has joined #ruby
Ionic` has quit [Ping timeout: 246 seconds]
RainbowDashh has quit [Quit: QUIT! Accident or on purpose? :3]
umttumt has quit [Remote host closed the connection]
RainbowDashh has joined #ruby
umttumt has joined #ruby
fearoffish has quit [Ping timeout: 248 seconds]
umttumt has quit [Remote host closed the connection]
vDubG has quit [Ping timeout: 252 seconds]
pygospa has quit [Read error: Operation timed out]
peterhellberg has joined #ruby
pygospa has joined #ruby
tvw has joined #ruby
vDubG has joined #ruby
RudyValencia has quit [Quit: My IRC client doesn't advertise in /quit messages.]
Markvilla has joined #ruby
Rizzle has quit [Ping timeout: 245 seconds]
umttumt has joined #ruby
IPGlider has joined #ruby
JackHind has quit [Ping timeout: 246 seconds]
IPGlider is now known as Guest43957
pk1001100011 has joined #ruby
Guest43957 has quit [Client Quit]
IPGlider_ has joined #ruby
baphled has joined #ruby
nari has joined #ruby
Foxandxss has joined #ruby
Guest75876 has quit [Ping timeout: 248 seconds]
Guest75876 has joined #ruby
cezar has joined #ruby
medik has joined #ruby
Rochefort has quit [Remote host closed the connection]
tuxaddicted has joined #ruby
cezar has quit [Client Quit]
saschagehlich has joined #ruby
saschagehlich_ has joined #ruby
tonini has quit [Remote host closed the connection]
chrismcg is now known as zz_chrismcg
umttumt has quit [Remote host closed the connection]
raz has left #ruby ["Leaving..."]
AlbireoX` has quit [Remote host closed the connection]
saschagehlich_ has quit [Client Quit]
saschagehlich has quit [Ping timeout: 248 seconds]
zz_chrismcg is now known as chrismcg
saschagehlich has joined #ruby
cads has joined #ruby
<cads> hey guys, I'm considering using ruby to make little commandline productivity scripts
mohits has quit [Read error: Connection reset by peer]
<cads> for example, I have currently have a very crude script that lets me commit dated messages to a file, so I can document changes I make to my system
<banisterfiend> cads: cool
<cads> I'd like to expand it to let me pick between different files to write to, and also to give it a mode so that I can grep the file
hilolih has joined #ruby
<cads> have you guys played around with commandline utilities like this using ruby?
<cads> as you can see, as of right now it's very rough http://pastie.org/4242828
Neil_ has quit [Remote host closed the connection]
<banisterfiend> cads: look into Rake or Thor
<Quadlex> cads: Not really, no
Neil_ has joined #ruby
<Quadlex> oops
<Quadlex> Damnable right click
<Quadlex> HOW VERY DARE YOU
fermion has joined #ruby
<banisterfiend> cads: ok?
<cads> banisterfiend, rake looks good
<cads> I bet it has good commandline options parsing, and then the rest of what I'd like to do could already be done with trivial ruby code
<banisterfiend> cads: actually it doesnt really have good commandline option parsing :P it's more of a "Make" substitute
<banisterfiend> cads: perhaps Thor is what you want
<banisterfiend> it has better command line option parsing
<banisterfiend> cads: rake is awesome though, for its use case
<banisterfiend> cads: 99% of ruby projects you look at will have a Rakefile, and the Rakefile will be used to manage a lot of the development overhead for the program
<cads> I've never looked too closely at rake
<banisterfiend> like running tests, building gems, pushing gems, etc
monkegjinni has joined #ruby
<cads> aaah
<cads> that sounds extremely useful
<banisterfiend> it is
<cads> I wonder if haskell's cabal does anything like the testing and the pushing usecase
<banisterfiend> cads: here's our Rakefile: https://github.com/pry/pry/blob/master/Rakefile
<cads> it's kind of like their make/rubygems
<cads> wow, much cleaner than a make file
ZachBeta has joined #ruby
<cads> gonna fork this :)
<cads> not sure it meets my needs yet, but it looks like a good example to play with
hekin has joined #ruby
hekin has quit [Client Quit]
<fowl> \\\\\\\\\\
yugui is now known as yugui_zzz
emmanuelux has quit [Ping timeout: 246 seconds]
<cads> banisterfiend, trying Pry out, as well
baphled has quit [Ping timeout: 244 seconds]
<lewis1711> banisterfiend can't talk right now, he's busy doing a rocky training montage
<banisterfiend> cads: hah, how did u hear about that
<cads> banisterfiend, heh, you linked me to pry's rakefile
fantazo has quit [Ping timeout: 246 seconds]
baphled has joined #ruby
<banisterfiend> cads: ah
<banisterfiend> good point
<cads> this is apparently a more zen incarnation of a ruby repl
<banisterfiend> cads: hah why 'zen' ? :)
dhruvasagar has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby
<cads> It looks like it tries to be harmonious and present in a given coding context
piotr_ has joined #ruby
<JonnieCache> lol
apeiros_ has joined #ruby
piotr has quit [Ping timeout: 246 seconds]
<JonnieCache> a zen repl would never run any code surely?
<banisterfiend> cads: hehe that's cute, we should put that on the 'testimonial' page
<JonnieCache> but yeah you should definitely put that on the homepage
fgro has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
vitor-br has joined #ruby
<fgro> shouldn't URI.parse("") throw an URI::InvalidURIError ?
IPGlider_ is now known as IPGlider
<JonnieCache> URI doesnt follow the spec that well
<JonnieCache> which is why theres the Addressable gem
<cads> banisterfiend, JonnieCache, are you guys familiar with haskell?
<banisterfiend> cads: just read an introduction to it, never got very far
<JonnieCache> i wrote a tiny bit at uni so im familiar with some of the basic concepts but i couldnt write any now
<shevy> I once worked through a haskell tutorial, but when it came to monads, my brain said bye and I went drinking beer instead
<fowl> shevy, do you know the german song "In heaven there is no beer"?
<JonnieCache> ive never had much luck with that kind of ultrapure programming
<JonnieCache> prolog made my brain hurt
<shevy> fowl: hmmmm dont think so
ZachBeta has joined #ruby
<banisterfiend> shevy: you always struck me as a QBasic kind of guy
<fowl> qbasic, ouch
<lewis1711> owch
<lewis1711> fowl: LOL beat me to it
<JonnieCache> ICE BURN
<shevy> banisterfiend: hey I think I did basic when I was 11 or something like that. never had a look at it again
tuxaddicted has quit [Read error: Operation timed out]
<lewis1711> python was my BASIC :)
<cads> shevy, but a monad is just a monoid in the category of endofunctors of haskell types ;)
<shevy> say wat
<banisterfiend> cads: what's the haskell repl like?
<shevy> I never read the word endofunctors before
<lewis1711> I still don't get monads. I mean I use either and maybe (can't remember if those are haskell or scala names), but I don't get what's special about them
<JonnieCache> i used to write text advertures in qbasic back in the day
<JonnieCache> halcyon days lol
<cads> banisterfiend, it's more rigid than IRB, but it's pretty useful
<fgro> JonnieCache: can you given an example when URI.parse would fail?
<fowl> URI.parse(10)
timonv has quit [Read error: Connection reset by peer]
<JonnieCache> not as such. quote from the addressable readme: "Addressable is a replacement for the URI implementation that is part of Ruby's standard library. It more closely conforms to the relevant RFCs and adds support for IRIs and URI templates. "
timonv has joined #ruby
<fowl> uri.parse(some object that isnt a string)
<JonnieCache> no presumably URI deviates from the spec in some ways
<JonnieCache> s/no/so
<cads> shevy, it took me two years of studying category theory to be able to say that with a semblance of confidence :D
<JonnieCache> ive never actually had a problem with it myself tbh
tuxaddicted has joined #ruby
banisterfiend has quit [Remote host closed the connection]
<JonnieCache> do the rfcs say anything about an empty string being a valid uri?
<shevy> this channel has become very philosophical
<shevy> I imagine this must be all the time on #haskell
<graspee> not this morning it wasn't
<JonnieCache> hahaha
<graspee> it was very full of trolls
<JonnieCache> really? arent they all academics in the haskell world?
<fowl> that was a sweet troll party
<fowl> we'll have to do it again soon
<cads> shevy, basically a monad can be seen as way of breathing an algebraic theory into a mathematical object called a category
<shevy> JonnieCache: I'd think so... I found haskell very very difficult, all the time
<shevy> must be a lot easier for smart people
<shevy> cads: wat
<shevy> what is a "mathematical object"
<Mon_Ouie> Something mathematicians study
<lewis1711> it's when you send the "inverse" message to a matrix
<shevy> hehe
<apeiros_> Mathematical.new
* lewis1711 nods sagely
<JonnieCache> lewis1711: i understood up until that point
<JonnieCache> or was that nonsense
<fgro> JonnieCache: ok thanks for the input
<fowl> shevy, cads you might find this article useful http://dave.fayr.am/posts/2011-10-4-rubyists-already-use-monadic-patterns.html
<JonnieCache> yeah ruby already has most of the FP concepts cunningly hidden
<lewis1711> no pattern matching or TCO
baphled has quit [Read error: Connection reset by peer]
<JonnieCache> obviously not all of them
<shevy> that articles kills me
<fowl> oh? no pattern matching? case "Sup"; when /sup/; (stuff)
<shevy> Maybe Monad
<fowl> :p
<shevy> is that like the Heisencat ?
<lewis1711> JonnieCache: they're just the ones I miss the most
Spooner has joined #ruby
<JonnieCache> but yeah you can build pattern matching easily enough
crodjer has joined #ruby
<cads> shevy, Maybe is easy. It's a container that either holds a value of a particular type, or else it holds a special valued called Empty
<cads> so it's a container that maybe has something in it, maybe not
<JonnieCache> get your maybe monads right here: https://github.com/raganwald/andand
<JonnieCache> use that one a lot
<crodjer> With irb, in irbrc, is it possible to add a command to execute before each readline?
<fowl> crodjer, irb is antiquated, use pry
<Mon_Ouie> Yeah, Pry is way more flexible if you want to customize that kind of stuff — although IIRC IRB does support custom input objects
<apeiros_> crodjer: sure. I did that to filter out accidental opt-space (nonbreaking space, killed irb)
<shevy> cads: hehehe that is odd
<crodjer> I basically want to set the readline screen size for resizes.
<cads> JonnieCache, yeah, ruby has lots of cool FP magic implemented here and there
Eldariof-ru has quit [Remote host closed the connection]
<cads> and even more mystical (to me) smaltalk-esque sorcery
<crodjer> The terminal resize issue seem to be there in pry too
<apeiros_> oh, obviously I used it to improve the history as well
<shevy> my pry stil does fancy extra-newlines when I hit enter
<crodjer> apeiros_: Thanks
<lewis1711> JonnieCache: really? how? also lol I just "got" your name
<lewis1711> re: pattern matching
Rochefort has joined #ruby
Eldariof-ru has joined #ruby
bier has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
bier|tp has quit [Ping timeout: 240 seconds]
Speed has joined #ruby
<JonnieCache> well with the metaprogramming you can do basically anything. its almost lisp.
<JonnieCache> like someone said, the case statement is already pretty powerful.
<JonnieCache> not saying you could duplicate haskell, but you could have a good go i reckon
<JonnieCache> "easily enough" was probably an overstatement to be fair
banisterfiend has joined #ruby
<lewis1711> monkey patch an array with eval and convert everything to a symbol, that sorta thing? ;)
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
<JonnieCache> thats probably the kind of thing heh
hemanth has joined #ruby
<fowl> lewis1711, that sounds crazy as hell
<cads> I like that in ruby I don't have to encapsulate things in little bits of graduate level math to do things like commandline interaction
<JonnieCache> i had a weird daydream yesterday where i imagined making a pry extension which visualised all the objects and variables and method calls as big 3d coloured blocks moving around
<JonnieCache> i just need to learn opengl
ankakusu has joined #ruby
<ankakusu> hi! I have a question defined as below:
<lewis1711> do it
<ankakusu> I have text file with several lines and I want to read each line and display the first and second words for each line.
<ankakusu> for example, I have a txt file as:
<ankakusu> 1 3 f 5
<ankakusu> after I ran the code the result is
<ankakusu> 1 3
<ankakusu> with awk it is very easy
<csmrfx> JonnieCache: I've had that daydream too, many years ago
<ankakusu> awk '{print $1,$2}' /home/myfile
<csmrfx> JonnieCache: only, I was thinking of SVG
<csmrfx> and well, not a pry extension in particular
<ankakusu> how can I code this line in ruby in a neat and clean way?
Kiall has quit [Quit: ZNC - http://znc.sourceforge.net]
<shevy> ankakusu: File.readlines
<JonnieCache> im envisioning it looking a little like the classic opengl pipes screensaver on windows
<shevy> and .split on each |line|
Icoin has joined #ruby
<csmrfx> JonnieCache: actually, I was thinking of it as a programming tool
<banisterfiend> JonnieCache: how would you represent things?
<csmrfx> what you described (with method calls moving around) would be a debugger
<csmrfx> I just want to do what ET did
<JonnieCache> objects are cubes, variables are boxes which sit up on the walls
hemanth has quit [Read error: Connection reset by peer]
<lewis1711> I always thought imagining FP as little dataflow boxes, like process diagrams, would be neat
<shevy> File.readlines('/your/file.txt').each {|line| line = line.split(' '); puts line[0]+' '+line[1] }
a_a_g has quit [Read error: Connection reset by peer]
<JonnieCache> the methods on an object form holes in its sides which you can put other cubes into
Progster has joined #ruby
<csmrfx> "other cubes" being?
<shevy> hmm one day I should write a ruby file called "awk" that replaces awk
a_a_g has joined #ruby
<JonnieCache> when you cd into an object the camera zooms through the side of it and youre inside a room with more boxes on the walls
<cads> JonnieCache, the 3d visualization thing reminds me of this: https://www.youtube.com/watch?v=GR0eS9fdVzQ
<JonnieCache> cubes are objects
<banisterfiend> JonnieCache: why would it have to be 3d though?
<shevy> everything is objects
<shevy> even graspee is
<JonnieCache> for funsies
emmanuelux has joined #ruby
<banisterfiend> JonnieCache: what about a 2D tree structure?
<csmrfx> I think the key question is: what extra information can graphical representation provide?
hemanth has joined #ruby
<JonnieCache> so i can pretend im in an 80s film
<csmrfx> Max Headroom
<JonnieCache> more like this http://www.youtube.com/watch?v=dFUlAQZB9Ng
<oddmunds> Hackers
<JonnieCache> even though its not the 80s
bier has joined #ruby
<cads> IT A UNIX SYSTEM
<cads> IT'S*
a_a_g1 has joined #ruby
<cads> I _know_ this
<JonnieCache> that is actually an experimental unix GUI apparently
<JonnieCache> from xerox parc or some such place
a_a_g has quit [Read error: Connection reset by peer]
bier|tp has joined #ruby
<cads> then she literally finds the file that represents the door handle's state.. so awesome
<JonnieCache> well it is unix after all
<cads> files in the windows world are so much more mundane :)
<JonnieCache> its a pretty deep concept theyre representing there considering its jurassic park
Kiall has joined #ruby
rizzy_work has quit [Remote host closed the connection]
<cads> yeah, it would be years later before i got what was going on
<cads> watched it as a kid and though that was a very cool way to explore your files
<cads> but I played with the program later, and it's pretty awkward compared to a 2d file browser
<JonnieCache> it would actually be more fun to do that visualisation i talked about in a strongly typed language
<JonnieCache> because then all the objects and the holes could be given different shapes according to their type
crodjer has left #ruby [#ruby]
<JonnieCache> square peg in a round hole sort of thing
<cads> JonnieCache, did you see the python visualization video I linked to?
<ankakusu> shevy thanks. after your suggestion I manage to write a code similar to yours :)
verto|off is now known as verto
<JonnieCache> cads: yeah its pretty cool. you can really see whats going on though. i want something where you can watch the blocks whizzing round and actually have some idea what its doing
<JonnieCache> for example, youd be able to tell the different sort algos apart just by looking
<csmrfx> You need to realize that you're working with antiquated notions
<csmrfx> You want to make a next generation debugger?
<csmrfx> Yes, graphical, yes, visual, but GESTURE driven
<JonnieCache> thats for version 2.0 - kinekt support
<csmrfx> forget the 80s movies, you need to watch Minority Report
<csmrfx> my bet is on Leap Motion -mousekiller
<JonnieCache> fuck that man. can you imagine how much your arms would hurt
<JonnieCache> every secretary would be built like a tank
<csmrfx> Bull
totem has joined #ruby
<csmrfx> Listen
<csmrfx> I am an artist
<csmrfx> I love drawing
<csmrfx> Painting, whatever
<csmrfx> ambidextrous
<fowl> JonnieCache, you could always do it in 2d, just emulate the third dimension
<cads> JonnieCache, I'd really like to see an intuitive looking graphical calculus that can present computations in a very visual way
<csmrfx> My arms *never* hurt even after days of painting or drawing.
<fowl> then you could tell people that you've emulated the third dimension, and make awesome first impressions
<csmrfx> My shoulders and wrists *always* hurt after +6h coding session.. static is bad for humans
<JonnieCache> in minority report they keep their arms almost perpendicular all the time, often raising them above their heads. thatd hurt.
<csmrfx> movement is what is for humans
<cads> JonnieCache, so you can look at a computation and see how it works, similar to how you can take apart a sewing machine or motor and understand its dynamics and behavior
<JonnieCache> but yeah im not enough of a nerd to have this conversation about a damn tom cruise movie
<csmrfx> cads me too
dhruvasagar has quit [Ping timeout: 252 seconds]
atmosx_ has joined #ruby
JackHind has joined #ruby
<csmrfx> cads thats the very challenge, and promise
schickung has joined #ruby
<JonnieCache> theres http://algoviz.org/
<cads> but I'm pretty sure you'd need expert work to structure the system in a way that's vaguely interpretable with visual/spatial/mechanical intuition
<csmrfx> JonnieCache: I bet you could make bad motion interfaces, too
dhruvasagar has joined #ruby
<csmrfx> cads evolutionary process...
<JonnieCache> i think the problem would be that different people conceptualise these things in very very different ways
<csmrfx> ah well, I gotta get back to work
JackHind has quit [Client Quit]
<JonnieCache> cubes whizzing around makes sense to me because thats how i think of it. i bet many people would find that very confusing
<cads> also, imagine that you have a machine that acts exactly like a sewing machine (from the outside)
<csmrfx> one day I will have time and funds to make a visual gesture driven ruby
<cads> you open it up, and there is a plausible mechanism there, and indeed, when you run it, you see the parts whirling around
<cads> then you close it, and open it later, and all the parts look different
crodjer has joined #ruby
atmosx has quit [Ping timeout: 276 seconds]
<csmrfx> I dont think there is need to create new representations for code
<cads> they still do the exact same thing on the outside, but it looks like some parts have melted and elongated, while cams have morphed slightly, where in some places whole new bits of machinery and levers that weren't there before have just appeared
<csmrfx> what one needs is abstraction levels (so blocks of code become "blocks") and visualization of the interfaces.
<fowl> i want my objects to be little penguins running around a racetrack with midgets riding on their backs
JackHind has joined #ruby
<JonnieCache> csmrfx: thats exactly what im talking about
<csmrfx> I thought in your model blocks were method calls / messages?
<csmrfx> lol
<cads> csmrfx, yeah, you don't see the randomly reconfiguring atoms of a real machine
<ankakusu> I want to replace the second character. For instance, I want 26,444,555 to be 26,444*555. It must be similar to "26,444,555"gsub(',' , '*').
reuf has joined #ruby
<csmrfx> now that we have a group of rubyist anxious to make this real, I guess JonnieCache will have to make a trello.com board for our vizual ruby
<csmrfx> 8)
<cads> the visualization should smooth over the microscopic computations making up a virtual machine, and paint its large scale behavior in evocative strokes
<ankakusu> Bur I couldnt figure out the true way.
<ankakusu> can you help?
<JonnieCache> no the blocks are objects. when they go into the holes on other objects (method definitions) they are representing the objects being passed in as arguments
<ankakusu> "26,444,555".gsub(',' , '*')
<JonnieCache> the actual method call would need some other representation
JustinCampbell has joined #ruby
<jimeh> does anyone here have experience with Rails engines, and specifically, why before_filters from the root app would executed in an engine, but only if the first URL you request after starting the server is for the root app...
<jimeh> ...while if you request a page from the engine first after starting the server, then the before_filters from the root app doesn't leak into the engine...
<csmrfx> ankakusu: gsub replaces all
<ankakusu> csmrfx, yes I know.
<ankakusu> But how can I replace just the second occurrence of a literal?
<ankakusu> *the literal?
<shevy> ankakusu: many ways. one is to find out all positions of the character in question, then modify it at that position
<csmrfx> strtgt.reverse.sub("a", "b").reverse
lkba has joined #ruby
JustinCampbell has quit [Remote host closed the connection]
reuf has quit [Ping timeout: 246 seconds]
<shevy> indeed, that works too.
<shevy> "26,444,555".reverse.sub(",", "*").reverse # => "26,444*555"
pdelgallego has quit [Ping timeout: 246 seconds]
<csmrfx> but only for that type of input...
banisterfiend has quit [Remote host closed the connection]
nari has quit [Ping timeout: 245 seconds]
<csmrfx> what you really need is .scan with a regexp
<shevy> here is another one "26,444,555".gsub(/,(\d+)$/,'*\1') # => "26,444*555"
<shevy> and yet another one goes with .split
pdelgallego has joined #ruby
thone has joined #ruby
Boondox has quit [Quit: Leaving]
totem has quit []
banisterfiend has joined #ruby
kristofferrr has joined #ruby
timte has joined #ruby
mpereira has joined #ruby
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
<JonnieCache> jimeh: try #rubyonrails
<jimeh> thanks
iamjarvo_ has joined #ruby
afd__ has quit [Read error: Operation timed out]
kidoz has joined #ruby
afd__ has joined #ruby
Markvilla has quit [Ping timeout: 250 seconds]
ckarcher has quit [Remote host closed the connection]
Markvilla has joined #ruby
kristofferrr has left #ruby ["❤"]
<shevy> does one still have to be registered in order to speak on #ruby-lang?
Berglund has quit [Quit: Computer died.]
Berglund has joined #ruby
SpaceAviator has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
JackHind has quit [Ping timeout: 250 seconds]
Markvilla has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
<banisterfiend> shevy: Yeah.
<SpaceAviator> can someone link me to a good ruby tutorial? :)
<ij> How can I install gems so that code from libruby can access them?
lewis1711 has left #ruby [#ruby]
<shevy> SpaceAviator: http://pine.fm/LearnToProgram/?Chapter=00 work through it as quickly as you can
JackHind has joined #ruby
<shevy> ij I dont know what is libruby. gem install works like so: "gem install pry". This will install the gem into the SITE DIR of your local ruby installation
S1kx has quit [Read error: Connection reset by peer]
<Mon_Ouie> ij: What does that mean? All you need to do to use any installed gem is require it.
S1kx has joined #ruby
timte has quit [Quit: timte]
<ij> Mon_Ouie: Well I'm running code from C with libruby, but I can't require any of the installed gems the ruby code I run from there.
mailo has joined #ruby
<Mon_Ouie> Why couldn't you?
<ij> I don't know.
* ij will provide a showcase.
bbttxu_ has joined #ruby
robotmay_ has joined #ruby
Markvilla has joined #ruby
wargasm1 has joined #ruby
monkegji_ has joined #ruby
hakunin_ has joined #ruby
schickung_ has joined #ruby
atmosx_ has quit [Remote host closed the connection]
dkissell_ has joined #ruby
<SpaceAviator> thanks shevy !
Natch_y has joined #ruby
zemanel_ has joined #ruby
atmosx has joined #ruby
mengu_ has joined #ruby
ananthakumaran1 has joined #ruby
gtuckerkellogg has joined #ruby
noyb_ has joined #ruby
Spooner has quit [Read error: Connection reset by peer]
roolo has quit [Read error: Connection reset by peer]
robotmay has quit [Read error: Connection reset by peer]
wargasm has quit [Read error: Connection reset by peer]
bbttxu has quit [Read error: Connection reset by peer]
hakunin has quit [Read error: Connection reset by peer]
monkegjinni has quit [Read error: Connection reset by peer]
schickung has quit [Read error: Connection reset by peer]
Natch has quit [Remote host closed the connection]
dkissell has quit [Read error: Connection reset by peer]
zemanel has quit [Read error: Connection reset by peer]
mengu has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Read error: Connection reset by peer]
ggreer has quit [Ping timeout: 246 seconds]
tessi has quit [Ping timeout: 246 seconds]
noyb has quit [Read error: Connection reset by peer]
dominikh has quit [Ping timeout: 246 seconds]
canton7 has quit [Ping timeout: 246 seconds]
jfelchner has quit [Ping timeout: 246 seconds]
tfitts has quit [Read error: Connection reset by peer]
piotr_ has quit [Quit: No Ping reply in 180 seconds.]
piotr has joined #ruby
tessi has joined #ruby
tfitts has joined #ruby
mattp_ has quit [Ping timeout: 246 seconds]
obryan1 has joined #ruby
obryan has quit [Remote host closed the connection]
TheFuzzball has quit [Ping timeout: 246 seconds]
zemanel_ is now known as zemanel
berkes has quit [Ping timeout: 246 seconds]
chson has quit [Ping timeout: 246 seconds]
swistak35 has quit [Ping timeout: 246 seconds]
schickung_ is now known as schickung
Natch_y is now known as Natch
bbttxu_ is now known as bbttxu
dkissell_ is now known as dkissell
tessi has quit [Changing host]
tessi has joined #ruby
obryan1 has quit [Client Quit]
berkes has joined #ruby
aef has quit [Remote host closed the connection]
aef has joined #ruby
TheFuzzball has joined #ruby
<ij> Mon_Ouie: http://sprunge.us/EEVW
swistak35 has joined #ruby
tuxaddicted has quit [Read error: Connection reset by peer]
cousine has joined #ruby
AngryParsley has joined #ruby
grekkos has joined #ruby
freeayu has quit [Ping timeout: 240 seconds]
g_rotbar_ has quit [Remote host closed the connection]
grekkos is now known as Guest23728
<shevy> bugs that should not appear at all, confuse me a lot
<shevy> hmm what is 'sdl' here
<shevy> gem install sdl
<Mon_Ouie> ij: Ah, IIRC you need to call some other function to run the rubygems prelude
<shevy> ERROR: Could not find a valid gem 'sdl' (>= 0) in any repository
<Mon_Ouie> Although the simplest way is to just rb_require("rubygems")
`brendan has joined #ruby
crodjer has left #ruby [#ruby]
<ij> shevy: Of course I installed rubysdl before that.
<ij> Mon_Ouie: Shouldn't rubygems set the environment so the ruby could find it itself?
ken_barber has joined #ruby
vlad_starkov has joined #ruby
<Mon_Ouie> What do you mean? Rubygems can't do anything if it isn't loaded
<ij> Oh, wait -- I'm confusing it with rvm.
<_bart> Is it possible that when I do page.css("div") with Nokogiri that it's not getting ALL the divs in the page?
<csmrfx> what
<_bart> I have to feeling it's not selecting all of them
<_bart> the*
<csmrfx> u r doinit wrong
Neil_ has quit [Remote host closed the connection]
<_bart> csmrfx: how do I get all the <div>s?
Helius has quit [Remote host closed the connection]
MatthewGA has joined #ruby
<csmrfx> _bart: how about, start by comparing an xpath and a css selector query results
Spooner has joined #ruby
cousine has quit [Remote host closed the connection]
zodiac1111 has joined #ruby
<JonnieCache> whats the best way to change the word separators in pry?
<banisterfiend> JonnieCache: word separators for what
<JonnieCache> I want move-word-back to stop at period characters
<csmrfx> res1 = page.xpath('//div'); res2 = page.css('div'); p res1 - res2; # bart_
sailias has joined #ruby
<banisterfiend> JonnieCache: ah, you'll hvae to edit your .inputrc iirc
<banisterfiend> it's a Readline config issue
<JonnieCache> ok cool
<banisterfiend> not sure how to do it, sorry :)
<banisterfiend> but Mon_Ouie often knows things like that
kedare has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
mogaj has joined #ruby
<_bart> csmrfx: path returns less divs!
wangr has joined #ruby
<Mon_Ouie> Readline.basic_word_break_characters = "characters"
<mogaj> when i run this command in terminal "apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \ libz-dev libssl-dev" i am getting this error Errors were encountered while processing: ruby-rvm E: Sub-process /usr/bin/dpkg returned an error code (1)
<csmrfx> _bart: you mean, 'xpath'
<_bart> yes xpath
<_bart> autocorrect, sorry
<csmrfx> perhaps it considers the root div as the / of the doc
<_bart> csmrfx: but it's missing loads of nested divs
<JonnieCache> goddamn id forgotten how crazy readline is
crates has joined #ruby
<shevy> hehe what up JonnieCache ?
<shevy> I think I have some setting that confuses readline in pry... only I seem to get those extra newlines
<csmrfx> _bart: in that case nokogiri xpath is incorrectly implemented
<_bart> csmrfx: I'm talking about Nokogiri in general
<JonnieCache> nokogiri wraps libxml. libxml does not having gaping bugs in its xpath implementation
<JonnieCache> its practically the reference implementation
geekbri has joined #ruby
<csmrfx> I was just saying that if //div does not return all the divs in the doc, then the xpath implementation is incorrect
<csmrfx> which I, too, highly suspect
<_bart> okay so how do I fix this?
<csmrfx> xpath is good, but you need to understand it to use
gtuckerkellogg has quit [Ping timeout: 252 seconds]
<csmrfx> _bart fix what exactly?
cantonic_ has joined #ruby
geekbri has quit [Remote host closed the connection]
<_bart> csmrfx: I want to loop through all the divs, really ALL.
<csmrfx> eg. //div and /descendant::div should return all the divs in the document
ChampS666 has joined #ruby
<_bart> how do I loop through everything?
<_bart> maybe that will work, when I check myself wether it's a div or not
<csmrfx> _bart have you read this: http://nokogiri.org/tutorials
d-snp has quit [Ping timeout: 244 seconds]
<JonnieCache> cant you do something like /*//*/div
<JonnieCache> xpath is pretty nuts, selecting every div shouldnt be much code
ingo86 has joined #ruby
<csmrfx> No its not.
cantonic has quit [Ping timeout: 265 seconds]
cantonic_ is now known as cantonic
<JonnieCache> also, nokigiri accepts css so you can just pass in "div"
<JonnieCache> doesnt get any easier than that
gtuckerkellogg has joined #ruby
<ingo86> hello, i have trouble installing nokogiri and event machine on ubuntu, i have something wrong with Werror-format
geekbri has joined #ruby
<_bart> JonnieCache: it's easy, but it's just not returning all the divs!
<_bart> only 20, but there are clearly more divs in the source
krusty_ar has joined #ruby
Markvilla has quit [Quit: Markvilla]
<JonnieCache> is the source valid?
<_bart> probably not
<JonnieCache> libxml is a strict parser so it may just be ignoring large parts of the xml
<JonnieCache> if you want tolerant, browser-style parsing use hpricot
<ingo86> format not a string literal and no format arguments [-Werror=format-security], to be exact, do you guys know if there's a workaround? i have found that nokogiri can be updated, while event machine can't
<JonnieCache> maybe first try manually walking the DOM with nokogiri inside a repl to see if its actually there or not
ZachBeta has quit [Quit: Computer has gone to sleep.]
<csmrfx> even browsers ditch the parts they cannot parse
<csmrfx> depending
<JonnieCache> obviously. thats what "cannot parse" means. but they make corrections and guesses where they can, which libxml never does
<_bart> isn't there a lib that validates/corrects the html?
<_bart> I read that hpricot is worse than nokogiri
<JonnieCache> worse in what way?]
<_bart> in almost all ways
<_bart> except for the thing you just mentioned
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
mailo has quit [Read error: No route to host]
roolo has joined #ruby
<JonnieCache> yep thats pretty much correct. a lot of that is probably *because* of the corrective parsing though
<JonnieCache> you could run it through an xml tidyer before nokogiri but that would be even slower
<JonnieCache> its not like hpricot is any less pleasent to use. unless youre doing industrial strength xml processing itll be fine. if you are doing that, why use ruby?
zommi has quit [Read error: Connection reset by peer]
jonathanwallace has joined #ruby
<_bart> I'm building an intelligent scraper, so this is really important
dhruvasagar has quit [Ping timeout: 255 seconds]
<_bart> it's the foundation of the system
<JonnieCache> the best lib for that kind of thing is generally considered to be beautifulsoup
<JonnieCache> but thats a python lib
indian has joined #ruby
indian has quit [Changing host]
indian has joined #ruby
<banisterfiend> indian: hey, long time no see :)
iamjarvo_ has quit [Quit: Computer has gone to sleep.]
<shevy> eeks python
dhruvasagar has joined #ruby
hyperboreean has quit [Ping timeout: 252 seconds]
emmanuelux has quit [Ping timeout: 246 seconds]
Hanmac has joined #ruby
xaq has joined #ruby
<fowl> python's fine, if you dont mind typing self all the time
<fowl> and parentheses
<fowl> and extremely limited lambdas
thisirs has joined #ruby
Axsuul has quit [Ping timeout: 240 seconds]
<graspee> and performance!
<graspee> bzzzzzzing
IPGlider has quit []
<graspee> just kidding
<Hanmac> python is very egomanic, its all about "self" :P
<fowl> computers get faster every year anyways
<graspee> it's all relative though
<banisterfiend> fowl: computers are the future
bbttxu has quit [Quit: bbttxu]
<fowl> yeah they're pretty nifty
andrei_ has joined #ruby
<fowl> i hear nowadays they can compute millions of maths in mere hours
andrei_ is now known as andrei__
tommyvyo has joined #ruby
richardStokes has joined #ruby
ankakusu has quit [Ping timeout: 245 seconds]
Shahor has quit [Ping timeout: 248 seconds]
tuxaddicted has joined #ruby
yannis has joined #ruby
Targen_ has quit [Ping timeout: 248 seconds]
monkegji_ has quit [Remote host closed the connection]
fowl has quit [Ping timeout: 246 seconds]
mucker has joined #ruby
cakehero has joined #ruby
Guest75876 is now known as davidw
<_bart> okay I get a segmentation fault, what does it mean?
davidw is now known as Guest98454
<Hanmac> _bart it means mostly there is a bug in an extendion ... what do you do?
sailias has quit [Quit: Leaving.]
bbttxu has joined #ruby
minijupe has joined #ruby
<_bart> Hanmac: I loop through the .root of an Mechanize page
<_bart> (so that's the Nokogiri object)
<_bart> the backtrace is also quite random
<Hanmac> make me a pastie
<_bart> the code is 1000 lines long, or you mean the backtrace?
zodiac1111 has quit [Ping timeout: 244 seconds]
rolando has joined #ruby
<_bart> Hanmac ^?
Guest98454 is now known as davidw
<Hanmac> i meant your loop
andrei__ has left #ruby ["Konversation terminated!"]
Mon_Ouie has quit [Ping timeout: 245 seconds]
davidw is now known as Guest3815
lxsameer has quit [Quit: Leaving]
<rolando> Hello, what is the name of the feature that allows you to do "foo#{variable}"?
<rolando> string concatenation?
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
akem has quit [Ping timeout: 252 seconds]
<Hanmac> rolando string interpolaration ... i think
<shevy> yeah string interpolation. works only via "" quotes, not via ''
<rolando> ok thanks
<shevy> saves one from doing something like 'foo'+variable.to_s :D
rippa has joined #ruby
<rolando> yeah
chson has joined #ruby
<_bart> Hanmac: is it okay I pm you the gist?
<Hanmac> you can do it
jerius has quit [Quit: leaving]
<rolando> I needed to know its name so I could put it in a emacs bug report
<rolando> thank you
sepp2k has joined #ruby
<Mon_Ouie> Emacs' ruby-mode is oddly buggy… knowing the one who wrote it also wrote Ruby :D
<rolando> it seems to work fairly well, but is crashes when you try to indent a line after :"foo#{bar}"
k_89 has quit [Ping timeout: 252 seconds]
<shevy> cool
LennyLinux has joined #ruby
<shevy> I knew that emacs was a decent OS but they should really switch to a better editor, with bug reports like that one here
andrewhl has joined #ruby
dv310p3r has joined #ruby
<rolando> shevy: if you are talking about vim, you can use a plethora of vim emulations
<rolando> two of them come with default emacs (although those only emulate vi)
fearoffish has joined #ruby
<rolando> I think there's also a emulation mode for word star
baphled has joined #ruby
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<JonnieCache> never understood emacs
Gavilan has left #ruby [#ruby]
<JonnieCache> it seems to go against everything hackers stand for
indian has quit [Ping timeout: 246 seconds]
iamjarvo_ has joined #ruby
<JonnieCache> its the least "unix philosophy" thing ever
banseljaj has quit [Excess Flood]
hynkle has joined #ruby
banseljaj has joined #ruby
<rolando> I guess it's a remnant of the lisp machine days
<rolando> it's kinda of an ide really
<JonnieCache> and an email client
<rolando> and before someone jump on me, I also use vim when necessary :)
<JonnieCache> and an irc client
* rolando tries to hide the fact that he's typing this from emacs...
* JonnieCache uses sublime
<rolando> I've heard good things about it
<dcope> ST2 is nice
<dcope> i've switched back to vim though
<rolando> that one seems really focused on web development right?
<JonnieCache> rolando: not really. it is kinda aimed at that community in a way though
verto is now known as verto|off
<JonnieCache> its sort of a successor to textmate, which was popularised by the rails community
<banisterfiend> JonnieCache: emacs isn't what u think it is
Markvilla has joined #ruby
<rolando> sublime is the one that's extensible in python right?
<JonnieCache> yep
Boondox has joined #ruby
ttilley is now known as ttilley_off
<banisterfiend> JonnieCache: i like to think of it as an interactive environment for developing lisp programs, the 'editor' is just a lisp application, same with everything else.
<JonnieCache> banisterfiend: i know it doesnt come like that. its just a specialised lisp environment
<banisterfiend> JonnieCache: so it's kind of smalltalky in concept
a_a_g1 has quit [Quit: Leaving.]
<JonnieCache> im talking more about how it gets used
<rolando> your just jealous of my org-mode buffers :P
<rolando> *you're
<JonnieCache> im sure its great. im not knocking it
<JonnieCache> just saying i find it strange how it seems to contradict so many hacker ideals
<rolando> I don't think it contradicts hacker ideals
ben_alman has quit [Excess Flood]
<hoelzro> s/hacker/Unix/
<rolando> from my understanding, hackers like stuff that let's them look under the hood and customize stuff to their needs
<JonnieCache> whatever happened to small, composable programs? the right tool for the right job?
<rolando> emacs is really good at it
_KDr2_ has joined #ruby
<rolando> they merged with the borg--er, emacs
<JonnieCache> but i guess when youre doing pure FP, then everything is a small composable program anyway
pk1001100011 has quit [Remote host closed the connection]
<banisterfiend> JonnieCache: inside emacs it has that
Markvilla has quit [Client Quit]
enroxorz has joined #ruby
enroxorz has quit [Changing host]
enroxorz has joined #ruby
<banisterfiend> JonnieCache: inside emacs there's a bunch of tools that you can compose in that way
<JonnieCache> yeah
<rolando> hoelzro: I'll agree that it doesn't really have the "unix" nature
<JonnieCache> this is what i mean, its sort of its own OS. which i find really strange: linux is a really good OS already...
<rolando> at least the "only do one thing" part
<JonnieCache> again, not saying its wrong, just that it looks weird from the outside
<enroxorz> Will they ever port Ruby to BeOS?
<enroxorz> I need Ruby ported to Apple II please
<rolando> sending emails from your text editor is not normal. But on emacs it is
<rolando> emacs, not even once
<JonnieCache> "hay dawg, we built a set of composable tools inside your set of composable tools so you can compose while you compose"
baphled_ has joined #ruby
baphled has quit [Read error: Connection reset by peer]
<rolando> funny thing is, emacs has a "recursive-minibuffer" concept
<banisterfiend> JonnieCache: yeah but each of those programs have their own UI and shortcut keys: calendar, scheduler, email client, etc, etc. You have to rmemeber the way each one works etc. Inside emacs, they all have very similar UI with shortcut keys that re immediately discoverable, you can also see their source code and change it on the fly
<rolando> where you can edit the stuff you are using to edit a buffer
<rolando> or something like that
jparkton has quit [Read error: Connection reset by peer]
<JonnieCache> it all sounds very zen
<rolando> you need to enable it, using "enable-recursive-minibuffers"
<Osum> if you only use emacs, then at some point you'll be comfortable with all the shortcuts
<banisterfiend> JonnieCache: it's very smalltalky IMO
pk1001100011 has joined #ruby
<banisterfiend> in a way
<rolando> I should learn smalltalk one of these days
<Osum> think about your workflow right now, you switch between a lot of applications, to read emails, check your calendar, code, check documentation, irc ,etc
yannis has quit [Quit: yannis]
<Osum> with emacs you can do them all from the same application, you only switch the context
qko has joined #ruby
jparkton has joined #ruby
<banisterfiend> yeah, you can even read pdf files inside emacs
<Osum> == much less downtime
<rippa> does it make coffee?
<rolando> yes
<gtuckerkellogg> I probably spend about 90% of my comptuer time in emacs
<Osum> on the other hand I never got the hang of emacs
<banisterfiend> JonnieCache: and bookmark certain pages, so u can have the pdf open in one emacs buffer, and your code in the other, so you can write code basedo n the pdf your'e reading. and when you 'bookmark' the pdf, you use the genearl emacs bookmarks, not some weird bookmark system unique to the pdf reading program
wallerdev has joined #ruby
ingo86 has quit [Quit: Sto andando via]
_KDr2_ has quit [Remote host closed the connection]
<banisterfiend> JonnieCache: it feels really powerful, it's a differnet way of doing things. Basically, unlike VIM, which just streamlines your editing, emacs streamlines every aspect of your developent workflow
<rolando> or tries to
<rolando> just don't try to write java or c# in it :)
qko_ has quit [Ping timeout: 246 seconds]
gtuckerkellogg has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<rolando> btw, if someone is curious about emacs, they should check the "Emacs rocks" screencasts, they are very nice
KDr2 has joined #ruby
<JonnieCache> i dont have the same drive to optimize every single aspect of my workflow right down to the bone like some hackers do
fowl has joined #ruby
fowl has joined #ruby
KDr2 has quit [Remote host closed the connection]
gtuckerkellogg has joined #ruby
<rolando> I like these two screencasts:
abionic has joined #ruby
qko has quit [Ping timeout: 250 seconds]
<JonnieCache> i know a couple of ludicrous vim/tmux ninjas and simply watching them work makes my head spin.
<JonnieCache> i like to relax a bit
qko has joined #ruby
<JonnieCache> i know thats terribly unfashionable these days, but there we are
* gtuckerkellogg is connected to IRC via emacs
<rolando> I should check out tmux and see if it's better than screen
reuf has joined #ruby
ben_alman has joined #ruby
<JonnieCache> tmux is pretty great
Helius has joined #ruby
banseljaj is now known as imami|afk
<JonnieCache> theres that other thing, byob i think its called. both seem better than screen
ABK_ has joined #ruby
<rolando> I think byob is screen but with profiles
<rolando> or something
<vectorshelve> hemanth: hai dude :)
bowlowni_ has quit [Read error: Connection reset by peer]
ABK has quit [Ping timeout: 248 seconds]
bowlowni has joined #ruby
<er1c_> think you mean byobu
qko_ has joined #ruby
erichmenge has joined #ruby
kvirani has quit [Remote host closed the connection]
qko has quit [Ping timeout: 248 seconds]
abionic has quit [Ping timeout: 248 seconds]
\13k has quit [Quit: Leaving]
RainbowDashh has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
Markvilla has joined #ruby
gtuckerkellogg has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
GTK has joined #ruby
pdelgallego has quit [Ping timeout: 250 seconds]
hukl has joined #ruby
JackHind has quit [Ping timeout: 240 seconds]
nilg has quit [Remote host closed the connection]
verto|off is now known as verto
centipedefarmer has joined #ruby
jacobat has joined #ruby
qko_ has quit [Ping timeout: 248 seconds]
uris has joined #ruby
<jacobat> I've upgraded from 1.8.7 to 1.9.3 and now YAML parsing is dead slow... it seems that switching enging from psych to syck fixes it, but is that the recommended approach?
pdelgallego has joined #ruby
<shevy> jacobat: dunno. I use syck myself still in 1.9.3, psych goes on my nerves way too much
ABK_ has quit [Ping timeout: 244 seconds]
<JonnieCache> jacobat: theres also https://github.com/brianmario/yajl-ruby/
mahmoudimus has joined #ruby
<jacobat> JonnieCache: I'll check that out as well, thanks
bigkevmcd has quit [Quit: outta here]
bigkevmcd_ has joined #ruby
Helius has quit [Ping timeout: 244 seconds]
qko has joined #ruby
hynkle has quit []
hynkle has joined #ruby
hynkle has quit [Client Quit]
hynkle has joined #ruby
fgsda has joined #ruby
<shevy> man... why did I ever use PHP
bigkevmcd_ is now known as bigkevmcd
<shevy> JonnieCache: I like to relax too
<shevy> both emacs and vim demand too much attention from my brain
yonggu has joined #ruby
<shevy> I dont want either of them to make its way into my poor brain
<verto> shevy lol
<JonnieCache> i can just about handle vim but each time i try it, the learning process saps too much productivity and I chicken out
<fowl> i vimmed once
<jds> Heya
<fowl> wont do it again
<peterhellberg> I think I’m falling in love with SimpleDelegator :)
<peterhellberg> A hidden gem in the stdlib
tk___ has joined #ruby
freeayu has joined #ruby
rking has quit [Quit: Upgrading to latest Weechat.]
enroxorz is now known as Paul-Atreides
rking has joined #ruby
tzvi|work has joined #ruby
<JonnieCache> peterhellberg: activerecord has that built in, I use it a lot
centipedefarmer has quit [Quit: This computer has gone to sleep]
<jds> I've got a little command line ruby script that prompts the user to enter some input on STDIN. Is there a gem or standard way of adding history support to it
<JonnieCache> it lets you pretend you have the worlds neatest database schema
<jds> so I can up-arrow to a previously entered line
mattp_ has joined #ruby
<fowl> jds, check out readline
<peterhellberg> JonnieCache: I rarely use Rails/AR so it is nice to have something similar in just plain Ruby :)
<jds> fowl: I thought it might be that. I was struggling to google for it, though - results are swamped by people struggling to compile ruby with readline support for IRB
<JonnieCache> I imagine the AR one is built on the stdlib class
<jds> Huh, that's simple, then :) http://bogojoker.com/readline/
dominikh has joined #ruby
<fowl> usually tacking "ruby" and/or "api" onto the search helps
xscc has joined #ruby
vitoravelino is now known as vitoravelino`afk
awarner has joined #ruby
jfelchner has joined #ruby
<peterhellberg> I just started playing around with the Oj library, and it can do some pretty cool stuff… like dumping objects with circular references to JSON, and then load it back up again
bigkevmcd has quit [Ping timeout: 265 seconds]
GTK is now known as gtuckerkellogg
noyb_ has quit [Ping timeout: 250 seconds]
fflush has joined #ruby
axl_ has joined #ruby
daniel_hinojosa has joined #ruby
<JonnieCache> peterhellberg: graph theory ahoy!
<JonnieCache> interesting to see how theyre handling the dumping of circular references
xscc has quit [Remote host closed the connection]
<peterhellberg> They are doing some trickery with the key names
canton7 has joined #ruby
axiak has joined #ruby
<JonnieCache> sounds like a headache
daniel_hinojosa has quit [Client Quit]
<peterhellberg> JonnieCache: For sure :)
daniel_hinojosa has joined #ruby
<JonnieCache> lol it says yajl core dumps when given a circular reference
<JonnieCache> not a good look
jgarvey has joined #ruby
<peterhellberg> Hmm, got a tricky off-by-one error in one of my Rickshaw graphs :/ And I don’t look forward to wade through the entire library (JavaScript) to track it down :(
ananthakumaran1 has quit [Quit: Leaving.]
ChampS666 has quit []
bigkevmcd has joined #ruby
jsime has joined #ruby
JohnBat26 has quit [Ping timeout: 244 seconds]
g0bl1n has joined #ruby
mockra has joined #ruby
axl_ has quit [Read error: Connection reset by peer]
bbttxu has quit [Quit: bbttxu]
axl_ has joined #ruby
kvirani has joined #ruby
<shevy> offby1 error again?
<shevy> offby1: you make people sad!
rakunHo has quit [Read error: Connection reset by peer]
sailias has joined #ruby
<shevy> someone should ban offby1 here :>
<shevy> I want to use ruby rather than javascript...
nari has joined #ruby
TorpedoSkyline has joined #ruby
yonggu has quit [Remote host closed the connection]
yonggu has joined #ruby
KnightWhoSaysNI is now known as UdontKnow
jerius has joined #ruby
Markvilla has quit [Quit: Markvilla]
jerius has quit [Client Quit]
Criztian has joined #ruby
linoj has joined #ruby
monkegjinni has joined #ruby
shevy has quit [Read error: Operation timed out]
Fraeon has quit [Remote host closed the connection]
yonggu has quit [Ping timeout: 248 seconds]
conail has joined #ruby
kevinbond has joined #ruby
duper has joined #ruby
ttilley_off is now known as ttilley
mahmoudimus has quit [Quit: Computer has gone to sleep.]
dekroning has quit [Ping timeout: 248 seconds]
bbttxu has joined #ruby
frogstarr78 has joined #ruby
internet_user has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
nirakara has joined #ruby
fgsda has quit [Ping timeout: 265 seconds]
Rizzle has joined #ruby
axl__ has joined #ruby
<lectrick> Since each fixnum in Ruby has an object_id, is it possible to attach singleton methods to a fixnum?
<hoelzro> lectrick: no
<hoelzro> Fixnums and Symbols may not have singleton methods
<lectrick> Also, is it possible to hook into the moment the value of an object is retrieved?
<hoelzro> lectrick: the value?
<hoelzro> could you elaborate?
shavus has joined #ruby
tagrudev has quit [Quit: Me = Awesome]
axl__ has quit [Remote host closed the connection]
mockra has quit [Remote host closed the connection]
Natch has quit [Read error: Connection reset by peer]
<banisterfiend> lectrick: they cant have singleton methods but they can have ivars
axl_ has quit [Ping timeout: 250 seconds]
Natch_x has joined #ruby
TheHairyWoodsman has joined #ruby
<hoelzro> lectrick: do you mean when a value is pulled out of a variable?
<fowl> lectrick, you can with an accessor
<Osum> what is a singleton method ? is it a class method ?
<fowl> class Foo; def x() puts "They lookin at my X again, tell em not to look at my X!"; @x end end
<lectrick> banisterfiend: Interesting
<hoelzro> Osum: it's a method that is bound to a single object
<hoelzro> A class method is a singleton method like a square is a rectangle
<lectrick> fowl: I know I can with an accessor, but what if I want to actually hook into any change to a hash
<fowl> lectrick, define []=
<fowl> i wouldnt recommend it for a hash
shevy has joined #ruby
<lectrick> Or I want to hook into when the variable "something" is actually retrieved
<Osum> but other objects of the same class, may not have that singleton method
<lectrick> fowl: I know.
<lectrick> Osum: I know. :)
<Osum> that was a question
<Osum> :P
<hoelzro> Osum: correct
<banisterfiend> lectrick: u cant do that
<hoelzro> they will only have it if you give it to them
<lectrick> Osum: oh. A singleton method is a method that exists only on one object instance.
<banisterfiend> lectrick: u can only hook into accessor methods
<Osum> hoelzro, lectrick: interesting -- what's the use case ?
<hoelzro> lectrick: unforunately, you can't hook into variable retrieval
idoru has joined #ruby
<fowl> x = Object.new; def x.hi() puts "Sup" end <- x.hi() is a singleton method
<Osum> ah! so you can attach methods at runtime to a specific object ?
<JonnieCache> Osum: it hinges on the fact that classes are objects
timte has joined #ruby
<fowl> Osum, sure
<Osum> that being the use case
<JonnieCache> so you can attach methods to a class like that. thats the most common use case
<lectrick> Osum: well, for one thing, class methods I believe are also singleton methods
akem has joined #ruby
<JonnieCache> they are singleton methods on an object that happens to be a class
crankycoder has joined #ruby
<lectrick> yep
<Osum> keep getting confused by class == type
<lectrick> Osum: Yes, or you can attach a method just to 1 object in memory. If you want to do that for some reason. The use cases beyond simple class methods vary
<JonnieCache> ruby doesnt really have much use for the term "type" because it doesnt do type checking
ackz has joined #ruby
<JonnieCache> classes are more a way of making/defining objects than reasoning about behaviour in ruby
<Osum> I know, but old habits die hard
<fowl> object#type used to be an alias for object#class iirc
<lectrick> Osum: Best to not even think of types in Ruby. Everything is an object. Classes are objects. Instances of a class are objects. You can get the .class of anything, which states what that thing was modeled upon. :)
oscardelben has joined #ruby
<lectrick> fowl: I did not know that!
burgestrand has joined #ruby
<lectrick> Shit gets real when you get way up in the object tree though. Class.class #=> Class
<banisterfiend> lectrick: objects are classes but objects are a different kind of thing to a class
<banisterfiend> oops
<banisterfiend> classes are objects i mean
<lectrick> See, even banisterfiend gets confused.
<banisterfiend> but not all objects are classes
<fowl> weird
<lectrick> Fortunately I am into mindfucks.
<fowl> i thought Class came from Module and Module came from Class
<lectrick> Module.class #=> Class
aroman has quit [Quit: aroman]
<dcope> lol
<fowl> o righ
<JonnieCache> when you get to the top of the tree there is some deus-ex-machine style behaviour from the interpreter to stop the universe collapsing in on itself
<fowl> Class.superclass #=> Module
Natch_x is now known as Natch
<lectrick> Module.ancestors #=> [Module, Object, Kernel, BasicObject] (at least in ruby 1.9-land)
<fowl> lectrick, now check out Class.ancestors lol
<lectrick> Yep
<fowl> miracles
<peterhellberg> lectrick: require 'delegate'; obj = SimpleDelegator.new(1); def obj.hello;'world';end
<lectrick> I think it's funny that BasicObject (a completely bare object) didn't even exist till 1.9
<peterhellberg> When speaking of delegates ;)
<lectrick> peterhellberg: ah yes.
<peterhellberg> obj will then behave like 1, except for the singleton method hello
mahmoudimus has joined #ruby
<peterhellberg> lectrick: Probably not what you were looking for though :)
quest88 has joined #ruby
arturaz has quit [Ping timeout: 246 seconds]
cousine has joined #ruby
<lectrick> peterhellberg: Well, similar.
<lectrick> peterhellberg: If you define __getobj__ on a delegated object, you can hook into when its value is retrieved.
oooPaul has joined #ruby
<peterhellberg> lectrick: Yeah, sure :)
Guest3815 is now known as davidw
davidw has quit [Changing host]
davidw has joined #ruby
mdszy has joined #ruby
k_89 has joined #ruby
<shevy> lectrick: I think that was dynamic history
<shevy> IMO, it started when _why did this ruby sandbox thing
<shevy> then there were problems with that
<shevy> so eventually, I think someone suggested BasicObject
workmad3 has joined #ruby
<shevy> _why didnt wanna publish the source of what he wrote back then :(
randomautomator has joined #ruby
<lectrick> shevy: i miss _why. actually sat next to him at the first (? I think it was the first... or one of the first, in any event) railsconfs...
shavus has quit []
shavus has joined #ruby
<shevy> cool
<lectrick> saw his interesting musical number at one of the keynotes
mdszy has quit [Client Quit]
<lectrick> anyway if some douche had only respected his privacy /grumble
timte has quit [Quit: timte]
<shevy> dunno
<shevy> he could have chosen to react differently or?
<lectrick> shevy: elaborate on "dynamic history"?
zeromodulus has joined #ruby
knightblader has joined #ruby
<lectrick> shevy: He could have, but clearly he was kind of insecure and could only deal with it by adopting another persona
<shevy> well. without the _why sandbox back then, I am not sure we would ever have had BasicObject at all
lolmaus has quit []
<lectrick> Intelligence and insecurity seem to often go hand in hand so you have to use kid gloves with the real creative brains
<shevy> a lot of ideas the ruby core team has, often seems to be brought to them by others
<shevy> for instance, the hash syntax foo: bla
<shevy> I think that was inspired by rails in most ways
<lectrick> shevy: So he basically took an object and then just stripped it of all methods?
<shevy> lectrick: I dont remember the reasoning from back then. there was the idea that you wanted to somehow make the code more secure
jprovazn has quit [Quit: Leaving]
<JonnieCache> he cant have been that insecure with all his exhibitionism
<shevy> and _why did something like basic object on his own. something like that
<lectrick> shevy: I love the 1.9 syntax except for symbol values
<JonnieCache> i get the impression that it was more about violating his mythos
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<shevy> I understood even less of ruby back then than I do now, so parts of the reasons are lost to me :)
<lectrick> JonnieCache: His anonymity enabled all that exhibitionism.
<JonnieCache> yeah i suppose so
<lectrick> JonnieCache: Just look at internet trolls for a simple example of that lol
<JonnieCache> its not like he had anything to hide from though, he was a celebrated man. and also everyone knew his face.
<lectrick> I learned object.map(&:some_method) from that guy
<shevy> I did not know his face
<JonnieCache> i always kinda thought OSS was another art project for him, and having his name out there broke the parameters of the project
<shevy> but truthfully, I dont even know why I would have to care about his face
<shevy> perhaps he didnt like to be exposed too much on the www
<lectrick> JonnieCache: Fame can be a tough thing to deal with
<JonnieCache> i like to imagine hes in a basement somewhere in some trendy american downtown area throwing paint at people or something
Synthead has joined #ruby
<lectrick> JonnieCache: That is as good a characterization as any
<lectrick> I had an email exchange with him once that was really trippy
Paul-Atreides has quit [Quit: Leaving]
RainbowDashh has joined #ruby
<JonnieCache> in a way though he is now immortal
<lectrick> ok so enough _whysterbation
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<JonnieCache> fair point heh
<lectrick> i guess... would prefer him to still be in the community tho
SQLStud has joined #ruby
<JonnieCache> with people like that, you should never discount the idea that anything they do is part of an elaborate joke/artistic statement
<lectrick> which is fine
<JonnieCache> oh indeed
<peterhellberg> Btw, there was talk about back porting BasicObject to Ruby 1.8.8, but that won’t happen.
<lectrick> i wish more people made artistic statements... or elaborate jokes
<peterhellberg> We’ve had BlankSlate for years though…
<lectrick> there is generally not enough creativity encouraged
cousine has quit [Remote host closed the connection]
<JonnieCache> its great, i love people who deliberate make myths around themselves.
<lectrick> freshman year in college is great for that
<JonnieCache> sun ra was the master. he was the jazz musician who came from saturn
<JonnieCache> (via philly)
billiam has joined #ruby
<shevy> lol
nari has quit [Ping timeout: 265 seconds]
theRoUS_ has quit [Ping timeout: 260 seconds]
jprovazn has joined #ruby
<JonnieCache> he wanted to beam all the black people off the planet using the power of music so they could leave in peace in another galaxy. what a legend.
<JonnieCache> (i may have got that wrong, cool it jazz fans)
larissa has joined #ruby
<k_89> ok now i am interested ... this _why you guys are talking about is the same guy who wrote why's poignant guide to ruby ?
<JonnieCache> yes
mdszy has joined #ruby
<JonnieCache> just to be clear, he wasnt the one who wanted to trans-molecularize the black community with the power of jazz, that was sun ra
<JonnieCache> that would be an unfortunate misunderstanding
<k_89> heh, found an article on his disappearance ... i like stuff like this
zeromodulus has quit [Remote host closed the connection]
Araxia has quit [Quit: Araxia]
ElderFain has joined #ruby
conail has quit [Read error: Connection reset by peer]
ABK_ has joined #ruby
<k_89> believe it or not, but same sort of thing happened in php community some time ago ... a supposedly godly developer just disappeared .. he came out a month or so ago for a day or two .. but now there's no trace of him. His pals keep looking for him on twitter from time to time .. but yes not as hyped up as _why's disappearance (no article about him disappearing)
tk___ has quit [Quit: ばいばい]
bowlowni has quit [Read error: Connection reset by peer]
gtuckerkellogg has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
bowlowni has joined #ruby
nirakara has quit [Quit: This computer has gone to sleep]
liuchong has joined #ruby
<banisterfiend> k_89: lol PHP, who cares
<banisterfiend> :P
SpaceAviator has quit [Ping timeout: 255 seconds]
<k_89> ahh .. i knew i was gonna get that here .. its a fine piece of tech, if not a fine language
ananthakumaran has joined #ruby
<JonnieCache> tbh banisterfiend is usually above that kind of talk
freeayu has quit [Quit: 离开]
atmosx has quit [Ping timeout: 276 seconds]
<shevy> yeah
<shevy> we need to replace php entirely
<banisterfiend> k_89: which other languages do u know out of interest
iamjarvo_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pygospa has quit [Disconnected by services]
baphled_ has quit [Ping timeout: 248 seconds]
TheRealPygo has joined #ruby
jacobat has left #ruby [#ruby]
<banisterfiend> JonnieCache: sometimes im just in the mood for trolling
<k_89> bit of ruby, python, js, some basics of lisp, java, C++, bit of C too
<k_89> etc
<k_89> no, thats it
joshman_ has joined #ruby
<banisterfiend> k_89: by 'know' i mean actually know well, not just a bit :P
Z_Mass has joined #ruby
<k_89> wellm, than js(i know it), ruby(i know the language to a decent level), and JAVA
<k_89> ahh, sorry for the caps
<banisterfiend> k_89: no php?
<k_89> you asdked which other
<banisterfiend> true
<k_89> php doesn't have too many concepts
<Kwpolska> php sucks
<k_89> ahh
<k_89> lets not start that please.. it does not
<JonnieCache> indeed. apart from anything else its like shooting fish in a barrel
<JonnieCache> but mainly its boring
<shevy> it is a simple language
robotmay has joined #ruby
<k_89> yeah .. bare bones programming concepts
<shevy> it also showed that perl sucked on the www
flippingbits has joined #ruby
<k_89> everything else is just added on to php
<banisterfiend> k_89: in my experience most of the people think php is a good language dont know any other languages very well
Z_Mass has quit [Client Quit]
<shevy> yeah, a bit chaotic design growth
<apeiros_> shevy: you're aware that php was a perl framework, yes?
<shevy> apeiros_: shows even more so that perl sucks
<apeiros_> shevy: um, no, it only shows that you can build sucky things in perl
<k_89> banisterfiend, i think you don't know php well enough
<apeiros_> and I think that statement is universally true for any language.
<shevy> well they abandoned perl
<k_89> and of course , you don't want to
<apeiros_> k_89: I did 6y of php. and yes, it sucks. donkey balls even.
<k_89> apeiros_, last time when?
<shevy> apeiros_ wrote a huge php framework :)
lonre has joined #ruby
robotmay_ has quit [Ping timeout: 248 seconds]
<k_89> really ? which one
<shevy> I dunno, but I remember it had an insane amount of lines of code
lonre has quit [Client Quit]
<shevy> apeiros_ even had a time when he wrote his own programming language
<shevy> see how silent he is about his past now :D
<apeiros_> k_89: I'd say around php 5.1 was the last I used a lot
<k_89> you can build good stuff in php, with expressive apis and all .. but to do that you need to do a lot of work
<apeiros_> shevy: I still do.
<JonnieCache> its a case of "you can do anything you need, but why would you want to, given the choice?"
philips_ has quit [Excess Flood]
<apeiros_> k_89: "you can build good stuff in X" does not imply that "X is good"
<k_89> apeiros_, 5.4, and even 5.3 are much better even than 5.2
<k_89> and iirc 5.2 is much better than 5.1
Z_Mass has joined #ruby
<apeiros_> k_89: they don't fix what's inherently wrong with php
<JonnieCache> goddammit i will not get drawn into this conversation again...
<apeiros_> and I think we can stop that discussion right here
<banisterfiend> JonnieCache: one last time :P
<k_89> apeiros_, the baggage ... i *hope* they will when they finally reach 6
<banisterfiend> apeiros_: actually im curious
<apeiros_> because I think we had that exact discussion already and you were part of it
ABK_ has quit [Ping timeout: 252 seconds]
<k_89> oh no
TheRealPygo is now known as pygospa
<banisterfiend> apeiros_: what is inherently wrong with it, how would you crystallize it in a few pithy sentences
Foxandxss has joined #ruby
philips_ has joined #ruby
<apeiros_> banisterfiend: bad concepts, inconsistent architecture, by now horrible syntax in a couple of places
<workmad3> banisterfiend: the 'design' is fubar
<apeiros_> you can't really fix those things without lots and lots of backwards incompatible changes.
andrewhl has quit [Remote host closed the connection]
Fraeon has joined #ruby
yonggu has joined #ruby
<apeiros_> k_89: are arrays objects by now? strings? integers?
<k_89> apeiros_, nope nothing like that .. arrays are arrays
<apeiros_> k_89: do they still think a hash table, an associative array and an array is one and the same thing?
<k_89> strings are strings, ints are ints
<k_89> yeah
<apeiros_> k_89: see.
<apeiros_> anyway, fractal of bad design article. as last time.
cantonic has quit [Ping timeout: 244 seconds]
<banisterfiend> apeiros_: so ints and strings aren't real objects?
<JonnieCache> to be fair that is common
Markvilla has joined #ruby
<k_89> yeah i know all that stuff ... but there are classes/interfaces available with which you can make a class behave like an array
<k_89> banisterfiend, they aren't real objects
<banisterfiend> JonnieCache: common in languages like java/c++/objective-c, but unforgivable in a highlevel, dynamic language, surely? :)
<apeiros_> JonnieCache: common != good
<apeiros_> JonnieCache: also it matters how you exhibit the fact that things are internally different
<JonnieCache> i agree it sucks, just that its unfair to single out php for it
<banisterfiend> JonnieCache: the reason the distinction exists in those othe rlanguages afaik is for performance or backwards compatibility with the base language (C in the case of c++ and objc)
<apeiros_> in php, it results in a couple of syntax breaks
billiam has quit [Ping timeout: 246 seconds]
<workmad3> banisterfiend: not if the high level, dynamic language doesn't try to be a primarily OO language :)
<shevy> php kind of is a child of the 1990es
<banisterfiend> workmad3: well then that's an even more egregious crime :)
Markvilla has quit [Client Quit]
<workmad3> banisterfiend: oh, so a high level, dynamic functional language is an egregious crime? :P
LennyLinux has quit [Quit: Mango IRC for iOS, http://mediaware.sk/mango]
<apeiros_> k_89: yeah, those interfaces made things better. but they're horrible.
cantonic has joined #ruby
<banisterfiend> workmad3: no, but a high level 'procedural' one is :)
<apeiros_> k_89: compare to rubys Enumerable, #each and #[]
<mdszy> I totally just wrote a near 500 word explanation of how that RPN calculator thing I made works.
<mdszy> 500 words. for 131 characters of Ruby.
<lectrick> So it's not possible to swap 2 objects given their object ID's eh?
<k_89> apeiros_, ruby is a much better language .. i mainly like php cos of how small learning curve it has .. even the advanced stuff is easy
mohits has quit [Read error: No route to host]
<k_89> html+css => web-app is shortest via php route
<banisterfiend> k_89: exactly, it's designed for 13 year olds, and people without a strong compsci background... :P (/troll)
* apeiros_ doubts that many rubyists have strong cs background…
eywu has joined #ruby
<mdszy> I have zero CS background!
<apeiros_> k_89: the learning curve may be small, the exceptions curve however is steep
cousine has joined #ruby
<Hanmac> apeiros_ #[] is not from Enumerable or used from there ... some enumerables are not finite
baphled has joined #ruby
tuxaddicted has quit [Read error: Connection reset by peer]
<k_89> i gotta admit i haven't used raw php after first 2 months of php-dev ... there are nice libraries avialabel, i prefer just using them
<apeiros_> Hanmac: that was not the point. it was about making a class array-like.
Goles has joined #ruby
<k_89> and there are some decent frameworks which just hit the right balance between features/flexibility/learning curve
<apeiros_> meh
<apeiros_> but well, who knows, maybe that has changed.
<k_89> apeiros_, if you can, check out laravel, my current goto php framework
<k_89> its really good
<apeiros_> k_89: I don't intend to waste my time, sorry
<k_89> hehe
<k_89> np
RainbowDashh is now known as PinkiePiee
cousine has quit [Remote host closed the connection]
ckrailo has joined #ruby
<apeiros_> k_89: I have no problem if you like php. to each his own. but saying php was not a crappy piece of tech… well… with that I do have a problem :-p
billiam has joined #ruby
yonggu has quit [Remote host closed the connection]
roolo has quit [Quit: Linkinus - http://linkinus.com]
Markvilla has joined #ruby
yonggu has joined #ruby
<k_89> apeiros_, it is a crappy language
tuxaddicted has joined #ruby
_pdelgallego has joined #ruby
<k_89> but NOT a crappy piece of tech
<k_89> and crappy language != crappy piece of tech
<k_89> its a pretty decent enabler, kickstarter etc, etc
oscardelben has quit [Quit: oscardelben]
pdelgallego has quit [Read error: Connection reset by peer]
_pdelgallego is now known as pdelgallego
<shevy> imagine when the world first saw C
<shevy> that must have been quite inspiring
<shevy> then jump forward when the world saw PHP
<k_89> and lisp came before C, right?
<shevy> dunno, (lisp(sucks
endzYme has joined #ruby
<shevy> but emacs is a decent OS
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<k_89> haha
<johnernaut> there was probably much shitting of the pants
endzYme has left #ruby [#ruby]
patient has joined #ruby
<shevy> no I mean
wrapids has quit [Disconnected by services]
<shevy> C goes hand in hand with UNIX
wvms has left #ruby [#ruby]
<shevy> with lisp, I cant really name anything that is a "must use"
bradhe has quit [Remote host closed the connection]
wobr1 has quit [Ping timeout: 265 seconds]
pdelgallego has quit [Read error: Connection reset by peer]
<workmad3> shevy: emacs and AI
pdelgallego has joined #ruby
<shevy> AI
<shevy> where is skynet man
<shevy> and
<banisterfiend> k_89: i would guess programmers who started with C ended up being better programmers than those who started with PHP
<shevy> in what language will it be :)
<workmad3> shevy: lost in the depths of some lisp machine somewhere :)
theskyisdrunk has joined #ruby
<johnernaut> skynet will be in Dart
<banisterfiend> well i cant say that..
nachtwandler has joined #ruby
Markvilla has quit [Client Quit]
<johnernaut> uhh, or apparently JavaScript
<workmad3> johnernaut: nah, skynet will just be an emergent property of the internet as a whole as more and more devices are connected to it
<k_89> banisterfiend, php has lots of programmers who are just in for quick money .... that type usually just remains mediocre... any of the big-time php developer would be fully capable of holding their own in any lang they wish
<johnernaut> indeed.
DrShoggoth has joined #ruby
<workmad3> k_89: yes... but most of those developers probably *are* programming in other languages
<workmad3> k_89: and it doesn't stop PHP being a crappily designed language, just means that a good developer can cope with bad tools
dnyy has quit [Remote host closed the connection]
<k_89> yeah
<workmad3> k_89: in a pinch, a carpenter can bang in nails with the end of a screwdriver... doesn't mean he will choose to do so
<johnernaut> k_89 I think I used to see you in the CodeIgniter channel quite frequently
<banisterfiend> what's codeigniter?
<offby1> Is there something like String.to_i that will return nil if the string cannot be parsed as an integer?
<workmad3> banisterfiend: some crap PHP framework
<k_89> johnernaut, yeah it was my first 'framework'
<workmad3> </troll>
<k_89> dropeed it about 7-8 months ago
<k_89> workmad3, yeah, these days, codeigniter is sorta crap
<k_89> oh cmon ... that is a sad analogy .. for most web-dev related tasks
<workmad3> JonnieCache: that was inspired by that PHP design blog rant, wasn't it? :)
<k_89> php is a proper tool
cousine has joined #ruby
<workmad3> k_89: if PHP were a person, I would indeed describe it as a 'proper tool'...
<k_89> ahh .. its useless
<offby1> answering my own question: Integer('123', 10)
<k_89> to argue 'for' php in #ruby :p
<JonnieCache> the best thing about that hammer pic is its not a photochop. they guy actually made that hammer
Morkel has left #ruby [#ruby]
<workmad3> k_89: does PHP 5.4 move away from the 'your file structure is your URL structure' craziness?
<workmad3> k_89: does 5.4 introduce closures where you *don't* need to explicitly import all the variables you actually want in the closure, making the 'closure' essentially a different function definition?
<workmad3> k_89: and yes, I don't doubt PHP is 'better than I think'... that is a far cry from being good though, just less bad ;)
SpaceAviator has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
pdelgallego has quit [Read error: Connection reset by peer]
pdelgallego has joined #ruby
mengu_ has quit [Quit: Konversation terminated!]
mdstunthamster has quit [Quit: Linkinus - http://linkinus.com]
<workmad3> k_89: oh, and while we're at it... has 5.4 cleaned up the date processing functions so that they actually form some sort of cohesive unit and isn't filled with weird clutter?
<banisterfiend> k_89: so, if codeigniter was your first framework, and you only moved away from it 8 months ago; it sounds to me like you're a really new programmer :P so maybe haven't yet the experience to properly evaluate the language/ecosystem? :)
Goles has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<shevy> k_89: dunno. people don't respond the same way here when python is compared to ruby
<shevy> but php gets full attention!!!
<workmad3> k_89: oh, and also, why is this even vaguely supported as syntax? "123" < "124"?
timonv has quit [Remote host closed the connection]
<JonnieCache> jesus its not his fault
<_bart> Hi, I suddenly get this when I'm just doing basic Nokogiri stuff, a segmentation fault: http://pastie.org/private/refxug0esknoygyt8qdkq
<_bart> could it have to do with malformed xhtml?
<workmad3> JonnieCache: :)
<shevy> php is still in a healthy phase
<JonnieCache> _bart: probably not. im guessing its more to do with the libxml library
<JonnieCache> _bart: have you recently changed or rebuilt your ruby?
<_bart> yep
vectorshelve has quit [Quit: Page closed]
knirhs has joined #ruby
<JonnieCache> basically if you change your libxml without rebuilding your nokogiri, or the other way around, it can cause crazy problems
baroquebobcat has joined #ruby
timonv has joined #ruby
<JonnieCache> so in short, remove and reinstall nokogiri
<JonnieCache> that applies in general to ruby libs that link to C libs
<_bart> "If you've somehow installed the x86-mswin32-60 gem in your RubyInstaller environment, the gem linked against a different Ruby version (MSVCRT-RUBY18.DLL) than the 1.9.1 version you're running. This issue is a known cause of segfaults."
<JonnieCache> i dont know ruby on windows so i cant comment
<JonnieCache> but that basically is the same as what i was describing
<shevy> hehe
<_bart> ah I'm on a mac so..
<JonnieCache> ok well that doesnt apply
<_bart> but ehm, I just did gem install nikogiri and still segfaulting!
<_bart> noko*
<JonnieCache> did you remove it first?
_pdelgallego has joined #ruby
Shrink has quit [Ping timeout: 265 seconds]
whitenoise has joined #ruby
_pdelgallego_ has joined #ruby
_pdelgallego has quit [Read error: Connection reset by peer]
carloslopes has joined #ruby
choffstein has joined #ruby
bowlowni has quit [Read error: Connection reset by peer]
etehtsea has quit [Ping timeout: 244 seconds]
PaciFisT has joined #ruby
<_bart> nope
pdelgallego has quit [Read error: Connection reset by peer]
bowlowni has joined #ruby
dhruvasagar has quit [Ping timeout: 244 seconds]
<Hanmac> JonnieCache: yeah DAUs are never listening :P
benson has joined #ruby
mogaj has quit [Read error: Operation timed out]
Foxandxss has joined #ruby
<JonnieCache> eh?
jprovazn_ has joined #ruby
<JonnieCache> oh
jprovazn_ is now known as jprovazn_away
<JonnieCache> hmm your words not mine
<_bart> alright, removed it first but still segfaults
Markvilla has joined #ruby
Eldariof-ru has quit [Read error: Operation timed out]
Targen has joined #ruby
andrewhl has joined #ruby
jprovazn has quit [Ping timeout: 246 seconds]
nirakara has joined #ruby
<_bart> reinstalling libxml2..
<ksk> hey guys. how do i strip a "carriage return/linebreak" from a variable?
<JonnieCache> ksk: string.chomp
mrkris has joined #ruby
beneggett has joined #ruby
Rochefort has quit [Remote host closed the connection]
Vert has joined #ruby
mrkris has quit [Client Quit]
Markvilla has quit [Quit: Markvilla]
flippingbits has quit [Quit: flippingbits]
aroman has joined #ruby
hukl has quit [Quit: Linkinus - http://linkinus.com]
<ksk> JonnieCache: thanks!
davidw has quit [Remote host closed the connection]
robotmay has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
fra000 has joined #ruby
aroman has quit [Client Quit]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
twock has joined #ruby
mogaj has joined #ruby
thisirs has quit [Remote host closed the connection]
btanaka has joined #ruby
SegFaultAX has joined #ruby
_pdelgallego_ has quit [Read error: Connection reset by peer]
pdelgallego has joined #ruby
robglees_ has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
khakimov has joined #ruby
yonggu has quit [Ping timeout: 250 seconds]
aroman has joined #ruby
aroman has quit [Client Quit]
verto is now known as verto|off
schickung_ has joined #ruby
Fretta has joined #ruby
yonggu has joined #ruby
mdszy has quit [Quit: bye for now]
snearch has joined #ruby
brianpWins has joined #ruby
savage- has joined #ruby
schickung has quit [Ping timeout: 265 seconds]
schickung_ is now known as schickung
Z_Mass has quit [Quit: Leaving]
aroman has joined #ruby
nirakara has quit [Quit: This computer has gone to sleep]
beakerman has joined #ruby
carloslopes has quit [Quit: Leaving.]
fra000 has quit [Quit: Leaving]
CreativeEmbassy has joined #ruby
yonggu has quit [Remote host closed the connection]
yonggu has joined #ruby
jlogsdon has joined #ruby
minijupe has quit [Quit: minijupe]
aroman_ has joined #ruby
bowlowni has quit [Read error: Connection reset by peer]
maletor has joined #ruby
PaciFisT has quit [Quit: Leaving.]
bowlowni has joined #ruby
dv310p3r has quit [Ping timeout: 246 seconds]
verto|off is now known as verto
minijupe has joined #ruby
peterhellberg has left #ruby [#ruby]
aroman has quit [Ping timeout: 252 seconds]
aroman_ is now known as aroman
dalton_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
PaciFisT has joined #ruby
PinkiePiee has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
vitoravelino`afk is now known as vitoravelino
_bart has quit [Ping timeout: 248 seconds]
apeiros_ has quit [Remote host closed the connection]
zeromodulus has joined #ruby
adeponte has joined #ruby
apok has joined #ruby
mahmoudimus has joined #ruby
PaciFisT has quit [Quit: Leaving.]
xaq has quit [Read error: Connection reset by peer]
bigkevmcd has quit [Ping timeout: 248 seconds]
xaq has joined #ruby
bigkevmcd has joined #ruby
dv310p3r has joined #ruby
devdazed has quit [Ping timeout: 244 seconds]
maletor has quit [Ping timeout: 248 seconds]
<shevy> tadam... go shevy go, write a packagemanager in ruby
hoelzro is now known as hoelzro|away
liuchong has quit [Remote host closed the connection]
jwg2s has joined #ruby
chimkan_ has joined #ruby
maletor has joined #ruby
locriani has quit [Ping timeout: 264 seconds]
<jwg2s> Hi all, I have one array of keys and one array of values, and I'd like to combine them so that its one array with keys and values
PaciFisT has joined #ruby
hadees has quit [Quit: hadees]
<banisterfiend> jwg2s: Hash[keys.zip(values)]
vitoravelino is now known as vitoravelino`afk
<jwg2s> perfect! thanks
<shevy> .unzip is sexy
cousine has quit [Remote host closed the connection]
rolando has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
shavus has quit []
kvirani has quit [Remote host closed the connection]
yxhuvud has joined #ruby
sailias has quit [Quit: Leaving.]
tuxaddicted has quit [Ping timeout: 265 seconds]
ephemerian has left #ruby [#ruby]
emmanuelux has joined #ruby
cdavaz has joined #ruby
wilmoore has joined #ruby
cdavaz is now known as Ontolog
strife25 has joined #ruby
jgrevich has joined #ruby
mdszy has joined #ruby
graspee has quit [Quit: leaving]
kevinbond has quit [Read error: Connection reset by peer]
Deele has joined #ruby
wataken44_ has quit [Remote host closed the connection]
tomb has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kevinbond has joined #ruby
Ethan has joined #ruby
hynkle has quit [Quit: Computer has gone to sleep.]
<shevy> who wants to be my testie this weekend
hadees has joined #ruby
reuf has quit [Quit: Leaving]
zemanel has quit [Quit: Remote hottie closed the connection]
hynkle has joined #ruby
reuf has joined #ruby
ianbrandt has joined #ruby
centipedefarmer has joined #ruby
hynkle has quit [Client Quit]
richardStokes has quit [Quit: Leaving]
vlad_starkov has quit [Remote host closed the connection]
pdelgallego has quit [Read error: Connection reset by peer]
enroxorz has joined #ruby
wpaulson has joined #ruby
pdelgallego has joined #ruby
leoncamel has quit [Ping timeout: 248 seconds]
blazes816 has joined #ruby
wataken44 has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
dv310p3r has quit [Read error: Connection reset by peer]
<shevy> Hanmac! come on...
bradhe has joined #ruby
Araxia has joined #ruby
jchauncey has joined #ruby
pdelgallego has quit [Read error: Connection reset by peer]
_pdelgallego has joined #ruby
adamkittelson has joined #ruby
jmdeldin has joined #ruby
lorandi has joined #ruby
bricker88 has joined #ruby
apok has quit [Remote host closed the connection]
apok has joined #ruby
apeiros_ has joined #ruby
vlad_starkov has joined #ruby
shadoi has quit [Quit: Leaving.]
mwilson_ has quit [Excess Flood]
ringotwo has joined #ruby
mwilson_ has joined #ruby
hakunin_ is now known as hakunin
SheikPunk has joined #ruby
fgro has quit [Read error: Operation timed out]
baphled has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby
reuf has quit [Ping timeout: 246 seconds]
krz has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<SheikPunk> hello guys, i have an rails app which gets a content data from a xml file and store it in a mysql table. after store that content i have characters in this content when i get data from database… i mean, this a encoding problem.
<SheikPunk> my table is UTF-8
SpaceAviator has quit [Ping timeout: 246 seconds]
<SheikPunk> the XML says UTF-8 too… but i think that xml have some char non UTF-8
<SheikPunk> somebody can help?
<SheikPunk> i tried Iconv to fix… but not works for me.
<duper> do you have # encoding: utf-8 set below the shebang line?
g0bl1n has quit [Ping timeout: 240 seconds]
strnx has joined #ruby
strnx has quit [Excess Flood]
kevinbond has quit [Read error: Connection reset by peer]
<SheikPunk> duper: my problem is with mysql text data, not with ruby files.
<apeiros_> duper: the # encoding comment only deals with string literals in the code of that file.
<apeiros_> (and regex literals)
<SheikPunk> apeiros_: yep
<apeiros_> SheikPunk: you use ruby 1.9?
kevinbond has joined #ruby
<Hanmac> SheikPunk didnt the MySQL connection has an encoding type too?
headius has joined #ruby
elhu has quit [Quit: Computer has gone to sleep.]
<burgestrand> AFAIK rails takes care of that. Used to be a big problem for PHPists.
<SheikPunk> Hanmac: let me check
<burgestrand> Well, still is.
banghouse has joined #ruby
<burgestrand> SheikPunk: what do the bad characters look like?
Guest23728 has quit [Read error: Connection reset by peer]
Targen has quit [Ping timeout: 246 seconds]
cakehero has joined #ruby
tvw has quit [Remote host closed the connection]
<SheikPunk> Hanmac: yes i had the encoding in database.yml file
kevinbond_ has joined #ruby
kevinbond has quit [Read error: Connection reset by peer]
kevinbond_ is now known as kevinbond
<apeiros_> SheikPunk: maybe you missed it - you use ruby 1.9?
Berglund has quit [Quit: Computer died.]
iamjarvo_ has joined #ruby
pdelgallego has joined #ruby
zeromodulus has quit [Remote host closed the connection]
_pdelgallego has quit [Read error: Connection reset by peer]
strife25 has quit [Quit: Computer has gone to sleep.]
johnernaut has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
snearch has quit [Ping timeout: 246 seconds]
<jmdeldin> Hello, What's the best way to implement a block without a subject (i.e., passing in a variable)? I'm toying around with them, and wondering if this is possible: https://gist.github.com/0a4654d3f95dfa4d3dcc
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby
<apeiros_> jmdeldin: you're looking for instance_eval?
devdazed has joined #ruby
<apeiros_> also, if you don't pass on the block, don't use &block + block.call, use yield instead. less taxing on the runtime.
devdazed has quit [Client Quit]
fearoffish has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
samrose has joined #ruby
<jmdeldin> apeiros_: Thanks, that looks like it'll work!
<jmdeldin> Thanks for the note about blocks too
devdazed has joined #ruby
Markvilla has joined #ruby
rippa has quit [Client Quit]
monkegjinni has joined #ruby
kevinbond has quit [Remote host closed the connection]
billiam has quit [Quit: Leaving]
pdelgallego has quit [Read error: Connection reset by peer]
kevinbond has joined #ruby
pdelgallego has joined #ruby
Niamkik has joined #ruby
mrevd has joined #ruby
Araxia has quit [Read error: Connection reset by peer]
vitoravelino`afk is now known as vitoravelino
<mrevd> hey all i'm getting an error im not familiar with when trying to use the cloudapp_api gem. /Library/Ruby/Gems/1.8/gems/cloudapp_api-0.3.3/lib/cloudapp/drop.rb:108:in `create': undefined method `merge!' for nil:NilClass (NoMethodError)
Vert has quit [Remote host closed the connection]
Araxia has joined #ruby
<apeiros_> mrevd: `undefined method `merge!' for nil:NilClass` is the relevant part.
strnx has joined #ruby
<apeiros_> tells you that you (probably indirectly) try to do nil.merge!(…)
iamjarvo_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
iamjarvo_ has joined #ruby
<Hanmac> i think something from cloudapp is broken
snearch has joined #ruby
strife25 has joined #ruby
rippa has joined #ruby
grekkos has joined #ruby
<Hanmac> mrevd i cant install it currently could you pastie me a link to the create method?
grekkos is now known as Guest74691
theRoUS has quit [Read error: Connection reset by peer]
shadoi has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
<apeiros_> Hanmac: either that or he passes it nil somewhere where he should pass a hash.
monkegjinni has quit [Remote host closed the connection]
<mdszy> Oh man, I got that RPN calculator down to 113 characters XD
Markvilla has quit [Quit: Markvilla]
kenichi has joined #ruby
monkegjinni has joined #ruby
adamkittelson has quit [Remote host closed the connection]
beneggett has quit [Quit: Computer has gone to sleep.]
<apeiros_> mdszy: but still 500 chars on why it works? :)
<mdszy> apeiros_: 500 *words* XD
<mdszy> and I haven't updated it to explain the new version
<apeiros_> oh
<mdszy> the gist with explanation and everything
<mdszy> because I changed up a bunch of stuff to make it really short, with suggestions from people
bigkevmcd has quit [Quit: outta here]
manizzle has quit [Read error: No route to host]
iaindalton has joined #ruby
centipedefarmer has quit [Quit: This computer has gone to sleep]
tatsuya_o has quit [Remote host closed the connection]
beneggett has joined #ruby
<Hanmac> mrevd & apeiros_ i looked at the http://rubydoc.info/gems/cloudapp_api/0.3.3/CloudApp/Drop source of the create method ... its very bad programed imo
<apeiros_> Hanmac: I generally try to avoid looking at other people's code - it's usually too much horror
voodoofish430 has joined #ruby
<iaindalton> I'm reading <http://guides.rubygems.org/what-is-a-gem/> and trying the examples. It says for 1.8 (which is what Ubuntu seems to default to), I need to require 'rubygems' before I can require 'ap'. I did so, but I still get a 'no such file' error. What do I need to do?
aroman has quit [Quit: aroman]
<Mon_Ouie> IIRC it's called awesome_print
<mrevd> o you got it
<Mon_Ouie> Nevermind, ap should work just fine
Markvilla has joined #ruby
<apeiros_> Hanmac: ew, singleton pattern for the authentication. instafail IMO
tuxaddicted has joined #ruby
strife25 has quit [Quit: Computer has gone to sleep.]
<iaindalton> neither work
cousine has joined #ruby
cousine has quit [Remote host closed the connection]
_pdelgallego has joined #ruby
pdelgallego has quit [Read error: Connection reset by peer]
_pdelgallego is now known as pdelgallego
<apeiros_> iaindalton: you did install the gem before trying to require it, yes?
saschagehlich has quit [Ping timeout: 240 seconds]
pdelgallego has quit [Read error: Connection reset by peer]
chimkan_ has quit [Quit: chimkan_]
monkegjinni has quit [Remote host closed the connection]
<iaindalton> apeiros_: No. I have never used Ruby, and I thought I could just follow the examples.
pdelgallego has joined #ruby
<apeiros_> iaindalton: gems are not part of ruby. they are additional packages which you install by using the gem command.
<apeiros_> depending on your system, it is either `gem install awesome_print` or `sudo gem install awesome_print`
<iaindalton> By Ruby I assume you mean its standard library?
<apeiros_> after that, you can use it, e.g. like that: irb, then in irb: require 'rubygems'; require 'awesome_print'; ap [1,2,3]
tuxaddicted has quit [Quit: leaving]
stephenjudkins has joined #ruby
<apeiros_> by ruby I mean ruby and everything that is considered part of a standard ruby installation
<apeiros_> (sadly, apt is a bad citizen there)
<iaindalton> Error: circular reference
Eldariof-ru has joined #ruby
<apeiros_> o0
udante has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby
<burgestrand> :3
yonggu has quit [Quit: yonggu]
carloslopes has joined #ruby
AngryParsley is now known as ggreer
ggreer has quit [Changing host]
ggreer has joined #ruby
chson has quit [Read error: Connection reset by peer]
chson has joined #ruby
SCommette has joined #ruby
kvirani has joined #ruby
SCommette has quit [Client Quit]
jarred has joined #ruby
tomb has joined #ruby
<shevy> iaindalton: make sure the gem you try to use is installed
<shevy> "gem list"
SCommette has joined #ruby
<shevy> also look at "gem env" output.
<shevy> debian, for reasons only aliens understand, changes the default of gems, so no wonder things dont work as easy anymore. and debian repackages ruby, which is annoying too
theRoUS has quit [Ping timeout: 265 seconds]
<Mon_Ouie> iaindalton: What gives you that error message anyway? Running gem install awesome_print?
<iaindalton> I realized the gem I installed interfaces w/ Java so I need to use JRuby. Typing jruby at the terminal starts a program but gives no output. Does jruby just take a long time to start the first time?
<headius> no output?
<headius> ever?
<Mon_Ouie> Isn't that what's supposed to happen?
<Mon_Ouie> Just like when you run ruby with no arguments — waiting for you to input code and then running it when you send EOF
Markvilla has quit [Quit: Markvilla]
<shevy> iaindalton: what happens if you interrupt it via ctr-c
<blazes816> iaindalton: jruby -e "puts 'woot!'"
artOfWar has joined #ruby
tommyvyo has quit [Ping timeout: 244 seconds]
bigkevmcd has joined #ruby
<iaindalton> shevy: it quits with a return value of 130
<iaindalton> blazes816: bash: !'": event not found
strife25 has joined #ruby
<iaindalton> removing the bang works though
<blazes816> iaindalton: weird. it was working, but now it's doing the same to me
<blazes816> either way, you get the point
<blazes816> run it with a script
<apeiros_> blazes816: ! is a special char to bash
<apeiros_> you must use single quotes to use it in an arg
artOfWar_ has joined #ruby
<apeiros_> jruby -e 'puts "woot!"'
<apeiros_> (! does history substitution otherwise)
kevinbond has quit [Ping timeout: 248 seconds]
tommyvyo has joined #ruby
<iaindalton> yeah, but how do I get a JRuby REPL?
snearch has quit [Quit: Verlassend]
SCommette has left #ruby [#ruby]
<apeiros_> since your ruby is called jruby, I'd assume jirb
<iaindalton> aha! that did it
<blazes816> how clever
<iaindalton> dey turk err jirbs!
<blazes816> lol
artOfWar has quit [Ping timeout: 248 seconds]
caveat- has quit [Ping timeout: 246 seconds]
<iaindalton> Still got issues. One "sudo gem install mondrian-olap" later, and after giving jirb "require 'rubygems'", "require 'mondrian-olap'" raises a LoadError
bglusman has joined #ruby
<iaindalton> It can't find the gem
TorpedoSkyline has quit [Ping timeout: 244 seconds]
sailias has joined #ruby
<apeiros_> the require and the gem-name don't have to be the same (sadly)
<apeiros_> read the docs of mondrian-olap, to see what you have to require.
caveat- has joined #ruby
headius has quit [Quit: headius]
<iaindalton> The docs say I'm typing it right
<apeiros_> oh, you install it with gem and try to use it in jirb?
<apeiros_> you probably have to use jgem too…
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
<Mon_Ouie> Did you literally type require 'rubygems', require 'mondrian-olap'?
Ionic` has joined #ruby
<Mon_Ouie> Because that would require mondrian-olap *before* rubygems
<Mon_Ouie> (and not do what you want, either way)
<apeiros_> Mon_Ouie: I bet it's gem vs. jgem
adamkittelson has joined #ruby
<Mon_Ouie> Oh, didn't think about that
<apeiros_> nobody does.
<apeiros_> everbody uses rvm
<apeiros_> or something similar
fbernier has joined #ruby
anothervenue has joined #ruby
mneorr has joined #ruby
c0rn_ has joined #ruby
QaDeS has joined #ruby
* Hanmac did not use rvm or jruby
ctwiz has joined #ruby
matti has quit [Quit: 8-X]
ctwiz has quit [Client Quit]
Natch has quit [Read error: Connection reset by peer]
Natch has joined #ruby
mneorr has left #ruby [#ruby]
<shevy> me neither
<shevy> quite a big fragmentation if you think about it
mneorr has joined #ruby
<shevy> rubinius jruby rvm c-ruby distribution-ruby (debian ruby...) hmmmm
larissa has quit [Quit: Saindo]
minijupe has quit [Quit: minijupe]
Berglund has joined #ruby
<Hanmac> you forgot mruby, modiruby, HPC Ruby ...
<apeiros_> rubymotion
<apeiros_> macruby
wobr has joined #ruby
<apeiros_> maglev
<burgestrand> ironruby!
<burgestrand> there’s a goruby now? D:
c0rn_ has quit [Quit: Computer has gone to sleep.]
adamkittelson has quit [Remote host closed the connection]
<apeiros_> kiji
<Hanmac> ironruby is turned into useless rust :D
<blazes816> ree?
<iaindalton> sorry, was afk. Ubuntu has no jgem
<shevy> yeah well mruby will still take a while. ironruby is dead
<shevy> dont know rubymotion, what is that?
<iaindalton> Also, Mon_Ouie: how would require 'rubygems', require 'mondrian-olap' require mondrian-olap *before* rubygems if I'm typing it after?
<blazes816> shevy: have you not been on the internet the last few weeks?
<Mon_Ouie> It's parsed like require("rubygems", require("mondrian-olap"))
ephemerian has joined #ruby
<iaindalton> well I'm typing them on separate lines
aroman has joined #ruby
<Mon_Ouie> i.e. the second require(…) is passed as an argument to the first, and therefore needs to be evaluated before the first one
schaerli has joined #ruby
<iaindalton> also, that certainly violates the principle of least surprise ;-) how does ; work in Ruby?
<Mon_Ouie> And generally, the order in which code is not written does not equate the order in which it is run
thomas has quit [Quit: bbiab]
<Mon_Ouie> Notice that was a comma, not a semi-colon
<iaindalton> I assume typing one line into the REPL, hitting enter, then typing another and hitting enter will evaluate them in the order typed
<iaindalton> Oh, got it
tdubz has joined #ruby
<Mon_Ouie> Yeah, but think about loops (or any flow-control structure, actually) or method definitions
tdubz is now known as Guest3642
<iaindalton> I get what you're saying. I just misread your comma as a semicolon
timonv has joined #ruby
krusty_ar has quit [Read error: Connection reset by peer]
tewecske has joined #ruby
tewecske has quit [Max SendQ exceeded]
Natch has quit [Read error: Connection reset by peer]
banisterfiend has quit [Read error: Connection reset by peer]
Natch has joined #ruby
Guest3642 has quit [Client Quit]
krusty_ar has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
itnomad has joined #ruby
beneggett has joined #ruby
tdubz_ has joined #ruby
Araxia has quit [Read error: No route to host]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
<shevy> blazes816: not much! only watching youtube videos... and trying to finish porting my oldest project to the new structure (still ongoing...)
Araxia has joined #ruby
ViperMaul has joined #ruby
mdstunthamster has joined #ruby
mdstunthamster has quit [Client Quit]
banisterfiend has joined #ruby
tdubz_ is now known as thomas
thecreators has quit [Quit: thecreators]
theRoUS has quit [Ping timeout: 244 seconds]
<nullsign> whenever i convert a str to a int, .to_i / it adds a ".0" to the number..
Rizzle has quit [Ping timeout: 252 seconds]
<nullsign> is there a good way to prevent that? or strip it off?
wobr has quit [Quit: Leaving.]
bowlowni_ has joined #ruby
saschagehlich has joined #ruby
bowlowni has quit [Read error: Connection reset by peer]
<shevy> "5".to_i# => 5
<nullsign> for some reason, my 0.to_i => 0.0
<nullsign> very odd..
<shevy> sounds non standard behaviour
<shevy> 0.to_f would do that
<Mon_Ouie> There must be a monkey patch somewhere
<shevy> yeah
<nullsign> ..
<Hanmac> oO
<Mon_Ouie> How do you actually print the result?
<nullsign> puts
<Mon_Ouie> Then yeah, some library must have redefined to_s or to_i
<nullsign> is there a way i can stirp off the .0 ?
obryan has joined #ruby
<Hanmac> nullsign what does this output:
<Hanmac> 0.method(:to_i).source_location
k_89 has quit [Ping timeout: 248 seconds]
blazes816 has quit [Quit: Leaving]
schickung has quit [Quit: schickung]
<nullsign> hanmac; im not sure how to alter that for my case.
<Hanmac> 0.method(:to_s).source_location
<nullsign> i can't enter that like that.. directly.
TheShadowFog has quit [Quit: Leaving]
<shevy> the proper way is to not use whatever changed the core class here
<Mon_Ouie> You can't change your own code?
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
mogaj has quit [Ping timeout: 248 seconds]
<nullsign> eh.. give me a sec.
c0rn_ has joined #ruby
<shevy> it is non-default behaviour, so you would just patch something that was wrong in the first place. but nothing stops you from modifying class Integer or wherever else that change was done
n1x has joined #ruby
Tearan has joined #ruby
<nullsign> couldnt i just round or strip off the decimal?
<Mon_Ouie> That's what #to_i does.
<Mon_Ouie> (the latter, that is; former is #round)
<nullsign> for some reason .to_i is adding a decimal..
headius has joined #ruby
<nullsign> everything gets a .0
<shevy> yeah. some idiot changed it
<Mon_Ouie> That's why we wonder where it was redefined
<shevy> whoever it was, fire that guy quickly
kalib has joined #ruby
<nullsign> nothing was changed.. this ruby was a default centos install build
beandip has quit [Ping timeout: 240 seconds]
<Hanmac> nullsign my code should show you where it happend
<nullsign> hanmac: im not sure how to implement your code.
<shevy> class Integer; def to_i; 42; end; end; 0.to_i # => 42
<shevy> nullsign: nope. 100% sure that this is not default
n1x has left #ruby [#ruby]
cakehero has joined #ruby
<Hanmac> nullsign, where you have a 0.to_i , but my code prefore that (and output it)
<kalib> Hi people, I'm just starting with ruby. I'm trying to use a simple example like this: " puts 'cação' " And I'm receving an error: invalid multibyte char (US-ASCII). But, if I try only " puts 'cacao' ", works just fine.
<shevy> try Hanmac's code in irb
<shevy> nullsign: you can use irb on your computer?
<nullsign> i can use irb; yes
<shevy> kalib: I cant see the first example
<nullsign> what would .source_location be?
<shevy> it shows me ca??o
<shevy> Hanmac: I think he is using ruby 1.8.x
<kalib> SheikPunk, just a second.
<nullsign> 1.8.7
<nullsign> yes
TPFC-SYSTEM has quit [Quit: TPFC-SYSTEM]
<kalib> shevy, just a second..
<shevy> SheikPunk? :D
<SheikPunk> shevy: thats ok
<SheikPunk> :D
<shevy> hehe
<shevy> what a nick!
jmccune has quit [Ping timeout: 264 seconds]
beandip has joined #ruby
<nullsign> is 1.8.7 bad?
<shevy> nullsign: I think .source_location was added fully only on 1.9.x
<Mon_Ouie> Oh, that doesn't make it easier; Pry does implement source_location if needed
<nullsign> ahh
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
<kalib> I only receve that error with the first example.
<shevy> but it does not matter much really. it would just show you where .to_i change was defined
<Mon_Ouie> Well, alternatively you can grep for def to_i in your source code
<nullsign> meh.. can i just round up to the nearest whole number and or strip off the .0 ?
<Mon_Ouie> and in the code of libraries you're using
<shevy> kalib: hah reads portuguese hehe
<nullsign> there should be a method for that.. :)
<Mon_Ouie> nullsign: Of course there is. That's what #to_i does.
<shevy> nullsign: you can change to_i method if you must. but it is the wrong way to solve it
<Mon_Ouie> But since it was redefined that doesn't help you.
<kalib> shevy, yeah, it's portuguese. But, why did I get that error? Any tip on how to solve that?
<kalib> I mean, it's a string... it was supposed to work, or not?
<nullsign> my variable = 0 (str), i do a var = var.to_i
<shevy> kalib: encoding is annoying. ruby assumes ... US Ascii if no encoding is specified
<nullsign> and then var = 0.0
angelixd has quit [Ping timeout: 265 seconds]
<nullsign> thats my issue
verto is now known as verto|off
<shevy> nullsign: that is wrong default behaviour.
<kalib> shevy, where can I specify the encoding?
angelixd has joined #ruby
<shevy> kalib: one way is in the .rb file itself
<shevy> like # Encoding: ASCII-8BIT
<Mon_Ouie> Add an # encoding: utf-8 at the beginning of the file
<andrewhl> How might I use this: rubyzip.sourceforge.net/classes/Zip/ZipFile.html to find any .exe files in a zip archive?
<kalib> thanks ;]
jmccune has joined #ruby
<shevy> nullsign: if you go to /usr/lib/ruby
<andrewhl> I tried passing in a regex to the get_entry method but it tells me it can't convert RegEx to string
<nullsign> oh
<nullsign> i think i know whats wrong
aroman has quit [Quit: aroman]
khakimov has quit [Quit: Computer has gone to sleep.]
<shevy> hmm dont see a to_i here at all
<nullsign> im converting the str to a float, not an int..
<nullsign> but..
<nullsign> weird.
<Hanmac> :D
<shevy> aha!
<nullsign> it's like it's backwards?
<shevy> I dont know why anyone would want to do that
verto|off is now known as verto
<shevy> float has more information than an integer
<Hanmac> but with less precise
<nullsign> fixed it.
<shevy> \o/
<nullsign> user error
jsime has quit [Ping timeout: 248 seconds]
jdunham has joined #ruby
<nullsign> i had to do .to_i on the same line i did the math..
<nullsign> i was doing it the line above, and not doing it on the line where i did my math.
<Ionic`> hmm
fbernier has quit [Ping timeout: 244 seconds]
davidboy is now known as davidboy|food
mogaj has joined #ruby
<Ionic`> how would you disable/enable print debugging in a class? variable with accessor and all p/puts suffixed with unless !debug?
manizzle has joined #ruby
davidpk has joined #ruby
erichmenge has quit [Quit: Be back later]
imami|afk is now known as banseljaj
<shevy> via a @debug variable perhaps
<Ionic`> yeah
<shevy> and probably one output method
<shevy> I usually use e() for output
<Ionic`> ah
<Ionic`> well
<Ionic`> sure, right
<shevy> so either: alias e puts, or def e(input, colour_to_use = 'red')
tatsuya_o has joined #ruby
<shevy> and when I lateron need logging, I can add it to that method
manizzle_ has joined #ruby
<duper> just be careful of namespace collisions, cuz there are some constants, globals, etc. named debug as well
kenichi has quit [Remote host closed the connection]
thecreators has joined #ruby
<Ionic`> yep
luckman212 has joined #ruby
a_a_g has joined #ruby
Poapfel has quit [Quit: rebooting]
tatsuya__ has joined #ruby
tatsuya_o has quit [Ping timeout: 246 seconds]
Poapfel has joined #ruby
kenichi has joined #ruby
jcrocetta has joined #ruby
jcrocetta has left #ruby [#ruby]
dkissell has quit [Quit: dkissell]
jsime has joined #ruby
linoj has quit [Ping timeout: 244 seconds]
fbernier has joined #ruby
Araxia_ has joined #ruby
zemanel has joined #ruby
Araxia has quit [Read error: No route to host]
Araxia_ is now known as Araxia
schickung has joined #ruby
IPGlider has joined #ruby
pazustep has joined #ruby
mrsolo has joined #ruby
pazustep has left #ruby [#ruby]
<Hanmac> ionic` there is a $DEBUG variable
tatsuya__ has quit [Ping timeout: 246 seconds]
<Ionic`> mh let's see
<Ionic`> ah
dhruvasagar has quit [Ping timeout: 246 seconds]
<David_Miller> I want an array of keys from a hash that have a certain value and I am feeling dumb :)
<Ionic`> with -d
<Ionic`> hmmm
thomas has quit [Quit: Leaving]
<Ionic`> nah
headius has quit [Quit: headius]
tatsuya_o has joined #ruby
schickung has quit [Quit: schickung]
minijupe has joined #ruby
CannedCorn has joined #ruby
Spooner_ has joined #ruby
jsime_ has joined #ruby
mdszy has quit [Quit: bye for now]
Spooner has quit [Ping timeout: 248 seconds]
fumduq has quit [Quit: Linkinus - http://linkinus.com]
a_a_g has left #ruby [#ruby]
jsime has quit [Ping timeout: 250 seconds]
williamcotton has quit [Ping timeout: 252 seconds]
kirun has joined #ruby
<David_Miller> I am looking for something better than this
<David_Miller> (hash.select { |k,v| v == :b }).keys
<David_Miller> that finds all keys with value :b
ananthakumaran has quit [Quit: Leaving.]
Eldariof-ru has quit []
Targen has joined #ruby
<David_Miller> anyone know a better way?
<Ionic`> hmmm
<Ionic`> seems like I can't do something like this
<Ionic`> def e(input); end; def e(input); p input; end unless !@debug
zipace has joined #ruby
<Ionic`> err
<Ionic`> with one added undef e unless !@debug
iamjarvo_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jsime_ is now known as jsime
<Ionic`> hmm... yeah
<Ionic`> well ok
cjs226 has joined #ruby
<Ionic`> ok, that's working
aroman has joined #ruby
<zipace> hi, i'd like to use ruby in a CGI app (yeah yeah, CGI is bad, etc... it's not for a public site), however, ERB seems to rely on global variables (see http://codepad.org/6zZTrtn0)... is there a way to make ERB use a defined environment of available variables, i.e., erb_instance.set_env({:some_var => "some value"}), instead of global variables?
abra has joined #ruby
cbuxton has quit [Quit: Leaving.]
tatsuya__ has joined #ruby
cbuxton has joined #ruby
nachtwandler has quit [Read error: Operation timed out]
banisterfiend has quit [Read error: Connection reset by peer]
uris has quit [Ping timeout: 246 seconds]
tatsuya_o has quit [Ping timeout: 240 seconds]
tatsuya_o has joined #ruby
hashar has joined #ruby
lxsameer has quit [Quit: Leaving]
Spooner_ has quit [Ping timeout: 248 seconds]
CreativeEmbassy has joined #ruby
tatsuya__ has quit [Ping timeout: 246 seconds]
lorandi has quit [Quit: Leaving]
banisterfiend has joined #ruby
<beakerman> any idea why calling #body on my Net::HTTPResponse would return a Net::ReadAdapter? this only happens to some of my response, others are returning the actual body string as expected
neku has joined #ruby
<bperry> beakerman: chunked response
<beakerman> bperry: but if I try to use read_body it throws an IOError saying that the body was already read
tatsuya__ has joined #ruby
skrewler has joined #ruby
tatsuya_o has quit [Ping timeout: 265 seconds]
apok_ has joined #ruby
<zipace> anyone? or is that question too silly? :-P
sebicas has joined #ruby
Niamkik has quit [Quit: leaving]
apok has quit [Ping timeout: 244 seconds]
apok_ is now known as apok
bluenemo has quit [Read error: Connection timed out]
roblally has joined #ruby
wmoxam has joined #ruby
<hashar> hello. Is it possible to define a rake target that will do just like 'rake --tasks' ? Would like to do that as a default target so users get the list of tasks when running 'rake'
bluenemo has joined #ruby
roblally has left #ruby [#ruby]
schaerli has quit [Remote host closed the connection]
<zipace> I suppose it is...
ilyam has joined #ruby
blazes816 has joined #ruby
brasten_ has joined #ruby
brasten has quit [Read error: Connection reset by peer]
brasten_ is now known as brasten
caveat- has quit [Ping timeout: 246 seconds]
tatsuya_o has joined #ruby
_mach has joined #ruby
skrewler has quit [Quit: skrewler]
duper has quit [Read error: Connection reset by peer]
duper has joined #ruby
tatsuya__ has quit [Ping timeout: 248 seconds]
<burgestrand> hashar: you *could* define a default task that, when invoked, just execs "rake -T"
EzeQL has joined #ruby
<burgestrand> There ought to be a cleaner way to do it through Rake though. :)
<hashar> burgestrand: ohh did not though about that :-D
kalib has quit [Quit: Leaving]
caveat- has joined #ruby
CreativeEmbassy has quit [Read error: Connection reset by peer]
<burgestrand> The only downside I see is that rake will be executed twice (so, if your rake command takes five minutes to run, it’s now 10 minutes).
<hashar> I am a rake noob :-D
<hashar> so it is not going to take too much time I guess
Criztian has quit [Remote host closed the connection]
eph3meral has joined #ruby
TorpedoSkyline has joined #ruby
tatsuya__ has joined #ruby
<eph3meral> are there any other particular options other than regex for doing stuff like ActiveSupport::Inflector#humanize without requiring ActiveSupport?
drmegahertz has joined #ruby
<hashar> burgestrand: looks fine as a workaround. Thanks!
meskyanichi has joined #ruby
tatsuya_o has quit [Ping timeout: 248 seconds]
<zipace> am i being ignored?
<apeiros_> eph3meral: the point of looking for that requirement being?
aroman has quit [Quit: aroman]
<apeiros_> zipace: read the docs of ERB, ERB#initialize and ERB#result
<apeiros_> that covers about all of what influences ERB
<apeiros_> you can use the command line tool `ri` to access the docs
stephenjudkins has quit [Quit: stephenjudkins]
tatsuya__ has quit [Read error: No route to host]
<eph3meral> apeiros_, to not rely on a bulky library such as ActiveSupport
<hashar> burgestrand: thanks a lot !
<apeiros_> eph3meral: that's only half of your requirement
<eph3meral> not a big deal, i just used a regex, it does what I need
<burgestrand> hashar: :)
eph3meral has left #ruby ["Leaving"]
tatsuya_o has joined #ruby
<hashar> rake is much easier than ant :-]
enroxorz has quit [Quit: Leaving]
Emmanuel_Chanel has quit [Quit: Leaving]
<shevy> ant is still using XML?
choffstein has quit [Remote host closed the connection]
<jwg2s> using ruby 1.9.3 and parse strings into dates with Date.parse… its unbelievable slow for large quantities. I've read about Time.parse but can't seem to get that to work… How do you all do this?
<hashar> shevy: I guess so. I have did my change editing XML files
<hashar> I would use rake if Jenkins supported it nicely
rippa has quit [Ping timeout: 250 seconds]
zeromodulus has joined #ruby
<burgestrand> jwg2s: had a user group meeting once about making quick date parsing in ruby about a year ago or two, our findings were that Time.parse were almost just as slow
<burgestrand> jwg2s: if you know the format of the date, I believe our fastest try was to use Time.civil (or what it’s called) and using string ranges to pick out each individual value
knightblader has quit [Quit: WeeChat 0.3.8]
<burgestrand> Time.civil(date[0, 4], …) etc
Speed has joined #ruby
<jwg2s> Gotcha, sort of what I was afraid of
<jwg2s> not too bad
nopolitica1 has quit [Quit: Leaving.]
Hanmac has quit [Read error: Connection reset by peer]
fridim_ has joined #ruby
TheShadowFog has joined #ruby
<Azure> I've noticed that each_with_object, when you pass in a fixnum (for instance, ary.each_with_object(0) {|ary,memo| ... }) that memo stays at 0 each iteration.
minijupe has quit [Quit: minijupe]
<Azure> (ruby 1.9.3p125 (2012-02-16) [i386-mingw32])
fgsda has joined #ruby
<Azure> I guess in order to have an integer that I add/subtract etc. from, that I would have to have a variable outside of the block?
<apeiros_> Azure: that's the point of each_with_object
<Azure> I would expect memo to return the updated value.
<apeiros_> it will always yield *the same* object as the one you passed as its argument
<blazes816> Azure: sounds like you want Enumerable#inject
<apeiros_> your expectation is wrong. that's the moment when you go and read the docs.
minijupe has joined #ruby
<apeiros_> and ^
SheikPunk has quit [Quit: SheikPunk]
SheikPunk has joined #ruby
<Azure> What I meant, was that on the second iteration, it also returns 0. And the third, fourth, &c. If I used an array though, that would give me the updated array each iteration. (for instance, [1,2,3,4].each_with_object([]) {|v,m| m << v+10 })
<iaindalton> Can Ruby load and execute a file then drop to a REPL, like Python can with the -i flag?
chrisja has joined #ruby
<Azure> So I guess there's something wrong with my approach.
chrisja has quit [Client Quit]
<apeiros_> Azure: no, it does not yield the updated array. it yields the same array. and since you *modified* it, the modification is visible too
<blazes816> Azure: it passes the same array, and you modify it
<apeiros_> compare: [1,2,3].each_with_object([]) { |i,memo| memo += [i] } # => []
wmoxam has quit [Ping timeout: 252 seconds]
elvis4526 has joined #ruby
<elvis4526> optparse = OptionParser.new do|opts|
<elvis4526> What does it mean? optparse is a variable right?
<apeiros_> yes
SheikPunk has quit [Client Quit]
<apeiros_> elvis4526: yes
<elvis4526> you assign OptionParser.new do|opts| to the optparse variable
<Azure> I see. So because Fixnum is what it is, then 0 is still 0 even if I update memo.
<apeiros_> elvis4526: you assign the return value of OptionParser.new, yes
<Azure> (even if I pass in a variable that is a fixnum.)
<blazes816> Azure: yeah. Look at Enumerable#inject or Enumerable#reduce
<elvis4526> okay. I understand. And what is the method in OptionParser.new? Is it new?
<apeiros_> it's the class method new, which invokes the instance method initialize
ttilley is now known as ttilley_off
tatsuya_o has quit [Read error: Connection reset by peer]
obryan has quit [Quit: Konversation terminated!]
<elvis4526> Ok. How do you call OptionParser? What is his name
<rking> I never *quite* understood why you don't just define self.new instead of initialize
pdtpatrick_ has joined #ruby
tatsuya_o has joined #ruby
<rking> I'm sure there is plenty good reason for it, I just never understood it.
<blazes816> rking: not positive, but I think it's a hold over mentality from lower-level days. In C++ for example there is often a difference between 'constructors' which reserve memory, and 'initializers' which set default values.
chrisja has joined #ruby
<rking> blazes816: That sounds unright to me.
<rking> Matz doesn't randomly holdover concepts AFAIK.
<blazes816> I didn't say it was random
<blazes816> he likes it?
<Mon_Ouie> If you define self.new, self is the class, not the instance
<elvis4526> Oh, optionparser is called a class
<elvis4526> I just read it on internet at the same time that you posted it
<elvis4526> lol
<Mon_Ouie> So you 1) you need a method to allocate the instance anyway (e.g. allocate) and 2) you can't set ivars or call private methods that easily… it makes more sense for the initialize method to be on the object itself
Boondox has quit [Quit: Leaving]
<Azure> Right now, my code is essentially: result = 0; ary.each {|a| result += a }; return result
<elvis4526> Next question, what does do mean?
<Azure> And I'm trying to eliminate that exterior variable and return.
<elvis4526> It will do |opts| ?
<sepp2k> blazes816: "In C++ for example there is often a difference between 'constructors' which reserve memory, and 'initializers' which set default values" No, there isn't.
apok has quit [Remote host closed the connection]
apok has joined #ruby
mogaj has quit [Ping timeout: 248 seconds]
<sepp2k> Constructors in C++ don't reserve the memory for the object that's being constructed. That happens automatically for stack variables and using the new-operator for heap-variables.
Hanmac has joined #ruby
AlbireoX` has joined #ruby
neku is now known as neku|away
<rking> Mon_Ouie: Right. The "self" thing is definitely strong.
<rking> I wonder if you could define self.new and somehow make it equivalent to the existing one.
tiripamwe has joined #ruby
erichmenge has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
davidpk has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<Mon_Ouie> def self.new(*args, &block); o = allocate; o.__send__(:initialize, *args, &block); o; end
<bricker88> I am writing a wrapper method for another method. I want the wrapper to accept any arguments and pass those arguments on to the other method by: def wrapper(*args): other_method(args); end. The problem is that the other method specifies the args: (num=5, options={}), etc. Is the only way to fix this to also accept an array in the other method, and split it up inside?
<sepp2k> rking: You mean define a new method that behaves like the built-in new method? Yes, you can do that: o = allocate; o.send(:initialize); o
<elvis4526> in french, they say "paramètre" on the tutorial. It is a class, right?
<elvis4526> Or it is a parameter
<sepp2k> Ahrg, Mon_Ouie answered first... and better.
Guest74691 has quit [Ping timeout: 252 seconds]
<Mon_Ouie> elvis4526: do … end is one syntax to pass a block to a method
<rking> Oh, I didn't know there actually was an allocate.
<rking> I wonder what some uses of it are.
<Mon_Ouie> You can define other methods to create new instances without calling #initialize on them using this
<rking> Perhaps doing sneaky stuff with .new
<rking> Mon_Ouie: Aha
<rking> Excellent.
<rking> Mon_Ouie: Some day you'll have to teach me your study techniques. You really know your stuff.
Emmanuel_Chanel has joined #ruby
samrose has quit [Quit: Ex-Chat]
<Mon_Ouie> That's easy, I never "studied" Ruby, I just started to code in Ruby and learnt on the stack ;)
danhunter has joined #ruby
Icoin has quit [Quit: Icoin]
<Mon_Ouie> (and well, being here did help learning it better)
<rking> On the stack?
<whitenoise> rking, he codes on a stack of pancakes
<Mon_Ouie> "by doing"? Isn't that the right idiom?
bbttxu has quit [Quit: bbttxu]
<whitenoise> no one in rspec is responding, anybody want to take a stab at my weird rspec issue?
<Mon_Ouie> (I also learnt English by doing :p)
danhunter has left #ruby [#ruby]
<jparkton> Im thinking of setting up a bbs for programmers and system admins does anyone want to join up?
TorpedoSkyline has quit [Ping timeout: 244 seconds]
<rking> jparkton: What baud?
minijupe has quit [Quit: minijupe]
<jparkton> not sure yet
<jparkton> just planning stage right now
tatsuya_o has quit [Read error: Connection reset by peer]
Axsuul has joined #ruby
<rking> 1,200 or I'm out.
tatsuya_o has joined #ruby
<rking> Actually a dial-up BBS would be a pretty hardcore place to hang out these days.
<rking> I'd do it.
<apeiros_> rking: you define initialize and not self.new because self.new has no access to instance variables
_mach has quit [Quit: Leaving]
grekkos has joined #ruby
grekkos is now known as Guest46122
<rking> apeiros_: Yeah, makes sense.
<rking> I'm glad I asked. Otherwise I'd plod along kind of wondering why and someday be embarrassed for not knowing.
CannedCorn has quit [Ping timeout: 248 seconds]
kenichi has quit [Remote host closed the connection]
geekbri has quit [Remote host closed the connection]
banseljaj is now known as imami|afk
Gavilan has joined #ruby
Criztian has joined #ruby
jgrevich has quit [Read error: Connection reset by peer]
fbernier has quit [Ping timeout: 250 seconds]
strife25 has quit [Quit: Computer has gone to sleep.]
hubble has joined #ruby
<hubble> anyone here used ruby-oembed with Flickr?
jgrevich has joined #ruby
neku|away is now known as neku
williamcotton has joined #ruby
<shevy> NOT ME
TorpedoSkyline has joined #ruby
<rking> ME NEITHER
<theRoUS> ruby 1.8.7. i'm sure this is staring me in the face, but i'm tired. given a reference array of [:a, :b, :c] and a test array containing 0-3 of those in any order, assume that they are cumulatively mandatory. that is, the test array may be [], or be [:a], or be [:a, :b] (or [:b, :a]) or can have all three.
<theRoUS> what is *not* allowed is :b without also :a, or :c without both :a and :b
kenichi has joined #ruby
johnernaut has joined #ruby
<apeiros_> theRoUS: unordered_equal reference[0,test.size], test
<apeiros_> have to look where I have the assert_unordered_equal lying around
<theRoUS> apeiros_: this isn't in a test case, though. this is in app code.
<theRoUS> but the basic concept should be portable
jarred has quit [Read error: Connection reset by peer]
tatsuya__ has joined #ruby
<apeiros_> hm, I doubt that was my latest implementation of it, but the basic idea is the same: http://pastie.org/4246133
TheHairyWoodsman has left #ruby [#ruby]
sailias has quit [Read error: Connection reset by peer]
tatsuya_o has quit [Ping timeout: 244 seconds]
axiak has quit [Quit: leaving]
jarred has joined #ruby
lledet has joined #ruby
<Xethron> ooooooh-kay
<Xethron> So, I thought about what everyone said last time... And I thought about creating a new "system". Want to get an opinion on this
maletor has quit [Ping timeout: 240 seconds]
<Xethron> I have a IRC bot, and I want to store data for every user and channel the bot is in. So I thought of creating a struct inside a hash table...
xaq has quit [Read error: Connection reset by peer]
iamjarvo_ has joined #ruby
xaq has joined #ruby
t0mmyvyo has joined #ruby
mengu has joined #ruby
<Xethron> so chan["#ruby"][:title] = Title
<Xethron> so chan["#ruby"][:users] = Array of users
davidboy|food is now known as davidboy
binaryplease has joined #ruby
elvis4526 has quit [Remote host closed the connection]
monkegjinni has joined #ruby
<Xethron> so chan["#ruby"][:modes] = Ccntm
<Xethron> or something like that....
<Xethron> same for the users
<Xethron> user["Xethron"][:host] = host
<Xethron> sound wise?
<Xethron> Any opinions welcome
maletor has joined #ruby
cjs226 has quit []
<Gavilan> Xethron: What's your problem again? (Repeat by priv, I was AWOL)
<rking> Gavilan: That's odd. I'm talking to the IRC user "AWOL" in another channel.
<Mon_Ouie> I don't really like that idea. I’d rather have channels and users be actual ruby objects with actual methods to interact with them — instead of just plain hashes
<Gavilan> rking: He stole my nick, evil liar!!!!
reuf has joined #ruby
<Gavilan> Mon_Ouie: That sounds wise....
saschagehlich has quit [Quit: saschagehlich]
stephenjudkins has joined #ruby
<Xethron> Mon_Ouie: I'm not sure I really understand what you mean?
iamjarvo_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
iamjarvo has joined #ruby
<davidcelis> why not have actual Channel, User classes
cantonic_ has joined #ruby
<Gavilan> Xethron: You can model all your data in an excel table... but that has an incredible semantic gap to the thing of "real life" you are modeling... And that'll bring you problems....
<andrewhl> is this valid syntax for a rescue: rescue Error do stuff end?
<Mon_Ouie> Yeah, that; this way, instead of just having data, you have proper classes to add the methods that will handle those data
Icoin has joined #ruby
mneorr has quit [Quit: Leaving.]
jarred has quit [Quit: jarred]
horrror has joined #ruby
<Mon_Ouie> andrewhl: That depends on where you put new lines/semicolons
cantonic has quit [Ping timeout: 246 seconds]
cantonic_ is now known as cantonic
<andrewhl> Mon_Ouie: rescue Error { stuff }?
<Gavilan> Xethron: For example, if you are processing user and channels data, you'll probably want to consider when a user changes his nick, he is still the same user...
jarred has joined #ruby
<burgestrand> andrewhl: rescue Error; stuff; end;
<Gavilan> or that different users can have the same nick as different times or servers
<andrewhl> ok thanks
<Gavilan> but they have a better chance of being the same ppl
<Gavilan> you may have cloned channels too....
<burgestrand> andrewhl: semicolons are linebreaks
zipace has quit [Quit: Leaving]
<Mon_Ouie> rescue isn't a method that accepts a block, it's part of the syntax itself
<Gavilan> doing that with your "dictionary" structure will be a nightmare....
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
i_s has joined #ruby
<Xethron> Gavilan: Yes, indeed: But even with a class, that data still needs to be "handeled"
timonv has quit [Remote host closed the connection]
<Xethron> Or, "stored"
vlad_starkov has quit [Remote host closed the connection]
<Xethron> So, in what way will one store the data?
<Xethron> or am I missing the point here?
timonv has joined #ruby
jgarvey has quit [Quit: Leaving]
wvms has joined #ruby
<Xethron> Because even though the class will handle all that data, I still need a way to store it in the ram...
tcopp has left #ruby [#ruby]
yxhuvud has quit [Ping timeout: 246 seconds]
timonv has quit [Remote host closed the connection]
<hashar> burgestrand: finished my rake script :-D https://gerrit.wikimedia.org/r/gitweb?p=operations/puppet.git;a=commitdiff;h=0fca9504e4
<i_s> Does ['a'].enum_for(:product, ['b']) generate a lazy sequence? or am i misunderstanding enum_for?
<hashar> burgestrand: thanks for your tip about calling rake -T from inside rake :-]
jchauncey has quit [Quit: jchauncey]
neku has quit [Quit: Linkinus - http://linkinus.com]
crankycoder has quit [Remote host closed the connection]
<burgestrand> hashar: :)
<hashar> :D
chson has quit [Remote host closed the connection]
<hashar> have a good night! and thanks again
<burgestrand> hashar: you too :)
baphled__ has joined #ruby
hashar has quit [Quit: I am a manual virus, please copy me to your quit message.]
<sepp2k> i_s: Yes, it will.
TorpedoSkyline has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<i_s> sepp2k: just to be clear, it won't make anything until I call try to get a value, right?
<sepp2k> Right.
mayankkohaley has quit [Ping timeout: 246 seconds]
axiak has joined #ruby
<i_s> great, thanks
TheShadowFog has quit [Quit: Leaving]
maletor has quit [Ping timeout: 250 seconds]
maletor has joined #ruby
<ctor> Does ruby have static/protected/private modifiers for methods/defs?
<sepp2k> ctor: One of those is not like the other.
<shadoi> ctor: yes but they aren't strictly enforced.
<sepp2k> But yes, ruby allows you to make methods protected or private and it allows you to define class (static) methods.
<ctor> defs are not methods?
<ctor> Oy, my brain.
<sepp2k> ctor: I meant "static/protected/private" is an odd list because "static" doesn't fit with "protected" and "private".
<ctor> Ah. I am comparing to PHP where they were all method modifiers.
akem has quit [Read error: Connection reset by peer]
<ctor> Thanks. Reading.
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
<workmad3> also, none of them are method modifiers
adeponte has quit [Remote host closed the connection]
<workmad3> not in the sense that you'd do 'def static foo' or 'def protected bar' anyway :)
wrapids has joined #ruby
<shadoi> Yeah, I found it odd how private/protected are used
<shadoi> I sort of wish it used some kind of block syntax or something
<workmad3> shadoi: well, one style is class-macro like, which makes sense for ruby, the other style is actually pretty similar to C++
<ctor> I think I'll just leave everything public (the default?) and come back to this when I have a better understanding of the basics.
<bricker88> I'm having a problem… https://gist.github.com/3101337 sphinx_spec is extended and I can use it like describe "something" { sphinx_spec }. However, teardown_sphinx and setup_sphinx are throwing an error, `undefined method `setup_sphinx' for #<RSpec::Core::ExampleGroup::Nested_35::Nested_2`
<ctor> I'm still re-training my pinky not to hit the semi-colon every line
<shadoi> ctor: yes, generally it's fine to revisit this.
<bricker88> I'm including that in spec_helper.rb with: config.include ContentBaseHelpers
kirun has quit [Quit: Client exiting]
<workmad3> ctor: yeah, you'll probably also find that by the time you're revisiting it, you also know how to circumvent things anyway :)
<ctor> Thanks for the info nonetheless :)
<workmad3> bricker88: you've got the wrong context
<workmad3> bricker88: if you want to use setup_sphinx and teardown_sphinx in the before and after blocks, you should include them as instance methods, not extend them as class methods
<bricker88> d'oh
<bricker88> let me give that a whirl
cjs226 has joined #ruby
<workmad3> bricker88: also, you may actually find it better to move that all into an rspec configure block and key it all on spec metadata ;)
<workmad3> bricker88: rather than module inclusion
johnlcox has joined #ruby
<bricker88> workmad3: <3 works like a charm. I don't understand what you mean by that, can you explain?
alanp has joined #ruby
balki_ has joined #ruby
alanp has quit [Read error: Connection reset by peer]
alanp has joined #ruby
balki_ has joined #ruby
alanp_ has quit [Read error: Connection reset by peer]
balki has quit [Read error: Connection reset by peer]
hadees has quit [Quit: hadees]
<workmad3> bricker88: well, at the moment to 'enable' your sphinx stuff, you need to do 'include MyWhateverModule'
<workmad3> bricker88: and if you wanted to not run your sphinx tests, you'd have a hard time
<bricker88> Oh yeah - you mean sort of like cucumber's @tagname ?
<workmad3> bricker88: yeah, http://blog.davidchelimsky.net/2010/06/14/filtering-examples-in-rspec-2/ <-- example metadata
TheShadowFog has joined #ruby
kvirani has quit [Remote host closed the connection]
<bricker88> workmad3: oooooo I didn't know I could do that
<bricker88> neat, thank you
Markvilla has joined #ruby
cjs226 has quit [Client Quit]
mrevd has left #ruby [#ruby]
<workmad3> bricker88: you can inspect the metadata inside the before block and turn on stuff depending on it
jarred_ has joined #ruby
jarred has quit [Ping timeout: 246 seconds]
jarred_ is now known as jarred
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
fridim_ has quit [Quit: Quitte]
fridim_ has joined #ruby
horrror has quit [Quit: horrror]
wargasm1 has quit [Ping timeout: 248 seconds]
bowlowni_ has quit [Remote host closed the connection]
Deele has quit [Ping timeout: 252 seconds]
bowlowni has joined #ruby
bowlowni_ has joined #ruby
bowlowni has quit [Read error: Connection reset by peer]
mdszy has joined #ruby
SQLStud has quit [Quit: Leaving]
bglusman has quit [Remote host closed the connection]
sailias has joined #ruby
joshman_ has quit [Ping timeout: 248 seconds]
qko_ has joined #ruby
hadees has joined #ruby
wargasm has joined #ruby
ttilley_off is now known as ttilley
jsime has quit [Quit: Leaving]
chrisja has quit [Ping timeout: 248 seconds]
jarred has quit [Ping timeout: 246 seconds]
jarred has joined #ruby
qko has quit [Ping timeout: 248 seconds]
chrisja has joined #ruby
berkes has quit [Read error: Operation timed out]
jarred_ has joined #ruby
apeiros_ has quit [Remote host closed the connection]
jarred has quit [Ping timeout: 240 seconds]
jarred_ is now known as jarred
bbttxu has joined #ruby
dalton_ has quit [Remote host closed the connection]
krusty_ar has quit [Remote host closed the connection]
seanstickle has joined #ruby
Spooner has joined #ruby
whitenoise has quit [Quit: This computer has gone to sleep]
cads has quit [Ping timeout: 246 seconds]
pting has joined #ruby
iamjarvo has quit [Quit: Computer has gone to sleep.]
reuf has quit [Quit: Leaving]
MatthewGA has quit [Ping timeout: 248 seconds]
randomautomator has quit [Remote host closed the connection]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
wargasm1 has joined #ruby
MatthewGA has joined #ruby
crankycoder has joined #ruby
pdelgallego has quit [Quit: pdelgallego]
ttilley is now known as ttilley_off
tiripamwe has quit [Ping timeout: 248 seconds]
wargasm has quit [Ping timeout: 246 seconds]
erichmenge has quit [Quit: erichmenge]
QaDeS has quit [Quit: Ex-Chat]
luckman212 has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
andrewhl has quit [Remote host closed the connection]
carloslopes has quit [Quit: Leaving.]
theRoUS has quit [Ping timeout: 246 seconds]
andrewhl has joined #ruby
bradhe has quit [Remote host closed the connection]
ZachBeta has joined #ruby
wintorez has joined #ruby
wintorez has quit [Client Quit]
pdelgallego has joined #ruby
bluenemo has quit [Remote host closed the connection]
andrewhl has quit [Ping timeout: 248 seconds]
jlogsdon has quit [Remote host closed the connection]
tiripamwe has joined #ruby
kevinbond has joined #ruby
cableray has joined #ruby
wrapids has quit [Ping timeout: 255 seconds]
nari has joined #ruby
centipedefarmer has joined #ruby
frogstarr78 has quit [Remote host closed the connection]
frogstarr78 has joined #ruby
maletor has quit [Ping timeout: 244 seconds]
maletor has joined #ruby
ringotwo has quit [Remote host closed the connection]
MissionCritical has quit [Ping timeout: 264 seconds]
ringotwo has joined #ruby
Edin has joined #ruby
<Edin> hi :)
<mdszy> hihi
<Edin> can you help me with my code?
<Edin> im getting an error when i should't be
<mdszy> depends
<mdszy> okay, what's the code?
chimkan has joined #ruby
<mdszy> pastebin
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
<Edin> frame.add(game); the error is The method add(Component) in the type Container is not applicable for the arguments (Display)
<Edin> and i already import javax.swing.JFrame;
bbttxu has quit [Quit: bbttxu]
<mdszy> Wait what
<mdszy> you're talking about Java
<mdszy> and this is #ruby
bradhe has joined #ruby
<Edin> yah I noticed, but I couldnt find a java room and I though maybe, hopfully someone here could help
<mdszy> No. Go away.
<Edin> oh well you nice..
<mdszy> you might as well have tried in any other programming language based channel
<mdszy> I don't know why you thought to try in a completely unrelated room
<Edin> Im going to a general once
<mdszy> *channel
<mdszy> what?
<Edin> general one*
brianpWins has quit [Quit: brianpWins]
mneorr has joined #ruby
cantonic has quit [Ping timeout: 248 seconds]
g_rotbart has joined #ruby
<mdszy> sounds fun, good luck, Edin
fflush has quit [Quit: fflush]
baroquebobcat has quit [Quit: baroquebobcat]
hubble has quit [Quit: hubble]
ken_barber has quit [Remote host closed the connection]
wvms has quit [Read error: Connection reset by peer]
baphled__ has quit [Read error: Connection reset by peer]
wvms has joined #ruby
baphled__ has joined #ruby
jonathanwallace has quit [Read error: Connection reset by peer]
Edin has quit [Quit: Edin]
jonathanwallace has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
ringotwo has quit [Remote host closed the connection]
shadoi has joined #ruby
pdtpatrick has quit [Read error: Connection reset by peer]
pdtpatrick_ is now known as pdtpatrick
shikamaru has quit [Read error: Operation timed out]
Edin has joined #ruby
Edin has left #ruby [#ruby]
mxweas has quit [Ping timeout: 248 seconds]
bbttxu has joined #ruby
bricker881 has joined #ruby
Z_Mass has joined #ruby
shikamaru has joined #ruby
soulcake has quit [Ping timeout: 248 seconds]
bradhe has quit [Remote host closed the connection]
ringotwo has joined #ruby
pdtpatrick_ has joined #ruby
true_techie has joined #ruby
alup has quit [Ping timeout: 248 seconds]
internet_user has quit [Remote host closed the connection]
angelixd has quit [Ping timeout: 248 seconds]
[Neurotic] has quit [Ping timeout: 248 seconds]
Guedes_out has quit [Ping timeout: 248 seconds]
lantins has quit [Ping timeout: 248 seconds]
KarlHungus has quit [Read error: Connection reset by peer]
KarlHungus has joined #ruby
<true_techie> these two objects share the same information? a_book = BookInStock.new, another_book = BookInStock.new
SegFaultAX has quit [Ping timeout: 248 seconds]
twock has quit [Ping timeout: 248 seconds]
Lachryma has quit [Ping timeout: 248 seconds]
schwap has quit [Ping timeout: 248 seconds]
EddieS_ has quit [Ping timeout: 248 seconds]
__main__ has quit [Ping timeout: 248 seconds]
stroem has quit [Ping timeout: 248 seconds]
angelixd has joined #ruby
<mdszy> true_techie: No, they're separate objects.
<mdszy> if you did
tatsuya__ has quit [Remote host closed the connection]
lantins has joined #ruby
<mdszy> a_book = BookInStock.new
wunz has quit [Ping timeout: 248 seconds]
<mdszy> another_book = a_book
Lachryma has joined #ruby
<mdszy> then they would have the same information
<mdszy> I believe
ken_barber has joined #ruby
stroem has joined #ruby
SegFaultAX has joined #ruby
EddieS has joined #ruby
mxweas has joined #ruby
twock has joined #ruby
fridim_ has quit [Ping timeout: 246 seconds]
wunz has joined #ruby
Mission-Critical has joined #ruby
alup has joined #ruby
EddieS is now known as Guest72356
<mdszy> try it yourself, true_techie. Open an `irb` session and try doing like `obj = Object.new`, and `another_object = Object.new`. They'll have different IDs (those long hex numbers that get printed)
rdx has joined #ruby
rdx has left #ruby [#ruby]
[Neurotic] has joined #ruby
<true_techie> ok
<mdszy> but if you do `third_obj = obj`, then the ID will be the same
__main__ has joined #ruby
bricker88 has quit [Ping timeout: 248 seconds]
chimkan___ has joined #ruby
chimkan has quit [Read error: Connection reset by peer]
chimkan___ is now known as chimkan
davidpk has joined #ruby
soulcake has joined #ruby
vitoravelino is now known as vitoravelino`afk
Boondox has joined #ruby
schwap has joined #ruby
iamjarvo has joined #ruby
choffstein has joined #ruby
Mission-Critical is now known as MissionCritical
frogstarr78 has quit [Quit: Leaving]
pdelgallego has quit [Quit: pdelgallego]
r0bby has joined #ruby
oooPaul has quit [Quit: Ciao for now!]
r0bby has quit [Read error: Connection reset by peer]
blazes816 has quit [Quit: Leaving]
SegFaultAX has quit [Quit: Lost terminal]
robbyoconnor has quit [Ping timeout: 248 seconds]
Berglund has quit [Quit: Computer died.]
syamajala has joined #ruby
binaryplease has quit [Read error: Operation timed out]
binaryplease has joined #ruby
johnlcox has quit [Ping timeout: 252 seconds]
t0mmyvyo has quit [Quit: http://twitter.com/tommyvyo]
t0mmyvyo has joined #ruby
awarner has quit [Remote host closed the connection]
ringotwo has quit [Remote host closed the connection]
Markvilla has quit [Quit: Markvilla]
centipedefarmer has quit [Quit: This computer has gone to sleep]
binaryplease has quit [Ping timeout: 255 seconds]
baphled__ has quit [Ping timeout: 255 seconds]
jwg2s has quit [Quit: jwg2s]
btanaka has quit [Read error: Operation timed out]
TorpedoSkyline has joined #ruby
centipedefarmer has joined #ruby
theRoUS has joined #ruby
bricker881 has quit [Quit: Leaving.]
chimkan has quit [Quit: chimkan]
two_OMind has joined #ruby
CreativeEmbassy has joined #ruby
jonatha__ has joined #ruby
sailias has quit [Ping timeout: 246 seconds]
jonathanwallace has quit [Read error: Connection reset by peer]
Araxia_ has joined #ruby
krzkrzkrz has joined #ruby
Araxia has quit [Read error: Connection reset by peer]
Araxia_ is now known as Araxia
ZachBeta has quit [Quit: Computer has gone to sleep.]
binaryplease has joined #ruby
krz has quit [Ping timeout: 246 seconds]
krzkrzkrz is now known as krz
centipedefarmer has quit [Quit: This computer has gone to sleep]
wookiehangover has quit [Read error: Connection reset by peer]
wookiehangover has joined #ruby
chson has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
krzkrzkrz has joined #ruby
two_OMind1 has joined #ruby
two_OMind has quit [Ping timeout: 244 seconds]
binaryplease has quit [Quit: WeeChat 0.3.8]
mneorr has quit [Quit: Leaving.]
indian has joined #ruby
krz has quit [Ping timeout: 240 seconds]
krzkrzkrz is now known as krz
ZachBeta has joined #ruby
i_s has quit [Quit: i_s]
iaindalton has left #ruby ["rcirc on GNU Emacs 24.1.50.1"]
ZachBeta has quit [Client Quit]
robbyoconnor has joined #ruby
ephemerian has quit [Quit: Leaving.]
MissionCritical has quit [Ping timeout: 265 seconds]
Targen has quit [Ping timeout: 246 seconds]
wookiehangover has quit [Quit: i'm out]
Vert has joined #ruby
benson has quit [Remote host closed the connection]
ianbrandt has quit [Quit: ianbrandt]