

Rollo62
Members-
Content Count
1949 -
Joined
-
Last visited
-
Days Won
25
Rollo62 last won the day on July 9
Rollo62 had the most liked content!
Community Reputation
588 ExcellentTechnical Information
-
Delphi-Version
Delphi 12 Athens
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
RESTDebugger fails where Postman succeeds
Rollo62 replied to dcroghan's topic in Network, Cloud and Web
I was curious how far you can get with the newer System.Net.HttpClient, System.Net.HttpClientComponent, System.Net.URLClient. It seems quite limited, perhaps the good old Indy might have more tricks up its sleeve. TNetHTTPClient TRESTClient and friends are not so verbose in regards of internal stream data. Perhaps a combination of both can get more insights about the underlying data streams? T526_RestDebug_002.zip -
RESTDebugger fails where Postman succeeds
Rollo62 replied to dcroghan's topic in Network, Cloud and Web
Have seen it, but never checked it out before. Its on my ToDo list now -
RESTDebugger fails where Postman succeeds
Rollo62 replied to dcroghan's topic in Network, Cloud and Web
Not that it solves your RestDebugger but, but there is also a nice tool Bruno, which might help to dig deeper. https://www.usebruno.com/ -
How to Use ONNX Runtime in Delphi for Object Detection
Rollo62 replied to Serge Pilko's topic in Tips / Blogs / Tutorials / Videos
Nice demo. 👍 Perhaps you forgot to mention that its available on GetIt https://getitnow.embarcadero.com/delphi-yolo-onnx-runtime-wrapper/ and on GitHub https://github.com/SoftacomCompany/Delphi-YOLO-ONNX-RuntimeWrapper and Medium https://medium.com/@softacom.com/object-detection-in-delphi-with-onnx-runtime-2b1e28b0e1b3 -
EU Accessibility Act (EAA) / BFSR BarrierefreiheitsGesetz - Generate PDF/UA from HTML
Rollo62 replied to Rollo62's topic in General Help
I could think of maybe parsing and replacing somehow, or edit manually at least in an easier editing system than InDesign. Im not an InDesign user, but my impression is that using InDesign as-is is a pain-in-the-.... in the first place. Maybe I'm wrong, but its not something I would love to use on a daily base. -
EU Accessibility Act (EAA) / BFSR BarrierefreiheitsGesetz - Generate PDF/UA from HTML
Rollo62 replied to Rollo62's topic in General Help
But thats not always what it is. It may be a signal word, it may be a warning sign, which is crucial to the user in user manuals. https://www.kothes.com/en/blog/creating-safety-and-warning-notices-with-the-safe-method Ok, those can be maybe set in their local language, but sometimes these icons were not repeated in each language. Thats hard to keep on track, if you have 8000 of those entries in hundrets of files. Our artwork department will be working on that alone for half a year, updating the current/older documents. I think the best way is to keep as-is and to provide a second channel of those documents, e.g. by HTML, where it will be possible to somehow auto-translate and fill those elements. -
Yes, that is some messy stuff, the icons. What I do, to avoid getting even more messy: - I made a 1:1 copy of the original Embarcadero artwork from /bin/artwork/... into a local folder to my project - This ensure that I use the same filenames as Embarcadero did, if I forget one or some changes in new versions, there is always the fallback to the Emba Icon - Then I redirect the folders ( not the filenames ) of the Icons dialog, to link to my local folder ( this can be done by search/replace in *.dproj too, if you do carefully ). - Then you might change the icons accordingly to your design, keep all dimensions, file-names, file-formats, etc., just relace the image to your design - After that, your app takes the new images (perhaps you have to de-install/re-install) the app, to make it happen. That way you don't have to fumble around with deployment at all, if its only about the original Embarcadero App Icons. You just trick the IDE to replace the original artwork by your, without even add more and more messy filenames.
-
EU Accessibility Act (EAA) / BFSR BarrierefreiheitsGesetz - Generate PDF/UA from HTML
Rollo62 replied to Rollo62's topic in General Help
Even worse than that, I ask myself what happens with internationalizations? We have PDF with 27 languages in one file. How is internationalization regulated there, are there certain regulations and best practices? What I mean is, for example, an alternative text for images, for screen readers. https://www.w3.org/TR/WCAG20-TECHS/PDF1.html We sometimes have documents in 27 languages, usually with one image per language, which could be tagged internationally, which is an enourmous workload. However, there are always many images that apply directly to many languages, in the worst case for 27 languages, what measures should the alternative texts and tags be given there? It makes no sense at all to put 27 translations in one tag. Alternatively, it would be conceivable to only ever add EN as a fallback, but this would also contradict the fact that all documents should be available in all national languages in each EU country. Such EN fallback would not be OK according to WCAG 3.1.2 or EN 301 549. How could such cases be handled sensibly? Yes, the right answer is, re-structure the whole document, which also would blow up the size tremendously. Since the files are also for printed user manuals, it would mean we have to have much more size and paper waste. No matter what you do, you cannot meet all the EU regulations, because they were highly contradicing in so many single topics, best method, close your eyes and wait until you get sued Of course, the more you try to regulate, the more it gets into over-complexity and finally the opposite of the original intention. At least HTML has maybe solutions to that, even though not very easy to use: <picture><source srcset="banner-de.svg" lang="de"> … <img alt="Standort Berlin" …></picture> or you denfine, thats its a language neutral role, which would work in the least of all cases, IMHO. html <img src="check.svg" alt="" role="presentation"> My conclusion: You cannnot meet all requirements: A11y, L18n, EcoDesign( saving Paper), EUDR (do not de-forest), GPSR, User manual design (warning icons), etc. etc., but you can freely choose which regulation you would like to violate the most. Are there any other fresh ideas about these topics? I cannot believe that we are the only ones looking into this mess. -
What I wanted to say is, that even for SameValue(Value), you have to consider the Epsilon. Only because its some kind of default, it doesn't make it better, you should better know it and deal with it. https://docwiki.embarcadero.com/Libraries/Athens/en/System.Math.SameValue What exactly is reasonable and whats not, depends on the use case, like you perfectly said. Thats why I would argue, that you always shall consider it (and better set it to make it visible to the outside too). I prefer to pre-set Epsilon always by myself, to the desired value, instead of any automatic and maybe unexpectedly changing behaviour from internal structures. This is only calling for unwanted sideeffects. All this might be true, but is very scientific. Unless I cannot see a real benefit, I will stay with my decimal Epsilon, perhaps only in deeper Physics we would need different perspectives than 10^-3, ... 10^-15 or so.
-
Yes, I completely get that point. Only I'm unsure in which cases this would really make sense. Usually I know my workroom, where I expect my variable to sit in. If you don't know that and you really want to switch tolerances, then I'm not really sure why. That would mean a 1^3 will get the tolerance of 1.0, a 1^6 might get a tolerance of 1000.0, for example. So what happens when you multiply two number, do you really want to re-calculate the tolerances too? Ok, in more complex calculations it should be enough to calculate the tolerance at the very end, according to the result value. Instead of putting such overhead to an "adaptive" functionality, I would rather put more overhead into statistics, to achive mean and std deviation, which are much more useful to me. I must confess, that I did such "adaptive" tolerance too, in some projects, but when using statistics for getting more insights of data, this was always much more useful to me. Nevertheless, maybe there are good reasons for adaptive tolerances too, only its already late today and I cannot find a real use case at the moment. 🤔 The only two reasons I could see for now, are for display clearance of the last digits, or if you want to convert the real numbers into integers then afterwards, to keep their last digits clean .
-
I think always in tolerances, when it comes to real numbers, because thats what the real numbers were all about, IMHO. Perhaps, I'm a little biased by handling with measurement technology too much ... Not sure what you mean by "adaptive" here, but what comes to my thought is statistics then, which directly follows the real numbers tolerances.
-
Not sure if that would help you in your situation, but under Windows-10 you could try to pre-set your desired default encoding: A DWORD value called iDefaultEncoding can be created in the registry path HKEY_CURRENT_USER\Software\Microsoft\Notepad https://www.querrum.de/querbeet/Notepad-ANSI-encodierung-Voreinstellung-aendern.html - The possible values are: 1 for ANSI 2 for UTF-16 LE 3 for UTF-16 BE 4 for UTF-8 with BOM 5 for UTF-8 without BOM This setting affects the default encoding for new files, but does not solve the problems with the automatic recognition of existing files Under Windows-10 these optiions were completely removed and replaced by AppData Extensions. Maybe its still possible to get back the old Notebook, like explained here: https://blog.2cn.in/index.php/archives/151.html https://www.askwoody.com/forums/topic/how-can-i-restore-functionality-of-notepad-exe-on-win11/
-
EU Accessibility Act (EAA) / BFSR BarrierefreiheitsGesetz - Generate PDF/UA from HTML
Rollo62 replied to Rollo62's topic in General Help
Yes, I'm checking on different levels howto get those tags added, my hope is that simple conversion or PDF-Printers to the job and accept those tags from HTML. If not, then the approach to fiddle with the PDF tags itselfs, but imagine a very large document with 27 languages and 6500 issues found ... My goal is to bring these documents to 0 Issues, when tested by those tools. I'm not sure if that ever can be done automatically, like PDFix does, at least it can reduce those issues. Other ways are maybe, for me the best would be HTML-to-PDF conversion/printing or the like, which reflects the aria-elements and others into the PDF, which seems to be ignored by the tools I checked so far. Other options to rework by Pythons tools seems to be the most promising solution so far. Or fixing directly in InDesign, e.g. bei plugins doing automatic fixing somehow. The question is what are the least painful processes, if you have many older documents with each about thousands of issues? To rework them manually is really not the most effective way, but perhaps the neccessary if we don't find better solutions. -
EU Accessibility Act (EAA) / BFSR BarrierefreiheitsGesetz - Generate PDF/UA from HTML
Rollo62 replied to Rollo62's topic in General Help
Sure, but this may help a lot to find out whats possibly going wrong, this usual PDF readers shows no hint at all. Something has to check the output PDF somehow. -
I do the same in many places, even keeping Integers for example by the Factor 10000 stored somewhere in the first place, but then you must ensure that it never happens that there is an unexpected overflow of the Integer. Thats why this solution always leaves me with a bad feeling, when I used it, ... but there's no such thing as a free lunch