Studies on Programming Language Energy Efficiency

Recent scientific journals that discuss energy measurement in programming languages include:

  1. “Energy efficiency across programming languages: how do energy, time, and memory relate?” by Pereira et al. (2017) and its follow-up in 2021, which uses the Computer Language Benchmarks Game (CLBG) to compare the energy efficiency of various programming languages (https://dl.acm.org/doi/10.1145/3136014.3136031) (https://www.devsustainability.com/p/paper-notes-energy-efficiency-across-programming-languages)
  2. “Ranking programming languages by energy efficiency” by Pereira et al. (2021), which validates the 2017 results using a more “real-world” analysis on a codebase that better represents day-to-day programming problems (https://www.devsustainability.com/p/paper-notes-energy-efficiency-across-programming-languages)
  3. “Analyzing Programming Languages’ Energy Consumption: An Empirical Study” on ResearchGate, which compares the energy consumption of interpreted programming languages like PHP, Ruby, and JavaScript with languages like Swift, R, Perl, and Python (https://www.researchgate.net/publication/321415912_Analyzing_Programming_Languages%27_Energy_Consumption_An_Empirical_Study)
  4. Analysis of programming languages used in solving energy problems” by Pelagie Flore Temgoua Nanfack et al., which discusses the use of programming languages in energy engineering and identifies C++ and Python as the most used GPLs, with Julia, R, and Matlab as the most prominent DSLs (https://www.e3s-conferences.org/articles/e3sconf/pdf/2022/21/e3sconf_enrconf2021_01006.pdf) (https://www.researchgate.net/publication/361973044_Analysis_of_programming_languages_used_in_solving_energy_problems)

These studies provide insights into the energy efficiency of various programming languages, focusing on both theoretical benchmarks and practical applications in the field of energy engineering.

20 Pola Pemrograman Dinamis

20 dynamic programming https://blog.algomaster.io/p/20-patterns-to-master-dynamic-programming

  1. Fibonacci Sequence
  2. Kadane’s Algorithm
  3. 0/1 Knapsack
  4. Unbounded Knapsack
  5. Longest Common Subsequence (LCS)
  6. Longest Increasing Subsequence (LIS)
  7. Palindromic Subsequence
  8. Edit Distance
  9. Subset Sum
  10. String Partition
  11. Catalan Numbers
  12. Matrix Chain Multiplication
  13. Count Distinct Ways
  14. DP on Grids
  15. DP on Trees
  16. DP on Graphs
  17. Digit DP
  18. Bitmasking DP
  19. Probability DP
  20. State Machine DP

Komponen di senjata Rusia

Senjata canggih buatan Rusia menggunakan komponen-komponen dari blok barat (Amerika, Eropa, Jepang, dsb)

Sumber:

  • https://www.ft.com/content/ef463ac9-4804-4ad7-b9a2-c113590f2f96
  • https://en.defence-ua.com/analysis/important_detail_about_western_electronics_in_russian_missiles_revealed_typical_circuit_boards_from_a_small_number_of_suppliers-4114.html
  • https://www.pravda.com.ua/eng/news/2024/07/10/7464966/
  • https://www.themoscowtimes.com/2024/07/10/western-parts-power-russian-missile-that-hit-kyiv-childrens-hospital-ft-a85669

Recovery Hard Disk dengan ddrescue

Jika ada hard disk yang rusak , untuk proses recovery tahap pertama adalah melakukan copy hard disk rusak itu ke hard disk lain. Setelah itu baru utak-atik hasil copy tersebut.

Proses copy hard disk sector-by-sector yang mudah adalah menggunakan aplikasi ‘ddrescue’ di Ubuntu

Berikut ini perintah untuk menjalankan ddrescue

sudo ddrescue -d -r3 –force /dev/sdc /dev/sdb /home/admin/rescue.log

Masalah unsafe code di CSharp

CSharp 8.0.204

Masalah:
muncul error CS0227: Unsafe code may only appear if compiling with /unsafe.

Solusi:
Tambah entry berikut ini di file project *.csproj:
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

Contoh:

Referensi: https://stackoverflow.com/questions/39256383/unsafe-code-compilation-error-in-net-core-even-after-setting-allowunsafe-flag-t

Kuliah Pengenalan Elektro dan Ilmu Komputer di MIT

https://ocw.mit.edu/courses/6-01sc-introduction-to-electrical-engineering-and-computer-science-i-spring-2011/pages/unit-1-software-engineering/state-machines/
Introduction to Electrical Engineering And Computer Science I
6.01SC | Spring 2011 | Undergraduate
Unit 1: Software Engineering
– OOP
– State Machines
Unit 2: Signal & Systems
– Signal & Systems
– LTI Signal & Systems
– Characterizing System Performance
– Designing Control Systems
Unit 3: Circuits
– Circuits
– Op-Amps
– Circuit Abstractions
Unit 4: Probability and Planning
– Discrete Probability
– State Estimation
– Search ALgorithms
– Optimizing a Search