4 ms·
If I had time and a job where I got to code I would, but it'll be a few days before I have time.
by axman6 12y ago
If I had time and a job where I got to code I would, but it'll be a few days before I have time.
- tekknolagi 12y agoAh, I feel you — no problem! I do really love the binop macro.
- tekknolagi 12y agoQuick question. Is that code you've given ok to use in the project? I just realized that I added and pushed without asking. GPL?
- axman6 12y agoThe binop stuff you can certainly use freely, the X macro stuff is quite well known so I guess that it's also fine to use. I certainly won't be claiming any copyright on the code I shared =) My personal preference for licensing is one of the BSD or MIT licenses, I'd rather see things of mine used to makie the world a better place than force people to share what they've done with it.
- tekknolagi 12y agoThanks :) Having some weird pasting issues with a macro for POP expansion. http://i.imgur.com/4HiltgI.png http://i.imgur.com/4HiltgI.png Edit: Just kidding. That was dumb.
- zura 12y agoBtw, I remember there was a law stating that the code less than 10(?) lines is not copyright-able, no?
- voidlogic 12y agoThat would be a a silly rule, for better or worse 10 lines of Haskell might perform the computation of 500 line of Java (even if they took you the same amount of time to write.. heh).
- tekknolagi 12y agoOr, say, Befunge...
- zura 12y agoWell, maybe they made this rule in days when COBOL was in hype? ;)
- IgorPartola 12y agoMy first reaction was to say "it should be based on the number of CPU/GPU/*PU instructions". But then, there are things like this: http://www.norvig.com/spell-correct.html http://www.norvig.com/spell-correct.html. I wonder how much actual new-ness you can pack into, say, 100 instructions on a modern CPU.
- Alupis 12y agoWrong -- Google lost the first of the Android/Java battles to Oracle for 9 lines of "copy/pasted" range check code.[1][2][3] [1] https://news.ycombinator.com/item?id=3951575 https://news.ycombinator.com/item?id=3951575 [2] https://news.ycombinator.com/item?id=3951480 https://news.ycombinator.com/item?id=3951480 [3] http://www.theverge.com/android/2012/5/9/3010404/judge-denies-oracles-motion-for-ruling-on-fair-use-says-new-trial http://www.theverge.com/android/2012/5/9/3010404/judge-denie...