2023年9月25日 星期一

delphi messaging protocol datasnap restful json grpc The Web Application Messaging Protocol — Web Application Messaging Protocol version 2 documentation

 https://wamp-proto.org/index.html

The Web Application Messaging Protocol — Web Application Messaging Protocol version 2 documentation

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

 delphi messaging protocol datasnap  restful json grpc

web server messaging protocol

register buffer latch IC  COMO FUNCIONA EL CIRCUITO INTEGRADO 74HC374; CARACTERÍSTICAS, APLICACIÓN, PRÁCTICAS parallel latch buffer register multiple channel synchronize

 register buffer latch IC  

COMO FUNCIONA EL CIRCUITO INTEGRADO 74HC374; CARACTERÍSTICAS, APLICACIÓN, PRÁCTICAS 

synchronization  buffer Gate Flip Flop Schmitt synchronizing parallel motor Circuit

 https://informeandresgarces.wordpress.com/practica-1/

74HC37 

CDx4HC374 High-Speed CMOS Logic Octal D-Type Flip-Flop, 3-State Positive-Edge Triggered

https://www.sealevel.com/support/the-digital-io-handbook-chapter-2/

The Digital I/O Handbook - Chapter 2 - Sealevel


CDx4HC373 Octal Transparent D-Type Latches With 3-State Outputs


The 74HC574; 74HCT574 is a high-speed Si-gate CMOS device and is pin compatible with Low-power Schottky TTL. It is specified in compliance with JEDEC standard

