burningserenity has quit [Ping timeout: 260 seconds]
<CommunistWolf>
yup, yajl works
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
pwnd_nsfw has joined #ruby
<_phaul>
brianj: def nth_occurance(str, n, c); ix = str.index(c); return ix if n == 1; 1 + ix + nth_occurance(str[ix+1..-1], n-1, c); end
<_phaul>
rough around the edges, blows up if the char is not found, or diverges for non-positive n
jetchisel has quit [Ping timeout: 260 seconds]
jetchisel has joined #ruby
burningserenity has joined #ruby
zlogan2003 has joined #ruby
noboruma has quit [Ping timeout: 258 seconds]
miskatonic has joined #ruby
hutch has joined #ruby
Technodrome has joined #ruby
noboruma has joined #ruby
burningserenity has quit [Ping timeout: 240 seconds]
chalkmonster has quit [Quit: WeeChat 2.8]
BH23 has joined #ruby
burningserenity has joined #ruby
burningserenity has quit [Ping timeout: 256 seconds]
noboruma has quit [Ping timeout: 264 seconds]
schne1der has joined #ruby
fercell has quit [Quit: WeeChat 2.7.1]
fercell has joined #ruby
noboruma has joined #ruby
chalkmonster has joined #ruby
fercell has quit [Quit: WeeChat 2.7.1]
chalkmonster has quit [Quit: WeeChat 2.8]
burningserenity has joined #ruby
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
vasilakisfil has left #ruby ["Konversation terminated!"]
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
jingjinghack has quit [Quit: WeeChat 2.1]
noboruma has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Leaving]
troulouliou_dev has joined #ruby
noboruma has joined #ruby
burningserenity has quit [Ping timeout: 265 seconds]
noboruma has quit [Ping timeout: 256 seconds]
TCZ has joined #ruby
noboruma has joined #ruby
zacts has quit [Quit: WeeChat 2.8]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zacts has joined #ruby
noboruma has quit [Ping timeout: 260 seconds]
hutch has quit [Ping timeout: 258 seconds]
burningserenity has joined #ruby
Ven`` has joined #ruby
hutch has joined #ruby
Technodrome has joined #ruby
wbnns is now known as en1on
en1on has quit [Quit: Updating details, brb]
burningserenity has quit [Ping timeout: 240 seconds]
ChmEarl has joined #ruby
<havenwood>
_phaul: CommunistWolf: Another stab at it:
<xco>
havenwood i also like it. i'll upvote it. it's a cleaner way to do the obvious. i honestly don't understand the downvotes. JS does the same with arrow functions and i love it!
<xco>
apotheon in all honesty, i have no idea what this copyfree thing is about
<xco>
havenwood looks like i can't upvote on the endless feature
<havenwood>
xco: they don't like convos on the github issues
<xco>
they want it on the issue tracker
<xco>
i figured
<havenwood>
xco: yerp
<havenwood>
xco: I kinda like the new syntax, but we'll see what Matz decides. I'd not be surprised if it was added as an experimental feature in 3.0.
<xco>
that'd make saying
<xco>
apropos ruby 3.0, you have any idea of where we can track it's progress?
pavelz has joined #ruby
<pavelz>
hiya
<pavelz>
help with case when
<pavelz>
case when if there are more whens will they be processed?
burningserenity has joined #ruby
<pavelz>
seems that i have nil compare in following statements and it causes exception
miskatonic has joined #ruby
d3bug has quit [Quit: Connection closed for inactivity]
<apotheon>
pavelz: There is no fall-through in Ruby's "case". Treat it as an "if elsif end" branch.
<apotheon>
As with elsif, the case statement can have an "else" catch-all at the end.
<apotheon>
pavelz: Does that answer your question?
<pavelz>
thats strange i am getting fall thru
<yxhuvud>
No, you are not. They simply don't work that way.
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r3m has quit [Quit: WeeChat 2.9-dev]
r3m has joined #ruby
tpanarch1st has quit [Ping timeout: 258 seconds]
zacts has quit [Quit: WeeChat 2.8]
zacts has joined #ruby
tpanarch1st has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Esa__ has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
edmqkk has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
hhzza has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hutch has quit [Ping timeout: 260 seconds]
major_majors has joined #ruby
<xco>
apotheon what what this copyfree thing about? isn't an MIT license enought?
<xco>
what was*
<apotheon>
Yes, an MIT License is enough.
<apotheon>
Why do you ask?
<xco>
apotheon cuz you posted something on copyfree with kovid and sarskov in it
<xco>
:D
<apotheon>
okay
<xco>
and i have no idea what that is
schne1der has quit [Ping timeout: 260 seconds]
<apotheon>
Do you know about the Open Source Initiative and the Open Source Definition?
hutch has joined #ruby
<xco>
Open Source Definition yes
<xco>
the first one no
<apotheon>
OSI maintains the OSD
<xco>
oh ok
<apotheon>
If you want the Open Source Definition, you want the document published by the Open Source Initiative.
<apotheon>
The OSI also "approves" some licenses for identification as open source licenses certified by the OSI.
<apotheon>
So . . . similar idea:
Technodrome has joined #ruby
kristian_on_linu has joined #ruby
<apotheon>
The Copyfree Initiative maintains the Copyfree Standard Definition, and identifies licenses that seem to conform to the CSD.
<apotheon>
The CSD is more specific than the OSD, though. Many licenses that conform to the OSD do not conform to the CSD, though anything that conforms to the CSD should conform to the OSD.
<apotheon>
Thus, not all open source software is copyfree, but all copyfree software is open source.
<apotheon>
In addition, though, the CSD isn't software-specific, so licenses that are more suitable to non-software works can also be copyfree licenses.
<apotheon>
xco: The kovid and sarskov listings are in a list of works recognized as using copyfree licenses.
<apotheon>
xco: Does that answer your question(s)?
<xco>
apotheon CSD is a superset in essence?
<apotheon>
subset
<apotheon>
. . . but also superset, in some respects
<xco>
hmmmm
<apotheon>
It's more like a venn diagram
<apotheon>
.
<xco>
there's an intersection
<xco>
?
<apotheon>
The GPL qualifies as open source by the standards of the OSD, but it's not copyfree according to the CSD.
<xco>
ok this is getting hairy hahaha
<xco>
let's leave it here
<xco>
you've answered my question
<xco>
buuuut
<xco>
someone must have added kovid to OSD listings right?
<apotheon>
A license that conforms to the CSD but isn't about source code might not conform to the OSD, though.
<xco>
or they just pick it themselves based on my MIT license?
<apotheon>
I added it.
<apotheon>
Not OSD, though: CSD.
<apotheon>
More accurately, the Copyfree Initiative's works list.
<xco>
yeah got it
<xco>
ok cool
<xco>
what are the benefits of being listed?
<apotheon>
Someone interested in finding copyfree software that does what those things do could find it on the works list.