background preloader

Programming

Facebook Twitter

PHP

Java. UML. The Basics of C Programming". The previous discussion becomes a little clearer if you understand how memory addresses work in a computer's hardware.

The Basics of C Programming"

If you have not read it already, now would be a good time to read How Bits and Bytes Work to fully understand bits, bytes and words. All computers have memory, also known as RAM (random access memory). For example, your computer might have 16 or 32 or 64 megabytes of RAM installed right now. RAM holds the programs that your computer is currently running along with the data they are currently manipulating (their variables and data structures). Memory can be thought of simply as an array of bytes. Float f;

Colours

3 Hacks for Firefox That Will Double Your Internet Browsing Speed - Gnoted.com. There are many people out there complaining about the Firefox RAM Memory Bug. Lets get it straight. It’s not a bug. It’s part of the cache feature. This ‘feature’ is how the pages are cached in a tabbed environment. To improve performance when navigating (studies show that 39% of all page navigations are renavigations to pages visited less than 10 pages ago, usually using the back button), Firefox implements a Back-Forward cache that retains the rendered document for the last five session history entries for each tab. 10 sites developers should have in their bookmarks. Mysql Format Date MySQL Format Date helps you to format your dates using the MySQL DATE_FORMAT function.

10 sites developers should have in their bookmarks

Just select a common date format and then change it to your suit your needs. The MySQL DATE_FORMAT code will be generated at the bottom of the page which you can then copy into your query. Visit site: Script Src Are you tired of hunting the Internet in order to find the script tag for the latest version of the Javascript library of your choice? Visit site: Programmer Competency Matrix. Calm.com. About Koders. Optimizing C and C++ Code. Embedded software often runs on processors with limited computation power, thus optimizing the code becomes a necessity.

Optimizing C and C++ Code

10 free Linux e-books. Posted in Tech blog on February 24th, 2012 by Pingdom Who doesn’t like free stuff?

10 free Linux e-books

We put together a selection of free Linux e-books that you can read, in many cases download, and use as references, or simply to learn something. The topics range from advanced programming to Java, from GNU to Emacs, from device drivers to the kernel, and much, much more. A Quick, Painless Tutorial on the Python Language.

Norman Matloff University of California, Davis June 17, 2008 ©2003-2008, N.

A Quick, Painless Tutorial on the Python Language

Matloff Contents What Are Scripting Languages? Welcome to the Programming Games Wiki - Programming Games Wiki. Developing Android Applications, Workshop One.

Hacking

The C Library Reference Guide. How to Unlock a Computer Without a Password Reset Disk. Android. Developers. Top 10 Ways to be Screwed by "C". To get on this list, a bug has to be able to cause at least half a day of futile head scratching, and has to be aggravated by the poor design of the "C" language.

Top 10 Ways to be Screwed by "C"

In the interests of equal time, and to see how the world has progressed in the 20-odd years since "C" escaped from its spawning ground, see my Top 10 Ways to be Screwed by the Java programming language, and for more general ways to waste a lot of time due to bad software, try my Adventures in Hell page. A better language would allow fallible programmers to be more productive. Infallible programmers, of the type unix' and "C" designers anticipated, need read no further. In fairness, I have to admit that the writers of compilers have improved on the situation in recent years, by detecting and warning about potentially bad code in many cases. Non-terminated comment, "accidentally" terminated by some subsequent comment, with the code in between swallowed.

Archive of Interesting Code. The Archive of Interesting Code is an (ambitious) effort on my part to research, intuit, and code up every interesting algorithm and data structure ever invented.

Archive of Interesting Code

In doing so, I hope both to learn the mathematical techniques that power these technologies and to improve my skills as a programmer. Introduction to Java Programming. Java is a simple and yet powerful object oriented programming language and it is in many respects similar to C++.

Introduction to Java Programming

Java originated at Sun Microsystems, Inc. in 1991. It was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank, and Mike Sheridan at Sun Microsystems, Inc. It was developed to provide a platform-independent programming language. How to limit calculations to one decimal place? I think this question was asked a while ago (though QATO doesn't seem to give the year with the date), but in case anyone comes across it: To round floats to arbitrarily decimal places without converting to strings (as in Eric5h5's solution), you can use (as a general solution): function round(x, decimalPlaces) { return Mathf.Round(x * Mathf.Pow(10, decimalPlaces));} If you specifically only ever want one decimal place: rounded = Mathf.Round(unrounded*10)/10; Or two: rounded = Mathf.Round(unrounded*100)/100;

How to limit calculations to one decimal place?

Typing speed

Amit’s Game Programming Information. What’s on this page?

Amit’s Game Programming Information

I’m interested in producing complexity out of simple parts. This page contains bookmarks that I collected while working on games; I did not write most of the content linked from here. As a result the set of links here reflects the types of things I needed to know: only a few specific topics (not everything related to game programming), general ideas instead of platform-specific information (graphics, sound, compilers), and ideas and designs instead of source code (I find it easier to go from an idea to code than from code to an idea). Other sites, like Gamedev Tuts+, Gamedev, and Gamasutra, cover lots more topics than mine does. Best Linux Software. You’ve made the switch from Windows or Mac OS X, and now you’re looking for applications to install.

Or maybe you’re a long-time Linux user who’s keeping an eye out for what’s new. Either way, you’ve come to the right place. You’ve already picked a Linux distro and have settled on a desktop environment. Those are the big choices that determine what software you start with and what will run best on your machine. Codecademy Labs. Home Network Security. This section provides a basic introduction to the technologies that underlie the Internet. It was written with the novice end-user in mind and is not intended to be a comprehensive survey of all Internet-based technologies. Subsections provide a short overview of each topic. This section is a basic primer on the relevant technologies. For those who desire a deeper understanding of the concepts covered here, we include links to additional information. Mobile Computing with iPhone and Android.

10 Papers Every Programmer Should Read (At Least Twice) I spent most of yesterday afternoon working on a paper I’m co-writing. It was one of those days when the writing came easy. 30 free programming eBooks - citizen428.blog() Since this post got quite popular I decided to incorporate some of the excellent suggestions posted in the comments, so this list now has more than 50 books in it. BTW: I’m not very strict on the definition of “ebook”, some of them are really just HTML versions of books. [UPDATED: 2012-01-18] Learning a new programming language always is fun and there are many great books legally available for free online. Free Computers Video Lecture courses.

C programming.com - Learn C and C++ Programming.

Game Programming

Become a Programmer, Motherfucker.