Hacker News new | past | comments | ask | show | jobs | submit | Sadkov's comments login

1283 = continue 1432 = license 1766 = gnu

So for every loop continue statement there is a GPL license text :D


I know it's half serious but it's simply not true, in the same way as grepping for "Stallman" in the leaked Windows source code (nobody actually mentioned RMS there, these were false positives). In this case, some headers contain multiple occurrences of GNU in a single header. Then there are several #ifdefs like "__GNU_LIBRARY__" or "__GNUC__" or e-mail addresses of people in the gnu.org domain.

In practice, it doesn't matter at all as the preprocessor replaces all license headers with a single space even before the compiler has the chance to look at it.


The preprocessor removes the comments? I thought that was the compiler?



The preprocessor doesn't remove comments and at least in clang, comments are parsed into the AST.


Well, according to C99, it should. Section "5.1.1.2 Translation phases" says (in phase 3): "Each comment is replaced by one space character."

Edit: just checked and clang behaves just like gcc with -E. Maybe you didn't mean comments but preprocessor directives?


Clang, like GCC, has -C and -CC flags to preserve comments during preprocessing. However, these are really flags for the underlying preprocessor. Your parent might be thinking of some application of the Clang frontend that does not run preprocessing. For example, clang-format will probably not want to preprocess the code nor strip out comments.


You are correct, my bad.


Welcome to Russia! Your free one-way ticket to Gulag is right here :D


Apple's walled garden system matches nicely with Chinese Communism.


Javascript proprietary? Are you, people, all <redacted-expletive> here?


"Youtube uses proprietary Javascript [code], which RMS never supported ..."


The main problem of Free Software (read GPL) is that it is not free, compared to say BSD. It doesn't promote competition and doesn't help small player, as you have to release all changes back under GPL. On the other hand, GPL increases barrier to entry, so big monopolistic players, like Microsoft and governments, win from it, while small indie devs lose.


Why do people make such a hypocritically huge fuzz out of some pimp, like Epstein? Look at poor neighborhoods - there are literally millions pimps prostituting millions of women in the world. I doubt any of you want to pay for their education, so they could stop prostituting and do useful jobs, and I doubt any of these prostitutes want to work at a sweatshop or a factory, or even in office, doing heavy and unhealthy work in disciplined environment.


If they're in the US, I am paying for their education.


Happened to me too, after I published my book criticizing Russia: https://github.com/saniv/text/blob/master/one-life-in-russia... Hi Nikita, Thanks for writing in. Your repositories were set to require a login to view following multiple reports from users concerned about their contents. This was done as an alternative to hiding or disabling the content entirely. Thanks, GitHub Support Russians support freedom of speech that much.


Godspeed, Terry! You was crazily talented and I will miss you :'(


Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: