Jump to content

Rollo62

Members
  • Content Count

    281
  • Joined

  • Last visited

  • Days Won

    5

Rollo62 last won the day on October 13

Rollo62 had the most liked content!

Community Reputation

52 Excellent

Technical Information

  • Delphi-Version
    Delphi 10.2 Tokyo

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Rollo62

    Interesting article about dying languages

    Nice visualization. Like always with such statistical data one should ask where does this come from ? How does GitHub evaluate "popularity" ? Isn't "popularity" just high because you can do small tasks easily ? Maybe such popularity index must be weighted against the complexity of projects as well. This also gives a clue to what developers maybe really like, as its seems to be a kind of simplifications in the language itself (JS amd Python). Anyhow, I don't really agree on this, as typed languages has a much practical benefits. Easy-to-learn is maybe not the only core feature of popular languages. From my experience, the languages are more or less irrelevant, but the libraries and frameworks do. I like all C languages, because they are "readable" for me, as C++ developer, although there are still many different features in each of them. Aren't JS/Python not only that popular because of their fantastic libraries and frameworks out there ? For me the key benefit of a language is not to support all small features like Nullable or Inline variables (nice to have, but not mission critical), but most important for me are stable and effective frameworks (VCL/FMX), encapsulating the complexity of the real world underneath. Regarding Delphi I would like to ask: Why can't I use ALL the core libraries of the modern OS, like beacons, sensors, ARKit, etc. etc. at 100% yet ? If so, there would be no need to move to Swift, JS or C#, only because I need to solve a special task, unreachable from FMX right now. Same for VCL and WinRT, but the situation is much more relaxed there, from the history of Delphi. Maybe I'm wrong, and there are different opinions for sure, but I would put most efford on building infrastructure and quality around libraries, instead of trying to follow the last hype in language theory. The "ease-of-use" is not by leaning only 20 keywords instead of 40, but to be able to use powerful libraries that encapsule all OS features in a nicely, cross-platform way, which are easy to learn, self-explaining, consistent, powerful and error-free. Furthermore to have powerful debugging tools as well, around this infrastructure.
  2. Rollo62

    Add a system-menu item to all applications?

    <OT> (c) Monty Python </OT>
  3. Rollo62

    [Macos, APFS, VmWare] Shrinking VM images

    Still no luck, but I added the step fragmentation before the shrinking. After the shrinking, I've got missing user access, so I solved this by giving access to everyone again: --> sudo chmod -v 666 /Users/myusername/Documents/Virtuelle\ Maschinen/macOS\ 10.14.7_Rx1032B_2_BETA.vmwarevm/Virtuelle\ Festplatte.vmdk After that the VM is running again, but still the physical size is not shrinked, although the internal partition is shrinked as it should. Maybe somebody has a clue how the VM image could be shrinked physically as well, maybe there are some tools out there (Paragon, etc.), but I could find any tool yet solving such specific issues with VmWare Fusion images. I nobody has some clue, maybe I have to restart again with some older, clean images, but I would like to know howto cleanup existing images for the future. What I cannot believe is that a modern file system like AFPS and VmWare are not able to allow a simple shrink of the file, only with a lot of terminal command steps, as below. Isn't this the 21st century now
  4. Hello there, I was making some experiments with shrinking larger VmWare Fusion VM images, which is not as simple as it should. My configuration is: Macos Host: Mojave, VmWare 11.5.0 Macos Guest: Catalina I have found the following process to shrink the OS disk, which looks as if it works well so far. The disk-sace is free and reduced and the VM is accessible. Unfortunately the last step, to shrink the VM image itself from the host seems to be the issue now. The "pre-occupy disk space" checkbos is NOT checked, so it should be a sparse file. There is the "vmware-vdiskmanager" tool, which should be able to do this, and it comes back with "Shrink: 100% done.". It seems that after this the VM size is still original, and the VM disk is not accessible any more. Does anybody has a good tip what may go wrong here ?
  5. Rollo62

    Delphi 10.3.2 with Xcode 11 and iOS 13?

    I've just tried my proposal on a Mojave VM, which I updated to Catalina. 1. With old Mojave Mac: Copy and backup ApplicationLoader from the OLD installed XCode package. Right click at XCode and select Show package content 2. Get he AplicationLoader app from here 3. Application loader is an self-containing app 4. Compress the app to ZIP file (this I needed to do, because I had issues to copy the .app onto my server) (Maybe this is again some strange security issue of big A) 5. I could copy the ApplicationLoader locally w/o problems, e.g. to the Macos desktop. 6. Upgrade Mojave and install Catalina (I removed and cleaned up XCode completely, except my copy of ApplicationLoader of coarse),. 7. Now I have Catalina, and I can start ApplicationLoader from old XCode. All seems to work nice and smooth, I didn't made a real upload yet, but I uploaded an old app and got the usual messages, after checking with iTunesConnect. Seems to work fine, probably still OK for a while ( Catalinas lifetime ??).
  6. Rollo62

    Modern C++ and Delphi

    I like the growing support for C++, maybe one day I have the chance to migrate my projects back to C++ if its stable enough. The whole advantage of C++ would be if all these countless popular C/C++ projects like ImageMagick, OpenCV, LibVLC, etc. could be build from CppBuilder out-of-the-box, has anyone tried yet ? As I understood David Millington, Embarcadero has seen this big advantage as well, and is working in that direction to bring C++ world more close to Delphi.
  7. Rollo62

    Delphi 10.3.2 with Xcode 11 and iOS 13?

    Nice, thanks for the link. Is'nt this as well deprecated together with ApplicationLoader ? @Jose Morango Since ApplicationLoader is only an app, maybe its possible to extract this from the old package before updating to XCode 11. Probably this only uses such the commandline tools. So then this could work for a while, until Embarcadero solved the topic, and there would be no need to install the whole XCode10 package. Have you checked if this might be working and what dependencies you need for ApplicationLoader ?
  8. Rollo62

    Context menu UI built with HTML and CSS only

    @Alexander Sviridenkov I use and like your library, although I must say this is sometimes not easy to figure out how simple, obvious tasks are intended to operate in runtime and designtime. Please provide more of such samples, to get clear about the intended use and possibilities.
  9. Rollo62

    JSON as a way to save information in Firebird

    I use JSON field for a similar approach, but I need to have saved the current state of a table document as safety backup. Since table entries might change over time, and building a history-safe table structure is somewhat brittle, I decided to store a copy of the current document (with main table entries) as JSON backup. No matter how the database structure and the data might change over time, I have valid backups when I release a document. So that I can surely find the state that is related to a special ID and date. Works fine, but of coarse there is the lack of search, but since the current tables refer to the momentary situation, I do not need to search in JSON really, Only when I need to restore old settings, I simply readout the JSON, and there is may be different versions of parameters stored in the JSON over time, which I can manually adjust if needed. Not sure if it is a good idea to have such field as main operating field, I guess this has too many drawbacks (speed, no seach, not easy to isolate between multiple user edits, etc.). Especially as you wrote that these fields need to be changed frequently. But if the field is just an addon to the normal table structure for a special use, as it is in my case, this might work fine. Maybe a clever mix of DB table fields and JSON fields can keep best of both worlds, but this highly depends on your project.
  10. Rollo62

    Good practices with nested methods

    Good point. I didn't count the many times when extracting from fast demo code with nested methods to private methods. Maybe this is the kind of "Evolution" how code might evolve over time, in the process of testing different approaches for a solution.
  11. Rollo62

    Good practices with nested methods

    I would rename one of the var i: integer; to to a distinct variable name "J", to avoid naming issues in the future. Better safe than sorry. Usualy when I use nested functions, they might also work on the above defined variables in the parent method, so that these methods might act as a kind of "helper methods". The drawback is that the common variables act like global variables, so you have to take care about their side-effects. I use this usually only with very short methods, where the behaviour is clear (like Item_Add(const AValue : String); ), to preset repeated settings in one more convenient common method.
  12. Rollo62

    Application Loader no longer included in Xcode11

    This probably depends on how Embarcadero will sovle App Bundles on its own (maybe this is on their list already). This would require to modularize the app in different features, do you see 32- and 64-apps as those two different features ? What else would be possible to modularize (assuming that you don't want to build a complete new build-system around RadStudio) ? Maybe you consider also something as in-app purchase of those modules (not sure if App bundles will support that scenario).
  13. Rollo62

    Application Loader no longer included in Xcode11

    @Dave Nottage Thanks for this great cxontribution 👍 To get your plans with Mosco right I want to summarize and ask some more questions: Will Mosco be a 1:1 replacement for PAServer (or is it controlling via existing PAServers) ? Mosco is adding, and ntegrating additional features to current PAServer, like SDK management, logging, notarization, AppStore upload, etc. There will be also a companion IDE expert, as well as companion apps like DeviceLens Are there aslo remote plans to integrate also more platforms, like Android (yes, I know Mosco's name speaks against this) ?
  14. Rollo62

    Running the IDE in a VM on Mac Book Pro?

    Ok, so you do by yourself, you're a very brave man I would prefer to search for some experts repair shops, offering this service, since my nerves lay a little open recently (since I started mobile development). I don't do hardware repair on a daily bases, so I wouldn't trust myself to get everything right after so many years loosing experience.
×