HN user

ezioamf

12 karma

https://www.linkedin.com/in/ezioamf/

Posts1
Comments22
View on HN

I did not said that we are prepared for it. What I was saying that we need extreme measures to slow down the number of cases and not that we will have full success at doing it but we can save a lot of lives and this the only thing that really matters.

Extreme measures is to slow down the first wave of cases so the number of patients needing medical attention is under the local capacity. Death rate is between 0.6% to 8% depending on how you can treat the patients and that requires that you have enough capacity to handle it. Over time we will have better medicines to reduce the need of ICUs and vaccines and then containment will not be necessary but we will continue to handle it as a seasonal disease.

To be clear: 0% would be when current voltage or current mAh level is bellow what the phone needs to operate at maximum capacity.

“Voltage and mAh are two different, but interrelated, things. voltage is a measure of the electrical power a battery can deliver, while mAH (milli-Amp hours) is a measure of how long the battery will maintain usable voltage at a given output current.” https://www.quora.com/How-much-mAh-will-equal-to-1-v

I think you don’t read the comment. If the battery do not have enough power the level would be 0%. The time from 100%(plugged in) to 0% will depend on how degraded is the battery. It is not difficult to understand. You are repeating Apple excuses. Mobile phones had been dealing with degrading batteries for a long time.

This is why I don't know if it will be possible (at current limitations) to let insect like brains to fully drive our cars. It may never be good enough.

I found hashicorp hcl after starting to think about what we wanted internally at PayWithMyBank.

The concepts are similar but we needed a language to change the composition and configuration of our screens that had the same kind of flexibility as the CSS language.

It is used as a replacement to XML/HTML to define visual components of the page, having a better structure, and to easily change the screen to different merchants, and to easily implement variations for A/B tests using CSS like rules.

Ex:

B { value = "1"; }

Defines B as having value = "1".

A > B { value = "2"; }

Define B as having value = "2" if direct child of A.

So the definition:

C [ B, A [ B ] ]

The first B will have value = "1" and the second value = "2".

Each definition act as a template (like XSLT) to create the elements.

Also there is a main difference that element composition is separated from element definition. So:

A { B { value = 4} }

Do not define the element A as having the element B. It define that if there is an element B having a parent A the value will be 4.

The language do not hard define the elements but define how to create the elements. You ask the language to create an specific element and all the rules will be evaluated to return the desired element.

Edited: Clicked enter before finishing the message.

The main problem is that we are still using XML to do component definition and composition. We need to better language (no, json and yaml are not the answer).

I am working on a new language concept (still at early thinking) but the alert template document would be defined as:

  alert#update_available [  //Composition is separated from definition
     btn#update,
     btn#cancel
  ]

  alert { //All alert elements are defined as alertTemplate
     type: alertTemplate
  }

  btn { //All btn elements are define as button
     type: button
  }

  alert#update_available { //Define the title and description for the alert with ID update_available
     title: Get the latest tvOS version
     description: Get the latest tvOS version
  }

  btn#update {
     text: Update Now
  }

  btn#cancel {
     text: Cancel
  }

  //We could override the settings like CSS
  (@language = "pt_br") { 
  //If variable language is pt_br override the content with Brazilian Portuguese texts
    btn#update {
       text: Atualize Agora
    }

    btn#cancel {
       text: Cancelar
    }
  }
Facebook's AI lab 13 years ago

Google has won the search indexing game. Who will win the next level when robots understands the content?