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:
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:
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
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: The Building Blocks of True Knowledge https://fs.blog/first-principles/
masalah: dump database di powershell. ketika mau diload, muncul error ERROR: ASCII ‘\0’ appeared in the statement, but this is not allowed unless option –binary-mode is enabled and mysql is run in non-interactive mode. Set –binary-mode to 1 if ASCII ‘\0’ is expected. Query: ‘��-‘
Penyebab: powershell pakai UTF-16
Solusi:
powershell “Get-Content ‘utf16.txt’ | Out-File ‘ascii.txt’ -Encoding ascii”
powershell “Get-Content ‘p2024h_arsip.sql’ | Out-File ‘ascii.txt’ -Encoding ascii”
Referensi: https://superuser.com/questions/1786434/convert-utf-16-le-to-utf-8-in-windows-via-command-line
solusi lain: pakai -r ketika dump database
https://dba.stackexchange.com/questions/44721/error-while-restoring-a-database-from-an-sql-dump
Corpus Bahasa Indonesia untuk training
test https://lindat.mff.cuni.cz/repository/xmlui/bitstream/handle/11234/1-1989/Indonesian-annotated-conll17.tar
Berikut ini cara mengetahui versi Tensorflow yang terpasang di Python
import tflite_runtime
import sys
import cv2
import numpy
print("Python Version");
print(sys.version)
print("OpenCV Version");
print(cv2.__version__)
print("Numpy Version");
print(numpy.__version__)
print("tflite_runtime Version");
print(tflite_runtime.__version__)
Berikut ini tahap instalasi Ruby di Ubuntu 20.04
#install library yang diperlukan
install zlib1g
apt install libffi-dev # untuk 3.3.1
apt install libyaml-dev # untuk 3.3.1
#install rbenv
apt install rbenv
#update data versi ruby yang tersedia
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
#lihat versi ruby yang tersedia
rbenv install --list
#instalasi ruby versi 3.3.1
rbenv install 3.3.1
#pakai update-alternatives jika mau menggunakan beberapa versi Ruby
update-alternatives --install /usr/bin/ruby ruby /root/.rbenv/versions/3.3.1/bin/ruby 3202 --slave /usr/bin/gem gem /root/.rbenv/versions/3.3.1/bin/gem
#aktifkan ruby 3.3.1
update-alternatives --set ruby /root/.rbenv/versions/3.3.1/bin/ruby
Daftar webserver paling populer menurut W3Techs:
© W3Techs.com | usage | change since 1 March 2024 | ||||||
---|---|---|---|---|---|---|---|---|
1. | Nginx | 34.2% | +0.1% | |||||
2. | Apache | 30.2% | ||||||
3. | Cloudflare Server | 21.8% | +0.2% | |||||
4. | LiteSpeed | 12.9% | -0.3% | |||||
5. | Microsoft-IIS | 5.0% | ||||||
percentages of sites |
Sumber: https://w3techs.com/
Memindahkan file di bahasa Python dapat dilakukan dengan fungsi os.rename() dan shutil.move()
Perbedaannya: