Author Archives: Josh Perry

Josh Perry

Having worked in software and hardware industry for over 15 years, Josh is currently a founding member, and director of hardware and software at 6bit Inc.

Linq Aggregate Empty Sequence

Linq is great for its compact expressions, and for its — usually efficient — lazy-evaluation. These two virtues seem to be spit upon by the Aggregate function. Say you want to aggregate a list of ints. var s = new int[] {1, 2, 3}; int sum = ints.Aggregate((a,b) => a + b); This works great [...]
Posted in Software Development, Technology | Tagged , | 1 Comment

Opera Mini on the iPhone, for now

So, today(2010-04-13) it was announced that Opera Mini for the iPhone had been accepted by Apple and in deed it was revealed in the Appstore within a few hours. Many have written on the loophole that Opera used to make this happen; Opera mini isn’t technically a browser, it can probably be more accurately described [...]
Posted in Bleeding Edge, Editorial, Technology | Tagged , , | Leave a comment

Gentoo Installation Bullet-point List

I install Gentoo often enough that the Gentoo Handbook is way too verbose, but not often enough to memorize the steps involved. This list is meant mainly for me, but also for anyone who is comfortable enough in Linux to know what to do with a description like “Partition disk and create file systems”. Config [...]
Posted in Linux, Open Source, Sysop, Technology | Tagged | Leave a comment

C++/CLI Converting from String to wchar_t and to char*

I recently started working on a managed wrapper for the Terminal Services API, and as my C++/CLI is a bit rusty I ran into some issues which I’m sure are common when trying to handle the impedance mismatch between the managed and unmanaged worlds. I’m going to take a look at one of those issues [...]
Posted in Software Development, Technology | Tagged , , | Leave a comment

Using the GPL as a Dual-Licensing Monopolistic Haven

Can a company control the use of their software intellectual property more completely if they release it under the open-source GNU General Public License (GPL)? I hadn’t really thought about it before, but while researching the OSS position of MySql I read an interesting post on Michael Meeks’ log that alludes to something of this [...]
Posted in Editorial, Open Source, Technology | Tagged , , , | Leave a comment

Modifying only directory permissions using find

I recently went through my web directories and updated the permissions to be more inline with recommended security practices. When setting web file permissions in Linux you want to set execute permissions on a directory to allow listing and traversal, but you don’t want to set execute permissions on the files for security reasons. Doing [...]
Posted in Linux, Sysop | Leave a comment

Jeff Atwood of Borg-StackOverflow Careers Assimilation

I’ve found StackOverflow to be a fun and vibrant community as well as an almost daily touchstone for programming and tech problems. Because of my enjoyment of the site I’ve started listening to the StackOverflow podcast with Jeff Atwood and Joel Spolsky (my opinion of which is another post altogether). I’ve found Jeff to be [...]
Posted in Editorial, Software Development | Tagged , | 1 Comment

Subclipse for SVN on Eclipse CDT

Subversion is a great way to work on code in a collaborative fashion. There are a couple subversion plugins that work with Eclipse, one of them is called Subclipse. To install Subclipse in Eclipse goto the Help menu and choose “Software Updates…”. Once the “Software Updates and Add-ons” window displays itself we need to add [...]
Posted in Software Development, Technology | Tagged , , , | 1 Comment

USB Communications Device Class on 64-bit Windows

There is a class of device specified by the USB-IF as a Communication Device, this class was meant to to include devices such as modems, and network adapters. This specification is detailed as the Communications Device Class (CDC). Ever since USB has replaced RS-232 as the predominant method of peripheral connection there has been a [...]
Posted in Hardware, Technology | Tagged , | 3 Comments

Palm Afraid of anti-”TiVoization”

Palm Inc. with the release of their Linux powered smartphone called the Pre, now has a vested interest in the group of manufacturers using Linux as their embedded OS. As opposed to companies like Apple and their BSD based OSX in the iPhone Linux devices have certain source code disclosure obligations under the GNU Public [...]
Posted in Uncategorized | Leave a comment