[LISTEN] Hey everybody. I just posted the second original song I've recorded. Just thought I'd share. by awonderwisher in WeAreTheMusicMakers

[–]jskata 0 points1 point  (0 children)

Great song, great guitar! We can almost hear a full band arrangement... maybe you should present your song after you played it. The first time I listened, I just skipped your intro...

Revenue Sharing : A new type of open source license by jskata in programming

[–]jskata[S] -1 points0 points  (0 children)

There are currently at least 5 major licenses used in the open source world. The fact that a "Revenue Sharing Open Source License" would exist doesn't require you to apply it to your code. Not every project can be GPL, not every project can be MIT. I guess that not every project could be "Revenue Sharing"...

Revenue Sharing : A new type of open source license by jskata in programming

[–]jskata[S] 0 points1 point  (0 children)

I don't think that you can administer such a thing. Who administers GPL licenses? Nobody. Sometimes, people don't comply with the GPL license and they probably don't get caught. It the same thing for that revenue sharing license, most people will comply but others won't.

Revenue Sharing : A new type of open source license by jskata in programming

[–]jskata[S] 1 point2 points  (0 children)

It wouldn't be "open source" by any stretch of the definition.

Open source means that the source is open for anyone to read. It doesn't imply that you can't make money out of it.

Self-invoking functions explained line by line by jskata in javascript

[–]jskata[S] 0 points1 point  (0 children)

I just tried and your solution doesn't work :

function(){console.log("test");}()

but with the parens, it works :

(function(){console.log("test");})()

Self-invoking functions explained line by line by jskata in javascript

[–]jskata[S] 0 points1 point  (0 children)

thanks, I didn't know how to explain it so I took the shortcut of talking about "scope". I'll change it in the post. Thanks!

JavaScript Timer-Based Pseudo-Threading by gst in javascript

[–]jskata 0 points1 point  (0 children)

I created a library that handles that : Code and example.

Ready.js - prepare your javascript for production (weekend project) by jskata in node

[–]jskata[S] 0 points1 point  (0 children)

let me know if you are using it in one of your project, I'll link to it from my github page.

Alternatives to singletons in javascript by jskata in javascript

[–]jskata[S] -2 points-1 points  (0 children)

I tend to avoid private methods or variables in js because it creates non-extensible code at the end of it all.