IPv6, an Experimental Overview

The Internet as we know it is destined to change. That may seem like a profound statement, but it effectively and correctly captures the essence of the Internet’s entire history. Soon–or hopefully very soon–we’ll be witness to one of the most significant transformations made to the very core of how the Internet operates.

I am of course talking about IPv6, the fundamentally-changed and massively-upgraded addressing scheme intended as a replacement to what we’re currently using, IPv4. You may be wondering why IPv6 is such a big deal, and if you haven’t heard of it yet, you should take some time to learn more. There are quite a few compelling reasons pertaining to why we need IPv6, but the most important is simple: We’re running out of publicly-addressable IPv4 addresses. According to Hurricane Electric’s statistics, we have less than two years before the complete exhaustion of our remaining IPv4 pool.

Knowledge is Power: Arm Yourself!

I’m not an authoritative source on IPv6. I’ve simply been testing it for my own diabolical purposes, but there are plenty of places to get started. I know of one particularly excellent blog dedicated to IPv6 fittingly called “Life with IPv6.” You can also find guides for various operating systems. You can find general guides for most operating systems such as this one for gogo.net (formerly Freenet6). There’s also a really good guide on configuring IPv6 for Gentoo Linux, which is general enough (in some sections) to apply to other OSes. If you happen to have a router supported by the DD-WRT replacement firmware, there’s even a guide to configure it. For the FreeBSD crowd, you have the choice of FreeBSD’s official handbook or KAME’s FreeBSD guide.

So what’s this all about?

This rant of mine has its purpose: During my excursion into the new world, I’ve encountered demons, dragons, angels, angry natives, and the occasional mime. While I haven’t any idea where the mime came from, I do know that it is best to share such discoveries. Thus, this post outlines some of the things I’ve encountered, including a few things that don’t seem to be mentioned anywhere. I may also cover a basic ip6tables setup for use in conjunction with an IPv6 tunnel; if not, don’t worry. I’ll be posting something related to that soon.

But above all else, stay away from the little red berries. Those things give you a nasty full-body rash for a week. That poor mime…

Before we begin: Some Caveats

There’s always a “gotcha,” isn’t there? I should mention this before we dive into “getting started,” otherwise you’re liable to come pounding on my door in the middle of the night complaining that I didn’t provide sufficient warning: If you have a separate consumer-grade router rather than a dedicated *nix box, this probably won’t work. You have two choices: Look around for a way to forward protocol type 41 (IPv6) to the target machine or check dd-wrt.com’s router database for your make and model. The latter option certainly isn’t for the faint of heart and it can render your router unusable.

However, there is a silver lining. I have heard that some home router manufacturers are starting to include native support for IPv6 and a few of them even include wireless access points. SixXS (another tunnel broker) maintains a wiki of several well-known brands that support IPv6 and IPv6 tunneling.

I did lie about there being only two options. There’s actually one more, but given my experiences, I wouldn’t necessarily recommend it. Freenet6, operated by gogo.net, is another free and open IPv6 tunnel broker. gogo.net supplies a special client that can work quite well behind a NAT machine (like your router), but the nearest North American endpoint is located in Montreal, Canada. Freenet6 is a great way to test IPv6 if your options are limited. Unfortunately, it’s also painfully slow. (Side note: The sign-up process is obnoxious and creates a “social networking for network professionals” account.)

I suppose there’s also an unspoken forth option: Don’t use IPv6. I don’t really like that option, and you shouldn’t either! Remember: We have less than two years before all of the IPv4 Internet runs out of addresses. Encouraging adoption should be a high priority among Internet-related hardware and software providers. Keep this in mind the next time you purchase a router for your home network–or dust off an old machine and turn it into a routing box. You’d be surprised how easy that really is.

Getting Started

