Tag | Programming Posts

Thursday during the keynote at PubCon in Las Vegas Microsoft announced “Project Silk Road” which is a collection of services, including a new version of the Live Search APIs for developer community – basically Search API 2.0 Beta + Search Ads pilot. I can tell you all from firsthand experience that this is very slick! As one of the first implementations of the Live Search API 2.0 Beta , we got it up and running on GeeksWithBlogs.net very quickly and couldn’t be happier with the results. Search API ...
15.5 hours in to what I hoped would be a 5 hour day... Working the last major bug on the bug list... A bug that has literally consumed over 200 hours of development spread among various team members... A bug that our best minds looked at, and looked at, and looked at, to no avail... A bug that got the project lead so frustrated, he did the programming equivalent of taping electrical tape over the blinking VCR clock... And today, the black-electrical-tape patch started showing massive bugs of its ...
2500 years ago, a man named Aesop gathered the accumulated software development knowledge of the ancient Greeks, and presented the knowledge to history. However, since so few people in the intervening millennia knew anything about software, they misinterpreted Aesop's lessons as simple morality fables, rather than as hard advice for software managers. Now you can learn what Aesop had to teach us about software development processes and management. The pioneering programmer known as Aesop is still ...
So in Part 4, I said that recognizing the music key would be tricky. But why? Didn't I spend most of Part 3 explaining how cleverly I used M-SAPI so that users only had to say partial names to be recognized? Well, yes; but I've long said that programming has a Conservation of Complexity law: the less complex for the users, the more complex for the programmers. (Be glad: that's the short version. My long discussion on Conservation of Complexity would take up the rest of this post.) The reason why ...
I wrote Dee Jay as an example for a proposed talk for the Ann Arbor Day of .NET, and as a way to learn more about the Managed Speech API in Microsoft Windows Vista. Dee Jay works with M-SAPI and Windows Media Player to give you a totally voice-controlled way to play your music. You simply say a command like "Dee Jay, play some Dire Straits", and it searches your song catalog for songs by Dire Straits, picks one, and plays it. Or you can name a specific title, or even a genre. If there are multiple ...
(UPDATE: This is a rerun of a best-of post from 2006. I applied the fix described below, and have never seen the error in question again.) Ever since I got my Gateway CX200X — and even before, with my less-than-wonderful Toshiba M200 (which I'm managing to put to productive use, but cautiously) — I've had this annoying problem. When I would shut the lid, with every expectation that that would suspend the machine, I would be deceived. I would put the machine in my backpack, and head off for the road ...
Well, maybe that's not exactly how he put it; but he referenced a post where I wrote: Richard Hale Shaw makes an interesting argument against the C# using statement (not the using directive; and thank you, C# team, for that bit of confusing language). I disagree with him; but it will take time and sleep before I can fully explain why. The short preview: he says you can't force people to use your class correctly; I say I can, and I'll show you how, soon.And he writes: Always wondered what you had ...
(Reposted from Agile Summer Camp. The team will edit and improve that version, filling in the gaps in my memory and understanding. This is my rough draft.) Organized by Chris Woodruff with the able assistance of Josh Holmes and Michael Eaton, Agile Summer Camp 2008 was a fantastic success. This is an Agile Summer Camp Diary, documenting bits and pieces of a fun, rich, informative weekend with a crowd of unwashed geeks. No text page (nor even sadukie's great pictures) can capture the full experience ...
Life is sometimes sweeter than we realize. Sometimes we just forget to see it. We complain about work, bills, co-workers and spouses and sometimes forget to look at how awesome our lives really are. I LOVE being a programmer. I've done a lot of different jobs and I didn't come to programming until my mid-to-late twenties, so I've experienced some really crappy jobs that paid even crappier. At my current job, I was given the freedom to choose how I would develop this new project, what language, what ...
Recently I've begun programming a new game I'm trying to keep under wraps a bit, although most close friends know what it's about already. Although the game is quite new I'm already excited about the code. In PongRPG, every sprite you see is positioned in code, there are lines that load each sprite personally and set them based on values in the code. So, if I wanted to change the position of some item on the pause menu, I'd have to go into the code, track down that line, and change the value. Not ...
In this issue: Ivan Dragoev, Beatriz Stollnitz, Laurent Duveau, Matthew Casperson, Mike Ormond, Adam Kinney, Scott Guthrie, and Ruurd Boeke. I saw this post by Jeff Wilcox: Toolkit posts: "Silverlight in Style," dependency properties in WPF and Silverlight, and TreeView expansion, and thought "cool -- I've got all that covered :)" ... but WAIT... check this out... all the Toolkit bloggers have their own blog now! I'll be watching this for you, but go ahead and keep an eye on it too in case I miss ...
Recently I was reading Judith Bishop's C# 3.0 Design Patterns. The book has been a good read so far.The Visitor pattern implementation in the book however is implemented "classically" wherein each element of the structure being iterated over has an Accept operation which accepts an instance of a Visitor type. When the client invokes the operation on the Visitor which is supposed to kick start the visiting,the Visitor iterates over each element of the structure in some way and invokes the Accept operation ...
In this issue: Matthew Casperson, Mehdi Slaoui Andaloussi, Tim Heuer, Dan Wahlin, Dave Britton, Jordan Knight, Gerard Leblanc, Azret Botash, and Lee. From SilverlightCream.com: Silverlight Game Programming Tutorial - Input and Adding Game Elements Matthew Casperson had two more posts earlier, but I wanted to get the 'Cream post out and was heavy already so I saved Parts 2 and 3. This one is on creating the objects and getting them moving around then Part 3 is Silverlight Game Programming Tutorial ...
In 1998 I went through Basic Combat Training for the United States Army. It was 9 weeks of grueling, awesome and exhausting training. It was training that definitely pushed the limits of your body and mind. I learned quite a lot and the training forever shaped the person I am today. Next week, I will have the opportunity to go to Boot Camp again, but this time it will be for .NET development. JP Boodhoo, a great guy who I met at Alt.NET, conducts a course known as Nothin' But .NET Developer Boot ...
In this issue: Ian Griffiths, Matthew Casperson, Chris Anderson, IDV Solutions, Nikhil Kothari, Dave Burke, Anna Wrochna, Chris Hay, Jesse Liberty, and Robby Ingebretsen. David Anson has collected all the Charting blog links on one page... a good reference: My new home page [A collection of great Silverlight Charting resources!]. Jaime Rodriguez reports that the NY Times has a free version of it's WPF reader: NY Times ReaDER Free Edition.. ... now I just need to be someplace I can run WPF :) From ...
I haven’t had the chance to update lately (by lately I mean this week really) because my grandfather has passed away. He was a great guy and I loved him. I just hope that he’s happier now than he was for his last few days on earth. That was the bad news, but he was a great guy and I am better for knowing him. The good news is that I’m really motivated to get some new series under way. The underlying idea when I made WTFNext was that I’ve seen so many tutorials that I’ve felt were incomplete or could ...
[ This post has moved to - http://tempuri.org/tempuri.... ]As part of our business, we have to deal with VoIP based media processing often. Made a call to a 1800-xxx number or any number, if it "seems" like an "Answering Machine" then we need to detect it. Normally this kind of DSP stuff is done by hardware integrated DSP chips. A similar system is shown below (Dialogic® MSP 1010), But we don't have that luxury. We have a primitive Answering Machine Detection (AMD) system which is primarily based ...
I have been toying with functional programming a bit lately. I have been using lambdas and Linq when it has made sense in my code. I downloaded the F# compiler tools and mucked around with it a tiny bit. I read a few blogs that talk about functional programming concepts, etc. I have enjoyed reading the elegance of the paradigm, but never really got into it much. But then I sat in on an "Open Space" session where Scott Guthrie was talking. Most of it strayed from the standard "Open Space" format and ...
In this issue: David Miles, Shawn Oster, Jeff Weber, Justin Angel, and Nikola Mihaylov. I stand corrected in that the Kongregate tutorials referenced in the Jeff Weber link below are being ported to Silverlight ... the tutorials, NOT Kongregate... sorry for any confusion! The subject was correct, my commentary wrong :( David Anson has made some changes to his ChartBuilder... check out his post: Improving ChartBuilder's cultural sensitivity [ChartBuilder app/source updated!] I've read a bunch here ...
For those of you like me who missed PDC (though I did watch the streaming video as time permitted!) you can now catch some of the PDC content live at an event near you with MSDN Developer Conference. I'm going to try to head to the Atlanta one on December 16th. More details below as seen in Brian's blog: The Speakers Chad Brooks Jeff W. Barnes Wally McClure Glen Gordon Mark Dunn Steve Porter Murray Gordon Todd Fine Jim Wooley Brian Hitney Keith Rome Todd Miranda Dave Scruggs Shawn Wildermuth Mickey ...
Just found out about the new PowerThreading Library for Silverlight, by Jeffrey Richter of Wintellect. This is definitely worth checking out. Now Available: PowerThreading Library for Silverlight, by Jeffrey Richter of Wintellect Available now for immediate download from http://Wintellect.com/Power... is the latest version of Wintellect’s free Power Threading Library by Jeffrey Richter. This new version includes a DLL for use by Silverlight applications and components. In particular, the Silverlight ...
I’ve become interested in a few aspects of SQL Server 2008. One is the new FILESTREAM datatype. The basic idea is to have a SQL datatype you can use in queries and searches and is managed by SQL but which does not have any particular size limitation. There are a number of articles on the multiple steps it takes to setup a database to utilize the new FILESTREAM features. I’m not going to cover that in this article. I highly recommend reading Paul Randal’s white paper on the subject, now published ...
I have been researching about this the whole morning and never found a straight forward answer. I will not be giving codes on this post BUT I will however encourage you not to do this for 3 good reasons: Ask yourself again if you really need to do this, and why. Gridviews are only graphical representations of set(s) of data from databases and/or datasets. So, ofcourse, if you wanted to add a row to your gridview, add it up on the table on your database and use the DataBind() method to bind the grid ...
· Make Coding Assumptions Explicit and Tool Discoverable. provide a language-agnostic way to express coding assumptions in .NET programs. The contracts take the form of pre-conditions, post-conditions, and object invariants. Contracts act as checked documentation of your external and internal APIs. The contracts are used to improve testing via runtime checking, enable static contract verification, and documentation generation. · bring the advantages of design-by-contract programming to all .NET programming ...
Last night past midnight amidst the construction of my Halloween costume (I know I’m a day off, but the party I’m going to is tonight!) I received the email notifying me that I’m now a winner at Community Credit for my contributions to the geek worlds via this blog! Sure, I didn’t cure cancer or win the World Series, but my philosophy on blogging nowadays is that there is an online community that has helped me so much, I want to be around for the next generation of “me”s that deserve the same help ...
I just recieved an e-mail from David Silverlight telling me that I have won the grand prize of October with 95,500 points. I feel so happy about this! I was not expecting to win the grand prize for giving out my opinions over IT, and by helping those in need in SharePoint and other general programming techniques. So I won this cute Robotic Junkyard Dog called Scraps : "This mischievous robotic mutt performs a programmable series of up to 80 moves--if he listens, that is. He cocks his head, twitches ...
Black Box Testing Black box testing is the testing of methods/functions/procedures without knowing what is in the internal code. You would only know what to input, and what the expected outcomes should be. So to speak, no knowledge of the programme/application is required to do this kind of testing. Advantages The testers do not require any knowledge on the product being developed The testing is done from the user's points of view The programming and testing are done by different persons Disadvantages ...
The MSDN Southern Fried Roadshow is coming to Charleston on December 2, 2008 at the Embassy Suites Hotel (near the Airport)! The MSDN Southern Fried Roadshow is a free developer event with a southern flair, where you will learn about some of the latest developments in Microsoft technologies. For December, 2008 the Roadshow will be presented by Architect Evangelist Chad Brooks and Developer Evangelists Glen Gordon and Brian Hitney. Chad, Glen & Brian will be loading up a minivan with lots of goodies, ...
Presentation by Anders Hejlsberg. It is 10 years later since they started C# C# 1.0 was about introducing the general concept of managed code. C# 2.0 was about finishing C# 1.0 but didn't have time to do. C# 3.0 is really about radical new thinking in the language - LINQ. They learned a lot about functional programming through this exercise. Today is about C# 4.0. Some of the trends that have shaped their thinking on C# 4.0. Declarative Dynamic - resurgence of dynamic programming languages Concurrent ...
David Silverlight is the mastermind behind SEVERAL sites. To name a few: www.community-credit.com www.xmlpitstop.com (this is one I heard about recently) www.stupidcubicle.com www.nonprofitways.com David Silverlight is a geek which regards to programming and xml and yes, if you were wondering: Silverlight was named after him. David himself writes about this on his blog [see here]. In short... Bill and David met for some drinks and a chat. They talked about things in general and then started to talk ...

Yesterday featured another day packed with sessions and started with a great keynote showing off the new Windows 7, what's coming onto us with .NET 4 and the new development environments (starring Visual Studio 10) as well as innovations in the field of Office (web office is going to allow editing and synching documents online).

Read the rest of this entry »

Another email to share with you, “A Platform for the Next Technology Revolution” : During the past decade, a dramatic transformation in the world of information technology has been taking shape. It's a transformation that will change the way we experience the world and share our experiences with others. It's a transformation in which the barriers between technologies will fall away so we can connect to people and information no matter where we are. It's a transformation where new innovations will ...
I got this email from Steve Ballmer. Okay I know if was more than likely a marketing person from Microsoft that came up with this not Steve, but I thought I would share it as it had some good information in it. I basically got this email because of some newsletter I signed up for on Microsoft's site. A Platform for the Next Technology Revolution During the past decade, a dramatic transformation in the world of information technology has been taking shape. It's a transformation that will change the ...
I occasionally receive letters sent out to the Industry Executives from the top dogs at Microsoft. Here’s the one I just received outlining their newest initiative called Windows Azure, which was just announced at the Microsoft Professional Developers Conference. During the past decade, a dramatic transformation in the world of information technology has been taking shape. It's a transformation that will change the way we experience the world and share our experiences with others. It's a transformation ...
They should have called it “Stockholm” instead of “Oslo”; they really should. “08”, pronounced “nollåtta”, or “jävla nollåtta” in the north of Sweden, is the nickname for Stockholmers (08 is the area code for Stockholm), so “PDC 08” would mean “PDC Stockholm” in Swedish. David Chappell Article As always, David Chappell has been following the development of “Oslo” and realted technologies from the early days. He has just had an article published on MSDN “Workflows, Services, and Models – A First Look ...
I have found this email sent to the IronPython mailing list yesterday, and thought many of you would love someone to share it :). Hello IronPython Community, This is a special release of IronPython designed to work with the Visual Studio 2010 CTP. This release will let you try out C# 4.0’s new Dynamic feature, which allows you to easily call into dynamic object models such as IronPython modules from your C# code. To get started using IronPython with C#’s Dynamic feature: 1. Install this .MSI on your ...
I know it’s been a LONG time since I’ve updated this but there is a bunch of very cool stuff going on so I thought it was time I jumped back on the horse and started using my public blog more. Plus a number of people have asked me this week why I haven’t blogged in awhile… Anyway, I’m in LA this week at Microsoft’s Professional Development Conference (PDC) and it’s shaping up to be a great week with lots of great technical content and thousands of other devs and architects to meet. The conference ...
According to Charles Petzold, WPF is the main platform for Windows programming nowadays. The only reason why one might still want to program WinForms is if you want the app to run on a maximum of machines. Read the rest of this entry » ...
Rapid Development with Python, Django, and Google App Engine Guido van Rossum (Google) Learn how to create great web applications quickly on Google App Engine using the Django web framework and th... Painless Python for Proficient Programmers Part I ---- Alex Martelli (Google) Python is a popular very-high-level programming language, with a clean and spare syntax, simple and regular semantics, a large sta... Painless Python for Proficient Programmers Part II ---- Alex Martelli (Google) Python is ...
After a quick lunch (Baja Fresh), it’s back to the sessions. Next up is Amanda Laucher’s talk: F# (Functional Programming @ The Office.) This is an interesting session because it gives info about when/where to use F# rather than just how (syntactically) to use it. Also some discussion of building a DSL w/ F#. The session was originally listed as a lecture, but has evolved into an open discussion, with some of the MS (F#) guys pitching in as well. Catching a break with D’Arcy. Got to See Jason Mauer ...
Here are some links to help you get started with the Microsoft Parallel Extensions to the .Net Framework (PFX). Starting Out PFX CTP – Here are the latest CTP bits from June 2008. They come with a whole lot of good examples and good documentation to get you started. MSDN Parallel Computing Dev Center – Plenty of white papers, videos, podcasts, and articles to get you started. Channel 9 Back to Basics Series (RSS) – This series is just getting started but looks very promising as a resource for developers ...
October Meeting - 23 October 2008 6PM New Features in C# 3.0, PIZZA, AND FREE STUFF WHAT MORE COULD YOU ASK FOR?!? This month's meeting will start off with Pizza and then break into a presentation covering what's new in C# 3.0 by Chris Eargle. In C# 2.0, we received many features already present in other object oriented programming languages. C# 3.0 took a radical departure, presenting us with more a revolution rather than an evolution. Many of the language features have not been seen in an object ...
Book Review: MicrosoftOffice SharePoint Designer 2007 Step by Step - Penelope Coventry This book is full of tutorials and hints in building customised SharePoint sites. It helps you build pages complete with CSS (Cascading Style Sheets), Libraries, lists and also webparts which are very customisable. I bought the book for the main purpose to learn creating workflows with SharePoint Designer 2007, and it really help me. The book as the title says, is really step by step and it is designed and laid ...
TCP networking technology in a Chat Application: TCP technology will allow the communication between a server and a client and vice versa, through the use of serializing an object over a network, such as the Internet. The advantage to using TCP over Socket programming is that TCP performs a great deal of functions transparently, such as acknowledging the receipt of data packets, retransmitting lost packets etc. The disadvantage to using TCP over Socket programming is that Sockets are a great deal ...
Recently I posted to ask what’s a good beginner programmer’s book, and I haven’t gotten any immediate response. Now I know that the post hasn’t had time to gestate, but usually from prior posts I do get responses first day. Ultimately, I think that the reason I’m not getting feedback is because some people are self-taught, and dug through the code and uncovered answers for themselves, some people are class taught, having great instructors that made the information make sense, and not many people ...
After talking more and more with my classmates at University of Phoenix, it has become clear that many of them do not know the first thing about programming, but they are eager to learn more. When I was asked what’s a good book for beginners, I really do not have the answer. Personally, programming didn’t make sense to me until I had my first course in C. I had tried to learn from books prior to that point, but I was never successful. The books always made ridiculous assumptions about the individual’s ...
The Igloo Coder is making his way east to present to the 4 atlantic .NET user groups. He'll be in Fredericton on Thursday October 23 to present to F.NUG. Pass the word to anyone you know who's working with .NET. Here's the details. Date: Oct-23-2008 Time: Meet and greet @ 6:30 - presentation from 7 - 9pm Location: UNB Campus, ITC building - room GC127 Topic: Fundamentals of Object Oriented Programming Presented by: Donald Belcham Notes: If you read MSDN, books or attend the average conference, you ...
I decided to completely redesign my website www.galasoft.ch (yes, it's about time, I know). For this process, I decided to inspire myself (loosely) from my good friend Robby Ingebretsen's site, which is both simple and beautiful. Read the rest of this entry » ...
The lex tool is defined in Wikipedia as follows: lex is a program that generates lexical analyzers ("scanners" or "lexers"). Lex is commonly used with the yacc parser generator. Lex, originally written by Eric Schmidt and Mike Lesk, is the standard lexical analyzer generator on Unix systems, and is included in the POSIX standard. Lex reads an input stream specifying the lexical analyzer and outputs source code implementing the lexer in the C programming language. The tool accepts an input file that ...
So, I've been on a mission, to show that we can port our mobile portal application suite over to iPhone. We've long been using a Windows Mobile delivered portal that takes Sharepoint, Dynamics NAV and a host of other line of business system (LOB) and delivers them to our mobile workforce. The core of our business at Anglia Business Solutions (www.angliabs.com) is to allow our consultant's, sale staff and support engineers to work remotely. For any service based company our lifeblood is accurate time ...