Advanced Dynamic Packages Abstract: A follow on paper on the "Dynamic Packages" (#27178) paper on how to create and use dynamic packages in Delphi.

 http://web.archive.org/web/20050714083708/http://bdn.borland.com/article/0,1410,29119,00.html

https://delphisources.ru/pages/faq/master-delphi-7/content/LiB0107.html

Delphi.cz Dynamic Packages

https://neftali.clubdelphi.com/dlls-bpls-carga-dinamicaestatica-y-packages-en-runtime/

2023年9月23日 星期六

List of the popular databases used

 mysql  mariadb

PostgreSQL  

SQL vs NoSQL

mongodb
Apache Cassandra
 PostgreSQL GUI software
pgAdmin DBeaver Navicat DataGrip HeidiSQL TablePlus Beekeeper Studio OmniDB

List of the popular databases used

 

https://www.geeksforgeeks.org/most-popular-databases/

2023年9月22日 星期五

3-Ingredient Coconut Oil Biscuits Recipe

 https://youtu.be/QJ6kZ9HJ6Z4?si=CCnabAXQwBrg9-aA

ms office image scanner MODI OCR Microsoft Office Document Imaging OCR

 _MODIDocument OCR _MODIParameters Language  _MODIParameters WithAutoRotation _MODIParameters WithStraightenImage

 https://github.com/A9T9/OCR.Space-OCR-API-Code-Snippets/blob/master/delphi%20ocr%20api.pas

 https://github.com/r1me/TTesseractOCR4

 https://github.com/onursert/OpticalCharacterRecognition

https://github.com/geoffsmith82/DelphiTransymOCR 

https://www.codeproject.com/articles/17291/ocr-with-modi-in-visual-c?fid=378728&df=90&mpp=25&sort=Position&view=Normal&spc=Relaxed&select=2073309&fr=26&prof=True

https://stackoverflow.com/questions/23862530/ocr-using-modi-office-2007

https://stackoverflow.com/questions/12345811/i-have-to-work-with-microsoft-office-document-imaging-withms-office-2010-through

https://www.codeproject.com/Articles/17291/OCR-With-MODI-in-Visual-C

https://www.codeproject.com/Articles/10130/OCR-with-Microsoft-Office

https://www.thoughtco.com/creating-components-dynamically-at-run-time-1058151

MODI dll  mdivwctl.dll IDispatch  Com Object Createobject('MODI.Document')

Do the following:
1.- #import the library.
2.- ::CoInitialize(NULL);
3.- MODI::IDocumentPtr pDoc = NULL;
4.- pDoc.CreateInstance(__uuidof(MODI::Document));

CreateObject("MODI.Document")  

CreateOLEOBject('MODI.DOcument')

CreateOLEOBject('MODI.DOcument')

 CreateObject("MODI.Document")
 CreateObject("MODI.Image")
 CreateObject("MODI.Layout")
 CreateObject("MODI.IMiSelectableItem")

https://qa.social.msdn.microsoft.com/Forums/en-US/a5dbed36-1279-49b6-b5e1-745a33afb1cd/problem-trying-to-use-ocr?forum=csharpgeneral

https://stackoverflow.com/questions/1130473/net-ocring-an-image

https://social.msdn.microsoft.com/Forums/en-US/729f9d0c-7265-4320-a6d9-3de012ad0962/modi-ocrmodimilanguagesmilangenglish-true-true-method-causes-ocr-running-error?forum=officegeneral

https://learn.microsoft.com/en-us/previous-versions/office/developer/office-2003/aa203281(v=office.11)

https://www.codeproject.com/Articles/10130/OCR-with-Microsoft-Office?msg=1381513#xx1381513xx

Type Lib: C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MDIVWCTL.DLL (1)
// LIBID: {A5EDEDF4-2BBC-45F3-822B-E60C278A1A79}
// LCID: 0
// Helpfile:
// HelpString: Microsoft Office Document Imaging 11.0 Type Library
// DepndLst:
//   (1) v2.0 stdole, (C:\WINDOWS\system32\stdole2.tlb)
 office2003 regsvr32.exe mdivwctl.dll,
 regsvr32.exe "C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\mdivwctl.dll"
 C:\Program Files\Common Files\Microsoft Shared\MODI\11.0,
ADVERTISEMENT
 Microsoft Office Document Imaging 11.0 Type Library
ODIによるOCRプログラミング
https://so-zou.jp/software/tech/library/modi/introduction/

MODI\\MDI writer";. static String Provider = "Software\\Microsoft\\Protected ...

https://github.com/ands904/SEnum/blob/master/SEnumLib.cpp


Option Explicit

Const miLANG_JAPANESE = 17

On Error Resume Next
With CreateObject("MODI.Document")
  .Create "D:\TestFiles\OCRTest.jpg"
  .OCR miLANG_JAPANESE
  MsgBox .Images(0).Layout.Text
End With
If Err.Number <> 0 Then MsgBox Err.Description
Err.Clear
On Error GoTo 0 

http://www.vbaexpress.com/forum/showthread.php?43784-Read-Image-Pdf-Attachment-Using-Modi-Ocr-Then-Extract-Certain-Text-amp-Use-As-Filename



 https://learn.microsoft.com/en-us/previous-versions/office/developer/office-2003/aa203255(v=office.11)
http://www.corrupteddatarecovery.com/Products/ScanSoft-API.asp
http://www.corrupteddatarecovery.com/Products/Asian-OCR-for-ScanSoft-API.asp
https://topic.alibabacloud.com/tc/a/ocr-modules-in-the-modi_8_8_31334292.html
 
 MODI ScanSoft API
http://www.corrupteddatarecovery.com/Products/ScanSoft-API.asp
http://www.corrupteddatarecovery.com/Products/Asian-OCR-for-ScanSoft-API.asp

 ScanSoft API MODI  ScanSoft API MODI (MSPVIEW.EXE)

——————           MSPVIEW.EXE
應用程式層                ┃
——————            MODI介面
介面層                ┃
                 ScanSoft API
             ┏━━━━━┻━━━━━┓
             ┃     ScanSoft API亞洲語言支援(清華文通)
——————       ┃              ┃
資料層      西歐11國、東歐3國、     亞洲語言檔案
         俄、希、土語言檔案    (簡、繁、日、朝)
 

 Office或SharePoint Designer  Office 2007 MODI SharePoint Designer 2007
IDocument doc;
doc.CreateDispatch(_T("MODI.Document"));

在註冊表中搜尋字串“MODI.Document”,可以知道此COM對象對應的DLL是MODI安裝資料夾下的MDIVWCTL.DLL。再看一眼VC++的Debug視窗,可以知道在調用此DLL後,還接著調用了同檔案夾下的MSPGIMME.DLL、MSPCORE.DLL,及OFFICE12檔案夾下的MSO.DLL等。從檔案屬性看,這些檔案都是微軟鼓搗出來的,因此可以認為是介面層中MODI介面部分的東西。
 MODI安裝資料夾下的XOCR3.PSP、THOCR.PSP、XFILE.PSP PSP DLL ScanSoft API OFFICE12 OGL.DLL、MSORES.DLL、2052\MSOINTL.DLL
介面層     MODI     MDIVWCTL.DLL     Microsoft Office Document Imaging Viewer Control
MSPCORE.DLL     Microsoft® Office Document Imaging Object Library
MSPGIMME.DLL     Microsoft® Gimme library
OFFICE12\MSO.DLL     2007 Microsoft Office component
ScanSpft
API     BINDER.DLL     XDoc Binder module for the ScanSoft SDK
PSOM.DLL     Component Management Module for PefectScan API
XIMAGE3B.DLL     Image Processing Module for the ScanSoft SDK
XPAGE3C.DLL     Page Management Module for ScanSoft SDK
XOCR3.PSP     OCR Module for ScanSoft SDK
XFILE.PSP     Asian OCR Module for ScanSoft SDK
THOCR.PSP     Asian OCR Module for ScanSoft SDK
ScanSoft
API亞洲
語言     FORM.DLL     Table Recognition for Asian OCR
REVERSE.DLL     Reverse Video Detection for Asian OCR
THOCRAPI.DLL     Asian OCR API
TWCUTCHR.DLL     Character Segmentation for Asian OCR
TWCUTLIN.DLL     Line Segmentation for Asian OCR
TWLAY32.DLL     Layout Analysis for Asian OCR
TWORIENT.DLL     Orientataion Detection for Asian OCR
TWRECC.DLL     Chinese Recognition for Asian OCR
TWRECE.DLL     English Recognition for Asian OCR
TWRECS.DLL     Punctuation Recognition for Asian OCR
TWSTRUCT.DLL     Document Structure Processing for Asian OCR
資料層     英文     LATIN1.SHP     西歐11國(含英文)通用特徵庫
CharSetTable.chr     字元編碼轉換表,文字檔
ENGLISH.LNG     英文語言檔案
簡體中文     ENGDIC.DAT     清華文通的英文字典檔案,貌似它也支援中、英文
ENGIDX.DAT     清華文通的英文索引
JFONT.DAT      
LOOKUP.DAT      
OCRHC.DAT      
OCRVC.DAT      
TWGB32.DLL     Simplified Chinese code Conversion
SCCODE.UNI      
SCPRINT.DAT      
SCPRINT2.DAT      
SCSERHT.DAT      
SCTREE.DAT      
TW_GU.DAT      
TW_UG.DAT      

如果還想增加對其他語言的OCR能力,可以參閱《用MODI OCR 21種語言》,增加相關語言對應的檔案。

另外在上表中,在PSOM.DLL檔案描述中出現了一個新的名字:PefectScan API。google了一下,找到其官網http://perfectscan.com/,從介紹上看是做影像處理的:
PerfectScan is an image processing program that automatically analyzes an image, then makes adjustments to that image rendering a black and white image that contains all viewable data as if it were a gray scale scan, only at 15% of the size of a gray scale image.
看來MODI還真是一個大雜燴。不過PefectScan官網上的一句話,感覺道盡了程式員的悲涼:
We built the software after 10 years of hard work, now all we have to do is build the website...OOPS!!

言歸正傳。搞定檔案後,還需要搞定登錄機碼才行。與MODI相關的登錄機碼包括兩個部分:COM相關與Office相關。

COM相關就是與MODI的COM組件相關的登錄機碼,這個直接用regsvr32匯入即可:啟動命令列,進入MODI安裝資料夾,執行下面的命令:
regsvr32 MDIVWCTL.DLL
regsvr32 MSPCORE.DLL
即可完成MODI COM組件的註冊。
 

[HKEY_CLASSES_ROOT\Installer\Components\61BA386016BD0C340BBEAC273D84FD5F]
"2052"=hex(7):76,00,55,00,70,00,41,00,56,00,53,00,2e,00,7d,00,58,00,25,00,21,\
00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,4f,00,43,00,52,00,\
5f,00,32,00,30,00,35,00,32,00,3c,00,00,00,00,00

[HKEY_CLASSES_ROOT\Installer\Features\00002109F10040800000000000F01FEC]
"OCR_2052"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00002109F10040800000000000F01FEC\Features]
"OCR_2052"="%mEMae,7q9*[email protected]="

