Edwin Yip
-
Content Count
430 -
Joined
-
Last visited
-
Days Won
3
Posts posted by Edwin Yip
-
-
2 hours ago, Anders Melander said:Nice!
Any idea about who the author is?
I know nothing more than his github profile page ;)
-
I guess map2pdb enabled the birth of the following new open source stack tracing library ;)
- 1
-
1 hour ago, Der schöne Günther said:That's is what we usually do. Initially, we had the good old JCL. It was the only thing we used it for.
Later, we figured out we don't really need it at all, it was sufficient to hook into a System.ExceptObjProc (and one or two other procedure variables) to point to our own exception handler. There, you can easily acquire the stack trace with with FastMM_Fulldebugmode.dll. It exports three handy methods to acquire the "frame based" and "raw" stack trace and, of course, to just get a string for the textual representation.
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 ;)
-
18 hours ago, Anders Melander said:You probably read it here: https://wiert.me/2017/08/02/delphi-call-stack-from-exception/
You really have a good memory :D
-
6 hours ago, Wagner Landgraf said:Spot on! Thanks for letting me know I'm not completely insane yet. 😅
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...
- 1
-
1 hour ago, Fr0sT.Brutal said:VirtualBox is OK for my needs
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.
- 1
-
Amazingly great work, as always!
Do you have a list of 'CSS not supported by HCL'? Thanks!
-
5 hours ago, Renate Schaaf said:Confirmed: Works with uProf now. Great Job.
I get the same info as with VTune: hotspot timings, processor use, stack graph.
Thanks for the info. Just downloaded AMD uProf and the installer supports Windows 7 (but haven't tried it yet) ;)
-
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.
- 1
- 1
-
18 minutes ago, Vincent Parrett said:Use the web installer, you can then choose which parts to install.
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....
-
On 4/5/2021 at 5:44 AM, Wagner Landgraf said:Very interesting tool, I believe it opens lots of possibilities. I use AQTime and Sampling Profiler, is anyone able to tell the differences and advantages of VTune compared to those two tools?
Maybe price? ;)
-
Sounds very helpful but I'm out of luck with my old IDE...
-
On 3/7/2021 at 7:35 AM, Mike Torrettinni said:mORMot never ceases to surprise me ;) Mike, can you share your benchmarking code on github?
-
2 hours ago, Dalija Prasnikar said:I am sorry if I misunderstood your point.
You didn't explicitly said why are you suggesting passing TEvent instead of using global access and phrase "Don't forget" can be easily interpreted that if you use global objects directly, code will not work properly. At least that is how I have read it.
No problem. Human's language is sometimes ambiguous, the Pascal language is not, fortunately.
- 1
-
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...
-
7 hours ago, FredS said:I use a global TEvent that is set at shutdown, all my wait functions check that and all threads check it either through wait or in their execute methods.
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.
- 1
-
-
The following is a Microsoft article that explains GDI Scaling very well:
-
-
-
Thanks! Yes, Blend, Merge and Combine, these are the most confusing part!
-
22 minutes ago, Anders Melander said:9 minutes ago, Anders Melander said:True, but I don't think Graphics32 has ever targeted the average user. It does have a steep learning curve and does require an understanding of at least some of the low level principles - such as alpha compositing.
I agree, and I appreciate the versatility , flexibility and performance provided by gr32!
In addition to the alpha compositing link, would you list other low level principles required to better use GR32?
Thanks!
-
58 minutes ago, Anders Melander said:Remember that the purpose of Graphics32 is to do things as fast as possible. This means specialization over generalization
And I greatly appreciate that!
TBCEditor text editor component
in VCL
Posted
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...