First, if you don’t have access to a native IPv6 network (and that’s what this post assumes; if you do, stop reading now, you won’t find much more useful information!), you’ll need a tunnel broker. Tunnel brokers provide access to a native IPv6 network and, typically, a large chunk of routeable addresses over an IPv4 tunnel. The Gentoo IPv6 guide is a great place to start and includes links to several tunnel brokers around the world. Hurricane Electric is an excellent broker and provides access via tunnelbroker.net. HE also has several locations worldwide, including 10 or so tunnel endpoints across North America. I believe they’ve recently added several new endpoints in Europe.

Hurricane Electric’s tunnelbroker.net service allocates a /64 chunk of routeable addresses and allows you to create up to 5 separate tunnels from different locations. They also provide a full /48 prefix for those in need of a larger address pool, but I can’t imagine anyone who’d be in need of more than 1.8×1019 addresses–which is the address space allocated to a full /64. Better still: Hurricane electric provides configuration samples for several operating systems, including Linux, FreeBSD, and several flavors of Windows. All you have to do is set up your tunnel, pick your external address, and choose from tunnelbroker.net’s configurations what best matches your setup and go from there.

If you’re using Gentoo, the IPv6 guide is mostly safe, but don’t bother following it for configuring your tunnel–you’ll need to follow Hurricane Electric’s suggested configurations for “Linux-route2.” If you don’t, you might wind up being unable to route IPv6 packets between your internal network and the outside world. Don’t say I didn’t warn you.

If all goes well, you should wind up with a new device that looks something like this:

he0       Link encap:IPv6-in-IPv4
          inet6 addr: 2001:470:c:407::2/64 Scope:Global
          inet6 addr: fe80::4800:2c85/128 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1280  Metric:1
          RX packets:4136 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3342 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3564671 (3.3 MiB)  TX bytes:492987 (481.4 KiB)

I won’t go over the details–there’s plenty of guides dedicated to setting up tunnels, configuring your kernel, and installing necessary software. If you can’t get the tunnel working, make sure you did something analogous to:

ip tunnel add he6 mode sit remote <SERVER IPv4 IP ADDRESS> local <YOUR IPv4 ADDRESS> ttl 255
ip link set he6 up
ip addr add <CLIENT IPv6 ADDRESS> dev he6
ip route add ::/0 dev he6

You can verify the link state by pinging a couple of IPv6-only sites (use ping6!). First, try the server IPv6 address from tunnelbroker.net; if that works, try these:

$ ping6 ipv6.google.com
$ ping6 www.kame.net

There are many other IPv6-enabled locations. I’ll leave their discovery as an exercise to the reader.

Once you’re able to successfully ping locations beyond your own delegated subnet and Hurricane Electric’s routes, it’s time to move on to more advanced topics.

Router Discovery

IPv6 includes provisions that limit the overall necessity of DHCP. No longer must addresses be delegated by a central host, and IPv6’s auto-configuration provides routing (via discovery) to connected clients. In most cases, DHCP on a pure IPv6 network is only required for supplying name server addresses and other related chores. Even then, I’ve read speculative mumblings on at least one mailing list that some such tasks could be handled via nearest-neighbor discovery. I haven’t yet tested that, however. Windows Vista (and up) already happens to have shaky IPv6 support for anything out of the ordinary.

Depending on your platform, router discovery announcements may be provided by either radvd (most Linux distros) or rtadvd (*BSD). Providing IPv6 access to your network is simply a matter of installing the appropriate package and tweaking radvd/rtadvd’s configuration file. Bear in mind that rtadvd’s configuration is somewhat terser than radvd, though it’s also much shorter. FreeBSD’s handbook has an example for that, too. However, if you’re using some flavor of Linux, you’re in for a real treat. Here’s what my configuration looks like:

interface eth1
{
    AdvSendAdvert on;
    AdvLinkMTU 1280;
    MaxRtrAdvInterval 300;
    prefix 2001:470:d:407::/64
    {
        AdvOnLink on;
        AdvAutonomous on;
    };
};

