Wastholm.com

Over time, though, my initially rosy feelings towards ORMs have begun to sour. I gradually realised I was spending a disproportionate amount of time trying to coax the ORM into doing my bidding - and when I succeeded, the results were often ugly, slow and needlessly opaque. Analysing the performance of some of the more complicated portions of my data access layer was often painful, and I spent cumulative hours poring over generated SQL, trying to figure out what the ORM was doing and why. Usually, improving performance involved side-stepping the ORM altogether. Recently, a particularly gnarly performance issue prompted me to ditch the ORM from a project altogether, with surprisingly pleasant results.

The move of SWIFT the data server to Switzerland would be an excellent opportunity to stop the nearly unlimited access of US authorities on EU bank transactions. But EU justice and interior minister are apparently keen agree a deal as soon as possible, on 30 November. Why 30 November? Because one day later, on 1 December 2009, the EU’s Lisbon Treaty will be in force and would allow the European Parliament to play a major role in the negotiations of the deal with the USA. A deal one day before will be a slap in the face of democracy in the EU.

Complaining about poor internal documentation is an old practice, but there's a reason that doing it right is important. Your comments are the only way you have to speak to the next person looking at this software (that may be you) about the larger scope of the software, not just this line-or-two. What were you thinking when you wrote this code? Yes, "self-documenting code" is a goal, but it's arrogant to assume that you've achieved it, any more than it's arrogant of me to assume that my words need no editing. (They do. I'm happiest when I have an editor.)

Another common problem in comment ugliness is developers who update the code and don't update the comments; as one consultant pointed out, comments aren't tested. But doesn't that show a lack of attention to detail, too? Anytime you aren't paying full attention, you're apt to drop a logic bit.

1. CRUD is crud. The fundamental activities of Create, Read, Update and Delete are fundamentally wrong-headed. Updates to data should never be allowed, because they destroy information and Deletes should never be allowed for the same reason. When data changes the database should just add another record and note (by any mechanism that works) the previous value for that record. If the database gets too large then data should be archived from it. The right set of activities is thus CRA, Create, Read, Archive.

So if intelligence in itself is not a factor in popularity, why are smart kids so consistently unpopular? The answer, I think, is that they don't really want to be popular.

"A lot of people worry about having SUVs but they don't worry about having Alsatians and what we are saying is, well, maybe you should be because the environmental impact ... is comparable."

Anhängarna av mer engelska menar, naturligtvis, att det inte är någon fara för svenskan. Jag menar att vi genom vissa politiker, företagsledare och myndighetschefer är på väg att försättas i en kolonial situation där svenskan förpassas till att vara ett fritidsspråk. Hur kan läget vara lugnt för svenskan och hur kan det vara en ”utveckling” att hela tiden ersätta svenskspråkiga företeelser med engelskspråkiga dito? Det är istället tal om en avveckling där svenskan försvinner med nuvarande hållning. Inga andra än vi svenskspråkiga kan eller kommer att försvara vårt språk. Min uppmaning lyder: Låt inte hycklande företrädare schabbla bort rätten till svenskan utan agera för att språkfrågan på allvar kommer upp på den politiska dagordningen inför valet 2010. Se svenskan som en tillgång, inte som en belastning.

Guess what? Almost all capacity changes are foreseeable. If you had done proper capacity planning, you would have had two key advantages:

* You would have added the capacity before it was needed, guaranteeing that the proper capacity is always in place.

* You would have discovered any operational issues with Amazon S3 before they impacted your operations (and thus allow you to take alternative steps to deal with the situation).

Google doesn't force Web sites to be included in its search listings. The people who run any site can remove it from Google's results with a few keystrokes.

...

It's not like this is some big secret. Google even has a page on its Web site explaining step by step how to do it. Yet neither AP nor News Corp. has taken this simple step to stop the marauding Google pirates from pillaging their cargo. Why? Because they know that their traffic would dry up overnight. They'd rather blame someone else for their failure to compete in a changing marketplace. They happily take all the customers Google sends them for free, and then accuse Google of theft. Classy.

USA spenderar årligen 600 miljarder amerikanska dollar på sina militära styrkor. Det utgör hälften av världens samlade militära utgifter. USA innehar idag 2700 av världens 8000 kärnvapenstridsspetsar. I dagsläget bedriver USA två krig där tusentals civila dödas varje år. Senast i förra veckan kom nya rapporter på hur civila dödats av flygstridskrafter och andra offensiva delar av det amerikanska kriget mot terrorismen i Afghanistan, operation Enduring Freedom.

Obama må vara en bättre president än George W Bush. Men det kvalificerar knappast någon till att per automatik få världens finaste fredsutmärkelse. Utmärkelsen säger en hel del om hur mycket krig Nobelkommittén tycker är okej för att fortfarande ses som en fredshjälte.

|< First   < Previous   201–210 (249)   Next >   Last >|