Wed, 26 Sep 2007

9:29 AM - Wii Play: A Review

I've played with Wii Play for several days now. For $50, you get a second controller and several mini games on one disk. The games are not the same level of quality as Wii Sports, but some of them are fun.

One game is a shooting gallery that is in some respects similar to Nintendo's Duck Hunt game packaged with the original NES. It does not let you pick your targets like the Duck Hunt game, but it instead gives you cans (Hogan's alley style), Ducks, and clay targets. There are also bonus items and pictures of your player. If you shoot your mii's face, you lose points.

Another game is a hockey like game with neon coloring. It is a bit difficult to aim at times, but still fun.

There is also a tank game where you try to destroy another tank. Ammo can bounce off the walls in some cases and you can move and aim with the wii controller.

My favorite mini game is a pool game. It is quite fun in two player. That game is worth the $10.

There are several other games in the package. Most are not very interesting to me. One is a where's waldo style finding/matching game.

()

Sat, 22 Sep 2007

12:37 AM - Scary Cat drawing

I got a wacom tablet for my Mac. I'm not very good with it yet, but I'm trying. Here's a cat I drew earlier.

()

Tue, 18 Sep 2007

11:05 AM - Borked Intel iMac

At work we've got a 20 inch Intel iMac with four gouges in the screen.  It looks like someone hit it.  On the Internet, people refer to the behavior as the "white screen of death."   By using the external video port, we proved the system is booting and the display is broken.  I'm very unhappy with that outcome.  I suspect my boss will be even more pissed.  I hope whoever broke it can pay for it.  The computer isn't very old. 

()

10:53 AM - This month so far

I haven't been blogging much.  Here's a brief rundown.

  • Caryn and I went to Kalamazoo for our anniversary.  It was very nice.  We went to the chappel at K college where we got married, out to dinner at the Blue Dolphin (rehersal dinner location), etc
  • Back to school.  I'm taking networking, stats and two English courses. 
  • My computer flipped out on Friday.  The display was black.  Part of the problem was a lose cable as the connector isn't very good on the video card and it doesn't hold.  However, the card is also not initializing the display (two different ones) sometimes regardless of the cable position.  The fan was clogged and cleaning that has minimized problems, but not completely stopped them.  Once the computer is up, it works as expected.  Very strange. 
  • The monitor on my Mac is cycling through blue, green and normal periodically.  The color is not consistent.  I'm waiting for a replacement.  It was bought in 2001.  15 inch displays suck anyway. 
  • My father had a birthday this month.  So far I haven't done anything for it just as he didn't send me a card or acknowledge my birthday.  He sent me an anniversary card, but that has a sore spot with me for another reason.  I don't feel like talking about it.  I had a few drinks on Sunday night and actually prepared an iCard with a picture of my cat's ass for him.  I didn't send it though.  .Mac allows you to use your own pictures.  All I wanted at my birthday was an email.  That's free.  I realize he doesn't have money.  I know the anniversary card was a ploy to get a good birthday gift. 

()

10:49 AM - It's Official: Freedom of speech is out

http://www.cnn.com/2007/US/09/18/student.tasered.ap/index.html?eref=rss_topstories

This student was tasered for asking questions.  How dare he!  I'll agree he was emotional and perhaps they did have to ask him to leave, but it was clearly excessive force when 6 police officers were there.  Even the miranda rights state that you have the "right to remain silent" not that you must remain silent.  He asked them what he did wrong and got a shock for it. 

This guy didn't commit a crime.  They could ask him to leave and that is about it.  If he refused that request, they could escort him out. 

()

Mon, 3 Sep 2007

12:43 AM - My Interview

In case you missed it, I was interviewed for bsdtalk. You can hear interview 126 at http://bsdtalk.blogspot.com/

bsdtalk is a podcast about and for the BSD community. This interview is about MidnightBSD of course.

()

12:31 AM - Harry Potter, etc

Caryn and I went to see the most recent Harry Potter film in the theater today. I know it's a bit late, but we finally got time to see it. I liked it, but it seemed different than the other films. Obviously the tone of the book is different, but there was something else I can't put my finger on.

Some asshole decided to cut in front of us at Meijers today. He felt it was OK because we looked young and he was much larger than me. He ordered his girlfriend to "cut in front of these nice people". There were a lot of U of M students buying cartloads of alcohol and he assumed we were part of that crowd. Regardless, it was uncalled for.

I've seen a lot of negative activity at Live Journal. They seem to be banning users for links to adult content in friends and private posts. That seems unfair. They used to have very loose rules about blogging material.

NBC and Apple are fighting about pricing structure and DRM. NBC does not want to allow users to keep content and they wish to charge $5 an episode. This will effect NBC content and Universal content. You will see no more Monk, Psych, The Office, or NBC News clips. They also partially own the History Channel and A&E. I don't know what will happen with that content. I'm mad because I buy Monk and Psych episodes on iTunes. I have every episode of Monk to date (season 2 is on DVD) and almost every episode of Psych. I don't want to wait for DVD sets nor pay the premium for DVD versions. I may get a PVR or just record on VHS or get a TV tuner working on my PC again. Screw them. Universal is the reason we have a format war. They support HD-DVD along with Toshiba.

I'd complain about this to NBC, but their contact forms are very selective. Perhaps I should complain to their parent company, GE.

location: Home
music: Folsom Prison Blues

()

Tue, 28 Aug 2007

11:24 PM - Blockbuster online, xbox

I just cancelled my blockbuster online service. For several months, it was a very good service. They offered unlimited in-store swaps of DVDs and I had absolutely no problems with DVDs playing. Over the last two months, I've had nothing but bad DVDs. At least 5/9 discs have been cracked and glued back together. They won't play in any of my players or computers. I'm sick of reporting the discs and waiting for new ones to come. I'd complain to them, but they don't offer a lot of feedback options on their website. It's possible that it is just my service center (in lansing) or bad luck with the discs I'm renting. I may go back to netflix, but for a few months I'll just buy DVDs. At $10 a month, I can walk into best buy and just pick up a movie or two. I actually bought one movie for $4 recently there.

Caryn sold my original xbox on Ebay for ~$65. It included two controllers and 14 games. I found that I'm not playing games as much with mbsd. When I do, it is often the Wii now. We need a new tv stand anyway. We'll put the money toward that.

()

Tue, 21 Aug 2007

4:30 PM - Thought of Caryn

I saw this out of fortune today:
My mother wants grandchildren, so I said, "Mom, go for it!"
-- Sue Murphy

(1 comment | )

Fri, 17 Aug 2007

4:26 PM - Nintendo's month of Metroid

Nintendo has been promoting their new Metroid game for the Wii. They've put the original NES game and the SNES game "Super Metroid" on the Wii shopping channel. I really liked the original Gameboy game "Metroid 2: The return of Samus". A lot of people don't realize that Samus is a chick! It was one of the first games that had a female character in the lead role. Consider other games of the era like Zelda (link), Super Mario Bros (two male plumbers), etc. It was a big deal back then. Most of the games targeted at women were Barbie games. How lame.

()

4:24 PM - Shari goes to MCC

My mother just got her financial aid so she can attend MCC. I'm so happy for her. It's hard to go back to school when you've been away. I know she is nervous about her age. She'll do fine.


()

Wed, 15 Aug 2007

12:21 AM - (no subject)

I watched Sideways again.  I remembered why I found the movie interesting the first time.  It was very weird to see the cheap gas prices when they stopped for gas.  $1.71 in California! 

Caryn's set to teach an HTML course at the local community college this fall.  I talked to her about my experiences in my summer classes.  I'm sure she'll do fine. 

Just Journal was moved to a new IP address the other day.  I got a free SSL certificate from GoDaddy.  They offer them to select open source projects.  I doubt Just Journal would qualify, but MidnightBSD did.  It saved me some money and I can now offer SSL for certain operations like CVSWeb browsing.  I'm very happy about that. 

Our Wii is working great with the new television set.  It looks much better on a widescreen TV with component cables.  The two recent Wii updates were quite helpful in terms of network connectivity.  I've isolated that something upstairs is causing the random wireless disconnects.  I suspect I need to pick a different wireless channel.  I just don't know which one to use. 10 and 11 are saturated with five other networks.  There are advantages to owning a house.  You don't have as many neighbors very close to you.  Then again, I'd probably use wired connections in a house as I could run cat 6 through the building.

MidnightBSD 0.1-RELEASE has been released.  I've found a lot of issues with the ports collection included, but the actual release is pretty good so far. 

The semester is drawing near.  I need to go over my checklist of things to do before it starts.  Oddly, I'm very stressed.  I could talk about it, but somehow I don't feel it's a good idea tonight.

()

Mon, 13 Aug 2007

11:34 PM - Karl Rove set to leave

http://news.yahoo.com/s/ap/20070814/ap_on_go_pr_wh/rove_resigning

http://news.yahoo.com/s/ap/20070814/ap_on_go_pr_wh/rove_quotes_4;_ylt=AtZEsHhWxmk5c75FD6TZaxwGw_IE

Great news isn't it.

(1 comment | )

Mon, 6 Aug 2007

