Ivan Krstić resigns from OLPC

March 21st, 2008 § 0 comments § permalink

(Via Ars) This is sur­pris­ing given how much he’s ded­i­cated to the OLPC project. If this is a sign of things to come, I guess it’s another marker for “bad man­age­ment can bring down any project”.

I missed the post on Ivan’s own blog — I blame pycon-haze. I guess this may help “explain” why his keynote was “about OLPC” and not “on behalf of”. It’s sad­den­ing to see some­one who believed in the project as strongly as he did brought low in this fashion.

Per Ars: Sun is talking about porting Java to the iPhone (and an idea for python)

March 8th, 2008 § 4 comments § permalink

coffee poster.pngOk. So Sun has come out stat­ing they’re start­ing work based on the SDK released by Apple for the iPhone ear­lier this week to port the JDK over to the iPhone.

Quot­ing the sun rep:

Now, the iPhone is open” as a tar­get plat­form, Klein said. The free JVM would be made avail­able via Apple’s App­Store mar­ket­place for third-party applications.

Now, as com­ments there and else­where have pointed out — there’s a clause in the Agree­ment that comes with the SDK for­bid­ding appli­ca­tions from being placed on the App­Store that can execute/interpret “other appli­ca­tions” — to whit:

3.3.2) An Appli­ca­tion may not itself install or launch other exe­cutable code by any means, includ­ing with­out lim­i­ta­tion through the use of a plug-in archi­tec­ture, call­ing other frame­works, other APIs or oth­er­wise. No inter­preted code may be down­loaded and used in an Appli­ca­tion except for code that is inter­preted and run by Apple’s Pub­lished APIs and builtin interpreter(s).

So — unless Sun plans on mak­ing a JDK that a) doesn’t run any­thing or b) can be com­piled into an appli­ca­tion that is to be sold on the App­Store (pro­vid­ing the run­time for the app, like a self-standing .jar/.war) then I can’t see this hap­pen­ing, and option a is about as use­ful as a toi­let bowl filled with taco meat.theoffice.jpg

On the other hand, option b: Mak­ing a run­time they release out­side of the app store for appli­ca­tion devel­op­ers to use to write an appli­ca­tion in Java and then have it compile-down to an Objective-C runtime/bytecode binary — then it could work, but those would be some *fat* bina­ries with­out a lot of magic.

Now — could the same thing be done with Python? Per­haps. Right now we have the pyObjC bridge that ships with Leop­ard that allows you mostly unfet­tered access into the Objective-C/OSX pro­gram­ming envi­ron­ment. This means you can build “native” appli­ca­tions in Python.

I doubt these bind­ings will work/exist on the iPhone, which means you want some util­ity to take Python code and “inter­pret” it down into an Objective-C binary, i.e.: an embed-able envi­ron­ment ala what Sun may end up hav­ing to do where you write an app in pyObjC/Python and the app+runtime is com­piled down into Objective-C.

Again, with­out a lot of trick­ery, these would be fatass bina­ries — prob­a­bly fat­ter than the notion of the uni­ver­sal bina­ries most peo­ple ship nowa­days for OS/X.

It’s a thought — now I should get back to pok­ing at Objective-C and other pre-pycon hack­ery. This is some­thing peo­ple more versed in com­pil­ers, run­times and with more free time than me will prob­a­bly explore.

For those of you looking to brush up/get into objective-c…

March 8th, 2008 § 4 comments § permalink

Because you, like me, are inter­ested in writ­ing some iPhone apps (and apple is only allow­ing objective-C stuff right now :sad:) — here is a free eBook I kept in my pocket for when I wanted to finally dive in.

It’s call “BecomeAnX­coder” from CocoaLab

Microsoft bids 44.6 Billion for Yahoo.

February 1st, 2008 § 0 comments § permalink

Via Engad­get:

Microsoft just announced what has been rumored for­ever: a for­mal offer for Yahoo. Microsoft’s pro­posal to Yahoo’s board of direc­tors rep­re­sents $31 per share (a 62% pre­mium over yesterday’s clos­ing price) or about $44.6 Bil­lion. Steve Ballmer, CEO and big fan of devel­op­ers, says, “We have great respect for Yahoo!, and together we can offer an increas­ingly excit­ing set of solu­tions for con­sumers, pub­lish­ers and adver­tis­ers while becom­ing bet­ter posi­tioned to com­pete in the online ser­vices market.”

Whoa. This insane. But if it goes through it’s good news for a few friends of mine. Makes me kick myself for not buy­ing Yahoo stock :)

More here, and here

ivan krstić: The paradox of choice

January 13th, 2008 § 3 comments § permalink

Ivan, of OLPC fame, made a post a few days ago about some issues he took with a post by Bruce Perens belea­guer­ing some of the recent OLPC/Microsoft press. It’s inter­est­ing for a few rea­sons — other than the back and forth between Ivan and Bruce, there’s a gem of a quote that rang very true for me:

One commonly-forgotten truth about OLPC is that our com­mit­ment to open source and free soft­ware isn’t reli­gious, but prag­matic — we believe Linux and Sugar con­sti­tute a bet­ter soft­ware plat­form and, much more impor­tantly, a bet­ter learn­ing platform.

Not only do I agree with the first part of that quote, namely my phi­los­o­phy to using open and free soft­ware runs towards the prag­matic, and not reli­gious, but that the OLPC is a learn­ing platform.

This quote also reen­forces this idea.

Read his post here: ivan krstić · code cul­ture: The para­dox of choice

Brent Simmons on NetNewsWire 3.1’s Release as Freeware

January 11th, 2008 § 0 comments § permalink

Net­NewWire, my favorite feed reader ever has gone totally free: Brent Sim­mons on Net­NewsWire 3.1’s Release as Free­ware. I highly rec­om­mend Net­NewWire for feed man­age­ment on OS/X espe­cially for the clipping/blogging fea­tures. I’ve never quite been able to “get into” online read­ers (much like my con­tin­ued need to use an offline mail clients) but NNW also syncs with NewGator’s online sys­tems — which means you can browse your feeds with their online apps as well.

The cross-synchronization and the iPhone opti­mized ver­sion of the online client is what keeps me hooked (also the cold fact that with­out it, I’d have to prune my list of 117 feeds (includ­ing 6 plan­ets and reddit/dzone)).

Yeah, it hap­pened a few days ago, I’m still wad­ing through a back­log of posts.

OLPC: Shipping a Beta?

January 7th, 2008 § 5 comments § permalink

Some of you might remem­ber, com­ing out of the last PyCon I was (and have been) jazzed about the OLPC project’s potential.

Being exposed to tech­nol­ogy changed my life, and taught me a new way to learn, expand and grow. I’ve seen it hap­pen to many other peo­ple, in many other walks of life. While it is true that many of the coun­tries the OLPC tar­gets need “other” sup­plies than com­put­ers — it is also true that from a tech­nol­o­gist stand­point — the OLPC project offers a way for those of us who have more tech­ni­cal skills to give back.

Donat­ing money to large intan­gi­ble orga­ni­za­tions — or to the peo­ple you see parad­ing the same pic­tures of starv­ing chil­dren on TV is the sim­ple route. Going to those coun­tries and help­ing directly — while infi­nitely more con­crete — is not rea­son­able in most cases. The OLPC stands out in the mid­dle — some­thing I, as a pro­gram­mer can con­tribute my most impor­tant asset (my brain (I hope)) to and hope to make a difference.

Like all projects, the OLPC has had it’s share of polit­i­cal issues — and I can’t say I agree with every­thing that’s come from the less tech­ni­cal arm of the project, but for the greater good, I’m will­ing to set that aside.

Unfor­tu­nately, I was not able to take advan­tage of the buy one-give one cam­paign they did last year, it just was not fea­si­ble given what was going on. I know, and encour­aged many other peo­ple to do so however.

This week­end though — a post by some­one I highly respect enti­tled “The OLPC night­mare” made me dig a lit­tle bit more. You can tell — by that post — that he’s a lit­tle miffed at hav­ing bought what seems to be a Beta ver­sion of a laptop:

In fact just about the only thing you can do well with the lap­top is drop it— which is good because I promise that after a cou­ple of hours with it, you’ll want to test its resilience to impact.

In that post, he also links to a review done by the Econ­o­mist (also one of my favorite reads) enti­tled “One Clunky Lap­top Per Child” they too make some of the same asser­tions Anto­nio does.

Yes — I do not have one of these lap­tops — I am stuck only play­ing with the sys­tem via vir­tual images on a sickly pow­er­ful Mac­Book Pro, but I do remem­ber play­ing with the pro­to­type at PyCon last year, and based off of these arti­cles and oth­ers, it feels like what got shipped was not ter­ri­bly far from the pro­to­type I played with early last year. That’s unfor­tu­nate for many rea­sons — not the least of which is some­thing the Econ­o­mist wisely points out:

Ulti­mately the OLPC ini­tia­tive will be remem­bered less for what it pro­duced than the prod­ucts it spawned. The ini­tia­tive is like run­ning the four-minute mile: no one could do it, until some­one actu­ally did it. Then many peo­ple did.

The OLPC has spawned a lot of knock-offs, com­peti­tors, etc. None of those have goals as lofty and “pure” as those of the OLPC, but the land­scape has changed. Ship­ping a Beta labeled as “GA” never works out well (as com­mer­cial soft­ware ven­dors know, but many open source projects never learn).

