|
You're doing it wrong.
Really horrible code should be dragged into a filthy, deserted, vermin infested alley; have its legs and jaw broken; and then be shot in the gut. We can then take bets on if bloodloss, sepsis, or the rats finish it off.
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
|
|
|
|
|
Way back in the day, when I first really got into real Mac programming I used an old IDE called Think Pascal. One of the cool things about it was that unlike Think C, it allowed programming with proportional fonts. I typically used Geneva to code in Pascal and Monoco to program in C. I later switched to doing almost all my coding in Visual Studio which didn’t work well with proportional fonts.... [Then] someone mentioned to me that Xcode actually works with proportional fonts... Have you ever tried coding with proportional fonts?
|
|
|
|
|
Yeah, 5 minutes!
I guess it's an acquired taste... but fixe sized font is good to edit mulitple lines at a single time (with VS!!)
BTW, you can choose proportional font for code in VS too!
My programming get away... The Blog...
Taking over the world since 1371!
|
|
|
|
|
Have a blog? With small adjustments, you can noticeably improve its typography. Your readers will thank you for it. This guide will help you understand the typographic foundations that will improve the readability of your articles. Good reading starts with a good layout...
|
|
|
|
|
I don’t feel that the way DirectX has been handled in recent years has been a positive thing. A number of technical decisions were made that were unfortunate, and then a number of business and marketing type decisions were made that compounded the problem. Many of the technologies (DirectInput, DirectSound, DirectShow) have splayed into a mess of intersecting fragments intended to replace them. The amount of developer support for Direct3D from Microsoft has been unsatisfactory, and anecdotal reports of internal team status have not been promising. Somebody told me a year or two back that the HLSL compiler team was one person. That’s not something you want to hear, true or not. Worst of all, though, was the communication. That’s the part that bugs me. You’ll understand if I am not in a hurry to start coding for your newest framework.
|
|
|
|
|
This is very unfortunate. What happens when decisions are not made with strategic thinking. Sort of like the mess the US Economy is in.
|
|
|
|
|
Wait, so what is the proposed replacement for DirectX? I highly doubt Microsoft are considering OpenGL.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|
=====
===
=
|
|
|
|
|
OpenGL rules, it has a software renderer fallback, something that DirectX never offered.
Wout
|
|
|
|
|
DirectX remains!!!
But instead of XNA (shameless plug, although I should be, it's no where near ready...) you can use my WinRT binding for DirectX!
http://directwinrt.codeplex.com/[^]
Just did some D2D work lately, this API is almost usable now!
My programming get away... The Blog...
Taking over the world since 1371!
|
|
|
|
|
I am writing a multi-discipline article for quite some time. I was using OpenGL at first, later changed to XNA so that I did not have to write my own 3D model importer; On hindsight, I should have sticked with OpenGL, One good side-effect OpenGL has to offer, is that I can easily port my code to WebGL (if browser support) where my users can watch the preview before they click OK to make video on the server.
|
|
|
|
|
If you ever connected to the Internet before the 2000s, you probably remember that it made a peculiar sound. But despite becoming so familiar, it remained a mystery for most of us. What do these sounds mean? As many already know, what you're hearing is often called a handshake, the start of a telephone conversation between two modems. The modems are trying to find a common language and determine the weaknesses of the telephone channel originally meant for human speech. Below is a spectrogram of the handshake audio. It's an older article, but when was the last time you had to dial up?
|
|
|
|
|
So I found yet another cool use for a Raspberry Pi. You can actually use it as a file server, or more accurately a controller for a file server. All you need is your Pi and a nice external drive and you can serve files to anyone on your network. It’s pretty easy, I’ll show you how. You need the Raspberry Pi set up and connected to your network. You’ll also need an external drive. I’m using a Western Digital My Book 500 GB drive. Set up the Pi, then serve a slice to your Windows desktop.
|
|
|
|
|
PNG is now the most popular lossless image compression format on the web. Only the lossy JPEG, which is the most appropriate format for photographs, is used on more sites. While GIF's patent issues mentioned above are long resolved, it's the technical superiority that now convinces webmasters to chose PNG over GIF. Technically, the PNG format CAN be animated...
|
|
|
|
|
No surprise, considering how bad the "best" quality GIF's are in comparison to, pretty much, every other picture format.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|
=====
===
=
|
|
|
|
|
If you've been paying attention, you'll know that BlackBerry (née RIM) unveiled its long-awaited BlackBerry Z10 and Q10 handsets today alongside the BlackBerry 10 operating system. Our full reviews of both the Z10 (which we were given as we left the press event) and the BlackBerry 10 OS themselves will be here in the next few days, but in the meantime we have one question: just how fast are these phones? Not cutting edge, but speed shouldn't be a problem.
|
|
|
|
|
Security experts hired by The Times to detect and block the computer attacks gathered digital evidence that Chinese hackers, using methods that some consultants have associated with the Chinese military in the past, breached The Times’s network.... The hackers tried to cloak the source of the attacks on The Times by first penetrating computers at United States universities and routing the attacks through them, said computer security experts at Mandiant, the company hired by The Times. This matches the subterfuge used in many other attacks that Mandiant has tracked to China. Well, that's one way to get past the paywall.
|
|
|
|
|
For me personally, the term "TFS" has historically meant "big scary corporate centralized source control" while Git has meant "small scrappy lightweight distributed source control." TFS meant connected (ZOMG, I can't code on a plane!) and Git meant occasionally connected (ZOMG, I don't know what rebase means!). However, I learned that Team Foundation Server (TFS) isn't just source control, it's a whole bug tracking, change management, application lifecycle management (ALM) suite. Source control is one pluggable piece. On the other hand, Git isn't just source control either. Git has become effectively FTP for code. ALL YOUR REBASE ARE BELONG TO US!
|
|
|
|
|
If you’re curious, the actual information content of this post will be as follows: C string handling functions kinda suck. So does C++’s std::string. Dealing with wide character strings using only standard C/C++ functionality is absolutely horrible. And VC++’s implementation of said functionality is a damn minefield. That’s it. You will not actually learn anything more from reading this post. Continue at your own risk. How not to remove whitespace.
|
|
|
|
|
|
_beauw_ wrote: Does he believe in Santa Claus as well?
Add the Tooth Faerie, and Easter Bunny too
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
|
|
|
|
|
One of the largest battles in EVE Online history took place due to an accidental click, according to reports. The full details of why and how so many ships ended up battling each other is a fascinating read, but my question is what happens to the servers when something this crazy happens in the game. CCP, the creator of EVE Online, has detailed plans in place specifically for this sort of event. This is my server. There are many like it, but this one is mine...
|
|
|
|
|
As sure as night turns into day, sooner or later your PC will descend into an unrecoverable abyss where it no longer boots, stays booted or can’t even get booted to begin with.... Particularly for folks like me involved in building software, getting from zero to where you were when everything went wrong is a very high friction exercise. I reckon it’s the better part of a day’s effort to reinstall, reconfigure and restore files and you’ll still be finding missing things a month later. From zero to compiling, a dev's guide to repaving a Windows development box.
|
|
|
|
|
Both client and server are standard implementations of Git. Our client will work with pretty much any Git repository – local, enterprise, Codeplex, GitHub, BitBucket, …. And TFS will work with pretty much any Git client – existing Git command lines, XCode, Eclipse’s Git support, …. This was a core principle from day 1. This is not about lock in – it’s about providing a good and interoperable Git capability. They pulled the best solution on the net and merged it into VS.
|
|
|
|
|
Git Support Added to Visual Studio and TFS[^]
tfs clone git
The choices for Visual Studio continue to spread. Maybe they'll add support for SourceSafe for those who don't like to save their code.
--------------
TTFN - Kent
|
|
|
|
|
What's so great about JavaScript Promises?[^]
if(you.transferItem(me, ITEMS.hamburger, Date.now())).then(
function() {
me.transferItem(you, ITEMS.cash, new Date.nextTuesday());
}
);
Writing async code isn't pleasant, can promises make them easier?
--------------
TTFN - Kent
|
|
|
|