12:54 AM - (no subject)

One of my annoying neighbors setup their wireless without any security.  Many of my other neighbors are taking advantage of it.  Worse yet, their wireless router is changing channels periodically which causes interference on our wireless router.  As they are fairly close, it is really causing trouble for our network this weekend. 

I had to reboot both wireless routers twice.  Now I've put both airport express units in the same room.  The signal is very strong now and I can surf.  I think my neighbor is pissed as I hear him pounding on things upstairs.

I really need the network solid as I'm preparing an OS release.  I'm hoping it all goes according to plan.  It would put me in a great mood and I won't have to worry about it when the semester starts up again. 

()

Sat, 4 Aug 2007

8:49 PM - Mac OS X 10.5 Leopard

I got an opportunity to see 10.5 on Friday.  For a beta, it was shockingly fast and stable.  The UI improvements were not as impressive as the demo videos led one to believe.  The floor aspect of the dock is very lame.  The tabs and other enhancements to terminal are awesome.  I did not get a chance to play with time machine as we didn't have a drive to configure it with.  It was actually OS X server so there was a lot of other extras. 

I'm going to suggest the upgrade to others just because I think it is much more consistent than 10.4.10.  It's an odd release and we all know those are the stable ones. 

()

8:38 PM - HDTV + Wii + DVD

Caryn and I got a good deal on an open box HDTV this weekend.  Our old television was a 20 inch Magnavox that Caryn got when she entered college.  (prior to us getting married)  Half the features didn't even work on that TV and the power button was acting up. 

The new television is a 30 inch Samsung with 1080i, 2 hdmi, 2 composite, 1 svideo and 1 standard rca.  It has optical audio output. The only thing I don't like about it is that it is a CRT and weights 120 pounds.  We had a hell of a time getting it in the apartment. 

We also bought a composite cable for the DVD player which was $10 at meijers versus the $60 best buy wanted.  The Nintendo Wii is now hooked up with a composite cable which you have to buy special for $25.  That allows the Wii and DVD players to do 480p instead of 480i.  (interlaced vs progressive scan)  I watched Star Wars and it did look good.  As for the Wii, the widescreen made a bigger improvement than the 480i vs 480p aspect. 

I was shocked to see how many channels we get.  We do not have cable tv hooked up in the living room and with our existing rabbit ears, we can get channels 2, 4, 7, as well as stations in toledo, pbs and other local programming.  HD broadcasts include 2 channels per station.  So if you tune in to channel 7, you get 7 (over air regular broadcast), 7.1 (high def regular abc programming), and a weather only channel 7.2.  Before we could only get channel 7 and 2 good enough to watch.  I think I would have bought one sooner if I knew that you could actually pick up more content. 

Our bedroom television is only a 13 inch but it's about 3 years old.  We often watched television in there as we have cable and the picture was better than the living room.  I'm very surprised by the HD picture quality improvement.  I have a feeling the negative comments about Blueray and hd-dvd are wrong in terms of picture quality.  I can tell the difference between a 480i or 480p broadcast and higher settings. 

As I'll need to get a new car, any other purchases will be put off for some time.  I would love to get an Apple TV or PS3 (for blueray player) down the road. 

()

Wed, 1 Aug 2007

9:21 PM - Apple get's OS X 10.5 on INTEL hardware certified as UNIX


http://apple.slashdot.org/article.pl?sid=07/08/01/123258&from=rss

This does not apply to PowerPC hardware running the same OS. My Mac won't be running UNIX, but Caryn's will. Strange isn't it.


Funny comments burried inside:
LINUX - Linux Is Not UniX

location: Home

()

3:25 PM - OS X 10.4.10 post security patch issue

Those of you on home routers using OS X maybe in for a surprise. Apple has disabled UPNP support in the latest update for mDNSresponder. That means your router can't automatically open ports for you when using things like iChat.

-----
mDNSResponder

CVE-ID: CVE-2007-3744

Available for: Mac OS X v10.4.10, Mac OS X Server v10.4.10

Impact: An attacker on the local network may be able to cause a denial
of service or arbitrary code execution

Description: A buffer overflow vulnerability exists in the UPnP IGD
(Internet Gateway Device Standardized Device Control Protocol) code
used to create Port Mappings on home NAT gateways in the Mac OS X
implementation of mDNSResponder. By sending a maliciously crafted
packet, an attacker on the local network can trigger the overflow
which may lead to an unexpected application termination or arbitrary
code execution. This update addresses the issue by removing UPnP IGD
support. This issue does not affect systems prior to Mac OS X v10.4.
----

()

Fri, 27 Jul 2007

