2023年11月18日 星期六

Comparison of Drawing Efficiency GDI, GDI Plus, Direct2D

 Direct2D CreateDeviceResources Direct2D Create BeginDraw SetTransform DiscardDeviceResources

Comparison of Drawing Efficiency GDI, GDI Plus, Direct2D

https://learn.microsoft.com/zh-tw/windows/win32/direct2d/comparing-direct2d-and-gdi

https://learn.microsoft.com/en-us/windows/win32/direct2d/direct2d-quickstart
https://www.intel.com/content/www/us/en/developer/articles/training/tutorial-migrating-your-apps-to-directx-12-part-1.html
https://english.r2d2rigo.es/2012/07/04/basic-direct2d-drawing-with-sharpdx/
https://discourse.libsdl.org/t/sdl-vs-directdraw/9109
https://github.com/topics/direct2d
https://cboard.cprogramming.com/game-programming/128506-direct2d-gdi-device-context.html
http://francois-piette.blogspot.com/2020/08/using-direct2d-and-gdi.html

https://katyscode.wordpress.com/2013/01/23/migrating-existing-direct2d-applications-to-use-direct2d-1-1-functionality-in-windows-7/

https://github.com/microsoft/DirectX-Headers/blob/main/include/directx/d3dx12.h

#include <d3d11_1.h> d3d12.h d3dx12

d3dx12.h   d3d12.h d3dx12 Direct2D #include <d2d1.h> #include <d2d1_1.h> #include <d2d1_3.h>

https://github.com/search?q=d2d1.h&type=code


direct2d controls microsoft learn
https://learn.microsoft.com › windows direct2d programming guide - win32 apps
direct2d controls skia  Core2D rendering performance WPF vs Avalonia+Direct2D,SkiaSharp,Cairo vs WPF+SkiaSharp
https://github.com/aseprite/aseprite
https://news.ycombinator.com/item?id=16146132
Skia: an open source 2D graphics library | Hacker News
https://github.com/dotnet/winforms/issues/6459
https://www.prasannavl.com/2016/10/introducing-winapi-graphics-with-direct3d-d2d1-gdi-opengl-and-skia/

github repetier host source code

stdafx afxwin afxext afxdisp afxdtctl afxcmn afxres MFC Predefined Symbols , ATL headers (afx.h, afxwin.h, afxres.h)

 https://learn.microsoft.com/en-us/cpp/windows/mfc-predefined-symbols?view=msvc-170
 

AFX_ID_PREVIEW_CLOSE
AFX_ID_PREVIEW_NEXT
AFX_ID_PREVIEW_NUMPAGE
AFX_ID_PREVIEW_PREV
AFX_ID_PREVIEW_PRINT
AFX_ID_PREVIEW_ZOOMIN
AFX_ID_PREVIEW_ZOOMOUT
AFX_IDB_CHECKLISTBOX_95
AFX_IDB_MINIFRAME_MENU
AFX_IDC_BROWSE
AFX_IDC_BROWSER
AFX_IDC_CHANGE
AFX_IDC_CLEAR
AFX_IDC_COLOR_BLACK
AFX_IDC_COLOR_BLUE
AFX_IDC_COLOR_CYAN
AFX_IDC_COLOR_DARKBLUE
AFX_IDC_COLOR_DARKCYAN 


https://learn.microsoft.com/zh-tw/cpp/mfc/reference/application-information-and-management?view=msvc-170
AfxBeginThread
AfxContextMenuManager
AfxEndThread
AfxFindResourceHandle
AfxFreeLibrary
AfxGetApp
AfxGetAppName
AfxGetInstanceHandle
AfxGetMainWnd
AfxGetPerUserRegistration

Cross-Platform Automation Projeto ACBr for Delphi on Windows and Android Business Application Development Companies

https://blogs.embarcadero.com/cross-platform-automation-projeto-acbr-for-delphi-on-windows-and-android/
https://github.com/frones/ACBr/tree/master

 FPDF-Pascal   PDF ACBR
This is a translation of the renowned FPDF Project from PHP to Pascal / Delphi.
https://github.com/Projeto-ACBr-Oficial/FPDF-Pascal

https://github.com/mfrinfo/curso_lazarus
https://www.udemy.com/course/desenvolver-sistema-lazarus-20-acbr-mysql-na-pratica/
Desenvolver Sistema LAZARUS 2.0 + ACBR (SAT/NFC-e) + MYSQL
 
https://sourceforge.net/projects/acbr/

2023年11月17日 星期五

Welcome to Hard- & Software A.Baecker 32/64Bit VCL's for Delphi Abakus VCL

 https://www.abaecker.com/

Abakus VCL is a professional set of Delphi and C++Builder realtime components for virtual instrumentation.

        Meters, Bars (Gauge), with linear or log(10) scaling
        Digital indicators (time, value)
        Tank displays
        Operating Point display
        Trend/recorder
        Dial (knob), Sliders
        buttons, switches, LED indicators
        DB-Aware components

