Saturday, 31 October 2009

ZX Spectrum on Maemo

Seems funny to think that my first computer still lives, albeit in emulation on my phone...

Here the links to the Speccy ZX Spectrum Emulator Homepage and to the listing at Maemo.org for the downloads for the Nokia N800/810 and N900 devices.

An interesting comparison:
  • ZX Spectrum:  16k (48k model also) RAM, Z80 8-bit CPU at 3.5Mhz, mass storage: tape drive or 100k microdrive
  • N900: 1Gb RAM, TI OMAP 3430: ARM Cortex-A8 600 MHz, PowerVR SGX with OpenGL ES 2.0 support, mass storage: 32Gb to 48Gb solid state memory (specs at Maemo.org)
A very naïve and simple comparison means that the N900 has about 62,000 times as much memory and about 600 times the raw-processing power, though real meaningful figures are almost impossible to make given memory speed, bus speed, technologies such as DMA and the processor architecture and instruction set etc (so, why did I bother?)

Ralph Johnson @ OOPSLA

Ralph Johnson has made entries into his blog about OOPSLA and papers that Barbara Liskov listed as the ones that she considers that have influenced her. Here's the list:
  • Wirth - "Program development by stepwise refinement" - which pointed out that a program is a series of design decisions, and these decisions give rise to a family of related programs, corresponding to different design choices.
  • Parnas - "Information Distribution Aspects of Design Methodology".  I haven't read this one!  I thought I had read all his papers.  It sounded a lot like his modularity paper. "The connections between modules are the assumptions that the modules make about each other."
  • Liskov - "A Design Methodology for Reliable Systems"
  • Balzer - Dataless Programming - I read this one a long time ago but I don't remember it and ought to read it again
  • Dahl and Hoare - Hiearchical Program Structures", in "Structured Programming" from 1972. 
  • Morris - "Protection in Programming Languages" - I don't think I read this one
  • Wolf and Shaw - "Global Variables Considerd Harmful"
  • Liskov and Zilles - "Programming with Abstract Datatypes"
  • Goodenough - "Exception Handling" Issues and a Proposed Notation"
He then writes a very interesting comment:
The world has changed!  Students tend to think these papers are boring.  "Everybody knows that!"
Boring possibly given today's "advances" from there, but too many fundamentals and much history is ignored and deliberately forgotten in computer science. Time to re-read and re-learn the principles in some of these - maybe we haven't "advanced" so much at all..

Tuesday, 27 October 2009

Yr etholiad nesaf yng Nghymru

Ffeindiais fi rhyweth diddorol o blog yma gân Gymro. Diddorol iawn ydy'r y post yn ei flog Saesneg e (mae blog arall yn Gymraeg gyda fe) am y YouGov Poll ar yr etholiad ym Mhriadain nesaf yng Ngymru: "Poll predicts Labour trouncing at next election".

Yn yr blog (yn Saesneg) ydy'r dyfynbris:
"...a word of caution: Apparently The figures have been weighted and are representative of all GB adults (aged 18+). This has been one of the reasons why most previous Welsh polls have proved disastrously inaccurate. Wales is not a mini GB. In Wales the C2s Ds and Es are a much more important factor in elections than the C1s who swing middle England for one party or an other."
mae'r rhifau o'r YouGov Poll ydy (Hydref 2009)
  • Plaid Llafur 34% (-8.7%)
  • Plaid Geidwadol 31% (+9.6%)
  • Democratiaid Rhyddfrydol 12% (-6.4%)
  • Plaid Cymru 15% (+2.4%)
Newyddion drwg i Blaid Llafur a Phlaid Cymru hefyd - ydyn nhw'n wrthbleid wir i'r Ceidwadol? Sain gwybod, ond rydw i'n siwr pan bydd yn dod swpreis mawr yng Nghymru yn yr etholiad, ond i pwy?

Fy ymchwil am lyfrau i blant yn y Gymraeg

Dyma'r siôp da yng Nghaernarfon yn gwerthu llyfrau i blant ar y We. Ond, dydy'r tudalen chwilio ddim yn iawn o gwbwl, mae'n rhy anodd i ffeindio ac ymchwilio'r llyfrau, piti!

Hefyd ydy Dref Wen yng Nghaerdydd ...

Roeddwn i'n gobeithio ffeindio "The Cat in the Hat" (neu Y Gath yn yr Hêt) yn Gymraeg, dim lwc...

The Pentatonic Scale

An amazing video about the human mind and the pentatonic scale can be found here:

Bobby McFerrin demonstrates the power of the pentatonic scale, using audience participation, at the event "Notes & Neurons: In Search of the Common Chorus", from the 2009 World Science Festival, June 12, 2009.

After watching that, you'll understand the comment from the scientist (apparently) at the end who asked, "What the hell just happened there?!"

Friday, 23 October 2009

Tall Fiddler

Something to cheer you up for the weekend...

Tommy Emmanuel's Tall Fiddler:

Wednesday, 21 October 2009

Sequoia's code, pt.2

More discussion here to keep track of...

http://www.codersrevolution.com/index.cfm/2009/10/21/Sequoia-Voting-System-Witch-Hunt-err-Study-Project

Comment on e-Voting system standards:

http://www.sos.ca.gov/elections/voting_systems/ttbr/sequoia-source-public-jul26.pdf

State of California's report on Sequoia's voting systems:

http://www.sos.ca.gov/elections/voting_systems/ttbr/sequoia-source-public-jul26.pdf

Sequioia Voting Systems' Code

http://studysequoia.wikispaces.com/

Tuesday, 20 October 2009

Adam Curtis & Afghanistan

Fantastic blog by Adam Curtis of the BBC

Kabul: City Number One - Part 3 
 When you look at footage of the fighting in Helmand today everyone assumes it is being played out against an ancient background of villages and fields built over the centuries.
This is not true. If you look beyond the soldiers, and into the distance, what you are really seeing are the ruins of one of the biggest technological projects the United States has ever undertaken. Its aim was to use science to try and change the course of history and produce a modern utopia in Afghanistan. The city of Lashkar Gah was built by the Americans as a model planned city, and the hundreds of miles of canals that the Taliban now hide in were constructed by the same company that built the San Francisco Bay Bridge and Cape Canaveral.

Monday, 19 October 2009

Status of the P vs NP Problem

The Status of the P Versus NP Problem



None of us truly understands the P versus NP problem, we have only begun to peel the layers around this increasingly complex question. Perhaps we will see a resolution of the P versus NP problem in the near future but I almost hope not. The P versus NP problem continues to inspire and boggle the mind and continued exploration of this problem will lead us to yet even new complexities in that truly mysterious process we call computation.

Opportunty and the Crater

APOD has a fantastic picture today of a small crater on Mars taken by NASA's Opportunity rover. As the picture is quite large click the above link.

Here's the text from the above:


Nereus Crater on Mars
Credit: Mars Exploration Rover Mission, JPL, NASA; Image Processing: Kenneth Kremer
Explanation: It was along the way. The robotic rover OpportunityMeridiani Plain on Mars has a destination of Endeavour Crater, a large crater over 20 kilometers across which may yield additional clues about the cryptic past of ancient Mars. Besides passing open fields of dark soil and light rock, Opportunity has chanced upon several interesting features. One such feature, pictured above in a digitally stitched and horizontally compressed panorama, is Nereus Crater, a small crater about 10 meters across that is surrounded by jagged rock. Besides Nereus, Opportunity recently also happened upon another unusual rock -- one that appears to be the third large meteorite found on Mars and the second for Opportunity during only this trip. Opportunity has been traveling toward Endeavour Crater for over a year now, and if it can avoid ridged rocks and soft sand along the way, it may reach Endeavour sometime next year.

Friday, 16 October 2009

IBEX first results

http://ibex.swri.edu/index.shtml

From Dave McComas, IBEX Principal Investigator
Today is the day we have all been waiting for—when the IBEX first heliospheric results and sky maps are unveiled to the scientific community and public audience for the first time! The first results are summarized in five papers published online today by Science Magazine. They chronicle the remarkable discovery of a bright, narrow band of ENA emissions that was totally unpredicted by any previous theories or models and that snakes between the two Voyager spacecraft, but remained totally undetected by either of them.