The above configuration was borrowed almost entirely from the Gentoo IPv6 guide and it works well. There are some caveats, though. If you plan on supplying DHCP via IPv6, you must add AdvManagedFlag on; somewhere after the AdvSendAdvert declaration; if you don’t, your clients won’t ever solicit DHCP requests. As far as I can tell, this isn’t mentioned in any how-to guide that I’ve yet read.

The fascinating thing about IPv6 is that the immediate availability of a router discovery service on the local network will propagate IPv6 addresses to all connected clients that support it. It’s almost like magic (in fact, it is). Try pinging some IPv6 hosts from your clients to prove it!

Linux-only Issues

radvd has a nasty habit of unsetting the sys.net.ipv6.conf.all.forwarding sysctl variable. When it does, connected IPv6 clients won’t be able to do anything via IPv6 and, if available, will degrade to IPv4 access. If you’re having trouble accessing the IPv6 Internet from your clients (or vice-versa), check this sysctl value. You can do so either via sysctl or by examining the contents of /proc/sys/net/ipv6/conf/all/forwarding. If it’s set to 1, then forwarding is enabled and your tunnel may not be working (or ip6tables might be incorrectly configured). If so, keep reading.

You may also encounter an issue where clients are allocated IPv6 addresses via auto-configuration but refuse to access the IPv6 Internet. Under my Gentoo install, this was resolved when at least one IPv6 address from the pool delegated via my tunnel broker was added to the appropriate interface on the routing box. It’s possible that this issue is specific to my setup.

DHCP

DHCP is still somewhat necessary on IPv6 networks where neighbor discovery doesn’t work for domain name resolution services. Unfortunately, there’s a big catch: It works. Partially. This section highlights some of my experiences with two main stream DHCP client/server packages: DHCPv6 and ISC DHCP v4.1.

DHCPv6

DHCPv6 behaves similarly to the WIDE-DHCP implementation. DHCPv6 has also been superseded by ISC DHCP v4.1. I’ve also had somewhat more luck with static IP assignments using DHCPv6. Here are some thoughts:

Pros
  • Most distros provide this as the defacto DHCPv6 DHCP client/server software.
  • Configuration is slightly less verbose than ISC’s DHCP.
  • Lightweight, spartan implementation.
Cons
  • Highly finicky configuration system.
  • New development halted; development is in maintenance mode.
  • Requires slightly more work than ISC’s implementation to work correctly.
Example Configuration
interface eth1 {
    allow rapid-commit;
    option dns_servers 2001:470:d:407::1 2001:470:d:407:0:baad:beef:cafe destrealm.org;
    send information-only;
 
    link AAA {
        allow unicast;
        send unicast;
        send rapid-commit;
        allow rapid-commit;
        pool {
            range 2001:aaa:12:1234::bead:500 to 2001:aaa:12:1234::bead:ffff/64;
            prefix 2001:aaa:12:1234::/64;
        };
    };
    host statichost {
        duid 00:01:00:01:12:aa:23:cb:10:ac:19:83:82:a8;
        iaidinfo {
            iaid 221149200;
            renew-time 1000;
            rebind-time 2000;
        };
        address {
            2001:aaa:12:1234::100/64;
            prefer-life-time 2000;
            valid-life-time 3000;
        };
    };
};
Notes

To a certain degree, I had the most luck with DHCPv6. Static addresses would assign (correctly) to FreeBSD clients and name server addresses would (usually) propagate. Neither Windows Vista nor Windows 7 would accept static IPv6 address assignment; I’m not sure why. Even with the correct DUID-LLT (local link + time), Windows would refuse static assignment. Dynamic addresses worked fine for all OSes I tested.

DHCPv6 version 1.2.x will build under Gentoo but it won’t run. The ebuild is incorrect and the resulting binary will attempt to load data from /var/lib/lib. Fortunately, there is a workaround.

ISC DHCP v4.1

ISC DHCP 4.1 is still very much a work in progress but works fantastic for IPv4 networks and acceptably for IPv6. ISC DHCP is the current defacto standard for DHCP.

