Subscribe to andrewsw's Blog        RSS Feed
- - - - -

What is Fundamental?

Icon 3 Comments
Keen to write the next great game? A super application? You must first understand the fundamentals of your chosen language. These fundamentals are largely the same, regardless of the language.

- - - - -

A Quick (CSS) Transition

Icon Leave Comment
Typically, people use jQuery mouseenter and mouseleave (or hover) events when all they are doing is changing and/or animating css properties, then changing them back again. They could just use css :hover to change the properties back and forth. But, in particular, the animations are more easily, and more effectively, achieved using ...
- - - - -

Dabbling with Lazarus

Icon 1 Comments
I was dabbling with FreePascal and Lazarus, mainly for the nostalgia of looking at Pascal again. One advantage this holds for a beginner is that it is a one-step download and install. It also includes Object Pascal (or a version of this) and an entire GUI framework.

Sample code:
- - - - -

Memoization Example (Python)

Icon 2 Comments
Memoization :wikipedia

..that sounds ok.

What?! Although, within the bold text lies hidden the 'meaning of life'! Let's skip passed it..

The notion of tabling is good, but this will make more sense after the example.

This is much better, although the use of the word function...
* * * * *

I Self-Taught Myself

Icon 6 Comments
Great. Well done. What does it mean? Every individual on the planet is self-taught.

It is an unfortunate expression, or use of the English language, to say that I was taught... It gives the impression that acquiring knowledge and understanding is a passive act. No one can pour knowledge into your brain. The act of teaching is to:

  • ...
* * * * *

The Programming Bus

Icon 4 Comments
Invited round for a cup of tea, the friend's house is two bus stops away. His house is then directly opposite from the bus stop.

- - - - -

Factorial Walkthrough (Recursion)

Icon Leave Comment
Doing what it says on the tin! Walking through recursive function calls.

The programming language is not important, as long as you understand functions (function arguments and return statements).

Factorial :wikipedia

long factorial(int n) {    if (n == 0)        return 1;     else        return n * factorial(n-1);}
- - - - -

Santa's Database

Icon 5 Comments
We need a very large database, to store billions of records. However, it only really needs a single table, at first estimate.

Essentially, just names and addresses. However, we also need a check...
* * * * -

Debugging with Custard

Icon 5 Comments
Well, it's not really. It is more like trying to discover fundamental particles. You throw all kinds of custard at it in the hope that something sticks. Well, not custard, but other high-energy particles/radiation. And you are not hoping that something will 'stick', but for evidence of new particles. Not a particle itself: it is not...
- - - - -

Client and Server, briefly

Icon 4 Comments
The following is an attempt to explain in simple terms the difference between client and server-side processing. Specifically, the difference between Javascript, which runs on the client, and PHP (and other server-side) languages which, of course, run on the server.

The client...

  • (2 Pages)
  • +
  • 1
  • 2

October 2014

26272829 30 31 


    Recent Entries

    Recent Comments

    Search My Blog

    0 user(s) viewing

    0 Guests
    0 member(s)
    0 anonymous member(s)