Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 05/20/23 in all areas

  1. Stefan Glienke

    Fast Base64 encode/decode

    Personally, I would find it way more readable if you would not ifdef DELPHIAVX for every single line but simply make it two blocks, one using the avx instructions and one using db.
  2. David Schwartz

    Community license

    QUESTION: at your work, does your employer have ANY registered versions of Delphi? I'm guessing they DO, because otherwise EMBT would have no way of knowing you work for them. My opinion is because of THAT and because you used your PERSONAL computer for PERSONAL work and connected to YOUR EMPLOYER'S NETWORK ... you basically waved a big red flag in front of anybody who might be watching. If you read your employment agreement, there's a very good chance that says anything you work on using COMPANY RESOURCES BELONGS TO THE COMPANY. In many states in America, this is part of a "non-compete agreement" and laws have been enacted that say if you work on something OUTSIDE of work, using YOUR OWN RESOURCES, on YOUR OWN TIME, then the fruits of your labors are YOURS and your employer has no claims on them. Otherwise, they belong to the company. But MOST states aren't that enlightened -- their non-compete agreements say that ANYTHING YOU WORK ON 24/7/365 BELONGS TO THEM! So all EMBT needed to do was ask whether your non-compete agreement says that whatever you work on using any of their resources belongs to THEM or not. If so, you basically put your employer into their crosshairs from a legal standpoint. You used the CE version to write software that may have belonged to your employer right from the outset. Do you understand that? Because by your admission, you DID use some COMPANY RESOURCES -- their INTERNET. And even though say you were "at lunch", it seems YOU WERE PHYSICALLY DOING THIS AT WORK (because you were connected to their internet), which can be construed to be "on company time" -- being "on break" is still tracked by the company while you're at work. If, instead, you went to a local restaurant and accessed THEIR network, or used your phone as a WiFi Hotspot, there's not much room for anybody to claim your employer is in any way involved -- unless your non-compete agreement says that ANYTHING you work on IS THEIRS. The CE license DOES allow you to distribute programs compiled with the CE edition, right? For free or for a fee, right? So that's not the issue. The issue is, what if your employer might be using it? Personally, I'd say you'd be skating on thin ice with that one, because maybe your employer has not renewed their maintenance agreement in years and is not interested in doing so. But if you build stuff "on your own" that actually is of benefit to your employer (and may actually belong to them), I'd say that's a very fishy situation and hard to defend. Sure, it's one thing if the company makes widgets and your app is for taking notes; you can argue, "So what?" But EMBT can argue that they might have had some role in encouraging you to do this to save them the license fee, right? Which may be why they paid for your Architect license -- because EMBT had threatened THEM with a much bigger lawsuit. They may have had no knowledge of your efforts, but ... how did they end up using the app you created??? See, that's the fishy part to me. Your actions might have been innocent, but there's just too much overlap between your actions, and who benefitted from them. You used company resources and they got a direct benefit by using your creation. That's really what it boils down to as far as I can tell. And you're probably lucky you didn't get fired. I have worked plenty of places and worked on my own stuff independently, but that's the key -- INDEPENDENTLY. Meaning NOT AT WORK, NOT USING ANY COMPANY RESOURCES, and certainly NOT USING MY SOFTWARE AT PLACES WHERE I WORK. I don't know why people here are making up so much nonsense about this. EMBT wants the CE version to be used by people at home and at school to learn to build programs with Delphi. There are TONS of people who build lots open-source and free stuff and never make a dime from it. Maybe the company you work for does. But if you get paid as a programmer, and you use the CE edition "at work, using company resources", I'd say there's about a 95% chance you and your employer are going to get found out, no matter how innocent you think your actions might be. To avoid that, talk with your boss, your IT manager (whomever manages your software licenses), and go over your employment agreement to find out what the exact requirements are for you to be able to work on your own projects at home independently from work. You might have to negotiate a separate non-compete agreement and/or disclose what you are or plan to be working on outside of work. And whatever you do, do NOT do it using ANY of your employer's resources -- like, don't even sit in your car in their parking lot at lunch time or park nearby at night after work just to use their internet! At the end of the day, this is not really about the CE license at all, but about keeping your personal life outside of work completely separate from your employer, their time, resources, and whatever your non-compete agreement says about this stuff. Consider that the reason they have that $5000 earnings limit is they WANT you to make money with it! Because if you do, you'll probably want to make even MORE with it. And to do that, you can use SOME of your earnings to BUY A LICENSE, which removes the earnings cap and lets you make as much as you want.
  3. Ali Dehban

    ChatGPT plug-in for RAD Studio.

    Hello, everybuddy. Recently I made a plug-in for Delphi to use ChatGPT inside the IDE. The main service is ChatGPT but it's actually multi-AI support, you can get responses from three different sources, compare and decide. I hope this can be helpful and accelerate your work. Repository: https://github.com/AliDehbansiahkarbon/ChatGPTWizard Key features: - Free text question form. - Dockable question form. - Inline questions(in the editor). - Context menu options to help you to find bugs, write tests, optimize code, add comments, etc... - Class view. - Predefined Questions for class view. - History to save your tokens on OpenAI ! - Fuzzy string match searches in the history. - Animated letters(Like the website). - Proxy server options. - Supports Writesonic AI (https://writesonic.com) - Support YouChat (https://you.com) Short Video 1: Short Video 2 - Inline Questions: Full Video (ver. 2.0):
  4. mikerabat

    Fast Base64 encode/decode

    I just released an assembler optimzed (AVX2 set) Base64 encoding/decoding unit. check it out under https://github.com/mikerabat/fastbase64/ My reference implementation achieves up to 10 times speedup against the reference Indy implementation. Let me know what you think or if you encounter some errors...
  5. programmerdelphi2k

    Why Should a C-Sharper Learn Delphi?

    @Qasim Shahzad and more... Build Native Apps 5x Faster With One Codebase ( Delphi1 running under Delphi11.3 compilation, yeah! it's possible, respecting the "changes over years") For Windows, Android, iOS, macOS, and Linux + Internet of Things (IoT) https://www.embarcadero.com/products/delphi/features/internet-of-things-iot DONT FOGET: and the "BUGs...." ๐Ÿ˜‚ but, where it does not exists, isnt?
  6. programmerdelphi2k

    Why Should a C-Sharper Learn Delphi?

    @Qasim Shahzad As the popular saying goes: Knowledge does not occupy space! (unlike knowledge books ๐Ÿ™‚ That said, there's not much to argue about knowing something more and enriching your knowledge! What other arguments will be just rhetorical, and, in the end, will not make much sense to anyone who wants to gain knowledge! (like you). Okay, maybe it's not as commercial or popular in the environment you work in. Bear in mind that the "market" will always dictate the rules! But what about your personal fulfillment? If it is not suitable in your business environment, it may be to your personal satisfaction. And thus make your day-to-day more productive, even if you use another programming language at work!
  7. DelphiUdIT

    Community license

    This discourse is absolutely misleading and meaningless. This is the problem with the CE license. I report my case, i have a subscription active and I'm not licensed to use a CE: I have a very wide "internet" band available and I have decided to share this resource in the neighborhood with students and other people who don't have economic possibilities (free of course). Does this mean that whoever connects to my network works for me? What if some students use the CE? That's why I asked the students not to use CE (one of them actually wanted to learn Delphi but I directed him to Lazarus). This is reality, not fantasy and many structures leave accessibility to the resources they have without there having to be an economic activity behind it. Surely the Community Edition has its advantages, but the legal aspect is so stringent that those who want to approach this tool prefer other ways. Bye
  8. David Schwartz

    Something like SimpleNote with an API?

    Well, sort of. I'm building a web app using TMS WEB Core, and it runs in the web browser. I noticed that on my phone there's a way to "share" something. So I'm able to write a text message, say, and then "share" it with SimpleNote. I guess it launches SN (or Notes, or whatever) and lets me create a new note with the contents of that text message. I checked and WEB Core seems to have a TWebShare component that lets you access that feature if it exists on a platform. It's not quite what I was hoping for. I'm still considering alternatives, like letting the user choose what to do when they hit the [Save] button, like sending an email or text message or doing some kind of "share" with another app. Or maybe I'll just build a version of SimpleNote. Who knows. I haven't decided which way to go yet. But folks here seem to think that the more friction your users encounter, the more they're gonna LOVE your app....
  9. Attila Kovacs

    set of object instances

    https://stackoverflow.com/questions/19466038/finding-common-elements-in-two-arrays/19524788#19524788
  10. Brandon Staggs

    set of object instances

    TDictionary<TObject, Boolean> Your objects are the keys, and the value can essentially be ignored. Use AddOrSetValue, and KeyExists. Might go the next step and just create some kind of hash table if I were doing this a lot. I doubt the overhead of having an un-needed value is worth it though.
  11. Ali Dehban

    ChatGPT plug-in for RAD Studio.

    A new short video that demonstrates all the features of the plug-in quickly.
  12. What is GExperts? GExperts is a plugin for the Delphi IDE that adds many enhancements and also fixes some bugs. Which Delphi versions are supported? By the time of this writing GExperts supports Delphi 6 to 10.4 (with the exception of Delphi 8). GExperts releases always support/require the latest update for each Delphi version available at the time of the release. Where can download it? There is a link to downloads for the current and older releases on https://gexperts.dummzeuch.de I found a bug, what do I do? Please file a bug report. If you happen to have already fixed this bug, please also attach a patch or an archive with the changed source files. I have a brilliant idea for an improvement. What do I do? Please file a feature request. I have added some improvement to GExperts. Where can I submit it? Please also file a feature request and attach a patch or an archive with changed source files. Why shouldn't I report bugs an request features through this forum? I prefer to work on the actual program rather than being my own secretary. Taking posts from the forum and create the bug reports / feature requests is boring and time consuming work. I donโ€™t want to do that work. Where is the source code? See compiling your own DLL. Why is GExperts still on SourceForge rather than on Github like all the other important projects? I happen to like SubVersion better than Git. Github does not support SubVersion (apart from a bridge with limited features). What if I have a question not covered in this list? There is a more comprehensive list of frequently asked questions on my homepage Additional questions can of course be asked in the forum.
ร—