Pros
  • Configuration is easy to understand and follow
  • DHCP configuration for IPv6 networks is almost identical to its IPv4 counterparts.
  • As an ISC project, ISC DHCP has a long running track record and earlier versions likely power most corporate and ISP networks.
Cons
  • IPv6 is only starting to stabilize in the still somewhat experimental 4.x branch.
  • Most basic IPv6 features have been implemented but some esoteric ones have yet to be developed.
  • Slightly larger package than DHCPv6; might not be suitable for highly restricted embedded applications.
Example Configuration
default-lease-time 1800;
max-lease-time 7200;
authoritative;
 
option dhcp.domain-search "destrealm.org";
option dhcp6.domain-search "destrealm.org";
option dhcp6.name-servers 2001:470:d:407::1, 2001:470:d:407:0:baad:beef:cafe;
 
subnet6 2001:aaa:12:1234::/64 {
    allow unknown-clients;
    default-lease-time 1800;
    min-lease-time 4000;
    max-lease-time 7200;
 
    # Ranges can be provided in many different ways.
    #range6 2001:aaa:12:1234::bead:10 2001:aaa:12:1234::bead:ffff;
    #range6 2001:aaa:12:1234::10 2001:aaa:12:1234::ffff;
    range6 2001:aaa:12:1234:0:ccee:0:0/96;
}
 
host statichost {
    host-identifier option dhcp6.client-id "00:01:00:01:11:f9:4b:5a:08:00:27:c5:40:c7";
    fixed-address6 2001:aaa:12:1234::500;
}

Note: The “host” declaration can appear inside a subnet declaration. I tend to separate them for my home configurations for aesthetic purposes; don’t do this for larger networks.

Other Thoughts

ISC DHCP supports both IPv4 networks and IPv6. However, it is currently impossible to supply DHCP access to both IPv4 and IPv6 networks at the same time without running multiple instances of dhcpd. It’s possible, and Gentoo certainly makes it easy; however, some tweaks are needed.

The instructions for running multiple instances of dhcpd on the same Gentoo server are somewhat misleading. If you read them, your initial impression would be to simply do something like the following:

# cd /etc/init.d
# ln -s dhcpd dhcpd6
# cp ../conf.d/dhcpd ../dhcpd6
# nano -w ../dhcpd6
# cp ../dhcp/dhcpd.conf ../dhcp/dhcpd6.conf
# # Point /etc/conf.d/dhcpd6's config file to /etc/dhcp/dhcpd6.conf
# # Done!

Unfortunately, this won’t work. Under the checkconfig() function in /etc/init.d/dhcpd (which is now also linked to /etc/init.d/dhcpd6) refuses to honor the DHCPD_OPTS defined in /etc/conf.d/dhcpd. Thus, forcing the server to run in IPv6 mode (with the -6 switch, though IPv6 mode is the server’s default) doesn’t work. Instead, it is necessary as of this writing to create a copy of the /etc/init.d/dhcpd script and modify the function accordingly to include ${DHCPD_OPTS}:

checkconfig() {
        /usr/sbin/dhcpd ${DHCPD_OPTS} -cf ${DHCPD_CHROOT}/${DHCPD_CONF} -t 1>/dev/null 2>&1
        ret=$?
        if [ $ret -ne 0 ]; then
                eerror "${SVCNAME} has detected a syntax error in your configuration files:"
                /usr/sbin/dhcpd ${DHCPD_OPTS} -cf ${DHCPD_CHROOT}/${DHCPD_CONF} -t
        fi
 
        return $ret
}

(Admittedly, the above code may cause problems if the DHCPD_OPTS variable contains -cf or similar switches.)

Furthermore, it is also necessary to point the server to a different lease file and include the following in a separate dhcpd.conf:

pid-file-name "/var/run/dhcp/dhcpd6.pid";

Here’s what my /etc/conf.d/dhcpd6 looks like:

DHCPD_CONF="/etc/dhcp/dhcpd6.conf"
DHCPD_IFACE="eth1"
DHCPD_OPTS="-6 -lf /var/lib/dhcp/dhcpd6.leases"

Also, much like DHCPv6, ISC DHCP won’t supply static addresses to Windows clients. I can only assume this is the consequence of an incorrect understanding of how DUIDs work on my behalf. If I make an insightful discovery or someone posts corrections in the comments, I’ll update these notes accordingly.

Link Local Routing

IPv6 doesn’t really support the notion of private networks. At least, it doesn’t support private networks in the same manner as IPv4. Instead, there are several ranges reserved for router discovery and, more importantly, “link local” addresses. Link local addresses are automatically created whenever IPv6 support is enabled for an interface and exist in the fe80::/16 prefix. Any address in this range is not routeable but can be pinged on the local network.

There is one surprising discovery I made with regards to IPv6’s auto-configuration. On the local network, the link local address of your router actually becomes the gateway for hosts that it has automatically configured. Gone are the *.*.*.1 router conventions of IPv4. This may seem unimportant, but when you consider that it will impact what choices you make with regards to your firewall, it suddenly becomes much more important.

Samba, CIFS, IPv6, and You

I’ve been running Samba on my local network for literally years to supply access to my /home and various file repositories. However, something unusual started happening the day I booted my server with a new kernel including IPv6 support: Windows 7 would announce that it was “unable to connect all network drives” immediately after login. I assumed (incorrectly) that Samba had crashed, and thus opened Windows explorer, double-clicked the drives, and then they mysteriously opened as if nothing were amiss.

After much poking, prodding, and a liberal application of tcpdump I discovered a couple of important things. First, it is important to have Samba upgrade to at least version 3.2 when adding IPv6 to a network (3.0 appears to be resolvable, even though it doesn’t have fully capable IPv6 support). Second, I also learned that IPv6 packets must be routeable to the Samba server–and must be processed by it as well–because Windows Vista and Windows 7 will both attempt to use CIFS over IPv6. If IPv6 queries fail, these versions of Windows will report that attached network drives cannot be mounted even though they appear to degrade successfully to IPv4 access.

Also, one of the more significant contributors to my Samba problems was related to how I had my firewall configured. Being a good netizen and blocking everything (except what I want) by default, I figured allowing access to the local network via eth1 (my internal interface) was enough. That is to say until I realized that I hadn’t correctly allowed my internal network unadulterated access to the server. Moral to the story: Once you get around to setting up ip6tables, double check your settings. I can’t stress this enough.

Chances are, too, that if you’re using Samba, you’ve probably set it up to provide printing access via the local network to Windows machines that don’t yet support IPP. (Of course, if you’re using Windows Vista or Windows 7 x64, you have no other choice than to use IPP but that’s another rant!) If you’ve enabled ip6tables, you might notice a lengthy delay in printing, and searching for a printer will seem nearly impossible. Here’s why:

Feb 19 16:54:39 sagittarius [277797.502535] IN= OUT=lo SRC=0000:0000:0000:0000:0000:0000:0000:0001 DST=0000:0000:0000:0000:0000:0000:0000:0001 LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=TCP SPT=42045 DPT=631 WINDOW=32752 RES=0x00 SYN URGP=0
Feb 19 16:54:51 sagittarius [277809.502544] IN= OUT=lo SRC=0000:0000:0000:0000:0000:0000:0000:0001 DST=0000:0000:0000:0000:0000:0000:0000:0001 LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=TCP SPT=42045 DPT=631 WINDOW=32752 RES=0x00 SYN URGP=0
Feb 19 16:55:15 sagittarius [277833.500054] IN= OUT=lo SRC=0000:0000:0000:0000:0000:0000:0000:0001 DST=0000:0000:0000:0000:0000:0000:0000:0001 LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=TCP SPT=42045 DPT=631 WINDOW=32752 RES=0x00 SYN URGP=0
Feb 19 16:56:03 sagittarius [277881.502542] IN= OUT=lo SRC=0000:0000:0000:0000:0000:0000:0000:0001 DST=0000:0000:0000:0000:0000:0000:0000:0001 LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=TCP SPT=42045 DPT=631 WINDOW=32752 RES=0x00 SYN URGP=0

