15 Matching Annotations
  1. Jul 2020
  2. May 2020
    1. '

      because it's in YAML

      but this means you can't use any ' in the actual script line

      or you have to use different delimiters if you do

      bottom line is it makes it harder to write/include your script than simply creating a separate shell script file.

  3. Apr 2020
    1. What we actually want to do is to escape content if it is unsafe, but leave it unescaped if it is safe. To achieve this we can simply use SafeBuffer's concatenation behavior:
    2. Our helper still returns a safe string, but correctly escapes content if it is unsafe. Note how much more flexible our group helper has become because it now works as expected with both safe and unsafe arguments. We can now leave it up to the caller whether to mark input as safe or not, and we no longer need to make any assumptions about the safeness of content.
    3. A common mistake is to see those escaped angle brackets, and "improve" the helper by making everything html_safe:
    1. 1- Validation: you “validate”, ie deem valid or invalid, data at input time. For instance if asked for a zipcode user enters “zzz43”, that’s invalid. At this point, you can reject or… sanitize. 2- sanitization: you make data “sane” before storing it. For instance if you want a zipcode, you can remove any character that’s not [0-9] 3- escaping: at output time, you ensure data printed will never corrupt display and/or be used in an evil way (escaping HTML etc…)
  4. Jul 2019
  5. Oct 2018
  6. Sep 2016
    1. Formati aperti per i dati

      Per molti dei formati di questo paragrafo, nella gran parte dei portali italiani, c'è molto spesso una grave lacuna: non viene mai dichiarato l'encoding dei caratteri. Questa è una barriera veramente fastidiosa. Andrebbe indicata da qualche parte la necessità (penso ai CSV, JSON, XML, ecc.) di specificare sempre l'encoding e di preferire ove possibile l'UTF8.

  7. Jul 2016
    1. How we insist that the hateful language they hear from public figures on TV does not represent the true spirit of this country.

      This line does some work. On one level, it is red meat for colorblind white (and some non-white) liberals who require all black figures to be hopeful (I've discussed this more here: http://www.theatlantic.com/politics/archive/2015/08/between-the-world-and-me-book-club-not-trying-to-get-into-heaven/400271/).

      On another level, it is doing some inter-group communication or what Stuart Hall called encoding/decoding and what Mark Anthony Neal translates into "black code" when he talks about Hall's work through modern media cultures. Obama is signaling here that she has noted those who have directed racist, sexist, classist rhetoric at her family. She has taken note.

  8. Jun 2015
    1. h?Bb `mMbb?`THv +QmMi2` iQ i?2 T`2pBHBM; aBHB+QM oHH2v M``iBp2- r?B+? Bb 2bb2MiBHHvQM2 Q7i2+?MQHQ;B+H /2i2`KBMBbKĜ i?2 B/2 i?i i2+?MQHQ;v /`Bp2b ?BbiQ`vX