Subscribe to The Madman Scribblings        RSS Feed
- - - - -

False Assumption:- "Comparision" Operators return Booleans

Icon Leave Comment
False Assumption:- "Comparision" Operators return Booleans

It is a popular assumption that "Comparision" Operators = < <= >= > <> will return a Boolean.

This assumption is false....
- - - - -

The Woe Of Dev

Icon Leave Comment
The Woe Of Dev

You see the light at the end of the tunnel, the project is almost done.
So you precede to ahead towards the lights only to walk into a brick wall, upon which someone has attach an Acme portable hole.

Tested each section independently;- they work, combine them;- They work.
Soon a you run the program and in conjunction with...
- - - - -

Some Days Programming Makes Me Feel Stupid The Other Days VS Tells Me, "To F**K O** I'm Busy!"

Icon 2 Comments
Some Days Programming Makes Me Feel Stupid The Other Days VS Tells Me, "To F**K O** I'm Busy!"

Even though I've been programming for over a couple of decades, there still are days when I do stupid mistakes.
  • Forget the .Count on a collection is one more than the index position of the last item.
  • ...
- - - - -

BrainF*ck Number Challenge.

Icon 4 Comments
BrainF*ck Number Challenge.

This stems from ishkabible who brought up an interesting challenge and an extremely difficult one at.
(We're talking about the grey-beards stroking their beards hard!)
Computer Science Thread:- Minimal Exp...
- - - - -

A Random Pick In O(n)?

Icon 7 Comments
A Random Pick In O(n)?

As far as I can attain the following implementation of Random Pick is of O(n).
...
- - - - -

BrainF*ck Interpreter In Just 3 LoC

Icon 1 Comments
I've managed to squeeze a BrainF*ck Interpreter into just 3 line of vb.net code.

...
- - - - -

A Simple Memoization Function Class.

Icon 1 Comments
A Simple Memoization Function Class.

Memoization is simply remembering the previous worked out answers for the value inputted for the function.
...
- - - - -

Exts (NuGet Packages)

Icon Leave Comment
Exts

I've gotten round to releasing a set of NuGet packages that have be laying around on my system for a while.
Note:- These packages require .net4.5.

The packages are updated version of the Exts...
- - - - -

The Kernal Of Tic-Tac-Toe (Part 2)

Icon Leave Comment
The Kernal Of Tic-Tac-Toe (Part 2)

I added a new game state ReadyToPlay because I had a issue with the kernel outputting the blank board.
Public Enum GameStates  ReadyToPlay  Playing  Win_Player1  Win_Player2  Drawn  Invalid_State  Invalid_MoveEnd Enum
...
- - - - -

The Kernal Of Tic-Tac-Toe

Icon Leave Comment
The Kernal Of Tic-Tac-Toe

Kernel Basics
What does the kernel have to do the keep track of a game of Tic-Tac-Toe.
I reckon the following isn't to far off the mark.
...

  • (12 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »