2009-12-03

Computer performance definitions

Cost-performance trade-off

Select:
- the right measures of performance
- the right measurement environment
- the right techniques

Metrics - criteria used to evaluate the performance of the system (examples: response time, transactions per second)

Workloads - requests made by the users of the system

Factors - system parameters that are varied in the study. Other parameters should fixed or typical values.

2 tools are required to measure the performance of a computer system:
- load generator - to load the system;
- monitor - to measure the results.

Read more about this in the book The Art of Computer Systems Performance by Raj Jain

2009-11-27

Julie and Julia

Julie and Julia



Paul Child: What is it you REALLY like to do?
Julia Child: Eat!

The Prince and Me

The Prince and Me



Queen: Being royal requires you to sacrifice who you are for who you must be.

2009-11-23

Software testing: Mocks vs Stubs

Test Double as the generic term for any kind of pretend object used in place of a real object for testing purposes. The name comes from the notion of a Stunt Double in movies. (One of his aims was to avoid using any name that was already widely used.) Meszaros then defined four particular kinds of double:

* Dummy objects are passed around but never actually used. Usually they are just used to fill parameter lists.
* Fake objects actually have working implementations, but usually take some shortcut which makes them not suitable for production (an in memory database is a good example).
* Stubs provide canned answers to calls made during the test, usually not responding at all to anything outside what's programmed in for the test. Stubs may also record information about calls, such as an email gateway stub that remembers the messages it 'sent', or maybe only how many messages it 'sent'.
* Mocks are what we are talking about here: objects pre-programmed with expectations which form a specification of the calls they are expected to receive.

Reference: http://martinfowler.com/articles/mocksArentStubs.html

2009-11-22

Theology of the Body

Theology Of The Body For Beginners

Let's talk about sex, Catholic-style !?

A surprising book that challenges preconceptions about the Church's view of sex, based on the teachings of Pope John Paul II.



(em Português)

2009-11-21

Good Bye Lenin!

Good Bye Lenin!



Dr. Wagner: You must protect her from any kind of excitement. And I do mean any kind, Mr. Kerner.
Alexander Kerner: Any kind of excitement.
Dr. Wagner: It would be life-threatening.
Alexander Kerner: And this here?
[Shows the doctor a newspaper reading "Good Luck, Germany. Yes to Reunification"]
Alexander Kerner: Wouldn't you call this exciting?

2009-11-18

Something ImportAnt for Java developers

:-)

ImportAnt is a library for the Apache Ant build tool, very popular for Java programming. It is an open-source project, released under the GNU LGPL license and hosted at SourceForge.



Recently it has been re-envisioned as a Wiki of build file snippets that can be copy-pasted to create custom build files.

Enjoy!

2009-11-17

300

300



Dilios: Immortals... we put their name to the test.

2009-11-15

We're no angels

We're no angels



Jim: [as Father Brown, he is asked to give a speech to the town. He reads from a brochure stuck in his Bible that says "An Encounter with a Bear"] Have you ever felt alone, with no one to rely on? Danger on every hand, in a world fraught with danger, and when I looked into my pocket, what did I find? What did I find?
[flips the brochure over - it's an ad for guns]
Jim: Nothing. There's nothing there. It's all in your head. Look, they can take the money from you. They can take the position from you. People turn their back on you. Everything happens to everybody! And you ain't gonna find nothing in your pocket to stave it off. Nothing can stave it off! Power doesn't do it. Because you never have enough. Money? I don't know. You know anyone who's got enough money?
[holds up his Bible]
Jim: Is God good? I don't know. All I know is... something may give you comfort. And maybe you deserve it. If it comforts you to believe in God, then you do it. That's your business.

2009-11-13

Mac VS PC accident



This is my PC telling what happened to him last week... Actually the culprit was the network cable, but the end result was the same.