Edwin Yip
Members-
Content Count
432 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Edwin Yip
-
The BEST template engine for generating webpages on the server side?
Edwin Yip replied to Edwin Yip's topic in Tips / Blogs / Tutorials / Videos
@Fr0sT.Brutal, Thanks for the link! From the overview webpage the features seems to be quite powerful, but it doesn't seem to be compatible with my XE4 compiler: [dcc32/dcc64 Error] TemplateEngine.pas(2253): E2030 Duplicate case label Feature-set aside, it still has less documents and examples than Sempare Template. But thanks for the link! -
Fastest Way to Read / Parse a large JSON File?
Edwin Yip replied to Steve Maughan's topic in Algorithms, Data Structures and Class Design
Implemented natively in Delphi, as Stephen suggested: https://github.com/ahausladen/JsonDataObjects Maybe world's fastest: Simdjson, however, there is no complete Delphi wrapper yet, but this one-function only wrapper can get you started quickly if you go this route: https://synopse.info/forum/viewtopic.php?id=5926 -
Spring4D 2.0 sneak peek - the evolution of performance
Edwin Yip replied to Stefan Glienke's topic in Tips / Blogs / Tutorials / Videos
Wow! So the collections in mORMot2 is/will be even more powerful! Great to hear that, and as always, we can rely on mORMt/2 ;) -
Spring4D 2.0 sneak peek - the evolution of performance
Edwin Yip replied to Stefan Glienke's topic in Tips / Blogs / Tutorials / Videos
You are not alone! And sadly that's the reason I use as less as generics as possible... sometimes a re-build clears the issue, sometimes I have to re-boot the IDE, it's really unproductive... And, I thought the bug only exists in my old XE4 compiler, I didn't expect it also lives in the new IDEs... then I wonder, what are the new versions charge for??? ... -
Great news! It seems that TBCEditor is coming back as open open source again as github.com/TextEditorPro/TTextEditor But looking at the texteditor.pro site, but quite sure the github repo is by Lasse the same author of the old TBCEditor. Not sure what improvements has been brought by the new version and but it seems doesn't support CJK characters, pity...
-
I know nothing more than his github profile page ;)
-
I guess map2pdb enabled the birth of the following new open source stack tracing library ;) https://github.com/thatlr/Delphi-StackTrace
-
Getting Exception stack trace in 2021
Edwin Yip replied to Wagner Landgraf's topic in RTL and Delphi Object Pascal
Found the detailed steps: https://stackoverflow.com/a/1130506/133516 Edit 1: Would love to see an example of using `System.ExceptObjProc` and the other related procedure variables ;) -
Getting Exception stack trace in 2021
Edwin Yip replied to Wagner Landgraf's topic in RTL and Delphi Object Pascal
You really have a good memory :D -
Getting Exception stack trace in 2021
Edwin Yip replied to Wagner Landgraf's topic in RTL and Delphi Object Pascal
Well, well, well, I had that misconception too! While I was puzzled why madshi provides the open source DebugEngine while he already has the madExcept commercial package, but I didn't think too much since Jeroen said so... Maybe people confused by the name 'Mahdi' with 'madshi' the nickname :) I shouldn't have that misconception - because IIRC I asked Mahdi Safsafi and he's a doctor from the Middle-east, while IIRC madshi is in Germany... -
virtualization VMWare Workstation PRO vs MS Hyper-V
Edwin Yip replied to Drewsky's topic in Delphi IDE and APIs
I was having the same perception for many many years, until my Win 10 Guest became deadly slow on a Win 7 host. Then switched to VMWare and wow, much "snappy" now! Haven't used Hyper-V though. -
ANN: HTML Library 4.4 released
Edwin Yip replied to Alexander Sviridenkov's topic in Delphi Third-Party
Amazingly great work, as always! Do you have a list of 'CSS not supported by HCL'? Thanks! -
Thanks for the info. Just downloaded AMD uProf and the installer supports Windows 7 (but haven't tried it yet) ;)
-
WASM engine in pure Pascal - an interesting open source project to watch!
Edwin Yip posted a topic in RTL and Delphi Object Pascal
And here is the link of the github project: Wasm by marat1961. @Arnaud Bouchez ;) Just in case you didn't know, WASM is a subject of JavaScript that's optimized for speed and cross-platform. -
Thanks! And realized it needs Win 10 and above ;)
-
Another great job done by @Anders Melander (apart from the drag-and-drop component suite)! Another has a download link to the standalone VTune Profiler? I want to avoid downloading the 3.3GB oneAPI toolkit....
-
Maybe price? ;)
-
Wke4Delphi, alternative to dcef3 or cef4delphi
Edwin Yip posted a topic in Delphi Third-Party
This open source project basically can replace dcef3 or cef4delphi (for embedding the Chromium browser into your program), but the size is much smaller - 6mb zipped. I guess not everyone in the English community knows about it since it's hosted in the Chinese version of github :D https://gitee.com/LangjiApp/Wke4Delphi Basically it's a Delphi wrapper for: https://github.com/weolar/miniblink49 -
Sounds very helpful but I'm out of luck with my old IDE...
-
Fast lookup tables - TArray.BinarySearch vs Dictionary vs binary search
Edwin Yip replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
mORMot never ceases to surprise me ;) Mike, can you share your benchmarking code on github? -
No problem. Human's language is sometimes ambiguous, the Pascal language is not, fortunately.
-
@Dalija Prasnikar, I don't follow your reasoning. As you said, my advise of not accessing a global TEvent variable is to gain flexibility, but not thread-safety - the thread-safety has been provided by TEvent which is a 'sync object'. So I really don't understand why you said the advise is wrong while you agree on the effects of the advise...
-
I think this the standard and easy way. But don't forget to pass the TEvent object to each threads, avoid accessing any global vars in anywhere including inside the a thread.
-
Another independently developed code editor control: github.com/lysee/TCodeEdit
Edwin Yip posted a topic in Tips / Blogs / Tutorials / Videos
Came across TCodeEdit, which seems to be an independently developed syntax highlight editor. -
The following is a Microsoft article that explains GDI Scaling very well: https://blogs.windows.com/windowsdeveloper/2017/05/19/improving-high-dpi-experience-gdi-based-desktop-apps/