Sat, 24 Nov 2007

3:34 PM - First Year Sales: PS3 vs xbox 360 vs Wii

The PS3 has been sold as many times as the xbox 360 in first year sales.  The units are comparable and both are overshadowed by the Nintendo Wii. 

There have been many people who have reportedly bought multiple xbox 360s due to failures.  It would be interesting to subtract out duplicate purchases from the figures of each console.  I suspect that the PS3 has actually done better than the xbox in sales.  Remember that the core system was $300 which is half the price of the original PS3 units.  The real question is how many games are getting sold.  That is possibly a better indicator of sales volume.  Many people have speculated that Wii owners aren't buying games.  Unlike the hidef war, there could actually be a winner and loser in the game console war. 

()

1:03 PM - The Holidays

It's the holiday season again. Family fighting and manipulation are rampant. My father finally sent me a birthday gift. It's November. My birthday was in May. Had to make sure it was for this last year. He included a card with a chicken on it. Good way to mend things with a vegetarian. I don't eat meat.

Thanksgiving

My mother came over for Thanksgiving. It was a rather relaxing holiday. My father wasn't around to start shit. I didn't have to deal with the in laws. Usually Caryn's family doesn't bother me, but it's very awkward during the holidays. My family is always rude to them if they run into each other this time of year.