Notice anything amiss? The local machine (that’s ::1/128, or all those zeros followed by a 1) keeps sending requests to port 631 but why. What’s wrong?

This is what happens when Samba sends printer list requests to CUPS. Without a reply, it’ll continue trying until it gives up. The fix? Allow localhost. I know it goes without saying, but it’s easy to overlook, particularly in something like iptables. Moreover, when you’re not used to examining IPv6 networks, it’s easy to overlook the rather unusual looking localhost declaration. Besides, there’s no reason not to grant localhost IPv6 access!

Alas, I get ahead of myself. My ip6tables section will be up and coming in a day or two, and I’ll even have a script prepared. Be aware that there are some unusual complications related to some of IPv6’s reserved ranges (more on that later), but by and large, configuring iptables for IPv6 is analogous to IPv4. The only significant difference is that you’ll have more basic rules to contend with to support things like automatic discovery.

See you next time!

No comments.
***

Windows 7 Maxing Out RAM?

Yeah, I thought it was a bit ridiculous, too.

I was reading this piece on Slashdot a couple of days ago, slightly infuriated, because I’ve actually had very few issues running Windows 7–with some exceptions. I’m glad that Ars Technica has come out to set the record straight.

UPDATE

Turns out that there’s some speculation the individual who brought the memory issues to the forefront is a fraud.

Anyway, look forward to seeing another link of the week in a few days. I’ve been getting caught up with a couple of things, including a personal project in my free time that might be of interest (more on that in another post). Actually, I have several; there’s one in particular that I’ve found rather captivating. Stay tuned! If I get around to it, I’ll post a little tomorrow.

No comments.
***

Links of the Week: January 30th

I’ve been collecting quite a few gems this week, especially with the launch of the Apple iPad (which, according to my mother, sounds like a product that could be confused with a feminine hygiene product). There’s a great deal of excitement and resentment surrounding Apple’s announcement. I’m sure it’ll be fascinating to see how it plays out.

I’d like to link to a site run by a couple of buddies of mine (for whom I occasionally do contract work) dedicated to the Apple iPad: iPadForums.net. Dan’s put quite a bit of effort into consolidating a significant amount of news and information–even prior to the announcement–so it’s worth investing some of your time into browsing the site or contributing.

Apple, Inc.

This last week’s news has almost entirely focused on Apple’s latest announcement related to the iPad. I won’t bore you with the details, because a quick Google search would certainly turn up anything you may have missed. Furthermore, since most of your are Slashdot readers, I’m convinced you’ve likely seen at least one story related to the tablet… thing. Daring Fireball has a glowing review of the iPad (of course).

There’s even another article here that speculates Apple’s release of the iPad is a “great day for open technologies.” I’m a skeptic, but the author raises a few good points.

Apple’s marketing department is nothing short of amazing.

My most favorite article, however, is this one. “Is Apple Evil?” may be considered by some to be a knee-jerk reaction to what is–for lack of a better term–nothing more than vendor lock-in in a sleek case, but I think it’s worth reading. Is it crazy to think that Apple may be trying to control everything about their products, including applications? Maybe, but I think Aaron Swartz may have hit the nail on the head. I hope he’s wrong for the sake of the industry, but judging by Apple’s past behavior, my gut is telling me he’s right.

Earlier this month, a company by the name of Freescale Semiconductor released reference designs of a new tablet that might serve to compete against the iPad. In a similar thread, electronics firm MSI also plans to enter the tablet market, albeit with Android OS (thank you, Google). Hopefully this showdown will result in a win for consumers: There’s no sense to have a locked-down device.

So the vendor lock-in business doesn’t bother you, because you see the iPad as an appliance rather than a computer? Maybe the $99 developer fee (yearly) doesn’t scare you off because you don’t care? Well how about this: the iPad is an antisocial device.

