Forgot your password?

typodupeerror

Comment: Re:Too late... (Score 1) 369

by 21mhz (#39093593) Attached to: Should Microsoft Put Office On the iPad?

Here's an interesting article that says Microsoft (pronounced 'Ballmer') missed the boat: http://minimalmac.com/post/17758177061/microsofts-biggest-miss Tablets in general are proof that Microsoft Office is not 'required' to do useful work.

Tablets are proof that people who have no idea how that useful work is done can tout the latest fad as a solution for every need.

Comment: Re:Bad programming? (Score 1) 116

by 21mhz (#39092519) Attached to: Flash Memory, Not Networks, Hamper Smartphones Most

I've seen how this happens:
1. Gee, I can just fire INSERTs in SQLite like I did in SQL Server, isn't it convenient?
2. (few months in development) Crap, these queries thrash the flash medium and cause a lot of waiting on I/O, we need to batch them and use transactions more.
3. (with deadlines looming) Attempts to tweak the database access flags or even relax the durability requirements, to get out of the corner we have painted ourselves into.

It would be instrumental for better performing code if database access was always treated as slow and therefore asynchronous, but SQLite does not provide an easy-to-use async API.

Comment: Re:Or, you know, maybe (Score 1) 116

by 21mhz (#39092405) Attached to: Flash Memory, Not Networks, Hamper Smartphones Most

And if you have to use SQL for whatever reason, don't use indices unless absolutely necessary. It seldom is, despite what school has taught you. The index has to get updated too, which causes additional non-sequential writes. The minor speed boost you may get from selects are easily eaten up by the major speed bumps you cause on inserts and updates.

In many applications reads (SQL SELECT) happen much more often than writes. In this case, indexing still brings an overall benefit. In fact, the hardware architecture of flash memory is tilted to fast reads versus very slow writes, so if you have to do any writes at all, you already pay the price. The non-sequentiality issue is also mooted by controller sicruitry in bulk flash devices like SD cards, which reallocates logical buffers for wear leveling, hiding bad blocks, and write optimization.

The real issue with SQL in embedded devices is mainstream transactional semantics applied to flash storage. Often the programmers are not even aware that each INSERT not framed in an explicit transaction causes a full flush to the medium, which may be disastrous not only to this application's performance, but other concurrent file I/O.

Comment: Re:the notes you people wont read (Score 1) 644

by 21mhz (#39037577) Attached to: GNOME 3: Beauty To the Bone?

Actually it is not. If you use any applications built for new GNOME, you have to remove old GNOME because the bastards kept the old names of everything but broken the backward compatibility.

Any specific examples? What GNOME has been good about is proper side-by-side installability of incompatible versions of their libraries. GTK+ 3 coexists in my box with GTK+ 2.

I don't believe there really IS a GAS SHORTAGE.. I think it's all just a BIG HOAX on the part of the plastic sign salesmen -- to sell more numbers!!

Working...