發表文章

stol aerodynamic types airfoil sim multi

 https://www.simis.io/index.html#Products_Ashes_Download Ashes - Creating an airfoil and adding aerodynamic coefficients with multiple Reynolds numbers https://en.wikipedia.org/wiki/Wing The Aerodynamics of V/STOL Aircraft - DTIC stol aerodynamic  airfoil   Computational Fluid Dynamics https://www.researchgate.net/publication/348457909_Experimental_research_of_active_vibration_and_noise_control_of_electrically_controlled_rotor https://www.pinterest.com/waysuj/aerodynamics/ https://hackaday.com/2020/07/11/aerodynamics-for-dummies/ https://www.avweb.com/aviation-news/faa-proposes-second-fine-on-boeing-over-faulty-slat-tracks/ https://www.kitplanes.com/super-cub-kit-comparison/

System.TObject.MethodAddress

 https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.TObject.MethodAddress  https://github.com/ibv/LDAP-Admin/blob/master/Source/Script.pas https://github.com/Kryuski/pas2js-for-delphi/blob/master/packages/rtl/system.pas  https://github.com/ying32/duilib-for-Delphi/blob/master/DDuilib/DuiBase.pas https://github.com/padcom/delcos/blob/master/components/dunit/src/TestFramework.pas https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.TMethod https://docwiki.embarcadero.com/CodeExamples/Alexandria/en/Event_RTTI_Invocation_(Delphi) https://docwiki.embarcadero.com/Libraries/Sydney/en/System.TObject https://www.thoughtco.com/create-delphi-form-from-a-string-1057672 https://flylib.com/books/en/2.37.1/core_library_classes.html https://stackoverflow.com/questions/45635147/dynamically-created-object-providing-its-classname-as-a-string-do-not-call-its https://www.freepascal.org/docs-html/rtl/system/tobject.html https://blog.xuite.net/peterlee.tw/twblog/211753269

Fast programs for modern computers Multithreading Fast programs for modern computers

 https://slideplayer.com/slide/4497543/ https://slideplayer.com/slide/4290203/ https://docwiki.embarcadero.com/Libraries/Sydney/fr/System.Threading.TThreadPool.TThreadPoolMonitor  https://blog.marcocantu.com/blog/2014-december-spelunking-rtl-since-xe2.html https://community.embarcadero.com/index.php/blogs/entry/parallel-programming-using-the-new-rad-studio-xe7-runtime-library https://blog.marcocantu.com/blog/2017-november-explaining-tasks-ppl-too-many.html http://www.omnithreadlibrary.com/book/chap02.html#introduction   https://docwiki.embarcadero.com/Libraries/Sydney/en/System.SyncObjs.TInterlocked  https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.AtomicIncrement https://www.cnblogs.com/jijm123/p/14277122.html https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Diagnostics.TStopwatch   https://github.com/PacktPublishing/Delphi-High-Performance/blob/master/Chapter%206/DHPThreads.pas   System SyncObjs Threading Diagnostics

Cancellable Parallel Tasks With Modal Progress Dialog, i.e., On Delphi’s TTask, PPL, ThreadPool, WaitAll with Progress and the rest

 Cancellable Parallel Tasks With Modal Progress Dialog, i.e., On Delphi’s TTask, PPL, ThreadPool, WaitAll with Progress and the rest https://zarko-gajic.iz.hr/cancellable-parallel-tasks-with-modal-progress-dialog-i-e-on-delphis-ttask-ppl-threadpool-waitall-with-progress-and-the-rest/  https://docwiki.embarcadero.com/Libraries/Sydney/ja/System.Threading.TThreadPool.TBaseWorkerThread https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Threading https://delphiaball.co.uk/tag/parallel-programming/ https://www.3delite.hu/Object%20Pascal%20Developer%20Resources/download.html#tmultithread https://www.thoughtco.com/multithreaded-delphi-database-queries-1058158 https://www.thoughtco.com/synchronizing-threads-and-gui-delphi-application-1058159 https://torry.net/pages.php?id=244 https://docs.microsoft.com/en-us/archive/msdn-magazine/2010/october/msdn-magazine-thread-pools-scalable-multithreaded-programming-with-thread-pools  Parallel Programming Library (Delphi)  https:/...

programming CUDA Dynamic Parallelism syncthreads

 https://blogs.embarcadero.com/high-performance-vector-matrix-library-for-your-next-scientific-project/    https://github.com/lordcrc/Compute  https://delphi.developpez.com/actu/314586/Utilisation-de-CUDA-sous-Delphi-comment-profiter-de-la-puissance-de-calcul-des-GPU-un-billet-blog-de-Gouyon/ https://stackoverflow.com/questions/5918042/programming-cuda-using-delphi-or-freepascal/9991855#9991855

DCE DCOM CORBA JINI RMI RMI IIOP SOAP REST WebSocket WSDL UDDI Presentation on theme: "Presentation 24: RMI, Web services, DCOM Introduction Objektorienteret Middleware."— Presentation transcript:

 https://www.youtube.com/watch?v=qxDustSFvys   Presentation on theme: "Presentation 24: RMI, Web services, DCOM Introduction Objektorienteret Middleware."— Presentation transcript: 1 Presentation 24: RMI, Web services, DCOM Introduction Objektorienteret Middleware 2 Part 1: Java RMI 3 Java RMI Java 1.0: object communication confined to objects in one Virtual Machine (VM) Sun Microsystems thus decided to introduce inter VM communication Remote Method Invocation (RMI) from Java 1.1 supports communication between different VMs, potentially across the network Provides tight OO integration with Java Work in heterogeneous environment (servers) BUT ONLY with Java (so far) – so no language transparency (not true when using IIOP) 4 Java RMI features Build on Java’s existing object model -> easy No need for IDL – use Java interfaces Arguments & return values can be all types specializing java.io.Serilizable or java.rmi.Remote Dynamic loading of classes Use of build-in Java Secur...

Presentation on theme: "K.TOP 2005 Multi-Thread 2005/1/29 Delphi Win32 API 版僕 SouthWind."— Presentation transcript:

 Presentation on theme: "K.TOP 2005 Multi-Thread 2005/1/29 Delphi Win32 API 版僕 SouthWind."— Presentation transcript: 1 K.TOP 2005 Multi-Thread 2005/1/29 Delphi Win32 API 版僕 SouthWind 2 Multi-Thread 概述 (1) Time Slice Schedule Code Execute 3 Multi-Thread 概述 (2) Stack Thread Global Heap Stack Thread Stack Thread Process 4 Multi-Thread Communication Stack Thread Global 變數 Stack Thread Stack Thread MessageSignal 5 Multi-Thread 難題  Racing Condition  Dead Lock 6 Racing Condition 原因  Global Resource  非 Atomic Execute var4 = (var1 + var2) * var3 mov eax,var1 add eax,var2 mul var3 mov var4,eax 7 避免 Racing Condition  Protect Global Resource  Synchronization 8 Synchronization Technology :  Mutex  Critical Section  Semaphore  Event  Interlocked or Atomic API  Spin Lock  Wait For Object API 9 Dead Lock 原因  設計不良。  不可預期的異常發生。 10 避免 Dead Lock  Time Out 機制  清晰的邏輯  Dead Lock detection 11 Delphi & Multi-Thread  VCL  Synchronize() 12 VCL  Non-UI VCL  UI VCL  絕大多數的 VCL 元...

Screen Capture API capture window delphi Desktop Duplication API for Delphi Tokyo

 https://github.com/tothpaul/Delphi/tree/master/DesktopDuplicationAPI https://www.delphibasics.info/home/delphibasicssnippets/screencapturewithpurewindowsapi  https://stackoverflow.com/questions/27024554/capture-screenshot-from-selected-minimized-window  https://github.com/z505/screenshot-delphi   Capture the Screen Shot of the Active Window https://stackoverflow.com/questions/661250/how-to-take-a-screenshot-of-the-active-window-in-delphi https://sourceforge.net/directory/os:windows/?q=delphi+screen+capture

