|
Space Tyrant: A multiplayer strategy game and programming project |
 vote
 |
|
The Game Space Tyrant (ST) is a free telnet-based space strategy game that anyone with Internet access can play. All you need is a telnet client -- which is included in virtually all operating systems released in the last ten years. The ST game features include:- player configurable starships
- endless variations of economic, military, and political strategy
- pure player-vs-player; there are no in-game monsters
- an in-game radio with paging and secret channels
- teams with private team radio channels
- the ability to modify the universe by guarding sectors and moving objects
- . . . and much more
The game is intended to provide a universe and a set of physical laws where players can create their own strategies. If you're interested in playing or looking at the game, go to the game introduction page.
The Code Space Tyrant is also an Open Source (GPL 2) programming project in the C language compatible with any recent version of GCC. ST is pure C code (the embedded shell script, mentioned below, is technically a C comment ;). It consists of a single source file that is an example of:- a Linux / Unix daemon
- a multithreaded game server
- a network socket listener
- a memory-resident daemon with an asynchronous dirty block backup thread
It also includes:- a simple and understandable recursive sort
- an example of function pointer arrays implementing a menu
- a ring buffer message queue
- a simple random number generator macro
- a detached thread spawning and reaping routine
- signal processing routines
- a loop-based shortest-path algorithm
- an embedded compile shell script (run `sh st.c` to compile the code)
- . . . and many more curious features
The codefile consists of fewer than 4500 C statements. Counting multiline C formatting and comments, the entire file is under 9500 lines long.
Programmers interested in the code -- as well as anyone interested in hosting a game -- might want to go to the Space Tyrant source code page. read more...
| | |
| | |
| |
|
| | permapage | score:9955 | -Ray, March 7, 2007 |
|
WinAsm Studio |
 vote
 |
|
WinAsm Studio is a free Integrated Development Environment for developing 32-bit Windows and 16-bit DOS programs using the Assembly Language. It is a MUI application already translated to many languages and includes a Visual Resource Editor for rc scripts. Highly extensible via user created Add-Ins (aka plug-ins).
A lot of free (most of which are open source) projects (such as HiEditor, a large file editor), custom controls to download, a popular programming forum and a link directory to add your site.
Best Regards,
Antonis Kyprianou read more... |
|
| | permapage | score:9949 | -akyprian, March 2, 2007 (Updated: March 13, 2007) |
|
VisualBuilder.com |
 vote
 |
|
| Learn AJAX, PHP, JSP, ASP.NET, DHTML and other cool Web 2.0 Development techniques from the experts. Read the JSP tutorials and download the basic source code snippets and start developing now - All FREE read more... |
|
| | permapage | score:9946 | -imran, February 17, 2007 |
|
Extreme Testing |
 vote
 |
|
| Extreme testing derives from the concepts outlined for extreme programming (XP) and distributed extreme programming (DXP) and tailored to be applicable to onshore-offshore model of software development, single & multi vendor model of software development. This approach retains the classical concepts of eXtreme Programming like simplicity, discipline, communication, quality, and flexibility read more... |
|
| | permapage | score:9938 | -riseoficarus, June 19, 2007 |
|
Javascript Graphics Functions |
 vote
 |
|
Have you ever wanted to embed cool graphics functions into a web page?
This JavaScript VectorGraphics library provides graphics capabilities for JavaScript: functions to draw circles, ellipses (ovals), oblique lines, polylines and polygons (for instance triangles, rectangles) dynamically into a webpage. Usage of this Vector Graphics library should be easy even if you don't have JavaScript experience. Documentation. read more... |
|
| | permapage | score:9927 | -Ray, December 23, 2005 |
|
Free pdf book: Programming from the Ground Up |
 vote
 |
|
Note: This 326 page introductory programming text is in .pdf format.
I will take you through the difficult issues because that is the only way to move on to masterful programming. My goal is to take you from knowing nothing about programming to understanding how to think, write, and learn like a programmer. You won’t know everything, but you will have a background for how everything fits together. At the end of this book, you should be able to do the following: read more... |
|
| | permapage | score:9904 | -Ray, January 23, 2006 |
|
A simple Java tutorial |
 vote
 |
|
This is an excellent Java tutorial with no unnecessary prerequisites. If you're an experienced C programmer, you'll just fly past the reused concepts and keywords, but it helps to know which ones are reused. If you're not yet a programmer, this is probably the right tutorial for you.
This tutorial has grown into a book called The Java Developer's Resource, available now from Prentice Hall. It's now out of print, but the examples and exercises from that book are also online here and may be of use. read more... |
|
| | permapage | score:9902 | -Ray, March 2, 2006 |
|
CSS and Tables: The Hype and Trends |
 vote
 |
