Leaderboard
Popular Content
Showing content with the highest reputation on 01/27/24 in all areas
-
I have created a unit, that is similar to String Interpolation. Of course real Interpolation would be a compiler feature. TStr('Hello, {0}! Today is {1:ddd}, it's {1:HH:mm} now.').Params(name, date); // Hello, Mark! Today is Wednesday, it's 19:40 now. Variables where automaticly detected and converted (automatic type inferrence via Generics), so no need for IntToStr, FloatToStrF... Here a short Description of the Format. It is similar to the Format Specifier of .Net. The Date Format is almost the same like in Delphi, but the other Specifier are different. but i think its a way better than the sprintf Convention that Delphi uses: Integer and Float where automaticly converted and formatted as needed: C for Currency (Number for Decimal Places) D for Integer (Number for prefixed Zeros) F for Double (Number for Decimal Places) Date can formatted with: dd = Day, MM=Month, yyyy=Year HH=Hour, mm=Minute, ss=Seconds there are further possibilities in the readme Readme: https://github.com/VoSs2o0o/NetFormat/blob/master/readme.md Code: https://github.com/VoSs2o0o/NetFormat/ Download: https://github.com/VoSs2o0o/NetFormat/releases Website in German with descriptive Content about the Code: https://www.cloud-9.de/entwicklung/delphi-besserer-format-befehl
- 10 replies
-
- format
- interpolation
-
(and 1 more)
Tagged with:
-
Delphi 12 requires missing DLL on Server 2008
Kas Ob. replied to Tsagoth's topic in RTL and Delphi Object Pascal
I have very simple question, why your Delphi built application asking for Microsoft CRT library ? CRT= "C RunTime" not "Common RunTime" ! I see there is Chilkat library in the folder, so either 1) Chilkat is the offensive one, in this case you contact them for a fix or replacement, all CRT can be built and linked statically removing the need for the external libraries. 2) Something else does need it, in this case you included/linked some code/library that need CRT, again find it and replace it may be. -
Quality Portal going to be moved
Dalija Prasnikar replied to Uwe Raabe's topic in Community Management
Moving QP is not about saving money, nor it is directly related to current outage. It was something that has been planed for quite some time (this has been disclosed to MVPs) because Atlassian no longer supports JIRA on premises which Embarcadero uses. https://blogs.embarcadero.com/embarcadero-quality-portal-migration/ So they are logically moving their internal system to Atlassian Cloud and the front for customers will use Jira Service Management. It would be rather ridiculous to use full fledged JIRA for customers and pay millions for features that we couldn't use anyway. JSM seems like a good option in this case. And issues will be visible to everyone. -
It's supposed to look like this: So the buttons should be on the left and not overlap the status bar. But the way it is designed seems a bit odd: There is a TEditorStatusControlForm containing all the controls and associated actions for this. This descends from TForm, so it isn't actually meant to be embedded. And apparently it isn't, because all the buttons heve been re-parented to the a TToolbar which over several intermediate panels are on a TEditWindow. Of course this doesn't really help you, sorry. I was just curious and looked at it.
-
And maybe get rid of the leading T since it isn't really used as a type.
- 10 replies
-
- format
- interpolation
-
(and 1 more)
Tagged with:
-
There are a few contenders. The thing that puts JIRA over the top for many is the integration with Confluence. This one looks pretty nice: https://linear.app/ But lately I've just been using GitHub's simple issue tracker for personal stuff (and JIRA at work) In my last job, I wrote our ticketing system (in Delphi) and after a decade it had 400,000+ tickets in it and we were very productive using it as it was customized to our way of working and I simply got used to it and prefer nothing else. Switching to the JIRA takes effort as everything feels a little slow/clunky.
-
Quality Portal going to be moved
Anders Melander replied to Uwe Raabe's topic in Community Management
Why is it definitely a good thing? The current system seems to work fine. I can understand why they would want to migrate away from their old, unsupported Jira server but without knowing what they are going to replace it with it's hard to say if it will be an improvement. Don't count on it. The last time they switched system all the existing data were left behind and lost. -
MyDac can use macro https://docs.devart.com/mydac/work_macros.htm Something like this code (sorry, I don't use Mydac but Firedac) Query1.SQL.Text := 'SELECT * FROM user Where ID IN (&list)'; Query1.MacroByName('list').asString := '1,2,3'; Query1.Open; Otherwise, you can use a format string sqlstring:='SELECT * FROM users WHERE id IN (%s)'; inlist := '1,2,3' query.sql.text:=Format(sqlstring,[inlist]); Ok, it's really a very poor code !
-
Looking for License Plate Recognition library
Brian Evans replied to alnichols2024's topic in General Help
Hard to recommended anything with zero requirements listed. It is available as a service if you have the money from providers like Automatic License Plate Recognition - High Accuracy ALPR (platerecognizer.com). -
I've recently updated Indy's GitHub repo to now tag the commits that have been bundled in the past few RAD Studio releases (including 12.0) since Indy switched from SVN to GitHub.
-
For 2d/3d game better use DirectX/OpenGL libraries instead of canvas drawing For controls, painting is done using canvas, so speed it limited. Yo can draw component to a buffer using DirectX/OpenGL surfaces (for complex compositions) and transfer to canvas control, using some buffering to avoid redraw Forms and controls can be scaled from desing dpi to device dpi, check Handle.Scale from yout form For test pixel perfect, I made a simple app to place a Button, Label and TRectangle to get coordinates & dimension of the shape (no style) to see if they are scaled some way. TRectangle is positionated at (16,148) with a size of 64x64. I run on my samsung galaxy tab, click on button to update Label text with the rectangle position and size and compare with screen shot. Result, rectangle is positionated at 16,148 pixels in clientarea and is 64x64 pixels size, so no scaling has been done. Rectangle is show width 1 px arround the shape as desing.
-
Quality Portal going to be moved
Vincent Parrett replied to Uwe Raabe's topic in Community Management
Confluence is an abomination - full of security holes, new CVE's every week. Our instance has been hacked twice - both times by bitcoin minors, requiring us to build a new vm and restore from backup. We're close to completing our migration away from it thankfully. I'm not sure that Jira JSM is the right way to go, given that Embarcadero doesn't really do support 🤦♂️ -
Quality Portal going to be moved
David Heffernan replied to Uwe Raabe's topic in Community Management
Sucks to be us -
Quality Portal going to be moved
Anders Melander replied to Uwe Raabe's topic in Community Management
That's not quite true. Jira Server is EOL in february this year but there's still Jira Data Center which is also on-prem (and extremely expensive). So the question is what "limited" means. Jira is licensed per-user and I'm guessing that they're not going to buy a license for each of their Delphi users. Instead they might be going with Jira Cloud internally and Jira Service Management (JSM, formerly Service Desk) externally. JSM is licensed per agent (internal user) with unlimited externals users (called "external customer" in JSM). I trialed JSM many years ago for external support but back then it was still licensed per external user and didn't really work that well, compared to something like ZenDesk. As far as I know JSM does not allow one external user to see the issues raised by other external users. I.e. it's a support system; There's no interaction between external users. So if JSM is the solution they are going for I don't see it as an improvement. As I customer I don't really care about what goes on behind the curtain. From my POW it seemed to work fine but I guess you point was that it only seemed that way. I wish I could have your admirable optimism. -
I was just thinking the same thing! So many QC tickets were lost, and not linked/duplicated into QP tickets.
-
Last time this happened you were supposed to repost your unresolved QC contributions into the new system. And after some time the old QC portal was completely removed.