Path to a clean code LOG 1: Importance of math and logic

Icon Leave Comment
So funny story happened this night. I was simply making the first module
from a Coursera course in python. The end of the first module required you,
the programmer, to make a solution for a version of Rock Paper Scissors
from Big Bang Theory (it included Spock and Lizard). Basically instead of
one beats one it was 2 best and losses for 1.

How...
Featured

Don't Upgrade to Android 5.0

Icon 4 Comments
I have a Samsung Galaxy S5 with Verizon service. Last week I went from Kit Kat [4.4.4] to Lollipop [5.0]. Mistake.

Performance is abysmal. "lag" when using buttons on my phone should not be a thing in 2015. I was experiencing a little bit of this in Kit Kat; one of the reasons to give Lolli a go. One step forward, two steps back.

...

Why executing SMO services is an unquestionable requirement for the advancement of a website?

Icon 1 Comments
Taking after the dispatch of a business on the web, maybe the most troublesome part most start-up website admin experiences is proportional up its visibility or positioning in the search engines. Since unless your target individuals who are keen for your business be mindful of your business items/benefits, your business is defined to get by in...

Planning your project - A movie database program for example

Icon Leave Comment
This post is really an excerpt from a longer conversation. But I thought this might be a good place to keep a copy.
To view the entire conversation check out this thread.
http://www.dreaminco...15#entry2122792...
Featured

RSS Feed in WPF

Icon 1 Comments
I found this cool page to display RSS feed items in WPF:

Build an RSS reader in 5 minutes

It works great. I thought I would see how it behaves with dream.in.code's feed:

http://feeds.feedbur...ured?format=xml

Image reduced in size

Unfortunately it, for me, produces a Script Error dialog several times. My settings in IE are already set to not...
Featured

Batch Renaming Of Files Using Recursion In Python

Icon Leave Comment
Someone came into the Dream.In.Code forums the other day asking about batch renaming of files using Python. I thought I would work out the example for everyone to see and create something that they could add to their own personal libraries of code. Python makes this pretty easy to do using "os" and "os.path" but one tricky part...
Featured

Misplaced Advice

Icon 2 Comments
I was doing some marking in the first year teaching labs and there was an incident that made me think hard about the way I give advice. On this particular day the students had to write a method to add up all the numbers in an array. Here was one solution:

...

Why I chose AS3 to create my game

Icon Leave Comment
Why AS3?

Well I believe for the purposes of what I want is a easy to play online version at online gaming portals and the ability to create a desktop application that can be sold as well. So in theory if it works well the online version would essentially become a demo and the desktop version will be the full version. The online portal version...

Infinite streams and Exact real arithmetic

Icon Leave Comment
I've been gone for a while but have been learning lots. School has taken up too much time for me to do my own programming; I'm too busy doing school work and work for my job. I don't even feel like programming when I get done with the day. I have turned to reading about things in theoretical computer science instead. Most of all I have...

Visual Basic Slotmachine

Icon Leave Comment
a slot machine with sliding slots.

Download link:Download Here (Mediafire)

Image reduced in size

Plankton v1.5

Icon Leave Comment
This isn't so much of an update as a few small tweaks. I've just fixed any bugs that I've found, mainly in the drawing your own seabed geometry section, and added in a control for density which just effects how the different size Plankton elements behave in the currents. By adding this I could also add gravity so that Plankton can sink...
Featured

C++: Cache-Friendly Code

Icon 6 Comments
I have been working on a mathematical optimization project in C++ for quite some time now. While working with matrices and calculations, something caught my attention: the importance of contiguous memory allocation and writing cache-friendly code...

My Very first Foot Step in DIC

Icon Leave Comment
Hello, To every one who has come over to have look at this rag-tag blog I just created in DIC. I'm a self thought person who loves to code in PHP and in any language which is not tied down to another platform or a OS. This blog will be updated with what ever I collect from my life and my work hoping it'll help some one else.
Featured

String Format Diagnostic Update

Icon Leave Comment
String Format Diagnostic Update

I'm working on updating String.Format Diagnostics to VS2015.

This update will include a new ArgHole parser, that enables me to include colourisation of the format strings.



Currently working on updating the analysis engine, to use the results of the new parser.
So that it can...
Featured

Heavy Metal Mouse

Icon 3 Comments
Now for a much more absurd exploration into PC gaming peripherals. A long while ago, I got a basic Logitech G500s mouse for some comfortable gaming. It's all you need, it doesn't look like some cyborg shit, it does its job well and it doesn't cost too much. It also fits in your hand neatly. I noticed it came with some weights inside,...

Class is Ending

Icon Leave Comment
Class is ending the blog does not have a lot of entries but I will be trying to update it more often. The last homework assignment in my Data Structures course was to print out a binary tree in post,pre,in, and level order and also provide the structure. This involved printing out the tree in a way it resembles its theoretic analysis. The Code...

IN THE BEGINNING ...

Icon Leave Comment
When I first set out to make my online game, I already had a very good understanding of html, .asp, access database, and digital design. What scared me most was CSS and PHP. So I set out to first get a good handle on Javascript. The reason? It looked alot like my commodore 64 code of yesteryear. Even though I never fully understood the...

Making an IIDE in VB.NET

Icon 1 Comments
Recently I wondered if I can make something like VB.NET in VB.NET. Ok, this sounds crazy but it's much possible! Let me tell you how...
1) Open Visual Studio (I have 2012).
2) New Windows Form Application
3) Now the Form1 will be your starting form

ADDING CONTROLS

1) 2 TextBoxes
2) 2 Buttons

CODE...

Read the Bible

Icon 1 Comments
Take it little by little.

Short intro to memory

Icon Leave Comment
I've always heard of the stack and heap, and being advanced topics, i tried not give them too much though

But here's a two quick bullet points which made the concepts really accessible
(taken straight from the book)

- When you call a method, the memory required for it's parameters and it's local variables is always acquired from...
Hello! We have 2,396 blogs, with a total of 4,258 entries and 5,204 comments.
JackRV  Icon has recently created a new blog. Why not go take a look?

List Blogs

  • Show
  • Sort On
  • Per Page

Important Blogs

9 Active Users

9 Guests, 0 Anonymous Users