Tag: Programming
-
5 Ways to Keep Your Web Server Secure
Equifax recently revealed that they were hacked and exposed the personal information of over 143 million people. You may not be sitting on such identity-theft rich material, but keeping your server secure is absolutely a must for any business. Fortunately it really isn’t very hard to achieve and maintain a decent level of protection.
-
How to Win at Work
It isn’t really hard to do well in a job; you just have to apply yourself and put the work first. Just like during the interview, your boss or employer’s motivation is not to give you a hard time or to make your life difficult; all they really want is to get the work done and make money.
-
Memcache as MySQL's Hero
It’s hard not to love memcache. As soon as you manage a web site that has more than a few concurrent visitors, the performance benefit of caching becomes immediately obvious. MySQL is a fast database and can outperform a lot of its competitors, but no matter how quickly it can pull results it can never outperform the retrieval speed of the server’s RAM.
-
Display Class Objects in CheckedListBox
If you want to use anything more complex than a list of strings in a ListBox, you’re in luck because the control accepts all types of objects.
-
Google Launches Its Own Programming Language
Update (November 2026): This post is from 2009, when Go was brand new. Go has since grown up: it hit 1.0 in 2012, is now widely used for servers and command-line tools, and installs natively on Windows. I've left the original text below and struck out what no longer applies, with updated wording in its place.
-
Looking Out My Back Door 2008
Good-bye 2008, you have been good to me. Over the course of the past 12 months I have learned a great deal about who I am and what I can accomplish, leaving me in fine form to hit the ground running in 2009.
-
The Net is Recession-Proof; Hire a Blogger
An interesting article at the Silicon Alley Insider today - recession winners are designers and SEO experts. Advertising is tricky for businesses because dollars spent can’t always be tracked to dollars earned. When it comes to designing a web site I like to go with the analogy of a salesperson. A web site is like an employee who works 24/7, can serve unlimited numbers of customers, and remembers everything they are told about every product. Every dollar spent on a corporate web site is returned to the company passively over time - and as the site ages and grows in traffic, its value continues to increase.
-
C#: Using Suffixes to Declare Data Literals
This isn’t new, but handy to have. In order to tell the compiler which data type we’re using, we use suffix notation as follows:
-
C#: Finding the Number of Days Between Two DateTime Items
One very common requirement is for the number of days elapsed since a particular Date and Time. In C# this can be accomplished through the use of the TimeSpan class.
-
C#: Instantiating a class of Unknown Type
The project I am currently working on has several dozen different types of Form classes, each of which is accessible from a common menu strip. Rather than repeatedly instantiating each of the forms from the menu item handlers, I wanted to funnel the request to a single function.
-
C#: Form.Close() vs Form.Dispose()
When working with a Windows GUI, it may seem unclear whether to use Form.Close() or Form.Dispose() to get rid of a dialog at runtime.
-
Breaking Java's Rules: Instantiating an Interface
Here’s a geeky party trick:
-
A Beginning
I had been running a short-lived site dedicated to the ins and outs of website scripting languages when I realized something about myself: I don’t know nearly as much as I once thought I did.