GodLikeMouse
  • Blog
  • Music
  • About Me

GodLikeMouse

.Net

Encryption and Decryption Between .NET and PHP

Introduction I recently worked on a project that required encryption and decryption by and between .NET and PHP. By default, the 2 technologies don’t mesh very well. Being that the data was originally being encrypted and decrypted by .NET, I had to write PHP code that worked with the encryption Read more…

By GodLikeMouse, 16 yearsAugust 22, 2009 ago
Code

JavaScript Command Pattern

Introduction For this example of a Command pattern, we will create a simple Interpreter object and a basic Command object and demonstrate their respective use. The Interpreter Let’s first start with the Interpreter: Ok, so what have we done here? We’ve created a basic pseudo structure with a single method Read more…

By GodLikeMouse, 17 yearsSeptember 5, 2008 ago
C/C++

Optimizing memcpy Routines

First let’s understand what the problem is. Memcpy copies memory one byte at a time. Which is fine as long as you don’t have a lot of memory to copy. If you find yourself needing to copy large chunks of memory from one spot to the next you may very Read more…

By GodLikeMouse, 17 yearsMarch 5, 2008 ago
C/C++

Finding The Fastest Write Method

I was recently tasked to develop a system that would need to write data in the Gigabytes per second range directly to disk. While doing so, I needed to spec out and build a machine that allowed for that type of bandwidth to be persisted as well as find the Read more…

By GodLikeMouse, 17 yearsFebruary 27, 2008 ago
Code

Optimization Techniques For JavaScript

Often times JavaScript coding you’ll find yourself creating a loop and at some point in time doing some form of conditional statement. Conditions in loops have a heavy impact on the speed in which JavaScript will execute. Especially when the number of iterations is high. Take for example the following Read more…

By GodLikeMouse, 17 yearsDecember 14, 2007 ago
Code

Understanding JavaScript Execution Scope

By utilizing the var keyword as a literal, pseudo structures or pseudo namespaces can be created. JSON/Pseudo Structures: All members and methods within a pseudo structure are public. The psuedo structures are non-instantiable. To access a member of a pseudo structure, use the structureName.member or structureName.functionName() syntax. As you can Read more…

By GodLikeMouse, 18 yearsMay 10, 2007 ago
Code

JavaScript Singleton Pattern

Singletons are quite effective when it comes to needing only a single instance of a class or object instanciated, regardless of when or who creates it. Let’s start by creating a basic class that we will later turn into a singleton: So, now we have a simple ValueObject class, which Read more…

By GodLikeMouse, 18 yearsMay 10, 2007 ago
Code

Developing A 3D JavaScript Engine

Many developers have really pushed the limits of JavaScript development. Most advancements have been geared toward business applications, but what about the fun stuff. What about doing it just for the challenge or perhaps, for gaming. So let’s develope a 3D JavaScript engine. Let’s start with the most basic structure Read more…

By GodLikeMouse, 19 yearsJune 11, 2006 ago

Posts pagination

Previous 1 … 7 8
  • Blog
  • Music
  • About Me
Hestia | Developed by ThemeIsle