Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Definitely interesting — I shall take a look! Feel free to make a pull request if you're game.


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.


Quick question. Is that code you've given ok to use in the project? I just realized that I added and pushed without asking.

GPL?


The 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.


Thanks :) Having some weird pasting issues with a macro for POP expansion. http://i.imgur.com/4HiltgI.png

Edit: Just kidding. That was dumb.


Btw, I remember there was a law stating that the code less than 10(?) lines is not copyright-able, no?


Wrong -- 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

[2] https://news.ycombinator.com/item?id=3951480

[3] http://www.theverge.com/android/2012/5/9/3010404/judge-denie...


My 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. I wonder how much actual new-ness you can pack into, say, 100 instructions on a modern CPU.


That 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).


Well, maybe they made this rule in days when COBOL was in hype? ;)


Or, say, Befunge...


Ah, I feel you — no problem! I do really love the binop macro.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: