As requested, here is a Venn diagram for exclusive or.
Technically, that ‘^’ should be a ‘∩’, as it is really intersection that I mean and not AND (the complement of AND would also include everything that is neither A nor B), but Illustrator was a bitch and wouldn’t let me use that character. Since the original question conflated logical operations and set theoretical operations to begin with, I feel justified in my substitution.
Derp.
Installing PostgreSQL on OS X Lion
Under Mac OS X Lion, the PostgreSQL one-click installer always fails on the post-install step. Ugh.
If you run this as root (or prefix every line with “sudo”, ick). This will create the “postgres” user and its home directory, initialize the database, and add PostgreSQL to system startup.
dscl . -create /Users/postgres dscl . -create /Users/postgres NFSHomeDirectory /usr/local/postgres dscl . -create /Users/postgres UniqueID `dscl . -list /Users UniqueID | sort -n -k +2 | tail -1 | awk '{ print $2+1 }'` dscl . -create /Users/postgres PrimaryGroupID `dscl . -read /Users/_postgres PrimaryGroupID | awk '{ print $2 }'` mkdir -p /usr/local/postgres/data chown -R postgres:_postgres /usr/local/postgres sudo -u postgres -i /Library/PostgreSQL/9.0/bin/initdb -D /usr/local/postgres/data curl -Lo /Library/LaunchDaemons/org.postgresql.postgres.plist http://be.gs/postgresql.plist launchctl load /Library/LaunchDaemons/org.postgresql.postgres.plistWhy not use the default “_postgres” user? I don’t what that user account is used for, or what Apple plans to do with that account in the future.
Facebook has quietly added support for Microformatsto its “Download Your Information” feature, it appears. The addition provides developers with a way to parse the profile information, posts, photos and videos contained in a Facebook user’s account. Although the change doesn’t have a direct impact on what a mainstream user can do with their Facebook data – you still can’t export your Facebook contact list, for example – it’s an important step for Facebook to make in terms of loosening its formerly tight control over user data.
If case you’re unfamiliar, “Download Your Information” is a relatively new Facebook feature, that, upon request, bundles your personal data in a large zip file and makes it available for download from Facebook’s “Account Settings“ page.
"I am human" =~ /bacon/ # => nil (no match - bacon comes from pigs) "I am human" !~ /bacon/ # => true (correct, no bacon here)
Hell has frozen over, pigs have flown, and it’s now possible to approve photos you’ve been tagged in on Facebook before they show up in your profile.
Pause. Take a drink if you need to. If you hear fireworks in the streets this morning, you know why.
In what amounts to a kitchen-sink of fixes, tweaks, and new terminology, Facebook is rolling out a new update this week that’s setting out to ‘Make It Easier to Share with Who You Want’. In short, today’s release fixes many of the biggest annoyances (and privacy issues) that the site has had for years now. So let’s get to them.
It’s now possible to approve tags — including photo tags — before they show up in your profile.
This is the big one, and it’s a feature people have been asking for ever since Photos first launched. The feature is defaulted to ‘off’ for photos your friends have tagged you in (more on that in a second), but at least it’s there.
But why now? Facebook’s stated rationale for why they’re finally implementing this option has everything to do with another new feature: It’s now possible to tag people you aren’t friends with in photos.
Whatever the case, these are all good changes, and they make Facebook better. Note that while Facebook is announcing these features today, and will be educating users on the way they work through interactive prompts, they won’t start rolling out til Thursday.