|
The History of tablesBefore tables came along, the web was a pretty dull place. Using tables for layout opened up new vistas of possibilities of visually “designing” a page. It could well be argued that table based layout was responsible for the popularity of the web and the field of web design. Worse still, over the last few years, table based layout has come under severe criticism and was widely demonized. Web purists claim that tables were never meant for layout so one shouldn't use them for such. A rapidly progressive hype seems to be in the air all around. Reality behind the hype Despite the fact that pioneers have been talking about web standards for a long time, the majority of web sites are still developed using tables and non standards compliant code . History has shown many examples of technologies that started out life with one purpose, only to end up finding more practical applications as something else. And it sounds very apt in case of tables. The web itself was never intended to be a channel for edutainment, marketing and information but for sharing research data. Using tables is a pragmatic approach, if not preferred The W3c Web Accessibility Guidelines recognize that designers will continue to use table for layout - and so include information about how they can be implemented in the most accessible way. Designers are not going to immediately stop using tables for layout; mainly owning to the reason that this is the default behavior of most WYSWYG (what you see is what you get) Web design packages and; CSS for layout is so difficult to implement successfully. Moreover, Professionals still argue the use of tables for the layout of pages on the Web, despite the fact that this goes against current standards. They argue it to be a pragmatic approach – if not their preferred options. Let's explode the myths: CSS vs Tables Most web designers don't simply feel the need to switch over The majority of web sites are still developed using tables and non standards compliant code. Because of this, user agents will be forced to handle table based layouts for many years to come. This effectively negates one of the biggest selling points for web standards. That of forward compatibility. That's why, most web designers really don't feel there is an overwhelming need to start developing sites using CSS based layouts and standards compliant code. CSS development has a much higher barrier to entry than table based design While comparing table based design to CSS based design, the syntax of CSS, for sure, turns out to be is pretty easy. Nobody in their right mind would argue that you need too be a rocket scientist to learn CSS. Nevertheless, some of the concepts can be quite tricky to assimilate. Continuing in the same spirit it is true that there are so many bugs, even the “experts” find themselves spending an inordinate amount of time bug fixing. For a novice this must be extremely frustrating. Not knowing if the problem is down to your misunderstanding of CSS or some obscure browser bug. Perhaps this is why many people see web standards as “Ivory Tower” and why many web standards advocates come across as having a sense of superiority and a zealous attitude towards web design. Some things are just easy-to-do with tables People often find themselves writing fairly complicated CSS to do something that would be trivial using tables. Take form styling for an instance. It's possible to lay out even very tricky forms using tables in just a few minutes. You can achieve similar results by floating elements with CSS, but it's a lot more involved. If you're a CSS guru it's all part of the fun. However if you're a regular mortal, it can be incredibly frustrating. Another such thing is page footers. It's pretty easy to do using tables. Whilst doing this using CSS alone, it would hardly be any wonder why web developers turn their back on CSS when even simple things are rendered so If you have the knowledge and patience, you can do most things using CSS that you used to do using tables. Sure it may take you longer, but you'll get there in the end (or die trying). CSS benefits. But does it provide you what you need? It's true that switching a large site to a CSS based layout can save a huge amount of bandwidth. However, for most sites, this saving would be insignificant or mostly irrevelent. People want fast loading pages and many advocates have suggested that CSS helps accomplish this. For most sites, the “design” is spread evenly across the whole site. However with CSS based sites, the “design” is usually held in one or more external files. These files can be fairly complicated, and even for a simple site, can get big, or even fast. Search engine friendliness: CSS vs Tables It's true that the search engines like semantic pages. It's also a widely held notion that search engines like lean code. Building a site using CSS and web standards can defiantly encourage the development of search engine friendly sites. However it's neither magic bullet, nor a panacea either. There are many table based sites that score very highly in the search engines. It's equally possible to build a CSS based site that gets a terrible search engine ranking. The most important thing for high ranking is content and inbound links, not whether a site uses tables or CSS for layout. Issues pertaining to accessibility There is quite increasing number of people who try to sell web standards and especially CSS based design by playing on client's accessibility fears. There isn't anything inherently inaccessible about table based design. While it's true that your site needs to be published to a recognised set of grammars to get an AA accessibility rating, tableless design is only a recommendation, not a requirement for the more stringent AAA rating. The final word Final Table based design will be around for a long time. However, it is not good enough just to say that it is wrong to use them . In certain circumstances using tables for layout can make much more sense than CSS. Web standards and CSS based design are defiantly the way forward. However in the rush to advocate these “new” techniques, people end up being hyperbolic and the reality falls short of expectationent Company with a well connected development infrastructure in India having a strong offering superior web services and solutions at competitive costs. Deepak Sharma is a Web Designer at BlueApple, a Web Design and Development Company with a well connected development infrastructure in India having a strong portfolio with global clientele and offering superior web services and solutions at competitive costs. |
|
| | mail this link | permapage | score:9897 | -Deepak Sharma, May 29, 2006 |
|
The Ten Commandments for C programmers |
 vote
 |
