Re: YouTube Users Pass on Paying for Movies

Dear Ryan here’s my response to your piece on YouTube Users Passing on movie rentals

It’s been only 48 hours and you’re already killing it?
I didn’t even know this was up already.

You have to let the service up for a little longer to make any judgments of these sorts.

However… being Devil’s advocate I’m with you on this one, it’s not gonna fly far, not even with cool blockbuster movies.

You don’t have to be a genius to understand that $3.99 seems a little too high for “renting” a movie to watch it on your computer, specially for a crowd that’s used to come to youtube for a bunch of short free video fixes.

This business model down the line won’t be a significant source of revenue for youtube, they’ll have to revisit their strategy and copy the Netflix flat rate model; Pay every month a flat fee and stream all you want from the ever growing catalog.

The Netflix flat fee model is the best available and the markets also like it; Netflix’s market cap ($NFLX) is now over $3 billion and Blockbuster’s has been reduced to a mere ($BBI) $70 million.

From a customer’s perspective I would never rent “on demand” films at $3.99 each, not even from my cable company and I’d be watching it on a big screen sitting comfy in my living room couch.

I rather stream to my heart’s contempt all I want without having to take my wallet out every time.

Flat Rates FTW.

iPad, iPass

Beautiful device, beautiful looking software but way too expensive for the minimum storage capabilities that a multimedia/gaming device should have.

If you’re giving me a great screen for video, powerful graphic processing capabilities and only WiFI connectivity you must think I will want to have a few movies, pictures and music stored in the device for offline use. WiFI is everywhere right? Wrong, most networks out there are password protected by the owners, so the only places where you’ll have WiFI access for free will be at home, at the office, maybe at your friends or a library. In most of those cases you will have a real laptop with you, or you won’t really be there to use the device.
Continue reading

Seismic Warfare Benefit list

Disclaimer: I fucking hate communism, but I’m a card carrying member of the conspiracy-theorists club.

My disclaimer is because recently president Hugo Chavez publicly accused the US government of using seismic weapon technology over Haiti in order to perform a military invasion. I hate the son of a bitch to pieces, but I can’t help to agree with him on this one.

For years I’ve joked about government being responsible for strong earthquakes or when warning ones hit nations (whenever the puppet dictators want to do things their way), so don’t think by any means that I got this idea from Hugo Chavez, but I found it interesting that a president of a nation actually had the balls (or the crazy loosened bolts) to make such an accusation openly. The world is not as crazy as me to digest such things. However with this post I intend to explain why it makes perfect sense to have tectonic weaponry.

Seismic Weapons can’t be more complex than Nuclear weapons
I believe that if in the 1950s we already had the ability to split the atom, why is it so crazy to believe that we NOW have weapons to create natural disasters? being earthquakes the easiest to create, just a big ass explosion, or several ones on the right spot(s) deep underground. Let your mind fly and it’s also doable causing other natural disasters like tsunamis or even hurricanes, we [humans] are smart motherfuckers when it comes to destruction.

Benefits of Seismic Weaponry

Imagine you are president Obama and you’re being briefed by high command military to make the decision to preemptively invade a nation for strategic purposes. The top generals enumerate the following benefits about Seismic Warfare:

  • There is nobody to blame. And even if they blame us, it’s so far fetched that nobody will believe it.
  • There are no battles to fight. We don’t loose any of our men.
  • We go in to help rebuild and heal. We are looked upon as the heroes. Great for international perception and politics.
  • No post-combat traumas to deal with, health care savings in soldier treatment, lower suicide rates.
  • We can destroy as much or even more, further attacks are just seen as normal earthquake replicas in case we don’t take down intended targets.
  • You don’t need to justify or create conflict to get our boys in. No need to attack our own people and blame it on terrorist groups or dictators, no need to blame anybody for having weapons of mass destruction, it’s as clean as it gets Mr. President, no politics or red tape involved.

If the US doesn’t have seismic weapons I hope they’re building them, if a lame ass individual like me can think of this, I don’t see why people with billion dollar military budgets and a bunch of geniuses working for them couldn’t think the same.

But again it’s all Just a conspiracy theory, any resemblance with reality is just a coincidence. This would make such a great season of 24.

JavaScript: Get how many digits are there in a decimal number

 * 1 + Floor(LogBase10(number))
