Jump to content

Lars Fosdal

Administrators
  • Content Count

    3324
  • Joined

  • Last visited

  • Days Won

    110

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Amazing support at TMS

    I love how responsive TMS are as a company, but I wish they did more regression tests on the TAdvStringGrid.
  2. Delphi Developers Archive (Experimental) for the Google + Delphi Developers Community is online. https://delphi-developers-archive.blogspot.com The posts are searchable by tag list or free text search. FYI - This is work in progress, and I hope to improve the following issues: - Some posts have erroneous titles - Some posts are missing attribution of the original poster - Some 600 posts are missing due to an inexplicable quota error during import Comments on the archived posts are currently disabled until the import is finalized. Comments appreciated.
  3. It looks like I have to delete and re-import, oh joy...
  4. @Attila Kovacs That is one of the fixups that the Google+Exporter have implemented. At the moment I am trying to find out if I can update the posts, or if I have to delete them all and re-import them. Blogger is a difficult beast...
  5. Odd story: Of the 12K posts, 3 did NOT have a category! Go figure!
  6. @Attila Kovacs - If you find something truly horrendous, feel free to send me a link. I am not going over the 12K posts by hand, though. Edit: But not yet, do it after I've done the brush ups that Google+Exporter are implementing. I'll announce it when I think it is "done". Besides, Tags existing in the original G+ posts are perpetuated. Post category is also attributed as a tag. Also, the blog search is full Google search, so you can write things like someword AND (thisword OR thatword) Note the capitalization of logical keywords. Hence the titles are the least of worries.
  7. Not possible. Blogger insists on a title, and Google+Exporter makes what it can out of the first text(s) it finds in the post.
  8. Lars Fosdal

    Changes in Parallel Library

    Alternatives to sleep,could be to have a class that creates large arrays of random values, and do Bubble sort on them, optionally logging the progress to disk 😛
  9. Consider the following Json data: The array elements are lists of integers, strings and objects. { "message": [ [ 0, "a text" ], [ 1 ], [ 1, { "switch": true } ], [ 2, "text one", "text line two" ] ] } Assume the JsonData const below is filled with the Json above. Using the Json tools from unit REST.Json, I would typically do like this. const JsonData = // see Json data above var Message: TJsonMessage; begin Message := TJson.JsonToObject<TJsonMessage>(JsonData); But - how should TMessageArray be declared to accept the above structure? Is it actually possible? TJsonMessage = class private Fmessage: TMessageArray; public property message: TMessageArray read FMessage write FMessage; end;
  10. Correct link: REST.Json.Interceptors types/methods are undocumented https://quality.embarcadero.com/browse/RSP-23026 Unabashedly mentions @Marco Cantu
  11. G+ is slightly different. As Owner or Moderator you can only remove posts or comments, not edit them. A post that is removed from a community, remains on the profile of the original poster. I am already missing G+ a lot.
  12. Lars Fosdal

    Changes in Parallel Library

    Please amend the title. The title should IMO reflect the contents of the post, which "-------" does not.
  13. Sounds like the std terms for any social media platform, i.e. meaning that the content will be massaged electronically to fit onto different devices and delivery methods.
  14. Although there are no usage statistics for the G+ Delphi Developers, there is no doubt that the near 10k user count it has, in no way represent the actual number of active users, nor does it indicate the number of lurkers.
  15. Lars Fosdal

    General DB access question -- paging query results

    See previous my comments in this thread. SQL Server 2008 does not have built in support for pagination, while 2012 and newer does.
  16. Crosses heart, spits over left shoulder, throws salt over the right one, all while repeating "Thou shall not goto".
  17. My advice: keep your permissioning as simple as possible. Flexible permissioning is a rich source of challenges 😛
  18. https://quality.embarcadero.com/browse/RSP-23024 MCVE attatched to report.
  19. That is a good point. I ended up calling a class method that do the init code in the unit init section. It still is a strange warning, though.
  20. Reported a doc error: https://quality.embarcadero.com/browse/RSP-23024 Doh! Wrong issue!
  21. Gotta love the level of detail in the help for the interceptors 😞 http://docwiki.embarcadero.com/Libraries/Rio/en/REST.Json.Interceptors Nudging @David Millington...
  22. Or, a lack of established conventions - or - as for xml, an endless series of abuse 😛
  23. @Kryvich Do you know of any good examples of custom reverters? I am only going to consume these structures, not produce them - so that simplifies it a bit. Basically, I'd love to be able to transform the inner array elements to a single object, as there is only a limited number of permutations.
  24. Indeed. This structure was probably designed by someone that is not loading objects, but who just walks the structures with a weakly typed language.
×