Mon, 22 Oct 2007

5:51 PM - The Miracle that is LDAP

It is possible to get a Mac OS X 10.4 Tiger Server (redundant) and a MidnightBSD (or FreeBSD) client to authenticate happily together.  The BSD box is the client in this case.

I'm still figuring out exactly what I need, but this tutorial helped

based on http://www.bresciani.ca/how-to/

install the nss_ldap and pam_ldap from ports

configure the conf file
vi /usr/local/etc/ldap.conf
(symlink this for nss_ldap.conf)

add the lines
#######################################################
host 192.168.0.4

base dc=ldap,dc=domain,dc=com

nss_base_passwd cn=users,dc=ldap,dc=domain,dc=com?one
nss_base_shadow cn=users,dc=ldap,dc=domain,dc=com?one
nss_base_group cn=groups,dc=ldap,dc=domain,dc=com?one

ldap_version 3
#######################################################
and make sure the file is readable by everyone or usernames will not get mapped.

modify /etc/nsswitch.conf by changing the following lines so they match below.
passwd: files ldap
shadow: files ldap
group: files ldap

A quick test at this point is to run the command getent group
to see if it is looking in ldap for users and groups. This assumes that users
and groups exist in ldap.

()

Sat, 20 Oct 2007

12:30 AM - (no subject)

Weird day.  I made an appointment with a doctor finally.  I've been sick too long.  I got everything figured out with blue cross finally.

Someone in my tired, sick state, I managed to get Firefox working on MIdnightBSD.  I'm referring to a native build.  I still need to update it, unbrand it, and so forth but it's there.  I'm very excited about it.  I'm using it right now on CURRENT/amd64. 

That also means that I'm no longer blocked on gnome.  I may try to get more in this weekend. 

Caryn's starting to teach tomorrow.  That's good for her and kind of interesting.  I'm curious what she'll think of the experience.  It's a little extra money. 

My iBook G4 800Mhz was sold on ebay today.  I'll miss it a bit, but it's time for it to find a new owner.  I bought it in 2003 i think.  4 years on a computer for me is doing pretty good.  I did buy the refurb thinkpad this year so you might say 3 years, but even so that is good considering it was lowend at the time.  It wouldn't run 10.5 anyway. (CPU too slow)

I have a lot of homework to do this weekend.  That sucks. English and CS homework that is due next week will be my objectives for tomorrow. 

The MidnightBSD site has transferred 76 GB in the last 34 days!  That's just HTTP traffic!

()

Thu, 18 Oct 2007

12:11 AM - Damn sickness

I've been "ill" for several weeks now. The problem is that we have a massive mold problem in our furnace room. The roof caved in from the upstairs neighbor's leak with their air conditioner. The wood and drywall have rotted. The apartment complex is finally doing something about it, but it's so bad now that it's going to be a long process. It's causing me all sorts of problems with allergies. Also with the weather changing constantly, it's much worse yet.

Anyone who knows me very well will tell you that I"m very illogical when I'm sick. It's really hurting on homework and other things. I couldn't even get to sleep last night and it's already 12:15 tonight.

()

Mon, 15 Oct 2007

11:11 AM - My little bit for blog action day

Today is blog action day. This year, the topic is the environment. The idea is for bloggers to write about the environment to see what can be accomplished in one day.

My topic is Al Gore. You see, Al likes to talk about global warming and doing your part for the environment. That's all well and good, but it does not mean that you can do harm to the environment in another area because you're making a stink about global warming. There is a picture floating around of Al Gore in his office in from of 3 30 inch monitors and watching a big plasma TV. As a computer geek, I can't even phathom the need for 3 30 inch monitors, let alone a big plasma tv running as well. The cost and energy waste there are enormous not to mention the materials in monitors. One might be thinking, well luke you have a lot of computers. Very true. Many of them would have ended up in a dump instead of being used longer in my care. I have tried to donate them with little luck because they are not new enough. One can surf the net on most of them. Also, I don't make documentaries on saving the environment and then get a picture of myself running as much as 800 watts for no apparent reason. How did I compute such a high number? Well first you have 3 30 inch displays. My recent LCD at 20 inches uses 50 watts. We'll assume a 30 inch wich is treated as two monitors by the computer (probably a Mac Pro). So a conservative estimate is 75-100 watts per display. That's as much as 300 watts just in monitors. (high end) Then you have his plasma tv which appeared to be at least the size of my tv. I know my tv uses like 150 watts or more. I forget the exact number. Plasmas use more power than LCD or CRTs in many cases. We'll assume 200 watts. That brings us up to 500 watts. Finally, you'd need 3 video cards to drive 3 30 inch monitors running in dual head mode. Any gamer will tell you that a video card adds a lot of power consumption to your PC (or Mac). That means his PC might be consuming 300 watts in video, but certainly it's using 500-600 watts totay. If we're nice that's 800 watts. This does not take into account for speakers or other devices in his office. He most likely has a printer somewhere, maybe a cable box, etc. Cable boxes use 10-15 watts according to my recent reading about kill-a-watts.

location: Home

()

Thu, 11 Oct 2007

2:40 PM - Windows Vista

Caryn sent me this link:
http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9041959&intsrc=hm_list

It discusses a conversation between Ballmer and a woman who had to go back to XP after facing many problems in Vista. Her daughter wanted it because of a friend.

What I find interesting is the parallels between Vista deployment and Windows 95. Microsoft had trouble getting people to transition to WIndows 95 and later 98. (before SE) The difference is that Microsoft used their monopoly to push Windows 95 only feautres. With Vista, we don't see that. There are two Vista titles that I know about and one is Halo 2 which has been out for the xbox forever. Microsoft is backing off on IE7, Windows Media and many of the other enhancements. Then they go so far as to backport things to XP from Vista in SP3. I think Micorosft is hurting customers who have adopted Vista at this point. What is the value for us? I feel a little more secure in vista, but it's not the cancel/allow dialog boxes that do it.

Every new innovative release of Windows (not every release) breaks hardware compatibilitiy with some devices. It's just a fact. The same is true of Mac OS X. My sound card barely works in 10.4 and apple bought that compnay. There are many constants. Internet Explorer was back ported to Windows 3.11 eventually. Microsoft had develpers release direct x games with dos modes too. It rewarded waiting. On the other hand, Microsoft released office, works and many other apps only for windows 95. This time office is backards compatibile, visual studio will be backwards compatibile, etc. There is no forced upgrade happening. With Apple's latest release looking ugly, I think microsoft won't be out to many customers if they push things. Here's what I suggest.

1. Only ship Windows x64 vista on new pcs. Standardize on one hardware platform and go for the future. THen you're not asking for 2 drivers for the OS or games for both like they do now. Push 64 bit memory addressing. We'll need it eventually and WIndows 95 started the transition to 32bit really.

2. Lower the price on vista so that it is competative. Drop the lowend home basic version. Consumers need features and xp has more features than home basic. Consumers mostly get that option and that's why they think vista sucks.

3. Advertise software and features actively in the media, on tv and radio and print. Tell people why they want windows vista. Going on the daily show did not do it.

4. Don't try to compete with apple. Apple doesn't care about computers as much and Microsoft has a chance to get back into the game. People who use alternatives are not going to like them anyway. Many switchers at school are coming from linux to mac os. Microsoft never had them anyway. There are switchers but they are following trends. A positve msft trend will fix their issue.

I've been using Vista since january. I like it better than XP and I've suggested it to my mother. She couldn't use it as it didn't support her ancient modem (56k should die). Someday I hope my mother can use MidnightBSD.

Obviously as a BSD developer, I have motivations for vista to fail. However, I have a vista/bsd desktop and a Mac running tigert. I can tell you that vista isn't that bad and i prefer the use of transparency and menus in vista better than the leopard changes i've seen at work. Neither are good, but overally i think vista is an improvement. The new start menu layout annoys me but i'm getting used to it.