I’ll be inter­ested to see the opin­ions of oth­ers, espe­cially those I know who bought the lap­top excited at the prospects and that have no moral or polit­i­cal col­lat­eral invested in the project except as technologists.

PyObjC: Run in Python automator action.

December 15th, 2007 § 0 comments § permalink

This is an excel­lent post from yes­ter­day — the author out­lines how, using 10.5 PyObjC bind­ings and the Leop­ard Automa­tor, you can add a “run python script” automa­tor action.

I par­tic­u­larly like his fol­lowup post on where he out­lines how to use the new ‘run in python’ action to ship files off to Amazon’s S3 storage.

The lat­ter of the two posts actu­ally hooked me up with the “boto” python mod­ule — which looks like an excel­lent mod­ule for inter­act­ing with Amazon’s web ser­vices, some­thing I’ve been exam­in­ing recently for a side-project.

PyObjc 2: Leopard, Python 2.5.1 and You.

December 14th, 2007 § 11 comments § permalink

So, most every­one know that Apple released OS/X Leop­ard a bit ago — I was on the early adopter train, and have not had any prob­lems (except for the occa­sional spaces crash because I mash but­tons fast).

One of the cooler things that came out with Leop­ard was a com­pletely over­hauled PyObjC built-in. Includ­ing Webkit bind­ings, and many other things (see here and here for more details), a built-in ver­sion of twisted and many other things.

How­ever, I was a moron. I was knee-deep in debug­ging a prob­lem and com­pul­sively replaced my came-with-leopard ver­sion of Python with the python.org python 2.5.1 build. (Any­one with tips on how to undo this, please let me know).

Once I dropped in the 2.5.1 ver­sion: poof. I man­aged to wipe out all of the deli­cious stuff built into my shiny new OS, which made me a sad panda. Once the PyObjC 2.0 stuff hit the PyObjC SVN tree (here) though, I was filled with hope that I could at least restore the PyObjC stuff.

Alas! It was not to be. Come to find out, there’s a hard coded string in the macpython make­file which causes the pyobjc build to use the wrong SDK and puke and die. After much wail­ing and gnash­ing of teeth, I gave up not real­iz­ing what the prob­lem was. You should see a prob­lem like this:

C compiler: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3

com­pile options: ‘-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 –c’
gcc: Modules/_Foundation_nscoder.m
Modules/_Foundation_nscoder.m: In func­tion ‘imp_NSCoder_encodeArrayOfObjCType_count_at_’:
Modules/_Foundation_nscoder.m:220: error: ‘NSUIn­te­ger’ unde­clared (first use in this func­tion)
Modules/_Foundation_nscoder.m:220: error: (Each unde­clared iden­ti­fier is reported only once
Modules/_Foundation_nscoder.m:220: error: for each func­tion it appears in.)
Modules/_Foundation_nscoder.m:220: error: syn­tax error before ‘count’
Modules/_Foundation_nscoder.m:228: error: syn­tax error before ‘i’
Modules/_Foundation_nscoder.m:249: error: ‘count’ unde­clared (first use in this func­tion)
Modules/_Foundation_nscoder.m:256: error: ‘i’ unde­clared (first use in this func­tion)

How­ever, last night I was snowed-in at work and in between bug fixes for work, I man­aged to dig up a post (with fix) on the issue I was hav­ing (thanks Barry).

The short answer is sync the tree from sub­ver­sion, and then edit the fol­low­ing file:

/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/Makefile

And remove the “-isys­root /Developer/SDKs/MacOSX10.4u.sdk” chunk of text. Drop into the sync’ed svn tree and run the 02-develop-all.sh script. Now I can hap­pily import WebKit:

Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import WebKit
>>>

The T in IT: Mr. T endorses Hitachi Gear

August 22nd, 2007 § 0 comments § permalink

Before I give the links to the videos, I want to give the typ­i­cal disclaimer:

Dis­claimer: The opin­ions expressed here are my per­sonal opin­ions, views, dis­cus­sions, etc. Con­tent pub­lished here is not read or approved in advance by HDS, my wife or any­one else for that mat­ter and does not — in any way — reflect the views and opin­ions, positions/etc of my employer. This is my per­sonal, largely python-related blog. Not my employers.

That being said: A few months ago, I dis­cov­ered (much by acci­dent) that HDS (Hitachi Data Sys­tems) has started a viral mar­ket­ing com­paign involv­ing Mr. T — yes, the man from the A-Team (whose face graced my lunch­box as a child). Note that mas­sive “lulz” were attained when watch­ing these.

With­out pass­ing judge­ment or in any way stat­ing a direct opin­ion, here are the videos, in order of creation:

For addi­tional amuse­ment, I will direct you to the Archivas (before we were bought by HDS) viral/spoof/etc video that made it to youtube, here.

Where Am I?

You are currently browsing the Technology category at jessenoller.com.