If you’re part of the bandwagon that feels Apple has every right to lock down their devices, consider this: Apple says jailbreaking is illegal. Of course, this article relates to the iPhone and EFF’s attempt at pressing for DMCA exemptions, but since the iPad runs iPhone OS, you can see where this is going. The FSF even steps in and takes a few shots, stating why they feel the iPhone and free software don’t mix. Since the iPad is essentially a giant iPhone, I expect this debate to be on going for years to come.

Since the Apple App Store is going to play a significant part in iPad usability, I think you ought to read this article by Paul Graham. Essentially, Apple’s treatment of developers is starting to breed resentment.

There’s also a pretty big debate going on related to Amazon’s Kindle versus the iPad. Both solutions are DRM’d to the hilt, so regardless of whoever wins, the consumer still (technically) loses. Amazon, however, has been pushing to keep the prices of eBooks low in spite of the wishes of some publishers. But consider, for a moment, what it would be like if a central authority controlled what you could read. Are the eBook wars beginning?

Speaking of DRM, Ars has a great write up on the limitations imposed by the iPad.

Biology

Ever wonder what color dinosaurs were? There might be new, emerging answers. I still say: Nothing would completely ruin the intimidating pose of a tyrannosaurus rex than for a human visitor to gaze upward at the beast’s monstrous frame, frightened, and hear a thunderous… BUCKAW! Cretaceous chicken: You’re what’s for dinner.

I’ve never been a fan of Jazz, but if you’re particularly interested in the brain, this article “The Neuroscience of Jazz” should make for a fascinating read.

Business

When do you fire your co-founders? No, don’t panic! It’s not about being (intentionally) mean to those who might otherwise have good intentions. It’s about business: If you’re going to put together a team to make a business work, you need to find people who will do exactly that. Obvious? Maybe, but you really need to read this article if you’re planning on starting a venture of some sort. Frankly, I think this is pretty important advice.

Climate

Looks like there’s still fallout over those e-mails that pointed to what was essentially data hiding and disingenuous science.

Speaking of climate, here’s an interesting thought experiment on using Clojure to analyze climate data. Read ahead for a surprise ending.

Culture

While this article takes jabs at Americans and the English, I think it’s a very good read for anyone who travels, especially overseas. Cultural sensitivity may have negative connotations thanks to political correctness, but there are times when it most certainly pays off (business).

Developers, Developers, Developers Develop

Did you know that some indie games have made money? It’s true! Just look at those figures. This is pretty impressive news. Microsoft may be evil (WGA comes to mind), but they certainly aren’t as evil as Apple.

I stumbled across a brief article on 0MQ, a “new” approach to messaging. If you’re planning on writing a networked application in the near future, you may ought to consider 0MQ instead of writing your own custom socket wrappers.

Education

Setting a rather odd precedent, a German family has been granted political asylum… for home schooling.

Health

New and “damning” evidence has surfaced related to the doctor who linked vaccinations with autism, New Scientist reports.

Hardware

Well, it looks as if the PS3’s hypervisor has been hacked, potentially opening the doors to new and interesting uses of the console.

Life and Living

I wish I had heard this advice years ago. There are always more than two options. It’s centered more around business and entrepreneurship but has wide application to literally everything. This is a great read.

Mathematics

Here’s an interesting topic discussing vector clocks. I’ve not encountered these before, but this looks like a great tutorial if you’ve run into a situation where you find yourself horribly confused by them: Vector Clocks are Easy.

Speaking of the dazed and confused, here’s an article detailing why students hate algebra. I highly recommend reading this thought-provoking article, particularly if you were in school at some point during the 1990s or later. Thinking back on it, the issues Dan Meyer raises are exactly why I hated algebra when I was a student.

This completely boggles my mind because I was never especially strong at math. It sure sounds interesting though: using the sum of squares to “translate” complicated equations.

Natural Resources

