2023年10月29日 星期日

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

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

國內開源項目:
CnPack:http://www.cnpack.org/
 https://github.com/cnpack/cnvcl
QDAC(QQ官方羣 250530692):http://blog.qdac.cc/
OrangeUI-Delphi移動開發利器(OrangeUI技術支持QQ羣:10900297)
RPMP-Restful Plugin Midware for Pascal(QQ 羣: 289501953): https://github.com/ZYHPRO/RPMP
MyBean輕量級配置框架,插件交流羣: 205486036: https://github.com/ymofen/delphi-framework-MyBean
ABFrameWork(Delphi 框架) QQ交流羣: 307455944 (非開源)
開源網絡庫之Delphi Cross Socket,由WiNDDRiVER(soulawing@gmail.com)開發的跨平臺網絡庫,代碼風格優美,註釋詳細,唯一不足的是Demo略少,在Github上開源:https://github.com/winddriver/Delphi-Cross-SocketQQ交流羣:152678031
開源網絡庫之DIOCP,由天地弦(www.diocp.org)開發的網絡併發框架,多線程管理庫diocp,經過長時間的測試,運行極爲穩定,在Github上開源:https://github.com/ymofen/diocp-v5QQ交流羣:638127021


Delphi國內優秀網站及開源項目
 https://www.twblogs.net/a/5efd6c459644181341a12ed5
https://www.cnblogs.com/tc310/category/593538.html
http://m.mamicode.com/info-detail-2941887.html

tux web server nginx lighttpd openresty epoll kqueue

 list web http server
On this page
https://www.linode.com/docs/guides/web-servers-list/
    The Web Servers List. Apache HTTP Server. Apache Tomcat. Caddy Web Server. Eclipse Jetty Webserver. H2O Web Server.
    Hiawatha Web Server.
    Internet Information Services.
    Lighttpd Web Server.
    NGINX Web Server. Node.js. OpenLiteSpeed Web Server.
    Hosting in the Cloud.


https://en.wikipedia.org/wiki/TUX_web_server
https://en.wikipedia.org/wiki/In-kernel_web_server
https://en.wikipedia.org/wiki/Service-oriented_architecture
https://en.wikipedia.org/wiki/Comparison_of_web_server_software
https://en.wikipedia.org/wiki/Web_server
https://en.wikipedia.org/wiki/Httpd
http://www.fenrus.demon.nl/
https://wiki.linuxquestions.org/wiki/List_of_web_servers
https://docstore.mik.ua/orelly/other/LRH/chp-12-sect-2.html
https://unixism.net/2019/04/linux-applications-performance-introduction/
https://docs.oracle.com/en/database/oracle/tuxedo/22/otxpo/oracle-tuxedo-web-accessible-services.html#GUID-C8FFCFBE-963D-4644-AD98-AF15B5643BE5

webserver RTU modbus SCADA OPC Server Communications 

webserver RTU  OPC Server  RTOS

https://realtimelogic.com/products/opc-ua/
RTOS Ready OPC-UA Client/Server


Modbus RTU/ASCII OPC Server
Automated Solutions
https://www.automatedsolutions.com › a...
Modbus OPC Server by Automated Solutions. Modbus RTU/ASCII OPC Server provides connectivity to Modbus PLCs, controllers, & instrumentation via serial port.

Embedded software solutions ST, 3rd parties and open ...STMicroelectronics
https://www.st.com › product_presentation › st...
server, Web server with SSI and CGI scripting, HTTP/2 client, MQTT and MQTT ... OPC UA Server   Embedded software solutions ST, 3rd parties and open source


HTTP Web Server Example FreeRTOS-Plus-TCP and ... FreeRTOS https://www.freertos.org › HTTP_web... This example uses FreeRTOS-Plus-TCP to implement a basic web (HTTP) server that accesses files from a file system implemented by FreeRTOS-Plus-FAT. Some demo ...


Embedded Web Server Demo Using the FreeRTOS ARM7 ... FreeRTOS https://www.freertos.org › portrowleyl... This demo application uses the FreeRTOS GCC ARM7 port along with the Rowley Associates CrossWorks integrated development tools to create a multitasking embedded ...


STM32-based FreeRTOS HTTP webserver example. GitHub https://github.com › MayaPosch › FreeR... Simple HTTP server based around FreeRTOS and the STM32 HAL libraries for Nucleo-F746ZG boards. Uses the LwIP Netconn API. It contains two HTML pages: The first ...

https://www.oschina.net/informat/%e6%89%80%e6%9c%89%e7%9a%84web%e6%9c%8d%e5%8a%a1%e5%99%a8


https://gist.github.com/willurd/5720255
list web http server web-servers md List of one-line web servers GitHub
linux freebsd driver network
iocp epoll rio ebpf kqueue
https://forums.freebsd.org/threads/running-freebsd-firewall-webserver-from-home-ip.64268/
https://docs.freebsd.org/en/books/handbook/config/
https://docs.freebsd.org/en/books/handbook/advanced-networking/
https://docs.freebsd.org/en/books/handbook/network-servers/


Contribution rate of each country gnu open source

 What countries have more open source developers

OpenSource contribution by country

Contribution rate of each country gnu open source

RPN Reverse Polish notation Polish notation Infix notation

 Reverse Polish notation

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

波蘭表示法 (Polish notation)
Polish notation
Infix notation

Stack
https://en.wikipedia.org/wiki/Calculator_input_methods
DAL  Direct Algebraic Logic
Advanced Scientific Calculator
RPN or DAL? A brief analysis of Reverse Polish Notation against Direct Algebraic Logic

Advanced Scientific Calculator algorithm
RPN DAL  Direct Algebraic Logic Reverse Polish notation Polish notation Infix notation
http://www.computersciencelab.com/RPNCalc.htm
Data Structure and Algorithms
Reverse Polish Notation (RPN) was devised as a method of simplifying mathematical expressions. RPN predates modern computers. It became useful with the ...

http://computer-programming-forum.com/29-pascal/e350d2466a1070f7.htm
Pascal, Algebraic -> Reverse Polish Notation
https://mathworld.wolfram.com/ReversePolishNotation.html

Reverse Polish notation Scientific Calculator source code
https://github.com/topics/rpn-calculator
https://github.com/RooiGevaar19/RPNCalculator

C++Builder AST TREE C++Builder toolsapi Abstract Syntax Tree

Using CDT APIs to programmatically introspect C/C++ code
https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.cdt.doc.isv%2Freference%2Fapi%2Findex.html
Eclipse CDT APIs to programmatically introspect C/C++ code
https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan
Eclipse CDT™ (C/C++ Development Tooling)

OpenTools API in RAD Studio - TCoffeeAndCode
LLVM Clang AST 
Abstract Syntax Tree Builder for Delphi. With DelphiAST  
PSIMiner processing PSI trees contain code syntax trees

https://github.com/RomanYankovsky/DelphiAST

https://stackoverflow.com/questions/31837122/library-for-c-abstract-syntax-trees-composition-and-code-generation
Library for C++ abstract syntax trees composition and code generation [closed]
https://docs.taichi-lang.org/blog/ast-refactoring
AST refactoring | Taichi Docs
https://stackoverflow.com/questions/17388771/get-human-readable-ast-from-c-code/17393852#17393852

https://learn.microsoft.com/zh-tw/dotnet/api/microsoft.jscript.ast?view=netframework-4.8.1
Learn .NET API  Microsoft.JScript AST Class

https://formulae.brew.sh/formula/
homebrew-core — Homebrew Formulae /api/formula.json (JSON API)

https://www.antlr.org/

https://eli.thegreenplace.net/2014/05/01/modern-source-to-source-transformation-with-clang-and-libtooling

2023年10月28日 星期六

personal organizer program Organizer automotive tracker calendar maker family friends data viewer budget journal personal planner todo list album

 personal organizer program Organizer

Personal  automobile tracker
Calendar Planner
maker family friends data viewer
financial accounting  budget
journal personal planner
Personal Diary
Daily to-Do Planner album
Notepad Journal
Personal  software
knowledge dictionary
To-do List Apps of 2023 for Personal Task Management
    Todoist.
    Microsoft To-Do.
    TeuxDeux.
    Any.do.
    ToodleDo.
    Habitica.
    TickTick.
    Google Keep.

Notepad Journal pocket diary spiral notebook

Asset Management System

Code Snippets CodeSnip: Pascal Source Code Snippets Repository ...
DelphiDabbler.com https://delphidabbler.com › software › c...A code snippets code bank for Windows, designed with Pascal code in mind. Users can add their own code & test compile in Delphi or Free Pascal. Open source.

Snipe-IT - Open Source Asset Management System
This is a FOSS project for asset management in IT Operations. Knowing who has which laptop, when it was purchased in order to depreciate it correctly, handling software licenses, etc.

https://snipe-it.readme.io/docs/external-libraries-scripts
Python Module by @jbloomer
SnipeSharp - .NET module in C# by @barrycarey
InQRy -unmaintained- by @Microsoft
SnipeitPS by @snazy2000 - Powershell API Wrapper for Snipe-it
jamf-snipe-rename - Python script to rename computers in Jamf from Snipe-IT
Marksman - A Windows agent for Snipe-IT
Snipe-IT plugin for Jira Service Desk
Python 3 CSV importer - allows importing assets into Snipe-IT based on Item Name rather than Asset Tag.
Snipe-IT Kubernetes Helm Chart - For more information, click here.
Snipe-IT Bulk Edit - Google Script files to use Google Sheets as a bulk checkout/checkin/edit tool for Snipe-it.
MosyleSnipeSync by @RodneyLeeBrands - Python script to synchronize information between Mosyle and Snipe-IT
WWW::SnipeIT by @SEDC - perl module for accessing the API

delphi DesignTime DesignIntf.pas DesignIntf DesignIntf DesignNotification IDesignNotification RegisterDesignNotification delphi DesignIntf IDesignNotification IDesigner delphi designintf componentdesigner designwindows

IDesignNotification  IDesignNotification  RegisterDesignNotification
delphi  DesignIntf IDesignNotification IDesigner
delphi designintf componentdesigner designwindows
tools delphi Language macros preprocessors  Code refactoring
Some IDE Editor Refactorings – MMX
https://www.mmx-delphi.de/screenshots/editor-refactorings/
RegisterDesignNotification
ItemInserted DesignIntf IDesignNotification SelectionChanged  IDesignNotification  RegisterDesignNotification SelectionChanged DesignerClosed ItemInserted

https://stackoverflow.com/questions/73414667/capture-selected-element-in-a-tform-in-design-time
http://mc-computing.com/languages/delphi/Property_Editors.html
Delphi - Property Editors
http://www.drbob42.com/delphi/property.htm
Dr.Bob's Delphi Clinic: Delphi Property and Component Editors for the Best Blog Hosting Sites

