Edwin Yip
Members-
Content Count
432 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Edwin Yip
-
Anyone knows of a good Delphi library encapsulating Stripe payments?
Edwin Yip replied to Andrea Raimondi's topic in Delphi Third-Party
Same here -
Anyone knows of a good Delphi library encapsulating Stripe payments?
Edwin Yip replied to Andrea Raimondi's topic in Delphi Third-Party
@Graham Murt, before using Stripe, have you used other payment processor such as FastSpring? How do you compare them? Thanks! -
Anyone knows of a good Delphi library encapsulating Stripe payments?
Edwin Yip replied to Andrea Raimondi's topic in Delphi Third-Party
Agree that Indy is more generic, but I guess Indy needs OpenSSL in order to support httpS ( I guess Stripe needs https, not sure)? -
Anyone knows of a good Delphi library encapsulating Stripe payments?
Edwin Yip replied to Andrea Raimondi's topic in Delphi Third-Party
FYI: mORMot 2 (in-development) rest client: https://github.com/synopse/mORMot2/tree/master/src/rest mORMot (production-ready) rest client: TSQLHttpClient class from this unit: https://github.com/synopse/mORMot/blob/master/SQLite3/mORMotHttpClient.pas -
Anyone knows of a good Delphi library encapsulating Stripe payments?
Edwin Yip replied to Andrea Raimondi's topic in Delphi Third-Party
I think it's not about generics, but the use of 'System.Net.URLClient, System.Net.HttpClient, System.Net.HttpClientComponent’ which were introduced since XE7. I'm not sure the best replacement for the rest client for supporting older Delphi versions, maybe Indy? But my choice will be mORMot's rest client if I were you. -
Anyone knows of a good Delphi library encapsulating Stripe payments?
Edwin Yip replied to Andrea Raimondi's topic in Delphi Third-Party
Hello Graham the original developer of KsStripe! That'l be great! I just wonder, how difficult will it be to back-port it to earlier XE* versions of Delphi. I might do that when I need it :) -
Anyone knows of a good Delphi library encapsulating Stripe payments?
Edwin Yip replied to Andrea Raimondi's topic in Delphi Third-Party
There used to be an open source project at https://github.com/gmurt/ksStripe but the repository is no longer available. I have a copy but haven't tried it yet, it seems not to be compatible with my XE4. It's licensed under Apache and I assume I can re-upload it to github. Let me know if anyone is interested to contribute to it? -
Feature Request: Keyboard shortcut to close the IDE Messages window
Edwin Yip replied to panie's topic in MMX Code Explorer
Go to Cn Pack -> Script Wizard > Script Library. Add a new item then set the file name and keyboard shortcut for it. -
Organizing enums
Edwin Yip replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
But the IDE is the key to be productive. I'd go with the approach suggested by Darian Miller - use unit-scoped enums. Most of the time, enums should be visible to the entire app scope and it's reasonable to put them in a commonly used unit. That being said, I actually have the best option (for this very specific need) to suggest: == Use scoped enums and use CodeInsightPlus to replace the IDE's code-complete. From their product page, it says: -
Oz-SGL, a new generic collections library based on the idea of C++ STL
Edwin Yip replied to Edwin Yip's topic in Algorithms, Data Structures and Class Design
Sorry, I didn't expect the flame war, but was only sharing interesting and useful stuff, and expected to gain insightful comments from senior programmers (and we received some) :) -
Feature Request: Keyboard shortcut to close the IDE Messages window
Edwin Yip replied to panie's topic in MMX Code Explorer
Use the attached Pascal script file with CN Pack's "Script Expert", set a shortcut for the script. This is the only workable solution ATM AFAIK. {*******************************************************} { } { Pascal Script Source File } { Run by RemObjects Pascal Script in CnWizards } { } { Generated by CnPack IDE Wizards } { } { Author: Edwin Yip } {*******************************************************} program ToggleMsgView; uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; const cMinMsgViewHeight = 130; begin // Toogle the message view of the Delphi IDE if CnMessageViewWrapper.MessageViewForm.Visible then CnMessageViewWrapper.MessageViewForm.Hide else begin if CnMessageViewWrapper.MessageViewForm.Height < cMinMsgViewHeight then CnMessageViewWrapper.MessageViewForm.Height := cMinMsgViewHeight; CnMessageViewWrapper.MessageViewForm.Show; end; end. ToggleMsgView.pas -
Oz-SGL, a new generic collections library based on the idea of C++ STL
Edwin Yip replied to Edwin Yip's topic in Algorithms, Data Structures and Class Design
I see now! -
Oz-SGL, a new generic collections library based on the idea of C++ STL
Edwin Yip replied to Edwin Yip's topic in Algorithms, Data Structures and Class Design
Thanks for your input David. I'm not able to interpret that :P -
Oz-SGL, a new generic collections library based on the idea of C++ STL
Edwin Yip replied to Edwin Yip's topic in Algorithms, Data Structures and Class Design
@Stefan Glienke, Oops! Sorry, a little mistake I made at that moment, need not to say, I clearly know that you now maintain Spring4D and Eric mains DWS, both write good low-level code :) Thanks for info about the performance comparison, it's definitely helpful! -
Unit scope names in IDE - possible 2+ lines?
Edwin Yip replied to Mike Torrettinni's topic in General Help
Ah huh! Good finding! The IDE expert (plugin) was originally developed by RRUZ and I only did a little customization for my own needs. -
Unit scope names in IDE - possible 2+ lines?
Edwin Yip replied to Mike Torrettinni's topic in General Help
Hello Dinar, You are correct that RRUZ and dummzeuch are both "experts in the expert area" :D, Plus @David Hoyle, except me :D All I know is that CN Pack can turn the editor tabs into multi-line mode, exactly like the VS screenshot Mike posted , but unfortunately, that's for D7 and bellow only. -
Senior Delphi Developer looking for remote job
Edwin Yip replied to mijn's topic in Job Opportunities / Coder for Hire
Good luck! -
Sourcecode for BOLD published at GitHub
Edwin Yip replied to Markus Kinzler's topic in Community Management
IIRC Bold was a hot for RAD. I don't really know too much about it. Do you think it's still relevant today except for maintaining existing projects that use Bold? -
Well, that's how a software is getting better and better :D
-
@aehimself, Great! I think you can also implement the 're-order handles' like that~
-
[IDidNotMadeThis] Delphi-DirectUI - a new set of UI controls based on Graphics32
Edwin Yip posted a topic in I made this
Delphi-DirectUI is what I found today, it's a new set of nice-looking UI controls based on Graphics32. Unfortunately, it's not open-source nor free. See the attached screenshot. -
[IDidNotMadeThis] Delphi-DirectUI - a new set of UI controls based on Graphics32
Edwin Yip replied to Edwin Yip's topic in I made this
Hi Lars, I didn't notice that, there are several *Scene libraries in the Delphi community and I'm always puzzled. you can do what the forum rules instruct. -
I see, that's my feeling too when facing general marketing. I guess only the marketing/advertising of open source Delphi libraries will make me happen. That's a very rare exception. BTW, what do you mean by "burnt myself" in this context?
- 17 replies
-
- chat.
- client .server
-
(and 1 more)
Tagged with:
-
Not if it's about a Delphi/Pascal library component. On the opposite, I feel exciting when I hear a Delphi/Pascal library is advertised as fast, lightweight, high performance, or something like that, maybe the Delphi community/market is very small and we really need quality libraries and components. And my past experience shown that when a Delphi library/component is advertised as fast, it's usually fast, at least it proves the author really has a passion, or really tried to make it fast.
- 17 replies
-
- chat.
- client .server
-
(and 1 more)
Tagged with:
-
I was in the same shoe with yours and I ended up using a similar approach like what @aehimself described, and actually his approach solves the issue you described. I don't see any other approach better than this in terms of flexibility with the current implementation of VCL. I think the keys are: use a client-aligned TScrollbox to get unlimited amount of rows. Add the frames one after one. To solve the splitter mis-position issue, use the Tag property of the frames to map a pair of frame and splitter, and correct the position error by using something like `TSplitter(frames.Tag).Top = frames.Top + frame.Height`. Note, the standard TSplitter has the same issue you described. Not sure if there is another way to solve it.