Delphi Users Security Component Flexible Enterprise-Grade TUsers Security Component for VCL on Windows Authentication

 https://blogs.embarcadero.com/flexible-enterprise-grade-tusers-security-component-for-vcl-on-windows/
Enterprise Grade  Users Security Component
https://www.tmssoftware.com/site/tmsvclsecuritysystem.asp
http://www.toolsandcomps.com/ing/products_tusers_v2x.html

https://torry.net/components/security/user-rights/

componentsource Security Components  VCL Delphi

https://docs.hydra4.com/Samples/SecuritySample/
 
https://www.devart.com/dac.html
Data Access Components for Delphi, C++Builder, and Lazarus
https://github.com/HemulGM/Components
HemulGM/Components: HGM components for Delphi

 ru.stackoverflow. gui - Delphi мессенджер. Какие компоненты использовать? - Stack Overflow на русском

https://www.drbob42.com/blog/index.htm

 
Знающие Создание собственного формата буфера обмена delphi
Создание собственного формата буфера обмена
Creating your own clipboard format
http://pro.dtn.ru/delphi-net/obmen-5.html

vcl faster Reduced performance component libraries vcl faster Reduced component libraries delphi Reduced component libraries "without vcl"

 vcl faster Reduced performance component libraries
vcl faster Reduced  component libraries
delphi Reduced component libraries "without vcl"
Image32
SynEdit
GLScene
EhLib

https://dl.acm.org/doi/abs/10.1145/3606705?af=R
Optimization of Image Processing Algorithms for Character Recognition in Cultural Typewritten Documents | Journal on Computing and Cultural Heritage
https://www.delphipraxis.net/202585-visual-components-library-vcl-best-choice-windows-applications.html
LaKraven Studios Standard Library

flexibility vcl component

https://blogs.embarcadero.com/custom-high-performance-vcl-component-suite-for-delphi-c-builder-by-errorsoft/
Custom High Performance VCL Component Suite For Delphi/C++ Builder By ErrorSoft

https://blogs.embarcadero.com/flexible-and-robust-esbpcs-for-vcl-component-suite-in-delphi-on-windows/
Flexible and Robust ESBPCS for VCL Component Suite in Delphi on Windows

https://stackoverflow.com/questions/2098697/best-website-for-free-vcl-components

https://delphi.fandom.com/wiki/3rd_Party_Components

fast light vcl delphi lib synopse/LVCL Light VCL
https://blogs.embarcadero.com/start-developing-fast-native-windows-applications-with-delphi-vcl/
https://github.com/synopse/LVCL/tree/master

https://blog.marcocantu.com/blog/2018-may-desktop-development-windows-delphi-vcl.html
Desktop Development on Windows and Delphi VCL Library

lightweight delphi vcl component
https://github.com/jackdp/JPPack
fast light vcl delphi lib lightweight delphi vcl component
https://torry.net/components/component-packs/multi-purpose-huge/
https://wiki.lazarus.freepascal.org/Components_and_Code_examples

https://wiki.delphi-jedi.org/wiki/JEDI_Visual_Component_Library
https://torry.net/index.php
https://soft-gems.net/

delphi TwoDesk Castalia Embarcadero Acquires Castalia and Usertility
twodesk components delphi
https://github.com/coderserdar/DelphiComponents
https://torry.net/components/component-packs/multi-purpose-huge/
https://delphidabbler.com/codelib
http://delphi.icm.edu.pl/
https://torry.net/components/component-packs/
https://torry.net/components/component-packs/interface-lite/

https://www.abaecker.com/

https://www.idefixpack.de/blog/ide-tools/ide-fix-pack/
IDE Fix Pack 6.4.4 – Andy's Blog and Tools
https://github.com/ahausladen/DDevExtensions
https://github.com/PacktPublishing/Delphi-High-Performance---Second-Edition/tree/main
https://en.wikipedia.org/wiki/Visual_Component_Library
https://www.imaging-components.com/programming-interfaces/imaging-vcl.shtm
https://github.com/PascalGameDevelopment/SDL2-for-Pascal
https://github.com/tonghoangvu/UniversalCL
https://github.com/tonghoangvu/DelphiUCL
VCL - CSS Frameworks
https://vcl.github.io/


https://www.freepascal.org/fcl/fcl.html
https://github.com/mse-org/mseide-msegui/

https://www.delphibasics.info/home/delphibasicsarticles/smallapplicationsindelphibyn0v4
        Website: www.delphibasics.co.nr   Writing Small Applications in Delphi. For Windows 7 compatibility, read here:
        https://learn.microsoft.com/en-us/cpp/build/reference/linker-options?view=msvc-170&redirectedfrom=MSDN
        dcc32.exe -JP -$A-,B-,C-,D-,G-,H-,I-,J-,L-,M-,O+,P-,Q-,R-,T-,U-,V-,W+,X+,Y- Hello.pas
        omf2d Hello.obj /U-
        link.exe /ALIGN:32 /FORCE:UNRESOLVED /SUBSYSTEM:WINDOWS /ENTRY:Start$qqrv Hello.obj user32.lib /out:Hello.exe

 KOL+MCK KOLadd.zip  Key Objects ...
