59 Matching Annotations
  1. Feb 2025
  2. Nov 2024
  3. Sep 2024
  4. Jun 2024
  5. May 2023
  6. Jan 2023
  7. Nov 2022
    1. Because the official images are intended to be learning tools for those new to Docker as well as the base images for advanced users to build their production releases, we review each proposed Dockerfile to ensure that it meets a minimum standard for quality and maintainability. While some of that standard is hard to define (due to subjectivity), as much as possible is defined here, while also adhering to the "Best Practices" where appropriate.
  8. Apr 2022
  9. Sep 2021
  10. Aug 2021
  11. Jul 2021
  12. Jun 2021
    1. https://github.com/rycus86/githooks is a really option for managing hooks It is... safe (it uses an opt-in model, where it will ask for confirmation whether new or changed scripts should be run or not (or disabled)) configurable handles a lot of the details for you lets you keep your hooks nicely organized. For example:
    1. Or if you're looking for a core extension that adds this to the Array class, I'd recommend the facets gem (require 'facets/array/average'). Then you can just do array.average. And, from looking at the source, it turns out they do the exact same thing as the instance_eval approach above. The only difference is that it's implemented as a method—which of course already has self pointing to itself—instead of a block): def average; return nil if empty?; reduce(:+) / length.to_f; end Main advantage of this is that it's even more concise/readable and it handles the empty? case.
  13. May 2021
    1. I've been using (and recently, contributing slightly to) Git for well over a decade. I don't have any single thing I'd specifically recommend at this point, but if you're looking for a decent book on Git, the Pro Git book has a bunch of plus-es: it's on line and kept up to date, it's free, and it's correct (unlike far too many online tutorials). There is also Think Like (a) Git, which covers most of what's missing from Pro Git.
  14. Apr 2021
  15. Mar 2021
  16. Feb 2021
    1. While Trailblazer offers you abstraction layers for all aspects of Ruby On Rails, it does not missionize you. Wherever you want, you may fall back to the "Rails Way" with fat models, monolithic controllers, global helpers, etc. This is not a bad thing, but allows you to step-wise introduce Trailblazer's encapsulation in your app without having to rewrite it.
    1. @adisos if reform-rails will not match, I suggest to use: https://github.com/orgsync/active_interaction I've switched to it after reform-rails as it was not fully detached from the activerecord, code is a bit hacky and complex to modify, and in overall reform not so flexible as active_interaction. It has multiple params as well: https://github.com/orgsync/active_interaction/blob/master/spec/active_interaction/modules/input_processor_spec.rb#L41

      I'm not sure what he meant by:

      fully detached from the activerecord I didn't think it was tied to ActiveRecord.

      But I definitely agree with:

      code is a bit hacky and complex to modify

    1. References Garrison, D. Randy, Terry Anderson, and Walter Archer. “Critical inquiry in a text-based environment: Computer conferencing in higher education.” The internet and higher education 2, no. 2-3 (1999): 87-105. Orlov, George, Douglas McKee, James Berry, Austin Boyle, Thomas DiCiccio, Tyler Ransom, Alex Rees-Jones, and Jörg Stoye. “Learning During the COVID-19 Pandemic: It Is Not Who You Teach, but How You Teach.” NBER Working Paper 28022 (2020). Rienties, Bart, and Bethany Alden Rivers. “Measuring and understanding learner emotions: Evidence and prospects.” Learning Analytics Review 1, no. 1 (2014): 1-27.

      yay more reading references

  17. Jan 2021
  18. Dec 2020
  19. Nov 2020
  20. Oct 2020
  21. Sep 2020
  22. Aug 2020
  23. Jul 2020
  24. Jun 2020
  25. Apr 2020
  26. Jan 2020
    1. you will find better treatise for all individual topics covered; for example:- What we understand about the brain is essentially covered by Tim Urban in his article "Neuralink and the Brain's Magical Future" in, I might add, more entertaining manner. Alternatively, for a much more in-depth look, look at the book "Principles of Neural Design"- The short time Oliveira spends on superintelligence is better covered by Bostrom in his book "Superintelligence", which Oliveira references- What an algorithm is and what can be computed is better covered by "What algorithms want"- The "common sense" aspect of AI is better covered by "Common Sense, the Turing Test and the Quest for Real AI"- On the title promise, how science is "redefining humanity", the Digital Mind is relatively light on, aside from broadly listing topics that we need to think about like ownership and rights. For a (much) further-taken discussion on this, look at Yuval Noah Harari's Homo Deus, for example.
  27. Dec 2019
  28. Nov 2019