Better HN
topnewbestaskshowjobs
Log inSign up

antoarts

494 karma · joined Jun 13, 2011 (15y ago) · 34 submissions

Submissions

1.

C preprocessor tricks(antoarts.com ↗)

12 points · by antoarts · 14y ago · 1 comment

2.

Void pointers in C(antoarts.com ↗)

1 points · by antoarts · 14y ago · discuss

comment 15y ago · link · parent

I choose not to discuss implementation in that article, but you should never reinvent the wheel (poorly).

comment 15y ago · link · parent

If you want to know how to create programs like vi, you should check out ncurses (http://www.gnu.org/s/ncurses/, tutorial: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/)

5.

Designing command-line interfaces(antoarts.com ↗)

166 points · by antoarts · 15y ago · 80 comments

comment 15y ago · link · parent

It's from 2008 and it runs Windows Mobile 6.1, not Windows Phone 7

comment 15y ago · link · parent

Oh, I thought the .Net had something to do with Microsoft's framework with the same name

comment 15y ago · link · parent

Well, I'm 15, and my "idols" would be people such as Knuth, Ken Thompson and Dennis Ritchie. Then again, I'm more into systems programming.

comment 15y ago · link · parent

Why only web developers?

comment 15y ago · link · parent

What if I have no idea for how many hours I have been programming in total?

11.

Understanding Recursion(antoarts.com ↗)

3 points · by antoarts · 15y ago · discuss

comment 15y ago · link · parent

How well does Hurd compare to Linux?

comment 15y ago · link · parent

Why would they provide email support then at all? I don't think the customer should have to try a dozen or so means of support before finding a way which works.

comment 15y ago · link · parent

Thanks for mentioning that. I fixed my mistake.

comment 15y ago · link · parent

The quotes are randomly chosen from a database of my favorite ~50 quotes, so it isn't related to the article, though

comment 15y ago · link · parent

I mentioned trigraphs as an example of a C standard feature disabled by default in GCC, and then I just mentioned how to enable just that feature. It wasn't supposed to be included among the most important options, it just got there ;-).

17.

The most useful GCC options and extensions(antoarts.com ↗)

62 points · by antoarts · 15y ago · 21 comments

comment 15y ago · link · parent

C++ is vastly different from C. I know C, yet I don't know C++.

comment 15y ago · link · parent

I started using one just recently. I'm not a web developer and I just installed WordPress less than a month ago. Apparently, PHP scripts are heavy to execute :S

It seems to work better now.

comment 15y ago · link · parent

I hope that I fixed the problem now by installing a plugin (QuickCache) which caches pages and serves a normal, static HTML page when possible instead of generating a new dynamically from the PHP scripts each time. I hope.

comment 15y ago · link · parent

Good catch. This is similar to "rubber-duck debugging" (http://en.wikipedia.org/wiki/Rubber_duck_debugging).

comment 15y ago · link · parent

Yeah, I said that it especially helps if the language utilises a different paradigm. It is the important thing, actually.

comment 15y ago · link · parent

Yeah, I am getting thousands of visitors... :)

comment 15y ago · link · parent

For those of you who get a database error, I think it is the huge amount of traffic I'm getting at the moment which causes this (>1000 visits last hour). I'm using shared hosting, which might have problems with this, so in one way, you are DDOSing my site ;-). I don't know if it is safe to tell you to just wait and reload the page, but do that, BUT NOT TOO FAST!

comment 15y ago · link · parent

Thank you :). I agree it is always good to see a thing from as many angles as possible. Additionally, some author might have left something out which another one did not.

comment 15y ago · link · parent

And, according to that article, they only compared 4 different languages. I think that C could've performed better (C compilers usually give little faster code than C++ compilers do) and well-written and optimized Assembly could do well as well.

27.

How to improve your programming skills(antoarts.com ↗)

232 points · by antoarts · 15y ago · 89 comments

28.

Introduction to the J programming language(antoarts.com ↗)

2 points · by antoarts · 15y ago · discuss

12