[HKEY_CLASSES_ROOT\Installer\Products\00002109710000000000000000F01FEC]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3F745FF6A76FF2F4797DB74FC7B3FD8B]
"00002109710000000000000000F01FEC"="C:\\Program Files\\Common Files\\Microsoft Shared\\MODI\\12.0\\XPAGE3C.DLL"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\4080B9FA1A0BBF34FB7813E87159FC64]
"00002109F10040800000000000F01FEC"="C:\\Program Files\\Common Files\\Microsoft Shared\\MODI\\12.0\\SCCODE.UNI"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\48AD0082D02B3D24C9A56FA50728CCAB]
"00002109710000000000000000F01FEC"="C:\\Program Files\\Common Files\\Microsoft Shared\\MODI\\12.0\\MSPCORE.DLL"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D94C8360B8BB1DC41B1950E0F8237563]
"00002109710000000000000000F01FEC"="C:\\Program Files\\Common Files\\Microsoft Shared\\OFFICE12\\MSO.DLL"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00002109710000000000000000F01FEC\InstallProperties]
"WindowsInstaller"=dword:00000001
 

[HKEY_CLASSES_ROOT\Installer\Components\61BA386016BD0C340BBEAC273D84FD5F]
"1036"=hex(7):76,00,55,00,70,00,41,00,56,00,57,00,3f,00,57,00,41,00,24,00,21,\
00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,4f,00,43,00,52,00,\
5f,00,31,00,30,00,33,00,36,00,3c,00,00,00,00,00

[HKEY_CLASSES_ROOT\Installer\Features\00002109F100C0400000000000F01FEC]
"OCR_1036"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00002109F100C0400000000000F01FEC\Features]
"OCR_1036"=")aEMae,7q9*[email protected]="

[HKEY_CLASSES_ROOT\Installer\Products\00002109710000000000000000F01FEC]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\3F745FF6A76FF2F4797DB74FC7B3FD8B]
"00002109710000000000000000F01FEC"="C:\\Program Files\\Common Files\\Microsoft Shared\\MODI\\12.0\\XPAGE3C.DLL"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\48AD0082D02B3D24C9A56FA50728CCAB]
"00002109710000000000000000F01FEC"="C:\\Program Files\\Common Files\\Microsoft Shared\\MODI\\12.0\\MSPCORE.DLL"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\C040B9FA1A0BBF34FB7813E87159FC64]
"00002109F100C0400000000000F01FEC"="C:\\Program Files\\Common Files\\Microsoft Shared\\MODI\\12.0\\FRENCH.LNG"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D94C8360B8BB1DC41B1950E0F8237563]
"00002109710000000000000000F01FEC"="C:\\Program Files\\Common Files\\Microsoft Shared\\OFFICE12\\MSO.DLL"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00002109710000000000000000F01FEC\InstallProperties]
"WindowsInstaller"=dword:00000001

 

