rmulliga` has quit [Remote host closed the connection]
tlaxkit has quit [Quit: ¡Adiós!]
helpa has quit [Remote host closed the connection]
ascarter has joined #ruby
marr has quit [Ping timeout: 244 seconds]
Gasher has quit [Remote host closed the connection]
helpa has joined #ruby
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
mr_oh has joined #ruby
sudoubuntu has joined #ruby
<mr_oh>
group_by and flat_map saved my butt
stantona has joined #ruby
karioleez has joined #ruby
ur5us has joined #ruby
<mr_oh>
I looked at some code today that was supposed to be Ruby, but it looked nothing like it. I mean, I know it is Ruby but I wonder what other language they are forcing it to look like....
<Ox0dea>
Let's see it.
<mr_oh>
Is that common?
<baweaver>
Yeah
<baweaver>
it's called a Java developer
dc4 has quit [Ping timeout: 244 seconds]
whathappens has quit [Remote host closed the connection]
duckpuppy has joined #ruby
<mr_oh>
Trying to find it again
<goglosh>
Fortran in any language, I tell ya
karioleez has quit [Ping timeout: 268 seconds]
<goglosh>
so, uh, is there a module or library for ratio types?
<Ox0dea>
It's all very symmetrical and reasonable.
karioleez has joined #ruby
PlasmaStar has quit [Ping timeout: 248 seconds]
crowell is now known as croxer
r0bby_ has quit [Read error: Connection reset by peer]
r0bby_ has joined #ruby
arescorpio has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
r0b3rt has quit [Ping timeout: 244 seconds]
smckee has joined #ruby
PlasmaStar has joined #ruby
<smckee>
Hi everyone, I'm doing a study at Oregon State University trying to determine what is difficult about merge conflicts and how developers solve their conflicts. We're looking for professional developers with 3+ years of experience. Would anybody here be interested in participating in a ~20 minute interview? We will, of course, compensate you for your time :)
karioleez has quit [Ping timeout: 260 seconds]
<smckee>
If anybody is interested and sees this later, you can get ahold of me at mckeesh@oregonstate.edu
baweaver has quit [Remote host closed the connection]
h99h9h88 has quit [Remote host closed the connection]
hightower2 has joined #ruby
baweaver has joined #ruby
mistermocha has joined #ruby
Musashi007 has joined #ruby
dstarh has joined #ruby
parduse has quit [Ping timeout: 250 seconds]
PlasmaStar has quit [Ping timeout: 260 seconds]
toretore has joined #ruby
phpwebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
<Arcaire>
I just delete the repo and pull a fresh copy down.
mistermocha has quit [Ping timeout: 276 seconds]
<mozzarella>
what about your changes
karioleez has joined #ruby
<mozzarella>
what if they are local branches
<Arcaire>
i put them on my desktop temporarily
PlasmaStar has joined #ruby
vdamewood has joined #ruby
sgambino has joined #ruby
rkazak has joined #ruby
pawnbox has joined #ruby
parduse has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
noService has joined #ruby
karioleez has quit [Ping timeout: 276 seconds]
<goglosh>
Ox0dea: so what if you change something in the internal structure/behaviour of either Class or Object?
<Ox0dea>
goglosh: It will affect the system quite globally.
<baweaver>
Matz pops out of the compiler and slaps you
<goglosh>
lol
<Ox0dea>
>> class Class; def foo; 42; end; end; String.foo
<ILikeBears>
showing last 15 lines of /usr/local/rvm/log/1459822209_ruby-2.1.5/update_system.log
<ILikeBears>
"
Spami has quit [Quit: Leaving]
<ILikeBears>
doing " rvm install 2.1.5"
youch has quit [Ping timeout: 244 seconds]
GodFather has quit [Ping timeout: 260 seconds]
<ILikeBears>
Any of you know how to get this horrid language's interpreter working?
duckpuppy has joined #ruby
<toretore>
not with that attitude
<ILikeBears>
toretore, can you give an answer yes or no?
smckee_ has joined #ruby
<ILikeBears>
The attitude is because a tool like rvm shouldn't need to exist.
<ILikeBears>
I shouldn't have to jump through hoops to get ruby 2.1.5 when I can go apt-get install OpenJDK-1.7 or 1.6 or select a version of python.
<ILikeBears>
I have ruby2.0 installed but because they don't register themselves with alternatives I can't force 2.0, I have to use RVM instead
<ILikeBears>
toretore,
fumihiro has quit [Ping timeout: 244 seconds]
karioleez has joined #ruby
<ILikeBears>
torandu, so are you going to help or did you reply just to stick your 2cents in?
smckee_ has quit [Ping timeout: 250 seconds]
<ILikeBears>
This will be the third day in a row I've rought with RVM. Last time I had to manually force ruby2.0 as my default with a symlink and then tins didn't want to install
<ILikeBears>
tins demanded 2.0 and I had 2.0
<ILikeBears>
So I have a good reason to have an attitude and not like Ruby right now.
jinette has joined #ruby
<toretore>
and i have good reason to ignore you, which i will be doing from now on
<ILikeBears>
torandu, Cool
<ILikeBears>
Go be a pretentius hipster somewhere else
<ILikeBears>
while you're at it shove your two cents up your ass and learn a real language.
karmatr0n has joined #ruby
karioleez has quit [Ping timeout: 244 seconds]
andywojo has quit [Ping timeout: 244 seconds]
<ILikeBears>
I don't appreciate assholes that are too good for others sticking their two cents in on things just to bitch rather than help. So take it the nice way from me. Go fuck yourself.
dvinciguerra_ has quit [Ping timeout: 276 seconds]
barajasfab has quit [Ping timeout: 276 seconds]
<ILikeBears>
Keep your bitching to yourself when someone spends three days fighting a piece of software has a problem
<ILikeBears>
And like I've said, go fuck yourself with those two cents.
<ILikeBears>
(Ruby makes me salty)
<NinjaPanzer>
We all have our triggers i guess
<ILikeBears>
NinjaPanzer, if he didn't like my attitude he could've kept his two cents to himself.
<toretore>
?ops ^
<ruby[bot]>
toretore: I don't see no ^, whom should I tell about ops?
<NinjaPanzer>
Well you did pop into a Ruby channel and po on the subject matter
Mon_Ouie has quit [Ping timeout: 260 seconds]
<ILikeBears>
?ops toretore
<ILikeBears>
!ops torandu
<ILikeBears>
!ops toretore
andywojo has joined #ruby
<NinjaPanzer>
We should adapt our troll tracker from hipchat to irc maybe :P
<ILikeBears>
toretore, Go back to your safeplace and learn to talk to others without immediately being a condescending asshole.
<ILikeBears>
You're not the only one with the solution to the problem. Others have it.
davedev24 has quit []
<shevy>
pls permaban ILikeBears
<ILikeBears>
shevy, that has no impact on me.
<shevy>
nah just be patient
karioleez has joined #ruby
<ILikeBears>
oh no I'll be banned from #ruby!1
<[ace]>
!ops
<[ace]>
?ops
<NinjaPanzer>
jinette are you sure you wanna do foreman run and not bundle exec?
<toretore>
!ops
<ruby[bot]>
toretore: ops currently in #ruby: adaedra, aredridel, havenwood, Radar, apeiros, drbrain, jhass, ljarvis, miah, ruby[bot] and zenspider
<jinette>
NinjaPanzer, there is foreman in the setup instructions
<ILikeBears>
toretore, You're the one who started this being condecending like I should bend over and kiss your ass.
<ILikeBears>
><toretore> not with that attitude
<ILikeBears>
If you didn't act like you're the only one with the answer / will control the entire outcome I wouldn't have retaliated.
<NinjaPanzer>
jinette I am not saying you are specifically doing something wrong I just never have run db:create like that
Alayde has quit [Ping timeout: 248 seconds]
Suntzu has quit [Read error: Connection reset by peer]
<jinette>
NinjaPanzer, when I run "rake db:migrate" or 'bundle exec rake db:migrate', I get this: 'Your Ruby version is 2.1.5, but your Gemfile specified 1.9.3'..
karioleez has quit [Ping timeout: 250 seconds]
<ILikeBears>
jinette, Would you happen to know?
MrSamuel has joined #ruby
<NinjaPanzer>
jinette are you using rvm if so `rvm install ruby-1.9.3`
Mon_Ouie has joined #ruby
<ILikeBears>
NinjaPanzer, I'm asking nicely.
<ILikeBears>
Why does RVM exist?
duckpuppy has quit [Ping timeout: 276 seconds]
skweek has joined #ruby
<jinette>
NinjaPanzer, I used rvm on another install, and have had to wrestle with the same problem there. it was as if no matter what I did, including complete removal, the version 2.1.5 was referred with above error.
<ILikeBears>
jinette, does ruby not install into it's own directory for each revision?
<ILikeBears>
So 2.2, 2.3 in seperate directories with seperate gems etc
adymitruk has quit [Read error: Connection reset by peer]
<NinjaPanzer>
jinette once you use rvm to install a new version you might have to `rvm use 1.9.3` to make sure that is currently selected
<ILikeBears>
NinjaPanzer, jinette I'm presuming you're ignoring me or /ignored me because I insulted toretore ?
adymitruk has joined #ruby
<jinette>
NinjaPanzer, yes, I remember having done that, too..but I will go about it again now
<NinjaPanzer>
jinette then you will have to bundle install again to populate the new version of ruby's gems
<jinette>
NinjaPanzer, I'll do so..very much hope to get a different outcome this time
djbkd has quit [Remote host closed the connection]
<NinjaPanzer>
jinette one thing that poped into my head are you trying to do a heroku deploy is that where foreman is coming in or is this just local development?
djbkd has joined #ruby
benlieb has quit [Quit: benlieb]
MrSamuel has quit [Quit: MrSamuel]
<NinjaPanzer>
jinette one thing I always do is make a .ruby-version at the root of my project. Inside you can put a string with the ruby version and gemset like this `ruby-1.9.3@my_gemset` and rvm will respect that and autoswitch when you enter the directory
<jinette>
NinjaPanzer, precisely done both. I gave up Heroku one because I needed a cloud subscription which I didnt need for now. and now I'm trying the local one. had problem with foreman in both
Ebok has joined #ruby
Moblin has joined #ruby
djbkd has quit [Ping timeout: 268 seconds]
Ebok has quit [Client Quit]
Moblin has quit [Client Quit]
_blizzy_ has joined #ruby
Ebok has joined #ruby
PedramT has joined #ruby
Mon_Ouie has quit [Ping timeout: 260 seconds]
<NinjaPanzer>
jinette foreman is a runner with a side effect of loading the a local .env file or spinning up some other processes before it runs your command. You should look in the Procfile and see if it gives you any insight as to why foreman is needed
benlieb has joined #ruby
Eiam_ has joined #ruby
darkxploit has quit [Quit: Leaving]
<jinette>
NinjaPanzer, does it matter in which folder I run the rvm install?
karioleez has joined #ruby
BtcBen has joined #ruby
<NinjaPanzer>
jinettte no as long as rvm is available. rvm installs rubies in your home directory or root if you are logged in as root
<NinjaPanzer>
jinette ^
<jinette>
ah, thank you
<ILikeBears>
jinette, NinjaPanzer are the same person
<jinette>
NinjaPanzer, I saw that rvm version was already installed, and reverted to that. there was no gemfile version problem this time, but, speaking of 'foreman run rake db:create', it gave the error that database could not be created. when run with sudo, this time it returned the same error as in my above link.
Mon_Ouie has joined #ruby
<NinjaPanzer>
jinette I am not sure you would want to run it sudo anyways. What reason did it tell you the database could not be created
Cohedrin_ has quit [Ping timeout: 264 seconds]
Ebok has quit [Quit: Leaving]
<jinette>
NinjaPanzer, I had a long struggle with postgres to solve its issues, but it was horribly impenetrable; I've been digging through stackoverflow, but all solutions ended up with outputs like fatal, failed, doesnt exist..
<jinette>
so the database is not created, it says
Suntzu has joined #ruby
<jinette>
the user could not be created
<NinjaPanzer>
right so postgres needs a table and user with access. It uses that to make a schema which we usually refer to as to the db from a rails perspective. The default is it will try and login as your local user and look for a db of the same name.
safe has quit [Quit: Leaving]
<jinette>
NinjaPanzer, I got stuck here with postgres: 'sudo -u postgres createuser --superuser $USER'
Cohedrin has joined #ruby
<NinjaPanzer>
I just did this lemme look through my history
<NinjaPanzer>
starting at the section "Additional Postgres Commands"
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
<NinjaPanzer>
you should reference the .env file and the config/database.yml (assuming rails here) to see if there are any expectations on the database name
shmuli has quit [Remote host closed the connection]
<NinjaPanzer>
when it says `createuser --pwprompt tunnelsup` i would replace tunnelsup with a username you like or your loginuser account for simplicity
<NinjaPanzer>
same thing with the `createdb -Otunnelsup -Eutf8 mysite_development` command
ILikeBears has quit [Ping timeout: 260 seconds]
braincrash has quit [Quit: bye bye]
karioleez has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
Inside has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
saneax_AFK is now known as saneax
shmuli has joined #ruby
<jinette>
NinjaPanzer, I have brew installed on Linux, though haven't tried pg with it yet
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jt__ has joined #ruby
mistermocha has joined #ruby
<NinjaPanzer>
Hah I didn't even know they made a linux homebrew
karioleez has joined #ruby
<NinjaPanzer>
you shouldn't need it as long as you have postgres installed via apg-get
devbug has joined #ruby
smathy is now known as smathy_afk
karmatr0n has quit [Ping timeout: 252 seconds]
fumihiro has joined #ruby
xxneolithicxx has quit [Quit: Leaving.]
vale_tudo has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 248 seconds]
braincras has joined #ruby
htmldrum has joined #ruby
tmtwd has joined #ruby
karioleez has quit [Ping timeout: 240 seconds]
bear_ has joined #ruby
devbug has quit [Client Quit]
bear_ is now known as ILikeBears
mistermocha has quit [Ping timeout: 268 seconds]
ILikeBears is now known as InfinityBear
karmatr0n has joined #ruby
polysics has joined #ruby
paradisaeidae_ has joined #ruby
<InfinityBear>
I am back.
<InfinityBear>
new name. now registered
adymitruk is now known as Adam_FromVancouv
kam270 has quit [Ping timeout: 240 seconds]
Adam_FromVancouv is now known as Adam_FrVancouver
karioleez has joined #ruby
IrishGringo has joined #ruby
dc4 has joined #ruby
karioleez has quit [Ping timeout: 250 seconds]
polysics has quit [Ping timeout: 244 seconds]
xsdfdfsa has joined #ruby
duckpuppy has joined #ruby
gix has quit [Ping timeout: 248 seconds]
karioleez has joined #ruby
BSaboia has quit [Ping timeout: 268 seconds]
benlieb has quit [Quit: benlieb]
chouhoulis has quit [Remote host closed the connection]
baweaver has joined #ruby
r0b3rt has joined #ruby
<Radar>
Hello.
<Radar>
I'm back from lunch. Did anything interesting happen?
<jinette>
NinjaPanzer, I think I magically managed to create a user. at least I can enter psql command line now
gix has joined #ruby
duckpuppy has quit [Ping timeout: 276 seconds]
<NinjaPanzer>
Programming -> The endless search for a new error :P
karioleez has quit [Ping timeout: 260 seconds]
<NinjaPanzer>
There was a little drama Radar but it settled down
smckee has joined #ruby
<Radar>
I am sad that I missed the drama.
<InfinityBear>
Radar, I got into an argument with another guy
<InfinityBear>
told him to learn a real language, he called ops on me.
<InfinityBear>
nothing happened.
<Radar>
I see.
<Radar>
Is the sooky attitude gone or does someone need a time out?
<InfinityBear>
Radar, fuck RVM.
<InfinityBear>
Fuck it and a half.
<jinette>
the db error is not coming anymore, but the other error is.
<InfinityBear>
I'm porting parts of BeEF to Java.
<Radar>
InfinityBear: I agree with the "fuck RVM"
<Radar>
InfinityBear: Have you tried chruby+ruby-install?
<InfinityBear>
never heard of it.
<Radar>
They're two separate things. I use them to install and switch between Rubies on all my machines. Works seamlessly.
<Radar>
RVM does not.
<NinjaPanzer>
jinette what happens if we leave out the foreman run portions?
djbkd has joined #ruby
smckee has quit [Ping timeout: 248 seconds]
benlieb has joined #ruby
<jinette>
NinjaPanzer, if you mean running only 'rake db:migrate' or 'bundle exec rake db:migrate', I still get the ruby version problem with Gemfile.
<jinette>
NinjaPanzer, I will leave foreman and all the foremen to their fate for today. I must give up for now..thank you very much for helping me all the while!
blackmesa has joined #ruby
ericlee has quit [Ping timeout: 268 seconds]
NinjaPanzer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karioleez has joined #ruby
<jinette>
ciao, till later!
jinette has quit [Quit: Leaving]
NinjaPanzer has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
karioleez has quit [Ping timeout: 248 seconds]
jt__ has quit [Remote host closed the connection]
d0nn1e has quit [Ping timeout: 276 seconds]
d0nn1e has joined #ruby
karioleez has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
nofxx has joined #ruby
lxsameer has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
bronson has quit []
hk238 has joined #ruby
ramfjord has joined #ruby
matp has quit [Remote host closed the connection]
karioleez has quit [Ping timeout: 276 seconds]
minimalism has quit [Quit: minimalism]
rmulligan has quit [Ping timeout: 250 seconds]
G has joined #ruby
moeabdol1 has joined #ruby
_blizzy_ has quit [Ping timeout: 246 seconds]
shayan has quit [Quit: shayan]
karioleez has joined #ruby
holmser has joined #ruby
Chagel has quit [Remote host closed the connection]
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
G has quit [Quit: leaving]
BtcBen has quit [Ping timeout: 244 seconds]
devbug has joined #ruby
matp has joined #ruby
devbug has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 276 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
karmatr0n has joined #ruby
Chagel has joined #ruby
kp666 has quit [Remote host closed the connection]
NinjaPanzer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
krz has joined #ruby
rippa has joined #ruby
smckee has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
r0bby_ has quit [Ping timeout: 276 seconds]
duncannz has quit [Ping timeout: 260 seconds]
arescorpio has quit [Remote host closed the connection]
jenrzzz has joined #ruby
krz has quit [Ping timeout: 252 seconds]
rmulligan has joined #ruby
youch has joined #ruby
jokester has joined #ruby
skweek has quit [Ping timeout: 276 seconds]
A5101 has joined #ruby
karioleez has quit [Remote host closed the connection]
rmulligan has quit [Ping timeout: 250 seconds]
vdamewood has quit [Quit: Life beckons.]
Chagel has quit [Remote host closed the connection]
elifoster has joined #ruby
PedramT has joined #ruby
blackmesa has joined #ruby
Inside has quit [Ping timeout: 244 seconds]
<baweaver>
Ox0dea: working on that Reducible post
rake_db_migrate has quit [Read error: Connection reset by peer]
<Ox0dea>
baweaver: W00t!
<baweaver>
it even comes with *tests* :O
<baweaver>
I'll release it as a gem too because why not.
<Ox0dea>
baweaver: A bad wheel to reinvent, I should think.
krz has joined #ruby
<baweaver>
Maybe, but the point is to show how to think in those terms
PedramT_ has joined #ruby
<Ox0dea>
Oh, I meant for the tests.
<baweaver>
which inadvertantly makes you think very close to what Haskell or Scala would look like
<Ox0dea>
That was a genuine "W00t!" back there.
<baweaver>
just to prove that it works as intended
<baweaver>
are you trying to get a word count or something?
<baweaver>
?xy
<ruby[bot]>
it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
Suntzu has joined #ruby
SenpaiSilver_ has joined #ruby
SenpaiSilver has quit [Read error: Connection reset by peer]
<baweaver>
Ox0dea: where's the notes on that? Never seen it before
sandstrom has joined #ruby
<Ox0dea>
baweaver: The -n flag runs the -e for each line of input; BEGIN is for avoiding your state getting reset for each line.
<baweaver>
and admittedly never want to see again :P
Musashi007 has quit [Quit: Musashi007]
<baweaver>
ah
shmuli has joined #ruby
<Ox0dea>
It's the opposite of END, which is essentially synonymous with #at_exit.
<baweaver>
feels dirty though, there's not a better way just to get stdin?
gusrub has joined #ruby
Macaveli has joined #ruby
<Ox0dea>
I mean, you could read it all at once? The -n and -p flags are for using Ruby like a stream editor.
gusrub has quit [Client Quit]
<baweaver>
I very very rarely use ruby inline in bash
<Ox0dea>
Smart.
<baweaver>
by that point I just switch straight to ruby
<testee>
sometimes you feel need to write shortest one-liner possible
last_staff has joined #ruby
benlieb has joined #ruby
<baweaver>
sometimes people like that should be thrown out a window
davee_ has joined #ruby
* Ox0dea
is at risk of being defenestrated.
holmser has quit [Remote host closed the connection]
benlieb has quit [Client Quit]
<baweaver>
focus on clarity rather than length
<Ox0dea>
Bonus points if you manage to do both.
<testee>
one-liner doesn't need clarity
<Neo_>
k.. I'll stay connected with..
<Ox0dea>
testee: Golf is recreational.
<noobplayer97>
This
jas02 has joined #ruby
johnbat26 has joined #ruby
Neo_ has quit [Quit: Page closed]
<zenspider>
rawr
nando293921 has quit [Ping timeout: 248 seconds]
<testee>
0x0dea: if i need a sect to teach my how to live, i'd consider isis and not irc channel
pawnbox has quit [Remote host closed the connection]
sinanislekdemir has joined #ruby
<roelof>
baweaver: oke, how could I write the inject then better ?
pandaant has joined #ruby
<baweaver>
did you read the description?
<Ox0dea>
roelof: You're not being asked to implement #inject, for what that's worth.
ssiris has quit [Quit: End of Line]
PedramT has joined #ruby
<baweaver>
read again, slowly
<Mon_Ouie>
Also the names you're giving to item and sum suggest you got the arguments backwards
jaruga__ has joined #ruby
jaruga__ has quit [Remote host closed the connection]
<baweaver>
Mon_Ouie: good catch
jorum has quit [Ping timeout: 246 seconds]
jgrevich has joined #ruby
<Ox0dea>
havenwood: That's nifty! Good on you for giving it its proper name. :)
jaruga__ has joined #ruby
<roelof>
o, I thought I need it because of this hint : The tests are using the map and inject methods. These are available in the Enumerable module. Mix the module in and define the each method for your class.
<havenwood>
Ox0dea: :)
djbkd has joined #ruby
PedramT has quit [Remote host closed the connection]
speaking1ode has joined #ruby
<roelof>
beagles: oke, I will begin again. Then I see this message : the `each` method should be defined
<roelof>
so I make a each method , correct baweaver
<baweaver>
yeah
existensil has quit [Ping timeout: 260 seconds]
<roelof>
baweaver: then I see this one : Enumerable's inject method should work
paradisaeidae_ has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160315153207]]
jaruga__ has quit [Client Quit]
cdg has joined #ruby
<roelof>
how do I make it then work, baweaver ?
<Ox0dea>
roelof: Read again.
<Ox0dea>
Slowly.
vondruch has quit [Quit: Ex-Chat]
hxegon has joined #ruby
<roelof>
Ox0dea: which part. I see this rspec message : Enumerable's inject method should work and then undefined method `inject' for #FibonacciNumbers:0x000000031339d8
<baweaver>
Read that last box, word for word
<baweaver>
you're going to need to find this one yourself
<zenspider>
roelof: you need to read and think BEFORE you write in this window. on EACH error.
<roelof>
you mean this one : the Enumerable module should be mixed in
<zenspider>
slow down. read. think. you got this
sandstrom has quit [Quit: My computer has gone to sleep.]
ur5us has quit [Remote host closed the connection]
noobplayer97 has quit [Remote host closed the connection]
<roelof>
found it, The answer is in the second part of the explanation
<baweaver>
not a fan of it, need to simplify more later.
lsmola has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
stan has joined #ruby
jorum has joined #ruby
SCHAAP137 has joined #ruby
youch has quit [Ping timeout: 244 seconds]
agent_white has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
<baweaver>
chunk_while is easier.
jt__ has joined #ruby
PedramT has joined #ruby
<zenspider>
baweaver: baby steps
pandaant has quit [Remote host closed the connection]
pawnbox has joined #ruby
<baweaver>
ah, in my context
galeido has quit [Quit: leaving]
<baweaver>
reimplementing all of Enumerable (minus Lazy/Enumerator) using Reduce
smckee has joined #ruby
galeido has joined #ruby
galeido has quit [Changing host]
galeido has joined #ruby
<baweaver>
mostly for fun / thought exercise.
<baweaver>
also works as a great intro to recursion using inner functions and TCO without realizing that's effectively what you're doing.
blackmesa has joined #ruby
pandaant has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
mistermocha has quit [Ping timeout: 248 seconds]
diegoaguilar has quit [Remote host closed the connection]
<baweaver>
writing a tutorial over all of it, comments / notes included. At the end I drop the bombshell that they've just realized how to implement a good portion of FP basics that translate almost 1:1 to Scala/F#
smckee has quit [Ping timeout: 268 seconds]
mhoungbo has joined #ruby
PedramT has quit [Remote host closed the connection]
agit0 has joined #ruby
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
CausaMortis has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
jt__ has quit [Remote host closed the connection]
aufi has joined #ruby
devbug has joined #ruby
<karioleez>
how can someone talk to kernel devices with Ruby ? Do I need any C libraries ?
<djellemah>
dunno. Depends on the device, I think. If the device has /dev entries, you might be able to use those. I've talked to a serial port before using /dev/ttyS0
PedramT_ has joined #ruby
<djellemah>
on linux
nodejunkie has quit [Ping timeout: 252 seconds]
PedramT has quit [Ping timeout: 244 seconds]
fumihiro has joined #ruby
duckpuppy has joined #ruby
<karioleez>
djellemah: talking to serial devices is pretty easy
<Adam_FrVancouver>
ok.. thanks. was thinking I would need to trick rvm or something...
polysics_ has quit []
the_drow has quit [Read error: Connection reset by peer]
<Adam_FrVancouver>
no specific ppa needed for ruby-install?
tjvc has joined #ruby
tjvc has quit [Changing host]
tjvc has joined #ruby
<adaedra>
rvm should be able to do it too, no?
sathish has joined #ruby
blackmesa has joined #ruby
nofxx has quit [Ping timeout: 246 seconds]
kedare has quit [Ping timeout: 248 seconds]
<Adam_FrVancouver>
adaedra: I don't think it supports crappy versions like this one
<Adam_FrVancouver>
it's full of security holes
<Adam_FrVancouver>
but i'm not sure
<Adam_FrVancouver>
I'm new to this
antgel has joined #ruby
jorum has quit [Ping timeout: 244 seconds]
shmuli has quit [Remote host closed the connection]
<sathish>
Hey I'm currently using middleman for a project, Now I want to collect payments from the website, I want to make API calls and send API tokens, How can i go about doing that in middleman
shmuli has joined #ruby
<adaedra>
Adam_FrVancouver: well did you at least try?
<Adam_FrVancouver>
I will
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
Chagel has quit [Read error: Connection reset by peer]
Es0teric has quit [Quit: Computer has gone to sleep.]
glcx has quit [Quit: Quitte]
blackgoat has quit [Ping timeout: 248 seconds]
benlieb has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
the_drow has joined #ruby
blackgoat has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
Chagel has joined #ruby
jgt1 has quit [Ping timeout: 244 seconds]
kedare has joined #ruby
evidex has joined #ruby
nodejunkie has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
tvw has joined #ruby
Chagel has quit [Remote host closed the connection]
fumihiro has joined #ruby
Chagel has joined #ruby
platzhirsch has joined #ruby
rmulligan has quit [Ping timeout: 250 seconds]
duckpuppy has joined #ruby
minimalism has joined #ruby
fumihiro has quit [Ping timeout: 244 seconds]
duckpuppy has quit [Ping timeout: 250 seconds]
PedramT has joined #ruby
workmad3 has joined #ruby
PedramT_ has joined #ruby
htmldrum has quit [Ping timeout: 268 seconds]
PedramT__ has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
merida has joined #ruby
jorum has joined #ruby
PedramT_ has quit [Ping timeout: 248 seconds]
karmatr0n has joined #ruby
zenspider has quit [Quit: bye]
acosonic has joined #ruby
codenea has joined #ruby
platzhirsch has left #ruby [#ruby]
<acosonic>
hi all whats the difference between something["something"] and something.something ?
codenea has quit [Client Quit]
PedramT__ has quit [Ping timeout: 248 seconds]
<adaedra>
it's not the same at all.
<Adam_FrVancouver>
it is in JavaScript
DoubleMalt has joined #ruby
<acosonic>
can I just use something.something without previously declaring it?
<adaedra>
Yeah, but here it's #ruby :)
<acosonic>
I want to pass some data structure to a function
<Adam_FrVancouver>
adaedra: :0)
<adaedra>
acosonic: use a hash?
<acosonic>
hash? Can you point me to some tutorial?
<forcer>
acosonic: foo["something"] calls the [] method on the food object with one argument, the string "something". foo.something calls the method named "something" on the foo object with no arguments. You could use some tricks to handle unknown messages, but remember that most objects implement a lot of methods you would miss, then.
<acosonic>
forcer: thanks, that was the answer I was looking for....
karmatr0n has quit [Ping timeout: 244 seconds]
<forcer>
I said "food" instead of "foo" there. I need to get some lunch I think.
<adaedra>
<yorickpeterse>
forcer: what kind of foo are you going to have for lunch?
<forcer>
yorickpeterse: You don't have bar for foo, you have foo at a bar.
<forcer>
adaedra: ♥
blackgoat has quit [Ping timeout: 244 seconds]
<forcer>
Also, pizza. We should use "pizza" as a metasyntactic variable anyhow. It's a great word, and with most people it evokes warm and happy feelings.
<adaedra>
?pizza
<ruby[bot]>
here's your pizza:
<forcer>
:-D
benlieb has quit [Quit: benlieb]
merida has quit [Ping timeout: 252 seconds]
blackmesa has joined #ruby
jorum has quit [Ping timeout: 240 seconds]
tildes has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 268 seconds]
the_drow has quit [Read error: Connection reset by peer]
skade has quit [Quit: Computer has gone to sleep.]
jorum has joined #ruby
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
Silox| has quit [Quit: Connection closed for inactivity]
hahuang65 has joined #ruby
Musashi007 has joined #ruby
smckee has joined #ruby
yfeldblum has joined #ruby
Musashi007 has quit [Client Quit]
the_drow has joined #ruby
hahuang65 has quit [Ping timeout: 248 seconds]
antgel has joined #ruby
smckee has quit [Ping timeout: 268 seconds]
nobitanobi has joined #ruby
nobitanobi has quit [Remote host closed the connection]
shmuli has quit [Remote host closed the connection]
shmuli has joined #ruby
blaxter has joined #ruby
bry4n has joined #ruby
nobitanobi has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
Blaze_Boy has joined #ruby
ur5us has quit [Remote host closed the connection]
bry4n has quit [Ping timeout: 260 seconds]
auzty has quit [Quit: Leaving]
Chagel has quit [Remote host closed the connection]
<chridal>
So what I want is to capture all usernames that come after an @ so that we can send them a notification that they have been mentioned
<chridal>
There is however the issue when someone is writing something like: "Great job @steven!"
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<chridal>
So is there a way that I can transform my regex to only capture the first alphanumeric string (like \w) that precludes whichever special character that comes after
<chridal>
so that "Hey there @steven!how are you doing?" would only yield `steven`?
<workmad3>
chridal: that regexp already does that...
RegulationD has quit [Remote host closed the connection]
<chridal>
djellemah: Thanks! Will have a look at that.
<chridal>
Btw, also; we'd like to add statistics to our application. We'd for instance like to know what users are viewing which content etc
<chridal>
What would be the best way to record these metrics? I mean it 'sounds bad' adding an INSERT-query to every single GET
rmulligan has quit [Ping timeout: 250 seconds]
<chridal>
or hitting something like Redis with the network overhead associated with that
<chridal>
Spinning off a new thread to avoid incurring the network overhead also sounds bad to me
blackgoat has joined #ruby
<hanmac>
chridal: a better regexp might be this:
<hanmac>
>> "Hey there @steven!how are you doing?".scan(/(?<=@)\w+/i)
<chridal>
Have any one of you done anything like this with some sort of pre-forking like thing? That you have a pipe open to another process on the system that handles something like that?
shmuli has quit [Remote host closed the connection]
shmuli has joined #ruby
<chridal>
hanmac: Why is it better? What does the ?<=@ do?
<hanmac>
chridal: http://ruby-doc.org/core-2.3.0/Regexp.html Positive lookbehind assertion: ensures that the preceding characters match pat, but doesn't include those characters in the matched text
fumihiro has joined #ruby
baweaver has joined #ruby
<chridal>
Aha. Yes, that would be better. Cheers!
andywojo has quit [Ping timeout: 240 seconds]
shmuli has quit [Remote host closed the connection]
shmuli has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
m8 has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
k13nox has joined #ruby
Begi has joined #ruby
Begi has left #ruby [#ruby]
gregf has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
n008f4g_ has joined #ruby
the_drow has joined #ruby
karmatr0n has joined #ruby
<Caerus>
chridal, read up on Rails actioncable, I thinks that's the only way you're gonna get rid of a redis aproach to achieve something stateful
webus has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<chridal>
Caerus: I thought ActionCable uses Redis?
merida_ has quit [Remote host closed the connection]
<chridal>
also, I'm unsure if I see how actioncable would solve this
<chridal>
I don't really need the client to tell me whether he has viewed a resource since that GET really is enough
merida has joined #ruby
<chridal>
Come to think about it I could probably do this with NGINX as well
Beast has quit [Quit: Leaving]
<chridal>
Too bad KONG uses Cassandra or I'd pull that right in.
<Caerus>
i don't know. haven't really used it. just echoing what i've read lately, whenever stateful features show up, lots of people point to actiocable
karmatr0n has quit [Ping timeout: 244 seconds]
jgt1 has joined #ruby
<Caerus>
oh i think i misunderstood. you wrote about saving statistics (doh). don't know where i got stateful from
* Caerus
yawns
platzhirsch has joined #ruby
<Caerus>
i guess it's really late :P
neanderslob_ is now known as neanderslob
Chagel has quit [Ping timeout: 244 seconds]
PedramT has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
anisha has quit [Quit: Leaving]
anisha has joined #ruby
jgt1 has quit [Ping timeout: 246 seconds]
Musashi007 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
rmulligan has joined #ruby
evie_hammond has joined #ruby
PedramT has quit [Ping timeout: 250 seconds]
dvinciguerra_ has joined #ruby
Musashi007 has quit [Client Quit]
andywojo has joined #ruby
rmulligan has quit [Ping timeout: 268 seconds]
hahuang65 has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
Rickmasta has quit [Ping timeout: 246 seconds]
smckee has joined #ruby
nhhc has joined #ruby
davedev24 has joined #ruby
the_drow has joined #ruby
Blaze_Boy has quit [Ping timeout: 252 seconds]
hahuang65 has quit [Ping timeout: 276 seconds]
Suntzu has quit [Quit: changing servers]
krz has quit [Ping timeout: 264 seconds]
smckee has quit [Ping timeout: 268 seconds]
n008f4g_ has quit [Ping timeout: 244 seconds]
FooMunki has joined #ruby
vale_tudo has joined #ruby
sandelius has joined #ruby
DoubleMalt has quit [Ping timeout: 252 seconds]
mistermocha has joined #ruby
DoubleMalt has joined #ruby
bkxd has joined #ruby
tvw has quit []
tvw has joined #ruby
tvw has quit [Client Quit]
tvw has joined #ruby
mistermocha has quit [Ping timeout: 268 seconds]
GodFather has joined #ruby
jgt1 has joined #ruby
k13nox_ has joined #ruby
k13nox has quit [Ping timeout: 244 seconds]
trinaldi has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
k13nox_ has quit [Remote host closed the connection]
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
sdothum has joined #ruby
polysics has joined #ruby
RegulationD has joined #ruby
ldnunes has joined #ruby
sathish has quit [Quit: Leaving]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
chipotle has quit [Quit: cheerio]
Blaze_Boy has joined #ruby
duckpuppy has joined #ruby
mikecmpbll has joined #ruby
Ishido has quit [Remote host closed the connection]
jmorgado has joined #ruby
senayar has joined #ruby
Ishido has joined #ruby
Suntzu has joined #ruby
<rahc>
*paths["app/assets"].existent_directories
<rahc>
what does the "*" at the start of that line do?
<rahc>
I've done the "Try Ruby!" tutorial, and all the Ruby Koans but there seems to be lots of things about the language that keep coming up which I don't understand
Zai00 has quit [Read error: Connection reset by peer]
jmorgado has quit [Ping timeout: 244 seconds]
CloCkWeRX has quit [Ping timeout: 244 seconds]
idletask has quit [Ping timeout: 244 seconds]
grill has joined #ruby
ta__ has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 276 seconds]
hahuang65 has joined #ruby
bry4n has quit [Ping timeout: 260 seconds]
skade has quit [Ping timeout: 244 seconds]
Zai00 has joined #ruby
Chagel has joined #ruby
davedev24 has joined #ruby
anisha has quit [Quit: Leaving]
diegoaguilar has joined #ruby
hahuang65 has quit [Ping timeout: 246 seconds]
PedramT has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
Chagel has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
nobitanobi has quit [Remote host closed the connection]
dfinninger has joined #ruby
cpruitt has joined #ruby
mistermocha has joined #ruby
rmosolgo has quit [Remote host closed the connection]
mistermo_ has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
_SenpaiSilver_ has quit [Quit: Leaving]
nobitanobi has joined #ruby
aegis3121 has joined #ruby
Ropeney_ has joined #ruby
CloCkWeRX has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
PedramT has joined #ruby
dhollinger has joined #ruby
smckee has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
sseewwee has quit [Remote host closed the connection]
bry4n has joined #ruby
sseewwee has joined #ruby
xaxisx has quit [Quit: xaxisx]
freerobby has quit [Quit: Leaving.]
xaxisx has joined #ruby
Ropeney has quit [Quit: Leaving]
yqt has quit [Ping timeout: 248 seconds]
xaxisx has quit [Client Quit]
aufi has joined #ruby
pawnbox__ has joined #ruby
tmtwd has joined #ruby
PedramT has quit [Ping timeout: 252 seconds]
karmatr0n has joined #ruby
pawnbox_ has quit [Ping timeout: 248 seconds]
stantona has joined #ruby
ChiefAlexander has joined #ruby
platzhirsch has quit [Quit: Leaving.]
constantinexvi has joined #ruby
jmignault has quit [Ping timeout: 248 seconds]
mistermo_ has quit [Remote host closed the connection]
Miron_ is now known as Miron
last_staff has quit [Ping timeout: 244 seconds]
Gasher has joined #ruby
Blaze_Boy has joined #ruby
braincras has quit [Ping timeout: 244 seconds]
scepticulous has quit [Ping timeout: 244 seconds]
c355e3b has quit []
sseewwee has quit [Remote host closed the connection]
c355e3b has joined #ruby
blackmesa has joined #ruby
freerobby has joined #ruby
rake_db_migrate has quit [Read error: No route to host]
rake_db_migrate has joined #ruby
kies has quit [Ping timeout: 248 seconds]
dh64 has quit [Quit: Konversation terminated!]
rmosolgo has joined #ruby
PedramT has joined #ruby
PedramT has quit [Remote host closed the connection]
banister has quit [Remote host closed the connection]
Ropeney_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banister has joined #ruby
<a1fa>
I have epoch time, and need to strftime it to another timezone. In rails i used in_time_zone(), but that does not appear to be available in Ruby 1.9.3
<deuterium>
hi, i get "*** ERROR: You are not authorized to query the status for this Phusion Passenger instance. Please try again with 'rvmsudo'." all of a sudden when executing 'cap production deploy tenant=mytenanttodeploy'. any idea what's causing this and how to prevent this error? stack-trace: https://gist.github.com/anonymous/b6f76ea9f4a36bf2484f8b9d4f73f0df
tmtwd has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 244 seconds]
<deuterium>
it could be related to a recent security upgrade of linux-libc-dev (debian package, i.e. a minor security upgrade done via apt-get upgrade)
<deuterium>
passenger has been installed as a gem like: $ gem install passenger
<a1fa>
chris2: but that would be a static offset
<chris2>
yes
PedramT has quit [Ping timeout: 260 seconds]
<chris2>
for real time zones, you need some lib i guess
<deuterium>
the passenger apache module has been installed by executing $ passenger-install-apache2-module
<a1fa>
chris2: would that not cause issues with DST?
Zai00 has quit [Ping timeout: 264 seconds]
<a1fa>
i had it as .gmt. before, and that caused issue because London moved to summer time
rmulligan has joined #ruby
Zai00 has joined #ruby
<deuterium>
do i have to reinstall the passenger gem after a (minor) security upgrade of linux-libc-dev? or do i have to re-run passenger-install-apache2-module?
<chris2>
as a hack, and probably only on glibc, you can do
<rmosolgo>
key?("key_name") will check if the key is present at all
hxegon has quit [Quit: BRB]
<rmosolgo>
parsed_source["key_name"].nil? # will be true if 1) key is not present; OR 2) key is present and value is `nil`
<phage>
rmosolgo: thank you very much!
Snowy has quit [Quit: ragequit]
sgambino has joined #ruby
Blaze_Boy has joined #ruby
merida has joined #ruby
mostlybadfly has joined #ruby
dfinninger has joined #ruby
dfinninger has quit [Remote host closed the connection]
<rmosolgo>
(`.blank?` is good too, but it's from ActiveSupport, right? `.blank?` is true for: `nil`, `""` (empty string), `[]` (empty array), `{}`, (empty hash))
ferr has quit [Quit: WeeChat 1.4]
dfinninger has joined #ruby
<phage>
rmosolgo: it always returns false
<phage>
even though it's empty
melter has quit [Remote host closed the connection]
<Donkoko>
oooh i didnt realize we are not in rails :)
moeabdol3 has joined #ruby
<phage>
We're not
<Donkoko>
yeah, in that case .nil? should do the work
<a1fa>
ended up using chris2 solution for the ruby1.9.3 code via ENV[TZ]
CausaMortis has quit [Ping timeout: 252 seconds]
<ruby-lang391>
anyone here?
moeabdol2 has quit [Ping timeout: 246 seconds]
<deuterium>
what exactly does this warning mean? "Warning: can not check `/etc/sudoers` for `secure_path`, falling back to call via `/usr/bin/env`, this breaks rules from `/etc/sudoers`. Run: export rvmsudo_secure_path=1"
<a1fa>
ruby-lang391: obviously not
<a1fa>
just us chickens
<deuterium>
does that mean rvm has lacking permission to read /etc/sudoers or what?
fedexo has joined #ruby
<phage>
rmosolgo: thanks! works now :)
solars has joined #ruby
VeryBewitching has joined #ruby
<VeryBewitching>
o/
abyx has quit [Quit: This computer has gone to sleep]
Guest38_ has joined #ruby
dfinning_ has joined #ruby
shmuli has joined #ruby
elifoster has joined #ruby
dikaio has joined #ruby
duckpuppy has joined #ruby
dfinninger has quit [Ping timeout: 276 seconds]
pawnbox__ has quit [Ping timeout: 244 seconds]
<smathy>
deuterium, you might find a more knowledgable audience in #rvm
<deuterium>
smathy: thanks for the hint
BSaboia has quit [Ping timeout: 252 seconds]
B1n4r10 has joined #ruby
shmuli has quit [Ping timeout: 248 seconds]
braincrash has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
kellabyte has left #ruby [#ruby]
abyx has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
Blaze_Boy has quit [Remote host closed the connection]
Blaze_Boy has joined #ruby
x77686d has joined #ruby
solars has quit [Ping timeout: 244 seconds]
dede has quit [Quit: Connection closed for inactivity]
hxegon has joined #ruby
sseewwee has joined #ruby
miqlas has joined #ruby
<miqlas>
Hi Guys!
madgen has quit [Ping timeout: 260 seconds]
WhoLettem has joined #ruby
<WhoLettem>
/msg NickServ help
rikkipitt has joined #ruby
Blaze_Boy has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
WhoLettem has quit [Client Quit]
sseewwee has quit [Ping timeout: 260 seconds]
WhoLettem has joined #ruby
<WhoLettem>
Hey
kies has joined #ruby
<WhoLettem>
Can anyone help me with tech?
<WhoLettem>
The channel is empty and I canot seem to find help
darkxploit has joined #ruby
<smathy>
WhoLettem, this is #ruby, the rules are in the /topic
<WhoLettem>
Yea I realize
<WhoLettem>
Is there any channel for tech help?
[Butch] has joined #ruby
<shevy>
WhoLettem try to ask on #freenode, they know their channels
<WhoLettem>
Ok Thank you
<smathy>
WhoLettem, freenode is all about tech help, but it's in specific categories.
rmulligan has joined #ruby
<chris2>
do you mean TeX?
The_Phoenix has joined #ruby
dfinning_ has quit [Remote host closed the connection]
anon7766 has joined #ruby
thegunbuster has joined #ruby
kits has quit [Quit: Leaving]
amclain has joined #ruby
<havenwood>
WhoLettem: Now that you're here you have to learn Ruby. We can't bend the rules.
<mojca>
I have problems with "gem install nokogiri" because "gem env" grabs SHELL PATH that I explicitly don't want (a path where my package manager lives) and libxml2 finds dependencies that shoudn't be discoverable. Is there any way to remove a particular path from gem env? I wasn't able to find the answer via google and I'm not sure how gem works. The "gem" command comes from rbenv's ruby. rbenv was installed by a package manager, but is not in PA
<eam>
smathy: oh, missed that. then add a .sub /\/$/, ''
ivanskie_work has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
djbkd has joined #ruby
pawnbox has joined #ruby
<shevy>
mojca have you tried to output and modify ENV['PATH'] yet? though I am not sure if that would help, some directories may be always checked
rmulligan has quit [Remote host closed the connection]
<mojca>
shevy: where/how do I do that? I would imagine that ENV['PATH'] would be ruby code; I'm working in shell at the moment, so I'm not sure which file to change
hxegon has quit [Quit: BRB]
gizmore has joined #ruby
elifoster has quit [Ping timeout: 244 seconds]
Lomex has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
weckl has quit [Quit: Leaving]
last_staff has joined #ruby
<shevy>
as far as I know ENV['PATH'] is just a 1:1 copy of what your shell would have in $PATH
diegoaguilar has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
wldcordeiro has quit [Ping timeout: 260 seconds]
Cohedrin has joined #ruby
sandelius has joined #ruby
yfeldblum has joined #ruby
sgambino has joined #ruby
RegulationD has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
rikkipitt has quit [Remote host closed the connection]
tomchapin has joined #ruby
Cohedrin has quit [Ping timeout: 244 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.4]
Zai00 has joined #ruby
sseewwee has joined #ruby
ssiris has joined #ruby
ruby-lang384 has joined #ruby
rake_db_migrate has joined #ruby
x77686d has quit [Quit: x77686d]
sseewwee has quit [Ping timeout: 268 seconds]
Cohedrin has joined #ruby
hightower3 has quit [Ping timeout: 260 seconds]
hxegon has joined #ruby
shellfu has quit [Ping timeout: 250 seconds]
Zai00 has quit [Read error: Connection reset by peer]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Zai00 has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
tjohnson has joined #ruby
mikecmpbll has joined #ruby
Zai00 has quit [Client Quit]
rmosolgo has joined #ruby
B1n4r10 has joined #ruby
jottr has joined #ruby
<mojca>
shevy: I'm still not sure to which ruby file to put ENV['PATH'] because I'm not even trying to use ruby yet
<mojca>
but I found "export RBENV_DEBUG=1"
rwy0717 has joined #ruby
<mojca>
and the relevant line seems to be [rbenv:76] export PATH=/opt/local/bin:/Users/me/.rbenv/shims:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
<mojca>
I don't know where this comes from
nofxx has joined #ruby
nofxx has joined #ruby
xaxisx has quit [Ping timeout: 240 seconds]
<mojca>
or actually, I do, line 76 of "rbenv" calls export PATH="${bin_path}:${PATH}"
<mojca>
I don't want that
dc4 has joined #ruby
Dimik has joined #ruby
xaxisx has joined #ruby
sseewwee has joined #ruby
baweaver has joined #ruby
<mojca>
the problem is that if I remove it, rbenv-exec isn't found
NinjaPanzer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sseewwee has quit [Ping timeout: 264 seconds]
tvon has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
rmosolgo has quit [Remote host closed the connection]
hahuang65 has joined #ruby
NinjaPanzer has joined #ruby
smckee has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
<shevy>
it is just the $PATH variable
rwy0717 has quit [Quit: Page closed]
dasher^0_o has quit [Quit: Leaving]
dasher00 has joined #ruby
scepticulous has quit [Ping timeout: 244 seconds]
cdg has quit [Remote host closed the connection]
dasher00 has quit [Remote host closed the connection]
devbug has quit [Quit: ZZZzzz…]
sseewwee_ has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
hahuang65 has quit [Ping timeout: 246 seconds]
KensoDev has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
PaulCapestany has quit [Quit: .]
aegis3121 has quit [Ping timeout: 246 seconds]
aegis3121 has joined #ruby
sandelius has joined #ruby
PaulCapestany has joined #ruby
agit0 has joined #ruby
Don_John has quit [Quit: Later]
rubie has joined #ruby
devbug has joined #ruby
elifoster has joined #ruby
norc has joined #ruby
solars has joined #ruby
sseewwee_ has quit [Ping timeout: 260 seconds]
madgen has quit [Ping timeout: 264 seconds]
plonk_ has joined #ruby
plonk_ has joined #ruby
aegis3121 has quit [Ping timeout: 248 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moeabdol4 has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
aegis3121 has joined #ruby
freerobby has joined #ruby
sseewwee has joined #ruby
zast has quit [Remote host closed the connection]
swills has quit [Quit: Leaving]
plonk has quit [Ping timeout: 244 seconds]
swills has joined #ruby
chouhoulis has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
ivanskie_work_ has joined #ruby
scepticulous has joined #ruby
cwenner has joined #ruby
sseewwee has quit [Ping timeout: 248 seconds]
baweaver has joined #ruby
marxarelli is now known as dzduvall
mojca has quit [Quit: mojca]
tildes has joined #ruby
dzduvall is now known as marxarelli
ivanskie_work has quit [Ping timeout: 276 seconds]
shadoi has joined #ruby
mojca has joined #ruby
tvw has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
shadoi1 has quit [Ping timeout: 250 seconds]
Cohedrin has joined #ruby
<sandelius>
hey, anyone worked with celluloid/reel ?
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
sseewwee has joined #ruby
rikkipitt has joined #ruby
goglosh has joined #ruby
rmosolgo has joined #ruby
x77686d has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
Musashi007 has joined #ruby
sseewwee has quit [Ping timeout: 260 seconds]
gregf has joined #ruby
patrick-sartent has joined #ruby
scepticulous has quit [Ping timeout: 250 seconds]
<benzrf>
sandelius: i've touched celluloid
<benzrf>
hardly an expert
<benzrf>
there IS a #celluloid although it's not super actie
<sandelius>
benzrf yeah I tryied but they're not very active
<sandelius>
benzrf I'm trying to grasp " Like EventMachine or Node.js, but uses Fibers in place of callbacks, and can communicate seamlessly with other Celluloid actors"
<sandelius>
benzrf is a request serve isolated from another like on the erlang vm? or do we need no-blocking io adpaters for e.g postgres
<benzrf>
sandelius: whats confusing you about it
<benzrf>
oh
<benzrf>
based on a moments thought, my inference (which COULD be wrong) would be
elifoster has quit [Ping timeout: 276 seconds]
<benzrf>
you get an actor, and that actor handles requests, and the actor does node.js-style async I/O with the requestor by means of fibers
<benzrf>
it's not clear to me from that whether a new actor is spawned for each request, but if i had to guess, i'd say no
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ivanskie_work_ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
davee_ has joined #ruby
sseewwee has joined #ruby
ivanskie_work_ has joined #ruby
rmulligan has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 264 seconds]
smckee has joined #ruby
blackmesa has joined #ruby
benlieb has quit [Quit: benlieb]
rmulligan has joined #ruby
rikkipitt has quit [Remote host closed the connection]
swills has joined #ruby
rmulligan has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
sseewwee has quit [Ping timeout: 240 seconds]
MacCracken has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
smckee has quit [Ping timeout: 268 seconds]
GG is now known as Socialdawg
ruby766 has quit [Ping timeout: 250 seconds]
fartface has joined #ruby
symm- has joined #ruby
baweaver has quit [Remote host closed the connection]
mistermo_ has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ferr has joined #ruby
hahuang65 has joined #ruby
tildes has quit [Ping timeout: 268 seconds]
mistermocha has quit [Ping timeout: 246 seconds]
tercenya has joined #ruby
mistermo_ has quit [Ping timeout: 252 seconds]
NinjaPanzer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
davee_ has quit [Quit: Leaving]
davedev24 has joined #ruby
tildes has joined #ruby
sandelius has joined #ruby
skweek has joined #ruby
ruby-lang101 has joined #ruby
johnbat26 has joined #ruby
sseewwee has joined #ruby
rikkipitt has joined #ruby
zenspider has joined #ruby
freerobby has quit [Quit: Leaving.]
mikecmpbll has joined #ruby
zenspider has quit [Client Quit]
jackjackdripper has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
d0nn1e has quit [Ping timeout: 240 seconds]
sseewwee_ has joined #ruby
ruby-lang725 has joined #ruby
sseewwee_ is now known as karioleez
mistermocha has joined #ruby
d0nn1e has joined #ruby
mojca has quit [Quit: mojca]
yfeldblum has joined #ruby
evidex has quit [Remote host closed the connection]
<ruby-lang725>
building ruby 2.3.0 from source, error is ext/fiddle/extconf.rb:31: unknown type of %string (SyntaxError) libffi = Struct.new(*%I[dir srcdir builddir include l... libffi is installed, anyone have ideas?
tvw has joined #ruby
Azure has quit [Remote host closed the connection]
ruby-lang101 has quit [Ping timeout: 250 seconds]
sseewwee has quit [Ping timeout: 248 seconds]
zotherstupidguy has joined #ruby
dfinninger has quit [Remote host closed the connection]
Rickmasta has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
zeroDivisible has joined #ruby
marxarelli|brb is now known as marxarelli
patrick-sartent has quit [Quit: .]
ixti has quit [Ping timeout: 264 seconds]
Musashi007 has joined #ruby
chouhoulis has quit [Remote host closed the connection]
nobitanobi has joined #ruby
chouhoulis has joined #ruby
patrick-sartent has joined #ruby
Devalo has quit [Remote host closed the connection]
dfinninger has joined #ruby
dfinninger has quit [Remote host closed the connection]
dfinninger has joined #ruby
vdamewood has joined #ruby
karioleez has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
<shevy>
ruby-lang725 not a lot of information that you provide
yqt has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<djellemah>
goglosh: I've always thought that send is a bit of a misnomer when it comes to most OO implementations. sending implies that the message itself is an object. Which isn't really the case in ruby. You can kinda get the relevant pieces from caller, __method__ and method(...) But mostly send(m) just calls the method named m.
rake_db_migrate has quit [Remote host closed the connection]
whippythellama has quit [Ping timeout: 248 seconds]
lemur has joined #ruby
mistermocha has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
Guest50706 has quit [Ping timeout: 260 seconds]
mr_oh has joined #ruby
lemur has quit [Ping timeout: 250 seconds]
LW_Luna has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
baweaver has quit [Remote host closed the connection]
<smathy>
goglosh, you're not "sending x a message to send m to itself", you're just sending x a message named m.
[Butch] has quit [Quit: I'm out . . .]
rikkipitt has joined #ruby
<goglosh>
djellemah: so sending a message is actually an abstract.. something?
Luna_Moonfang has quit [Quit: WeeChat 1.4]
<goglosh>
handled internally but not really *there*?
LW_Luna is now known as Luna_Moonfang
baweaver has joined #ruby
rake_db_migrate has joined #ruby
<mr_oh>
Looking for small answers on the net is like rummaging through a closet...
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<smathy>
goglosh, the distinction between languages where you "call a method" and languages where you "send a message" is more to do with what choices the object has. In a language (like Ruby) you don't actually know if foo.bar is calling a method on foo, or being handled in a method_missing, or aliased to another method. Ie. you don't know if `bar` is a method, all you're doing is sending that message into `foo` and foo is then handling that in any number of
<smathy>
ways, including having a method `bar` defined.
<goglosh>
oh
<goglosh>
I think I get it
rbennacer has quit [Remote host closed the connection]
<baweaver>
smathy: I think he gets the message
<goglosh>
lol
* baweaver
bows
ramfjord has quit [Ping timeout: 240 seconds]
dfinninger has quit [Remote host closed the connection]
rbennacer has joined #ruby
<mr_oh>
pretty good message. Good explanation
Luna_Moonfang has quit [Quit: brb]
dfinninger has joined #ruby
Luna_Moonfang has joined #ruby
jottr has joined #ruby
<goglosh>
so in any case foo.send(bar) is actually a message for foo to receive :bar?
Lomex has quit [Remote host closed the connection]
haylon has quit [Ping timeout: 246 seconds]
nerium has quit [Quit: nerium]
whippythellama has joined #ruby
<goglosh>
then it should be called receive, and the whole world breaks down
<smathy>
"a message" is ambiguous there.
Devalo has joined #ruby
<smathy>
The args of `send` *IS* the message.
<goglosh>
isn't send a message in itself?
ChiefAlexander has quit [Ping timeout: 248 seconds]
nerium has joined #ruby
<smathy>
goglosh, and you're right, you're not really telling foo to send anything.
Eiam_ has joined #ruby
<smathy>
goglosh, a more correct syntax might be: self.send :foo, :bar
<mr_oh>
Is it normal to know a fair amount of concepts, but trip repeatedly over the details of how to do something?
<goglosh>
yes
<smathy>
goglosh, and yes, `send` is a message itself, there's a lot of mind bending recursion up in this part of Ruby - some of it is just pragmatic.
<goglosh>
smathy: yeah I can tell, I just take relief in knowing that everything's somehow handled internally by the interpreter
pifon has joined #ruby
hahuang65 has joined #ruby
<smathy>
mr_oh, you mean like how to use gist?
Olipro_ has joined #ruby
ramfjord has joined #ruby
Olipro_ is now known as Guest59454
blackgoat has joined #ruby
andywojo has quit [Ping timeout: 252 seconds]
<mr_oh>
smathy: everything... tons of details to pick up
shmuli has joined #ruby
swills has quit [Ping timeout: 246 seconds]
Ox0dea has joined #ruby
<mr_oh>
my gist is for looking at, not running
<smathy>
mr_oh, in gists, if you name the file with the correct extension it will use proper syntax coloring, and down the bottom of the new/edit gist page is an Add File button for adding more than one file.
<mr_oh>
ok
<shevy>
goglosh yeah, but it is easier to think in terms of methods. this is the mother of objects in ruby, BasicObject http://ruby-doc.org/core-2.3.0/BasicObject.html - you can see that it has methods such as #__send__
<shevy>
goglosh if you redefine it, ruby issues a warning: "warning: redefining `__send__' may cause serious problems"
<StevenNunez>
I'm having an issue when entering text into `gets`. When I backspace I get ^H instead. Any ideas?
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
<StevenNunez>
And HELLO
haylon has joined #ruby
<Ox0dea>
goglosh: `foo.bar` is syntax; it gets parsed into a method call node which, when interpreted, looks up `bar` in `foo`'s "method table" and executes the code it finds there. When `bar` is `send`, something special happens: the same process occurs, only the method to look up is dynamic, namely whatever you pass to #send.
bronson has joined #ruby
Guest59454 has quit [Ping timeout: 246 seconds]
<Ox0dea>
In short, you'd be hard-pressed to re-implement #send in pure Ruby, since, well, you'd have to implement it in terms of #send, wouldn't you?
norc has quit [Read error: Connection reset by peer]
ruby-lang725 has quit [Ping timeout: 250 seconds]
bronson has quit [Read error: Connection reset by peer]
antoinfive has joined #ruby
<baweaver>
Ox0dea: eval :D
<Ox0dea>
What's that?
<StevenNunez>
eval ++
<baweaver>
exactly
shmuli has quit [Ping timeout: 268 seconds]
bronson has joined #ruby
madgen has joined #ruby
<baweaver>
StevenNunez: ruby has no ++
<Ox0dea>
Nor eval.
<mr_oh>
it has eval
<Ox0dea>
Nope.
<baweaver>
heresy
<mr_oh>
it did back in 2004
<Papierkorb>
<Evil> I've been waiting for you, Mr Bond *strokes cat*
<StevenNunez>
eval += 1
<baweaver>
just like there's only one Matrix movie
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<baweaver>
SourceForge is a dirge on open source
<baweaver>
that should be dead
Lomex has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
<Ox0dea>
Well, they got bought and were pivoting into something less evil last I checked.
jaequery has joined #ruby
dling has joined #ruby
<Ox0dea>
They stopped shoving adware into their downloads, at any rate.
<baweaver>
dirge on open source
<Ox0dea>
^
<baweaver>
suuuuure they did
karmatr0n has joined #ruby
<Papierkorb>
Their UI still sucks though. Way too complicated to even quickly download some binary.
jaequery has quit [Max SendQ exceeded]
jaequery has joined #ruby
<baweaver>
Time for another rousing game of "Which is the actual download button"
<Papierkorb>
baweaver: Adblock all the way
<baweaver>
yep
jaequery has quit [Max SendQ exceeded]
x77686d has joined #ruby
CausaMortis has joined #ruby
dunpeal has joined #ruby
<baweaver>
Then it's "Hello, we noticed you're using adblock. Please turn it off for an 'ad lite' experience"
johnmilton has joined #ruby
jaequery has joined #ruby
<baweaver>
nope, just means I never go to that site again. (Wired, Forbes)
cpruitt has quit [Quit: cpruitt]
jaequery has quit [Max SendQ exceeded]
mdw_ has quit [Quit: Sleeping Zzzzz]
krz has quit [Ping timeout: 248 seconds]
<goglosh>
man I was away, didn't read your answers. Thanks
<goglosh>
shevy Ox0dea
jaequery has joined #ruby
<Papierkorb>
baweaver: Oh just install the Anti-Anti-Adblock lists. It's somewhat hilarious that you now have to do that. OR just not use those webpages. Most of them aren't worth of ones time anyway
<baweaver>
^ that
codecop has quit [Remote host closed the connection]
shmuli has joined #ruby
jaequery has quit [Max SendQ exceeded]
dfinninger has joined #ruby
jaequery has joined #ruby
<hanmac>
Papierkorb: just use lynx as browser, they do not support Anti-Adblock stuff xD
postmodern has joined #ruby
jaequery has quit [Max SendQ exceeded]
<dunpeal>
Hi. I have an rspec test foo.rb that's not ready for production. How do I make sure it doesn't run with my full test run, but does run when I explicitly 'rspec foo.rb'
jaequery has joined #ruby
<baweaver>
don't launch things that aren't ready for production
<baweaver>
including specs
jaequery has quit [Max SendQ exceeded]
<dunpeal>
baweaver: OK. but the test is currently under specs/, so the continuous integration server is running it.
<baweaver>
why can't it work on prod?
<baweaver>
it's the same to me as committing commented out code to prod
<baweaver>
it's either there or it's not, half states make a mess.
<dunpeal>
baweaver: because it's a Capybara test and while I'm developing it, I'm running it on Selenium, which is not headless.
<baweaver>
there's a way to do it, but you should have that in your CI pipeline
Begi1 has joined #ruby
<baweaver>
you can tag specs
<Papierkorb>
dunpeal: separate feature tests from unit tests and then only run the unit tests
dvinciguerra_ has quit [Ping timeout: 246 seconds]
karioleez has joined #ruby
symm- has quit [Ping timeout: 248 seconds]
Rasi has joined #ruby
devbug has joined #ruby
<Gasher>
hi, where can I find formatting functions in Ruby? things like setw in C++
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
<shevy>
we have sprintf, %, .ljust, .rjust, .center ... I also think there was some gem specifically for that, a copy from perl ... hmm but most should suffice for the above
aibot has quit [Remote host closed the connection]
aibot has joined #ruby
smckee has joined #ruby
<goglosh>
RickHull: oh yeah I've still to get comfortable browsing that site
<havenwood>
goglosh: Communicating with nouns considered harmful by verb speakers.
aibot has quit [Remote host closed the connection]
<shadoi>
goglosh: there will always be philosophical arguments about programming. Inescapable.
aibot has joined #ruby
<RickHull>
goglosh: i would say that inheritance has turned out to be very brittle and unpleasant for code sharing
<goglosh>
havenwood: you're making my head spin
<RickHull>
and many OOP camps recommend composition-over-inheritance now
<havenwood>
goglosh: Is it a single instance of your head?
<havenwood>
goglosh: Is it mutable?
<goglosh>
What I mean to know is what are the theoretical aspects of the debate
<RickHull>
also, people mean different things by OOP. Alan Kay has one view
<goglosh>
I mean I know java has disgraced OOP by large
chipotle has quit [Quit: cheerio]
<RickHull>
for example, communicate by message passing, not manipulating memory
blackmesa has quit [Ping timeout: 244 seconds]
<shadoi>
RickHull: of course YOU would show up for this argument. ;)
<RickHull>
java misses on a lot of important OOP concepts. it has primitives which aren't objects. it loves shared state and memory manipulation
<goglosh>
RickHull: didn't smalltalk too have non-object primitives?
stunder has quit [Quit: WeeChat 1.4]
<RickHull>
not sure.
<RickHull>
i would say that you can make nice interfaces by being able to instantiate a class and encapsulate private state
<RickHull>
to me, that's the best contribution of OOP
<goglosh>
some people say you can do that with
<RickHull>
and i prefer everything-is-an-X where X can be object
<goglosh>
closures
<goglosh>
and that's the usual argument that seems to have a meaning
<RickHull>
OOP was supposed to be the holy grail for maximizing cohesion and minimizing coupling
elifoster has joined #ruby
<RickHull>
and i think if you're careful, it can do very well at that
<RickHull>
unsurprisingly, i find Ruby to be the best OOP language
smckee has quit [Ping timeout: 276 seconds]
<Ox0dea>
goglosh: CLOS exists, and Slava put an object system in Factor.
<RickHull>
but I rarely use class based inheritance these days
<RickHull>
and i prefer "static" methods at the class layer for most complicated logic
<goglosh>
^ I've heard that causes more trouble than it solves
<RickHull>
drifting towards a functional style
<RickHull>
and I <3 Elixir
<goglosh>
but again, I rarey find actual technical discussion
<havenwood>
goglosh: Folk have varied preferences. There's something lovely about functional. There is more than one way to do it. Either can be convoluted.
<goglosh>
just a bunch of biases
<Ox0dea>
goglosh: They're all effectively equivalent at the bottom; any paradigm can produce an acceptable facsimile of any other.