public marks

PUBLIC MARKS from bcpbcp with tag programming

March 2006

HGE - GPWiki

Explicaçao e tutoriais sobre a HGE. According to hge.relishgames.com, HGE (Haaf's Game Engine) is a "an easy to use yet powerful hardware accelerated 2D game engine. It is a full featured middleware for all who want to develop commercial quality 2D games rapidly and easily." It is built upon DirectX8, but no knowledge of DirectX programming is necessary, just familiarity with C++.

CodeGuru: Mould Text in Any Shape

(via)
Sometimes, putting text in a rectangular block may just be a little too straight. I designed the C++ class QEnvelopeText to widen the range of layout options. With it, you can mould a piece of body type in any shape. It operates in the realm of GDI+, the extension of GDI which was introduced with Windows XP. In go a GraphicsPath with the "envelope" and a text string; out comes another GraphicsPath containing the enveloped text.

C# coding standards and Best Programming Practices - C#, VB.NET, ASP.NET

(via)
Believe it, majority of the programmers write 'Working Code', but not 'Efficient Code'. As we mentioned in the beginning of this tutorial, do you want to become the 'Most Valued Professional' of your company? Writing 'Efficient Code' is an art and you must learn and practice it.

PLEAC - Programming Language Examples Alike Cookbook

by 10 others (via)
Following the great Perl Cookbook (by Tom Christiansen & Nathan Torkington, published by O'Reilly; you can freely browse an excerpt of the book here) which presents a suite of common programming problems solved in the Perl language, this project aims to gather fans of programming, in order to implement the solutions in other programming languages.

GameProducer.Net » Blog Archive » Sometimes Programming Is Like Playing an Adventure Game

(via)
If sometimes you feel you cannot solve a problem and you feel tired - go to sleep and let your brain solve the problem while at sleep. It just might work.

February 2006

Introducing JSON

by 14 others (via)
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

Agent-Based Modelling Tutorials- Main Page

(via)
This tutorial contains three main sections: * Java basics - A basic introduction to some of the concepts of the Java programming language. * Eclipse basics - A basic introduction to using the Eclipse Java development environment. * RePast tutorial - A basic tutorial and step-by-step guide to creating a RePast model (with Table of Contents here)

Libwww - the W3C Sample Code Library

(via)
Libwww is a highly modular, general-purpose client side Web API written in C for Unix and Windows (Win32). It's well suited for both small and large applications, like browser/editors, robots, batch tools, etc. Pluggable modules provided with libwww include complete HTTP/1.1 (with caching, pipelining, PUT, POST, Digest Authentication, deflate, etc), MySQL logging, FTP, HTML/4, XML (expat), RDF (SiRPAC), WebDAV, and much more. The purpose of libwww is to serve as a testbed for protocol experiments.

krugle

by 3 others
Site de busca de códigos

Java ID3 Tag Library

by 1 other (via)
This library reads song information, such as song title, artist, and album, from an MP3 file. It supports ID3v1, ID3v1.1, Lyrics3v1, Lyrics3v2, ID3v2.2, ID3v2.3, and ID3v2.4 tags. MP3 Frame Headers can also be read. There is a FilenameTag, a ID3v2.4 tag that is intelligently derived from the file name. It contains tag synchronization utilities, multiple save options, and easy tag conversion methods. more ... It is hosted at sourceforge.net

PC Logic Games: Mind Rover

This is part four of five in my series on programming logic games. This week's game is Mind Rover, a commercial game which came out in the late 90s. Mind Rover is a fun and challenging game in which you build and program a rover to complete one of the many the scenarios. The scenarios range from winning a race to defeating an opponent rover in battle.

January 2006

PC Logic Games: Bug Brain

This is part three of my five part series on programming logic games. This week's game, Bug Brain, uses neural nets as its programming model. Neural nets are a mainstay of machine learning in computer science and of science fiction stories. In each Bug Brain level, you have to construct a neural net to guide your bug to complete some task. For example, in the level pictured below, you program the lady bug, and your task to have it eat the three bugs without falling off the branch.

PC Logic Games: Node Warriors

Each turn, you queue up five instructions for your cyber bug to follow from the random list of available instructions.

15 Seconds : A Step-by-Step Guide To Using MySQL with ASP.NET - Part 1

Back in the days of classic ASP, if you were building a database-driven web site, your choice was either to invest a lot of money to get a copy of Microsoft SQL Server (or some other enterprise-ready database) or invest a lot of time finding a way to deal with the performance and scalability limitations of Microsoft Access. Luckily these days there's another viable alternative: MySQL.

How To Write Unmaintainable Code

by 7 others (via)
In the interests of creating employment opportunities in the Java programming field, I am passing on these tips from the masters on how to write code that is so difficult to maintain, that the people who come after you will take years to make even the simplest changes. Further, if you follow all these rules religiously, you will even guarantee yourself a lifetime of employment, since no one but you has a hope in hell of maintaining the code. Then again, if you followed all these rules religiously, even you wouldn't be able to maintain the code!

Ruby off the Rails

by 2 others
Ruby on Rails is just one facet of what makes Ruby great, just like EJB is only part of the Java™ enterprise platform. Andrew Glover digs beneath the hype for a look at what Java developers can do with Ruby, all by itself.

PC Logic Games: Robby

This is the second in a five part series of programming logic games.

November 2005

Does Visual Studio Rot the Mind?

by 1 other
Visual Studio can be one of the programmer's best friends, but over the years it has become increasingly pushy, domineering, and suffering from unsettling control issues. Should we just surrender to Visual Studio's insistence on writing our code for us? Or is Visual Studio sapping our programming intelligence rather than augmenting it? This talk dissects the code generated by Visual Studio

October 2005