[HKEY_CLASSES_ROOT\Installer\Components\61BA386016BD0C340BBEAC273D84FD5F]
"1033"=hex(7):76,00,55,00,70,00,41,00,56,00,54,00,28,00,38,00,41,00,24,00,21,\
00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,4f,00,43,00,52,00,\
5f,00,31,00,30,00,33,00,33,00,3e,00,26,00,61,00,45,00,4d,00,61,00,65,00,2c,\
00,37,00,71,00,39,00,2a,00,44,00,58,00,64,00,55,00,40,00,45,00,50,00,69,00,\
3d,00,00,00,00,00

[HKEY_CLASSES_ROOT\Installer\Features\00002109F10090400000000000F01FEC]
"OCR_1033"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00002109F10090400000000000F01FEC\Features]
"OCR_1033"="&aEMae,7q9*[email protected]=OFu[`t.WO9zoh+x^{BHE"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9040B9FA1A0BBF34FB7813E87159FC64]
"00002109F10090400000000000F01FEC"="C:\\Program Files\\Common Files\\Microsoft Shared\\MODI\\12.0\\ENGLISH.LNG"

CAWT is a utility package based on TWAPI to script Microsoft Windows® applications with Tcl


CAWT twapi comobj MODI.Document

2023年9月21日 星期四

Looking for a Complete Delphi (object pascal) syntax delphi programming grammar EBNF grammar check grammar and spell check extension

 Looking for a Complete Delphi (object pascal) syntax

 delphi programming grammar EBNF grammar check

 grammar and spell check extension

http://www.felix-colibri.com/papers/compilers/delphi_5_grammar/delphi_5_grammar.html 

Delphi Quick Syntax Reference

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Code_Completion

ai Complete code  AI-Powered Code Completion  

Coding Assistant

https://stackoverflow.com/questions/171827/looking-for-a-complete-delphi-object-pascal-syntax

https://sourcegraph.com/search

https://sourceforge.net/software/product/Pascal/integrations/

asynchronous message server amqp qnx

 https://www.qnx.com/developers/docs/6.5.0SP1.update/com.qnx.doc.neutrino_technotes/async_messaging.html

https://www.cloudamqp.com/blog/asynchronous-communication-with-rabbitmq.html

Asynchronous message-based communication  Message Queue

Advanced Message Queuing Protocol

RTOS QNX Neutrino's asynchronous messaging

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

Signal Generator Function 12V Sine Sawtooth Square Triangle ramp Rademacher function circuit Fourier transform

https://how2electronics.com/square-wave-generator-circuit-op-amp-741/

https://how2electronics.com/triangular-wave-generator-circuit-op-amp-741/

https://www.gadgetronicx.com/function-generator-circuit-diagram/ 

Signal Generator  Function 12V Sine  Sawtooth Square Triangle ramp 4QD-TEC

parsing system designed design multiple programming languages EBNF ast tree tac rtl rc

 https://www.webpages.uidaho.edu/~jory/babel.html

https://ebin.pub/design-and-implementation-of-compiler-9788122428650.html

http://ckw.phys.ncku.edu.tw/public/pub/Notes/Computers/Lectures/Old/Programming/The%20Language%20List%20-%20Version%202_4,%20January%2023,%201995.htm

2023年9月20日 星期三

zvs driver arc high voltage dulal zvs dual flyback high frequency

 zvs driver arc high voltage dulal zvs dual flyback high frequency

Icstation DC 12-30V High Voltage Arc Generator ZVS Flyback Driver Kit for

DC 12-30V ZVS Flyback Driver Board 30-50kHz High Voltage Coil Generator Unassembled Set

ZVS Driver Board, ZVS Induction Heating Coil Module, Circuit DC1236V Voltage Switch, Power Supply Driver Board DIY

electron gun  electron emitter

electron gun  electron emitter Electron Guns - an overview | ScienceDirect Topics

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

Static Electricity Static Generator Static Electricity Graaff Generator

https://www.sciencedirect.com/topics/earth-and-planetary-sciences/electron-guns

Relaxation Oscillator signal PUT Relaxation Oscillator Unijunction Transistor ujt

 Relaxation Oscillator signal PUT Relaxation Oscillator Unijunction Transistor

thyristor triggers.    oscillators.    pulse.    timing circuits with frequencies up to 10 kHz.

put transistor application

Programmable Unijunction Transistor

Programmable Unijunction Transistor

 Relaxation Oscillator signal Unijunction Transistor

Torque Boost waveform

Relaxation   "waveform" circuit  stepper motor

Relaxation Oscillators application

Classic Circuits You Should Know Relaxation Oscillator

PUT sawtooth Voltage Controlled Oscillator Oscillators | Relaxation Oscillators

Astable Multivibrators: Relaxation Oscillator, Inverting Schmitt-Trigger, Calculation Example

sawtooth Relaxation Oscillator STEPPER MOTOR  Waveform Generato

Working Principle of Sawtooth Wave Generator

(296) Electrical & Electronic Waveforms: sine, square, triangular, sawtooth, ramp - YouTube

Relaxation integration Oscillator circuit motor control

Conventional comparator-based relaxation oscillator structure equipped... | Download Scientific Diagram

Conventional comparator-based relaxation oscillator structure equipped with timing circuits

2023年9月18日 星期一

delphi 網站 awesome Delphi 網站 awesome國內優秀網站及開源項目

 https://www.cnblogs.com/dqi1999/articles/14069084.html

Delphi资源 – 印象派 http://tz10000.com/delphi-zi-yuan/

 https://www.twblogs.net/a/5efd6c459644181341a12ed5

https://github.com/gabr42/OmniThreadLibrary

 https://www.cnblogs.com/yclizq/p/12387315.html

 http://wedelphi.com/t/286098/

 https://github.com/icopy-site/awesome-cn/blob/master/docs/awesome/awesome-delphi.md

https://github.com/icopy-site/awesome-cn/blob/master/docs/awesome/awesome-delphi.md?plain=1

Delphi國內優秀網站及開源項目
原創
tc310
2020-07-02 13:10
Delphi盒子 www.2ccc.com
2Pascal-新時代的Pascal http://www.2pascal.com
WeDelphi http://www.WeDelphi.com
新大富翁論壇 http://www.dfwlt.com/forum.php
萬一的博客:http://www.cnblogs.com/del/
原Delphi窖洞洞主博客:http://www.cnblogs.com/xalion
國內開源項目:
1、CnPack:http://www.cnpack.org/
       https://github.com/cnpack/cnvcl
2、QDAC(QQ官方羣 250530692):http://blog.qdac.cc/
3、OrangeUI-Delphi移動開發利器(OrangeUI技術支持QQ羣:10900297)
4、RPMP-Restful Plugin Midware for Pascal(QQ 羣: 289501953): https://github.com/ZYHPRO/RPMP
5、MyBean輕量級配置框架,插件交流羣: 205486036: https://github.com/ymofen/delphi-framework-MyBean
6、ABFrameWork(Delphi 框架) QQ交流羣: 307455944 (非開源)
7、開源網絡庫之Delphi Cross Socket,由WiNDDRiVER(soulawing@gmail.com)開發的跨平臺網絡庫,代碼風格優美,註釋詳細,唯一不足的是Demo略少,在Github上開源:https://github.com/winddriver/Delphi-Cross-SocketQQ交流羣:152678031
8、開源網絡庫之DIOCP,由天地弦(www.diocp.org)開發的網絡併發框架,多線程管理庫diocp,經過長時間的測試,運行極爲穩定,在Github上開源:https://github.com/ymofen/diocp-v5QQ交流羣:638127021
9、ZServer4D,細雨老仙從商業項目(遊戲類)剝離而出的雲服務器中間件,可以承載百萬級在線的分佈式長連接負載,在Github上開源:https://github.com/PassByYou888/ZServer4DQQ交流羣:490269542
10、FMXUI 跨平臺UI組件庫 https://github.com/yangyxd/FMXUI
11、YxdJSON Delphi 高性能 JSON 庫(支持RTTI和序列化操作)支持平臺: Windows, Android, iOS, Mac OS https://github.com/yangyxd/YxdJson
12、YxdIocp Delphi 高性能 IOCP 通訊模型組件包 (包括TCP、UDP、HTTP、WebSocket等服務器組件和客戶端組件)支持平臺: Windows https://github.com/yangyxd/YxdIOCP
13、YxdWorker Delphi 多線程高併發作務引擎 支持平臺: Windows, Android, iOS, Mac OS https://github.com/yangyxd/YxdWorker
14、YxdGameFrame Unity 輕量級遊戲開發消息引擎框架 支持平臺: Windows, Android, iOS, Mac OS 等 https://github.com/yangyxd/YxdGameFrame
15、Wke (miniblink) For Delphi 對Wke,miniblink的封裝。實現支持html5 的 WebUI(相對於dcef來說,它只需要一個dll,更加輕量),也可以用來製作內嵌的小型瀏覽器。支持平臺: Windows (WinXP 及以上)https://github.com/yangyxd/wke-for-delphi
國外開源項目:
mOrMot: https://github.com/synopse/mORMot
Awesome Delphi (強烈推薦)
策劃的了不起的Delphi框架列表、庫資源,閃亮的東西。
https://github.com/Fr0sT-Brutal/awesome-delphi
Delphi IDE Theme Editor
Delphi IDE主題編輯器(DITE)是一個工具,用於自定義像Delphi(RAD Studio)這樣的幾個Object Pascal IDE的IDE顏色突出顯示。
https://github.com/RRUZ/delphi-ide-theme-editor
DelphiMVCFramework
DMVCFramework(簡稱)是一個流行的,功能強大的Delphi網頁解決方案框架
https://github.com/danieleteti/delphimvcframework
Delphi REST Client API
使用Delphi REST客戶端API來使用以任何編程語言編寫的REST服務。
https://github.com/fabriciocolombo/delphi-rest-client-api
Virtual-TreeView
虛擬樹視圖是從底層構建的Delphi樹視圖控件。多年的發展使其成爲當今最靈活和先進的樹形控制系統之一。虛擬樹視圖開始提出改進現有解決方案的許多方面,並引入了一些前所未有的新技術和原理。
https://github.com/Virtual-TreeView/Virtual-TreeView
Delphi-OpenCV
項目Delphi-OpenCV是Delphi中OpenCV庫頭文件的翻譯。
https://github.com/Laex/Delphi-OpenCV
DUnitX
DUnitX是一個新的測試框架,從DUnit,NUnit和其他測試框架中提出了一些想法。它被設計爲與Delphi 2010或更高版本一起使用,它使用了舊版Delphi中沒有的語言/ RTL功能。
https://github.com/VSoftTechnologies/DUnitX
Delphi IDE Colorizer
Delphi IDE Colorizer(DIC)是一個插件,它可以使RAD Studio IDE的工作空間
https://github.com/RRUZ/Delphi-IDE-Colorizer
CEF4Delphi
CEF4Delphi是由SalvadorDíazFau創建的一個開源項目,用於在基於Delphi的應用程序中嵌入基於Chromium的瀏覽器。
https://github.com/salvadordf/CEF4Delphi
OmniThreadLibrary
OmniThreadLibrary是一個簡單易用的Delphi線程庫。OTL的主要“賣點”(除了價格之外)是力量,簡單和開放。只需要幾行代碼,就可以設置多個線程,在它們之間發送消息,處理Windows消息等等。
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 Delphi国内优秀网站及开源项目
Delphi编程技巧大全     http://www.delphitop.com/
Delphi盒子 www.2ccc.com
2Pascal-新时代的Pascal http://www.2pascal.com
WeDelphi http://www.WeDelphi.com
新大富翁论坛 http://www.dfwlt.com/forum.php
万一的博客:http://www.cnblogs.com/del/
原Delphi窖洞洞主博客:http://www.cnblogs.com/xalion
国内开源项目:
1、CnPack:http://www.cnpack.org/
       https://github.com/cnpack/cnvcl
2、QDAC(QQ官方群 250530692):http://blog.qdac.cc/
3、OrangeUI-Delphi移动开发利器(OrangeUI技术支持QQ群:10900297)
4、RPMP-Restful Plugin Midware for Pascal(QQ 群: 289501953): https://github.com/ZYHPRO/RPMP
5、MyBean轻量级配置框架,插件交流群: 205486036: https://github.com/ymofen/delphi-framework-MyBean
6、ABFrameWork(Delphi 框架) QQ交流群: 307455944 (非开源)
7、开源网络库之Delphi Cross Socket,由WiNDDRiVER(soulawing@gmail.com)开发的跨平台网络库,代码风格优美,注释详细,唯一不足的是Demo略少,在Github上开源:https://github.com/winddriver/Delphi-Cross-SocketQQ交流群:152678031
8、开源网络库之DIOCP,由天地弦(www.diocp.org)开发的网络并发框架,多线程管理库diocp,经过长时间的测试,运行极为稳定,在Github上开源:https://github.com/ymofen/diocp-v5QQ交流群:638127021
9、ZServer4D,细雨老仙从商业项目(游戏类)剥离而出的云服务器中间件,可以承载百万级在线的分布式长连接负载,在Github上开源:https://github.com/PassByYou888/ZServer4DQQ交流群:490269542
10、FMXUI 跨平台UI组件库 https://github.com/yangyxd/FMXUI
11、YxdJSON Delphi 高性能 JSON 库(支持RTTI和序列化操作)支持平台: Windows, Android, iOS, Mac OS https://github.com/yangyxd/YxdJson
12、YxdIocp Delphi 高性能 IOCP 通讯模型组件包 (包括TCP、UDP、HTTP、WebSocket等服务器组件和客户端组件)支持平台: Windows https://github.com/yangyxd/YxdIOCP
13、YxdWorker Delphi 多线程高并发作务引擎 支持平台: Windows, Android, iOS, Mac OS https://github.com/yangyxd/YxdWorker
14、YxdGameFrame Unity 轻量级游戏开发消息引擎框架 支持平台: Windows, Android, iOS, Mac OS 等 https://github.com/yangyxd/YxdGameFrame
15、Wke (miniblink) For Delphi 对Wke,miniblink的封装。实现支持html5 的 WebUI(相对于dcef来说,它只需要一个dll,更加轻量),也可以用来制作内嵌的小型浏览器。支持平台: Windows (WinXP 及以上)https://github.com/yangyxd/wke-for-delphi
国外开源项目:
mOrMot: https://github.com/synopse/mORMot
Awesome Delphi (强烈推荐)
策划的了不起的Delphi框架列表、库资源,闪亮的东西。
https://github.com/Fr0sT-Brutal/awesome-delphi
Delphi IDE Theme Editor
Delphi IDE主题编辑器(DITE)是一个工具,用于自定义像Delphi(RAD Studio)这样的几个Object Pascal IDE的IDE颜色突出显示。
https://github.com/RRUZ/delphi-ide-theme-editor
DelphiMVCFramework
DMVCFramework(简称)是一个流行的,功能强大的Delphi网页解决方案框架
https://github.com/danieleteti/delphimvcframework
Delphi REST Client API
使用Delphi REST客户端API来使用以任何编程语言编写的REST服务。
https://github.com/fabriciocolombo/delphi-rest-client-api
Virtual-TreeView
虚拟树视图是从底层构建的Delphi树视图控件。多年的发展使其成为当今最灵活和先进的树形控制系统之一。虚拟树视图开始提出改进现有解决方案的许多方面,并引入了一些前所未有的新技术和原理。
https://github.com/Virtual-TreeView/Virtual-TreeView
Delphi-OpenCV
项目Delphi-OpenCV是Delphi中OpenCV库头文件的翻译。
https://github.com/Laex/Delphi-OpenCV
DUnitX
DUnitX是一个新的测试框架,从DUnit,NUnit和其他测试框架中提出了一些想法。它被设计为与Delphi 2010或更高版本一起使用,它使用了旧版Delphi中没有的语言/ RTL功能。
https://github.com/VSoftTechnologies/DUnitX
Delphi IDE Colorizer
Delphi IDE Colorizer(DIC)是一个插件,它可以使RAD Studio IDE的工作空间
https://github.com/RRUZ/Delphi-IDE-Colorizer
CEF4Delphi
CEF4Delphi是由SalvadorDíazFau创建的一个开源项目,用于在基于Delphi的应用程序中嵌入基于Chromium的浏览器。
https://github.com/salvadordf/CEF4Delphi
OmniThreadLibrary
OmniThreadLibrary是一个简单易用的Delphi线程库。OTL的主要“卖点”(除了价格之外)是力量,简单和开放。只需要几行代码,就可以设置多个线程,在它们之间发送消息,处理Windows消息等等。
https://github.com/gabr42/OmniThreadLibrary


sql connect insert binary datatype SqlConnection insert binary DATA

 using (SqlConnection con = new SqlConnection(connectionString))
    {
    using (SqlCommand com = new SqlCommand("INSERT INTO myTable (myImage) VALUES (@IM)", con))
        {
        byte[] imageData = File.ReadAllBytes(@"F:\Temp\Picture.jpg");
        com.Parameters.AddWithValue("@IM", imageData);
        com.ExecuteNonQuery();
        }
    }

 https://www.codeproject.com/Articles/21208/Store-or-Save-images-in-SQL-Server

 https://learn.microsoft.com/zh-tw/windows/win32/msi/adding-binary-data-to-a-table-using-sql

https://www.codeproject.com/Articles/437937/Save-and-Retrieve-Image-from-a-SQL-Server-Database

https://www.codeproject.com/Articles/9323/Load-Unload-images-into-from-DB-table 

Import OLE Object from Access to MySQL

https://stackoverflow.com/questions/41594/import-ole-object-from-access-to-mysql

MS Access OLE Object  BLOB 

extract OLE object from MS Access database Adding OLE Objects Tables and Form in Access

https://dbaportal.eu/2008/07/17/how-to-extract-ole-object-from-ms-access-database/

2023年9月17日 星期日

apache flume kafka spark hadoop mapreduce Hadoop HDFS Hive

 File storage: Hadoop HDFS, Tachyon, KFS
Offline computing: Hadoop MapReduce, Spark
Streaming, real-time computing: Storm, Spark Streaming, S4, HeronK-V, NOSQL database: HBase, Redis, MongoDB
Resource management: YARN, Mesos
Log collection: Flume, Scribe, Logstash, Kibana
Messaging system: Kafka, StormMQ, ZeroMQ, RabbitMQ
Query analysis: Hive, Impala, Pig, Presto, Phoenix, SparkSQL, Drill, Flink, Kylin, Druid
Decentralized coordination service: Zookeeper
Cluster management and monitoring: Ambari, Ganglia, Nagios, Cloudera Manager
Data collection, machine learning: Mahout, Spark MLLib
Data synchronization: Sqoop
Task Scheduling: Oozie

 https://www.digitalocean.com/community/tutorials/hadoop-storm-samza-spark-and-flink-big-data-frameworks-compared

https://ithelp.ithome.com.tw/articles/10231386 

https://cloudlytics.com/hadoop-vs-spark-a-comparative-study/

2023年9月15日 星期五

bootloader busybox bios uefi bootloader applet sec pei dxe tsl gran unified bootloader Command-line_interface shells

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

 https://en.wikipedia.org/wiki/Command-line_interface

 https://en.wikipedia.org/wiki/List_of_command-line_interpreters

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

 bootloader busybox bios uefi bootloader  applet

 sec pei dxe tsl gran unified bootloader

 bootloader busybox  uboot  REDBOOT eCos

https://www.eeweb.com/embedded-linux-design-file-system-and-bootloader/

 Generating U-Boot and U-Boot Device Tree | Documentation | RocketBoards.org

Introduction to Embedded Bootloader Intel SSG/SSD/UEFI. U-Boot Bios-lt Blob(Boot Loader Object Bootldr ARMboot

 available bootloaders relative list  available bootloaders relative list lilo grub loadlin etherboot coreboot blob pmon shboot ubootredboot

Using the Go InfluxDB v3 Client Library | InfluxData

 https://www.influxdata.com/blog/using-go-influxdb-v3-client-library/?utm_source=twitter&utm_medium=social

2023年9月14日 星期四

麵食料理

https://cookpad.com/tw/home

麵食料理 麵條 陽春麵 乾麵 炒麵

黃麵 白粗麵 白細麵 拉麵 冬粉 韓式年糕 粿仔條米粉 米苔目 炸意麵 粄條

 炸醬 芝麻醬 油蔥 肉燥  烏醋 油蔥   炸醬 麻醬 沙茶醬 海鮮醬  番茄肉醬 白醬 青醬 咖哩 川味辣 鳳梨起司 泡菜

 鮮蝦餛飩麵 大滷麵 排骨酥麵 榨菜肉絲麵 三寶牛肉麵  味噌叉燒麵 金瓜米粉

 酸菜 榨菜

 

湯 海帶豆芽湯 海帶蛋花湯 酸辣湯 竹筍湯  扁魚白菜湯 香菇貢丸湯 金針湯

  貢丸湯 魚丸湯 青菜豆腐湯 酸菜豬血湯 苦瓜排骨湯 酸菜豬肚湯

  隔間肉湯 豬肝湯 肉片湯 綜合湯

牛蒡玉米精靈菇枸杞紅棗湯

番薯 芋頭 蓮藕 菱角

 

水煮肉 骨仔肉 嘴邊肉 隔間肉 五花肉 肝連 大小腸 生腸 粉腸 脆管 鴨肉 豬腳

魯味 豬頭皮 豬耳朵 魯花生 魯海帶 

 魯油豆腐 魯豆輪 魯豆皮 滷豆干 豆干絲 

 魯貢丸 魯蛋 魯大腸 魯五花

皮蛋豆腐 雞捲 花枝丸 蝦捲 蒜泥 燙青菜 燙韭菜豆芽 南乳炸雞

 涼拌小菜 雞蛋 小黃瓜 胡蘿蔔 豆芽 洋蔥

九層塔醬肉片

菇類 金針菇 香菇 杏鮑菇 蘑菇 鴻喜菇 秀珍菇 猴頭菇 木耳 銀耳 洋菇 草菇 美白菇 柳松菇 

https://www.books.com.tw/products/0010796217

DotNet-Framework. Zeus Framework

 https://www.xatlantis.ch/index.php/projects/zeus-framework

https://www.xatlantis.ch/index.php/downloads

The whole Zeus-Framework is built out of following software libraries:

    ZeusBase: Basic library of the C++ Framework for general use. Contains classes for data types, XML, multithreading, networking, RMI for C++, messaging and much more.

    ZeusMath: Mathematical library of the Zeus-Framework. It includes classes for mathematical basics, geometry, signal processing, artificial inteligence, fuzzy logic etc.

    ZeusPerv: Pervasive Computing library. This is actually the implementation of the hardware management and software distribution based on Cell Computing Model, Pervasive and Ubiquitous Computing.

    ZeusImg: Perception library of the Zeus-Framework. Nowadays it includes image processing only. Implements datatypes, filters and kernels specialized for signal processing.

    ZeusRobot: Robotics library of the Zeus-Framework. Currently only the NXT robot is supported.

There are lots of examples documented within this project site. See Education/Zeus-Framework. 

    ZeusBase: Basic library of the C# Framework for general use. Contains classes for data types, XML, multithreading, networking, messaging and much more.

    ZeusUI.WPF: Zeus User Interface based on WPF technology.

https://www.xatlantis.ch/index.php/2-uncategorised/6-your-template

2023年9月13日 星期三

flashing flickering Canvas Blinking delphi

 

Double Buffering is one way but not always sufficient. Imagine you paint a shape at runtime, it depends on your repaint method. Forces the control to repaint its image on the screen could be crucial.

Call Repaint to force the control to repaint its image immediately. If the ControlStyle property includes csOpaque, the control paints itself directly. So double buffering plus invalidate and [csOpaque] as controlstyle could be an improvement:

var Compass: TPaintBox;
procedure TForm1ForceRepaint(Sender: TObject);
{Called when display type or compass angle changes}
begin
  compass.controlstyle:= [csOpaque];
  while heading.value<0 do heading.Value:=heading.Value+360;
  while heading.value>360 do heading.Value:=heading.Value-360;
  compass.Invalidate;
end;
https://stackoverflow.com/questions/1954491/stop-flickering

https://delphi-bar.blogspot.com/2012/11/prevent-screen-refresh-and-flickering.html
LockWindowUpdate(Handle);
try
    // Code goes here
finally
    LockWindowUpdate(0);
end;

Solution 2

SendMessage(Handle, WM_SETREDRAW, WPARAM(False), 0);
try
     // Code goes here
finally
    SendMessage(Handle, WM_SETREDRAW, WPARAM(True), 0);
    RedrawWindow(Self.Handle, nil, 0, RDW_ERASE or RDW_FRAME or RDW_INVALIDATE or RDW_ALLCHILDREN);
end;
https://delphi-bar.blogspot.com/2012/11/prevent-screen-refresh-and-flickering.html

https://stackoverflow.com/questions/15308077/delphi-custom-animation-collision-detection

 

https://www.codeproject.com/Articles/33/Flicker-Free-Drawing-In-MFC
https://stackoverflow.com/questions/6363954/best-way-to-do-non-flickering-segmented-graphics-updates-in-delphi
https://stackoverflow.com/questions/17483147/flicker-does-not-reduce-after-double-buffering-in-mfc-cpaintdc
https://stackoverflow.com/questions/17483147/flicker-does-not-reduce-after-double-buffering-in-mfc-cpaintdc