|
Programming -
.Net and C# Articles
|
|
In this series, I’ll take a stab at explaining the different types of objects used in every day applications, how they are held in memory, and how they are eventually cleaned up. Along the way, I’ll hopefully clear up some of the haze that generally surrounds the stack, the heap, object finalization, memory leaks, “unmanaged resources,” the GC (garbage collector), and some other things. This is Part 1 of 4, covering managed and unmanaged code, and the stack. Part 2 will discuss the heap. Part 3 will cover boxing and unboxing, stucts and classes, nondeterministic finalization, IDisposable, and garbage collection. Part 4 will discuss buffer overruns, stack overflows, how to hack and Xbox, and a few best practices for memory-management-aware programming in .Net. |
|
Last Updated ( Sunday, 03 August 2008 22:27 )
|
|
Read more...
|
|
Programming -
.Net and C# Articles
|
|
Type safety basically means using strongly-typed data to protect against nasty bugs caused by type errors. A “strong type” is a programming construct that imposes certain rules or restrictions on specific data and how the data can be used. A “type error” is a bug that only appears at runtime (as opposed to compile time), and can have a considerably undesirable impact on data – often it only appears when you discover that something has gone terribly wrong. So, we should always strive to write type-safe code. Here is an example. The following method call would not be considered type safe: |
|
Last Updated ( Saturday, 26 July 2008 20:16 )
|
|
Read more...
|
|
|
Software -
Applications
|
|
Amazon's affiliate program can be big business, and many web sites rely solely on Amazon affiliate program referral frees for their income. It's a good business model for Amazon.com because it helps drive traffic and sales to their site, and it's a good deal for the affiliates because they get a small piece of the pie by creating links to Amazon.com products that are encoded with their affiliate IDs. But because affiliate information can be encoded into product links, there are also a lot of people out there who try to "hijack" affiliate revenue on web sites by posting links to products that use their own affiliate tags or IDs. This article will describe a couple of different methods for creating Amazon.com product links with encoded affiliate IDs, and will introduce a tool that site owners or content publishers can use to help thwart affiliate revenue hijackers by making it very easy for users to create appropriately tagged Amazon.com product links. |
|
Last Updated ( Monday, 04 August 2008 23:34 )
|
|
Read more...
|
|
Programming -
.Net and C# Articles
|
|
Here's a C# pizzler for you -- see if you can figure it out. Do you think the assert will pass or fail? Is the wrong method getting called here? |
|
Last Updated ( Saturday, 26 July 2008 20:25 )
|
|
Read more...
|
|
|
Robotics & Microcontroller Programming -
Articles
|
|
BlueBot is a platform for autonomous robot experimentation, engineered around a specific set of motors. It's in itself an experiment in mixing easy-to-find components and custom components, with the end goal being a well-engineered, compact, flexible and expandable platform for experimentation and development. It's a learning tool in development, construction and customization. Some of the requirements were predefined, while others were dictated by available tools and parts. |
|
Last Updated ( Saturday, 19 July 2008 21:42 )
|
|
Read more...
|
|
Programming -
PHP and MySQL Articles
|
|
Here is a fun and easy way to create user login system within just a few minutes. |
|
Last Updated ( Monday, 28 July 2008 00:24 )
|
|
Read more...
|
|
|
|
|
<< Start < Prev 1 2 3 Next > End >>
|
|
Page 1 of 3 |