10:39 AM - New Ethernet Standard

http://slashdot.org/article.pl?sid=07/07/26/1456252
40 and 100Gbps! I would love to have that here, but I don't know how I'd saturate it with today's hard drives.

location: Home

()

10:06 AM - Readme from Linux 0.01

Notes for linux release 0.01


0. Contents of this directory

linux-0.01.tar.Z- sources to the kernel
bash.Z- compressed bash binary if you want to test it
update.Z- compressed update binary
RELNOTES-0.01- this file


1. Short intro


This is a free minix-like kernel for i386(+) based AT-machines. Full
source is included, and this source has been used to produce a running
kernel on two different machines. Currently there are no kernel
binaries for public viewing, as they have to be recompiled for different
machines. You need to compile it with gcc (I use 1.40, don't know if
1.37.1 will handle all __asm__-directives), after having changed the
relevant configuration file(s).

As the version number (0.01) suggests this is not a mature product.
Currently only a subset of AT-hardware is supported (hard-disk, screen,
keyboard and serial lines), and some of the system calls are not yet
fully implemented (notably mount/umount aren't even implemented). See
comments or readme's in the code.

This version is also meant mostly for reading - ie if you are interested
in how the system looks like currently. It will compile and produce a
working kernel, and though I will help in any way I can to get it
working on your machine (mail me), it isn't really supported. Changes
are frequent, and the first "production" version will probably differ
wildly from this pre-alpha-release.

Hardware needed for running linux:
- 386 AT
- VGA/EGA screen
- AT-type harddisk controller (IDE is fine)
- Finnish keyboard (oh, you can use a US keyboard, but not
without some practise :-)

The Finnish keyboard is hard-wired, and as I don't have a US one I
cannot change it without major problems. See kernel/keyboard.s for
details. If anybody is willing to make an even partial port, I'd be
grateful. Shouldn't be too hard, as it's tabledriven (it's assembler
though, so ...)

Although linux is a complete kernel, and uses no code from minix or
other sources, almost none of the support routines have yet been coded.
Thus you currently need minix to bootstrap the system. It might be
possible to use the free minix demo-disk to make a filesystem and run
linux without having minix, but I don't know...


2. Copyrights etc


This kernel is (C) 1991 Linus Torvalds, but all or part of it may be
redistributed provided you do the following:

- Full source must be available (and free), if not with the
distribution then at least on asking for it.

- Copyright notices must be intact. (In fact, if you distribute
only parts of it you may have to add copyrights, as there aren't
(C)'s in all files.) Small partial excerpts may be copied
without bothering with copyrights.

- You may not distibute this for a fee, not even "handling"
costs.

Mail me at [email blocked] if you have any questions.

Sadly, a kernel by itself gets you nowhere. To get a working system you
need a shell, compilers, a library etc. These are separate parts and may
be under a stricter (or even looser) copyright. Most of the tools used
with linux are GNU software and are under the GNU copyleft. These tools
aren't in the distribution - ask me (or GNU) for more info.


3. Short technical overview of the kernel.


The linux kernel has been made under minix, and it was my original idea
to make it binary compatible with minix. That was dropped, as the
differences got bigger, but the system still resembles minix a great
deal. Some of the key points are:

- Efficient use of the possibilities offered by the 386 chip.
Minix was written on a 8088, and later ported to other
machines - linux takes full advantage of the 386 (which is
nice if you /have/ a 386, but makes porting very difficult)

- No message passing, this is a more traditional approach to
unix. System calls are just that - calls. This might or might
not be faster, but it does mean we can dispense with some of
the problems with messages (message queues etc). Of course, we
also miss the nice features :-p.

- Multithreaded FS - a direct consequence of not using messages.
This makes the filesystem a bit (a lot) more complicated, but
much nicer. Coupled with a better scheduler, this means that
you can actually run several processes concurrently without
the performance hit induced by minix.

- Minimal task switching. This too is a consequence of not using
messages. We task switch only when we really want to switch
tasks - unlike minix which task-switches whatever you do. This
means we can more easily implement 387 support (indeed this is
already mostly implemented)

- Interrupts aren't hidden. Some people (among them Tanenbaum)
think interrupts are ugly and should be hidden. Not so IMHO.
Due to practical reasons interrupts must be mainly handled by
machine code, which is a pity, but they are a part of the code
like everything else. Especially device drivers are mostly
interrupt routines - see kernel/hd.c etc.

- There is no distinction between kernel/fs/mm, and they are all
linked into the same heap of code. This has it's good sides as
well as bad. The code isn't as modular as the minix code, but
on the other hand some things are simpler. The different parts
of the kernel are under different sub-directories in the
source tree, but when running everything happens in the same
data/code space.

The guiding line when implementing linux was: get it working fast. I
wanted the kernel simple, yet powerful enough to run most unix software.
The file system I couldn't do much about - it needed to be minix
compatible for practical reasons, and the minix filesystem was simple
enough as it was. The kernel and mm could be simplified, though:

- Just one data structure for tasks. "Real" unices have task
information in several places, I wanted everything in one
place.

- A very simple memory management algorithm, using both the
paging and segmentation capabilities of the i386. Currently
MM is just two files - memory.c and page.s, just a couple of
hundreds of lines of code.

These decisions seem to have worked out well - bugs were easy to spot,
and things work.


4. The "kernel proper"


All the routines handling tasks are in the subdirectory "kernel". These
include things like 'fork' and 'exit' as well as scheduling and minor
system calls like 'getpid' etc. Here are also the handlers for most
exceptions and traps (not page faults, they are in mm), and all
low-level device drivers (get_hd_block, tty_write etc). Currently all
faults lead to a exit with error code 11 (Segmentation fault), and the
system seems to be relatively stable ("crashme" hasn't - yet).


5. Memory management


This is the simplest of all parts, and should need only little changes.
It contains entry-points for some things that the rest of the kernel
needs, but mostly copes on it's own, handling page faults as they
happen. Indeed, the rest of the kernel usually doesn't actively allocate
pages, and just writes into user space, letting mm handle any possible
'page-not-present' errors.

Memory is dealt with in two completely different ways - by paging and
segmentation. First the 386 VM-space (4GB) is divided into a number of
segments (currently 64 segments of 64Mb each), the first of which is the
kernel memory segment, with the complete physical memory identity-mapped
into it. All kernel functions live within this area.

Tasks are then given one segment each, to use as they wish. The paging
mechanism sees to filling the segment with the appropriate pages,
keeping track of any duplicate copies (created at a 'fork'), and making
copies on any write. The rest of the system doesn't need to know about
all this.


6. The file system


As already mentioned, the linux FS is the same as in minix. This makes
crosscompiling from minix easy, and means you can mount a linux
partition from minix (or the other way around as soon as I implement
mount :-). This is only on the logical level though - the actual
routines are very different.

NOTE! Minix-1.6.16 seems to have a new FS, with minor
modifications to the 1.5.10 I've been using. Linux
won't understand the new system.

The main difference is in the fact that minix has a single-threaded
file-system and linux hasn't. Implementing a single-threaded FS is much
easier as you don't need to worry about other processes allocating
buffer blocks etc while you do something else. It also means that you
lose some of the multiprocessing so important to unix.

There are a number of problems (deadlocks/raceconditions) that the linux
kernel needed to address due to multi-threading. One way to inhibit
race-conditions is to lock everything you need, but as this can lead to
unnecessary blocking I decided never to lock any data structures (unless
actually reading or writing to a physical device). This has the nice
property that dead-locks cannot happen.

Sadly it has the not so nice property that race-conditions can happen
almost everywhere. These are handled by double-checking allocations etc
(see fs/buffer.c and fs/inode.c). Not letting the kernel schedule a
task while it is in supervisor mode (standard unix practise), means that
all kernel/fs/mm actions are atomic (not counting interrupts, and we are
careful when writing those) if you don't call 'sleep', so that is one of
the things we can count on.


7. Apologies :-)


This isn't yet the "mother of all operating systems", and anyone who
hoped for that will have to wait for the first real release (1.0), and
even then you might not want to change from minix. This is a source
release for those that are interested in seeing what linux looks like,
and it's not really supported yet. Anyone with questions or suggestions
(even bug-reports if you decide to get it working on your system) is
encouraged to mail me.


8. Getting it working


Most hardware dependancies will have to be compiled into the system, and
there a number of defines in the file "include/linux/config.h" that you
have to change to get a personalized kernel. Also you must uncomment
the right "equ" in the file boot/boot.s, telling the bootup-routine what
kind of device your A-floppy is. After that a simple "make" should make
the file "Image", which you can copy to a floppy (cp Image /dev/PS0 is
what I use with a 1.44Mb floppy). That's it.

Without any programs to run, though, the kernel cannot do anything. You
should find binaries for 'update' and 'bash' at the same place you found
this, which will have to be put into the '/bin' directory on the
specified root-device (specified in config.h). Bash must be found under
the name '/bin/sh', as that's what the kernel currently executes. Happy
hacking.


Linus Torvalds[email blocked]
Petersgatan 2 A 2
00140 Helsingfors 14
FINLAND

location: Home

()