HN user

tapete2

1 karma
Posts0
Comments17
View on HN
No posts found.

It doesn't even make sense to use strchr for determining the position of 'r', when the code checks that the position of '-' is at index 0.

Your solution is perfectly fine. Even if you don't have access to strchr for some reason, the original snippet is really convoluted.

You could just write (strlen(argv[1]) > 1 && argv[1][0] == '-' && argv[1][0] == 'r') if you really want to.

Dependable C 7 months ago

There are several ways to do that. The best method is to use a real computer.

Of course, the website operator can do something about this as well. On my website I redirect all traffic from mobile devices to the kids section of YouTube.

wasn't the very concept of "libraries" created to not have to think about what exactly the code does?

Let's say you need a FFT implementation. You can write that from scratch, or you can use a library. In both cases you should use tests to verify that the code calculates the FFT correctly, and in the library case you should read the code to make sure that it works correctly and does not omit and edge cases (e.g.).

Indeed they are not. They are a Austrian GmbH, which is a special kind of company form that is not really comparable to a e.g. British or American Ltd.

Long story short, for being a publicly traded company, they would need to "transform" to an AG ("Aktiengesellschaft", where "Aktie" means "share of stock").

consumed.today 10 months ago

Actually this is not needed, because you can configure Firefox to block autoplay of audio and video content on all websites by default.