"The full potential of the web is to make the world more open, so everyone has a voice and can share what is important to them" and this potential will be better realized with a web based on open standards, like opensocial:-) - Patrick Chanezon
via Bookmarklet
Looking at China's totals really makes you think for a sec about how many of the kids taken from their families as toddlers to enter those athletic academies DON'T make it. - James Williams
Why? Why would anyone do this? :)) You need to have one full america in India to win a medal. You should consider other parameters as well. Nagesh' suggestion of using quality of life (per capita income?) would be interesting to see. (comment via Disqus by Gaurav) - Sam Pullara
@Gaurav Why? Because it's fun! (comment via Disqus by Sean Carmody) - Sam Pullara
As I mention in the blog, I agree that this is biased against countries that are either uninterested or unable to compete. Here is the original spreadsheet if you want to mess around with it:
http://sheet.zoho.com/public/s...
Ah, should have done a quick search before bothering. Fun exercise anyway:
http://www.stubbornmule.net/20... (comment via Disqus by sam) - Sam Pullara
@sam: The more the merrier, I say! But, I'm glad you found my piece as well! In a follow-up post I actually decided to award the adjusted Olympic games to Jamaica. This is because they came second in the medals per capita and third by GDP. In fact, if you look at score (Gold = 3 points, Silver = 2 points, Bronze = 1 point), Jamaica actually came first per capita!
Note also that the Netherland Antilles place in the ranking was short-lived as their runner was disqualified and lost their medal!
I've popped all the data (including GDP results) over on Swivel and you can find everything here: http://www.swivel.com/users/sh... (comment via Disqus by Sean Carmody) - Sam Pullara
Actually I think his point is that it is even less useful since the protocol isn't self describing like XML or JSON. There is no way to read it at all without knowing the format of the protocol buffer. As an optimization or in isolation though, I think that is ok. (comment via Disqus by sam) - Sam Pullara
Sam, my guess is Subbu's point was that application/x-prototbug is about as meaningful as application/xml, i.e. it doesn't tell you anything about the actual content type, only about the syntax used to encode it. (comment via Disqus by Stefan Tilkov) - Sam Pullara
If you also wanted a client that only understood JSON or XML to access your web service you could also write a provider that could translate to and from JSON to Protocol Buffer objects. Then in each method you would add those as supported media types and it would map it for you based on the Accept header.
Sam (comment via Disqus by sam) - Sam Pullara
Specifically, I didn't find an actual distribution of it on the Apache incubator[1] and most typical developers aren't going to depend[2] on something that they have to build from snapshots or by checking out the source code. That said, I could probably get it working in its current state with the current feature set. More documentation + tutorials couldn't hurt either :)
Sam
[1] http://incubator.apache.org/th...
[2] http://mvnrepository.com/searc... (comment via Disqus by sam) - Sam Pullara
hey sam,
thanks for the interesting post. you mention that "once thrift is further along i will likely make the same sort of interoperability possible". what specifically are you looking for that will enable you to proceed with thrift?
thanks,
jeff (comment via Disqus by jeff) - Sam Pullara
Just curious - what is the motivation for using protobuf over HTTP?
One key issue with this approach is interop. B looking at the media type used in these examples "application/x-protobuf", HTTP clients would not know how to parse a representation.
Comments? (comment via Disqus by Subbu Allamaraju) - Sam Pullara
Great post. I too have been keeping an eye on JAX-RS, but haven't tried to incorporate in any projects yet. Now, I'm definitely going to now.
Cheers,
D. (comment via Disqus by Daniel Shaw) - Sam Pullara
Hi there,
Excellent write-up! I've been looking to post one myself. I've been using Jersey for some time now and I recently commented to a few colleagues how impressed I was as well. Not only is the implementation production quality, but quite honestly I find it to be a better "MVC" framework than any other I've worked with. What boosts it above the rest is not only its built-in support for converting JAXB objects into json and/or xml, but it's relative ease and simplicity in the code itself. Not only do you get these benefits, but you get to brag about being truly REST compliant. I am still wondering when REST will become a w3c standard... primarily so that more support behind it's use to replace the much more complicated Web Services, SOAP, and other forms of communication can be step... (comment via Disqus by Mike) - Sam Pullara
Awesome post, I've been looking at Jersey for a while now but haven't had the chance to work with it yet, your post got me very excited, i might start using Jersey in one of my apps...
Best regards. (comment via Disqus by Roger) - Sam Pullara
Thanks for your post and insights on the JPA implementation. I'm on the same trajectory !
Luis (comment via Disqus by Luis Arias) - Sam Pullara
Actually Time Machine is even worse than what you state as it seems to determine whether a file has changed solely by looking at its modification date and size. In particular Time Machine will not discover changes in a file in case its modification date didn't change. Also, conceptually (as opposed to file system snapshots, I suppose), Time Machine's behaviour when you change ownership of or access permissions to folders is probably less than desirable as well.
All the more reasons for a better way to do backups like the one you present. But Time Machine's advantage of making the creation of a backup really trivial and without scanning your full drive is hard to compete with. (comment via Disqus by ssp) - Sam Pullara
@Cristian: 1) Didn't mean to imply that they were new, but they are new to the Mac. 2) That is ideal for a ZFS only environment -- hoping we can do just that in Snow Leopard. Right now though I'm still on Leopard and using HFS+ as my main filesystem. (comment via Disqus by sam) - Sam Pullara
1. Snapshots are not something new, other filesystems have this feature for years. UFS2 for example.
2. No need for rsync and scanning your full harddrive if your local disk is ZFS too. ZFS includes the feature of incremental snapshots which can be copied and appended to ZFS filesystem on another disk or remote filesystem.
So the way would be:
1) make a ZFS snapshot on your local disk
2) send the initial snapshot to the backup disk
3) take more snapshots on your local disk
4) copy the incremental snapshot (only including differences between two snapshot) to the backup disk (comment via Disqus by Cristian Yxen) - Sam Pullara
@Mark: I am backing up to ZFS running on my Mac OS X box using the latest bits from http://zfs.macosforge.org/trac... along with the Mac version of rsync on both sides. Additionally, I am only backing up things in my Users directory -- no system files, do I still need the additional flags?
@ssp: I actually think it would be quite system to use this tool http://www.osxbook.com/softwar... to track filesystem changes which would allow the rsync solution to be just that much better. Looks like I'll need to put a nice UI on it as well. (comment via Disqus by sam) - Sam Pullara
Great article! I've been looking for a way to use fsevent with rsync for months now, and as far as I know, you are the first to hack something together. It's been a little while since your post, so I'm wondering if you have any updates or have made any improvements to the script? For example, implementing incremental deletes or allowing full volume "/" backups? Also, I'm curious what sort of additional overhead running fslogger constantly between backups creates?
I started experimenting with rsync to ZFS a while back, but ended up coming back to Time Machine for varying reasons, (one being so I could use the AirDisk I have connected to my Airport Extreme and not run a whole ZFS server, another some compatibility issues between Mac meta-data and OpenSolaris or FreeBSD). However, I'm onc... (comment via Disqus by Jeff) - Sam Pullara
I haven't done any more work on it but I am running it 24/7 on 2 of my machines (a MacPro and a Macbook Air) and the overhead seems to be very low. As for incremental deletes I basically decided that I would just run the full backup periodically rather than add the functionality. Full volume backups I believe are possible as I just recently used rsync to move my bootdisk. You need some additional parameters to make it work: rsync -xrlptgoEv did all that it needed to make a full backup.
Sam
Reference: http://rna.urmc.rochester.edu/... (comment via Disqus by sam) - Sam Pullara
If you're backing up onto a non-mac filesystem (e.g., a NAS box), make sure the remote rsync has 'fake super' in its rsyncd.conf; this will help preserve xattrs, ACLs, etc. On your mac, use rsync with -aHAXxs.
It's not perfect (larger xattrs get dumped, and xattrs on symlinks don't work), but better than rsync out of the box. (comment via Disqus by Mark Nottingham) - Sam Pullara
The Canon. I'd have so much more fun with a zippy camera than a Big Mac. - Mike Neumann
Probably the computer. I'm happy with the first gen 5D I'm about to buy and as awesome as the camera is, the MBP doesn't need another $5K in lenses. - Derrick
Neither, you need at least twice that for glass & equipment to get the "rig" you should want for a Canon MKII - sorry, 3K isn't enough for that toy; and spending 3K on disposable technology (Mac equipment) isn't a wise investment. - Enrique Gutierrez
Considering I can make quicker cash with my Photography work I would say the Canon 5D MKII and then I would buy the Apple 17 inch MacBook Pro with some of my earnings! - Patrick Greer
Um, food. Yeah, yeah, I know...moving on... - Patrick
5D Mark II. And then throw the remaining towards some new glass. - Andy Hannon
2k into the bank, 1k for computer upgrades and other stuff. - Grant Bierman
5D Mk II everytime ... unless I don't have a Mac at that particular time ... - Stephen Taylor
I've already got the 15" unibody so I'd go for the 5Dmkii - Sparky
If I didn't have a laptop, then I would get the 17" MBP. If I already had a lappy, then get the camera... - William Sellers
Well, I recently moved from a 30D to a 5DMII because it was a huge upgrade for my "system". With a 2 year old Macbook Pro still serving me well for my needs, it's an easy decision. Additionally, I can't see using a 17" notebook over a 15 for portability sake, I'd just as well get an iMac and keep using my Macbook Pro for mobile use. - Ryan
Aren't you in Vegas? I think there are a few other options in front of you.. - JonSupermurray
MacBookPro 17-inch. I am a Nikon guy. So, Canon 5D MKII if I had $7K for all the lenses, too. - Chintan Zaveri
The camera! I already have the 15" MBpro. 17" is just too big. - Sherry Main
My 1 yr-old MacBook doesn't thrill me; it sits on the desk unused, and I just couldn't pay more than $200 for a camera, unless I was dreadfully rich. - MiɳiMagɘ is EnderMage
5DMKII - sell some images on istockphoto, and then buy an MSI Wind and install OSX. It is faster than my 15" MBP! - Darren Mak
Neither. Maybe 3 coins :). I have a Macbook Pro which I don't use often comparing to my PC. I am not into the consumer electronic stuff, only got a digital cam last year :). - dexin
Canon. Can't believe Apple ditched the matte screen on the 17" - FCP users and photographers don't want a glossy screen - the idea of the 17" is the ability to use it out in the field for photo/video editing. - Peter Clayton
So limiting, Robert! If I could pick whatever I wanted, I'd get one of those sweet Asus multi-touch netbooks coming out - and then use the rest to buy Yahoo! stock. :P - Shawn Farner
MB 13'' and the external cinema display. MBP17 is huge to carry out - Jean-Charles VERDIE
17" MBP FTW! You should create a poll on SocialToo.com Robert, then we can see graphed results! - Joseph
I'd get the Mac Book Pro because cameras require something to take a picture of. The only photos I have are screenshots of the sweet Purps on my Blood Elf Priest. - Morgan Collins
Well part of it would have to go towards fixing my car, http://preview.tinyurl.com/9dz.... Then the rest would go towards buying a second camera body to be my main and at least one lens if not two. Then the rest would go towards bills. - mathew, keynote not lame
Robert: Apple products plus awesome SLR cameras...response is a given :) - Mo Kargas
the camera is nice - especially all the HD video. friend of mine in the movie post-production business reckons this sort of Camera will KILL the movie camera business in a few years time. especially at the low-budget movie (<$30 million) of the movie business. RED already making big inroads. much cheaper than an ARRI. - Scot Mcphee
The MK II as I already have the MBP 17 inch...older but it works. - Semipro
Canon 5D is the winner for me. Great digital photography is the gift that keeps on giving.... ;-) - John Uppendahl
Well.... Given that I have 4 PC desktops, 2 PC laptops, and 1 iMac, all of which are operational and regularly used, AND that I suck at photography, I'm going for what's behind door #3: A whopping big HDTV -- which will get hooked up to the living room PC, of course. ;-) - Joanmarie
I'd go the MacBook - but I'd also load it up with the full 8gb of RAM I see as an option (and not many people mentioning). Sadly, a nice 17" MBP setup it just over NZ$10k :( - Mark Derricutt
MacBook Pro. Hands down. I'm a computer engineer, not a photographer. - Logan Leger
well since I've already got a Canon 5D Mark II... hmmmm... - Thomas Hawk
I'll buy neither. What I would rather do is try to buy one share of BRK-B if it gets to that price. :) - imabonehead
The 17" Mac Book Pro, I already have a 5D MkII ;-) - Jeff P. Henderson
I'd buy the camera, I have always loved photography and wanted to learn. - Ruth Ferguson
I would take the cash and build an ultimate gaming PC !!! :D - ralphsaunders
When you buy an inexpensive camera, you really sacrifice quality, and that lack of quality endures (you want to keep your photos forever, right?). When you buy an inexpensive computer, that's not the case (I don't need a unibody case :) - David
Ouch, this one hurts. I suppose I can't opt for a Nikon equivalent to the Canon? If this is the choice, I'd opt for the MacBook Pro. But if I had 3K, I'd buy myself the Nikon D300 - Karoli
The Canon. A 17" laptop is too big unless you plan to use it as a desktop. - Hartley Spurlock
Mac for sure.I have a first generation Macbook and I need a new one. Kaya Singer - Kaya
I'd pay off my credit card. For all that stuff I, like, already bought. - Jandy Stone
the Macbook pro but only because I need to upgrade my computer. - Anna Lynn M.
I would save it until I had between $8-15K for a CO2 laser cutting machine. I like my macs small, and while full frame sounds nice, I know I'm not nearly hungry enough to go pro in photography, so 40D suits me just fine. - Jason Wehmhoener
That's a tough one because I have been wanting to get my first Mac (have to start somewhere, right?!) but am a hard core Canon fan/user. So if push came to shove, I would have to go with the Canon. - Laura Zickus
That would be either a trip to another continent or a Fujitsu LifeBook P1630, but it would not be either of the options in the question. I seriously cannot understand $3k for a camera, unless you're going to make that money back in a month or two WITH said camera. - MiɳiMagɘ is EnderMage
Neither, I would invest in the stock market. - Denton Gentry
I'd prefer a D300, however no matter what brand I'd take the camera in a second over the MBP. Save up another $500 and get a Windows Notebook as well. - Kenton
The Canon 5D MKII for sure. Cameras bring me a lot more joy than flashy computers. Though a 17-inch MacBookPro would be nice to edit those new photos on too ;-) - Ian Holton
via twhirl
Probably the Mac. I would never carry around a DSLR. Too big. - Rodfather
Neither. The new full frame format with HD Movies (wow! Woopee *rolls eyes*) is crap - only 3.9 FPS?! Who are they kidding?! - Adam
Seeing my Macbook Pro is 5 months old. I would buy neither...but I would buy a MacPro with more RAM. - Ryan
I take a cruise with Lindsay - big ass stateroom. - Tad Goes to 11
Neither, I'd get a Canon Rebel XTi and build a new gaming PC, anything left over would go toward the new home NOC - xero
If I had the $3,000, Canon 5D and a larger donation here http://tinyurl.com/daniela Pros: it's more portable, takes better pictures, and connects to my more compact 15" Macbook Pro. Of course, it doesn't work with my Nikon lenses, so... - Lee Dale
Canon 5D MKII only cause I have a Macbook Pro. If I didnt it would be the Macbook. - Bob Maltais
Nah. Patrick's college fund. 5D Mark 2 or the Macbook isn't all that exciting. - Joshua Hayworth
cannon.I kill computers, so not worth spending 3 grand on one. Plus I have a (beat up) macbook pro already. - InPerpetualMotion(Gina k)
Photos shoot at 3.9 fps, video shoots at 30 fps. @AdamGiovane - Jim Bergman
the new MBP, without a doubt ... my current ones needs a refresh (I'm accepting donations btw) ;-) - Jeffrey Canton
Since I'll be getting the new MBP anyway, I'll take the 5D. BTW, is anyone keeping score? - Brad
I would buy the Canon, but of course, I would need a MacBook Pro in order to edit/view the photos the way they were meant to be viewed. - Robert Peña
Blatant self-promotion, but if Robert used re-searchr.com it would keep score for us... I wrote it to suck down inline multiple choice selections so no ne would even have to leave ff - James Ostheimer
Robert, you're asking the question that's been pondering in my mind from some time (albeit it used to be with the 15" and Cinema display v. 5D/a900/D700 -cannot make my mind-). I want to be able to make a decision before March. I think I'll be going for the Mac, since I might relocate in part of the world where carrying an expensive piece of art around my neck might be more dangerous than here, in JPN. - Paul Papadimitriou
I'd go for a MBP, mine needs an upgrade and I just bought a 50D not long ago which is just fine for me. - Andrew Trinh
via Nambu
More lenses. My camera is fine, and this Thinkpad is a good 'un. - Paula Wirth
Seems like Apple design the 17-inch MacBookPro just can use in 3years.the battery can only use in 1000 times,1time per 1day,3years.But Canon 5D can take more beatuful pics for me,and can stand by me more than 3years.if i really have 3000dollers,i real do this.kick off 17-inch MacbookPro. - jedorstar
via twhirl
Wow, I came late to this convo. Well, for what it's worth at this point, I'd probably get the lappytop, sell my old MBP and then use THAT money to buy a cheaper camera. :D - Jonathan Hardesty
Canon 5D MKII, no doubt. I have a 1.5 year old 15-inch MacBookPro which is still more than OK. Going from Canon 400D to a 5D MKII however would be a major upgrade. - Rutger Blom
Macbook I think. I have a 40D but REALLY want the 5D. Which do you think you could get your hands on first? - Andrew Smith
The $2800 MBP becomes a lot more compelling when converted to 2080€. - Brad
I'm a Nikon guy but the 5D MKII has me seriously considering a switch - Bryan Thatcher
via twhirl
As I don't like Macs and into my photography the choice out of the two is simple. :-) But I've rather spend the money on say the Nikon D3 and if you gave me an extra grand or 2 then I'd go for the Nikon D3X. ;-) - Kol Tregaskes
via twhirl
Without though, the Canon 5D MKII. First up, you don't want to trust another "first gen" Apple product. And with the unimpressive lineup yesterday, maybe the 15" laptops are coming out real soon now, with similar features, and all quirks ironed out - Colin Charles
via twhirl
17-inch macbookPro is way too big. so I would go for the camera. Problem is I would need to learn how to use it then... - Davide D'Incau
If you have good lenses to take advantage of the MKII (extra $3000 needed here), go for the camera! - Joao Pedro
I would buy a Apple 17-inch macbook of course.! I don't have an apple and I would really like one. I have a camera thats good enough for me. - Larsen aka Qbat
nor this neither that! i will send money to help people in Gaza or at least I'll send 1000 $. - خیزران
I would buy the Mac, get a cheaper camera with the money I have left, and edit and enhance my videos using my Mac. - Shevonne Polastre
I'd go the Mac route. I'm looking to buy one anyway and I've already got a camera. Might not be as fancy as the Canon do-dad, but I'll manage. - James Ferguson
Wow 202 comments! How did I miss this thread? :) - AJ Batac
The MacBookPro, I have a Canon 30d but I do not have a MacBook - Bob
I wouldn't want a 17'' monster of a MacBookPro and therefore would go for the Canon 5D MKII - Donald Townsend
Neither. Both are overpriced. If no other options; I'd go camera. - Wade Dorrell
Canon camera. And then get frog design to buy me the MBP. - Dean
5D, the 17-inch MacBook Pro is very big. Harder to find bags for it and its less portable. - seanb
bank it, put in matress, done need either of those things, we need smarter devices that tell us the likelyhood of use-longevitiy in them, "i'm a camera you bought last year, you used me 9 times, i collect dust, owner- please resist replacing me unless you really really really need to, and the data suggests you don't.." - Dan Rockwell
via twhirl
agree - and to say so is to be called anti-Israel - William Harryman
William, they can call you whatever they want. Frankly, I'm fairly anti-Israel myself. I don't know why people are willing to put up with so much nonsense from them. - Dave Winer
What if Canada decided the parts of ND and MN ceded to the US by GB in 1818 was illegal because Canada was independent and GB had no authority to do so? Even though several other nations in the world thought the land belonged to the US, Canada would have good reason to say otherwise. Or if all of the remaining indigenous peoples of Mexico rose up against those with Spanish heritage because many years ago their land was stolen from them and they want it back. - xero
It's really simple -- states shouldn't engage in the wholesale slaughter of civilians, women and children. There is nothing to argue about on this. -