Quantcast
Channel: What do you want to program today?
Browsing latest articles
Browse All 25 View Live

Did you know? Interface members are allowed to be private

This one comes as a surprise to most people, but it is possible to have a private implementation for an interface member, let's look at a very simple example, just for purposes of the...

View Article



public ASP.NET MVC { get; private set; }

For the 2 people who don't read many blogs (or twitter), but do read this one, yesterday it was announced that ASP.NET MVC 1.0 is open source baby! "Free like Speech." and there are no restrictions to...

View Article

my solution to Eric Lippert's quiz

Eric posted a quiz a few days ago, it generated quite a number of responses, so I thought I would answer with the shortest possible C# answer (with my previous team we used to kinda compete on...

View Article

Silverlight how to: Add a user control to another user control

I'm starting to experiment with SilverLight and there's plenty of material out there, but some of the small details are really hard to find. The first application I'm working on requires a couple user...

View Article

Image may be NSFW.
Clik here to view.

What are those colors on IE tabs?

I thought this was one of the best features in Internet Explorer 8, but not everyone gets the meaning of the colors on the tabs. The colors represent that the tabs are related, meaning that you...

View Article


How to: Convert DIB to Bitmap

During the weekend a friend asked for some help on code to convert a DIB to a Bitmap in .NET, he had found some code in internet and it almost did everything he needed but the image was getting cut off...

View Article

Are we done with XML yet? hello JINI

I have never been a fan of XML, I've hated it from "day one", the format is too inefficient, too bloated; I have had some ideas on things that can be done to reduce the size on xml data sets, such as...

View Article

Image may be NSFW.
Clik here to view.

Firefox taking a long time to start after upgrading to 3.5

Firefox 3.5 (code name Shirekoto) is out, get it while is hot!After updating it and running it for the first time, I got this little windowIt took me a while to even realize that that little guy was...

View Article


Image may be NSFW.
Clik here to view.

Programming is like Chess

For a long time I have believed that software development is just like a Chess game, but apparently not many people have thought about it this way, just *bing* it and you'll see less than a page of...

View Article


Image may be NSFW.
Clik here to view.

How to: Save GIF files in MS Outlook

For some reason MS Outlook doesn't give you an option easy way to save animation files (.GIF), actually it won't let you save .JPG, .PNG, etc directly from a message and what it does instead is that it...

View Article

Ping doesn't cut it for connectivity testing

A failed ping only means that the ping failed, doesn't tell you much about the connectivity.On some twitter discussion today I was reminded of how often people use the ping command to test for...

View Article

Image may be NSFW.
Clik here to view.

Apple intuitiveness: The lost OK button

Every time you connect an iPhone/iPod to a Mac, iTunes does its thing, takes forever syncing and what not (one of those things is that it steals the focus, which I hate) and when is finally done, it...

View Article

Image may be NSFW.
Clik here to view.

Mac intuitiveness: syncing notes and hard limits

I've had this issue from day 1, every time I sync my iPhone after I have added or modified some notes, I get this messageI usually keep around 10 notes on my iPhone, so, of course it's always going to...

View Article


Image may be NSFW.
Clik here to view.

Duct tape programming: Elegant code doesn't pay the bills

Finally decided to jump into the Duct Tape programmer conversation that's been around the internets for the last weeks; talk about flame wars! a large portion of the blogging/twitter community took...

View Article

Image may be NSFW.
Clik here to view.

Information disclosure: It's everywhere

You might have seen stickers like this in the back window of some minivan and maybe you thought it was funny/cute/stupid, but did you ever think of it as information disclosure? What's the big deal...

View Article


Image may be NSFW.
Clik here to view.

Software ever changing truths

Quite often in software [development] (more often than not?), as time goes on, what is truth, becomes not truth, and this is possibly one of the reasons it makes software development so difficult,...

View Article

MissingManifestResourceException was unhandled

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "PostProcessing.ConfigurationForm.resources" was correctly embedded or linked into assembly...

View Article


Image may be NSFW.
Clik here to view.

Apple intuitiveness: Upgrading OS X results in downgraded components

I just upgraded my OS X to Snow Leopard (yeah, a bit late), first of all I just can't wrap my head around the idea that OS X runs on a single hardware configuration (ok, maybe 3) yet it took over an...

View Article

VirtualBox VM won't release the mouse

Just a quick post to share this, I'm playing with VirtualBox on my OpenSuse 11.3, installing Windows XP on a VM, I decided to click inside the VM while it was still installing, hoping that the right...

View Article

SQL: Group datetime by an arbitrary time interval

Yesterday, a co-worker came to me with a puzzle, he wanted to write a query that would group records by intervals of 5, 10, 15 minutes, ideally just passing a parameter to the query to specify the time...

View Article

Image may be NSFW.
Clik here to view.

IE 9 : How to get your old address bar back

IE9 introduced a new address bar that is located on the same row as the tabs that are open, that may be useful for some people, but for everyone else it's just annoying, luckily they added an easy way...

View Article


FluentNHibernate: "unable to locate persister:"

There's quite a bit of info out there for this error message, but all I could find refers to xml configuration, the recommendation being somewhere along the lines of:Make sure your mapping file is...

View Article


Image may be NSFW.
Clik here to view.

Kindle: We were unable to download the book... please try again later

A few days ago I installed Kindle on my Mac Book Pro, then only after a couple days of using it I suddenly got this error and was not able to open any of the two books I had just bought, I was able to...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio: ASP.NET MVC, Flip quickly through your controllers and views

This tip is specifically for those writing ASP.NET MVC applications using Visual StudioAs your MVC application grows, the number of views and controllers can grow pretty quickly and ctrl+tabbing...

View Article

Steve Jobs, 1955 - 2011

“Being the richest man in the cemetery doesn’t matter to me … Going to bed at night saying we’ve done something wonderful… that’s what matters to me.”

View Article

Browsing latest articles
Browse All 25 View Live




Latest Images