https://stackoverflow.com/questions/45719565/delphi-component-creation-design-time

https://wiert.me/2019/02/19/delphi-component-to-show-some-text-file-at-design-time/
Delphi component to show some text file at design time « The Wiert Corner – irregular stream of stuff
uDesignNote TDesignNote FContentForm FFileName GetContentForm HideFileContent SetFileName SetVisible ShowFileContent UpdateView Notification Operation TOperation

https://gist.github.com/UweRaabe/0cac18ac4d40f8c44d69e08306d3f726
Delphi component to show some text file at design time
 @UweRaabe UweRaabe/uDesignNote.pas

https://www.opendll.com/index.php?file-download=designide60.bpl&arch=32bit&version=6.0.10.160&dsc=Borland-IDE-Designer-Package

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Design-time_Packages

http://www.delphigroups.info/2/19/518147.html
Design-time versus Run-time code - delphi

https://github.com/stden/trtm/blob/master/QuickRep/DesignIntf.pas
uses SysUtils, Classes, Types, TypInfo, IniFiles, DesignMenus, Controls;
  TPropKind = (pkProperties, pkEvents);
  IProperty = interface;
  TGetPropProc = procedure(const Prop: IProperty) of object;
  TPropertyAttribute = (paValueList, paSubProperties, paDialog, paMultiSelect,
    paAutoUpdate, paSortList, paReadOnly, paRevertable, paFullWidthName,
    paVolatileSubProperties, paVCL, paNotNestable);
  TPropertyAttributes = set of TPropertyAttribute;

https://docwiki.embarcadero.com/Libraries/Alexandria/en/Vcl.Controls.TControl.ControlStyle
Vcl.Controls.TControl.ControlStyle

https://github.com/delphi-blocks/WiRL/blob/master/Source/Core/WiRL.Core.Application.Editor.pas
wirl: Delphi RESTful Library

https://neftali.clubdelphi.com/category/programacion/page/2/
/*Prog*/ Delphi-Neftalí /*finProg*/Programación - /*Prog*/ Delphi-Neftalí /*finProg*/

https://github.com/bbrandt/bpl-map-XE7/blob/master/designide210.def
bpl-map-XE7/designide210.def

https://github.com/acras/components/blob/master/thirdparty/mxexports/mxExportReg.pas

http://www.verysource.com/code/33940412_1/dxLayoutDesignCommon.pas.html
dxLayoutDesignCommon.pas  DevEx_Delphi7_Library.rar

https://www.mmx-delphi.de/screenshots/editor-refactorings/
Some IDE Editor Refactorings – MMX ModelMaker Code Explorer adds Refactorings to the IDE code editor.

https://crystalnet-tech.com/RuntimeLibrary/Help/html/index.htm?page=Place_.Net_Controls_on_VCL_Form.htm
Creating a ClrContainer  We can create a ClrContainer Control using the Forms designer at design-time or using the TClrContainer class in code at run-time.  Design Time

https://www.atug.com/andypatterns/modelmak.htm
Modelmaker UML
Patterns, ModelMaker & Beyond

delphi designtime Architecture delphi design time packages dclcrdbx bpl

https://github.com/paolo-rossi/OpenAPI-Delphi
https://github.com/landgraf-dev/openapi-delphi-generator
https://github.com/paolo-rossi/delphi-neon
https://swagger.io/blog/api-design/openapi-driven-api-design/
OpenAPI-Delphi. OpenAPI 3.0 library
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/VCL_Overview

https://github.com/TurboPack/SynEdit/blob/master/readme.md
Delphi Sources - Creating Compound Components - English Delphi Programming Guide
https://delphisources.ru/pages/faq/master-delphi-7/content/LiB0091.html
https://www.researchgate.net/figure/Component-Based-Architecture-In-the-figure-3-there-are-5-components-in-the-system-1_fig1_284358347
https://www.researchgate.net/figure/Meta-components-in-Delphi-at-design-time_fig4_243762954
4: Meta-components in Delphi at design time. | Download Scientific Diagram
https://www.researchgate.net/figure/Component-specification-architecture_fig2_222269453
https://www.amazon.co.uk/Delphi-Component-Design-Architecture-Development/dp/0201461366
http://www.felix-colibri.com/papers/web/intraweb_architecture/intraweb_architecture.html
http://www.felix-colibri.com/papers/web/intraweb_architecture/intraweb_architecture.html
https://etutorials.org/Programming/mastering+delphi+7/Part+III+Delphi+Database-Oriented+Architectures/Chapter+13+Delphi+s+Database+Architecture/MyBase+Stand-alone+ClientDataSet/



TTreeNode leak when VCL styles are active - Page 2 - VCL - Delphi-PRAXiS [en]

https://en.delphipraxis.net/topic/4520-ttreenode-leak-when-vcl-styles-are-active/
https://en.delphipraxis.net/topic/4520-ttreenode-leak-when-vcl-styles-are-active/?page=2

