14 Matching Annotations
  1. Apr 2021
    1. They cause completely different behavior for auto margins. If you have a fixed element for example with top/bottom/left/right set to zero and you stick an image in it you want to center wrapped in a div, then in order to center that div with auto margins, you MUST specify a CSS width/height, because specifying an HTML attribute width/height has no effect and the margins remain zero. I have no idea why the difference exists.
    2. Whether to specify in html or css is best judged on individual circumstances. A large number of images of the same size would probably be best served with css, a single image with html. That said, if you are specifying other styles for the image (border colour, style or radius, float etc) it would make sense to add width & height to the css.
  2. Mar 2021
    1. Opal is a Ruby to JavaScript source-to-source compiler. It comes packed with the Ruby corelib you know and love. It is both fast as a runtime and small in its footprint.
    1. Hyperstack gives you full access to the entire universe of JavaScript libraries and components directly within your Ruby code.Everything you can do in JavaScript is simple to do in Ruby; this includes passing parameters between Ruby and JavaScript and even passing Ruby methods as JavaScript callbacks.There is no need to learn JavaScript, all you need to understand is how to bridge between JS and Ruby.
  3. Dec 2020
    1. I'd instinctively associate a this.cache() inside preload with the preloaded data only -- meaning no matter what crazy thing I did inside preload, the returned data would be cached locally, where local means either the client or server.
  4. Oct 2020
    1. Pom! Ta-ta-ta Tee-ta!

      I’m imaging the sound/volume/rhythm of this, and I think it’d be really interesting as to how authors write sound. I remembering reading in The Moonstone a lot of Sergeant Cuff singing “The Last Rose of Summer”, but I don’t remember any individual notes being written…this says a lot about Laura and the effect it has on her and the attention she’s paying to the music maybe?

  5. Feb 2019
    1. sweetest music to the ears

      This is interesting too. That our own speech and sounds provides us with a level of comfort.

    2. The organs of hearing in each species, are tuned only to the sounds of their own

      This is a very interesting idea that we can only hear the sounds of our own speech

    3. The organs of hearing in each species, are tuned only to the sounds of their own;

      What about in the instance where an animal, such as a dog, makes sounds which humans interpret? For instance, I am thinking of a dog whining for more water if its dish is empty or growling at the sight of danger.

  6. Jun 2016