Just sharing some of my inconsequential lunch conversations with you... RSS  

Tuesday, April 21, 2009

Oracle Buys Sun

Oracle Corporation (NASDAQ: ORCL) and Sun Microsystems (NASDAQ: JAVA) announced today they have entered into a definitive agreement under which Oracle will acquire Sun common stock for $9.50 per share in cash. The transaction is valued at approximately $7.4 billion, or $5.6 billion net of Sun’s cash and debt. “We expect this acquisition to be accretive to Oracle’s earnings by at least 15 cents on a non-GAAP basis in the first full year after closing. We estimate that the acquired business will contribute over $1.5 billion to Oracle’s non-GAAP operating profit in the first year, increasing to over $2 billion in the second year. This would make the Sun acquisition more profitable in per share contribution in the first year than we had planned for the acquisitions of BEA, PeopleSoft and Siebel combined,” said Oracle President Safra Catz.

Glups, will Oracle never stop?!?!

Sunday, April 19, 2009

Overclocking my Windows Mobile

I’m still using my old HTC 3300 (201 MHz), so if something I need is speed. I’m trying out Pocket Hack Master, and here’s my experience:

  • It can be safely overclocked to 260 MHz
  • It doesn’t seem to run any hotter, and it doesn’t waist significantly more battery
  • underclocking has an annoying effect: the display starts to flicker; only acceptable from 150 MHz up

Pocket master has a cool option: change the clock on the presence of specific apps, maybe I’ll give it a try underclocking to 65 MHz and overclocking on the presence of all the apps I use. Hopefully my battery will last longer, since I’ve activated push mail I’m arriving home with something like 10 to 20% battery left, without using GPS :(

<update>

Unfortunately the “Application speeds” strategy failed… Some apps insist on staying in memory after exit. This happens with the phone app, for starter…

</update>

<update II>

From Pocket Hack Mobile’s site:

The energy that a typical processor consumes is a square function of its clock rate. This means that a CPU running at 100MHz consumes eight times less energy than a processor running at 400MHz.

This is not the experience I’ve collected. Strange…

</update II>

Thursday, April 16, 2009

We’ve finally found the D830 substitute!

image After a disappointing benchmark of a Vostro 1510, I’ve asked for a Latitude E5500 for try out. It was considerably better than Vostro (I’ll post the experience one of this days), at an affordable price. But it still had some problems:

  • no graphic card option other than the onboard
  • no connectors on the back! Too crowded on the sideways
  • 4GB memory limit
  • No 64 bits official support
  • No e-sata support

But we had a break and I’ve managed to get a hand on a Latitude E6500. And let’s say I’ve loved it! Compared to E5500:

  • there’s a dedicated memory graphic card as an option
  • Some connectors are on the back – where they belong
  • 8GB limit
  • 64 bits support
  • e-sata

More important than the benchmarks, the usage experience was great. Working on VMWare Player and Virtual PC was fast enough for our needs. And I didn’t expect any difference here to E5500, the specs are pretty much the same…

We’ve successfully tried:

All I have to complaint is:

  • One less USB (only 2). Oh well, everyone should have a stand with an USB hub, anyway
  • On the unit I’ve tried, the LCD cover was a bitter unstable – it went back and forward as we pushed it

Here’s one of the simplest benchmarks I value the most (on Windows 7 build 7077):

e6600 windiws7 build 7077

Cool results!

D830 is dead. Long live E6500 :)

Monday, April 13, 2009

Microsoft research photo tools

At last I’ve posted me first photos at PhotoSynth. Here they are.

Photosynth - from Microsoft. Imagine being able to share the places and things you love using the cinematic quality of a movie, the control of a video game, and the mind-blowing detail of the real world. With nothing more than a bunch of photos, Photosynth creates an amazing new experience.

<update>New to Photosynth? Be sure to press ‘P’ while viewing this synth</update>

<update II>Too bad Microsoft didn’t port it to MacOS and Linux…</update II>

I’m a bit disappointed with the result, probably because of the lens I’ve used – a 16mm fish-eye, and mostly because of the way I’ve used it – I’ve shoot it mostly from 2 or 3 positions, and swivel all around on a panoramic technique. This is the way to do it with stitching, but probably a bad way to take photos for Photosynth. With this technique I’d use Image Composite Editor, like this:

Mosteiro dos Jerónimos, Belém, Lisboa, Portugal

Oops, now that I think about it, I should have used a lens with perspective correction, now I can see how confused was Photosynth…

Here’s ICE:

Image Composite Editor - from Microsoft Research. Image Composite Editor is an advanced panoramic image stitcher. While Photo Gallery includes the same stitching "engine", this application provides a lot more fine control. The stitched panorama can be saved in a wide variety of formats, from common formats like JPEG and TIFF to multi-resolution tiled formats like HD View and Silverlight Deep Zoom.