delphi MCK  Mirror Classes Kit
http://f0460945.xsph.ru/
https://wiki.lazarus.freepascal.org/KOL
https://sourceforge.net/projects/keyobjectslibrary/
http://f0460945.xsph.ru/AL4/
https://github.com/ebta/kol-mck

https://synopse.info/forum/viewtopic.php?pid=9629
LVCL vs KOL-MCK (Page 1) / Delphi / mORMot Open Source
http://kazav.blogspot.com/2014/01/delphi-2.html

c++ Redistributable  library windows delphi
https://www.softpedia.com/get/Programming/Components-Libraries/NET-Runtime-Library-for-Delphi.shtml
http://www.delphigroups.info/2/0d/412903.html
Delphi Strange message - Microsoft Visual C++ Runtime Library - delphi
https://www.itwriting.com/blog/6347-third-party-compilers-locked-out-of-windows-runtime-development.html

https://www.codeproject.com/Tips/1038605/NET-Runtime-Library-for-Delphi
Zeos 8
https://sourceforge.net/projects/tdbf/
TDBF is a native dBASE III+, dBase IV and dBase 2k data access component for Delphi,


https://blogs.embarcadero.com/how-c-program-works-with-libraries/
How C++ Program Works With Libraries
https://doc.xisupport.com/en/8smc5-usb/8SMCn-USB/Programming/Programming_guide/A_short_description_of_the_work_with_supported_by_programming_languages.html
https://en.delphipraxis.net/topic/6438-cpas-c-for-delphi/
CPas - C for Delphi - I made this - Delphi-PRAXiS [en]

Code generation (compiler) AST TREE concrete CST table compiling to machine code

 https://en.wikipedia.org/wiki/Comparison_of_code_generation_tools

https://en.wikipedia.org/wiki/Code_generation_(compiler)

https://datacadamia.com/code/compiler/code_generation

https://datacadamia.com/code/compiler/cst

https://en.wikipedia.org/wiki/Source-to-source_compiler

https://en.wikipedia.org/wiki/P-code_machine

https://en.wikipedia.org/wiki/Bytecode

ast tree binary code cst concrete syntax tree parser tree ,concrete syntax tree machine binary code ,antlr parse

ast tree binary code

cst concrete syntax tree parser tree
concrete syntax tree machine binary code
antlr parse

 https://github.com/antlr/antlr4/issues/2428
 https://www.cse.iitb.ac.in/~uday/sclp-web/

 Fast and accurate syntax searching for C and C++

 https://blog.trailofbits.com/2022/12/22/syntax-searching-c-c-clang-ast/
 https://iq.opengenus.org/different-phases-of-compiler/
https://www.tutorialspoint.com/compiler_design/compiler_design_phases_of_compiler.htm

 compiler machine code table

 https://www.sjoerdlangkemper.nl/2018/04/11/grepping-functions-with-antlr/
https://eli.thegreenplace.net/2009/02/16/abstract-vs-concrete-syntax-trees/
 https://github.com/dotnet/roslyn#syntax-trees
 https://github.com/crate/crate/blob/5173b655a9fbf72028876ae7b6eb5c4d2431e307/sql-parser/src/main/java/io/crate/sql/parser/AstBuilder.java
 https://stackoverflow.com/questions/29971097/how-to-create-ast-with-antlr4/29996191#29996191
https://github.com/crate/crate/blob/5173b655a9fbf72028876ae7b6eb5c4d2431e307/sql-parser/src/main/java/io/crate/sql/parser/AstBuilder.java
https://tomassetti.me/migrating-from-antlr2-to-antlr4/
https://github.com/openqasm/openqasm/issues/442
https://user-images.githubusercontent.com/14280254/71742236-b321c500-2e69-11ea-9101-c0149402cf7e.png

蔡一郎的部落格: 淺談惡意程式之沙箱測試技術

 the authors introduce the Taiwan Malware Analysis Net (TWMAN), an ontology system for behavioral malware analysis.

twman (taiwan malware analysis net cuckoo sandbox sandbox cwsandbox hex-rays

 

https://blog.yilang.org/2012/09/blog-post_9.html 


IT2FS-based ontology with soft-computing mechanism for malware ...ACM Digital Libraryhttps://dl.acm.org › doi › absIn this paper, we propose a novel soft-computing mechanism based on the ontology model for malware behavioral analysis: Malware Analysis Network in Taiwan (MAN ...

os A complete collection of open source operating systems

https://www.osnews.com/story/2239/osnews-readers-2002-awards/
Best Hobby OS [e.g. SkyOS, AtheOS, MenuetOS, Syllable etc etc]
Best Desktop/Workstation OS [WinXP/2k/NT, Win9x,* BeOS, Linux, OSX, etc etc (no individual Linux distros here)]
Best Server OS [e.g. Solaris, IRIX, Win2k, FreeBSD, Linux etc etc (no individual Linux distros here)]

Greatest OS/distribution surprise of the year [e.g. Lycoris, Gentoo, OSX, OpenBSD etc]
Greatest OS/distribution dissapointment of the year [e.g. Lindows, QNX, AtheOS etc]
Best desktop environment [e.g. Aqua, Luna, KDE, CDE, BeOS/Tracker, Gnome, Syllable etc.]
Most profound application of the year [e.g. Mozilla, Photoshop, Evolution, Outlook XP, OOo, iCal, KaZaA, VS.NET, Eclipse etc]

Sistem Operasi Komputer - Kadarsah
inferno  plan9  qnx  beos  menuet  amigaos  sunos  nextstep  os/2  risc
 OS/2; AIX; OS/400; DOS/360; DOS/VSE; OS/360; MFT; MVT; SVS; MVS; TPF; ALCS; OS ... Plan 9, Inferno; Rhapshody; RiscOS; SCO UNIX; System V; UNIflex ...

https://www.academia.edu/40301458/Alternative_Operating_Systems

 https://academickids.com/encyclopedia/index.php/List_of_operating_systems

 http://www.fact-index.com/l/li/list_of_operating_systems.html

 [System] A complete collection of open source operating systems

[System] A complete collection of open source operating systems
AROS [url]http://www.aros.org/download.php[/url]
AtheOS [url]http://www.atheos.cx/download/list.php3[/url]
Cefarix [url]http://sourceforge.net/projects/cefarix[/url]
Chaos [url]http://chaosdev.org/index.pl?chaos/Download[/url]
CP/M [url]http://www.seasip.demon.co.uk/Cpm/software/index.html[/url]
Darwin [url]http://www.opensource.apple.com/projects/darwin/release.html[/url]
DCP [url]http://www.kc85.de/downloads.html[/url]
Debian GNU/Hurd [url]http://www.debian.org/ports/hurd/hurd-cd[/url]
E.R.I.K.A [url]http://erika.sssup.it/download.shtml[/url]
eCos [url]http://ecos.sourceware.org/getstart.html[/url]
ELKS [url]http://elks.sourceforge.net/download/[/url]
ERaMS [url]http://erams.sourceforge.net/distrib.[/url]
EROS [url]http://www.eros-os.org/project/build.html[/url]
Fiasco [url]http://os.inf.tu-dresden.de/fiasco/download.html[/url]
Free-VMS [url]ftp://freevms.nvg.org/pub/vms/freevms[/url]
FreeBSD [url]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html[/url]
FreeDOS [url]http://www.freedos.org/freedos/files/[/url]
Freedows None
Linux [url]http://www.linux.org[/url]
Menuet [url]http://www.menuetos.org/download.htm[/url]
Minix [url]http://www.cs.vu.nl/pub/minix/[/url]
MorphOS [url]http://www.morphos.de/fileslinks.php3[/url]
NetBSD [url]http://www.netbsd.org/Releases/[/url]
Oberon [url]http://www.oberon.ethz.ch/native/[/url]
OpenBEOS [url]http://sourceforge.net/projects/crux/[/url]
OpenBSD [url]http://www.openbsd.org/ftp.html[/url]
Plan 9 [url]http://plan9.bell-labs.com/plan9dist/download.html[/url]
PowerOS [url]http://www.poweros.de/download.html[/url]
QNX [url]http://get.qnx.com[/url]
ReactOS [url]http://www.reactos.com/index.php?tab=software[/url]§ion=reactos
RTEMS [url]http://www.rtems.com/RTEMS/Source/source.html[/url]
S.Ha.R.K [url]http://shark.sssup.it/download.html[/url]
SkyOS [url]http://www.skyos.org/downloads/[/url]
Solaris 8 [url]http://www.sun.com/solaris/binaries/get.html[/url]
Unununium None
V2_OS [url]http://www.v2os.cx/[/url]
VSTa [url]http://vsta.sourceforge.net/[/url]
Winmac [url]http://sourceforge.net/projects/winmac[/url]
xMach [url]http://sourceforge.net/projects/xmach/[/url]
Yamit [url]http://yamit.sourceforge.net/download.html[/url]
ZotOS [url]http://members.tripod.com/~zot_os/public_html/download.html[/url]

HonestQiao 2005-9-15 02:16
[System] A complete collection of open source operating systems

[Reprint] Operating system encyclopedia

Early operating systems (patent protected)
TRS-DOS, ROM OS's
TI99-4
Commodore PET, 64, and VIC-20,
The first set of IBM-PC
Apple Computer
Sinclair Micro and QX etc.

Non-Unix commercial operating systems
CPM operating system
MP/M-80
UCSD P-system
Mini-FLEX
SSB-DOS
CP/M-86
DR-DOS
FreeDOS
MS-DOS
PC-DOS
Mach
CHORUS
Choices
Multics
OS-9
NSJ

Unix and similar systems
UNIX
MicrosoftXenix
ChorusOS
Cromix
UNIflex
OS-9
IBM AIX
BSD
FreeBSD
NetBSD
OpenBSD
DragonflyBSD
Digital UNIX, later Compaq Tru64
DNIX
HP HP-UX
GNU/Hurd
SGI IRIX
Linux (or GNU/Linux)
Mac OS X
MenuetOS
Minix
OSF/1
SCO's SCO UNIX
Sun's SunOS, later Solaris
System V
Ultrix
UniCOS
LindowsOS
OS/390
z/OS
Syllable

other

Acorn
Arthur
ARX
RISC-OS
RISCiX

Amiga
AmigaOS

Atari ST
TOS
MultiTOS
MINT

Apple/Macintosh
Apple DOS
ProDOS
Mac OS
Mac OS X

Be
BeOS
BeIA

Digital/Compaq
AIS
OS-8
RSTS/E
RSX-11
RT-11
TOPS-10
TOPS-20
VMS (later renamed OpenVMS)

IBM
OS/2
AIX
OS/400
OS/390
VM/CMS
DOS/VSE
VSE/SP
VSE/ESA
OS/360
MFT
MVT
SVS
MVS
TPF
ALCS
z/OS
PC-DOS

Microsoft
MS-DOS
Xenix
Microsoft Bob
Windows
Windows 1.0
Windows 2.0
Windows 3.1
Windows 95
Windows 98
Windows ME
Windows NT
Windows NT 3.5
Windows NT 4
Windows 2000
Windows XP
Windows XP Media Center Edition
Windows XP Professional x64 Edition
Windows Server 2003
Windows Server 2003 64-bit Edition
Windows Vista

Novell
NetWare
Unixware
SUSE Linux

NeXT
NeXTStep (later Mac OS X)
Plan 9
Inferno

Prime Computer
Primos

Siemens
BS2000

Personal Electronic Assistant (PDA) Operating System
Palm OS
Pocket PC
EPOC
Microsoft Windows CE
Linux

Smartphone operating system
Windows Mobile series
Embedded Linux was created by Montavista and is used on Motorola's A760, E680 and other models
Mobilinux was created by Montavista
Symbian OS series

Other operating systems
Dynamically scalable operating system
MIT Exo Kernel
SPIN at the University of Washington
VINO from Harvard University
University of Illinois Choices
----------------------------------
A complete collection of open source operating systems
https://blog.51cto.com/opensource/8705

microondas Doppler Radar FMCW boat 76 GHz SDM360-76 Short-Range Marine Radar for Collision-Free Navigation was Successfully Tested

 microondas Doppler Radar

 FMCW Frequency Modulated Continuous Wave 

76 GHz SDM360-76 Short-Range Marine Radar for Collision-Free Navigation was Successfully Tested

anti-collision monitoring system 

Fault Monitoring

Tolerance and Anti-Collision System 

https://en.wikipedia.org/wiki/Marine_radar

Architecture of ARPA Radar Kongsberg Maritime anticollision K-Bridge

自動測繪雷達(Automatic Radar Plotting Aids;ARPA)


貨船安全證書 CARGO SHIP SAFETY CERTIFICATE

茲由中華民國政府委託中國驗船中心依照一九八八年議定書修訂之
一九七四年海上人命安全國際公約之規定發給本證書

中華民國 REPUBLIC OF CHINA

衛星輔助搜救組織
Satellite EPIRB
衛星應急指位無線電示標
HF direct-printing radiotelegraph receiver
高頻直接印字無線電報接收機
EGC receiver
群集呼叫接收機
NAVTEX receiver
航行警告電傳接收機
Facilities for reception of maritime safety information
接收海事安全資訊之措施
Secondary means of alerting
第二種警報方法
Inmarsat ship earth station
國際海事衛星組織船舶地球電台
Ship's search and rescue locating device
船舶之搜救定位設施
VHF EPIRB
特高頻應急指位無線電示標
雷達搜救詢答機
Radar search and rescue transponders (SART)
AIS 搜救發送器
AIS search and rescue transmitters (AIS-SART)

2023年11月16日 星期四

SpiderMonkey JavaScript WebAssembly Engine expreg parser a new regexp engine in spidermonkey

 https://hacks.mozilla.org/2020/06/a-new-regexp-engine-in-spidermonkey/

https://en.wikipedia.org/wiki/Interpreter_(computing)#Bytecode_interpreters
https://en.wikipedia.org/wiki/Just-in-time_compilation
https://bugzilla.mozilla.org/show_bug.cgi?id=1135377
https://blog.chromium.org/2009/02/irregexp-google-chromes-new-regexp.html
https://searchfox.org/mozilla-central/rev/7cadba1d8b8feaec4615f5bb98aac4b8a719793c/js/src/new-regexp/regexp-shim.h


"Irregexp" "YARR" Regexp Regular Expression
pcre regex
QRegularExpression
https://en.wikipedia.org/wiki/Comparison_of_regular_expression_engines
https://en.wikipedia.org/wiki/Regular_expression
https://github.com/Sefaria/Sefaria-Project/wiki/Regular-Expression-Engines

https://dl.acm.org/doi/abs/10.1145/2544137.2544146
Extending the PCRE Library with Static Backtracking Based Just-in-Time Compilation Support

| Proceedings of Annual IEEE/ACM International Symposium on Code Generation and Optimization

Adobe Corporation and Mozilla Corporation. NanoJIT.
https://developer.mozilla.org/En/Nanojit
A. V. Aho, M. S. Lam, R. Sethi, and J. D. Ullman. Compilers: Principles, techniques and tools. Addison-Wesley Publishing, Boston: Pearson/Addison Wesley, 2007.
Digital Library
Alexa Internet. Top Sites, jun 2012. http://www.alexa.com/topsites.
G. Barraclough. Yarr - Yet Another Regex Runtime.
 http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/yarr.  
P. Bonzini. GNU lightning. http://ftp.gnu.org/gnu/lightning/.
P. Bumbulis and D. D. Cowan. RE2C - A More Versatile Scanner Generator. ACM Lett. Program. Lang. Syst, 2:70--84, 1994.

https://zherczeg.github.io/sljit/pcre.html
https://en.wikipedia.org/wiki/Parsing
    ANTLR
    Bison
    Coco/R
    Definite clause grammar
    GOLD
    JavaCC
    Lemon
    Lex
    LuZc
    Parboiled
    Parsec
    Ragel
    Spirit Parser Framework
    Syntax Definition Formalism
    SYNTAX
    XPL
    Yacc
    PackCC
https://en.wikipedia.org/wiki/Parser_Grammar_Engine
 https://www.boost.org/doc/libs/1_35_0/libs/spirit/doc/scanner.html
The Scanner and Parsing
https://blog.robertelder.org/regular-expression-visualizer/

parser engine "Regular Expression engine"   "parser  TREE"
https://github.com/topics/parsing-expression-grammar
https://github.com/topics/parser-library?l=python&o=desc&s=stars

2023年11月15日 星期三

Create Manifest for Vista UAC if Not Running Under Administrative Rights vista uac Windows Vista User Account Control

 http://talkdelphi.blogspot.com/2009/04/create-manifest-for-vista-uac-if-not.html

  Create Manifest for Vista UAC if Not Running Under Administrative Rights
From a developer perspective Windows Vista's UAC can be problematic for some parts of your Delphi application, if the application is not being run by an administartor. One such operation is writing to the Registry database.

Learn how to "request admin rights" by creating an application manifest file....

Windows Vista - User Account Control
User Account Control is a security component in Windows Vista. UAC enables users to perform common tasks as non-administrators, called standard users in Windows Vista, and as administrators without having to switch users, log off, or use Run As.
To help prevent malicious software from silently installing and causing computer-wide infection, Microsoft developed the UAC feature.

From a developer perspective the following UAC features are important:


From a developer perspective Windows Vista  s UAC can be problematic for some parts of your Delphi application   if the application is not being run by an administartor   One such operation is writing to the Registry database  
Learn how to   request admin rights   by creating an application manifest file        
Windows Vista - User Account Control
User Account Control is a security component in Windows Vista   UAC enables users to perform common tasks as non-administrators   called standard users in Windows Vista   and as administrators without having to switch users   log off   or use Run As  
To help prevent malicious software from silently installing and causing computer-wide infection   Microsoft developed the UAC feature  
    var
    sKey  string  
    Section  string  
    const
    ApplicationTitle =   Your Application TITLE    
    begin
    if  bRunOnce   then
    sKey      Once  
    else
    sKey         
    Section      Software\Microsoft\Windows\CurrentVersion\Run  + sKey + #0  
    with TRegIniFile  Create         do
    try
    RootKey    HKEY_LOCAL_MACHINE  
    if Remove then
    DeleteKey  Section   ApplicationTitle  
    else
    WriteString  Section   ApplicationTitle   sCmdLine     
    finally
    Free  
    end  
    end  

On Vista, if the user running the application does not have admin rights the above code would fail, due to UAC!
Faking UAC Rights - How to Request Execution Level
Even if the user running the above code is n


    Create XML file with following content:
          ?xml version=  1  0   encoding=  UTF-8   standalone=  yes  ?  
          assembly xmlns=  urn:schemas-microsoft-com:asm  v1   manifestVersion=  1  0]
          assemblyIdentity version=  1  1  1  1  
        processorArchitecture=  X86  
        name=  YourApplicationExeName  
        type=  win32      
          description  elevate execution level    description  
          trustInfo xmlns=  urn:schemas-microsoft-com:asm  v2]
          security  
          requestedPrivileges  
          requestedExecutionLevel level=  requireAdministrator   uiAccess=  false      
            requestedPrivileges  
            security  
            trustInfo  
            assembly  
    1 24   YourApplicationName  manifest  
    brcc32 YourApplicationName  RC -foYourApplicationName  REC
    {$R YourApplicationName  REC}
How to Automate the Above   Create Manifest   Process

 

Direct database access is the single most important key-feature of NativeDB

 Direct database access is the single most important key-feature of NativeDB

Direct database access is the single most important key-feature of NativeDB. NativeDB skips both the Borland Database Engine (BDE), the Microsoft's Open Database Connectivity (ODBC) and OLEDB layers. Thus make it easy to deploy, install and configure your end-user application. Instead it connects

Generic Methods and Type Inferencing

  Generic Methods and Type Inferencing

http://talkdelphi.blogspot.com/2009/04/generic-methods-and-type-inferencing.html

In other words - as I understand it - Tiburón/Delphi 2009 will not (initially at least) support type inferencing. To my mind this dramatically reduces the attractiveness of Generic Methods.

What Is Type Inferencing?

As the term suggests, (in this context at least) it is the ability of the compiler to infer the type of some symbol (variable or parameter etc) from the context or code around it.

Storing Resource (WAV, MP3, ...) into Delphi Executables Resource Files (.RES)

 http://talkdelphi.blogspot.com/2009/04/storing-resource-wav-mp3-into-delphi.html

StegaImage - Steganography with Delphi Steganography with Delphi - Hide Data Inside Images

http://talkdelphi.blogspot.com/2009/04/steganography-with-delphi-hide-data.html

