RegulationD has quit [Remote host closed the connection]
jottr_ has joined #ruby
escuzo has joined #ruby
<escuzo>
?guys
<ruboto>
Though inclusion was probably intended, not everyone relates to being "one of the guys". Maybe consider using "folks", "all", "y'all", or "everyone" instead?
maikowblue has quit [Quit: .]
bkxd has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
toretore has quit [Ping timeout: 260 seconds]
<Radar>
escuzo: Hi.
<Radar>
!ban escuzo !T 1d
escuzo was banned on #ruby by ChanServ [escuzo!*@*]
escuzo was kicked from #ruby by ChanServ [User is banned from this channel]
<Ox0dea>
They called shevy a very nasty name in a PM earlier.
PaulCape_ has joined #ruby
<blub>
sorry shevy..
Laaw has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
NeverDie has quit [Excess Flood]
rakm_ has joined #ruby
NeverDie has joined #ruby
rakm has quit [Ping timeout: 245 seconds]
PaulCapestany has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
Jet4Fire has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
existensil has quit [Ping timeout: 245 seconds]
Coldblackice has joined #ruby
DrShoggoth has quit [Ping timeout: 260 seconds]
Laaw has joined #ruby
shanemcd has quit [Remote host closed the connection]
Channel6 has joined #ruby
shanemcd has joined #ruby
simplyianm has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 245 seconds]
aibot has joined #ruby
shanemcd_ has joined #ruby
sarkis has joined #ruby
jackjackdripper1 has quit [Ping timeout: 260 seconds]
n_blownapart has joined #ruby
Jet4Fire has quit [Ping timeout: 260 seconds]
jackjackdripper has joined #ruby
DrShoggoth has joined #ruby
shanemcd has quit [Ping timeout: 246 seconds]
supermarin has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Aasha is now known as Wsewolod
duckpuppy has joined #ruby
bb010g has joined #ruby
DLSteve has joined #ruby
paradisaeidae has quit [Remote host closed the connection]
diegoviola has joined #ruby
simplyia_ has joined #ruby
simplyia_ has quit [Remote host closed the connection]
robbyoconnor is now known as r0bby_
supermarin has joined #ruby
duckpuppy has quit [Ping timeout: 246 seconds]
<shevy>
I saw nothing
simplyianm has joined #ruby
<Ox0dea>
I should hope not.
paradisaeidae has joined #ruby
simplyianm has quit [Remote host closed the connection]
CrazyEddy has quit [Remote host closed the connection]
simplyianm has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
danielpk has joined #ruby
shanemcd_ has quit [Remote host closed the connection]
B1n4r10 has quit [Ping timeout: 246 seconds]
shanemcd has joined #ruby
simplyianm has quit [Remote host closed the connection]
simplyianm has joined #ruby
last_staff has quit [Quit: last_staff]
shanemcd_ has joined #ruby
axl_ has quit [Quit: axl_]
houhoulis has joined #ruby
<danielpk>
Hello guys, any can help me to test Devise custom params with RSpec and shoulda_matchers? My test keep failing with “any parameters to restrict”. What i already tried: https://gist.github.com/Danielpk/3491d0f560e8e4335f13
shanemcd has quit [Ping timeout: 245 seconds]
<jhass>
danielpk: #RubyOnRails should have more folk with Devise experience
<danielpk>
jhass: Sure, i thought i was at RoR channel. Sorry ;(
<Ox0dea>
shevy: That's certainly an option with things like OCRA.
casadei has quit [Client Quit]
dlitvak has joined #ruby
<Ox0dea>
ellistaa: Ruby is compiled to bytecode and then interpreted, but yes, that latter component of the pipeline is a point against performance.
EllisTAA has quit [Quit: ellistaa]
<Ox0dea>
Still, a language needs an implementation, and it's not wrong to say that some Ruby interpreter could perform better than the native code generated by a particularly shitty C compiler.
jpfuentes2 has quit [Ping timeout: 260 seconds]
_stu_ has quit [Quit: _stu_]
kies has joined #ruby
goodcodeguy has joined #ruby
null__ has quit [Ping timeout: 264 seconds]
dlitvak has quit [Ping timeout: 260 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CloCkWeRX has joined #ruby
stan_man_can has joined #ruby
sorbo_ has quit [Remote host closed the connection]
supermarin has quit [Remote host closed the connection]
akem has joined #ruby
akem has quit [Remote host closed the connection]
hxegon has joined #ruby
dlitvak has joined #ruby
null__ has joined #ruby
null__ has quit [Changing host]
null__ has joined #ruby
nullwarp has joined #ruby
amclain has quit [Quit: Leaving]
elton has joined #ruby
borodin has joined #ruby
akem has joined #ruby
EllisTAA has joined #ruby
dlitvak has quit [Ping timeout: 246 seconds]
EllisTAA has quit [Client Quit]
CrazyEddy has quit [Remote host closed the connection]
xcesariox has joined #ruby
elton has quit [Ping timeout: 245 seconds]
nateberkopec has joined #ruby
elton has joined #ruby
Coldblackice has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
<shevy>
Ox0dea I did not know that OCRA compiles binaries, that is awesome!
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
existensil has joined #ruby
supermarin has joined #ruby
CrazyEddy has joined #ruby
<shevy>
so a new gcc is out... what is missing next is the xmas ruby
aibot has quit [Ping timeout: 260 seconds]
kies has quit [Ping timeout: 246 seconds]
dlitvak has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
underplank has quit [Quit: underplank]
alindeman has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
shanemcd has joined #ruby
jottr_ has quit [Quit: WeeChat 1.3]
yqt has quit [Ping timeout: 260 seconds]
aibot has joined #ruby
duckpuppy has joined #ruby
solocshaw has joined #ruby
pbw has joined #ruby
colleenmcguckin has quit []
shanemcd has quit [Ping timeout: 260 seconds]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has quit [Remote host closed the connection]
ascarter has joined #ruby
elton has quit [Remote host closed the connection]
nixmaniack has quit [Read error: Connection reset by peer]
supermarin has joined #ruby
dimik has quit [Ping timeout: 246 seconds]
nixmaniack has joined #ruby
duckpuppy has joined #ruby
Jet4Fire has quit [Ping timeout: 260 seconds]
supermarin has quit [Ping timeout: 260 seconds]
duckpuppy has quit [Ping timeout: 246 seconds]
Jet4Fire has joined #ruby
duncannz has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 260 seconds]
godzillaenlacasa has quit [Ping timeout: 245 seconds]
nixmaniack has quit [Read error: Connection reset by peer]
n1x has joined #ruby
colegatron has quit [Ping timeout: 260 seconds]
skweek has joined #ruby
karapetyan has quit [Remote host closed the connection]
n1x has quit [Remote host closed the connection]
Jet4Fire has quit [Ping timeout: 260 seconds]
Pupp3tm4st3r has joined #ruby
Alina-malina has joined #ruby
juddey has quit [Ping timeout: 245 seconds]
karapetyan has joined #ruby
Jet4Fire has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
tildes has quit [Ping timeout: 246 seconds]
rgrmatt has joined #ruby
baweaver has joined #ruby
moty66_ has joined #ruby
Jet4Fire has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
iateadonut1 has joined #ruby
Rumbles has quit [Ping timeout: 246 seconds]
karapetyan has quit [Ping timeout: 245 seconds]
iateadonut has quit [Ping timeout: 260 seconds]
rgrmatt has quit [Ping timeout: 246 seconds]
Cantaberry has quit [Ping timeout: 260 seconds]
colegatron has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
baweaver has quit [Ping timeout: 260 seconds]
Jet4Fire has joined #ruby
rodfersou has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
Jackneill has joined #ruby
Alina-malina has left #ruby ["Leaving"]
Jet4Fire has quit [Ping timeout: 245 seconds]
crdpink has joined #ruby
crdpink2 has quit [Ping timeout: 260 seconds]
elton has quit [Remote host closed the connection]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Quit: Leaving...]
r0bby_ has quit [Ping timeout: 245 seconds]
Jet4Fire has joined #ruby
juddey has joined #ruby
Jet4Fire has quit [Ping timeout: 246 seconds]
pbw has quit [Quit: Leaving.]
marr has quit [Read error: Connection reset by peer]
rodfersou has quit [Quit: leaving]
rodfersou has joined #ruby
InvGhostt has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
pandaant has joined #ruby
Jet4Fire has joined #ruby
kfrz has joined #ruby
<kfrz>
I'm a fan of the ruby env
<kfrz>
But JS-stack seems faster and the futer
<kfrz>
future*
<kfrz>
I'm at a point where I need to focus my energies
bobby12 has joined #ruby
<kfrz>
which should I pick and why do you say rooooobie
<kfrz>
also <3 you all
karapetyan has joined #ruby
bobby12 has quit [Client Quit]
pbw has joined #ruby
B1n4r10 has joined #ruby
Jet4Fire has quit [Ping timeout: 246 seconds]
peterhil_ has joined #ruby
Azulinho has quit [Ping timeout: 246 seconds]
fantazo has quit [Quit: Verlassend]
ur5us has joined #ruby
peterhil_ has quit [Ping timeout: 245 seconds]
B1n4r10 has quit [Ping timeout: 260 seconds]
Jet4Fire has joined #ruby
arup_r has quit [Remote host closed the connection]
mulder_ has joined #ruby
spider-mario has joined #ruby
mulder_ is now known as Guest53272
Guest53272 has quit [Client Quit]
Gnut has joined #ruby
mulder__ has joined #ruby
bigmac has joined #ruby
ruid has joined #ruby
ruid has quit [Changing host]
ruid has joined #ruby
Jet4Fire has quit [Ping timeout: 245 seconds]
duckpuppy has joined #ruby
mulder__ has quit [Client Quit]
juddey has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
devbug has joined #ruby
Moosashi has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
bigmac has quit [Ping timeout: 245 seconds]
Jet4Fire has joined #ruby
beast has quit [Quit: Leaving]
beast_ has left #ruby ["Leaving"]
arup_r has quit [Ping timeout: 245 seconds]
<shevy>
kfrz go javascript and get rich!
<kfrz>
but ruby is such a friendly community
devbug has quit [Ping timeout: 260 seconds]
<kfrz>
I mean, I'm not apposed, just gaining perspective
kfrz1 has joined #ruby
kfrz has quit [Read error: Connection reset by peer]
Jet4Fire has quit [Ping timeout: 245 seconds]
arup_r has joined #ruby
<kfrz1>
opposed
rigel_ has quit [Quit: ChatZilla 0.9.92 [Firefox 42.0/20151030083516]]
Pupp3tm4st3r has quit [Remote host closed the connection]
lavros has quit [Quit: leaving]
tejasmanohar has quit []
<shevy>
you must go JS man
tejasmanohar has joined #ruby
Moosashi has quit [Quit: Moosashi]
Jet4Fire has joined #ruby
lxsameer has quit [Remote host closed the connection]
<kfrz1>
maybe i'll ease into it. . build the api/backend in rails then use react for the view
lxsameer has joined #ruby
shanemcd has joined #ruby
<blub>
i cant wait to be a rich java script developer
<shevy>
lol
<kfrz1>
blub: are you a poor java script developer?
kloeri has joined #ruby
pbw has quit [Quit: Leaving.]
Jet4Fire has quit [Ping timeout: 246 seconds]
flughafen has joined #ruby
shanemcd has quit [Ping timeout: 245 seconds]
jpfuentes2 has joined #ruby
Jet4Fire has joined #ruby
Gnut_ has joined #ruby
<flughafen>
hi guys
Cohedrin has joined #ruby
<blub>
hi flughafen
<flughafen>
sup blub
chipotle has joined #ruby
symm- has joined #ruby
<blub>
writing some ruby o_o...
Gnut has quit [Ping timeout: 260 seconds]
<shevy>
ready for take-off flughafen?
<flughafen>
shevy: heyyyy! is it 2172 yet?
<shevy>
you can't stay grounded, lost in berlin all the time...
<shevy>
hahaha
<flughafen>
sup shevy
dlitvak has joined #ruby
Jet4Fire has quit [Ping timeout: 260 seconds]
jpfuentes2 has quit [Ping timeout: 260 seconds]
elton has joined #ruby
benhuda has joined #ruby
dlitvak has quit [Ping timeout: 260 seconds]
<flughafen>
how have you been shevy
Jet4Fire has joined #ruby
kmckelvin has joined #ruby
brennebeck has joined #ruby
elton has quit [Ping timeout: 245 seconds]
Jet4Fire has quit [Ping timeout: 260 seconds]
<shevy>
dunno really
<shevy>
end of 2014 I said "I'm gonna learn C for real". ended up ... writing more ruby code instead hmmmmm
<shevy>
2015 is coming to a close... will I learn C next year...
<flughafen>
haha
<flughafen>
c++ was my first language i was good at. i miss it.
pbw has joined #ruby
zetsnotdead has joined #ruby
zetsnotdead has left #ruby [#ruby]
saneax_AFK is now known as saneax
<myztic>
how fast (take a guess, do know some other languages but only the very basics) would I be up to speed to write in ruby the most basic programmes (e.g. database / calculation (what others would do in spreadsheets), very simple scripts for day-to-day tasks)
benhuda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<myztic>
because I could hack it together with bash and c, but since I want to learn ruby anyways
lubarch has joined #ruby
<myztic>
I kind of thought one day, really spending it on learning ruby should be sufficient to write such basic things, or is there some big differences in general concept you first have get your head around or something like that?
<shevy>
myztic in some years you'll be great
<myztic>
I know ruby is kind of a rabbit hole, I am obviously not talking about calling myself a good ruby programmer, I know that will take time and experience
<shevy>
shell scripts map easily to ruby; def cd(i); Dir.chdir(i) if File.directory? i etc...
zetsnotdead has joined #ruby
Jet4Fire has joined #ruby
<shevy>
see you got all your terms wrong
<shevy>
ruby is a dragon lair, not a rabbit hole
ethe has joined #ruby
vcoinminer_ has quit []
* flughafen
wants to convert stuff to ruby from bash...
blackmesa has quit [Ping timeout: 260 seconds]
vcoinminer_ has joined #ruby
<shevy>
would be nice if it would be easy to use barewords in ruby too
<shevy>
cd /tmp
<shevy>
rather than
<shevy>
cd '/tmp'
tildes has joined #ruby
<myztic>
don't see the problem
maloik has joined #ruby
<myztic>
that's basic syntax, normally not that hard to get your head around relatively quickly
<shevy>
there will be dragons along your way
chipotle has quit [Quit: cheerio]
GreatSUN has quit [Ping timeout: 252 seconds]
<flughafen>
myztic is a dragon slayer
Jet4Fire has quit [Ping timeout: 260 seconds]
acadavid has quit []
acadavid has joined #ruby
<blub>
you know how $ works in haskell for brackets
<shevy>
animal abuse!!!
<blub>
i would love something like that for strings....
<shevy>
$ protects the monad from tainted user input
ckrailo has quit []
ckrailo has joined #ruby
peterhil_ has joined #ruby
devoldmx has joined #ruby
lubarch has quit [Ping timeout: 245 seconds]
decoponio has joined #ruby
maloik has quit [Ping timeout: 245 seconds]
benhuda has joined #ruby
ekleog has joined #ruby
akahn has quit []
akahn has joined #ruby
<shevy>
there are so many people on #haskell, I wonder what they are doing all day long
Ox0dea has joined #ruby
<blub>
maybe theyre writing haskell..
nixmaniack has joined #ruby
Jet4Fire has joined #ruby
<shevy>
it seems more like a philosophical club... like you know the movie fight club
peterhil_ has quit [Ping timeout: 260 seconds]
nixmaniack has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 260 seconds]
kirun has joined #ruby
<shevy>
hmmm... swift has import Foundation stuff.... python has import... ruby needs import too!
xet7 has quit [Quit: Leaving]
Jet4Fire has quit [Ping timeout: 260 seconds]
bewie has quit [Ping timeout: 245 seconds]
Ox0dea has quit [Quit: WeeChat 1.4-dev]
supermarin has joined #ruby
bewie has joined #ruby
Guest726 has quit [Ping timeout: 245 seconds]
duckpuppy has joined #ruby
benhuda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Lilian has quit [Ping timeout: 245 seconds]
Ox0dea has joined #ruby
Jet4Fire has joined #ruby
Gnut_ has quit [Ping timeout: 245 seconds]
duckpuppy has quit [Ping timeout: 245 seconds]
supermarin has quit [Ping timeout: 264 seconds]
tildes has quit [Ping timeout: 246 seconds]
Esya has joined #ruby
rayzaum has joined #ruby
awk has joined #ruby
awk is now known as Guest39588
<flughafen>
haskell as a language is pretty cool. but the ecosystem is shit, like cabal, holy crap it sucks. I installed stuff for xmonad, and it worked for a while. I never touched/updated anything, and for some reason when I tried to make a simple change to the config, and it failed to recompile, and when trying to update cabal stuff later everything was brokena and needed be reinstalled, which I bailed on. So I'm
<flughafen>
switching to i3
nixmaniack has joined #ruby
iszak has joined #ruby
iszak has joined #ruby
Jet4Fire has quit [Ping timeout: 245 seconds]
zet has joined #ruby
kfrz1 has quit [Quit: Leaving.]
nixmaniack has quit [Remote host closed the connection]
brennebeck has quit [Ping timeout: 246 seconds]
kam270 has joined #ruby
Zecik has joined #ruby
brennebeck has joined #ruby
azgil has joined #ruby
stamina has joined #ruby
blackmesa has joined #ruby
zetsnotdead has quit [Ping timeout: 260 seconds]
arup_r has quit [Remote host closed the connection]
<pbw>
Related question. What's happening with the "accumulator" in the gist? After the hash is updated, it is invoked: h[blah] += 1; h If the invocation is skipped, it breaks.
<jhass>
did somebody already mention it's abuse of inject? should be each_with_object
peterhil_ has joined #ruby
<jhass>
besides that I don't get your question
<Ox0dea>
jhass: What's the worthwhile distinction?
<apeiros>
Ox0dea: the ; h
<Ox0dea>
The accumulation block must "return" the accumulator.
<apeiros>
Ox0dea: correct. and if you have to do an extra statement to do that + mutate the acc, you should use each_with_object instead.
ht__ has joined #ruby
<Ox0dea>
But why?
<apeiros>
because!
Jet4Fire has joined #ruby
<Ox0dea>
It doesn't reveal intent any better, in my opinion.
<pbw>
Ok. An update with [] does not return the accumulator.
<apeiros>
I say so. is that not enough? :(
<Ox0dea>
pbw: It's that you're using `+=`.
<Ox0dea>
That evaluates to the result.
ur5us has quit [Remote host closed the connection]
<pbw>
Ok
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea>
Sorry, that was derp.
n1x has joined #ruby
<Ox0dea>
Hash#[]= does return whatever value was assigned, yeah.
<apeiros>
all methods ending in = do
saneax is now known as saneax_AFK
<apeiros>
unless you invoke them via *send
nixmaniack has quit [Read error: Connection reset by peer]
ss_much has quit [Quit: Connection closed for inactivity]
<Ox0dea>
Or redefine them! :P
<apeiros>
doesn't hep
<Ox0dea>
Doesn't hut.
<apeiros>
>> class X; def foo=(x); return "I really want this return value!"; end; end; X.new.foo = 123
Biohazard has quit [Quit: WE ARE IN THE BEEEAAAAMMMM]
Jet4Fire has joined #ruby
Biohazard has joined #ruby
nixmaniack has quit [Read error: Connection reset by peer]
jmonreal has quit [Ping timeout: 260 seconds]
Fridtjof has joined #ruby
ibouvousaime has joined #ruby
jmonreal has joined #ruby
nixmaniack has joined #ruby
Jet4Fire has quit [Ping timeout: 246 seconds]
<pontiki>
this year is a binary pallendrome?!?!? OMG!!
<pontiki>
this changes everything....
d0nn1e has quit [Ping timeout: 245 seconds]
Azulinho has joined #ruby
nixmaniack has quit [Remote host closed the connection]
bkxd has joined #ruby
peterhil_ has quit [Ping timeout: 245 seconds]
<azgil>
2015 fake year of earth
Coldblackice has quit [Ping timeout: 245 seconds]
<azgil>
earth seems is older
duckpuppy has joined #ruby
ht__ has joined #ruby
d0nn1e has joined #ruby
supermarin has joined #ruby
Jet4Fire has joined #ruby
<jhass>
azgil: we can't get an accurate enough number for the total age of earth, considering you can't even really define a point where earth started to exist in the first place. It's all arbitrary, 2015 is as good as 32143452155232
<pontiki>
think how long they'd have to make the date space on a paper check!
nixmaniack has joined #ruby
<jhass>
well, if we would count that many years back I'm sure we'd have abbreviations
<adaedra>
Like 2015.
<pontiki>
ya think?
<jhass>
like "this 10 000 years last four digits"
<pontiki>
or maybe it's just because humans are the only ones who care to write the date in a way humans can read
duckpuppy has quit [Ping timeout: 245 seconds]
Jet4Fire has quit [Ping timeout: 245 seconds]
supermarin has quit [Ping timeout: 260 seconds]
peterhil_ has joined #ruby
naftilos76 has joined #ruby
ledestin has joined #ruby
jgt has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
dd.mm.yyyy !
<Ox0dea>
jhass: The current Gregorian year has little (read: nothing) to do with the age of planet Earth.
Jet4Fire has joined #ruby
<Ox0dea>
Oh, sorry; scrollback says you made no such claim.
nixmaniack has quit [Read error: Connection reset by peer]
<azgil>
yyyy.ssssss
tk__ has quit [Quit: ばいばい]
<azgil>
more convinient
<Ox0dea>
azgil: Y U DO DIS?
ledestin has quit [Client Quit]
roshanavand has joined #ruby
<azgil>
yyyy.ssssssss
Fridtjof has quit [Ping timeout: 246 seconds]
nixmaniack has joined #ruby
<Ox0dea>
Dumber than a TV inside the door of an iron maiden.
Biohazard has quit [Ping timeout: 260 seconds]
<Ox0dea>
Useless granularity is useless.
Jet4Fire has quit [Ping timeout: 245 seconds]
<shevy>
are there viable ways to generate SVG stuff via ruby? something useful such as ducklings having a party
<jhass>
Nokogiri? :P
<Ox0dea>
shevy: Didn't we decide on Mina the Swan a while back?
<Ox0dea>
> No results found for "mina the swan".
<Ox0dea>
What the fuck is wrong with us?
Someone_Else has left #ruby ["Ex-Chat"]
<Ox0dea>
All this under the assumption that you want ducklings as mascots in a Rubyesque logo.
<shevy>
I may be wrong but one could also use Object.const_defined? :Zlib instead?
banister has quit [Ping timeout: 246 seconds]
<shevy>
It was last updated in 2011... but the code seems to have been written/started in 2006. I have this impression with a lot of old code out there that it is really really weird or hard to understand :( - this project also has one of the oddest code bases I have ever seen -> https://rubygems.org/gems/rubywebdialogs
lapideviridi has joined #ruby
<shevy>
unfortunately I also failed to get it to run
<shevy>
but ok it is +10 years old by now
Jet4Fire has quit [Ping timeout: 260 seconds]
ht__ has joined #ruby
lapide_viridi has quit [Ping timeout: 260 seconds]
<Ox0dea>
They're not supposed to be great if the aim is to fall asleep to them.
akem has quit [Remote host closed the connection]
RandyT has joined #ruby
Jet4Fire has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby
FooMunki has joined #ruby
circ-user-mgcmJ_ has quit [Ping timeout: 246 seconds]
devoldmx has joined #ruby
imperator has joined #ruby
Jet4Fire has joined #ruby
n1ftyn8_ has quit [Read error: Connection reset by peer]
<shevy>
Math.circle(colour: :blue)
<shevy>
hmmm...
aibot has joined #ruby
<shevy>
would it not be nicer if we could have
<shevy>
Math.circle(colour: blue)
devoldmx has quit [Ping timeout: 260 seconds]
n1ftyn8_ has joined #ruby
Jet4Fire has quit [Ping timeout: 260 seconds]
chouhoul_ has joined #ruby
ht__ has joined #ruby
akem has joined #ruby
<adaedra>
that's not the same thing.
<shevy>
I could save one :
<adaedra>
But here you call the `blue` variable.
Gnut has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
aibot has quit [Ping timeout: 260 seconds]
Xeago_ has quit [Remote host closed the connection]
tildes has quit [Ping timeout: 260 seconds]
Jet4Fire has joined #ruby
saddad has quit [Ping timeout: 245 seconds]
ht__ has quit [Quit: Konversation terminated!]
Xeago has joined #ruby
<Ox0dea>
Or method.
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
Jet4Fire has quit [Ping timeout: 246 seconds]
ruby-lang855 has joined #ruby
tildes has joined #ruby
<nofxx>
English question to name a class here... a person can suffer from a wide range of bad stuff allergy to infections to impairment... does pathology means all that?
<nofxx>
impairment is correct? like, mental slowness or can't walk
<Ox0dea>
nofxx: Aye, "pathology" is best.
<Ox0dea>
It's the most encompassing with little to no potential for offense.
<shevy>
I feel offended!
<Ox0dea>
#dealwithit
<nofxx>
Ox0dea, ty.. yeah, was looking for something neutral
<adaedra>
I'm a offended and this pathology me.
<shevy>
I shall pathology you
<nofxx>
you may suggest a better one or live with it
stan_man_can has joined #ruby
<shevy>
Sub-optimal conditions!
<Ox0dea>
You must construct additional pathologies.
bigmac has joined #ruby
dlitvak has quit [Ping timeout: 260 seconds]
stan_man_can has quit [Client Quit]
Xeago has joined #ruby
Jet4Fire has joined #ruby
Yzguy has quit [Quit: Zzz...]
Xeago has quit [Remote host closed the connection]
Coldblackice has joined #ruby
lacuna has joined #ruby
blackmesa has joined #ruby
aibot has joined #ruby
Jet4Fire has quit [Ping timeout: 260 seconds]
dlitvak has joined #ruby
tildes has quit [Ping timeout: 245 seconds]
stan_man_can has joined #ruby
karapetyan has quit [Remote host closed the connection]
TheNet has joined #ruby
Coldblackice has quit [Ping timeout: 245 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
s2013 has joined #ruby
karapetyan has joined #ruby
Jet4Fire has joined #ruby
saddad has joined #ruby
lacuna has quit []
axl_ has joined #ruby
axl_ has left #ruby [#ruby]
Jet4Fire has quit [Ping timeout: 245 seconds]
S01780 has joined #ruby
karapetyan has quit [Remote host closed the connection]
dlitvak has quit [Remote host closed the connection]
<S01780>
Hey Ruby, can someone point me to a Phusion Passanger type program for Windows OS?
karapetyan has joined #ruby
rghose has joined #ruby
aibot has quit [Ping timeout: 245 seconds]
<jhass>
passenger doesn't run on windows, huh?
TheNet has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
moeSeth has quit [Quit: Connection closed for inactivity]
supermarin has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Quit: WeeChat 1.3]
<S01780>
Oh, thanks. Would it be easier to just boot up linux and use passanger for some random beginner?
<S01780>
It seemed more user friendly
Jet4Fire has joined #ruby
<adaedra>
Not sure
<shevy>
linux should give you less problems than windows
<Ox0dea>
*fewer
<S01780>
Right, I'll just do that .. I mean the code is already on github, it can't be too damn hard :p
<Papierkorb>
S01780: you can also use passenger as gem, in which case the biggest difference between using passenger vs puma is the binary name you call
centrx has joined #ruby
B1n4r10 has quit [Ping timeout: 260 seconds]
<S01780>
Righto
<S01780>
Thank you
AdamMeghji has quit [Ping timeout: 260 seconds]
Jet4Fire has quit [Ping timeout: 260 seconds]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nixmaniack has quit [Read error: Connection reset by peer]
jord has quit [Read error: Connection reset by peer]
AdamMeghji has joined #ruby
nixmaniack has joined #ruby
manveru has quit [Ping timeout: 260 seconds]
mikolalysenko has quit [Read error: Connection reset by peer]
jord has joined #ruby
mikolalysenko has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
manveru has joined #ruby
Jet4Fire has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
galeido has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
Jet4Fire has quit [Ping timeout: 246 seconds]
nixmaniack has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Leaving...]
sandstrom has quit [Quit: My computer has gone to sleep.]
Yzguy has quit [Quit: Zzz...]
jpfuentes2 has joined #ruby
Yzguy has joined #ruby
Channel6 has joined #ruby
nixmaniack has joined #ruby
aibot has joined #ruby
circ-user-mgcmJ has joined #ruby
TheNet has joined #ruby
<Shapeshifter>
Uhm, "inject" is ruby's name for a folding op, right?
Jet4Fire has joined #ruby
zotherstupidguy has joined #ruby
<adaedra>
I think so. Check the docs if you have a doubt?
<Ox0dea>
♫ They got a building down New York City, it's called Whitehall Street. Where you walk in, you get injected, inspected, detected, infected, neglected and selected. ♫
elton has joined #ruby
dopieee has joined #ruby
<Ox0dea>
Array#neglect would've been insensitive.
<Shapeshifter>
I dunno. I think one name for one thing is usually enough, even if it's different for different languages. Not sure how aliases improve productivity.
<Shapeshifter>
I'm not complaining though. Actually I'm surprised how nice ruby is :)
dopie has quit [Ping timeout: 246 seconds]
<baweaver>
>> module Enumerable; alias :neglect :reject end; (1..10).neglect(&:odd?)
<Ox0dea>
Shapeshifter: Ah, there it is! "Wishful programming" is the philosophy behind aliases and the like.
cjk101010 has quit [Ping timeout: 264 seconds]
<Ox0dea>
It makes the programmer happy when they can make an educated guess at what a method is called and find that they were correct.
<Papierkorb>
Shapeshifter: antlr parser for what? Ruby?
<Shapeshifter>
Ox0dea: interesting philosophy
<Shapeshifter>
Papierkorb: yes
cjk101010 has joined #ruby
<Papierkorb>
Shapeshifter: There are already gems for that ..
<Shapeshifter>
Papierkorb: I don't mean using antlr from ruby, I mean parsing ruby using antlr
<Ox0dea>
Phew.
<Shapeshifter>
But yeah, there's always a way
<Ox0dea>
You sick fuck.
<Ox0dea>
Godspeed.
n1x has joined #ruby
NeverDie has joined #ruby
aibot has joined #ruby
<Papierkorb>
Shapeshifter: mh? Parsing ruby is quite easy? Or why do you want to write a parser yourself if there are already some battle-tested ones out there?
nixmaniack has quit [Ping timeout: 260 seconds]
<Ox0dea>
Lulz and braingains.
<Shapeshifter>
Papierkorb: I'm not working on it anymore but I wrote a multi-revision, cross-language static analysis tool that uses antlr to parse various languages. For some languages, it's as easy as copy/pasting an existing antlr grammar. For ruby... well let's just say that I didn't support ruby in that tool.
<Shapeshifter>
(research stuff)
kmckelvin has joined #ruby
karapetyan has joined #ruby
<Shapeshifter>
Papierkorb: but the tool also supported integrating other parsers, so I would have just used ruby's own implementation. Which I guess is accessible through a gem or something
<Shapeshifter>
Papierkorb: or the thin baweaver mentioned.
<Shapeshifter>
*thing
<Papierkorb>
Shapeshifter: The gem is called 'parser'. it's great except for its (imo) misleading name
moeabdol has joined #ruby
TheNet has quit [Remote host closed the connection]
<Papierkorb>
Shapeshifter: it's not what MRI uses itself, but it's well tested and all. There are also a bunch of rule files for yacc (or flex?) out there for ruby
<alex____>
any chance of getting some help with atom here?
monoprotic has quit [Remote host closed the connection]
supermarin has joined #ruby
monoprotic has joined #ruby
monoprotic has quit [Changing host]
monoprotic has joined #ruby
<jlw_>
alex what you stuck with atom?
<dorei>
is there some standard way to document that in order to include the described module, the class that includes it should implement some method (like to include Enumerable, the class should implement #each) ?
<alex____>
thnx, let me read up. I am still very new
stan_man_can has quit [Quit: stan_man_can]
Ishido has quit [Remote host closed the connection]
supermarin has quit [Ping timeout: 260 seconds]
<kmckelvin>
alex____: if you open a command prompt you need to be able to execute 'ruby' without having to cd to a specific directory. if that works then i'm *guessing* that atom would also pick up the Ruby executable on your path
<kmckelvin>
but yeah, long time since i last used windows for anything other than games :D
stannard has joined #ruby
<Ox0dea>
dorei: Sounds like a job for the README?
Edward__ has quit [Read error: Connection reset by peer]
Edward__ has joined #ruby
Rumbles has joined #ruby
bigmac has quit [Ping timeout: 260 seconds]
alex____ has quit [Quit: Page closed]
Ishido has joined #ruby
sankaber has joined #ruby
elton has quit [Ping timeout: 245 seconds]
<dorei>
Ox0dea: i'm checking the enumerable documentation, it's just at the top
n1x has joined #ruby
<Ox0dea>
dorei: When in Rome.
<dorei>
btw, should I avoid using ivars at my mixins?
nixmaniack has quit [Read error: Connection reset by peer]
Gnut has quit [Ping timeout: 260 seconds]
<shevy>
depends
kies has joined #ruby
<shevy>
you can keep state that way, if you need it
devoldmx has joined #ruby
<dorei>
is there other way to keep state?
<shevy>
well CONSTANTS ... and @@vars
bigmac has joined #ruby
<shevy>
it depends on what you want to do
<dorei>
and if i choose to use ivars, should i become really paranoid to avoid name collissions or should I just mention it at documentation and then forget about it?
<shevy>
I sometimes use @debug
<shevy>
hmm let me try to remember one problem I had with sinatra
<shevy>
ah yes
<shevy>
sinatra defines a method called body
<shevy>
I remember that this clashed with another project that I was using that also had this method defined
<shevy>
I don't remember any clash with @ivars so far though
Yzguy has quit [Quit: Zzz...]
zama_ has joined #ruby
dlitvak has joined #ruby
Yzguy has joined #ruby
imperator has quit [Quit: Leaving]
<shevy>
>> module Foo; def initialize; @bar = 42; end; end; class Bar; include Foo; end; bar = Bar.new; p bar.instance_variables
n1x has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
zama_ has quit [Quit: Leaving]
nixmaniack has joined #ruby
kies has quit [Quit: baaaaiiiiiiiiiii~]
bigmac has quit [Ping timeout: 246 seconds]
zarubin has quit [Remote host closed the connection]
<shevy>
how expensive is storing a constant in a module?
araujo has quit [Quit: Leaving]
<shevy>
and are there differences to e. g. @ivars or @@class_vars?
<Ox0dea>
Very.
<Ox0dea>
Many.
Ishido has quit [Remote host closed the connection]
<dorei>
i avoid thikning about that
moeabdol has quit [Read error: Connection reset by peer]
<shevy>
hehe
moeabdol has joined #ruby
Xeago has joined #ruby
jlw_ has quit [Quit: bong timeout]
howdoicomputer has joined #ruby
user1138 has joined #ruby
n1x has joined #ruby
nixmaniack has quit [Read error: Connection reset by peer]
kies has joined #ruby
dlitvak has quit [Ping timeout: 245 seconds]
Rumbles has quit [Ping timeout: 245 seconds]
howdoicomputer has quit [Ping timeout: 260 seconds]
gregf has quit [Quit: WeeChat 1.3]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
dlitvak has joined #ruby
akem has quit [Remote host closed the connection]
rgrmatt has quit [Remote host closed the connection]
azgil has quit [Quit: Leaving]
nixmaniack has joined #ruby
naftilos76 has joined #ruby
n1x has quit [Read error: Connection reset by peer]
<xybre>
@ivar has instance scope, @@class_var has class-heirarchy scope. Constants are not inherited, @@class_vars are.
Yzguy has quit [Quit: Zzz...]
<xybre>
Typically it seems most people want to use class @ivars (since a class is an instance of Class) instead of @@class_vars, since there's less shared state.
Ishido has joined #ruby
karapetyan has quit [Remote host closed the connection]
shanemcd has quit [Remote host closed the connection]
JazzyVariable227 has quit [Client Quit]
houhoulis has joined #ruby
alex_newbiw has joined #ruby
vdamewood has joined #ruby
threh has joined #ruby
dlitvak has joined #ruby
<alex_newbiw>
Hi, All - I am very new to Ruby and am trying to learn the language through some online classes; I was using "Atom" to practice writing code on my desktop, but I ran into an issue with one of the packages. Whenever I try to use the "execute-as-ruby" I get an error saying "Uncaught Could not locate package path". I asked this here earlier (but ran to run- RL) and someone had asked me what my environment paths were, I think I have tha
aibot has joined #ruby
Jet4Fire has joined #ruby
<alex_newbiw>
also, I am running win10
<alex_newbiw>
x64 if it makes any diff
davedev24 has quit [Ping timeout: 260 seconds]
<adaedra>
First, even if I suppose it was already said, Windows is not the best environment for Ruby
<alex_newbiw>
I could boot mint on a another drive, would that work better for learning?
rgrmatt has joined #ruby
saneax_AFK is now known as saneax
<shevy>
if you are already struggling with the editor
howdoicomputer has joined #ruby
<shevy>
the oldschool way is to just use irb
<adaedra>
Also, the package in question seems to not be updated in 5 months, it may be an incompatibility with recent Atom
<alex_newbiw>
adaedra - thanks, I thought it might be the issue
<adaedra>
Just use IRB or PRY
dlitvak has quit [Remote host closed the connection]
<alex_newbiw>
shevy - I was using codecademy to learn, is that a good place to get started?
Jet4Fire has quit [Ping timeout: 260 seconds]
<alex_newbiw>
Adaedra - thanks, ill try to stick to IRB
dopie has quit [Quit: This computer has gone to sleep]
rgrmatt has quit [Ping timeout: 246 seconds]
threh has quit [Quit: 'Til next time]
shanemcd has joined #ruby
<alex_newbiw>
thanks for the info - appreciate it!
dopie has joined #ruby
threh has joined #ruby
s00pcan has quit [Ping timeout: 246 seconds]
<shevy>
alex_newbiw dunno, I never went through it. irb all the way, oldschool never dies we multiply
<alex_newbiw>
haha
<alex_newbiw>
thnx again
Jet4Fire has joined #ruby
<iamnix>
alex_newbiw running your code through atom is not the only way to run ruby on your computer. you can go to the console, go to the directory where you code resides and run `ruby your_file.rb`
ohaibbq has joined #ruby
davedev24 has joined #ruby
<alex_newbiw>
iamnix - yes, that is what I have been doing; I use Atom to create the script and then go to my directory to open the .rb file
<alex_newbiw>
I just thought it might be a bit easier to test small things within atom itself
nlsun has joined #ruby
<alex_newbiw>
but like shevy suggested, I can just paste it into IRB and it should do it
<shevy>
I think you can do that through one of the larger IDEs or emacs / vim
<adaedra>
People usually use irb or pry.
BTRE has quit [Quit: Leaving]
<shevy>
alex_newbiw the editor geany has an embedded vte terminal; this is interesting because you can just copy/paste in the same environment on linux at least
iamnix has quit [Read error: Connection reset by peer]
<adaedra>
I don't see in what this is different from pasting to a standalone terminal, environment-wise.
<alex_newbiw>
nice! I will check it out right now
Jet4Fire has quit [Ping timeout: 245 seconds]
iamnix has joined #ruby
<alex_newbiw>
i guess the editors make it easier by holding all your code in a side panel, click open > click execute?
pygospa has joined #ruby
<shevy>
dunno, I never use something like that
sankaber has joined #ruby
<alex_newbiw>
yeah, i could be simply approaching it form the wrong side. I am still very new, so I am open to trying both methods
s00pcan has joined #ruby
<adaedra>
I guess most rubyist just have a test editor and a terminal
alindeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
apparently puma wants to compile something
<centrx>
Diabolik, Incompatible C compiler/version and/or missing OpenSSL header files
<Diabolik>
im confused because gem install puma works fine
<Diabolik>
with the latest version
<shevy>
mini_ssl.c:4:10: fatal error: 'openssl/bio.h' file not found
<Diabolik>
just not with that one
<quefue>
Hello! I have a hash that contains a specific key with a nil value, and whenever my script tries to access what information could be stored within said key, the interpreter raises a NoMethodError exception
<centrx>
quefue, show code or it didn't happen
supermarin has quit [Ping timeout: 246 seconds]
<Diabolik>
shevy is there something i need to install?
<Diabolik>
openssl is installed
<shevy>
Diabolik yeah no idea why it wants to compile BUT for this specific error, you need the devel part there
<quefue>
This never happens with Python and other similar languages I've used. Is there a way for Ruby to simply continue on with a script?
skade has quit [Ping timeout: 260 seconds]
<shevy>
I compiled openssl from source and I can assure you that I have a /usr/include/openssl/bio.h file so you must install wherever this file is hidden, usually openssl-dev or devel or some such name
aibot has quit [Ping timeout: 246 seconds]
BTRE has joined #ruby
user1138 has joined #ruby
<shevy>
quefue what you just described is not correct. However had, to rescue errors, use begin/rescue/end clauses, you can rescue NoMethodError specifically too
alex_newbiw has quit [Ping timeout: 252 seconds]
benhuda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nateberkopec has quit [Quit: Leaving...]
skade has joined #ruby
<quefue>
shevy: I was hoping there was another way to avoid having to do that and instead have the interpreter ignore the lack of a value and continue on from there, like in Python
user1138 has quit [Remote host closed the connection]
<quefue>
Rather than writing extra code to bypass NoMethodError exceptions
Jet4Fire has joined #ruby
<quefue>
shevy: Help is much appreciated, though!
<shevy>
if you use invalid calls to non-existing methods then the proper way for ruby is to raise this error
<shevy>
you can also use method_missing
<quefue>
That's definitely strange, given that this doesn't happen when attempting to loop a non-existing array from a specific key with Python or PowerShell
elton has joined #ruby
ibouvousaime has joined #ruby
<shevy>
come on man
<quefue>
If there isn't a value, they'll normally skip along from there and not raise an exception
<quefue>
I'm new to Ruby, so please forgive me
akem has joined #ruby
yos7ph has joined #ruby
devoldmx has joined #ruby
cryocaustik has quit [Quit: went to chop soup]
<quefue>
shevy: I'm definitely checking out "method_missing", though. Thank you