Caryn made a tofurkey, pumpkin pie (Libby's recipe) and the usual veggie fixings. My mother seemed to like it. We ended up watching The Producers on DVD (original) and playing the Wii. She loves Dance Dance Revolution and Wii Sports.

Professors stick us with homework

As usual some of my professors decided to ruin the holidays for their students with tons of bullshit work. I get annoyed because I am usually ready to pull my hair out this time of year anyway. I'm trying to decide how much I have to do and how much can slide until Monday.

CPU

I bought a new CPU for my desktop. It's an Intel core 2 duo 6420 aka 2.13Ghz w/ 4MB Cache. It's helping quite a bit with my system performance. The RAM is now running at 667MHz and the power management is great. In MidnightBSD, one of the cores is slowing down to 800MHz when the system is idle. Some improvements should help with that problem. The heat when first starting the system is almost half. Now the chip runs at 32C instead of the old chip at 60C. I think it will be better as the compound sets in. In Vista, the computer's index is now 5.0. The RAM went from 4.6 to 5.3 and the CPU when from 4.7 to 5.0. Some people don't pay any attention to those tests, but it's still a way to compare systems. I didn't see too many at Best Buy that scored a 5.0 last time I looked several months ago.


()

Thu, 15 Nov 2007

6:16 PM - LDAP

I think I might have written an entry about LDAP previously, however I feel that I should write a second entry.

I have successfully authenticated a MidnightBSD machine against an Mac OS X server (10.4.10). 

Ports needed:  nss_ldap, pam_ldap

Create a shared config file in /usr/local/etc
ldap.conf or nss_ldap.conf


# Your LDAP server. Must be resolvable without using LDAP.
# Multiple hosts may be specified, each separated by a
# space. How long nss_ldap takes to failover depends on
# whether your LDAP client library supports configurable
# network or connect timeouts (see bind_timelimit).
host YOURSERVERIP

# The distinguished name of the search base.
base dc=od,dc=cs,dc=emich,dc=edu
base dc=od,dc=cs,dc=emich,dc=edu
nss_base_passwd cn=users,dc=od,dc=cs,dc=emich,dc=edu?one
nss_base_shadow cn=users,dc=od,dc=cs,dc=emich,dc=edu?one
nss_base_group          cn=groups,dc=od,dc=cs,dc=emich,dc=edu?one


nsswitch.conf needs this:

group: files ldap
group_compat: nis
hosts: files dns
networks: files
passwd: files ldap
passwd_compat: nis
shells: files
shadow: files ldap

There are also some things in pam.d

This is not "complete" by any means.  I was also able to nfs mount the home directories too.  There are some issues with X11 and locking in this setup but I haven't had time to refine the approach.

()

6:06 PM - Researching boot camp

I've been asked to find a solution to using boot camp at work.  We need to image 20-30 machines in a dual boot setup.  According to various sources there are only a few options.

1. Netrestore.  The idea here is that you'd setup a Mac and make copies.  Windows must be on a NTFS volume.

2. dd.  This old friend can duplicate a disk including the GPT/MBR hybrid needed to boot OS X and Windows.  Of course if your drive is another size, you are out of luck. 

3. Manually setting up each machine with boot camp.  This one is out.

4. Imaging the machine as normal for OS X and then using a Bart PE disk customized with the OS X drivers for Intel macs to use Windows ghost.  Of course this breaks the Microsoft EULA for Windows.  I do like ghost, and this one is interesting.  We do not have a license that I can use in the CS department. 

I'm leaning toward the dd solution.  We could do that with a Mac OS X boot on firewire which Kirk is into right now.  I could script it pretty easily.  I can't find a firewire cable to test it tonight though.  I really do want to try this. 

There are further limitations.  GPT does not support extended partitions.  MBR does not support more than 4 partitions.  The combination means you can't use extended or more than 4 primary partitions.  One is used by EFI.  That gives you a maximum of three partitions for this to work in hybrid mode.  Windows must be on the last partition. 

Some people can get os x, linux and windows triple booting by using a third party boot loader.  The apple loader doesn't support triple boot effectively. 

Kirk has proposed multibooting OS X, OS X and Windows.  I'm not sure if that will work or not with Apple's software.  (10.4, 10.5 and XP)

()

2:51 PM - 10 minutes with 10.5.1

I'm preparing for class, but I had an opportunity to work with the 10.5.1 update for 10 minutes. First observations:

  1. The firewall dialog has changed.  Instead of fixing it, they changed the text to something logical.  "Allow only essential services"   Better, but I want more control over the firewall. A "quick list" of built in OS X apps and services to allow is a good start. 
  2. Mail closes MUCH faster.  It is like night and day.  I'm quite happy with that.
  3. The finder seems to be working subtly better.  I don't know what it is, but it "feels" better.
  4. After another reinstall my wacom tablet is working.  I don't know if that will last
  5. It's a 40mb update.  Not "small"

()

Tue, 13 Nov 2007

4:55 PM - Fuck i hate work sometimes

I come in to find that the iMac I was trying to develop an image on for boot camp has been dicked with and is without a keyboard but ASLEEP.  Next, i find the keyboard in the middle of my build cluster with half the units partially disconnected and beater macs in their places.  SHIT has been put all over the room that i had been cleaning very carefully.

And this is why nothing gets done.  Now kirk wants us to deploy logins and has taken away my job with bootcamp.  I sense a power struggle between kirk and new chris.. well an agenda difference at least.  This fucking sucks. 

()

Mon, 12 Nov 2007

11:54 AM - Compiling qt apps

To compile a qt33 app in MidnightBSD, you need to run the qmake command first.  (like all platforms)  However, you need to define the path to a spec file or else you'll get an error. 

Here is the proper command line usage:

qmake myfile.pro -spec /usr/local/share/qt/mkspecs/freebsd-g++

We need our own mkspecs file.

You may need to edit the Makefile as well. QTDIR isn't getting set.

()

Wed, 7 Nov 2007

6:34 PM - bootcamp on leopard

The secrets...

You MUST format the partition in the windows installer (full format) for it to work.  Not formatting or a quick format will not allow the install to boot even though it appears to complete.  This causes the dreaded disk error.  A fast NTFS format will get you an ntloader error.  (XP SP2 VLK)

()

Tue, 6 Nov 2007

6:37 PM - Nervous about this test

I've got a CS test in 30 minutes or so.  I'm not prepared as I'd like to be. 

I spent 10 minutes reading the manual on my calculator.  I'm so mixed about buying this thing.  It can do so many things, but I don't know how to use it and it's not intuitive to me.  Doh!  I miss the Ti85. 

The CS work is another matter.  I think I know most of the technical data, but I'm not sure about procedures.  Half the test is math and that is not my strong suit.  We can have very limited notes, but I'm not sure they will be of much help.  For instance, one type of problem requires synthetic division of binary numbers.  I understand the procedure to do that, but I almost always make a mistake and end up with the wrong result.  Since he only gives 1 point, that means I automatically get the problem wrong even though I get the procedure.  There are going to be 15-20 1 point problems and some require a lot of work.  One mistake or putting it in the wrong units can be the end as you only get 1 point.  It sucks.

I studied before my english class, after my english class, and probably one more time before class starts.  I can't relax as I know how I an English paper due and a programming assignment (wed and thurs respectively). 

()

6:33 PM - bsdstats

I just love the bsdstats project.  It's so interesting to see what systems are on there.  PC-BSD is number 2 and they report on all installs by default.  MirBSD also does that.  I don't know about DesktopBSD.  We do not report on all of them and I've got our build cluster in there now. :) 

Some systems have not reported yet and there will be more running MidnightBSD shortly.  I wish those were "real" users.  I mean people do use it an EMU now, but I'd like to see some random people listed.  Perhaps I should reconsider the reporting.

()

2:58 PM - Intesting mail server software survey

Here's a list of mail servers ranked in popularity

http://www.securityspace.com/s_survey/data/man.200710/mxsurvey.html

postfix is not as popular as one might believe. sendmail and microsoft products are at the top.

location: Home

()

Fri, 2 Nov 2007

10:51 PM - (no subject)

I just had a dreadful day. I had an x-ray of my back done at the hospital to determine if there was any damage from my car accident in 2005. My back has been quite sore since the accident. I'm not sure if there is a problem with my back or merely that I've been much more tense since the accident combined with longer periods on the computer. I've also founded an open source project which takes most of my time during this period.

If the results are negative for injury, I'll have to go get my back "cracked". (i love scary quotes)

Caryn's family had a last minute event in Lansing. We just spent 4 hours in transit or at the event. Her grandmother is building a house in PA and moving there soon. She's in Flint right now. Most of her church friends are in the Lansing and Flint areas. Their faith is very different. They don't like TV, dress extremely conservatively and think everyone else is a heathen. It is an offshoot of christianity best I can tell. They don't like churches and are not that organized. Their members have to get married twice (once legally). We stuck out like sore thumbs. We saw Caryn's aunt and uncle today. It has been a few years.

I spent 45 minutes trying to debug a problem NAT'ing the open computer lab in the CS department. I forgot to turn on the firewall. Very stupid of me. How would natd divert the traffic if it can't be diverted from anywhere... lol. Now the lab is behind an OS X server with NFS/AFP for imaging, a caching DNS server, and a very loose firewall ruleset. I'd like to improve that but triv erased my rules on the white board. I'll have to think them up again.

I spoke with Jessica a bit today. She was updating software in one of the side labs. Nothing real exciting, but it's been awhile since I chatted with her. Kirk was talking to a former student employee who now works for ICT as a security person. He was very interested in the build cluster in terms of security and that concerns me. I think we'll have to harden that.

KDE is failing to build with our 0.1.1 tagged ports tree. I'm a bit worried about that and trying to work around it as much as possible. Caryn convinced me some people will be upset.

()

Wed, 31 Oct 2007

12:48 AM - Midnight

I drew a picture recently on my new tablet. I don't think I've posted this one yet. Right now it's my desktop background.

I did this one in photoshop.

()

Tue, 30 Oct 2007

5:24 PM - Dashboard widget

I'm trying to write a dashboard widget for Just Journal. It's not coming out quite like I had hoped, but it's something.

()

Mon, 29 Oct 2007

10:11 AM - Hardware support in 10.5 Leopard

My Wacom tablet periodically "loses" it's drivers in 10.5. They're still shipping a beta driver for a seed of Leopard on the site. Often the tablet doesn't work.

I haven't tried the printer yet.

A seagate USB external hard drive works well. My emagic (now apple) external sound card that has not been updated since 10.3 still works on PPC hardware. It did not work for awhile on 10.4 so this is impressive.

()

10:10 AM - Daylight Savings Time

There has been a lot of misinformation about the time change this year. My mother called me to tell me it was changing. ICal in Mac OS 10.5 says it happened this last weekend. That is incorrect.

()

Sun, 28 Oct 2007

10:59 AM - An update on my Leopard experiences

My DVD had a scratch in it from shipment. The Power PC layer was fine, but the Intel build would fail during the middle of install. My G4 got it to test the DVD in another machine, but I realized it was not proof since we have only one intel mac.

I contacted Apple support at 6:05 PM as support was opened. They just had Leopard training. At 6:55 PM he told me he'd call me back with a solution. Their computer systems did not have the product id in the system yet so he couldn't order me a replacement DVD. The tech was very nice, although I was on hold for most of that call. This was the first time I've ever called apple technical support! I've been a Mac user for 7 years at home and even longer in work environments. There was an instance at work where we should have called, but did not once. Anyway, within 10 minutes he called me back asking if I'd go to the local apple store. I said OK. In fact, this was better as I could get the disc right then and fix the Mac Pro that wouldn't boot.

I went to the apple store to find some very rude help. I wish I had written the girl's name down or something. They gave me attitude about not having a receipt. Mind you I had a damaged, opened DVD... Under normal circumstances, I would have brought the receipt. Remember the Mac won't boot so I can't print a copy of my web order on that one. I also had MidnightBSD compiling so windows was out, and my other printer has been giving me issues. The box came with a PACKING SLIP that didn't have my name on it so I doubt that would help. Finally she did it and I was able to return with 10.5.

The phone support was under stress with a new release and not enough planning. I understand that. I was very angry with my store experience. I wonder if it was related to the fact I interviewed for a job there. I've never seen that behavior at any apple store before.

Now, an update on using 10.5. The transparency is disabled for the top menu bar (apple menu area) on an old Power Mac G4 Dual 867 with an nvidia geforce 4 mx. It is enabled on the Mac Pro. I don't like it and would like to turn it off on new Macs. The G4 version is white with a nice drop shadow. It is easy to read.

I bought an external seagate drive as a backup drive for time machine on Friday. Best Buy had a nice sale on them. The drive is bigger than my boot drive (which is practically required). It has to keep copies of files beyond the contents of your disk. It took about 6-7 hours to copy 149GB of data to the drive over USB 2. (i have a belkin USB 2 card) The UI is ugly on the G4. The animation does not work properly. I'm sure it's much nicer on newer Macs. Whenever you're doing a lot of file modifications, it starts syncing which cuts down on throughput. I've noticed problems copying files between Macs while it' s going. This would probably be more noticable on SATA drives as they are serial and multiple requests can be an issue. I haven't tested it though. It is very thorough, but I don't think it changes the need for .Mac or "Backup" that comes with it. I still feel the need to do separate backups for certain items.

The new version of Mail is nice. It has support for RSS feeds. The notes and todo features are great. They finally added a check box to approve SSL/TLS certs for INCOMING connections! No more hell with keychain for incoming mail. Outgoing requires MORE HOOPS though. I did get SSL/TLS support going. My sendmail + dovecot setup is happy again. Overall, I like the new Mail application.

Safari 3 is much more stable in 10.5 than the betas. It is a little slower, but it works on more websites. I prefer the stability. When the focus is off the window, it gets lighter now. I wish that color was default. The dashboard feature to save parts of web pages is great. I've got my build cluster on there. :)

10.5 does not come with most of the iLife applications like previous versions. You have to get iPhoto, iWeb and friends yourself. I'm sure they probably include them on new Macs, but if you're thinking you can save a few bucks during upgrades, think again.

Although ipfw doesn't block connections directly, by disabling connections, it does block AFP connections. It appears they tied in binding of their services with that setting instead of relying on ipfw. I'm still playing with it. I don't know how it would do blocking other apps like say limewire or azerus.

While I think there are some issues with 10.5, it's worth the upgrade price. The UI enhancements might not be your favorite, but some of my friends like them.

()

Fri, 26 Oct 2007

11:03 AM - Mac OS X (10.5) Leopard

My copy came via Fedex. I've been a little leery of this release as I've been running a version at work. (developer seed) Apple fixed my big two complaints with the system. The menu bar at the top is not uber transparent on this old PowerMac. That was really bothering me. The dock has been fixed when it's on the side not to use the hideous floor theme.

However, there are some issues. The firewall is off by default. It is no longer located in sharing, but rather security. They got rid of the convenient check boxes for common services. Instead you have to do it manually. What's worse, when it's enabled for "deny by default", ipfw show still shows allow any .... if I turn on stealth mode it just blocks some types of ICMP! Allow is still on.

% sudo ipfw show
33300 0 0 deny icmp from any to me in icmptypes 8
65535 490 46714 allow ip from any to any


Next, software update is failing. Someone at apple forgot to put the index up on their webserver! It's launch day! Granted I got it early.

The wizard setup .Mac fresh on my system even though I had it configured previously. Spotlight has to create a fresh index which takes some time. Safari feels slow and bulky compared to betas, but it is a little more stable.

I'm not fond of the new login screen background. .Mac syncing is better and I do like spaces.

Spotlight is now reporting 7 hours for indexing! I have a 160GB ide drive in this PowerMac G4. I have 1.75 GB of RAM!

I know I have an old mac, but this is very sad.

()

Mon, 22 Oct 2007

6:09 PM - more resources

http://linuxwiki.riverworth.com/index.php/LDAP_Authentication#Pluggable_Authentication_Modules

()