-
Content Count
597 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Tommi Prami
-
Delphi bug reports or feature requests to "vote"/comment for (important, fatal etc)/
Tommi Prami replied to Tommi Prami's topic in Delphi IDE and APIs
Most likely, all failed, at quick glance, where about 1800 or older... -
TParallelArray Sort Performance...
Tommi Prami replied to Steve Maughan's topic in RTL and Delphi Object Pascal
Average case has most likely very small amount of items to sort. I think I saw somewhere that Bubble Sort would be faster than QuickSort on very small item counts. Not sure tough. But better is always better and faster is faster, PDQSort was quite interesting, quick look had interesting cases when it is very fast. Seems that it has no really bad worst cases either. Did not find very good comparison against many other algorithms. Anyhow getting better default sort algorithms to RTL most likely would not hurt much 🙂 -Tee- -
Delphi bug reports or feature requests to "vote"/comment for (important, fatal etc)/
Tommi Prami replied to Tommi Prami's topic in Delphi IDE and APIs
First weirdness in D12.2 ISO8601ToDate('0600-12-31T13:13:13Z') returns wrong value https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-1747 -
Seems to return wrong value... That is not only value it fails... I make bug report... https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-1747
-
Yellow, Have following Issue, used to work with 12.1 and many older versions: ISO8601ToDate() fails on following '0600-12-31T13:13:13Z' -> 1.1.0601 10.46.47 (d.m.yyyy...) Can someone confirm, before file bugreport. Some online converter at least managed to parse that. So it should be valid issue. -Tee-
-
Delphi bug reports or feature requests to "vote"/comment for (important, fatal etc)/
Tommi Prami replied to Tommi Prami's topic in Delphi IDE and APIs
I think you should repost them to new bugtracker, most likely voting on old tracker does nothing anymore, voting/commenting on new might have some benefit . -
QUIC seems very interesting protocol. Dunno does MSQuic support HTTP/3 also on top of it tough. Would be nice to have implementation for Delphi... -tee-
-
"Death to WITH" in your Delphi Code
Tommi Prami replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
This is why long long ago made feature request of compiler/AST assisted with-removed refactoring tool. It never happened. Made new one in the new Bug-tracker: https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-1666 Please comment the bug report and give some pressure... -Tee- -
Was talkin about the original link : https://docwiki.embarcadero.com/RADStudio/Athens/en/Saving_and_Recovering#Autosave -Tee-
-
That link talks about the .dsK file not the .dsV, but seems to be used in same functionality tough.
-
For better results run the measured process over and over again while profiling. It gets more accurate with every sample you get. I've even run with Monte Carlo enabled (multi threaded app) for 30 minutes, and then check the results.
-
Noted!. That is totally reasonable, if it takes too much time and/or effort. That is such a small problem, that no need to worry, I think. -Tee-
-
Found a bug in the OTL (at procedure TOmniValueQueue.DoWithCritSec()
Tommi Prami posted a topic in OmniThreadLibrary
https://github.com/gabr42/OmniThreadLibrary/issues/198 -tee- -
https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-1265 Thought it was default dialog from IDE, but as it behaved differently than IDE default, uninstalled MMX to confirm. Couple of related things. 1. Can I deactivate MMX to override Ctrl+F12 2. Or could the MMX version work the way in IDE default work, I can write multiple words to narrow search down. I rarely remember exact name, so I write something like "custom invoice edit" to get MyForm.Beautiful.Custom.Invoice.Magic.Edit.pas -Tee-
-
Thanks... -Tee-
-
Would be nice to know where this misconception of mine comes from, as it seems that I am not alone. I have no recollection where I got that from., -Tee-
-
Tested this and I stand corrected. I bet this was the case way back at least, that exception in constructor was leading to memory leaks. Might be still wrong tpugh. -Tee-
-
At least exception raising in constructor might not be best practise. -Tee-
-
Is there a way to check is the "user Idle" (no interaction)
Tommi Prami posted a topic in Windows API
Hello, Similarly as Screen Saver starts after some time no input and so, I would like to detect/get notification for that. Or as the Teams will change status to the Away.,.. Tried to google around but nothing good came up... -Tee- -
Is there a way to check is the "user Idle" (no interaction)
Tommi Prami replied to Tommi Prami's topic in Windows API
Little bit more polished version: https://github.com/TommiPrami/OLEDBlackScreen/releases/tag/Alpha_1.2.3 -
Is there a way to check is the "user Idle" (no interaction)
Tommi Prami replied to Tommi Prami's topic in Windows API
Made first test "Release" Little of usage info in the readme.md Note that it's start as minimized, sould block the sleep and screensaver (which is my point, might be optional later), and just show black screen. Why Im made this, is that I have LG OLED TV as monitor, and don't want to go to screensaver at home office, and would like to go to the back screen. https://github.com/TommiPrami/OLEDBlackScreen Prebuild exe if you dare to use: https://github.com/TommiPrami/OLEDBlackScreen/releases/tag/Alpha_0.1 -Tee- -
Is there a way to check is the "user Idle" (no interaction)
Tommi Prami replied to Tommi Prami's topic in Windows API
That is Good point, most likely that does not work currently, maybe... Thanks for the bug, that needs to be fixed, somehow... -Tee- -
Is there a way to check is the "user Idle" (no interaction)
Tommi Prami replied to Tommi Prami's topic in Windows API
Donät know what you mean by local/global. Mainly I need to know is the user being using mouse or keyboard etc. At least for now that seems to be enough. GetLastInputInfo() is working well for now. I'll try to get this thingy more than less ready this week, so I can show it to you,... Not much to do but... -Tee- -
Is there a way to check is the "user Idle" (no interaction)
Tommi Prami replied to Tommi Prami's topic in Windows API
No need to track especially, but to know how long user has been idle... I GetLastInputInfo() API for now, and seems OK for now. Added todo-items for those links, seemed to have many good things to research later. Thanks. -Tee- -
Please let us know how it goes. For me it was just changing two lines... Removed one two pieces of code "const" and "<Integer>" It did not make things faster, but I'll split the workload into the Chunks before processing them in parallel. -Tee-