|
One of the guys who works on Windows Azure Mobile Services gave me a demo of its support for iOS. What? Microsoft supporting iOS? What? That isn’t the Microsoft (I thought) I knew. Once I got over the shock, I expected that I’d have to write code in C# (a Microsoft language), that services would run behind IIS (a Microsoft webserver), and that I’d have to use Visual Studio (a Microsoft developer tool) on Windows, which I don’t have. That would be typical Microsoft, right? Instead: The code is JavaScript, the webserver is Node.js, and I can write code in any text editor. No Microsoft things. The company even released some related code as open source and put it on GitHub. Microsoft noticed the world outside Redmond, and it likes it.
|
|
|
|
|
|
At any given time the Windows operating system is tracking statistics for the system and many of the processes / applications that are currently running on it. Things like the number of processors, how many threads are executing, how often the CLR is in garbage collection, the number of I/O operations being performed etc are all tracked through things called performance counters.... Reading performance counters involves using the PerformanceCounter class which you can find in the System.Diagnostics namespace. It takes the category, the counter name and optionally an instance. Perfmon? We don't need no stinkin' perfmon...
|
|
|
|
|
Let’s say you’re building your first API. Be it public, private, or some hybrid thereof, don’t be surprised if your first defect is date/time-related. Do not underestimate how much trouble you can get into when it comes to handling date and times. Here are some tips which might keep you out of this potential future. At the tone, it will be ISO-8601 o'clock.
|
|
|
|
|
I would definitely add: store UTC and UTC offset. [^]
This allows to regenerate the local time at origin ("it happened 12:00 their wall clock") and the local time at the receiver ("it happened when we switched to a new server").
|
|
|
|
|
I've been able to quote the "rules" from SOLID word for word this past half-decade quite easily, but my relationship and understanding of how these seemingly innocuous statements impact my code has changed over time much like my relationship and understanding of TDD. So, for the next 5 entries, I will jot down my current relationship with SOLID... Follow along this interesting series of posts by Rob Ashton on SOLID code.
|
|
|
|
|
One of ReSharper’s most notable features, Code Analysis, is now unleashed and ready to hunt for bad and dead code—without even opening Visual Studio. Dubbed as InspectCode, it is as simple as a command-line tool can be and requires a minimum of one parameter—your solution file. But as it runs it will apply all of ReSharper’s code inspections—that’s over 1,400 of them—to code in all languages supported by ReSharper! Hokey religions and ancient IDEs are no match for a good code analysis, kid.
|
|
|
|
|
Hello, world! Programs are usually written to make the text “Hello, world!” appear on a computer screen. This is also a basic sanity check for an installation of a new programming language. The first Hello World program appeared in chapter 1.1 of the first edition of Kernighan & Ritchie’s original book about C, ‘The C Programming Language’, in 1978. This is considered to be the first ever “Hello World!” program. Greetings, from 4DOS Batch to Yorick.
|
|
|
|
|
oh noes wheres brainfuck and Beatnik and Haifu
is this a signature ?
|
|
|
|
|
C# is listed twice. and LOLCODE is missing
|
|
|
|
|
|
I know. If you wanted to be a lawyer, you would have gone to law school instead of spending your nights poring over K&R. Tough. In 2013, if you're an open source programmer you need to know a few things about copyright law. If you don't, bad things can happen. Really bad things. This humorous subhead is licensed under The Code Project Open License (CPOL).
|
|
|
|
|
One of the key problems is that software patents are essentially patents on mathematical algorithms -- sets of instructions for carrying out a calculation. Since it has long been a principle that you can't patent mathematical formulae or laws of nature, there is a tension there: if software is just mathematics, why should you be able to patent it at all? New Scientist points to an interesting article in the April 2013 issue of Notices of the American Mathematical Society, in which David A. Edwards proposes a radical way of solving that conundrum.... In particular, he believes it should be possible to patent mathematics, and hence software. It's impossible to calculate how much harm these patents would cause... because the formula is patented.
|
|
|
|
|
I'm sorry, but I have already patented "impossible", "calculate", "cause" and "is".
I think you owe me a lot of money...
Simon
|
|
|
|
|
By common definition, the purpose of a job interview is to allow an employer to screen candidates and find someone to fill an open job position. Each and every applicant must prove his or her worth to the potential employer. Many will apply, but only one (or very few) will be selected. In the world of software, the overall hiring process follows the same sort of pattern. I always aim to impress any potential employer by showcasing my work and showing the best of my abilities. However, I expect any potential employer to reciprocate and make an effort to impress me. When the interviewer finally asks me, "Do you have any questions for me?", I like to conduct a little interview of my own. Check the comments for more great questions to ask your interviewer.
|
|
|
|
|
I should just repeat the headline a few times and then drop in the link to the free download, but a little context may be helpful. Playing Football Manager, so people jest, is like playing with spreadsheets, poring over lists and figures. They are wrong. Playing with spreadsheets doesn’t lead to a management simulation, it’s more of an arena-based roguelike sort of experience. Cary Walkin, an accountant and MBA candidate at the Schulich School of Business in Toronto, has created an RPG in Excel. Much of the content is procedurally generated, with more than 2,000 possible enemy types and 1,000 item combinations, but there are also boss encounters and a story with several endings. You are in a cell. There are functions to the north and the west...
|
|
|
|
|
To make sure everyone knows what we’re planning and can participate in this rapidly growing ecosystem, I’m pleased to announce and personally invite you to our next developer conference, Build 2013, which is taking place June 26-28, 2013 at the Moscone Center in San Francisco. It’s been a while since our last developer event in the Bay Area, and we’re looking forward to a fantastic gathering. Save the date and mark your calendar for the opening of registration next week, at 9 a.m. PT on Tuesday, April 2 at www.buildwindows.com. I left my heart (and an ethernet cord) in San Francisco.
|
|
|
|
|
Do a lot of HTML/CSS coding? Want to save your <> keys from an early grave, and your fingers from wear and tear? Then you'll want to install Emmet[^] in your favourite text editor (I see Notepad++, Vim, Sublime and TextMate in the list, that's all that matters to me). No VS yet, but as Zen Coding had a VS plugin, and Emmet is the upgrade of Zen Coding, it's only a matter of time.
--------------
TTFN - Kent
|
|
|
|
|
I've been playing around with some web stuff, and getting irritated with Aptana's auto tag closing acting funny if you add an attribute before ending the opening tag (e.g. type "<div class="cls">" end up with "<div class="cls">></div>", an extra ">" than I wanted). This looks like an easy way around that, and the added benefit of less typing. Have to try it out when I get home.
|
|
|
|
|
|
And they are already giving hints... Clickety[^]
|
|
|
|
|
That is actually kinda cool.
Gryphons Are Awesome! Gryphons Are Awesome!
|
|
|
|
|
It's a lot of fuss over what is basically Windows 8 Service Pack 2.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|
=====
===
=
|
|
|
|
|
Lloyd Atkinson wrote: It's a lot of fuss over what is basically Windows 8 Service Pack 2. It's a big deal for those of us running 8 and missing those features.
|
|
|
|
|
An invalid time?! Since when is 1am on March 31 an invalid time? I mean it’s not like it’s November 31 or February 29 on a non-leap year, what an earth is wrong with this time?! And for that matter, how on earth do you get an error when converting GMT to UTC, isn’t it the same thing?! The problem is that 1am on March 31 this year simply will not exist in the time zone above; people there will literally travel through time! The other problem is that GMT isn’t UTC – but it’s close. Spring forward. Fall back. Abort. Retry. Cancel.
|
|
|
|