Jump to content

Berocoder

Members
  • Content Count

    40
  • Joined

  • Last visited

Everything posted by Berocoder

  1. New job opportunity if you are experienced. Prefered location is Kokkola Finland but remote work is accepted. https://attracs.teamtailor.com/jobs/1660578-delphi-developer/45cf12cb-1f96-4e93-94c1-8b96c6a45ade
  2. Berocoder

    New Delphi job opportunity

    Internally we didn't agree on that sentence. Anyway a new guy start next week and another one in August. Many complain that there is no jobs for Delphi. At the same time some employers leave Delphi as it is hard to find developers. It don't make sense for me 😊
  3. https://ihateregex.io/ Is good regex resource
  4. Berocoder

    Send attachment to Slack

    How can I add a large text-file as an attachment to a Slackpost? A working example would be great. I use SDriver https://github.com/andrea-magni/SDriver and the included demo works fine to send some strings. What I did so far https://gist.github.com/bero/e675bdf38c6e884be7e08377d6d52009
  5. I want to use Google Cloud logging from Delphi. From https://cloud.google.com/apis/docs/client-libraries-explained While you can use Google Cloud APIs by making direct HTTP requests to the server (or RPC calls where available), we provide client library code for all our Cloud APIs that makes it easier to access them from your favorite languages Of course Delphi is not represented. Any hints on how I can use cloud for logging? It also mention that https://www.fluentd.org can be used from any language. But I still want samples how to use all this in practice. Any help appreciated!
  6. Berocoder

    Connect to Google Cloud?

    Ok thanks for the feedback. So back to the original question 😊 What is the best or most convenient path to connect and use Google Cloud logging from Delphi? I want to avoid dependencies to third-party components and dll-files if it is possible. But it is not a requirement. Roland
  7. Berocoder

    Connect to Google Cloud?

    I refer to builtin https://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_an_HTTP_Client Regards Roland
  8. Berocoder

    Connect to Google Cloud?

    Ok I have never used https in Delphi. Just so I understand you correct. Delphi httpclient use openssl? No need to deploy additional dll with exe-file? Where can I find an example of this? The application is deployed on Windows Server 2012 Regards Roland
  9. Berocoder

    Connect to Google Cloud?

    I am not sure how complicated it would be to use https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Net.HttpClient instead. Grijjy use a dll for SSL. HttpClient use what is available in OS.
  10. Berocoder

    Connect to Google Cloud?

    Thanks I also found that. I am not found of deploy a dll-file beside the exe- file
  11. Berocoder

    Conflict with TestInsight

    I think I found some kind of conflict between TestInsight and MMX Explorer. I have installed Delphi 11 in a VmWare WorkStation VM. Installed TestInsight from https://files.spring4d.com/TestInsight/1.2.0.1/TestInsightSetup.zip Run installer and verified it works fine on a test-project Next install MMX Explorer from https://www.mmx-delphi.de/download/338/ Now I run TestInsight on the testproject and it looks like this So it just show an empty window. No result from the tests. I have the same problem in Delphi 10.4.2. I like both plugins and want them to cooperate better. Anyone with similar experience ? Regards Roland Bengtsson
  12. Berocoder

    IDE Code Coverage Plugin available

    Good that you manage to fix problem with Toolbar The big 5 mloc project also have a Testproject. I know only a fraction of code is executed in testproject. So I am curious how much. 0.1, 3 or 10 % of all code ? But I also understand now it is technically challenging to get a code coverage of whole project. Reading https://github.com/magicmonty/delphi-code-coverage/blob/master/CodeCoverage/BreakPoint.pas now It use opcode $CC Is it the same kind of breakpoint you use ? Could be there is no silverbullet to get full code coverage without major speed penalty
  13. Berocoder

    IDE Code Coverage Plugin available

    Does it understand Delphi source ? URL ?
  14. Berocoder

    IDE Code Coverage Plugin available

    Ah ok. I am sure it will be slow. I have been looking for a tool that cover a whole project for Code coverage. There is https://github.com/magicmonty/delphi-code-coverage. I had a memory there was some kind of problem last time I tried. Maybe I should look again. But still impressive work with your plugin! Regards Roland
  15. Berocoder

    IDE Code Coverage Plugin available

    Yes the Toolbar is not working in Sydney. But can still use hotkey so no big deal. I have to manually mark each method to enable code coverage. Is it possible to just enable all code in a project for code coverage? My project have about 5 mloc with thousands of methods. It would be handy 😊
  16. Berocoder

    IDE Code Coverage Plugin available

    Great, will try it now [EDIT] I tried to clone the repo, compiled it and install. I got this error --------------------------- CodeCoverage - Delphi 10.4 - Welcome Page [Built] --------------------------- Registration procedure, Codecoverage@Main.Register in package C:\Attracs\DelphiCodeCoveragePlugin\Packages\Delphi 10.4 Sydney\CodeCoverage270.bpl raised exception class EAbstractError: Abstract Error. Any clue ? /Roland
  17. Berocoder

    VCL Handling of dpi changes - poor performance

    Well in that case it would be the ultimate test of VCL DPI handling.😊
  18. Berocoder

    VCL Handling of dpi changes - poor performance

    Delphi IDE is built with Delphi?
  19. Berocoder

    VCL Handling of dpi changes - poor performance

    So most users here think VCL have poor implementaton for DPI on monitor changes. So what about other platforms on windows. Is it better handled in C#. Java, QT etc?
  20. Attracs company in Finland looking for Delphi developer. Our main application do transport planning and logistics. The office is in Kokkola. Now, most work is done remotely but hopefully, COVID-19 will end someday. So we would prefer someone in the neighborhood. We use Delphi Sydney, Bold for Delphi and Windows. Currently, we are 4 developers plus 2 consultants. In case you are a senior Delphi developer you can also work remotely as freelancer. Experience of ORM or Bold for Delphi is a merit. Ask for more details.
  21. I want to develop an own component for TCombobox. It should work like this: 1. User type something in the field2. User type magic keys, in my case ",," to trigger the search for typed characters3. My event OnTrig is called. That search in SQL in the database for the characters. So this can be any tables in the database and is customized per instance of the component.4. The list of hits is displayed in the combobox. If too many the first 99 hits is displayed5. The user picks one of the hits in the combobox. Now the event OnPick is triggered. That is, of course, different per instance and transform the hit to an object in application.Now could you give some general advice about how I should proceed? I have bought Devexpress VCL components so have source for that. Maybe better to use any of those comboboxes as base? Regards Roland Bengtsson
  22. Back in 2012 I made a petition to make Bold for Delphi open source. It is still there if anyone would like to sign https://www.change.org/p/embarcadero-technologies-release-the-intellectual-property-of-bold-for-delphi. The target failed as Bold is still closed source. IP is kept by Embarcadero. But I achieved one thing. I got attention from Embarcadero. They actually answered my mails when the petitions had some hundred signs. So my plan is the following. We make petition to get attention from Embarcadero. It should contain ideas what we their customers want Embarcadero to change. Ex, make a self-service portal for licenses. Focus less on features more on bugs. Make VCL opensource etc. But only a few points. We should focus of most important things and explain why this is important. Set up a shared document at Google docs Cooperate around the expressions. I am sure there are many here that can write exactly what we need in a clear manner Publish the petition Spread the word to as many as possible When enough signs are collected we contact Embarcadero 🙂 Another thing, who is in charge of Delphi at Embarcadero? I talk to Marco Cantu sometimes but he claim he cannot make big decisions. Is it some of these happy guys we should talk to https://www.ideracorp.com/leadership ?
  23. Berocoder

    Make attention to Embarcadero

    Yes, I corrected spelling. Anyway even if that guy is in charge of Delphi. I doubt he is reading this or other forums that people complaining about how things are handled. I think it is better to try do something concrete about it. I made an empty document here https://docs.google.com/document/d/1uxa9u09hE7tLEMau1Ld9OELJoTCTvxEyst6JY3yevzo/edit?usp=sharing Anyone can add and edit the ideas. What changes do we want from Embarcadero ?
  24. I just wonder why not people using VmWare or similar virtualisation for Delphi? Then you never have to move to a new computer and this problem is gone. A VM have also other advantages.
  25. Berocoder

    Unused local variables

    Yes our big legacy codebase of around 4 mloc take one minute to build. And we don't build from dcu's so that would be a nice improvement.
×