Welcome to Pete Brown's 10rem.net

First time here? If you are a developer or are interested in Microsoft tools and technology, please consider subscribing to the latest posts.

You may also be interested in my blog archives, the articles section, or some of my lab projects such as the C64 emulator written in Silverlight.

(hide this)

Pete Brown's Blog (POKE 53280,0)

Pete Brown writes on a variety of topics from XAML with the Windows Runtime (WinRT), .NET programming using C#, WPF, Microcontroller programming with .NET Microframework, .NET Gadgeteer, Windows on Devices, and even plain old C, to raising two children in the suburbs of Maryland, woodworking, CNC and generally "making physical stuff". Oh, and Pete loves retro technology, especially Commodore (C64 and C128). If the content interests you, please subscribe using the subscription link to the right of every page.

Archive for tag: C

  • LEAP Motion on Windows 8.1 for MIDI control and more

    I stopped into Best Buy yesterday and picked up something I had been considering toying with: a LEAP Motion. This is an interesting little $79 device which turns the airspace at your computer into a live space for interaction. It recognizes all ten fingers on your hands, differentiates between left and right hand, open and closed, and can read the pitch, roll, and yaw of your hand, pinc...

  • The little things that matter: Top desktop-friendly improvements in Windows 8.1

    Like many of you, I spend the majority of my day on a desktop PC. My PC happens to have two 30" displays, neither of which is touch, and a Logitech Touch Pad that has some basic gesture recognition. It's a giant water-cooled, overclocked beast that I built in 2010 (and upgraded video since then) and which still beats many new PCs sold today. This particular PC has been upgraded from Wind...

  • My site migration to Windows Azure Web Sites

    In this post, I'll cover the migration of this web site from a long history of local hosting to Widows Azure Web Sites. I've had my own personal domains (GroupLynx.com followed by irritatedvowel.com followed by 10rem.net) since the mid 90s. Early on, I used regular hosts. I've run my personal website out of a succession of servers in my basement for at least a decade. It used to b...

  • Get an AGENT Smart watch and help them get to 1MM

    If you're a Windows Phone (or iOS or Android) user and want a smart watch which you can program using .NET, then get into the AGENT watch kickstarter before it ends in just 4 days. You may know Secret Labs from their most popular NETMF product, the Netduino. I've always been a huge fan of their stuff. Community Secret labs has always made community a core part of their pr...

  • Recent videos and music tracks

    I've put up a few videos and music tracks lately. Enjoy (view on my site to see the videos. They don't usually appear in RSS readers) Also "Pete plays with arpeggiators". Video created in After Effects and Premiere Pro. The background video is a survey of the lights in my home office one evening.   Inspired by a little board called the "Tune in Tokyo". Vi...

  • My Windows Store XAML book is now available

    Look what just arrived at the door! The author copies are usually in the first set to be sent out. For folks who have pre-ordered paper copies, you should see those really soon. The ebooks typically show up shortly afterwards. Yes, this is Windows 8 XAML in Action. We renamed the book to better cover its ongoing focus. How to get your own copy If you're at TechEd NA 2013 th...

  • Maker Geek Roundup 018 for 3/12/2013

    The Maker Geek Roundup aggregates information of interest to makers everywhere. Topics include .NET Micro Framework, Arduino, AVR and other MCUs, CNC, 3d Printing, Robotics, Microsoft Robotics Studio, Electronics, General Maker stuff, and more. If you have something interesting you've done or have run across, or you blog regularly on the topics included here, please send me the URL and ...

  • Disney Fairies: The evolution of hub screen box layout in Windows Store apps

    A large number of apps in the Windows Store follow the "bunch of boxes in a GridView" approach to the hub screen. This can work in some cases, but I encourage developers and designers to move beyond that look, and consider either evolutions of it, or completely different approaches. Boxes 1.0 For many, the basic box layout is a very workable layout. Here's one of my essential app...

  • Do you really know what your kids are doing online and in games?

    It seems that each generation is exposed to more mature or serious situations at earlier ages than the one before it. There are a lot more ways for kids to get in trouble online than just running afoul of the creepily mustachioed basement dweller you see on "that" episode of Special Victims Unit. tl;dr: A child was banned from Xbox live and that caused me to investigate some things ...

  • Using CallerMemberName for property change notification in XAML apps

    .NET 4.5 quietly introduced several attributes which are useful for debugging and error reporting: CallerMemberName, CallerFilePath and CallerLineNumber, all collectively referred to as "Caller Information". One of those, CallerMemberName, is also very useful for MVVM apps and other apps using INotifyPropertyChanged for change notifications. Getting the calling function name The Cal...

  • Maker Geek Roundup 017 for 1/22/2013

    The Maker Geek Roundup aggregates information of interest to makers everywhere. Topics include .NET Micro Framework, Arduino, AVR and other MCUs, CNC, 3d Printing, Robotics, Microsoft Robotics Studio, Electronics, General Maker stuff, and more. If you have something interesting you've done or have run across, or you blog regularly on the topics included here, please send me the URL and ...

  • Traits of a good Windows Store app privacy policy

    A common cause of Windows Store app certification failures is a missing or insufficient privacy policy. Many don't realize that a network-enabled app must have a policy, or if they do, don't realize exactly what needs to go into it. In this post, I'll talk about some of my observations regarding what makes for a good privacy policy for a Windows Store app. IMPORTANT: This is neither...

  • A simple bitcrusher and sample rate reducer in C++ for a Windows Store App

    I'm working on a Windows 8 synthesizer app using XAudio2 and a C++ + DirectX/XAML Windows Store app for Windows 8. As part of this, I thought it would be fun to add a simple bit crusher effect with included sample rate reducer. The point of this effect is to make samples sound like they came from older machines with lower bitrates and sample depth. To do that, I had to do two things to ...

  • Installing Unsigned Drivers on Windows 8 64 bit (or: how to get STM ST-Link working)

    I recently did some work on my MikroElektronika ARM development board. This was the first time I fired up the board on my Windows 8 system. Everything in the IDE worked fine until I tried to do some deploying and debugging on the board itself. It was then that I realized the board's driver wasn't correctly installed. I looked in the device manager and, sure enough, the board had the lit...

  • A MIDI clock pulse to analog sync voltage converter

    I have a few pieces of analog gear which either don't support MIDI, or simply work better with voltage control. This makes including them in a sequence difficult as timing of arpeggios or sequences will drift away from the rest of the performance. Not to mention that synchronizing them by ear is not a simple task in any case, and impossible to do in real-time if you want to adjust the t...

  • Sometimes coding a solution is faster than finding one: Simple Webcam app in Silverlight 5

    I recently upgraded my main desktop PC to Windows 8. When I did that, the Microsoft LifeCam software stopped working. It was recognized as incompatible with Windows 8. For most people, this is not an issue, as it works perfectly fine with the built-in Windows 8 camera app. For me, however, I need a small camera app sitting on my desktop so I can see the hallway leading to my office. I...

  • How to Reset your Microsoft Surface (or other Windows 8 PC) to start from scratch

    At Build, the Surfaces used by Jordan Rudess (and later provided to Jordan and his tech Gianluca Trombetta, just like we did with other Build attendees) were set up in advance with local accounts rather than Microsoft accounts. This made it easy for me to have everything ready for when Jordan took the stage. One thing both Jordan and Gianluca needed to do to make the Surfaces their ow...

  • My WPF 4.5 talk from Build 2012

    My WPF talk from Build 2012 is live at Channel9. Slides are available via that link as well. I cover a few of the more interesting features in WPF 4.5, as well as techniques for using Portable Class Libraries (PCL) to share code with Windows 8 app.

  • A ten-year-old’s excitement over Windows 8 and more

    My son is 6 1/2 and my daughter is 4. Today, my wife had some of my children's homeschool friends over. One of them is a 10 year old boy. He saw Windows 8 on my 6yo son's laptop upstairs and said "You have Windows 8?!?". He was very excited because he didn't have it yet himself. He started telling my son all about Windows 8 and what's coming. This is a 10 year old boy, mind you. UP...

  • Windows Store app development: Include that privacy policy

    Privacy is a huge concern to most customers. Part of the Windows Store app certification process includes checking for the presence of a privacy policy if your app declares any capabilities which could affect privacy. MSDN has a section (4.1.1) explaining what is expected from the privacy policy. I won't quote it here, but some important points jump out (emphasis mine): Declaring...

  • Controlling a NETMF Gadgeteer Robot from a Windows 8 App

    At several recent events (VSLive Redmond, thatConference, the Heartland Developer Conference and more), I've had a neat little .NET Micro Framework robot with me. The remote control for the robot is a Windows 8 tablet running a simple Modern UI/Windows Store app I wrote in C#/XAML. The example shows both how you can use C# skills to build robots, and also how flexible the new Windows St...

  • My recent videos on YouTube

    I've posted a few videos lately on YouTube. Here they are, newest to oldest. Take a look, and if you like them, drop a comment on the video and/or "like" it. Thanks! All videos are available on my channel on YouTube. My tutorial on how I hand-solder tiny surface mount components. Watch in 1080p.   A drone I created with my JP8080 and Spectrasonics Omni...