Finally, if someone is happy with windows, then they need to realize they asked microsoft to do this to windows and deal with it. People whined about security and now they get vista.

I should point out that i'm a bit hostile at apple right now since I didn't get a job in one of their retail stores. :)


location: Home

()

Sat, 6 Oct 2007

11:24 AM - Quake wars

The quake wars installation process is not pleasant on vista ultimate x64. I had to uninstall the demo, run with admin rights (right click on the setup on the cd) as the autorun didn't work. I had to clean the temp directory and wait forever only to find out it had a 1.1 patch ALREADY. The game just came out.

The two levels I played last night were lame. It was not as fun as the demo level. I'm quite disappointed especially after the long wait to get it from best buy.

I'm not telling people to give up on the game, just consider carefully. It looks great. I can say that.

location: Home
mood: Aggravated

()

Fri, 5 Oct 2007

8:51 PM - Best Buy and Quake Wars: A Pre-order nightmare

I pre-ordered Enemy Territory: Quake Wars from Best Buy's website. The game tag registration came in the mail quickly. They shipped the game on the 28th as it was coming out October 2. I didn't get the game until today because they chose to use the UPS to USPS service. The post office sat on it it for 3 days in allen park!!!!! Best Buy did not give me an option for faster shipping and they held me back from gaming for several days. I'm unhappy.

()

Tue, 2 Oct 2007

4:44 PM - Gaming on the Mac

Refer to the following interview (page 1) for my comments
http://games.kikizo.com/features/gabenewell_valve_iv_sep07_p1.asp

Valve claims that there are no games for the Mac. However, every id game is ported to the Mac that is shipped for Windows. EA has released all of their new titles on the Mac since June or so. World of Warcraft and every other blizzard game run on the Mac. Microsoft has even allowed third parties to port their games to the Mac. Age of Empires 1 and 2 and Halo have made appearances on the Mac. Many AOE engine games were ported. (star wars for instance) On that subject, often LucasArts games are ported to the Mac.

So, the pattern here is that most people port to the Mac eventually. Some do simultaneous releases. Valve is the only gaming company with a series of popular games that has not ported to the Mac. It's just them.

If they wish to argue how great DirectX is, I could live with that. I just don't see the blame should fall upon Apple. Obviously if everyone else can do it, then it's not Apple's fault.


()

Sun, 30 Sep 2007

7:16 PM - Dance Dance Revolution for the Wii

Caryn and I had preordered Dance, Dance Revolution on Amazon.com.  I haven't felt much like playing the last two days, but I did get some time on it Friday night.  I thought it would be a lame chick game, but it's fun.  The pad reminds me of the old Power Pad add-on for the NES.  It uses the game cube ports on the Wii and then you use the wiimote + numchuck to do arm movements.

()

7:12 PM - Coding

Today I had an interesting experience with a script kiddie.  They started attacking this site.  I've always hates captchas because they make it impossible for blind users to use websites.  A few offer audio clues, but that is very difficult to pull off in UNIX.   It's doable in Mac OS or Windows based servers.

I added a captcha to the signup page successfully.  It was a shock as I've got a terrible cold.  Cough medicine tends to make me very illogical.  I have great difficulty concentrating on programming work. 

I'm at least half way done with my programming assignment for Tuesday.  The server piece is almost done and the client requires very little modification.  It's a C based client -server messaging system.   The client connects via TCP to the server and then waits for the server to process the incoming message.  It's stateful.

()

Wed, 26 Sep 2007

9:36 AM - Assignment of work

Have you ever noticed the old adage "when it rains, it pores" is very true in the accumulation of work. My CS professor has assigned a programming assignment, two sets of problems and as of last night a test next thursday. If his course were the only one I had to worry about, it would be no problem. However, things don't work that way. I have three other courses to worry about.

To top it off, I've got at least three tasks at work to accomplish. I'm wondering when I can start that assignment.

I guess everyone likes a challenge.

()

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 | )