64-bit Windows support in Boot Camp

29 04 2008

Just spotted this over at Mac Rumors, that there are a few cases reported Mac Pro users can boot into their 64-bit Windows Vista (GO confirms XP support still limited to 32-bit on Bootcamp).

From the manual, Page 4, the message said:

Important: You must use a single full-install Windows installation disc (Service Pack 2 is required for Windows XP installations). Do not use an upgrade version of Windows and do not install an earlier version of Windows XP and attempt to update it later to SP2 or later. Use only 32-bit versions of Windows. If you have a Mac Pro introduced in late 2007 or later, you can use a 64-bit version of Windows Vista.

Also, from your Mac Pro restore disk (on newer shipped models, apparently), you should be able to find a file “BookCamp64.exe” under “Drivers\Apple\”, under Windows. There a spread/file sharing of this file on the internet whom a forum member has kindly shared with other Mac Pro user. As I have never used Boot Camp and don’t have a Mac at all, I can’t say if this “BootCamp64″ will work with all other 64-bits processors used by Mac. It in understand that all Mac Pro are 64-bit capable.
Read the rest of this entry »

Share/Save/Bookmark



PHP Design Patterns PHP Job Interview Questions

17 04 2008

As a PHP contractor, consultant, and freelancer, Larry Truett from San Diego who goes by the alias Fluffycat had a fair number of interviews - and sometimes he’s been asked technical questions. Here are a few to help you prepare for your next PHP job interview.

=,==,=== - what is the difference between these?

= assigns a value, == checks if value is the same, === checks if value is the same and the variables are of the exact same type.

Echo, print, printf - what is the difference between these?

Print and echo both output what is passed to them. Print acts like a function, so you can use it in complex statements. Printf is used to format the output.

Include, include once, require - what is the difference between these?

Include will includes a file each time it is called. Include_once would only include a file one time, so if a php program has a file in two include_once statements only the first will be done. Requre is like include, but if the file included is not available a fatal error occurs and processing stops.

Read the rest of this entry »

Share/Save/Bookmark



Facebook Shocker: New Privacy Controls Sort of Naive

17 04 2008

Chris Soghoian reports on Facebook’s new privacy controls, which feature the ability to classify what kinds of people can view particular elements of their profiles:

“This sounds like a great idea, and should be a significant benefit to those students who find that their Facebook-advertised parties were busted by police who found out about the events through the social-networking site.

“The primary problem is that Facebook has no way of determining what someone’s university status is. The company is only able to verify that the user has a valid .edu e-mail address, which could mean that the person is a student, staff member, professor, or alumni. As a result, Facebook asks users to self-report this information.

“Given an example situation where a student doesn't wish for the Facebook-using professors at their university to be able to view their profile, it would be trivially easy for a professor to log in, and change his or her own status to that of an undergrad.”

Yoinks!

“This new system provides little in the way of real additional protection, yet may give users a false sense of security, leading the millions of users to post even more stupid and embarrassing things to the site than they currently do.”

Which gets us into the territory of encouraging people to just not put stuff up on Facebook that they wouldn’t want to put up on billboards all over town.

Source: http://www.opennetworkstoday.com/2008/03/facebook-shocke.html

Related link: http://www.cnet.com/8301-13739_1-9898098-46.html

Share/Save/Bookmark



How to Publish iCal calendars with local WebDAV server

17 04 2008

To publish your iCal Calendar with the bundled OS X Apache web server, edit Apache’s configuration file in /etc/httpd. You must be root, so I expect you know vi and the workings of this file in general.

 % sudo vi /etc/httpd/htttpd.conf

In the Shared Library section, where modules are loaded, add these two lines in the same ordering in their repective sections:

LoadModule dav_module libexec/httpd/libdav.soAddModule mod_dav.c

Then somewhere in the global section add:

DAVLockDB /Library/WebServer/davlocks/DAVLockDB

I used this section to have a webdav folder managed by Apache:

<Directory "/Library/WebServer/Documents/dav">  DAV OnAuthName 'WebDAV'

AuthType Basic

AuthUserFile /etc/httpd/.htpasswd

AuthGroupFile /dev/null

<LimitExcept GET HEAD OPTIONS>

require valid-user

</LimitExcept>

</Directory>

I want this folder protected (somewhat) by a password. To generate the password file
with MD5 passwords (not that old crypt!), please use the -m flag. The file is text. Note that http is vulnarable to sniffing attacks, so someone on your network can get at your password.

 % htpasswd -m -c /etc/httpd/.htpasswd user New password: not_safeRe-type new password: not_safe

Adding password for user user

Then set up the folder with permissions.

 % cd /Library/WebServer/ % mkdir davlocks% chown www:www davlocks

% cd Documents

% mkdir dav

% chown www:www dav

In iCal, choose Publish Calendar and specify http://localhost/dav/iCal. Do not FTP stuff into the dav folder; webdav uses its own locking, don’t confuse it.

Good Luck!

From http://www.macosxhints.com/article.php?story=20020912065811863

Share/Save/Bookmark