Tag | Search Posts

Have you ever tried google trends? It's a fun utility to see trends in search keywords typed in google. You can go as far back as 2004, so there's plenty of data available. You can even compare different trends. One of these interesting trends Pascal once pointed out is c# vs ruby. Back then, this is what it looked like (c#, ruby) The blue line is c#, the red line is ruby. And what do you think the regular dips are? WEEKENDS! And what's more, the ruby line is close to the c# line in the weekends. ...
A few months ago Visual Studio 2010 RTM was released. My friend Cory and I noticed a few features that would really come in handy but were not included in the release. After learning how to write extensions, we decided to create a few of our own. We used all of them locally for a while. Around April/May we decided to publish them to the Visual Studio Gallery so they can help other developers as well. Overall, I'm pretty satisfied with the outcome. We got a lot of good feedback on them and it seems ...
Couple of weeks ago I gave myself a challenge. The challenge was that I have to write a complete iPhone application in 1 week. I had no prior iPhone development experience so I thought it would be fun and educational at the same time. I had couple of app ideas but since my first baby is due in October I thought I would make something that my baby can use. My wife and I came up with ABC Pop. An educational alphabet learning game. The basic idea of the game is that the user will pop the bubble that ...
Use Case Just started working with amazon's S3 buckets to hold a centralised filesystem to support a distributed workflow system. When the tasks in the workflow run on different physical machines in a viariety of locations so it's we need efficient ways of syncronising just small sub-sections of local files with a bucket. The Plan Amazons API allows listing objects by a key prefix i.e. search for all the files in a particular folder or sub-folders. This is a great way of syncronising folders where ...
I recently attempted to install a windows service I had created. I created an installer and deployed the msi to the target machine. When I ran the setup I was prompted for the username and password credentials for the identity to run the service. I had a local account created. The account was permissioned correctly and had been granted the rights to logon as a service. After supply the credentials, the I received the following error: Error 1001. The account name is invalid or does not exist, or the ...
So, the last few days I have been finishing my summaries of my Programming Contemporary Concepts course. While it has been interesting being exposed to a new programming language, I found the actual course a bit framework specific, and not to contemporary at all. Needless to say, in the quest for the qualification I am going to put this aside and slog along. Question 1 of Assignment 3 asks us to write a template Queue<T> class and client code to test it. I will be attempting it in QT4 using ...
I recently purchased the Kindle 3 and very excited to have this device that lets me read documents without tiring my eyes from the backlight. I can even let it read for me in a fairly natural way “when you get used to it”. I have also played some music using this device and perfectly understand that it was not designed to be some form of music player like iPod or Zune, but does give a good sound either off it speakers or through earphones. Things i like I was tired a few days ago and set the speakers ...
I returned just last night from a short trip to Redmond. While I was there, I learned some news that I wanted to share, but I wasn’t permitted to. But today the news was made public: Oslo, once destined to be a full fledged-wave of Microsoft technologies that would facilitate and promote model driven-development, is dead. The Oslo name summons Shakespearean images of King Hamlet slaying his Norwegian foe. But even without such literary context, the fall of Oslo is quite dramatic And it’s important ...
For about 5 years now I’ve been carrying around the best recent TechEd bag; the messenger style bag from 2005. It served me well as it could easily carry 2 laptop’s, plus loads of additional tech gear; iPad, multiple external hard drives, cables, etc. My only dislike of the bag was that the strap never seemed that sturdy, and I occasionally had issues where the clip would reverse itself, making it very easy for the strap to come loose without me noticing. Unfortunately this past week the metal clip ...
I’ve posted in the Entity Framework forum about this but I wanted to document it here as well because when I was researching this problem I found very little information. Here’s the deal: I have a single project with multiple models. Some of the models have entities that are mapped back to the same tables in the store. (i.e. two models have a Customer entity that is mapped back to the Customer table.) I am using the Self-Tracking entity templates and each template is in it's own folder with its own ...
I'm going on tour... talking about WP7 & XNA. (Dates below) XNA Games on Windows Phone 7 DESCRIPTION Chris G. Williams will be presenting 'A Tour of Windows Phone 7 and XNA 4.0'. In this talk, he'll cover what's new in XNA 4.0, especially as it pertains to Windows Phone 7. He'll cover phone features, using the emulator and how to take advantage of the various sensors (like the Accelerometer) and features (MultiTouch, Gestures, Push Notifications, etc) in your games. Rumor has it, he may even ...
Working on the same solution as problem 1. This time it was a binary reference to two dlls. The app would build on my system but not on the tfs build server. Well, after lots of playing around i found out that one dll had the correct hintpath to its source in the project references and one did not. Solution: 1: Close VS 2: Open Windows Explorer and find the parent folder of the solution. 3: Search for all Bin and Obj folders in the solution. 4: Delete all of these folders. 5: Reopen VS and go back ...
I blogged a couple of weeks ago about my issues running VirtualBox. At the time, I believed I had found an issue involving SuperFetch. In reality, turning SuperFetch off, while helpful, did not address the underlying issue. I eventually worked out that my machine is overheating whenever CPU usage of 40-50% is sustained over several minutes. Several things, or combinations of things, can cause this on my machine, including running full virus-checking scans in Forefront, SuperFetch and, of course, ...
Since sometime I have been toying with the idea of publishing developer interviews on my blog. There are a large number of non-Microsoft developers(ie, developers who are not MS employees) who have been doing good work. A lot of them are largely unknown to the worldwide developer community. Some are awarded MVPs, yet are not much known outside their league/ chosen technology. And there are many who haven’t received the MVP award, even though they strongly qualify for it through their relentless support ...
In this Issue: Brett Balmer, Kirupa Chinnathambi, David Anson, Jesse Liberty, Mohamed Mosallem, René Schulte, Mahesh Sabnis, Aaron Stannard(-2-), Rudi Grobler(-2-), and Michael Washington. Above the Fold: Silverlight: "Reading Excel File in Silverlight 4.0 - COM Programming " Mahesh Sabnis WP7: "Creating custom DatePicker/TimePicker experiences is easy with the Windows Phone Toolkit " David Anson Training: "Creating custom DatePicker/TimePicker experiences is easy with the Windows Phone Toolkit " ...
I bought an iPad on Labor Day at the Apple Store in Greensboro, NC. I blogged about my stored experiences with some interesting feedback. I'd like to share my experiences with the iPad thus far. Hype Yes, the iPad is hyped. But it is REALLY REALLY COOL! I admit it...I love it. I bought the least expensive version because I anticipated using it only for development. It's linked to Exchange, Twitter, Facebook, LinkedIn, Wikipedia, College Football scores, etc., etc. And I find myself using it a lot. ...
Overview of what is upcoming and new from Microsoft for the 2010 Christmas season (Windows Phone 7, Kinect, and the slate), consumer keynote from the Microsoft Partner Conference: http://digitalwpc.com/Video... (Windows 7 and Office 2010/SharePoint 2010 are already "old news", although potentially huge opportunities especially Office 2010/SharePoint 2010, subject of another blog post. If you hear any companies saying they are going to go ...
The past few months I’ve been playing architect and admin, rather than developer. I have worked with a couple 2010 environments for play and work and at least one upgrade. So here are just a few tidbits that you might not know that I’ve found… When working with the blank site definition you have to activate the taxonomy features through stsadm if you want to use managed metadata. Here is a good article: http://neoassyrian.blogspot... There is a bug ...
In this Issue: John Papa, Tau Sick, Rudi Grobler, David Anson, Tim Heuer, Pete Brown, Jesse Liberty, Brandon Watson, Scott Guthrie, and Miro Miroslavov. Above the Fold: Silverlight: "5+ Ways to Reduce your .Xap Size" Miro Miroslavov WP7: "Windows Phone 7 Developer Tools Released " Scott Guthrie Shoutouts: Crocus Girl posted this contest from SilverlightShow: Announcing SilverlightShow 5-day Windows Phone 7 Quiz! John Papa posted the materials that went along with his OOB brown-bag last week: Silverlight ...
Sample download In MSDN forums, lots of developers ask how to write Windows Shell extension with .NET languages (e.g. C#, VB.NET). http://social.msdn.microsof... http://social.msdn.microsof... http://social.msdn.microsof... http://social.msdn.microsof... ...
Still not possible to do a Workflow field update for a lookup field (to custom object) in Salesforce Tried doing a field update today for a lookup field for a custom object from a workflow rule. Unfortunately such an importthat feature is still not implemented Supporting text from IdeaExchange : http://ideas.salesforce.com... 810 points Field Update - Lookup Field! I would like the ability to have a workflow field update, update a Lookup (reference) field. 9 Comments • Posted by ...
We have come a long way since IE 1… image property of wikipedia …to IE9 In case you are living under a rock, IE9 Beta was released today. This browser is a major update to the previous version IE8. It is also supposed to give Firefox/Chrome a run for its money. How did it turn out? Read below to find out. So what are the best features of IE9? Lets give it a quick run-through then we are going to look at a few key features and a benchmark (note the benchmark is against a beta – so things may change). ...
Model Functionality · Support for Enums for property types from lookup tables · Allow default date = DateTime.Now - The only way to set a default date in the entity data model is to put a hard date in there, a string. If you have a known default date (e.g. 1900-01-01) this is fine. But often we want NOW to be the default and there's no way to indicate that in the model. · Support for System.IO.Stream instead of Byte[] for varbinary type of fields · Support GUID as Entity Key -http://leedumond.com/blog/... ...
in and between operators if (x in (1, 2, 3)) if (x in 1:5) if (x between(1,5)) · Like Python - Without having to use extension methods Data Structure Improvements · Make BCL collections to be generic: all this ControlCollection, XmlAttributeCollection, SqlErrorCollection, StringCollection becomes Collection<Control>, Collection<XmlAttribute> and Collection<SqlError> · Tuple Packing and Unpacking - Like python: public Tuple<string, int, double> ReturnMyTuple() { return "Hello ...
I will be presenting: Topic: Intro to Windows Phone 7 – A different kind of phone Come learn basics about the most anticipated phone platform of the year - Windows Phone 7. See the new design, new methods for developing application and the new opportunity this all brings. Speaker: Nikita Polyakov, MVP Bio: Conversations on Web, UX and Windows Phone. A Microsoft MVP, Speaker and Employed Consultant. Home Theater in free time. Internet Media User Group Bio: The focus of this group is about Photography, ...
If you’ve configured PDF for Search in SharePoint 2007 then you are certainly almost there in getting it to work with SharePoint 2010. The process is almost identical with some minor changes due to service name change and directory changes. Below are the steps to get iFilter working and configuring pdf files search in a SharePoint 2010 IFilter Install 1. Download PDF iFilter 9.0 for x64 platforms http://www.adobe.com/suppor... 2. Stop the IIS Admin Services by issuing ...
I created a getting started guide for the MVVM pattern back in June 2010. Since the guide came out, I had several developers ask me when I was going to publish my MVVM example that I had promised. I played around with a way to present this that did not seem like the same old MVVM blog post that everyone has already written. Most of the blog post that I ran across explaining the pattern had lots of complicated diagrams and code snippets that would leave out vital pieces of information. I decided that ...
In a ASP.Net web app I have a button that says "Process". It will spawn a new worker thread that will look at a network share and process some Excel files that have been produced by a third party system. To access the share and to use the Excel COM interop, I am impersonating an elevated user account different than the authenticated user, using Windows Impersonation. I then generate an Excel COM object for each Excel file, and process the files available in the network share. Today I noticed that ...
I've made a couple changes today to the SilverlightCream site and to my blog, after a discussion last night with a cohort. I'm displaying (hopefully obviously) an RSS image that now goes out to Feedburner. The big take-away for me for that is that the feed is now displayed as a 'feed' and not as XML. The take-away for you is that you can now subscribe via Feedburner. I also modified the Search Results page at SilverlightCream.com to tell you how many results were returned. And, did you know you can ...
Microsoft All-In-One Code Framework is updated on 2010-09-06. Download address: http://1code.codeplex.com/r... If it’s the first time that you hear about Microsoft All-In-One Code Framework, please read the introduction on our homepage http://1code.codeplex.com/, and this Port25 article http://port25.technet.com/a... Windows Shell Extension New Samples How to write a Windows Shell extension using managed code (C#/VB.NET) is an extremely ...
My short summary This comparison is mainly originated with attention to XML-based configuration possibilities and grouping implementations of the same contract which are choosable over a key. StructureMap A really nice container with simple XML configuration. But we had problems if the container must instantiate WPF-controls. LightCore Also a really nice container with simple XML configuration. But it seems that there is no way to specify distinct implementations which are choosable by a key. Autofac ...
New standard the UDDI was announced several years ago [see the history in Wikipedia]. The UDDI future was promising. I was sure for that. I thought, the future is for Web-services [WS], and it is. Isn't that mean, we need services to search Web-services in internet, some Registries/Catalogs of the Web-services? How we could find the WS in internet? Google Search was not effective in this; it is still not effective now. By any means, the UDDI idea should win; all WS-s should work with UDDI Registries. ...
As most of you know, I do a lot of presentations each year, mostly at local code camps. As a speaker, it is always great to see new people in my talks and answer questions since in almost every talk, someone asks a question I haven’t heard before. One of the things that most speakers, including myself, like getting is feedback. We want to know what you thought of the presentation, both the material and the delivery. It used to be that most code camps passed out evaluation forms to provide this feedback. ...
C #4.0 has been here for a while and it has got many interesting features. 1. dynamic keyword: It represents an object that will be resolved at run time. For example, assume that you have 2 different classes that have the same signature. Then you can have a method like this. private void TestMethod(object myObject) { string name = myObject.Name; string address = myObjec.Address; } Now you can pass any object that has the same interface to the TestMethod(). This is some thing which is not possible ...
Windows Live has had many lives. It started as a single page at www.live.com, where you could set up various widgets in a tiled configuration. The widgets mostly consumed RSS feeds and the idea was that you could have a home page where the content updated dynamically; i.e. where the content was “live.” I remember when the service was still in Beta and called Start.com; Robert Scoble, then a Microsoft employee, was hawking it pretty hard. It was kind of cool for its time, but it petered out, as did ...
I love what I do, but sometimes I need a break from software, from the office and from sitting at a computer all day. At such times I like to experience the outdoors and hiking is a great way to do that. The Cooloola Great Walk is a 5 day, 102 km hiking track from Noosa to Rainbow Beach [pdf]. In Queensland it is too hot for long distance walking most of the year so I wanted to complete the walk in winter. On such short notice I could not organise a hiking partner, so I did the walk by myself. It ...
Tonight, while I was reading Darwin's Origin of Species, I came across his discussion about variation in nature. What particularly struck my attention is how there is variation even across the same species: It would never have been expected that the branching of the main nerves close to the great ganglion of an insect would have been variable in the same species...the muscles in the larvae of certain insects are far from uniform (p 54 - Origin of Species) So, this started me thinking on the special ...
.NET Micro Framework includes reach graphics capabilities with WPF-like libraries, and quite a few high end development boards (Tahoe II, ChipworkX, or FEZ Cobra to name a few) include fancy graphic TFT screens, often with touch input thrown in as well. But this comes at a significantly higher costs, and requires a speedy CPU. Thus it might seem that if you are using a much cheaper board such as Netduino or one of FEZ family, you are doomed to rely on blinking LEDs only. Not quite so. In most scenarios ...
Nationwide, the world’s largest building society realised the benefits of Faster Payments with the help of Microsoft Services and interestingly enough a team of BizTalk experts from Solidsoft. For a number of years Solidsoft has provided senior software consultants expert in Microsoft BizTalk server and many other Microsoft products support of Microsoft Service led developments. The Nationwide project has proved no different with Solidsoft providing a team of 6 to support the successful development ...
Over the course of using Google for the past ten years, I’ve found several tips and tricks to using the search engine. This post covers the ones that I’ve found most useful. Limit your search to one site Have you ever tried to find something that you know must exist on a particular site? This happens to me when I’m looking for info on Microsoft’s site. So, I’ll often enter a search term into Google and then add “site:microsoft.com” . Google will then only return hits that are on the *.microsoft.com ...
In part 1 of Crack .Net Applications I demonstrated how easy it was to reverse engineer an an unprotected .Net application. In this post my aim is to highlight a few techniques that one can employ to protect ones code from this type of hacking. So, my take on software protection is that one can never be 100% protected – given infinite time you can guarantee someone with enough intelligence will be able to bypass all security measures that you ever implement – that being said, we don’t have infinite ...
For my next project I decided to try to upgrade my SERB robot that I showed here last year to use Netduino. This robot was designed by great inventors from oomlout and you can buy it as a nicely packaged kit from them. However because the design is open source you can also download the project files and if you have access to a laser cutter order all the acrylic pieces there. It is also very easy to build following the instructable (you can find few more photos from my build here). The original SERB ...
A few months ago I attended a local user group meeting that focussed on software security. The presenter demonstrated several techniques that one could employ to bypass software security and several “tricks of the trade” that one could implement to make ones software more secure. The presentation rekindled the fire I had for a little research project that I had attempted several months earlier on reverse engineering .Net applications but that at the time I had lost interest in after an hour of unsuccessful ...
Long ago, in the mid and late-90s, the mobile device market was a bit different from today’s. Palm led the PDA category, with monochrome devices that operated offline, until the Palm VII and its ultra-slow Internet service came out. The Palm VII was all the rage amongst early-adopters…I even bought the erstwhile publisher of Visual Studio Magazine’s predecessor one and shipped it to him, because they were available in New York, but not in the Bay Area, where he was. Then a Canadian company called ...
Windows CE: C# Application to Format TFAT In Windows CE: Formatting TFAT I show how to format a disk with TFAT using C/C++ code. The customer that I wrote that for develops using C#, so I wrote a C# application to test the formatting code. To me, most formatting tools are just too difficult for the average user. In this case, the user will be someone working in the factory or field service. They just need to select a disk and request that it be formatted. The application dialog look like: It has ...
Update 1 (Sept. 17, 2010): While the part below about using SLSvcUtil.exe to generate the service reference undoubtedly still works, it is no longer necessary. The RTM version of the Windows Phone Developer Tools now properly supports right-clicking on your game project's "References" item in the Solution Explorer and adding a Service Reference that way. ChannelFactory and related methods remain unsupported. For more details see http://msdn.microsoft.com/e... (Networking ...
If anyone has been following my blogs lately, they would have noticed that they just had random rumblings of book summaries for my CS degree. This is actually the first semester where I am battling to keep up with the level of work – possibly because up to now the courses have been rather easy to complete the class work (multiple choice), and possibly because work work has gotten extremely busy which has left me with only one day a week (Saturday) to dedicate to learning and doing my assignments. ...
Visual Studio / ReSharper to learn SHIFT + ALT + PgDown/PgUp (R#) Find next/previous error ALT + PgDown/PgUp (R#) Find next/previous suggestion/hint Editing ALT + ENTER (R#, ReSharper.QickFix) Show quick fixes and content actions CTRL + D (R#, ReSharper.DuplicateText) Duplicate (line or selection) CTRL + K, S (VS, Edit.SurroundWith) Code Snippet Picker (wrap around) CTRL + Alt + RightArrow or LeftArrow (R#, ReSharper.ExtendSelection) Extends/Shrinks selection CTRL + K, X (VS, Edit.InsertSnippet) ...
SSMS Tools Pack is an add-in for Microsoft SQL Server Management Studio (SSMS) 2005, 2008, 2008 R2 and their respective Express versions. It contains a few upgrades to the SSMS IDE that I thought were missing. The current features include: •SQL Snippets •Window Connection Coloring •Query Execution History and Current Window History •Format SQL •Search Table, View or Database Data •Run one script on multiple databases •Copy execution plan bitmaps to clipboard or file •Search Results in Grid Mode •Generate ...
this year I had the pleasure of cramming the following information into my lobes: Book: Schuams Graph Theory - http://www.amazon.com/Schau... - a subset of combinatorics. From my perspective, just use linear algebra - you can bash anything into vectors. some interesting stuff on platonic solids and the 3 color world map. SD - shortest distance SP - shortest path bipartite graph - 2 disjoint sets ...