delphi procedure Handling Messages

  https://stackoverflow.com/questions/35207639/is-possible-to-use-messages-in-a-class-procedure https://docwiki.embarcadero.com/RADStudio/Sydney/en/Declaring_a_New_Message-handling_Method procedure WMPaint(var Msg: TWMPaint); message WM_PAINT;   procedure TForm1.WMPaint(var Msg: TWMPaint); begin  Beep;  inherited; end; procedure WndProc(var msg: TMessage); TApplicationEvent TApplicationEvents.OnMessage https://github.com/RRUZ/Delphi-IDE-Colorizer/blob/master/IDE%20PlugIn/Galileo/TApplicationEvents.pas  http://etutorials.org/Programming/mastering+delphi+7/Part+IV+Delphi+the+Internet+and+a+.NET+Preview/Chapter+25+Delphi+for+.NET+Preview+The+Language+and+the+RTL/New+Delphi+Language+Features/  https://www.syncfusion.com/succinctly-free-ebooks/delphi/object-oriented-programming-with-delphi SetIncludeExclude (Delphi) Description Include(EventProp, eventHandler); Exclude(EventProp, eventHandler);  Multicast Events Delphi has always had the ability to set an e...

Removes an element from a Delphi set.

 https://docwiki.embarcadero.com/CodeExamples/Sydney/en/SetIncludeExclude_(Delphi)  http://www.delphibasics.co.uk/RTL.asp?Name=include&ExpandCode1=Yes    

delphi record file stored in a File type

 https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.TFileRec    How to Add Resource Files in Delphi Executables  https://www.thoughtco.com/inside-the-delphi-exe-1058211  Use Delphi Pascal to dynamically add data to an executable file | How to  https://delphidabbler.com/articles/article-7  https://www.delphipraxis.net/144310-save-record-blob.html  https://www.delphipower.xyz/guide_5/loading_data_from_and_saving_data_to_files.html  https://www.thoughtco.com/create-database-delphis-file-typed-files-1058003  https://github.com/KrystianBigaj/kblib  https://stackoverflow.com/questions/3820996/delphi-2010-how-to-save-a-whole-record-to-a-file  http://www.delphicorner.f9.co.uk/articles/apps6.htm Delphi Corner Article - Working with Files of Records https://blog.karthisoftek.com/a?ID=01550-94385f1c-6cdf-4f1f-86d0-3b28d8d07222

ListView ViewStyle: vsIcon,vsList,vsReport,vsSmallIcon

 http://mrxray.on.coocan.jp/Delphi/plSamples/790_ListView.htm https://docwiki.embarcadero.com/CodeExamples/Sydney/en/ViewStyleProperty_(Delphi) delphi ListView AddGroupItem https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Mobile_Tutorial%3A_Using_ListBox_Components_to_Display_a_Table_View_%28iOS_and_Android%29   12-1. 檔案總管的介面 表單檢視元件(ListView) 範例12-1 在範例12-1,我們的介面相當簡單,除了一個輸入資料的介面外,就是一個ListView。除了提到這些可看見的VCL元件外,我們還有放入一個Popup menu以及一個ImageList在這個範例中。Popup menu主要是提供滑鼠右鍵的功能選單,,而ImageList則是要提供一些Image給ListView使用。    var   item: TListItem;   I:integer; begin   listView1.ViewStyle := vsReport;// Set ListView as report form      listView1.Columns.Add; // add 1 column      listView1.Columns.Add; // add another column      listView1.Column[0].Caption :='Serial Number'; // First column title      listView1.Column[1].Caption :='Name'; // The second column title   ...

