News for hackers. Stuff that matters.
Re:Quake 3 Source Code Review by hello_asdf on Saturday June 30, 2012 @05:40PM (#4182911)
I'm not really adding anything of value to this discussion, but I've always loved reading his code reviews. I have an unshaken belief in the genius that is John Carmack.
Re:Quake 3 Source Code Review by skrebbel on Sunday July 01, 2012 @05:28AM (#4184295)
I genuinely doubt Carmack is the only competent coder at id. Some of the really good ideas in here might be made up by others!
Re:Quake 3 Source Code Review by AaronMT on Saturday June 30, 2012 @06:27PM (#4183004)
Feels like yesterday that we (or at least some of us) we're all in awe with the released 'Q3Test' published online in 1999.
Re:Quake 3 Source Code Review by rangibaby on Saturday June 30, 2012 @10:19PM (#4183562)
Oh yeah. Flashback to the 90s: I got Q3Test with some magazine's cover CD and had barely-56k internet at the time so couldn't play FPSes at home until CS got popular, but that didn't matter - I was too busy wandering around the included level with my jaw on the desk.
Re:Quake 3 Source Code Review by 38leinad on Sunday July 01, 2012 @06:01AM (#4184336)
i was downloading the test with my 33.6k modem. back then, in germany, flatrates where not yet common, so i did not want to fall in the trap and waste alot of money playing online. i remember that some phone provider was having a "free internet" day (you could dial in for free if you where able to get one of the limited spots) and i was up 5 in the morning before school to play a free round of quake 3 test... good times.
Re:Quake 3 Source Code Review by ehuss on Saturday June 30, 2012 @08:47PM (#4183334)
For those who may not be familiar with id's titles, this is a code review of the older idTech3 engine. He also recently published a code review for the newer idTech4 (Doom 3): http://fabiensanglard.net/doom3/index.php

His amazing site includes code reviews for several other id software titles.

Re:Quake 3 Source Code Review by justin66 on Sunday July 01, 2012 @08:15PM (#4186615)
Brian Hook wrote up some notes on the q3 networking model a while back: http://trac.bookofhook.com/bookofhook/trac.cgi/wiki/Quake3Ne...

There are a couple of additional items of interest in there.

Re:Quake 3 Source Code Review by ibrow on Sunday July 01, 2012 @04:32AM (#4184225)
This is really very interesting stuff, and what a great site.

Are there any other resources out there that offer code reviews like this? Reviewing others code really is a great way to improve your own.

Re:Quake 3 Source Code Review by Muzza on Sunday July 01, 2012 @05:18AM (#4184280)
This might be OT, but that guy sure has some weird ideas about how to build a website.

Why are the images lazy loaded? There are like ten small images per page. It also doesn't revert to img tags in the absence of Javascript.

At one point on the first page he needs to show something with a fixed-width font. This also requires Javascript, when obviously CSS should do.

Re:Quake 3 Source Code Review by hcles on Sunday July 01, 2012 @05:53AM (#4184326)
Most people will visit the page, scroll down a screen or two and leave it since they're not game programmers.

So, just speculating, he's no stranger to bandwidth spikes so perhaps the approach employed significantly saves on bandwidth during these periods, ultimately whether it's a conscious attempt to save or just a webdev quirk I don't know.

Re:Quake 3 Source Code Review by fabiensanglard on Sunday July 01, 2012 @12:50PM (#4185287)
You got it. I implemented lazy-loading for the precise case you described: Save bandwidth from people that don't want to read the full article.

I tested it on Chrome, FireFox and Safari: I did not find it annoying....but maybe it is because I tried to put myself in the shoes of someone ready slowly and I have a DSL bandwidth...

Re:Quake 3 Source Code Review by azsromej on Sunday July 01, 2012 @01:47PM (#4185510)
Thanks for publishing these code reviews; it's fun to load up the projects and jump from file to file on a guided tour