HN user

AndrejM

31 karma
Posts0
Comments31
View on HN
No posts found.

Yes. But I'd also recommend getting Stephen Prata's C Primer Plus. It covers C99, and talks about more complicated topics such as multiple pointer indirection and the preprocessor.

I've noticed that on some monitors antialiasing looks fantastic, while on others not. My sister's laptop has a smaller screen and enabled antialiased fonts, and they really do look great. But on my Samsung 2232BW, which is a 22" 1680x1050 monitor, antialiased fonts just look really bad.

So maybe it has to do with more than just DPI, but generally I've read that high-DPI screens have no trouble at all with displaying antialiased fonts. (And yes, I have tried numerous calibration tools, with no luck).

Although you could probably use any OOP capable language with GoF, I think the D language fits really nicely for that book. D defines interfaces, abstract classes, subtyping, (class) mixins, templates, all in the language, and has a safe override mechanism for when inheritance is the preferred approach in an OOP pattern.

Interesting. I kept seeing some topics opened, closed, only to be reopened again. I thought the admins couldn't make up their minds.

I've only had a few months of experience with Python, but I had no trouble learning C (it only takes a week or two to get used to the syntax). I'm pasting this from my reply in a Reddit thread:

If you're going to read K&R, make sure you visit the Errata page. There are a bunch of examples that have typos (some of them are not on the Errata page though).

But reading one C book isn't going to teach you everything about C. A lot of the C code out there makes heavy use of macros and multiple pointer indirections, which isn't covered in much detail in K&R. And if you're interested in the newer C99 standard, The C Primer is a great book (but it's quite thorough, which imo, is a good thing).

If you're going to try out the examples from K&R, pass these arguments to gcc: -ansi -pedantic -Wall -Wextra -g

The -g flag is for debugging symbols. I think I still have most of the fixed examples from K&R that will compile, if you're interested in these. Also, make sure to bookmark these two links:

http://www.eskimo.com/~scs/cclass/krnotes/top.html

http://users.powernet.co.uk/eton/kandr2/

The first one gives you some better explanations of what has been said in the K&R book (divided by chapters). The second one has most answers to the exercises in the book.

Although true, many of those authors are too busy with improving/fixing their compilers.

E.g. the D language doesn't have a very modern looking website atm., but someone has took the task to update it recently. It's not up yet since the community is trying it out.

Well this certainly sparks my interest. Could I ask for some recommendations for any books and articles on algorithms which take the current computer/memory architecture into account? I'm currently reading "Mastering algorithms with C", and I had some other books in queue. But I'm always looking for some fresh content.

The only thing I don't understand about github is that "hardcore archiving in process..". I mean why do I have to wait a minute before I can start downloading the archive? Isn't it costly if the server has to create an archive every time someone requests a download?

Well popularity is not really the reason I'm interested in these languages. The practical guy in me tells me to stick with the languages that I know, and expand my knowledge in that domain. But then there's that other side of me that's really interested in everything. These days I'm leaning towards being more practical, but I was always interested in just about everything (be it programming, music, 3D/art, or even various sports).

And you're absolutely right about making decisions, they have to be made. Anyway, I don't want to steal the topic, but thanks for the handy reminder. :)

Gah! I wish I could have the mental capacity to learn all of this stuff at once. I'm busy with Python, C, tons of code that I want to explore, plus I'm interested in D (waiting anxiously for the DPL book). And then there's all that talk about Haskell and Clojure which really sparks my interest. I fear if I try to read too much, my head will explode (or worse, I'll simply forget what I've learnt).

At least reddit has /r/coding, unlike yc where all I get to read lately is about fights between Apple and Adobe.

That is not what I meant, actually. I meant rendering a logo via some paint methods, where all the information the methods have is some text, color and style attributes, etc. Then the logo gets drawn on-the-fly by the user's browser. It could work for simple logo's, I believe.

I'm not a web developer, but could html5/javascript replace the need for some static images? For example, simple text logos. While a text banner could take several dozen KB's, some form of drawing javascript code could take only a fraction of that. Unless I'm misinterpreting how html5 works. :)

A mandatory app store for OSX would be a slap in the face for Valve's Steam platform. I'm not so sure Apple would be ok with Valve being the major supplier of games on the OSX in the near future (which could very well happen).

These blog posts are kind of like those "Learn this language in 24 hours" books. They're not bad per se, but it's as if becoming a great developer is some kind of <insert-number-here>-step process. Becoming great is, in my opinion, not a final destination. You can be great from day #1 by pushing yourself to learn more, for every day in your life as a developer.