Delphi Compatibility Macros - RAD Studio

 https://docwiki.embarcadero.com/RADStudio/Sydney/en/Delphi_Compatibility_Macros  OPENARRAY #define OPENARRAY(type, values) \    OpenArray<type>values, OpenArrayCount<type>values.GetHigh() The OPENARRAY macro can be used as in the following example: myProc(OPENARRAY(TVarRec,(1, 2, 3, 4, 5)))       //in which case the expanded code looks like: myProc(OpenArray<TVarRec>(1, 2, 3, 4, 5), OpenArrayCount<TVarRec>(1, 2, 3, 4, 5).GetHigh())      //which corresponds to what Delphi methods expect. The same technique is used for the rest of the macros.  https://docwiki.embarcadero.com/RADStudio/Sydney/en/Predefined_Macros  https://docs.devart.com/unidac/work_macros.htm                                  

Create Wrapper Interfaces For C and C++ Libraries Using SWIG With Delphi Support SWIG is a program that takes C++ .h and .cpp files and generates object-oriented language bindings for various languages. Cross-language shared libraries SWIG (Simplified Wrapper and Interface Generator) is a software development tool for building scripting language interfaces to C and C++ programs.

 https://www.fmxexpress.com/create-wrapper-interfaces-for-c-and-c-libraries-using-swig-with-delphi-support/ https://github.com/FMXExpress/swig-delphi  https://wiki.freepascal.org/SWIG

ShellExecute url delphi Web browser

   https://stackoverflow.com/questions/10154543/opening-webpage-in-default-browser-with-double-quotes-inside-url  ShellExecute  launch  default Web browser   http://delphiprogrammingdiary.blogspot.com/2014/07/shellexecute-in-delphi.html  https://blog.csdn.net/zisongjia/article/details/105252322  https://stackoverflow.com/questions/2842452/open-default-browser-with-a-post-in-delphi https://www.cryer.co.uk/brian/delphi/howto_openbrowserurl.htm     ShellExecute(self.WindowHandle,'open','www.cryer.co.uk',nil,nil, SW_SHOWNORMAL); If the URL is not hard coded but held in a string, then it will need to be explicitly passed as a PChar:     ShellExecute(self.WindowHandle,'open',PChar(url),nil,nil, SW_SHOWNORMAL);  

Scrapy tools Web Crawlers Automated Webbots

 https://startupstash.com/web-crawler-tools/  Scrapy Python: How to Make Web Crawler in Python | DataCamp https://www.datacamp.com/tutorial/making-web-crawlers-scrapy-python python Scrapy bot  tools  Web Crawlers Automated   Webbots

icecream Orchis mascula (Nordens Flora) Orchis salep Salep üretimi toplama kurutma tüm aşamaları

 https://youtu.be/Ui-fiCNpGcM  https://en.wikipedia.org/wiki/Dondurma https://en.wikipedia.org/wiki/Salep  salep ice cream High viscosity  salep maltose honey starch  High viscosity  salep  https://www.rheologylab.com/articles/rheology-v-viscosity/

ไม้ไผ่ บ้านไม้ไผ่ cây tre Nhà tre Building Bamboo House Duck Farming ไอเดียบ้านไม้ไผ่ โครงสร้างแข็งแรงใช้วัสดุทนทานได้มาตรฐาน

  ไอเดียบ้านไม้ไผ่ โครงสร้างแข็งแรงใช้วัสดุทนทานได้มาตรฐาน https://www.baanlaesuan.com/164702/ideas/house-ideas/bamboo-2

Transparent lignin pressure Delignification Maryland Super wood could replace steel hydroxide Lignin-Retaining Transparent Wood

 Transparent  lignin pressure Delignification    https://www.industrytap.com/scientists-create-super-wood-strong-steel/44868    https://www.nature.com/articles/s41598-020-66916-8 Maryland  Super wood could replace steel hydroxide  The wood is first boiled in a liquid mix of sodium hydroxide and sodium sulfite to partially remove lignin https://chemistry-europe.onlinelibrary.wiley.com/doi/10.1002/cssc.201701089 Measurement of moisture-dependent ion diffusion constants in wood cell wall layers using time-lapse micro X-ray fluorescence microscopy remove lignin acetate ester  h2o2

AES implementations | Crypto Wiki | Fandom

 https://cryptography.fandom.com/wiki/AES_implementations#Delphi