31 Matching Annotations
  1. Jul 2020
  2. Jun 2020
    1. What would be nice is if JavaScript had a built-in way to do what I can do in Ruby with:

      > I18n.interpolate('Hi, %{name}', name: 'Fred')
      => "Hi, Fred"
      

      But to be fair, I18n comes from i18n library, so JS could just as easily (and I'm sure does) have a library that does the same thing.

      Update: Actually, you can do this in plain Ruby (so why do we even need I18n.interpolate?):

      main > "Hi, %{name}" % {name: 'Fred'}
      => "Hi, Fred"
      
      main > ? String#%
      
      From: string.c (C Method):
      Owner: String
      Visibility: public
      Signature: %(arg1)
      Number of lines: 9
      
      Format---Uses str as a format specification, and returns the result
      of applying it to arg. If the format specification contains more than
      one substitution, then arg must be an Array or Hash
      containing the values to be substituted. See Kernel::sprintf for
      details of the format string.
      
         "%05d" % 123                              #=> "00123"
         "%-5s: %016x" % [ "ID", self.object_id ]  #=> "ID   : 00002b054ec93168"
         "foo = %{foo}" % { :foo => 'bar' }        #=> "foo = bar"
      

      I guess that built-in version is fine for simple cases. You only need to use I18n.translate if you need its more advanced features like I18n.config.missing_interpolation_argument_handler.

  3. May 2020
    1. Van den Akker, O., Weston, S. J., Campbell, L., Chopik, W. J., Damian, R. I., Davis-Kean, P., Hall, A. N., Kosie, J. E., Kruse, E. T., Olsen, J., Ritchie, S. J., Valentine, K. D., van ’t Veer, A. E., & Bakker, M. (2019). Preregistration of secondary data analysis: A template and tutorial [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/hvfmr

  4. Dec 2019
  5. Aug 2019
  6. Apr 2019
    1. THIS   SERIESA   PREFERRED   STOCK   PURCHASE   AGREEMENT

      Hi Craig-- here's a public note to you that any one else could see-- but we could also create a private group here and have a conversation just between ourselves and others.

  7. Mar 2019
  8. www.microbiologyresearch.org www.microbiologyresearch.org
    1. The fluorescence signal atCT37±7 corre-sponds to the no-template-control andrepresents bacterial DNA contamination inthe commercially supplied reagents.
    1. ample Professional Development (PD) Activity Collection

      Iris Center has put together a sample professional development activity collection. This is for educators and others creating professional development in other work areas. A link on this page called PD Facilitator's Guide Template accesses a template for any professional development leader to follow. It is broken down into time frames. For example, introduction five minutes, information session ten minutes. The other nice feature it has is that it already incorporates hands on activities and group work. Both of which are essential to a quality learning session. However, technology and how to use technology to better professional development is not incorporated. Rating 6/10

  9. Dec 2018
  10. Nov 2018
    1. Our Sample Professional Development (PD) Activity Collection is designed to serve as a resource to PD providers creating training events both for practicing educators and beginning teachers engaged in induction experiences. In this collection, users will find examples of the ways in which information about evidence-based practices,

      The page has a template, activities, and resources instructors can use to help create professional development courses. Rating: 4/5

  11. Oct 2018
    1. A URI Template is a compact sequence of characters for describing a range of Uniform Resource Identifiers through variable expansion. This specification defines the URI Template syntax and the process for expanding a URI Template into a URI reference, along with guidelines for the use of URI Templates on the Internet.
  12. Mar 2018
  13. Feb 2017
    1. Published in the days leading up to the 45th president’s inauguration, two new books purport to show a path forward for liberals in Trump’s America.
    2. In his introduction to “What We Do Now,” co-editor Dennis Johnson writes of the widespread “despair,” “grief” and “disillusionment” that followed the election.
  14. Dec 2016
    1. Luckily, GitHub introduced issue templates:

      One of my favorite: "picture of a cute animal " :)

      "

      • What I did
      • How I did it
      • How to verify it
      • Description for the changelog
      • A picture of a cute animal (not mandatory but encouraged) "

      Docker - PULL_REQUEST_TEMPLATE

      examples:

  15. Mar 2016
  16. Dec 2015
    1. How to Make Your Startup Introduction Email Simple, Clear and Awesome

      Startup Introduction Email help

  17. Apr 2015