-
Content Count
632 -
Joined
-
Last visited
-
Days Won
8
Everything posted by Tommi Prami
-
Slowness seems to be ralated to time of day. Maybe. Some time ago it was very slow, now just slow... Adn very slow again, atleast posting new message and editing existing is very slow,
-
is there any "currency to words" routine for Delphi?
Tommi Prami replied to Attila Kovacs's topic in Algorithms, Data Structures and Class Design
Just out of curiosity wheree this is actually needed? Some country/Culture/Local law related thing? -
Hello, Has someone made tickets for Emba of these issues in this discussion. If/will so so, links please. -tee-
-
Capturing paste at the form level, possibly bypassing components
Tommi Prami posted a topic in Windows API
Hello, I need either VLC / WinMessage / WinAPI solution to this. Current (very old) implementation uses Forms KeyPreview set to true. Then on KeyUp event paste key kombinations will invoke code that will get data from keyboard, and Key is set to zero. It mostly works, but sometimes edit controls are faster to capture the paste. Would need bit more robust version for this. -Tee- -
Capturing paste at the form level, possibly bypassing components
Tommi Prami replied to Tommi Prami's topic in Windows API
Nice... ctrl := FindControl(Msg.hwnd); // <- could you tell me what is this for? -
Generic Command Line Parser for Delphi 10.3.x
Tommi Prami replied to Lars Fosdal's topic in I made this
Should actually read the message first Made possiblöe to have Boolean that is True by default. So can override it with : -Param:False -Param:True -tee- -
Generic Command Line Parser for Delphi 10.3.x
Tommi Prami replied to Lars Fosdal's topic in I made this
Made own fork... Or copy, Primož waas busy at the time, so needed to have some chanmges, quickly. If someone is interested in checking it out. Lot of non functional changes also. https://github.com/TommiPrami/Delphi.CommandLineParser -tee- -
Would need some kind of antialiasing to the drawing, but still nice... I bet many has need for somethign like that. -tee-
-
Could someone make, quite comprehensive, tutorial video of using MMX
Tommi Prami posted a topic in MMX Code Explorer
Hello, I installed in way back, and did not undertand the some things of it, some settings maybe. And then uninstalled, just because there was lot of suff, and no time to learn how to use it. This coud help a lot. Juust my 0.02€ -tee- -
Could someone make, quite comprehensive, tutorial video of using MMX
Tommi Prami replied to Tommi Prami's topic in MMX Code Explorer
Just start feding he with ideas into his "script"... And so on... 😉 -tee- -
Could someone make, quite comprehensive, tutorial video of using MMX
Tommi Prami replied to Tommi Prami's topic in MMX Code Explorer
Sweet, German is not my strong suit... But anything would be good, And I think it does not have to be Uwe tough. Anyyone who knows MMX well enough. No that MMX was pushed by Emba-dudes, some kind of how to/best practises etc video would be super fgood thing. -tee- -
Could someone make, quite comprehensive, tutorial video of using MMX
Tommi Prami replied to Tommi Prami's topic in MMX Code Explorer
True, but not what I asked. I would like to see how someone that is experienced on using MMX using it. -tee- -
Could someone make, quite comprehensive, tutorial video of using MMX
Tommi Prami replied to Tommi Prami's topic in MMX Code Explorer
That is the Webinar where most demos was on Different laptop etc... Simple mistake, but still made it not that good... -tee- -
Could someone make, quite comprehensive, tutorial video of using MMX
Tommi Prami replied to Tommi Prami's topic in MMX Code Explorer
As I remember it wes not that exhaustive. Have to check thast again. -tee- -
I see no reason not to get FileSystemMonitor to some temp directory etc, different one you use in production. Make on Branch to that repo, with descriptive name Then copy your changes on top of repo, check changes, and commit into yur own Banch, and make Pull Reguest. -Tee-
-
https://github.com/pyscripter/FileSystemMonitor It is already there, or am I missing someting?
-
Fork the repository from the GitHUB, make changes and make pull request. Details really depends will you use commndline tool(s) or some GUI tool. I mainly use Theirs GitHUB Desktop https://desktop.github.com/download/ It is very simple on most operations, and this is why I kind of like it. -tee-
-
This depends. Should measure this some day... But we have soemthing Fishy in our VPN and/or Serever(s). If there is any ongoing copy etc longer lasting file operation to/from the server, all file other operations takes ages, It used to be even worse than now. All clics with File Exoplorer, in that situation, takes more than Second. It really seems to be fluctuating a lot also. But for sure File Explorer does more than just checks is the file there or not. So I was tinking that wait time would be something like Mintime (Like 5sec) plus 20-50x to what check operation too last time- Or something like that. Should keep that per root (Like N:\ orm \\CommonFiles\ etc) Just my 0.02€, might work, maybe not... -Tee-
-
Could you make Pull Request? PS. Recently there has been reports of malicius .RAR-files. So maybe better avoid them, when sending files into public forums.
-
Very nice. Way better than constant polling for sure. I think I have no use for this now, but have to think about it, maybe I can think of something. In previous live used FindFirstChangeNotification API, did not knoew that there is other API for this. -Tee-
-
FYI: CRC32 speedups just landed in the Linux kernel (for CPUs with AVX-512)"
Tommi Prami posted a topic in Algorithms, Data Structures and Class Design
Hello, Couple highlevel articles below. Seems that, at least for larger data benefits nicely... Test has 512 vs 4096 byte tests. https://www.phoronix.com/news/Linux-CRC32C-VPCLMULQDQ https://www.phoronix.com/news/CRC32C-Faster-Linux-6.17 -Tee- -
https://sourceforge.net/p/gexperts/feature-requests/197/ -Tee-
-
A Conditional Ternary Operator for the Delphi
Tommi Prami replied to EugeneK's topic in RTL and Delphi Object Pascal
On this atleast syuntax is readable X := if Left < 100 then 22 else 45; For example C-syntax is not what I really can say that I like. int result = (x > 5) ? 10 : 20; even worse if writte like this int result=(x>5)?10:20; Syntax highlighting saves a bit for sure but still easy to miss those... One character operator thingies... -Tee- -
Are TInterlocked.Exchange and CompareExchange implementation really Atomic with class types??
Tommi Prami replied to @AT's topic in RTL and Delphi Object Pascal
For clarity, maybe good code example would be needed. 🙂 Checked Embarcadero documentation, and it also would benefit code samples. And explanation what those can and can't do... -Tee- -
"Png to pixel-perfect svg conversion" (I didn't make this)
Tommi Prami posted a topic in I made this
Hello. Coworker made this: https://github.com/TextEditorPro/Png2Svg Kind of brute force Png to Svg conversion. Depenging on the case, this might be good first step to the using Svg-icons in your project. Like you don't mind if files are bit bigger . Or you have single size bitmaps which get resampled for different sizes and the blurryness really bugs you. -Tee-