PS: the monument on the photos is Mosteiro dos Jerónimos, built to commemorate Vasco da Gama's discovery of a maritime path to India.

Wednesday, April 08, 2009

Service Pack 1 for SQL Server 2008

Service Pack 1 for SQL Server 2008 will be available today for customers. The Service pack is available via download at http://www.microsoft.com/downloads/en/default.aspx and is primarily a roll-up of previous cumulative updates, quick fix engineering updates and minor fixes made in response to requests reported through the SQL Server community. While there are no new features in this service pack, customers running SQL Server 2008 should download and install SP1 to take advantage of the fixes which increase supportability and stability of SQL Server 2008.

As announced here. Buuu, no fun….

Tuesday, April 07, 2009

TFS error creating work item

When I tried to create a work item on TFS (VS2K8 + TFS2K8) I got an error message saying:

Could not load type 'Microsoft.TeamFoundation.workitemTracking.Client.WorkItemTypeDeniedOrNotExistException' from assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client, Version=9.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a'

 

Arghh. It seems like there’s an correct installation order to fulfill. I had to re-install Visual Studio 2008 SP1 and everything is working fine. Strange, as it worked for ages on my laptop… probably another update screw this up…

Some RFID facts

I’ve been working on yet another cool RFID project for the last months, and we’ve just concluded the 2nd site survey. Unfortunately I can’t give you much details yet, for now all I can post is generic information.

Here are some generic facts I’ve gathered through this site surveys:

  • Laboratorial test can be deceptive. They provided us some important data, but only the final equipment list and topology can only be found on the premises.
  • RFID tags are not always hard to detect, on some scenarios the problem is to avoid them. On most cases because of reflection.
  • On the other hand reflection can work for us. Whenever we can we should use it to improve coverage.
  • Whenever possible setup an environment to potentiate readings. An all around reflection portico can greatly improve readings. Aluminum foil will work just fine for the site survey.
  • Whenever possible try to trap signal from interfering with other interrogators - be RFID eco-responsible. The previous reflection portico can be enhanced with external absorbers - for the site survey a wet cloth will do the trick.
  • Some environments can be very RFID-hostile. For instance, some metal conveyers will absorb all energy when close to the tags, others will read just fine.
  • Choose your antenna’s wisely, from gain to beamwidth. Have a worksheet ready with each of the antennas trigonometric data so you can quickly decide which antenna to try. For these site survey we used 3 types of antennas on a total of 10.
  • Make sure you stay on legal limits and that you don’t overrun other readers.
  • Don’t use power you don’t need, be RFID eco-responsible :) On most cases you’ll end up getting better readings with less power. And if you really need to use all of the antenna's coverage, remember to set it to half power. Don’t forget to take a spectrum analyzer, it’s a must.
  • The perfect match is hard to find. We have to try different interrogators, parameters, antennas, tags, topologies, reflectors and absorbers. All of these against moving tags placed on the worst possible conditions, reading nothing more than RSSI and tag counts.
  • Our greater asset: the experience we’ve been collecting from past projects and contact with our partners. Yes, we can now setup a site survey on a couple of hours on that very same scenario that took a month to figure out how to make it work!

All I can show you for now is my company’s (Link Consulting) business link (here’s the Portuguese link). And also a hint of the beautiful Açores Islands:

IMG_0878_stitchv2

Santa Maria, Açores

 

IMG_0968_stitch

Santa Maria, Açores

 

IMG_9101_stitch

Ponta Delgada, S. Miguel, Açores

 

IMG_9147

Igreja Matriz, Ponta Delgada, S. Miguel, Açores

 

IMG_0333

Lagoa do Fogo, S. Miguel, Açores

 

Thanks to Ismael, Raquel, Renato, Sara, Joaquim, Carla, Tiago and all the people from Açores that received us so well. Thanks to Carlos and good luck for your master’s degree.

 

<update>

The photos have not been touched other than the stitching. For that I’ve used:

Image Composite Editor - from Microsoft Research. Image Composite Editor is an advanced panoramic image stitcher. While Photo Gallery includes the same stitching "engine", this application provides a lot more fine control. The stitched panorama can be saved in a wide variety of formats, from common formats like JPEG and TIFF to multi-resolution tiled formats like HD View and Silverlight Deep Zoom.

</update>

 

<update II>

Photo hardware: a manual 16mm fish-eye mounted on my old Canon 10D

</update II>

Friday, March 27, 2009

Visual Studio Team System 2010

