Studies on Programming Language Energy Efficiency
Recent scientific journals that discuss energy measurement in programming languages include:
- “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)
- “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)
- “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)
- 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
- Fibonacci Sequence
- Kadane’s Algorithm
- 0/1 Knapsack
- Unbounded Knapsack
- Longest Common Subsequence (LCS)
- Longest Increasing Subsequence (LIS)
- Palindromic Subsequence
- Edit Distance
- Subset Sum
- String Partition
- Catalan Numbers
- Matrix Chain Multiplication
- Count Distinct Ways
- DP on Grids
- DP on Trees
- DP on Graphs
- Digit DP
- Bitmasking DP
- Probability DP
- State Machine DP
Better Firmware with LLVM/Clang
Better Firmware with LLVM/Clang https://interrupt.memfault.com/blog/arm-cortexm-with-llvm-clang#background-of-gcc-and-clang
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:
Prompt Engineering
Pada penggunaan LLM (Large Language Model), salah satu hal penting adalah pembuatan prompt yang benar. Berikut ini paper yang menganalisis teknik-teknik pembuatan prompt: “The Prompt Report: A Systematic Survey of Prompting Techniques” https://arxiv.org/abs/2406.06608
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
First Principles
First Principles: The Building Blocks of True Knowledge https://fs.blog/first-principles/