There’s a war that will be raging against China soon. No, it’s not likely to involve troops on the ground, planes, and other implements of war–at least, not in the traditional sense. There’s a battle underway involving rare earth metals. It’s ironic that these precious elements–almost a requirement in building “green” technology–has been sourced largely from China, one of the biggest polluters in the world. The Chinese are planning to reduce their exports of rare earth metals by a significant margin. Worse, because of environmental restrictions and low market prices, the US’ ability to produce a sufficient quantity of high quality ores has almost completely diminished. Some geologists estimate we have enough of the materials locally to become self-sufficient and maintain that status for over 150 years. Too bad.

Programming

Here’s an article by Raphael Mudge about using “tries” to offer accurate spelling suggestions. It’s excellent and quite thorough! Definitely recommended reading for anyone putting together a modern web 2.0 application that offers something akin to spell checking.

Here’s a list of 10 tips for a new Django developer. I’ve been tempted to try Django for a while now, if only because Pylons and TurboGears miss some of the configurability I’d expect from a web application framework and require some tweaking in order to support table prefixes. (But prefixes are stupid! Real developers use schemas! Yeah, well, if I’m using an ORM like SQLAlchemy and someone is really desperate for MySQL support, I haven’t much choice!)

Did you know that writing multithreaded code can be like juggling chainsaws? Okay, maybe not quite (you won’t lose a limb). Still a worthwhile read for anyone who might have to deal with massive concurrency.

Scala 2.8 is getting closer to completion.

Here’s a great piece on the debate (again) about DirectX versus OpenGL. Honestly, I really wish this is a debate that would die. As the author points out: It exists mostly due to marketing hype.

Programming Humor

Here’s a humorous piece on github that demonstrates Python programmers with varying proficiencies attempting to calculate the factorial of a number. I’m with the whole import math; math.factorial(6) crowd.

Also in the humor section, but in what I would like to describe as the “sad but true” section, is this gem. Hint: This is satire.

Security

There’s a vulnerability affecting FreeBSD 7.1-8.0. However, unlike what the Slashdot article suggests, the exploit is a local exploit–not a remote one.

Survival School

Should you ever find yourself in free fall from 20,000 feet or higher, this guide is for you.

Technology

The FreeNAS project has decided that they’ll be switching from FreeBSD to Debian for their 0.8 release. While I think the move is stupid since it completely eliminates ZFS from the equation (a great reason to stick with FreeBSD), I don’t think it’s quite the end of the world. Already, at least one company has announced they plan to create a fork. The discussion surrounding the project’s reasons is here. Though there are a few reasons suggested, it seems to me that the most “important” one is the lack of hardware support (not that I’ve ever really encountered problems in FreeBSD myself…). And frankly, I hate Debian. Ubuntu may be impressive, but the Debian roots make me want to cry in terror.

Oh noes! The Russians have released pictures and video of their newest stealth fighter. While it looks like a 1:1 copy of the F-22 nose cone, the rest of the aircraft hardly looks that different from an Su-27. Personally? I’m not worried.

Flash is doomed. It’s about damned time.

Web, The

Looks like Facebook has decided to scale down custom tabs. Also in that link is a template you can use to assist in migrating your Facebook whatever-it-might-be to the new size. (Disclaimer: I don’t use Facebook, but I find it interesting that they’d be reducing the maximum width from 760px to 520px when most professional designers are considering even higher widths.)

Video

With HTML5 and many video providers (including Youtube) supplying beta access to non-flash embedded video, have you ever wondered why they only Chrome, Safari, and MSIE? It’s a licensing issue. More details are available here. In short, the MPEG LA will not (and probably cannot due to the nature of how they issue licenses) offer coverage for free software.

X

There was an interesting Ask Slashdot a couple days ago related to some system of maintaining what amounts, effectively, to two distinct, isolated desktops on different monitors. On proposed solution was awesome (no, really, that’s the name). I don’t think that’s the ideal solution as it’s intended for almost exclusive keyboard access but it is certainly an interesting solution.

3 comments.
***