|
The Ten Commandments are annotated with additional enlightenment so that they speak even more eloquently for themselves...
2 Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end.
Clearly the holy scriptures were mis-transcribed here, as the words should have been ``null pointer'', to minimize confusion between the concept of null pointers and the macro NULL (of which more anon). Otherwise, the meaning is plain. A null pointer points to regions filled with dragons, demons, core dumps, and numberless other foul creatures, all of which delight in frolicing in thy program if thou disturb their sleep. A null pointer doth not point to a 0 of any type, despite some blasphemous old code which impiously assumes this. read more... |
|
| | permapage | score:9891 | -Ray, January 5, 2006 |
|
C, C++ Tips, FAQs, and Tutorials |
 vote
 |
|
This one-page resource contains lists of C and C++ programming links on the following topics:- Tutorials
- C++ Tips and Tricks
- Debugging
- C++ Compilers
- Source Code Archives
- Journals and Newsletters
- Pointers and Dynamic Memory Allocation
- Coding Standards
- C Programming (resources)
- Standard Template Library (STL)
read more... |
|
| | permapage | score:9887 | -Ray, December 18, 2005 |
|
jarfinder - Free jar database |
 vote
 |
|
Ever pulled your hair out trying to find which jar file is missing from your classpath? Jarfinder is here to help.
JarFinder is a free searchable database of jar files. It provides a quick and easy way to resolve ClassNotFoundExceptions and NoClassDefFoundErrors.
Just enter the name of a class and jarFinder will produce a list of jar files that contain it.
The database is already large and is growing day by day. Currently only jars released under free and open source licenses are indexed, but commercial software may be added in the future. read more... |
|
| | permapage | score:9882 | -colin, March 6, 2006 |
|
ByteMyCode: Online Code and Tutorial Sharing Site |
 vote
 |
|
| ByteMyCode is an online code and tutorial sharing site that allows users to upload snippets or tutorials containing both code and text. It automatically applies syntax highlighting to code in over 20 supported languages. Users moderate code submissions and the most popular snippets are displayed on the top snippets page. The site also allows you to comment on code that has already been submitted. read more... |
|
| | permapage | score:9855 | -ByteMyCode, September 15, 2006 |
|
Effective Programmer Practices |
 vote
 |
|
The one I have the most trouble with is #3, 'understand your code'...
I mean the ability to complete projects in a timely manner with the expected quality. After working on dozens of software releases, I believe the following practices will bring you there, and while they may involve sticking your neck out, I'd like to think they will also advance your professional reputation, career longevity, and personal satisfaction. read more... |
|
| | permapage | score:9855 | -Ray, December 26, 2005 |
|
Blog software feature list |
 vote
 |
|
This handy table lets you compare the major blogging software packages feature-for-feature. The blogging software packages compared are Blogger, TypePad Basic, TypePad Plus, TypePad Pro, Blogware, WordPress, Movable Type, and Expression Engine.
This chart is a companion to the article "Time to check: Are you using the right blogging tool?," published July 14, 2005 in the USC Annenberg Online Journalism Review. Do note that this chart reflects only standard features of the tools' installation, and not every possible extension, plug-in modification.... read more... |
|
| | permapage | score:9852 | -Ray, January 1, 2006 |
|
Maze Algorithms |
 vote
 |
|
Read this before you design that maze!
Mazes in general (and hence algorithms to create Mazes) can be organized along seven different classifications. These are: Dimension, Hyperdimension, Topology, Tessellation, Routing, Texture, and Focus. A Maze can take one item from each of the classes in any combination. read more... |
|
| | permapage | score:9850 | -Ray, December 13, 2005 |
|
Ten Minute Python Tutorial |
 vote
 |
|
Interested in Python? Got 10 minutes? Then take this whirlwind tutorial tour of Python. It may be the quickest way to decide if Python is really what you're looking for.
This tutorial will attempt to teach you Python in 10 minutes. It's probably not so much a tutorial as it is a cross between a tutorial and a cheatsheet. I assume that you are already familiar with programming and will, therefore, skip most of the non-language-specific stuff. The important keywords will be highlighted so you can easily spot them. read more... |
|
| | permapage | score:9844 | -Ray, January 12, 2006 |
Articles and website reviews are owned by their authors. The rest is © 2000-2008, Ray Yeargin.
| |