function digits(n) { return 1+Math.floor(Math.log(n)/Math.log(10)); 

Yes, javascript doesn’t have a Math.log10() function.
I tried doing it by dividing by Math.ln10 constant but the function won’t return the correct number of digits when you pass numbers like 100,1000,10000,etc. So I just divided by Math.log(10) and it seems to work.

Droid vs Nexus 1 – SunSpider JavaScript Benchmark showdown

Nexus One runs JavaScript 2.32 times faster than the Motorola Droid.

The SunSpider JavaScript Benchmark was run several times on both phones and results were consistent.

It’d be great to compare with the iPhone 3Gs, If someone has an iPhone 3Gs, please run the test and send me the results to update this post.

RESULTS (means and 95% confidence intervals)
Total:                 34157.4ms +/- 2.8%

  3d:                   4277.6ms +/- 3.3%
    cube:               1212.4ms +/- 9.6%
    morph:              1680.0ms +/- 12.5%
    raytrace:           1385.2ms +/- 5.2%

  access:               4350.8ms +/- 7.1%
    binary-trees:        473.2ms +/- 7.6%
    fannkuch:           1959.4ms +/- 9.7%
    nbody:               985.2ms +/- 9.6%
    nsieve:              933.0ms +/- 39.8%

  bitops:               2921.4ms +/- 3.4%
    3bit-bits-in-byte:   545.4ms +/- 4.1%
    bits-in-byte:        735.6ms +/- 16.3%
    bitwise-and:         539.8ms +/- 9.9%
    nsieve-bits:        1100.6ms +/- 3.0%

  controlflow:           414.2ms +/- 8.5%
    recursive:           414.2ms +/- 8.5%

  crypto:               2064.4ms +/- 4.5%
    aes:                 859.8ms +/- 3.4%
    md5:                 638.8ms +/- 4.6%
    sha1:                565.8ms +/- 8.1%

  date:                 4434.2ms +/- 9.0%
    format-tofte:       1663.6ms +/- 6.7%
    format-xparb:       2770.6ms +/- 12.7%

  math:                 3223.6ms +/- 3.0%
    cordic:             1110.8ms +/- 6.2%
    partial-sums:       1264.0ms +/- 3.4%
    spectral-norm:       848.8ms +/- 3.2%

  regexp:               3980.0ms +/- 1.3%
    dna:                3980.0ms +/- 1.3%

  string:               8491.2ms +/- 3.8%
    base64:             1108.4ms +/- 7.0%
    fasta:              1683.4ms +/- 1.6%
    tagcloud:           1500.2ms +/- 9.5%
    unpack-code:        2456.2ms +/- 8.7%
    validate-input:     1743.0ms +/- 4.5%
RESULTS (means and 95% confidence intervals)
Total:                 14706.8ms +/- 4.8%

  3d:                   1593.6ms +/- 6.0%
    cube:                474.8ms +/- 17.2%
    morph:               566.2ms +/- 2.6%
    raytrace:            552.6ms +/- 1.0%

  access:               1885.0ms +/- 10.3%
    binary-trees:        202.8ms +/- 25.7%
    fannkuch:            819.4ms +/- 1.1%
    nbody:               406.2ms +/- 20.7%
    nsieve:              456.6ms +/- 28.1%

  bitops:               1640.8ms +/- 29.2%
    3bit-bits-in-byte:   300.8ms +/- 30.9%
    bits-in-byte:        390.0ms +/- 44.9%
    bitwise-and:         372.0ms +/- 55.7%
    nsieve-bits:         578.0ms +/- 36.8%

  controlflow:           200.8ms +/- 4.5%
    recursive:           200.8ms +/- 4.5%

  crypto:                880.8ms +/- 2.1%
    aes:                 385.6ms +/- 4.6%
    md5:                 254.4ms +/- 5.3%
    sha1:                240.8ms +/- 9.0%

  date:                 1843.6ms +/- 20.6%
    format-tofte:        840.0ms +/- 45.9%
    format-xparb:       1003.6ms +/- 1.3%

  math:                 1250.8ms +/- 1.6%
    cordic:              464.0ms +/- 1.1%
    partial-sums:        450.2ms +/- 3.0%
    spectral-norm:       336.6ms +/- 3.6%

  regexp:               2003.4ms +/- 15.2%
    dna:                2003.4ms +/- 15.2%

  string:               3408.0ms +/- 7.7%
    base64:              387.6ms +/- 2.4%
    fasta:               729.8ms +/- 3.7%
    tagcloud:            605.8ms +/- 4.2%
    unpack-code:        1019.8ms +/- 29.1%
    validate-input:      665.0ms +/- 1.1%

Crónicas del Buen Programador: Invierte en Conocimientos

“Una inversión en conocimiento siempre paga el mejor Interes” Benjamin Franklin

Tus conocimientos y tu experiencia son tus mejores bienes. En 1999 recuerdo que compre un libro llamado “Java In A Nutshell“. Era un libro de referencia completa al lenguaje, en aquel entonces la API era Java 1.1.8. Lei el libro de la primera pagina a la ultima pagina. En unos cuantos meses empece a ganar reputación en la escuela de Ingeniería Informática porque sabia programar (muy poco en comparación a hoy en día) en Java.
Continue reading

Las Mentiras sobre la Marihuana

Si te criaste en Latino América probablemente eres victima de las mentiras que rodean a la marihuana y probablemente tienes el cerebro híper lavado en su contra, lo cual te hace ver esta planta como algo que jamás tocaras en tu vida.

Si no has probado la marihuana (después de los 21) por miedo a todo lo que has escuchado y creído, deberías estar tan súper molesto o molesta como yo porque hemos sido victimas de viles mentiras para privarnos de uno de los placeres mas sanos de la vida.
Continue reading