via Google Video
s.decode(encoding)
* <type 'str'> to <type 'unicode'>
u.encode(encoding)
* <type 'unicode'> to <type 'str'>
Debugging with Xcode
Two cool videos from cocoahead. Debugging with Xcode embedded above, and UI Design Essentials which can be downloaded from Scott Stevenson's site.
via theocacao.com
I've had twhirl running for a while, and the twhirl memory usage is really growing:
Restarting the application brings the memory usage down:
I missed this somehow, but twhirl integrates support for friendfeed:
I like twhirl, it seems more stable than alertthingy for now.
@Scobleizer I really can't find a reason why I should care about Mesh. I am just ignoring it totally :) good night
Linux support? What’s that?
"An update to the Windows kernel to bring the Vista kernel (version 6.0) up to date with the version in Windows Server 2008 (version 6.1)."
While Microsoft struggles to bring a kernel-based "Windows 7" to market in 2010 ...
Ajaxian has this post where they show SG1 using Javascript.
Interesting to see that JS1 is used in the future ;)
SG1 is supposed to be current time, not the future. :)
via Dion Almaer
The Administration console doc notes that if you have a Google Apps account, you need to go the following URL:
http://appengine.google.com/a/your-domain.com
Please replace the relevant parts of the above URL.
It also notes that you can upload your apps using appcfg.py in the SDK.
Speaking of the SDK, the app engine SDK includes a web server that simulates the app engine python environment. More here.
The python runtime is restricted, which is why you should test your code with the app engine SDK. Some modules such as marshal, imp, ftplib, select, socket are empty. More here.
Logging is allowed, and can be viewed in the Administration console.
Google App Engine looks to be tweaked for running web applications only. Application code only runs in response to a web request. This is unlike Amazon EC2 where you can build/upload an image for data processing. If a request takes too long (this is vague, it says more than a few seconds) its terminated and the server returns an error code. Using the Datastore, you have 500 MB of persistent storage space. You also have bandwidth for about 5 million page views.
Python extensions in C are not supported.
During the preview period you can register up to 3 applications.
Currently a query is limited to a 1000 results.
Here is the official Google video on the release:
Google released google app engine today.
Sign Up (It says its limited and asks you to sign up. I did, and I just got an invite to start using Google App Engine :)
Here are Scobles videos of the announcement:
(They demo creating an application, plus Python creator Guido speaks)
I haven't had a chance to read the documentation as I was having problems getting to it. I tried signing up for the service, but its limited right now, but you can download the SDK to start getting ready. You need to know Python (which isn't a problem, I do most of my stuff in Python anyways :). The SDK is licensed under the Apache license as you can see above. Their are version for Windows, OS X, and Linux.
The readme in the SDK says you have to have Python installed. Once the SDK is installed you can start the dev_appserver in a command prompt:
Here is the simple guest book sample application running. The guest book looks like a Python WSGI application (at first glance)that gets run on port 8080.
Their are more application you can download from the Application Gallery.
Update: I just got an invite to start creating applications:
Update 2:
I have some more notes from the docs here.
If you don't want Safari, don't click "install."
It really is wrong to make cause for users to mistrust, or even worse, to distrust, software update systems.
I had been holding out on installing Firefox 3 beta on any thing but a virtual machine for testing. In the past, with version 2, I had run beta's and it had been my experience that upgrading from beta to the actual releases left things a bit unstable. Perhaps the profile had changes that caused random crashes, but it was irritating enough that I stayed away. Reading crunchgear's article might just change my mind though:
Firefox 3 won’t be out of beta until the end of June but Mozilla told Reuters yesterday that anyone can go ahead and download the most recent version and run it without worrying too much. It’s now stable enough for everyone, not just developers.
And I really want to try out the new mac theme (windows/linux themes seem boring comparatively). And I don't think I can wait till the end of June!
A two-part documentary, The Codebreakers was aired on BBC World TV during May 2006. It investigates how poor countries are using FOSS applications for development, and includes stories and interviews from around the world. Available under the Creative Commons Attribution 2.5 license. See http://www.apdip.net/news/fossdoc for more infomation
Get A Bigger Screen : Bob Plankers, The Lone Sysadmin:
"‘Hey, I just wanted to let you know that your web site doesn’t look right on an 800×600 screen.’
‘You should get a bigger screen,’ I reply."
"You know what I really want? I want a web experience like the soon-to-launch game Fez. Check out this video, it gets particularly interesting at :30."
via RWW
Codepad is an interesting site. It gives you the ability to post code in a text box, have the code run, and displays the code/output in return. It gives you a convenient URL you can point to later.
Here is a hello world program I wrote in C.
Here is a Python helloworld.
I found out about codepad from the authors post where he mentions how he was having problems scaling the site, and how he solved it using Amazon EC2.
Their are a bunch of new/beta web browsers out that I wanted to try. I setup a virtual machine to test these out. I've just installed them so these are just things I noticed starting out.
IE8beta is out and it looks just like IE7. Their is a button that allows you to emulate IE7 mode. Also while downloading the firefox 3 beta 3 I noticed that the download dialog had an additional note that the download was checked by the Microsoft Safety Filter. Their were some rendering problems with one of the large pages I viewed but I guess that is to be expected with beta software.
I also downloaded and installed Firefox 3 beta3 which has a new theme for windows that I noticed. Not sure if I care too much for the new theme. It will be interesting to see the firefox theme for OS X though. One cool feature that I can already appreciate with firefox is the ability to
save open tabs when you quit. Their were extensions that let you do that, but this is built in functionality so one less extension to go searching for.
Flock has released version 1.1 that I downloaded though the initial interface is the same. I've only just installed these browsers, and still have to use them to tell if their are any major differences.
Update: Mozilla labs also has some new Prism stuff that I've installed on Firefox3 beta. I like prism because it lets you isolate some websites as certain applications. Gmail, Facebook amongst others are good examples of sites that I'd like to run with prism rather than as a tab in a browser. The new Firefox3 extension makes it really easy to create an application out of GMail and facebook.
I installed Windows Vista x64 on my XPS 1330 and the install went well. I see their are no drivers for the finger print reader, or for the touchpad. The touchpad is a little hyper sensitive and the only difference from my previous Vista x86 install is the missing synaptic touchpad software. Its quite irritating when typing, focus shifts to different points when you are typing.
Woke up to find Google Sites has been released for Google apps. Logging in to Google apps I couldn't find where I can start using Google Sites. Turns out you have to add the service from a link right above your existing services. My existing services were start page, chat, web pages, email, calender. I had two more services that I could add. Google Docs and Google sites.
I just had a few minutes to play, looks like a nice wiki tool for your site. You'll find more information here.
I've been running Vista SP1 for the past few days, and the system is quite stable. It was time to make Vista SP1 permanent on this machine. I had 45.6 GB free before running the above tool. Vsp1cln.exe is described as:
Vsp1cln.exe is an optional tool that you can run after you install SP1. This tool removes older versions of components that have been updated in SP1, which are stored during the installation in case you need to uninstall SP1 later. Saving these older components increases the amount of disk space that is used. Typically, you should run Vsp1cln.exe if you want to reclaim this disk space after applying SP1 and if you will not need to uninstall SP1. Note, however, that you cannot uninstall SP1 after you run this tool.
UAC asks for permission when running the tool, and a command prompt pops up asking if you want to make SP1 permanent. After the tool had run on my machine, disk space went from 45.6 GB to 47.3 GB. If you're sure you are going to be keeping SP1 this might be a worth while tool to run.
How in the world does:
"Microsoft has stopped automatically distributing a prerequisite piece of software for Vista Service Pack 1" (emphasis is mine)
Translate to:
"news.com reports that Microsoft is withdrawing SP1 for Vista."
Ubuntu 7.10 on the XPS M1330, Ubuntu Coming to Customers in Spain - Direct2Dell:
"Now Ubuntu 7.10 is making it's way to our XPS 1330 laptop and Dell will begin offering Ubuntu in Spain.
Starting today, customers in Germany, United Kingdom, France and now Spain can purchaseUbuntu Linux 7.10 with built-in DVD playback on the XPS 1330n (in addition to the previously-released Inspiron 530n desktop system. For U.S. customers, you'll have to hold on a week or so."
Mac OS X Tip: Create a Keyboard Shortcut for Any Menu Action in Any Program:
"Open the Keyboard & Mouse preference pane in your System Preferences and click on the Keyboard Shortcuts tab. Click the little plus (+) sign, choose the application you want to assign a shortcut for from the drop-down, then enter the exact name of the menu bar item you want to execute (for example, I want a shortcut to resize an image in Preview, so I'm using 'Adjust Size...'). Then just pick your keyboard shortcut, click Add, and voilà —you've successfully added a new shortcut to your Mac. When you open the app, you'll notice that shortcut is even visible next to the item so it'll be easy to remember."
10 Questions On Innovation to Alan Kay:
"So the price today is much higher than when mainframe people were calling us crazy for trying to do personal computing. That was nothing. What's harder today is that people think they've got personal computing and they don't really. The analogy here is between the jump from non-literacy to the printing press (which might be fought but the chasm that is to be crossed is clear) vs. the much trickier one of trying to explain to a culture that has the printing press and universities that it is not very well educated and thinks pretty poorly (for example, the US is in this general state -- it has the trappings but not the perspective to see how poorly educated most 'educated people' actually are)."
#import <objc/Object.h>
@interface MyClass : Object {
}
- (void) sayHello;
#import "MyClass.h"
#import <stdio.h>
@implementation MyClass : Object {
}
- (void) sayHello { printf("Hello, World!\n"); }
#import <objc/objc.h>
#import "MyClass.h"
int main() {
MyClass *anObject;
anObject = [[MyClass alloc] init];
[anObject sayHello];
return 0;
}
gcc -o hello -lobjc MyClass.m main.m
Microsoft has announced that they plan to support native UEFI 2.0 booting in a future service pack for the 64-bit version of Windows Vista. Presently, that excludes all Intel Macs because Apple’s firmware is based on EFI 1.10, not UEFI 2.0. Core Solo and Core Duo models are 32-bit only, and have no chance of using this, ever. Core 2 based models could work in the future if Apple releases UEFI-compatible firmware updates for them.
I'm inclined to encourage users to move over to the more stable and well supported alternatives like LaunchBar. Right now QS 54 (ed: the current build) accomplishes everything that I really need, the problem is stability, which for some reason most people seem to be ignoring.
In this episode Simon Jakesch from Zenoss joins us to talk about the open source network management suite. Wess shows us the science behind the infrared camera mod. Chris Gerling hacks the Nokia 770 Internet tablet. Darren builds a one-click remote assistance package to help save the holidays, and Will Coppola drops by with an EVDO antenna mod sure to boost signal. Plus details on the upcoming Hak5Live / meetup at the East Coast LAN as always trivia. Grab some hax0rflakes, it’s time for a heavy dose of technolust.
Right, but what about the experiences that Mozilla chooses to default for users like switching to Yahoo and making that the default upon ...