2023年10月31日 星期二

signal edge 上緣觸發指令PLS(Pulse) Rising Edge rising edge (or positive edge) rising edge-triggered electronics

 signal edge
上緣觸發指令PLS(Pulse)
Rising Edge
rising edge (or positive edge)
rising edge-triggered

負緣 falling edge
 falling edge (or negative edge)

In the case of a pulse, which consists of two edges:

    The leading edge (or front edge) is the first edge of the pulse.
    The trailing edge (or back edge) is the second edge of the pulse.
使用Verilog自定義原語(user defined primitives)時,正緣、負緣分別以(01)、(10)表示,也可以用縮寫字母r、f表示。

三菱PLC PLS和PLF指令的使用简介
階梯圖Ladder Diagram (LD)
PLS(Pulse):上升沿微分输出指令。 PLF:下降沿微分输出指令

Flip-flop)致能(enable)或允動(gate)預置(preset)與清除(clear)邊緣觸發(edge-triggered)
正緣觸發(positive edge-triggered)
 負緣觸發(negative edge-triggered)三態邏輯

三態邏輯 tri-state logic 或Three-state logic)有CS(晶片選擇,chip select)和OE(輸出使能,output enable)
上拉電阻(英語:Pull-up resistors)下拉電阻(Pull-down resistor)
0     1     Z (high impedance

 Kleene and Priest logics   
 F  U  T


    Buffer amplifier
    Logic level
    Metastability
    Three-valued logic
    Four-valued logic
    Nine-valued logic
    Don't care
    Single pole, centre off (SPCO)

Multiplexer

verilog  Symbol    Comments
0    Logic 0
1    Logic 1
x    Unknown, can be either logic 0 or 1. Can be used as input/output or current state of sequential UDPs
?    Logic 0, 1 or x. Cannot be output of any UDP
-    No change, only allowed in output of a UDP
ab    Change in value from a to b where a or b is either 0, 1, or x
*    Same as ??, indicates any change in input value
r    Same as 01 -> rising edge on input
f    Same as 10 -> falling edge on input
p    Potential positive edge on input; either 0->1, 0->x, or x->1
n    Potential falling edge on input; either 1->0, x->0, 1->x

 true false R  rising edge F falling edge 

 

Verilog  user defined primitives r f

https://www.javatpoint.com/verilog-user-defined-primitives

leading edge trailing edge positive edge-triggered negative edge-triggered Flip-Flop Circuit

https://zh.wikipedia.org/wiki/Verilog

2023年10月30日 星期一

Custom FireMonkey "TSimpleTriangle" component TCanvas = class(TInterfacedPersistent, IFreeNotification) TSimpleTriangle = class(TShape)

 https://community.embarcadero.com/index.php/blogs/entry/custom-firemonkey-tsimpletriangle-component-39692
    procedure DrawLine(const APt1, APt2: TPointF; const AOpacity: Single); virtual; abstract;
    procedure FillRect(const ARect: TRectF; const XRadius, YRadius: Single; const ACorners: TCorners;
      const AOpacity: Single; const ACornerType: TCornerType = TCornerType.ctRound); virtual; abstract;
    procedure DrawRect(const ARect: TRectF; const XRadius, YRadius: Single; const ACorners: TCorners;
      const AOpacity: Single; const ACornerType: TCornerType = TCornerType.ctRound); virtual; abstract;
    procedure FillEllipse(const ARect: TRectF; const AOpacity: Single); virtual; abstract;
    procedure DrawEllipse(const ARect: TRectF; const AOpacity: Single); virtual; abstract;
    procedure FillArc(const Center, Radius: TPointF; StartAngle, SweepAngle: Single; const AOpacity: Single);
    procedure DrawArc(const Center, Radius: TPointF; StartAngle, SweepAngle: Single; const AOpacity: Single);
    function PtInPath(const APoint: TPointF; const APath: TPathData): Boolean; virtual; abstract;
    procedure FillPath(const APath: TPathData; const AOpacity: Single); virtual; abstract;
    procedure DrawPath(const APath: TPathData; const AOpacity: Single); virtual; abstract;
    procedure DrawBitmap(const ABitmap: TBitmap; const SrcRect, DstRect: TRectF; const AOpacity: Single;
      const HighSpeed: Boolean = False); virtual; abstract;
    procedure DrawThumbnail(const ABitmap: TBitmap; const Width, Height: Single); virtual; abstract;
    { routines }
    procedure DrawRectSides(const ARect: TRectF; const XRadius, YRadius: Single; const ACorners: TCorners;
      const AOpacity: Single; const ASides: TSides; const ACornerType: TCornerType = TCornerType.ctRound);
    { linear polygon }
    procedure FillPolygon(const Points: TPolygon; const AOpacity: Single); virtual;
    procedure DrawPolygon(const Points: TPolygon; const AOpacity: Single); virtual;


    http://docwiki.embarcadero.com/RADStudio/en/FireMonkey_Components_Guide
    http://docwiki.embarcadero.com/RADStudio/en/Creating_a_FireMonkey_Component
    http://docwiki.embarcadero.com/RADStudio/en/Creating_a_FireMonkey_Component_(C%2B%2B)
Tags: component development Delphi Delphi Delphi Programming Delphi Programming Delphi XE2 FireMonkey graphics HD News Open Tools API RAD RAD Studio XE2 shapes source-code source-code triangle XE2


https://jonlennartaasenden.wordpress.com/category/firemonkey/
firemonkey | Jon L. Aasenden
HTMLComponents for Delphi, a closer look

FMX Types Global Use GPU Canvas OpenGL Delphi Web Script

 https://www.delphitools.info/2013/12/24/a-terapixel-image-for-the-delphiwebscript-christmas/

A Terapixel Image for the DelphiWebScript Christmas! - DelphiTools

https://learn.microsoft.com/zh-tw/windows/win32/direct3darticles/directx-warp?redirectedfrom=MSDN#architecture

https://learn.microsoft.com/zh-tw/windows/win32/direct3darticles/directx-warp?redirectedfrom=MSDN#capabilities

https://learn.microsoft.com/zh-tw/windows/win32/direct3darticles/directx-warp?redirectedfrom=MSDN#enabling_rendering_when_direct3d_10_hardware_is_not_available 

https://parnassus.co/a-firemonkey-client-for-the-dws-terapixel-mandelbrot-data-set/

A FireMonkey client for the DWS Terapixel Mandelbrot data set - Parnassus OÜ - Delphi and C++Builder Plugins

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

https://stackoverflow.com/questions/26599780/fmx-shape-components-does-not-correctly-displayed-on-the-android-platform

initialization  FMX.Types.GlobalUseGPUCanvas := True; FMX.Types.GlobalUseDX10

https://blog.grijjy.com/2020/05/25/boost-mac-performance-with-metal-and-delphi-10-4/

Boost Mac performance with Metal and Delphi 10.4 – grijjy blog


FMX Types GlobalUseGPUCanvas   FMX.Types GlobalDisableFocusEffect
GlobalUseGPUCanvas
GlobalUseDX
GlobalUseDXSoftware
GlobalUseDXInDX9Mode
GlobalUseDirect2D
GlobalUseGDIPlusClearType
GlobalUseHWEffects GlobalUseDX10 GlobalUseDX10Software

 

fmx.types.GlobalUseHWEffects = true
FMX.Types.GlobalDisableFocusEffect = false
 FMX.Types.GlobalUseDirect2D = true
FMX.Types.GlobalUseDXSoftware = false
fmx.Types.GlobalUseDX = true
FMX.Types.GlobalUseDXInDX9Mode = false
FMX.Types.GlobalUseGDIPlusClearType = true
 FMX.Types.GlobalUseGPUCanvas= false 

GlobalUseHWEffects GlobalDisableFocusEffect GlobalUseDirect2D GlobalUseDXSoftware  GlobalUseDX GlobalUseDXInDX9Mode GlobalUseGPUCanvas  GlobalUseGDIPlusClearType

https://blog.therealoracleatdelphi.com/2015/12/baking-object-pascal-and-rapsberry-pie.html?spref=tw

https://stackoverflow.com/questions/34139169/runtime-allocation-of-ontap-event-delphi-seattle

Logstash | Modern Big Data Processing with Hadoop

 Hadoop HDFS Hive HBASE Spark  Flume Storm Flume Kafka Logstash

apache flume kafka spark hadoop mapreduce hadoop hdfs hive

 Hadoop Ecosystem | Hadoop Tools for Crunching Big Data | Edureka

https://www.edureka.co/blog/hadoop-ecosystem

reusable server kernel application programmers multithreaded server

 https://www.ibm.com/docs/en/zvm/7.2?topic=cms-reusable-server-kernel

https://www.vm.ibm.com/rsk/

https://docs.oracle.com/cd/E12531_01/tuxedo100/cservers/mtserv.html

Developing Multithreaded
Applications: A Platform
Consistent Approach

作業系統 CH4 Multithreaded Programming - HackMD

C++ Network Programming Volume 2: Systematic Reuse ...Semantic Scholarhttps://www.semanticscholar.org › paperThe ADAPTIVE Communication Environment (ACE) is an open-source toolkit for building high-performance networked applications and next-generation middleware ... 

https://www.researchgate.net/figure/CORBA-30-Support-for-Real-Time-Applications_fig2_232647305

reusable server kernel application programmers  multithreaded server Multithreaded CORBA Server Applications  CORBA 3.0 Support for Real-Time Applications | Download Scientific Diagram

https://theaceorb.com/about/abouttao/
The 2.2a version of the ACE ORB (TAO), pronounced "dow", is a CORBA V3.0 compliant, C++, object request broker. It is a second generation ORB developed with a highly extensible architecture as a result of its use of what might be termed a pattern framework, more commonly known as the ACE library. (ACE is an acronym for ADAPTIVE Communication Environment, ADAPTIVE is another acronym and stands for A Dynamically Assembled Protocol, Transformation And Validation Environment!).

https://docs.oracle.com/cd/A97335_02/apps.102/a81358/01_intro.htm
The JServer Java virtual machine (JVM) is a complete, Java 2-compliant Java execution environment. It runs in the same process space and address space as the RDBMS kernel, sharing its memory heaps and directly accessing its relational data. This design optimizes memory use and increases throughput.The JServer JVM provides a run-time environment for Java objects. It fully supports Java data structures, method dispatch, exception handling, and language-level threads. It also supports all the core Java class libraries including java.lang, java.io, java.net, java.math, and java.util. Figure 1-3 shows its main components.



im chat Instant Messenger system SERVER

 https://github.com/openimsdk/open-im-server

https://docs.oracle.com/communications/E76289_01/doc.1001/e76290/ins_sysreqs.htm#IMSIN173

https://www.sciencedirect.com/topics/computer-science/instant-messaging-server

https://xmpp.org/uses/instant-messaging/ 

https://www.troopmessenger.com/blogs/top-self-hosted-chat-software

https://veriato.com/


https://www.quora.com/Instant-Messaging-IM-How-does-a-web-based-browser-based-chat-application-work
https://socket.io/#browser-support
A popular toolkit is Socket.io. From their page: the cross-browser WebSocket for realtime apps.- the following methods are available:    WebSockets    Adobe Flash Socket    AJAX Long Polling    AJAX Multipart Streaming    Forever IFrame    JSONP Polling

Instant Messaging Software Architecture (Sun Java Communications Suite 5 Deployment Planning Guide)

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