https://en.wikipedia.org/wiki/Steganography

“big integer” math support. Type support classes now expose methods to convert a type from an to a Variant. delphi some

 http://talkdelphi.blogspot.com/2009/04/dehl-03-is-out.html

 http://talkdelphi.blogspot.com/2009/04/dehl-03-is-out.html
https://delphi.cz/post/DeHL-Library.aspx
centralized and OOP-ish Date/Time support,
 generic collection classes
 “big integer” math support.
Type support classes now expose methods to convert a type from an to a Variant.


https://delphi.cz/post/Nekolik-poznamek-ohledne-upgrade-mezi-verzemi-Delphi.aspx
https://delphi.cz/post/Spoluprace-Delphi-a-NET-via-JCL.aspx
https://delphi.cz/post/Delphi-DLL-plugin.aspx
https://delphi.cz/post/OXml-The-next-generation-XML-library-for-Pascal.aspx
https://delphi.cz/post/KOL-Key-Objects-Library.aspx
https://delphi.cz/post/Nahodne-vykriky-45.aspx

https://synopse.info/forum/viewtopic.php?id=253
Open Source SynTaskDialog unit for XP,Vista,Seven (Page 1) / Other components / mORMot Open Source

DDevExtensions 2.82 and IDE Fix Pack 5.7 released ddevextensions-2-82-and-ide-fix-pack-5-7-released/

https://code.google.com/archive/p/delphilhlplib/wikis/UsingNullable.wiki
https://code.google.com/archive/p/delphilhlplib/wikis/FeatureList.wiki

https://github.com/pavkam/DeHL

DeHL

DeHL (Delphi Helper Library) is discontinued starting with 09.01.2012. You can reuse parts of this project for whatever particular needs you have. The source code is BSD licensed.

The most important features of DeHL for now are:

    A set of generic collections classes (TList, TDictionary, THashSet, TMultiMap, TPriorityQueue and etc).
    Linq-like extensions (called Enex) for collections which allow writing queries on collection classes.
    Date/Time functionality all combined in a few structures (somehow equivalent to .NET's DateTime structure)
    Type Support concept that defines a set of default "support classes" for each built-in Delphi types (used as defaults in collections). Custom "type support" classes can be registered for your custom data types.
    BigCardinal and BigInteger data types.
    BigDecimal for infinite precision Decimal calculus
    Scoped objects in Delphi.
    Nullable types in Delphi.
    Tuples
    Array extensions and utilities.
    Wide charset implementation.
    OOP TString type.
    Full generic serialization for all included types and collections.
    Type conversion system with custom conversion support.
    ... and more!

https://www.appsloveworld.com/coding/delphi/6/key-value-collection-that-maintains-order
 

Continuous Integration & Automated Software Builds finalbuilder

 https://www.finalbuilder.com/

 

 

 Automated Builds for Delphi FinalBuilder & Delphi. Automating your Delphi Build Process is ...

FinalBuilder is an automated build and release management solution for Windows software developers and SCM (Software Change Management) professionals.

delphi file record delphi data storage data file delphi data storage in recfile record

 browser local db storage

10 client-side storage options and when to use them

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Structured_Types_(Delphi)

delphi recfile Seek(recFile,FileSize(recFile));. recPos := FilePos( recFile );. FilePosLabel.Caption := IntToStr( recPos );. FILESIZE IN DELPHI AND LAZARUS. There are two ... https://docwiki.embarcadero.com/radstudio/alexandria/en/internal_data_formats_(delphi)
https://docwiki.embarcadero.com/radstudio/alexandria/en/approaches_to_file_i/o
https://github.com/shusaura85/TDataFile
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Internal_Data_Formats_(Delphi)
Database: Optimal Approaches for Data Storage in Delphi
https://copyprogramming.com/howto/which-is-the-best-method-to-save-data-in-delphi
delphi data storage data file

 version of the compiler.
File Types

File types are represented as records. Typed files and untyped files occupy 592 bytes on 32-bit platforms and 616 bytes on 64-bit platforms, which are laid out as follows:

 type
   TFileRec = packed record
     Handle: NativeInt;
     Mode: word;
     Flags: word;
     case Byte of
       0: (RecSize: Cardinal);
       1: (BufSize: Cardinal;
           BufPos: Cardinal;
           BufEnd: Cardinal;
           BufPtr: _PAnsiChr;
           OpenFunc: Pointer;
           InOutFunc: Pointer;
           FlushFunc: Pointer;
           CloseFunc: Pointer;
           UserData: array[1..32] of Byte;
           Name: array[0..259] of WideChar; );
  end;

Text files occupy 730 bytes on Win 32 and 754 bytes on Win64, which are laid out as follows:

 type
   TTextBuf = array[0..127] of Char;
   TTextRec = packed record
     Handle: NativeInt;
     Mode: word;
     Flags: word;
     BufSize: Cardinal;
     BufPos: Cardinal;
     BufEnd: Cardinal;
     BufPtr: _PAnsiChr;
     OpenFunc: Pointer;
     InOutFunc: Pointer;
     FlushFunc: Pointer;
     CloseFunc: Pointer;
     UserData: array[1..32] of Byte;
     Name: array[0..259] of WideChar;
     Buffer: TTextBuf; //
     CodePage: Word;
     MBCSLength: ShortInt;
     MBCSBufPos: Byte;
     case Integer of
       0: (MBCSBuffer: array[0..5] of _AnsiChr);
       1: (UTF16Buffer: array[0..2] of WideChar);
   end;


http://mc-computing.com/languages/delphi/delphifileio.htm

File I/O Commands
Open File for I/O     FileOpen(const FileName: string; Mode: Integer): Integer;
AssignFile(F, OpenDialog1.FileName);
Rewrite(var F: File [; Recsize: Word ] );
Append(var F: Text);
Get File Mode     F.Mode or (F as TFileRec).Mode
Write to File     FileWrite(Handle: Integer; const Buffer; Count: Integer): Integer;
Write to TextFile     Writeln, Write
Write to File     BlockWrite()
Read From TextFile     Read, Readln
Read From File     BlockRead()
Set Current Location    Seek(var F; N: Longint);
Get Current Location    FilePos(var F)
Length of File     FileSize(var F)
End of File     while not Eof(F1) do
Close File     FileClose(Handle: Integer)
CloseFile(F1);
Closes All Files     Not available in Delphi

https://www.tek-tips.com/viewthread.cfm?qid=1527339
File IO - Embarcadero: Delphi - Tek-Tips
procedure TForm1.InsertBlockNumbersClick(Sender: TObject);
Var
    infile, outfile: TextFile;
    inBuffer,outBuffer: array[1..65536] of char;
begin
    AssignFile(Infile, FullFileName);
    reset(infile);
    System.SetTextBuf(infile, inBuffer);
    System.SetTextBuf(outfile, outBuffer);
    AssignFile(outfile, FullFileName);
    rewrite(outfile);

    writeln(outfile, '(Tests InsertBlockNumbers.)');
        while not eof(infile) do
            begin
              //Do Something
            end;
    CloseFile(infile);
    CloseFile(outfile);
end;

http://delphibasics.50webs.com/NameSpace/Name/System.IO/Part/FileAccess.html
 System.IO
    
  BinaryReader      Class
  BinaryWriter      Class
  BufferedStream      Class
  Directory      Class
  DirectoryInfo      Class
  File      Class
  FileAccess      Enumeration
  FileAttributes      Enumeration
  FileInfo      Class
  FileMode      Enumeration
  FileShare      Enumeration
  FileStream      Class
  FileSystemWatcher      Class
  MemoryStream      Class
  Path      Class
  SeekOrigin      Enumeration
  StreamReader      Class
  StreamWriter      Class
  StringReader      Class
  StringWriter      Class

var
  LogFile: string = 'c:\log.txt';

// Append a message to a log file. See the example with the Array
// Keyword for the other overloaded Log procedure.
procedure Log(const Msg: string); overload;
var
  F: TextFile;
begin
  AssignFile(F, LogFile);
  // Try to append to the file, which succeeds only if the file exists.
{$IoChecks Off}
  Append(F);
{$IoChecks On}
  if IOResult <> 0 then
    // The file does not exist, so create it.
    Rewrite(F);
  WriteLn(F, Msg);
  CloseFile(F);
end;

https://www.drbob42.com/books/htmldata.htm

delphi embarcadero file class
https://blogs.embarcadero.com/loading-bitmaps-and-cursors-from-res-files/
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Using_Streams_to_Read_or_Write_Data
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Using_File_Streams
https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Classes.TFileStream.Create
https://docwiki.embarcadero.com/CodeExamples/Sydney/en/ReadWriteFile_(Delphi)

delphi File Of Record_Type

https://github.com/graphics32/graphics32/blob/744df8aa07251e3457553abd3f039d2352d37aa8/Source/GR32.ImageFormats.TBitmap.pas

delphi bitmap header record "file of"
 bitmap header fpc
https://lazarus-ccr.sourceforge.io/docs/lcl/graphics/tbitmap.html
https://github.com/edivando-fpc/BGRABitmap/blob/master/bgragraphics.pas