https://github.com/EtheaDev/SVGIconImageList/tree/master/Demo


   spdbtn_ShowMyFrameOnPanel2: TSpeedButton;
    pnlFormMainClientArea: TPanel;
    ComboBox1: TComboBox;
    procedure spdbtn_ShowMyFrameOnPanel2Click(Sender: TObject);
 myFrameWithTreeViews: TfrmeFrameWithTreeViews = nil;
  ComboBox1.Items.AddStrings(TStyleManager.StyleNames);
  ComboBox1.ItemIndex := ComboBox1.Items.IndexOf(TStyleManager.ActiveStyle.Name);
  TfrmeFrameWithTreeViews = class(TFrame)
    Splitter1: TSplitter;
    tvOnPanelLeft: TTreeView;
    pnlToPageControl: TPanel;
    Splitter2: TSplitter;
    pnlWithPageControlInto: TPanel;
    PageControl1: TPageControl;
    TabSheet1: TTabSheet;
    tvOnTabSheet1: TTreeView;
    TabSheet2: TTabSheet;
    pnlWithMemoInto: TPanel;
    Memo1: TMemo;
    pnlToTreeViewOnLeftOnFrame: TPanel;
    Panel1: TPanel;
    spdbtnAddNewItemsOnLeft: TSpeedButton;
    Panel2: TPanel;
    spdbtnAddNewItemsOnRight: TSpeedButton;
    pgctrlOnFrame: TPageControl;
    TabSheet3: TTabSheet;
    tvOnpgctrlOnFrameOnTabSheet3: TTreeView;
    SpeedButton1: TSpeedButton;

Exploring Delphi XE3 – WinApi Additions – Winapi.Wbem WMI Tasks using Delphi – Registry JEDI API Library & Security Code Library

 
https://theroadtodelphi.com/tag/wmi/


https://learn.microsoft.com/zh-tw/windows/win32/wmisdk/wmi-start-page?redirectedfrom=MSDN
https://learn.microsoft.com/en-us/previous-versions/tn-archive/ee156554(v=technet.10)?redirectedfrom=MSDN
https://sourceforge.net/projects/jedi-apilib/
https://theroadtodelphi.com/2012/04/09/how-obtain-the-source-of-the-wmi-data/
https://learn.microsoft.com/zh-tw/windows/win32/cimwin32prov/win32-process?redirectedfrom=MSDN

Exploring Delphi XE3 – WinApi Additions – Winapi.Wbem

Delphi XE3 introduces a lot of new WinApi headers translations, between them is the Winapi.Wbem unit which is the Delphi (object pascal) translation for the wbemidl.h file which contains the WMI Component Object Model (COM) interface definitions. This means that from now you can access the WMI in a fastest way and directly using COM avoiding the use of the Microsoft WMIScripting Library and third party libraries.

 

 JEDI API Library & Security Code Library

 The JWA library aims to provide a conversion from C to Delphi of as many headers as possible from the PSDK etc. The JWSCL (security library) is an advanced object-oriented framework for programming with the Windows security features (ACL, Tokens, etc.)2013年9月25日

The JWA library aims to provide a conversion from C to Delphi of as many headers as possible from the PSDK etc. The JWSCL (security library) is an advanced object-oriented framework for programming with the Windows security features (ACL, Tokens, etc.)

Design and Tests of a High-Performance Long-Wave Infrared Refractive Thermal Imager: Freeform Lens in Coaxial System

 FL 100mm F1.0 LWIR Motorized Lens For Thermal Imaging Camera

Fl 100mm F1.0 Lwir Motorized Lens For Thermal Imaging Camera , Find Complete Details about Fl 100mm F1.0 Lwir Motorized Lens For Thermal Imaging Camera,Fl 100mm F1.0 Lwir Motorized Lens,Lwir Motorized ...

OEM Dahua Security IP Camera SD5A825-HNR-YA PTZ, 1/1.8",8MP@30FPS,25X(5.4~135mm),IR(492ft),True WDR,Starlight,VCA,PP,FD,Auto Tracking,Audio/Alarm,SD Slot,Brackt/Power Included, POE+

LWIR Zoom Lenses for Thermal Imaging Camera    Maximum 13X Zoom Ratio    Wide focal length range: wide angle focal lengths to a maximum telescope focal length: 400mm    Motorized focusing or manual focusing    DLC coating on front lenses 

https://www.unmannedsystemstechnology.com/feature/advanced-ir-zoom-lenses-for-next-generation-thermal-imaging/

2023年10月27日 星期五

delphi now today weekday isoday = (dayofweek + 5) mod 7 + 1

https://docwiki.embarcadero.com/CodeExamples/Sydney/en/DayOfWeek_(Delphi)
https://docwiki.embarcadero.com/Libraries/Sydney/en/System.SysUtils.DayOfWeek
http://www.delphibasics.co.uk/RTL.php?Name=DayOfTheWeek
https://en.wikipedia.org/wiki/Leap_year
https://en.wikipedia.org/wiki/Leap_week_calendar
https://github.com/akshayvadher/leap-years-tdd
https://github.com/stdlib-js/assert-is-leap-year
https://github.com/search?q=leap+language%3APascal+&type=repositories
https://github.com/search?q=leap+calendar+language%3APascal+&type=code
delphi today weekday leap calendar
https://www.delphibasics.co.uk/Method.php?NameSpace=System.Globalization&Class=Calendar&Type=Class&Method=GetDayOfWeek
today weekday leap calendar GetDayOfWeek libraries easiest method  calculating
Algorithms for Calculating Day of Week
https://calendars.fandom.com/wiki/Calculating_the_day_of_the_week
https://en.wikipedia.org/wiki/Determination_of_the_day_of_the_week
https://learn.microsoft.com/zh-tw/dotnet/api/system.globalization.calendarweekrule?view=net-7.0
https://stackoverflow.com/questions/71269276/same-dayofweek-for-a-given-year-in-delphi
 isoday = (dayofweek + 5) mod 7 + 1

delphi today weekday leap calendar  System Globalization  today weekday leap calendar GetDayOfWeek libraries easiest method  calculating Algorithms for Calculating Day of Week calendars Calculating

http://www.delphigroups.info/2/5b/83334.html
Warning : ISO-8601 calls for Monday=1, Sunday=7. ISOday = (DayOfWeek+6) mod 7. -- ? John Stockton, Surrey, UK. j.

can also be usefull:

var
  FirstWeekDay: Integer = 2; { first day of week
    2 : monday (DIN 1355) }
  FirstWeekDate: Integer = 4; { date in first week
    1 : year starts on Jan 1st
    4 : first "4-day-week" (DIN 1355)
    7 : first complete week }

{ Returns date of first day of week }
function WeekToDate(AWeek, AYear: Integer): TDateTime;
begin
  Result := EncodeDate(AYear, 1, FirstWeekDate);
  Result := Result + (AWeek - 1) * 7 - ((DayOfWeek(Result) + (7 -
FirstWeekDay)) mod 7);
end;

{ Returns no. of week and year the week belongs to }
procedure DateToWeek(ADate: TDateTime; var AWeek, AYear: Integer);
var
  Month, Day: Word;
begin
  ADate := ADate - ((DayOfWeek(ADate) - FirstWeekDay + 7) mod 7) + 7 -
FirstWeekDate;
  DecodeDate(ADate, AYear, Month, Day);
  AWeek := (Trunc(ADate - EncodeDate(AYear, 1, 1)) div 7) + 1;
end; 


TASClient/ESBDates.pas at master · spring-archive ...https://github.com › spring-archive › TASClient › blob  Lobby Client for Windows written in Delphi. Contribute to spring-archive/TASClient development by creating an account on GitHub.

JclDateTime.pas  https://github.com › source › common The result is an integer between // 1 and 7, corresponding to Sunday through Saturday. ISODayOfWeek on the other hand returns an integer // between 1 and 7 ...

dayofweek · GitHub Topics https://github.com › topics › dayofweek Python function accepts mm/dd/yyyy and outputs day of week as string and integer. Any date since 1600. python calendar dates gregorian-calendar gregorian-date ...
 
GpDelphiUnits/src/GpTimezone.pas at master  https://github.com › gabr42 › blob › Gp... weekday (0 to 6, 0 = Sunday), and using a wDay value in the range 1 through 5 to select the correct day in the month. Year parameter is used to specify year ...

Calculate the local day of the week from Unix time and time ...https://gist.github.com › ...Calculate the local day of the week from Unix time and time zone offset - dayofweek.c.
 
SQL Server: DateTime.DayOfWeek translation · Issue #10404  https://github.com › aspnet › issues  Currently there is no translation for DayOfWeek property of DateTime value, it evaluates on client. When using in complex queries it can ...
 
filter on day of week · Issue #624  https://github.com › npgsql › issue try to filter a datetime field on the day of the week. For example (if I only want mondays): DayOfWeek d = DayOfWeek.Monday; filter.
 
ISOWeek.cs  https://github.com › src › Globalization... DayOfWeek) + 10) / 7; } // Day of week in ISO is represented by an integer from 1 through 7, beginning with Monday and ending with Sunday. // This matches ...

GpDelphiUnits/src/GpStuff.pas at master - gabr42 https://github.com › gabr42 › GpDelphiUnits › blob › G...A collection of my open sourced Delphi units. Contribute to gabr42/GpDelphiUnits development by creating an account on GitHub.
https://github.com/gabr42/GpDelphiUnits/tree/master

Calendar Globalization DayOfWeek https://learn.microsoft.com/zh-tw/dotnet/api/system.globalization.calendar.getdayofweek?view=net-7.0

WeekDay Get Current Week (VB.NET)  Private Function GetCurrentWeek() As String  Dim dat As DateTime = DateTime.Now() Dim culInfo As New CultureInfo(“zh-TW") Dim cal As Calendar = culInfo.Calendar() Dim week As Integer = cal.GetWeekOfYear(dat, CalendarWeekRule.FirstDay, DayOfWeek.Sunday) Return week.ToString(“00″)


algorithms date time
https://www.researchgate.net/publication/316558298_Date_Algorithms
Gregorian Calendar Julian date  Julian Day
https://liuzhenglaichn.gitbook.io/algorithm/date
https://en.wikibooks.org/wiki/Algorithm_Implementation/Date_and_time/Conversion_of_a_Gregorian_date_to_an_International_Fixed_Calendar_date
https://copyprogramming.com/t/algorithm-to-determine-if-a-given-datetime#google_vignette
https://www.boost.org/doc/libs/1_54_0/doc/html/date_time/gregorian.html
https://learn.microsoft.com/en-us/analysis-services/data-mining/microsoft-time-series-algorithm?view=asallproducts-allversions

NOAA’s National Geodetic Survey (NGS) provides the framework Existing algorithms and source code available
https://geodesy.noaa.gov/gps-toolbox/exist.htm

NTP NTC 熱敏 電阻 Positive Temperature Coefficient Negative positive temperature coefficient resistor

https://zh.wikipedia.org/wiki/%E7%83%AD%E6%95%8F%E7%94%B5%E9%98%BB
https://en.wikipedia.org/wiki/Thermistor
https://zh.wikipedia.org/wiki/%E6%B9%A7%E6%B5%AA%E9%9B%BB%E6%B5%81%E9%99%90%E5%88%B6%E5%99%A8
https://en.wikipedia.org/wiki/Inrush_current_limiter
負溫度係數Negative Temperature Coefficient (NTC)
正溫度係數(PTC,Positive Temperature Coefficient)
Positive Temperature Coefficient (PTC)
臨界溫度熱敏電阻CTR,Critical Temperature Resistance)

main distribution frame  Overvoltage protection 

MOV based modular solid-state switches and a concentrated
壓敏電阻Metal Oxide Varistors  MOV Metal Voltage Dependent Resistor

https://embeddedschool.in/list-types-of-protection-devices/

tvs over Voltage  protection component
tvs over Voltage  protection

Over-Voltage and Over-Current Protection Explained over Voltage  protection component Components such as MOV, GDT, SPG (Spark Gap Protectors) and TSS (Thyristor Surge Suppressors) serve as the primary form of protection against overvoltage. TVS and ESD

Optical spectrometer Spectrometry diffraction grating VHP grating Prism PGP spherical Conical surface Cone LENs Monochromator

 diffraction grating VHP grating Prism PGP spherical

The Optics of Spectrometry: A Guide to Spectroscopy Gratings

Direct-vision, dispersing prism-grating-prism (PGP) spectrograph used... | Download Scientific Diagram 

https://www.avantes.com/support/theoretical-background/introduction-to-spectrometers/

https://support.zemax.com/hc/zh-cn/articles/1500005578762-How-to-build-a-spectrometer-theory

Conical surface Cone 

Optical  Conical surface Cone grating Conical surface Cone  IR filter  Grating Equation

Optimization and Performance Evaluation of Apodization Function for Fiber Bragg Grating as Vital Sign Sensor | SpringerLink

Optical  Cone grating filter Optical filtering

2023年10月26日 星期四

mass spectrometer measures potassium DIY mass spectrometer measures potassium in dietary salt substitute

 https://youtu.be/nIKhUizkXxA?si=tmYzMywXETWHOeDm

button doorbell ESD Protection Circuits protection zener TVS uClamp3301D BAT54S BAV99 1N4148W AN015 - Input Protection Circuits

 https://electronics.stackexchange.com/questions/663623/mcu-input-pin-protection

button ESD Protection Circuits doorbell protection

 zener TVS uClamp3301D BAT54S BAV99  1N4148W 

https://resources.altium.com/p/beginners-guide-esd-protection-circuit-design-pcbs

https://circuitcellar.com/resources/ee-tips/active-esd-protection-for-microcontrollers-ee-tip/

Active ESD Protection for Microcontrollers (EE Tip #129) - Circuit Cellar

https://uk.rs-online.com/web/content/discovery/ideas-and-advice/push-button-switches-guide

https://www.electroschematics.com/musical-doorbell/

Schematic of the musical doorbell circuit

button  doorbell protection  Input Protection Circuits diode Isolated

interference - Microcontroller with a long wire for digital input - Electrical Engineering Stack Exchange
https://electronics.stackexchange.com/questions/49824/microcontroller-with-a-long-wire-for-digital-input
protection Protecting MCU digital input with 300m wires - Electrical Engineering Stack Exchange https://electronics.stackexchange.com/questions/607286/protecting-mcu-digital-input-with-300m-wires


https://en.wikipedia.org/wiki/Voltage_spike
SPD Switch  charge over switch EMC Filters  Surge Protection spikes Electromagnetic pulses
Inductor kickback
Voltage spike ELECTRICAL switch
Resistor-capacitor snubber configuration.
Resistor-capacitor snubber
Resistor-Capacitor (RC) Snubber Design for Power Switches | DigiKey
https://www.digikey.tw/en/articles/resistor-capacitor-rc-snubber-design-for-power-switches
https://www.quora.com/How-does-an-RC-Snubber-circuit-work
https://eepower.com/technical-articles/snubber-network-choices-design-and-evaluation/


delphi iocp socket tcpip network

     
https://sourceforge.net/p/synalist/code/HEAD/tree/trunk/
http://www.ararat.cz/synapse/doku.php/download
         Ararat Synapse Code  SynaSer serial library Synapse TCP/IP and serial library Winsock
http://visualsynapse.sourceforge.net/  
         VisualSynapse TCP/IP Delphi components based on Synapse.
http://synapse.ararat.cz/files/contrib/  
         Contributed Download Area - various samples and others.
http://synapse.ararat.cz/files/crypt/  
         Crypting libraries for SSL/TLS/SSH in Synapse
http://synapse.ararat.cz/files/W95ws2setup.exe  
         Winsock2 support for Windows95
http://www.wireshark.org/  
         Wireshark excellent tool for analyse and debugging of network communication.
https://www.nsoftware.com
https://www.nsoftware.com/products/
         Internet Communications and Security

voipobjects delphi-iocp-library voipobjects delphi-iocp-library  http://voipobjects.com/

https://github.com/tondrej/iocp-delphi
         Windows IO Completion Port wrapper class for Delphi and Free Pascal
          compilers: Delphi 7 or higher, Free Pascal 3.0.4 or higher
          targets: Windows XP/Windows Server 2003 or higher, both 32 and 64-bit

Fiber and IOCP API siqiyi/libfiber The high performance coroutine library
GitHub iqiyi libfiber OS platfroms including Linux, FreeBSD, MacOS, and Windows, which supports
 select, poll, epoll, kqueue, iocp, and even Windows GUI messages

Using beamer overlays with forest generated trees

HPScktSrvr at http://www.torry.net/ with the code pages.php?id= and a number sequence of 220#939383

Indy, ICS, Synapse, and Clever InetSuite,
ICS - The Internet Component Suite

iocpengine iocpengine - I/O Completion Port Engine for Delphi

TISAPIThreadPool; TIstringHelper; TIWPaintHandler. TIWPaintHandlerDsn. TIWPaintHandlerButton; TIWPaintHandlerCheckBox; TIWPaintHandlerComboBox ...

HttpSys2WebServer from DWScript use an IOCP-based server.

https://torry.net/components/internet/sockets/#939383

https://habr.com/ru/articles/145140/
Windows Sockets, IOCP и Delphi



//////////////////////////////////////////////////////////////////////////////////////////////////////
 Создание списков сокетов разных типов.
Инициализация подсистемы сокетов.
Создание очереди сообщений.
Создание пула для обработки очереди.
Создание событий для сокетов.
Создание потоков отслеживающих сокетные события( например подключение нового клиента)
procedure Init;
var
  WSAData: TWsaData;
  i: Integer;
begin
  gClients := TProtoStore.Create;
  gListeners := TProtoStore.Create;
  gServerClients := TProtoStore.Create;
  if WSAStartup(MAKEWORD(2, 2), WSAData) <> 0 then
    raise IOCPClientException.Create(sErrorInit_WSAtartup);
  gIOCP := CreateIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0, CPUCount * 2);
  if gIOCP = INVALID_HANDLE_VALUE then
    raise IOCPClientException.Create(sErrorInit_CreateIoCompletionPort);
  for i := 1 to CPUCount * 2 do
 begin
    SetLength(gWorkers, Length(gWorkers) + 1);
    gWorkers[Length(gWorkers) - 1] := TWorkerThread.Create();
  end;
  gListenerAcceptEvent := WSACreateEvent;
  if gListenerAcceptEvent = WSA_INVALID_EVENT then
    raise IOCPClientException.Create(sErrorInit_WSACreateEvent);
  gServerClientsCloseEvent := WSACreateEvent;
  if gServerClientsCloseEvent = WSA_INVALID_EVENT then
    raise IOCPClientException.Create(sErrorInit_WSACreateEvent);
  gClisentsConnectAndCloseEvents := WSACreateEvent;
  if gClisentsConnectAndCloseEvents = WSA_INVALID_EVENT then
    raise IOCPClientException.Create(sErrorInit_WSACreateEvent);
  gClientSocketEventThread := TSocketEventThread.Create
    (gClisentsConnectAndCloseEvents, gClients, ET_EVENT_SIGNALED);
  gClientSocketEventThread.Start;
  gServerClientsSocketEventThread := TSocketEventThread.Create
    (gServerClientsCloseEvent, gServerClients, ET_EVENT_SIGNALED);
  gServerClientsSocketEventThread.Start;
  gServerSocketEventThread := TSocketEventThread.Create(gListenerAcceptEvent,
    gListeners, ET_EVENT_SIGNALED);
  gServerSocketEventThread.Start;
end;

diocp DIOCP 无锁队列 ZeroMQ QWorkers uJobPusher RabbitMQ websocket network

 https://www.opensourceagenda.com/projects/zserver4d
内置抗量子密码支持 https://en.wikipedia.org/wiki/SHA-3  支持了5大美国国家标准技术研究所(NIST)高级加密标准算法      rc6加密,通讯协议支持 https://en.wikipedia.org/wiki/RC6     Twofish加密,通讯协议支持 https://en.wikipedia.org/wiki/Twofish     Serpent加密,通讯协议支持 https://en.wikipedia.org/wiki/Serpent_(cipher)     Mars加密,通讯协议支持 https://en.wikipedia.org/wiki/MARS_(cipher)     Rijndael加密,通讯协议支持 https://en.wikipedia.org/wiki/Advanced_Encryption_Standard

 https://www.nuget.org/packages/SimpleMsgPack
 https://www.twblogs.net/a/5ef0629c33cbe858769e7fee
zmq_strerror - 台部落

 https://www.oschina.net/project/widgets/_project_list?company=0&tag=12&lang=0&os=156&sort=favorite&recommend=false&cn=false&weekly=false&p=150&type=ajax

 http://m.mamicode.com/info-detail-1515096.html
DIOCP之DEMO-登陆验证设计(二)-码迷移动版-m.mamicode.com

http://bbs.2ccc.com/topic.asp?topicid=460182
DIOCP开源项目-DIOCP3
http://www.cnblogs.com/DKSoft/p/3889125.html
目前diocp3的开源地址 https://github.com/ymofen/diocp3
https://code.google.com/archive/p/diocp/source/default/source?page=33
Google Code Archive - Long-term storage for Google Code Project Hosting.

https://www.cnblogs.com/hnxxcxg/category/1168706.html
DIOCP TDiocpCoderTcpServer异步任务投递队列TDiocpCoderTcpServer异步任务投递队列 
 delphi中间件  TDiocpCoderTcpServer数据序列和还原 TDiocpCoderTcpServer数据序列和还原 

 http://wedelphi.com/f/4/
DIOCP | WeDelphi Forum

 https://gitee.com/ymofen/diocp-v5
diocp-v5: iocp, websocket, delphi,http

https://github.com/yangyxd/YxdIOCP
yangyxd/YxdIOCP: Delphi Windows IOCP 通讯模型封装,基于DIOCP。YxdIocp包含有支持大并发的TCP服务组件、HTTP服务组件、UDP服务组件、WebSocket服务组件,和TCP、UDP等基础客户端组件。

https://github.com/ymofen/diocp-v5

diocp DIOCP  无锁队列 ZeroMQ QWorkers
uJobPusher RabbitMQ websocket

  diocp  websocket DIOCP 开源地址 DIOCP-v5开源项目地址https://github.com ... WebSocket + Spring Security + SpringData-Jpa + MySql工程结构说明java .

webflux · GitHub Topics

flex开源项目地址   https://github.com/flex-users/flexlib

 

 

Awesome Delphi

 Awesome Delphi
https://www.ancii.com/ayb3e4z7x/
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
CnPack:http://www.cnpack.org/
       https://github.com/cnpack/cnvcl
QDAC(QQ官方群 250530692):http://blog.qdac.cc/
OrangeUI-Delphi移动开发利器(OrangeUI技术支持QQ群:10900297)
RPMP-Restful Plugin Midware for Pascal(QQ 群: 289501953): https://github.com/ZYHPRO/RPMP
MyBean轻量级配置框架,插件交流群: 205486036: https://github.com/ymofen/delphi-framework-MyBean
ABFrameWork(Delphi 框架) QQ交流群: 307455944 (非开源)
开源网络库之Delphi Cross Socket,由WiNDDRiVER()开发的跨平台网络库,代码风格优美,注释详细,唯一不足的是Demo略少,在Github上开源:https://github.com/winddriver/Delphi-Cross-SocketQQ交流群:152678031
开源网络库之DIOCP,由天地弦(www.diocp.org)开发的网络并发框架,多线程管理库diocp,经过长时间的测试,运行极为稳定,在Github上开源:https://github.com/ymofen/diocp-v5QQ交流群:638127021
ZServer4D,细雨老仙从商业项目(游戏类)剥离而出的云服务器中间件,可以承载百万级在线的分布式长连接负载,在Github上开源:https://github.com/PassByYou888/ZServer4DQQ交流群:490269542
FMXUI 跨平台UI组件库 https://github.com/yangyxd/FMXUI
YxdJSON Delphi 高性能 JSON 库(支持RTTI和序列化操作)支持平台: Windows, Android, iOS, Mac OS https://github.com/yangyxd/YxdJson
YxdIocp Delphi 高性能 IOCP 通讯模型组件包 (包括TCP、UDP、HTTP、WebSocket等服务器组件和客户端组件)支持平台: Windows https://github.com/yangyxd/YxdIOCP
YxdWorker Delphi 多线程高并发作务引擎 支持平台: Windows, Android, iOS, Mac OS https://github.com/yangyxd/YxdWorker
YxdGameFrame Unity 轻量级游戏开发消息引擎框架 支持平台: Windows, Android, iOS, Mac OS 等 https://github.com/yangyxd/YxdGameFrame
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

https://github.com/Fr0sT-Brutal/awesome-delphi

Delphi IDE Theme Editor(DITE)是一个工具,用于自定义像Delphi(RAD Studio)这样的几个Object Pascal IDE的IDE颜色突出显示。
https://github.com/RRUZ/delphi-ide-theme-editor

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库头文件的翻译。
https://github.com/Laex/Delphi-OpenCV

DUnitX是一个新的测试框架,从DUnit,NUnit和其他测试框架中提出了一些想法。它被设计为与Delphi 2010或更高版本一起使用,它使用了旧版Delphi中没有的语言/ RTL功能。
https://github.com/VSoftTechnologies/DUnitX

Delphi IDE Colorizer(DIC)是一个插件,它可以使RAD Studio IDE的工作空间
https://github.com/RRUZ/Delphi-IDE-Colorizer

CEF4Delphi是由SalvadorDíazFau创建的一个开源项目,用于在基于Delphi的应用程序中嵌入基于Chromium的浏览器。
https://github.com/salvadordf/CEF4Delphi

OmniThreadLibrary是一个简单易用的Delphi线程库。OTL的主要“卖点”(除了价格之外)是力量,简单和开放。只需要几行代码,就可以设置多个线程,在它们之间发送消息,处理Windows消息等等。
https://github.com/gabr42/OmniThreadLibrary

Power Supply current consumption consumption Reducing Relay Power Consumption Circuit Diagram Power-Saving Relay Driver | Full Electronics Project with Source Code

 Power Supply current consumption consumption   

Reducing Relay Power Consumption Circuit Diagram  

Power-Saving Relay Driver | Full Electronics Project with Source Code   

logic threshold  analogue switch  MAX4624 reaches  threshold
Reducing Relay Power Consumption Circuit Diagram

https://www.electroschematics.com/low-current-relay/

Power Supply current consumption consumption Reducing Relay Power Consumption Circuit Diagram
https://www.eeweb.com/reducing-relay-power-consumption/

https://www.eeweb.com/dual-relay-driver-board-circuit-schematic/
https://subscription.packtpub.com/book/iot-and-hardware/9781838982461/10/ch10lvl1sec14/exploring-a-relay-driver-circuit
Infrared Sensor Based Power Saver | Circuit Diagram Available
https://www.electronicsforu.com/electronics-projects/power-saving-relay-driver

https://www.homemade-circuits.com/how-to-make-relay-driver-stage-in/
Transistor Relay Driver Circuit with Formula and Calculations | Homemade Circuit Projects In this article we will comprehensively study a transistor relay driver circuit and learn how to design its configuration by calculating the parameters through formulas. Importance of Relay Relays are