in

 

The Lounge

This Blog

Syndication

News

 Library Thing
 

<script type="text/javascript" src="http://www.ubuntu.com/files/countdown/display2.js"></script>

Jason Meridth

There is no spoon
  • RegOpenKeyEx Function and LOL

    I am currently interacting with 64 bit registry entries from a 32-bit application so I'm having to resort to DllImports.  Fun fun.

    I came across this line in the MSDN entry of RegOpenKeyEx:

    "A single registry key can be opened only 65534 times. When attempting the 65535th open operation, this function fails with ERROR_NO_SYSTEM_RESOURCES."
    (In the Remarks section of here)

    Just thought it was funny.

    What's not funny, is that I'm having to write this code in .NET 1.1 due to clients not willing to upgrade their servers to at least .NET 2.0.  The horror.

    Side Note:  I have 2 posts coming.  One on using Microsoft Sandcastle to automate chm generation from API code (where comments are acceptable in my book) and another on MSI generation using WiX.  Coming soon.

  • Gnome-Do (aka Quick Silver for Ubuntu)

    I've been using a MacBook Pro for about three months now.  Absolutely amazing.  No issues.

    I use QuickSilver with a ctrl+space keystroke to bring it up.  If anyone has use Windows+R or Mac's spotlight, this is equivalent with a little bit more indexing power (IMO).

    Well I'm doing some development on my Ubuntu VM and hate using alt+F2 because of the naming.  For example, by default it's "gnome-terminal" to bring up a terminal, and with Gnome-Do, it's simply Term+press enter.  Less keystrokes are better in my opinion.

    I was loading a terminal window in my session upon login, but with Gnome-Do I have much more power.

    Donate if you use it.  Keep this going.

    NOTE: Follow the instructions to a "T".  If you sudo apt-get the app without adding the new repositories, you won't get the preferences app.  Hardy Heron's repository is out of date.

  • Parents, talk to your kids about Linux...

    Saw this today on xkcd.com: I wish this wasn't true, but I've seen it happen. Cautionary
  • Hammett joins Microsoft

    Update: MEF == Managed Extensibility Framework

    Read here.  I couldn't believe until I read it.  He will be a Program Manager for MEF (Microsoft Entity Framework, I'm assuming?).  This is a VERY good thing.

    image

  • LosTechies welcomes Mo Khan

    Mo is a passionate software developer and blogger and we're happy to have him join us here at LosTechies.  His blog is a must read.  Go check out his blog archive for some great information.  He addition to the group is another sign that LosTechies is growing and becoming a great centralized place for technology information.  Mo is our first blogger from Canada.

    One of the things I liked about Mo's blog was his goals section, it showed his organization and passion for our industry.

    Look for him to be blogging soon.

  • Free e-Book from Karl Seguin

    I may be late on the band wagon on this one, but I just had the privilege of reading Karl Seguin's free e-book, "Foundations of Programming".  This is what Alt.NET is all about.

    Even if you disagree with Alt.NET or what it stands for, please just take a glance at it.  Karl is very good at re-emphasizing Joe Ocampo's favorite two words, "It depends...".

    Remember, there is no silver bullet.  This book at least gives you knowledge.  Enjoy.

    Kudos to Karl.

  • How did I get started in software development?

    Thanks for tagging me Joey.

    How old were you when you started programming?

    I was 11 years old (6th grade) when I started using QBasic to make easy games.  I actually knew about the easter egg that showed the developer names.

    What was your first language?

    Like Joey I used to write basic apps with QBasic and even mimicked a Windows Blue screen for fun.  I also used to code my TI calculators for games  when I was bored.  Pascal was my first third generation language for school and then hopped to ANSI C and C++.  Java and C# followed.  Python and Ruby are my new study items.

    What was the first real program you wrote?

    Mentioned above .  It was games written in QBasic.  For friends and family.

    If you knew then what you know now, would you have started programming?

    Most definitely.  This is one of those industries where you get to learn about other industries.  You get this because you write software for them. :)

    If there is one thing you learned along the way that you would tell new developers, what would it be?

    The easiest answer is to go read "Pragmatic Programmer" by Hunt and Thomas, then go pair program with someone with Agile (Scrum/XP) experience.  I'm not trying to start an Agile flame war, but in my personal experience it works.

    What's the most fun you've ever had ... programming?

    The current team I'm on successfully wrote an internal web app for our mortgage company, with 6000+ unit tests, pair programming, continuous integration, and other little goodies.  The best part: project finished ahead of schedule, under budget, with zero defects, and a VERY happy end user.  That is fun.  Lasted almost a year.

    The poor saps that I'm tagging?

  • Getting VMWare server working on Ubuntu 8.04 (Hardy Heron)

    I had some slow issues with Virtual Box, which I've heard have been fixed.  I'm heading back down the VMWare path and did some research first.

    I found this post and tried it out.  It worked great.  My VMs are moving at my required speed now.  The latest version of VMWare 1.06 still requires some bash shell work.  This post gets you setup good.

    I'm running Virtual Studio 2008, Re# 4.0 (latest nightly build), and a couple other apps. 

    Using virtual machines have become the development de facto.  I'm finally getting back into the grove with ASP.NET MVC and some ExtJS stuff at work. (THANK GOD).  We've brought in the latest Rhino Mocks (3.5) and Castle Windsor.  Fun stuff ahead.  

  • xkcd2 - someone is wrong

    Who was I thinking of when I read this?  Oh, there are so many people. (mouse over for alt text, funny also -- you do this with all xkcd comics) 

     

  • xkcd - ubuntu, python comics

    If you don't currently read xkcd.com, you should be.  It has some mushy lovey dovey junk in it sometimes, but the python references and open source references are hilarious.

    Today's comic: (mouse over for the Ubuntu reference)

    One of my other favs:


  • Ubuntu 8.04, VirtualBox, and USB support

    UPDATE: Make sure your user account is a member of the vboxusers account.  VirtualBox will not start and the error will tell you this, but just want to be explicit.  You will have to logout and log back in.

    I recently upgraded my Ubuntu to the latest version, as mentioned in a previous post.  I'm very excited about it, due to greater support for hardware items that I've had to fight battles with (one of the many reasons people won't make the switch to Linux).  I upgraded to Hardy Heron and then upgraded VirtualBox when prompted.  It was a fatal hardware recognition mistake.  As soon as I booted back up after a restart, I didn't have sound, wireless, etc. 

    After just not being in the mood of going down the road of trying to get the hardware re-recognized, I reloaded and di my research on the virtualbox upgrade.  It seems to be a known issue on the ubuntuforms. 

    I looked through the forums and got educated on a few things about the ose (open source edition) versions of VirtualBox.  1. no usb support (I will update if I'm proved wrong). 2. the new ose kernel modules hose toshiba satellite hardware detection (at least on my laptop).

    To get the gutsy non-ose version of Virtual Box, add this repository to /etc/apt/sources.list:

    deb http://www.virtualbox.org/debian gutsy non-free

    then in a terminal:

    apt-get update
    apt-get install virtualbox

    if you get a host key issue, the do the following:

    go get the public key.. go to this website and it'll have the key there just right click anywhere in the page and go to save page as then save it to your home directory preferably.

    http://www.virtualbox.org/debian/innotek.asc

    Now to add that key run...

    apt-key add innotek.asc
    apt-get update
    apt-get install virtualbox

    This will give you the gutsy version that I've worked with and have had no problems with.  The bonus is that you get USB support. 

    I will get back to code posts next.  Just want to share the knowledge with other Linux users. 

  • MSDN - can't download with firefox

    UPDATE: I'm on Linux.  Getting this to work on Windows is simple enough, just like James mentions in the comments. Thanks. 

    I'm writing this, because it's about the 5th time I've had to use my Windows box or VM to get iso files from MSDN.

    <rant>

    I understand, in a business manner, why Microsoft won't allow downloads from Firefox at MSDN.  I work for a company that was kind enough to give me a MSDN license.  I've used it a great deal to get software like Vistual Studio 2008 and SQL Server 2008 recently.  I also use it for the iso files I use in my VMs.  I recently had to download Vista again and from Firefox the specific items I want (the checkboxes in MSDN's new Silverlight UI) are grayed out.  COME ON!!!!!

    I use Firefox more than I use Internet Explorer.  And before, you non-Linux users tell me about the IE tab plugin for Firefox, let me remind you that you still have to have iexplore.exe on your PC.  Linux doesn't have it (and shouldn't).

    I like where Microsoft development teams are going recently (Guthrie, Haack, Conery, etc), but the MSDN team needs to wake up and open the ability to download items via Firefox.

    If someone out there knows a way to do this with Firefox, I will update this post and eat some humble pie.

    </rant>

  • Ubutnu 8.04 (Hardy Heron) after upgrade - I have complete sound!!

    UPDATE: Do not upgrade your virtual box install.  Stay with the Gutsy version if you already have it.  If you are just installing Hardy Heron from scratch, I will have a post in a little bit and link to it here about how to ensure you get the correct version.

    In a previous post, I shared the pain of getting sound working on my Toshiba Satellite laptop with prior versions of Ubuntu.  It has been off and on for a while and I've even resorting to recompiling my kernel to get it to work (no luck).  After upgrading to Hardy Heron today and restarting, I heard the wonderful drum sounds you here when Ubuntu loands.  YIPEE!!  I just logged in and finally got to watch some of the CodeBetter screencasts on the Seattle conference on my laptop without having to use my Windows VM.  For some reason, when I plugged headphones in and used my Windows VM, I got sound.

    I also got the latest beta of Firfox 3.0.  Wow.  My del.icio.us plugin was not compatible, but I did find the Shareaholic plugin that lets you post to Twitter, Facebook, Reddit, Digg, Del.icio.us, etc.  Nice.  A few special effects also.

    I noticed that the OS also has indexing in place now, so you can search for programs like you do with Vista.

    There are other new features that I'm excited about, but will use them in greater detail before I blog about them.

    Don't get me wrong folks.  Microsoft pays my bills with the day job, but I like Linux for personal reasons (oh and it's free).  Just want to share in case anyone is thinking about switching or is currently using and hasn't upgraded. I finally got my Vista VM up and I'm working in IronPython again.  I plan to post on that soon.

    I'm just very happy my sound is working flawlessly.

  • Ubuntu 8.04 came out today (Hardy Heron)

    Download here

    Feature List and a little more detail here

    I'm currently on Gutsy Gibbon (7.10), the previous version.  I'm upgrading after I post this.  I'll update this post afterwards.

    Also, for all you hesitant Linux users out there, on this version of distribution you can get the iso, create a CD and put in your windows box and install Ubuntu like a Windows application.  This tool is called Wubi.  This will let you see what Linux has to offer. 


    Also, if you haven't, go check out Virtual Box, so if you decide to make the switch, you can still have your Windows fix for pleasure or development in a nice VM.

     

  • Multi-processor builds with MsBuild

    I use a mixture of NAnt and MSBuild and the following was very interesting.

    Scott Hanselman posts about using multiple processors to build solutions. 

    If you are not subscribed to Scott's blog, you should be.  Also check out his tools list that he does every year.

     

More Posts Next page »
Copyright Los Techies 2007. All rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems