-
Content Count
112 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Ugochukwu Mmaduekwe
-
Hi all. Does anyone have some sample code on how I can send email from Gmail in my Delphi App using OAuth 2.0 via Indy? Thanks.
-
Android Compiler Issue in Delphi Tokyo (10.2.3)
Ugochukwu Mmaduekwe posted a topic in Delphi IDE and APIs
Hi all, So I recently upgraded my Android SDK Version to 25.2.5 from 24.3.3 (the stock version in Tokyo). I also updated my JDK version from JDK 1.8U60 ( the Tokyo stock version) to 9.0.1 because I needed to use IntellijIDEA and my problem started. My Android FMX projects refuses to compile, I have even tried a blank form yet I get the error below The annoying thing is that my Window Path contains the path to the JDK System Environment Variable Any help is appreciated, I have been stuck on this for over 12 hours now and have tried everything I could see on the internet (stackoverflow) yet no progress. Screenshots of MY SDK Settings are attached below -
Voice Audio Transfer AEC ECHO cancellation
Ugochukwu Mmaduekwe replied to Turan Can's topic in Windows API
you did not state your platform, Android, iOS, Windows? -
what is the possibility of having a rest/soap webapi in Delphi 2007
Ugochukwu Mmaduekwe posted a topic in Network, Cloud and Web
Hi all, as the question stated, what is the possibility of having a rest/soap webapi written in Delphi 2007? What challenges are we bound to face? what components do you think will be needed? what advice can you give? lastly do you think it will be a better option to write the rest/soap webapi in C# using VS 2017 instead? Unfortunately the version of Delphi can't be upgraded. thanks. -
what is the possibility of having a rest/soap webapi in Delphi 2007
Ugochukwu Mmaduekwe replied to Ugochukwu Mmaduekwe's topic in Network, Cloud and Web
@David Schwartz Thanks for this answer. Also, this project will involves transmitting quite a number of binary data over the wire. I am also considering the fact that I will be working with Unicode data so that will impose issues of it's own especially considering the fact that Delphi 2007 RTL is not Unicode aware. -
what is the possibility of having a rest/soap webapi in Delphi 2007
Ugochukwu Mmaduekwe replied to Ugochukwu Mmaduekwe's topic in Network, Cloud and Web
Thanks but it seems like it doesn't support Delphi 2007 like you correctly figured out. -
what is the possibility of having a rest/soap webapi in Delphi 2007
Ugochukwu Mmaduekwe replied to Ugochukwu Mmaduekwe's topic in Network, Cloud and Web
@Kryvich, I am not really comparing. I am just evaluating my options. -
what is the possibility of having a rest/soap webapi in Delphi 2007
Ugochukwu Mmaduekwe replied to Ugochukwu Mmaduekwe's topic in Network, Cloud and Web
Would have loved to look into Delphi MVC but unfortunately they don't have plans to upgrade the Delphi version they currently use. However I will look into Delphi MVC for my own personal projects. Thanks a lot. -
what is the possibility of having a rest/soap webapi in Delphi 2007
Ugochukwu Mmaduekwe replied to Ugochukwu Mmaduekwe's topic in Network, Cloud and Web
Thanks a lot, this has been what I have always wanted to do. will wait for other responses though. -
Dictionaries, Hashing and Performance
Ugochukwu Mmaduekwe replied to Clément's topic in Algorithms, Data Structures and Class Design
so for your use case, the other leaf xxHash unit will be more suitable after some optimizations due to it's simplistic stack based approach- 53 replies
-
- tdictionary
- tstringlist
-
(and 2 more)
Tagged with:
-
Dictionaries, Hashing and Performance
Ugochukwu Mmaduekwe replied to Clément's topic in Algorithms, Data Structures and Class Design
>20times slower is really strange as that is not what happens on my end. as regards the dynamic array, I am aware it has it's overhead but I added it since it gives people the ability to adjust the buffer size to one of their choice.- 53 replies
-
- tdictionary
- tstringlist
-
(and 2 more)
Tagged with:
-
Dictionaries, Hashing and Performance
Ugochukwu Mmaduekwe replied to Clément's topic in Algorithms, Data Structures and Class Design
@Stefan Glienke The above should be hash.ComputeUntyped(value, SizeOf(Integer)).GetUInt32; // hash is an IHash instance where I created a TXXHash32 for. //or hash.ComputeUntyped(value, SizeOf(Integer)).GetInt32; // hash is an IHash instance where I created a TXXHash32 for. Also, you could use TXXHash32 and avoid the whole slowdown associated with interface virtual calls but then you will have to manage the memory yourself. doing what I described above then you will have hash.ComputeUntyped(value, SizeOf(Integer)).GetUInt32; // where hash is a THash instance. Could you please try this and post your results?- 53 replies
-
- tdictionary
- tstringlist
-
(and 2 more)
Tagged with:
-
Get class instance in record
Ugochukwu Mmaduekwe posted a topic in Algorithms, Data Structures and Class Design
Hi, So here is what I want to achieve. I have a class named TA. in class TA, I have a record named TB. is it possible to get the constructed instance of TA as a variable in TB without the use of an external variable that is assigned at the construction of TA of course? type TA = class abstract(TObject) strict private type TB = record private var ClassAInstance: TA; // ========================> is it possible to get the constructed instance of TA in TB so I can assign it to the variable. Block: array [0 .. 7] of Byte; Offset: UInt64; BlockOffset: Int32; function Clone(): TB; procedure Read(const ADestination: TBytes; ADestinationOffset, AOutputLength: UInt64); class function DefaultB(): TB; static; end; Thanks. -
Get class instance in record
Ugochukwu Mmaduekwe replied to Ugochukwu Mmaduekwe's topic in Algorithms, Data Structures and Class Design
Don't know why I didn't think of this in the first place. Thanks a lot. -
Get class instance in record
Ugochukwu Mmaduekwe replied to Ugochukwu Mmaduekwe's topic in Algorithms, Data Structures and Class Design
Hmm, That looks like something that could work. will check it out, Thanks. -
Dictionaries, Hashing and Performance
Ugochukwu Mmaduekwe replied to Clément's topic in Algorithms, Data Structures and Class Design
first of all, I must intercept here. MurmurHash is not faster than xxHash, never. That implementation been used is naive and has never been optimized. I suggest you use the version in HashLib4Pascal as that has been optimized over time. Benchmarks Results on My PC are attached below. As you can see in the benchmark, xxHash blows MurmurHash out of the waters especially in FPC.- 53 replies
-
- tdictionary
- tstringlist
-
(and 2 more)
Tagged with:
-
array of weak references
Ugochukwu Mmaduekwe posted a topic in Algorithms, Data Structures and Class Design
Hi all, is it possible to have an array of weak references in Delphi, or a container that does not affect the reference count of the object been added to it? -
array of weak references
Ugochukwu Mmaduekwe replied to Ugochukwu Mmaduekwe's topic in Algorithms, Data Structures and Class Design
@Fr0sT.Brutal, @Stefan Glienke, Thanks a lot for your answers. will give it a try. Thanks once again. -
@Attila Kovacs you might have to end up writing your own app specific clipboard because the Windows clipboard content is accessible to all running programs.
-
New section for native apps
Ugochukwu Mmaduekwe replied to Alberto Miola's topic in Community Management
@Fr0sT.Brutal can you please explain what you mean by "unclear perspectives" in relation to dart? -
You can give Lazarus and FreePascal a try, at least that's what I do these days.
-
This is not the ISO based installer. This is the web based one instead.
-
No but I assumed since this is the last major update before a new major version (10.4), they might wish to surprise the community. :wishfulthinking:
-
Does anyone know if a community edition of 10.3.3 will be released?
-
Sending Email via GMail Using OAuth 2.0 via Indy
Ugochukwu Mmaduekwe replied to Ugochukwu Mmaduekwe's topic in Indy
The problem with application password is that it requires 2FA setup which in turn forces you to authenticate each login even though it's for something as trivial as sending mails from your app.