|
IDisposable is a standard interface in the .NET framework that facilitates the deterministic release of unmanaged resources.... Despite IDisposable having only a single method named Dispose to implement, it is commonly implemented incorrectly. After reading this blog post it should be clear how and when to implement IDisposable, as well as how to ensure that resources are properly disposed when bad things happen (also knows as exceptions). To dispose() or not to dispose(); that is the question.
|
|
|
|
|
The... “multiple layers of defense” strategy applies to modern software development. For example, even though the compiler will scream at you if your code does not make sense, there is no reason to skip fixing it, if you happen to see it on your editor.... The principles are summarized as: If you screw up, you want to know earlier than later, and the first layer should have the lowest cost and effort. Test early, test often... and get something to test automatically if you can.
|
|
|
|
|
Starved for articles mate? This one was a bit, well, weak.
|
|
|
|
|
Although there exist numerous books explaining principles and structures of operating systems, there is a lack of descriptions of systems actually implemented and used. We wished not only to give advice on how a system might be built, but to demonstrate how one was built. Program listings therefore play a key role in this text, because they alone contain the ultimate explanations... Built from scratch to teach system design with actual, working code.
|
|
|
|
|
Like most developers (I assume), I spend the majority of my workspace staring at a terminal window.... When you look at your terminal this much, it needs to be beautiful. More than that, it needs to know you. You need to have a history with it. No, not like that. Here are 5 things that you can do to make your terminal great. ...and it will love you bash.
|
|
|
|
|
If he's assuming most devs are penguins, the only type for whom that assumption is reasonable, why should I assume anything else he has to say is relevant either?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Regex Tuesday is the day where everyone writes regex for a day! Every tuesday, I will push a new challenge to this website. They can be easy or tricky, and there is sure to be a variety of different challenges available. Here's a challenge. Solve it with RegEx. Now you have two challenges.
|
|
|
|
|
Do you like Unix? Do you really like Unix? Well, what if I told you there's a little-known operating system out there that's more Unix than even Unix is. Cool, right? Well it is true! Plan 9 occupies an interesting niche in the open source operating system world. It is a full-fledged descendant of Unix, but not in the way that most systems out there are. It took the bones and beating heart of Unix and then built a brand-new cybernetic exoskeleton around it, with lasers, and heat vision... oh wait. You want to boot this bad-boy up, right? Well, okay, we'll do that. But what hardware shall we run it on? Hey, you got a Raspberry Pi? Thanks to 9fans, there's a ready-to-go image for the Raspberry Pi.
|
|
|
|
|
Can digital rights management technology stop the unauthorized spread of copyrighted content? Ten years ago this month, four engineers argued that it can't, forever changing how the world thinks about piracy. Their paper, "The Darknet and the Future of Content Distribution" was presented at a security conference in Washington, DC, on November 18, 2002. ...and how they nearly got fired for it.
|
|
|
|
|
Ask yourself, how on earth can an IDE that requires 7.56 GB to install be fast enough to even be usable at all? What kind of monster machine is required to not even choke to death when I accidentally open a second instance of Visual Studio? We’ve all seen those dreadful white screens of death, right? SharpDevelop seems happy with just 64 Mb. Is that a feature or a bug?
|
|
|
|
|
On Nov. 29, 1972, a crude table-tennis arcade game in a garish orange cabinet was delivered to bars and pizza parlors around California, and a multi-billion-dollar industry was born. Here's how that happened, direct from the freaks and geeks who invented a culture and paved the way for today's tech moguls. Game Just Getting Started.
|
|
|
|
|
Here. The unlocked iPhone 5 can finally be bought via the Apple store in the US.
However, they only have the GSM model.
|
|
|
|
|
Building apps that behave like humans is hard. Building ones that see the world and interpret it like we do is even harder – it’s because of this that developers at Google, Microsoft and many other large companies have invested so heavily in projects like reCAPTCHA so that they can try and teach computers to read the way humans do..... This is where OCR software comes in, and more directly for us developers, OCR software that offers an easy to use API for plugging your app into its 20/20 vision. Building an OCR-capable app the easy way.
|
|
|
|
|
This is the first (zeroth) post in a series on getting started using MonoGame to create a Windows 8 Store game. Unless you want to spend the money on a Unity3D license, I think it’s the best option available for a hobbyist C# game developer to create a game for Windows 8. Interesting series of posts on Windows 8 game development. Follow along.
|
|
|
|
|
I’ve been a little late to the NuGet bandwagon. Overall I am really happy with the service that NuGet provides. It is not all smooth sailing though.... TFS get latest on a solution does not bring down NuGet package changes. I did have an idea about how to at least raise the awareness of new and updated NuGet packages in a solution to a team that uses TFS. Using the new Team Alerts feature in TFS 2012 will do the job. A custom TFS alert can notify the developers of a check in to the packages directory.
|
|
|
|
|
Sometimes R code just isn't fast enough - you've used profiling to find the bottleneck, but there's simply no way to make the code any faster.... You'll learn how to rewrite key functions in C++ to get much better performance, while not taking too much longer to write. The key to this magic is Rcpp, a fantastic tool... that makes it dead simple to connect C++ to R. If this is too easy, you can always use C or Fortran.
|
|
|
|
|
+5
m.bergman
For Bruce Schneier, quanta only have one state : afraid.
To succeed in the world it is not enough to be stupid, you must also be well-mannered. -- Voltaire
In most cases the only difference between disappointment and depression is your level of commitment. -- Marc Maron
I am not a chatbot
|
|
|
|
|
Naming things is hard. Why do we expend so much effort to get them right? Because naming programming concepts well gives us a big insight into how they fit into the system we’re designing. Continually renaming things records our insights as we go: the right names for our objects, methods and variables will yield fresh insight and in turn shape the design of the system. A variable by any other name would... probably be the wrong type, too.
|
|
|
|
|
Gag me.
|
|
|
|
|
Microsoft-designed Surface phone orders reportedly sent to Foxconn This could be interesting.
|
|
|
|
|
|
Most programmers start off their career relatively idealistic, and often marvel at the power of little used programming languages. For me, this language was Common Lisp, which I got to work with professionally. At first I believed that Lisp still had the power to revolutionize programming, but after a few years of work I realized exactly why Lisp ended up in the position it is now: community. Every programming community has a few core beliefs, both explicit and implicit, that shape the language, the libraries, and its users. The Haskell community believes that errors should be caught by the compiler as often as possible, and Ruby believes in the principle of least astonishment. The Lisp community suffers from a belief that I call the Myth of the Lone Hacker. This code ain't big enough for the both of us...
|
|
|
|
|
Fortunately, the blog was short so I don't feel like I wasted too much time on it.
m.bergman
For Bruce Schneier, quanta only have one state : afraid.
To succeed in the world it is not enough to be stupid, you must also be well-mannered. -- Voltaire
In most cases the only difference between disappointment and depression is your level of commitment. -- Marc Maron
I am not a chatbot
|
|
|
|
|
It’s incredibly exciting to see how the Web is evolving, and 2013 has a lot more in store. Over the next year, there are a number of technologies coming down the pipeline that have the potential to radically transform how we use and develop for the Web.... While many of these APIs will take some time to filter over to other browsers, the market share that WebKit wields will pressure other browser vendors to offer their own implementations. Coming soon to a browser near you.
|
|
|
|
|
It’s hard to believe it’s been just over a month since Surface with Windows RT hit the market. The response from Surface customers has been fantastic and exciting to see.... Today, I want to share a bit more detail about the growing Surface family of products and Surface with Windows 8 Pro, specifically around pricing. In January, Surface with Windows 8 Pro will be available in two versions and pricing will start at... 64GB standalone version at $899, 128GB standalone version at $999.
|
|
|
|