I’ve been trying to write for some time over the cool new features of Visual Studio Team System 2010. Finally someone better then me did the work for me :) Great little digest from Bill Maurer presentation.

Here are the features I like the most:

  • Application Tier Load Balancing and Failover (I’m managing a 2008 TFS and boy if it fails I’m f*****)
  • Branch Visualization
  • Parallel & distributed builds
  • Gated Check-in
  • Camano (test case management interface focused on requirements)
  • Test Lab Virtualization
  • Historical Debugger
  • Sending a “core dump” to a development team to recreate the process
  • UML. I’m kind of divided on this one, not only because of my old doubts over the expression capability of UML against DSLs, but also because of the limited UML support (ex: we can’t express all the structured artifacts on a use case, we have to use an unstructured text field). Though interesting on the integration perspective…

Thursday, March 19, 2009

Hibernating resuming times

And now for something really different: hibernation resuming times.

Windows 7 31 seconds
Ubuntu 8.10 40 seconds

To be fair, the Ubuntu’s hardware we’ve used is a little older, and Windows 7 had the advantage of being a fresh install, so all we can conclude is that on these matter they aren’t as different as we would expect.

Windows7 setup

Here’s a cool experience: on the same laptop, I’ve timed the time it took to install Windows 7 and Ubuntu 8.10, configure networking and browse an internet page. Here are the results:

Windows 7 23 minutes
Ubuntu 8.10 26 minutes

Let me start by setting a disclaimer: this was hardly a scientific experience, some idle time on each installation could seriously affect the results, and as you may imagine I wasn’t fully devoted to these tasks. So this can only be read as an indicator, nothing else. But given the fact that Ubuntu fits on a CD and Windows 7 uses a DVD, the results are quite impressive.

To be honest I though that Ubuntu would loose for much more, the experience I had on older hardware was just too bad.

My conclusion can only be: it won’t be for the installation time that we won’t install these two.

Wednesday, March 18, 2009

“Hacking and Securing RFID” Presentation

DSC02834 Last week me and my good friend Manuel Fonseca presented a session on Instituto Superior Técnico’s XVI Semana Informática. The title of the presentation was “Hacking and Securing RFID”, but it ended up being a little frustrating for us and for the audience as we stripped most of the more sensitive stuff that we originally intended to expose.

We started with a disclaimer where we explained our interest: our company has over 10 years of experience on the radio frequency space, a lot of projects out there, most of them exposed on open loop, so we have to assess the security of these projects.

Then we listed a series of RFID scenarios we use daily and corresponding threats, identified as advantages the remote identification and process automation, and concluded that these are also the same disadvantages.

We presented the threats on the personal and system level, putting them into perspective compared to low tech security, like the one used on classic door keys and document since man can write. We concluded that RFID is different because:

  • reading / writing doesn’t need physical access to the resource – on a classic door key we have to access it in order to clone it; this broadens the exposed security surface
  • collection and consolidation automation capability

Then we listed some typical class of attacks:

  • Skimming
  • Eavesdropping
  • Tampering
  • Man in the Middle
  • DoS

Basically nothing new here, just a sub-set of the standard security attacks.

We finally entered the “touchy” zone, describing some tooling and hacking case-studies. Not too deep, I’m afraid…

On to the approaches: from paranoiac to relaxed, we ended up concluding that we have to quantify the security risk, the business value and the impact upon security breach, and architect security accordingly, always keeping in mind how often we have to choose from commodity or security.

Then we set for more social waters, stating that:

lower security => lower privacy => lower liberty

On to how to secure, where we’ve covered:

  • architecting security
  • standard cryto
    • key management, chip distribution
    • keys and algorithms
    • security live spawn
  • hardware limitations
    • processing limitations
    • most tags can’t carry a clock, and little context
    • secure tag are costly
    • on passive RFID, higher processing => lower range
    • blocking tags & DoS

From the user view, we’ve defended:

  • users should prefer secure items & services
  • if possible, users should kill the tags
  • if not, users should be able to enable / disable tag reading / writing

And we ended up concluding that RFID technology is not always mature enough to assure the best security standards, and that is an issue we have to address. If not for other reasons, because the perception of insecure RFID poses a serious risk to the adoption of this technology.

Tuesday, March 03, 2009

Microsoft MyPhone Beta

Just started using this sync tool. It gives us 200MB of mobile sync data, and for now all I have to complain about is the photos it found: about 250 photos, most of them smileys from messenger… oh well…

The coolest item synchronized is SMS messages – yes, for some strange reason I find it interesting, let me try and explain: I have this thing with data, I just can’t stop collecting it. I know, seek help.

Lets hope it doesn’t collide with my outlook synchronization.

Development Catharsis :: Copyright 2006 Mário Romano