62 Matching Annotations
  1. May 2025
    1. Im ersten Quartal 2025 übertraf die installierte Kapazität von Wind- und Solarenergie in China erstmals die von Kohlekraftwerken, mit 1,482 Milliarden Kilowatt gegenüber 1,451 Milliarden Kilowatt. China hat 2024 weltweit 357 Gigawatt neue erneuerbare Energien installiert, zehnmal mehr als die USA. Bis 2030 plant China, 1.200 Gigawatt erneuerbare Energien zu installieren, um bis 2060 klimaneutral zu werden.

      [Zusammenfassung mit Mistral generiert]

      https://www.repubblica.it/economia/2025/04/25/news/cina_rinnovabili_trump_carbone_energia_terre_rare-424148525/

  2. Feb 2024
  3. Aug 2023
  4. Mar 2023
  5. Nov 2022
  6. Aug 2022
    1. 🚀A walkthrough of Obsidian x PPT workflow 🥳Obsidian 與 PPT 工作流整合 ☕中英對照影片 0:59 Install obsidian pandoc plugin 1:45 install homebrew 2:18 install pandoc 3:15 Pandoc path 3:56 introduce the example file
  7. Jun 2021
    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.
  8. Apr 2021
  9. Mar 2021
    1. data = {}.extend XKeys::Auto # Vs ::Hash, uses arrays for int keys data[:users, 0, :name] # nil data[:users, 0, :name, :raise => true] # KeyError data[:users, :[], :name] = 'Matz' # :[] is next index, 0 in this case # {:users=>[{:name=>"Matz"}]} pick = [:users, 0, :name] data[*pick] # Matz data[:users, 0, :accesses, :else => 0] += 1 # {:users=>[{:name=>"Matz", :accesses=>1}]}
  10. Feb 2021
  11. Oct 2020
  12. Sep 2020
  13. Jul 2020
    1. All this to say: your webpack test config, i.e. config/webpack/test.js, is essentially useless unless your application: a. uses a Node.js test runner for JavaScript unit test AND configure it to use your webpack config a. overrides the defaults so that the test config is loaded in your Rails tests (just be sure to change Babel behavior)
  14. May 2020
  15. Apr 2020
  16. Mar 2020
  17. Dec 2019
  18. Oct 2019