https://github.com/salvadordf/CEF4Delphi
https://github.com/salvadordf/WebView4Delphi
https://landof.dev/awesome/pascal/
https://github.com/Fr0sT-Brutal/awesome-pascal
https://github.com/salvadordf/CEF4Delphi
https://github.com/salvadordf/WebView4Delphi
https://landof.dev/awesome/pascal/
https://github.com/Fr0sT-Brutal/awesome-pascal
https://blogs.embarcadero.com/using-delphis-expressions-engine/
https://github.com/torvalds/linux/blob/master/scripts/kconfig/expr.c
https://beltoforion.de/en/muparser/
C++ Mathematical Expression Library (ExprTk) - By Arash
C library for parsing and evaluating simple expressions.
evaluating expressions
https://stackoverflow.com/questions/1326258/mathematical-expression-parser-in-delphi
https://github.com/Crownie88/Delphi-mathematic-expression-parser/blob/master/MathExpParser.pas
https://codeoncode.blogspot.com/2016/12/create-job-object-and-terminate-child.html
Create a Job object And terminate Child Process
JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE flag
How to gracefully handle when main.exe terminated, child.exe terminated also?
You need to use jobs. Main executable should create a job object, then you'll need to set JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE flag to your job object.
unit JobsApi;
interface
uses
Windows;
type
TJobObjectInfoClass = Cardinal;
PJobObjectAssociateCompletionPort = ^TJobObjectAssociateCompletionPort;
TJobObjectAssociateCompletionPort = Record
CompletionKey : Pointer;
CompletionPort : THandle;
End;
{$EXTERNALSYM JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION}
JOB_OBJECT_LIMIT_BREAKAWAY_OK = $00000800;
{$EXTERNALSYM JOB_OBJECT_LIMIT_BREAKAWAY_OK}
JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK = $00001000;
{$EXTERNALSYM JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK}
JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE = $00002000;
{$EXTERNALSYM JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE}
Function QueryInformationJobObject(hJob : THandle;
JobObjectInformationClass : TJobObjectInfoClass;
lpJobObjectInformation : Pointer;
cbJobObjectInformationLength : DWORD;
lpReturnLength : PDWORD) : Bool; StdCall;
External Kernel32 Name 'QueryInformationJobObject';
Function SetInformationJobObject(hJob : THandle;
JobObjectInformationClass : TJobObjectInfoClass;
lpJobObjectInformation : Pointer;
cbJobObjectInformationLength : DWORD): BOOL; StdCall;
External Kernel32 Name 'SetInformationJobObject';
QueryInformationJobObject function (jobapi2.h)
https://docs.microsoft.com/en-us/windows/win32/api/jobapi2/nf-jobapi2-queryinformationjobobject
https://www.google.com/search?q=github+Helper.System.JobObject.Header.pas
https://gist.github.com/JensMertelmeyer/5e23a5dccb59b2902f37c69e7f7fa4cd
@JensMertelmeyer
JensMertelmeyer/Helper.System.JobObject.Header.pas
CreateJobObjectW. KERNEL32.CreateMutexW. KERNEL32.CreateProcessW. KERNEL32.CreateThread. KERNEL32.DelayLoadFailureHook.
OpenProcessToken GetCurrentProcessID TOKEN_ADJUST_PRIVILEGES or TOKEN_QUERY
CreateProcessAsUser
SystemHandleInformation = 16;
ProcessBasicInformation = 0;
STATUS_SUCCESS = cardinal($00000000);
SE_DEBUG_PRIVILEGE =20;
STATUS_ACCESS_DENIED = cardinal($C0000022);
STATUS_INFO_LENGTH_MISMATCH = cardinal($C0000004);
SEVERITY_ERROR = cardinal($C0000000);
TH32CS_SNAPPROCESS = $00000002;
JOB_OBJECT_ALL_ACCESS = $1f001f;
printf("SeCreateSymbolicLinkPrivilege = %ld, %ld\n", seCreateSymbolicLinkPrivilege.HighPart, seCreateSymbolicLinkPrivilege.LowPart);
if (!GetTokenInformation(hProcess, TokenPrivileges, NULL, 0, &length))
{
if (GetLastError() == ERROR_INSUFFICIENT_BUFFER)
{
TOKEN_PRIVILEGES* privileges = (TOKEN_PRIVILEGES*)malloc(length);
if (GetTokenInformation(hProcess, TokenPrivileges, privileges, length, &length))
{
BOOL found = FALSE;
DWORD count = privileges->PrivilegeCount;
printf("User has %ld privileges\n", count);
if (count > 0)
{
LUID_AND_ATTRIBUTES* privs = privileges->Privileges;
while (count-- > 0 && !luid_eq(privs->Luid, seCreateSymbolicLinkPrivilege))
privs++;
found = (count > 0);
https://docs.microsoft.com/zh-tw/windows/win32/shutdown/displaying-the-shutdown-dialog-box
https://hackaday.io/project/21933-prism-laser-scanner
https://hackaday.com/2017/06/15/laser-pcbs-with-ldgraphy/
https://pcbwriter.github.io/
https://habr.com/en/post/438618/
https://github.com/hzeller/ldgraphy
https://hackaday.com/2016/09/18/vacuum-exposure-unit-gives-better-pcb-etching-results/
6thD RGB LD 13000, 0.9mrad – Low divergence RGB LASER
https://6thd.eu/produkt/scannermax-compact-506/
Sharp Laser Printer Motors Sharp Polygon Motor
https://www.copyparts.eu/ax060396-ricoh-polygon-motor/p4242
MP C2000 Color Laser Multifunction Printer | Ricoh USA
Replacing the Laser Polygon Mirror Motor Assembly RICOH AFICIO 1060 1075 2060 2075 MP7500 MP8000
https://www.laserworld.com/en/newslist/106-laserworld-news-en/1864-pangolin-scannermax-available.html
Repalcement DC Polygon Mirror Motor Assy RICOH AFICIO MP6001 MP7001 MP8001 MP9001
https://electronics.stackexchange.com/questions/195943/how-does-a-laser-printer-control-the-laser-to-produce-such-high-resolutions
https://ruediste.github.io/pcb/2021/01/01/spinning-polygon-mirror.html
Polygon mirror scanner motors Brushless motors
cdrom Brushless motors
Interesting Homemade DLP Resin Printer
Making PCB's using transparant LCD
Casually Laser-Exposing 0.2 mm PCB features on a 3D printer
https://www.instructables.com/DIY-STEPDIR-LASER-GALVO-CONTROLLER/
The fastest way to make crisp PCBs at home!
DLP-enabled PCB lithography: low cost and high reliability
Make PCB with a LCD mask
Maskless Photolithography with DLP Projector - 10um Feature Sizes
Make pcb with laser
dmd chip projector series mini Genuine
https://hackaday.com/2014/02/03/laser-based-pcb-printer/
http://www.diyouware.com/
eagle-pcb-design-software
http://www.diyouware.com/download
Laser Marking - Printed Circuit Board (PCB) Fabrication
Language - 演算法筆記
https://web.ntnu.edu.tw/~algo/
https://web.ntnu.edu.tw/~algo/Language.html
https://sourcemaking.com/design_patterns/interpreter/delphi
https://docs.python.org/zh-tw/3.7/library/language.htmlJavaCC Interpreter (AST to Symbol Table)
https://ruslanspivak.com/lsbasi-part1/
AST interpreter Backus–Naur Form syntax tree
Introduction to AST manipulation in ROSE
Abstract Syntax Trees
https://ix.cs.uoregon.edu/~norris/pat/index.cgi?n=Main.ROSEIntro
Presentation on theme: "Programming Languages 2nd edition Tucker and Noonan"— Presentation transcript:
https://slideplayer.com/slide/5039873/
https://staff.csie.ncu.edu.tw/chia/Course/Compiler/lexparse2.html
Catalog of Compiler Construction Tools
Lexer and Parser Generators Compiler Construction Kits
https://www.sigmdel.ca/michel/program/delphi/parser/parser1_en.html
Part 1 of Parsing and Evaluating Mathematical Expressions
building parsers using Pascal or Delphi JEDI Code Library (JCL)’s unit JclExprEval.pas, Renate Schaaf’s TExpress TParser Renate Schaaf, Alin Flaider and Stefan Hoffmeister or symbolic.pas by Marco van de Voort.
parsing code scanner interpreter sequence terms separated
Behavioral.State.Pattern (Delphi Sample) Intent Allow an object to alter its behavior when its internal state changes. The object will appear to change its class. An object-oriented state machine wrapper + polymorphic wrappee + collaboration
character table parsing integer digit number Integer floating-point types Data Types
https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node189.html
使用巴科斯範式(BNF/EBNF)定義語言 https://hackmd.io/@ShenTengTu/HJzCM3aDr
The Asf+Sdf Meta-Environment: A Component-Based Language Development Environment
https://www.sciencedirect.com/science/article/pii/S1571066104809174?via%3Dihub
https://eelcovisser.org/research/#ASF+SDF
https://www2.cs.sfu.ca/~cameron/Teaching/384/99-3/regexp-plg.html
https://github.com/cheminfo/sdf-parser
Backus Naur Form Regex BNF Grammar Regular Expressions
https://medium.com/@chetcorcos/introduction-to-parsers-644d1b5d7f3d
https://github.com/eatkins/tree-sitter-ebnf-generator
Concret Syntax Tree (CST) Abstract Syntax Tree (AST) CST exact parsed tree representation
https://en.wikipedia.org/wiki/Context-free_grammar
https://pyfound.blogspot.com/2020/04/replacing-cpythons-parser-python.html
tree sitter algorithm Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited.
https://tree-sitter.github.io/tree-sitter/
https://rustrepo.com/repo/tree-sitter-tree-sitter
https://archive.casouri.cat/note/2021/emacs-tree-sitter/index.html
https://lists.gnu.org/archive/html/emacs-devel/2022-01/msg00410.html
https://docs.revenera.com/fne/2021_09/adminguide/content/helplibrary/Model_Definition_Grammar_and_Syntax_EBNF.htm
https://en.wikipedia.org/wiki/Category:Parsing_algorithms
Parsing algorithms
Top-down LL Recursive descent https://en.wikipedia.org/wiki/LL_parser
Tail recursive Pratt parser
Bottom-up
Precedence
Simple Operator
Shunting-yard Bounded-context LR https://en.wikipedia.org/wiki/LR_parser
Simple Look-ahead Canonical Generalized CYK Recursive ascent Shift-reduce
Mixed, other
Combinator Chart Earley https://en.wikipedia.org/wiki/Earley_parser
Related topics
PEG Definite clause grammar Deterministic parsing Dynamic programming Memoization Parser generator
LALR Parse tree AST Scannerless parsing History of compiler construction Comparison of parser generators
https://en.wikipedia.org/wiki/GLR_parser
https://en.wikipedia.org/wiki/Category:Parsing_algorithms
https://en.wikipedia.org/wiki/LALR_parser
https://en.wikipedia.org/wiki/Earley_parser
Context-Free parsers GLL Syntax LALR Left corner parser LL LR GLR
深入淺出教你寫編譯器(Compiler) https://jaceju.net/simple-compiler/
a compiler is a program that can read a program in one language - the source language - and translate it into an equivalent program in another language - the target language
Finite-state machine Scanner Semantic analysis
https://hackmd.io/@ComputerScienceNote/BJLyuNi6D
Balancing Control of Two-Wheel Bicycle Problems
https://www.hindawi.com/journals/mpe/2020/6724382/
https://en.wikipedia.org/wiki/Control_moment_gyroscope
https://en.wikipedia.org/wiki/Gyroscope
https://en.wikipedia.org/wiki/Center_of_gravity_(disambiguation)
https://en.wikipedia.org/wiki/Ship_stability
inertial 慣性
Measurement 量測
accelerometer 加速度計
gyroscope 陀螺儀
magnetometer 磁力計
magnetic field detection 磁場檢測
gauss magnetic 高斯磁
linear acceleration 線性加速度
Ultra-compact 超微小
high-performance 高效能
e-compass 電子羅盤 指南針
Capacitive sensing 電容式感應
Accelerometers 加速度計
Board Mount Motion 板載運動
Position Sensors 位置傳感器
Distance Sensors 距離傳感器
Gyroscopes 陀螺儀
IMUs Inertial Measurement Units 慣性測量單元
Inclinometers 傾角儀
Industrial Motion 工業運動
Position Sensors 位置傳感器
Speed Sensors 速度傳感器
Tilt Switches 傾斜開關
Vibration Sensors 振動傳感器
Capacitance sensors detect 電容傳感器檢測
Audio Sensor 音頻傳感器
Biometric Sensors 生物識別傳感器
Capacitive Touch Sensors 電容式觸摸傳感器
Current Sensors 電流傳感器
Encoders 編碼器
Environmental Sensors 環境傳感器
Flow Sensors 流量傳感器
Force Sensors & Load Cells 力傳感器和稱重傳感器
Linear Displacement Sensors 線性位移傳感器
Liquid Level Sensors 液位傳感器
Magnetic Sensors 磁傳感器
Motion & Position Sensors 運動和位置傳感器
Optical Sensors 光學傳感器
Pressure Sensors 壓力傳感器
Proximity Sensors 接近傳感器
Sensor Development Tools 傳感器開發工具
Sensor Hardware & Accessories 傳感器硬件和配件
Temperature Sensors 溫度傳感器
Load Cell 荷重元
Force Sensor壓力
Piezo Vibration Sensor 壓電式振動感測
Thermocouple 熱電偶
Seebeck 熱電效應
Hall effect 霍爾效應
strain gauge, strain gage 應變片
Ultrasonic transducer 超聲換能器
piezoelectric transducers 壓電傳感器
capacitive transducers 電容式微加工超聲換能器
pressure 壓力
acceleration 加速度
temperature 溫度
strain 拉緊
force 力量
Vibration Sensor 震動感測
eletrostatically 靜電
Electrostatics 靜電學
sensitive 敏感
material 材料
reloading 負重
Precision 精確
barometric 氣壓
altitude 高度
Magneto Resistance 磁阻抗
https://terms.naer.edu.tw/
國家教育研究院-物理學名詞-高中含以下物理學學術名詞
https://sheethub.com/data.gov.tw/%E5%9C%8B%E5%AE%B6%E6%95%99%E8%82%B2%E7%A0%94%E7%A9%B6%E9%99%A2-%E7%89%A9%E7%90%86%E5%AD%B8%E5%90%8D%E8%A9%9E-%E9%AB%98%E4%B8%AD%E5%90%AB%E4%BB%A5%E4%B8%8B%E7%89%A9%E7%90%86%E5%AD%B8%E5%AD%B8%E8%A1%93%E5%90%8D%E8%A9%9E
Springer Handbook of Semiconductor Devices pdf
https://www.arduinolibraries.info/libraries
https://www.rutronik.com/fileadmin/Rutronik/Downloads/printmedia/products/01_semiconductors/analog_and_sensors_en.pdf
inertial accelerometer gyroscope compass Inclinometers Position Distance Sensors ic drone
drone "all in one" Sensors board drone Drone Flight Controller Explained
solution fpv drone Flight Controller ESC package AIO
https://oscarliang.com/top-5-best-fc-mini-quad/
https://trishhopkinson.com/2014/12/03/need-a-word-association-generator-these-are-free-and-better-than-your-average-thesaurus/
https://visuwords.com/
https://wordassociations.net/en
https://graphwords.com/
https://www.leydesdorff.net/words/
https://link.springer.com/article/10.3758/s13428-019-01208-2
https://www.isko.org/cyclo/thesaurus
https://eadh.org/projects/historical-thesaurus-english
https://www.thesaurus.com/browse/association
small smaller strong stronger Comparative Superlative Adjectives
https://www.perfect-english-grammar.com/adjectives-comparative-and-superlative.html
https://www.charlesdowdy.me/%E6%AF%94%E8%BC%83%E7%B4%9A%E6%9C%80%E9%AB%98%E7%B4%9A%E5%96%AE%E5%AD%97%E8%A1%A8/
synonyms Opposite adjective
https://englishgrammarhere.com/adjectives/comparative-and-superlative-adjectives-100-examples-and-exercises/
Comparative and Superlative Adjectives
color type Color Name List thesaurus
https://graf1x.com/list-of-colors-with-color-names/
https://www.ncl.ucar.edu/Document/Graphics/named_colors.shtml
https://en.wikipedia.org/wiki/List_of_colors:_A%E2%80%93F
Colors in alphabetical order A–F
https://people.cs.nctu.edu.tw/~tsaiwn/sisc/runtime_error_200_div_by_0/www.merlyn.demon.co.uk/del-bits.htm
http://www.delphibasics.co.uk/RTL.asp?Name=xor
http://www.delphibasics.co.uk/RTL.asp?Name=shl
https://www.interviewcake.com/concept/java/bit-shift
https://onlinetoolz.net/bitshift
Logical Arithmetic Circular Rotate through carry shift
https://www.geeksforgeeks.org/rotate-bits-of-an-integer/
https://www.freepascal.org/docs-html/rtl/system/roldword.html
https://www.freepascal.org/docs-html/rtl/system/rolbyte.html
https://docwiki.embarcadero.com/RADStudio/Sydney/en/Expressions_(Delphi)
https://docwiki.embarcadero.com/RADStudio/Sydney/en/Bitwise_Operators
https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Classes.TBits.Bits
https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Classes.TBits
https://github.com/StarWong/MyLibary/blob/316624818c46b954206d9cbef4799e6e5250aa60/HashLib4Pascal/HashLib/src/Utils/HlpBits.pas
class function TBits.RotateLeft8(a_value: Byte; a_n: Int32): Byte;
begin
...
a_n := a_n and 7;
Result := (a_value shl a_n) or (a_value shr (8 - a_n));
...
end;
class function TBits.RotateRight8(a_value: Byte; a_n: Int32): Byte;
begin
{$IFDEF DEBUG}
System.Assert(a_n >= 0);
{$ENDIF DEBUG}
{$IFDEF FPC}
Result := RorByte(a_value, a_n);
{$ELSE}
a_n := a_n and 7;
Result := (a_value shr a_n) or (a_value shl (8 - a_n));
{$ENDIF FPC}
end;
class function TBits.RotateRight32(a_value: UInt32; a_n: Int32): UInt32;
begin
{$IFDEF DEBUG}
System.Assert(a_n >= 0);
{$ENDIF DEBUG}
{$IFDEF FPC}
Result := RorDWord(a_value, a_n);
{$ELSE}
{$IFNDEF SHIFT_OVERFLOW_BUG_FIXED}
a_n := a_n and 31;
{$ENDIF SHIFT_OVERFLOW_BUG_FIXED}
Result := (a_value shr a_n) or (a_value shl (32 - a_n));
{$ENDIF FPC}
end;
艸 艹 丱 卝 ㄍㄨㄞ 卝部 艸 草 ㄘㄠˇ
丱 ㄏㄨㄥˋ 丱 ㄍㄨㄢˋ
苟、敬、護、獲、雚、觀、夢、萬、舊
https://www.ptt.cc/bbs/Wrong_spell/M.1222961505.A.6EC.html
https://www.upwork.com/hire/bootstrap-designers/eg/ismailia/
https://www.templatesthemes.net/tags/dashboard/
https://www.upwork.com/hire/javascript-developers/eg/ismailia/
JavaScript VUE.js EXTJS Angular React
MVC MVP MVVM Design Pattern Architecture JavaScript Framework
JavaScript Framework
Localstorage SessionStorage Cookies WebSQL IndexedDb
EXTJS React Spring Mvc
rich web application frameworks
https://en.wikipedia.org/wiki/List_of_rich_web_application_frameworks
https://en.wikipedia.org/wiki/Mobile_development_framework
javascript CanvasKit Skia WebAssembly
Angular vs Knockout.js vs Vue.js vs Backbone.js: Which JavaScript Framework Suits
https://en.wikipedia.org/wiki/List_of_LM-series_integrated_circuits
https://www.geeksforgeeks.org/analog-to-analog-conversion-modulation/
https://www.neophotonics.com/what-is-phase-modulation/
https://www.monolithicpower.com/en/power-factor-correction
identify max switching frequency of a MOSFET switching frequency Eon Freq wheeling diode Power MOSFET switching behavior
https://www.analog.com/ru/app-notes/an-140.html
High Speed 650V IGBTs for DC-DC Conversion up to 200 kHz
200Khz switching frequency MOSFET wheeling diode 650v
Maximizing the Performance of GaN with Ideal Diode Mode
https://www.ti.com › lit › snoa932
PDF
Dead Time Loss Versus Dead Time Settings With 200kHz Switching Frequency. ... between TI GaN with ideal diode mode, a 650V SiC MOSFET, discrete e-mode.
application. A 1200V, 160mohm SiC MOSFET from Cree Inc ...
https://www.richardsonrfpd.com › docs › rfpd › C...
PDF
limits the switching frequency at or below 200 kHz. ... Body diode recovery time trr. Body diode charge Qrr. 1200V. 650V. 650V.
https://electronics.stackexchange.com/questions/291342/freewheeling-diode-needed
Dual Operational Amplifiers LM358
MOSFET 2N7000 N-Channel 60-V (D-S) MOSFET - Vishay Siliconix N-Channel Enhancement-Mode Vertical DMOS FET, Microchip Technology.
FDS4935A - MOSFET – Dual, P-Channel, PowerTrench 30 V
https://github.com/decfpc/DelphiEncryptionCompendium/blob/master/DECCipher.pas
https://en.wikipedia.org/wiki/Caesar_cipher
TDataSetProvider
TClientdataset TFDMemTable
TBlobField
chm file data Blob HTML Images Binary Fields
MIME types IANA media types
LZX LZ77 compression algorithm
DataSetProvider clientdataset LOCAL DATABASE tables