Jump to content

Tommi Prami

Members
  • Content Count

    562
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Tommi Prami

  1. Customer had bigger than 5000x3000, which is way way too big, but that just brought this piece of code into my attention..
  2. Thanks everyone, so far. I'll have to check on this later. I'll stress that this is part of 3rd party component, which we can't totally rewrite, this process takes too much time sometimes so if we can speed up it a bit if just can. I was pondering that if I could define 4byte array and use Absolute trick to map that array to the result of method shown by the Anders above. I am still pretty much in a sleep, so all ideas I get how to implement this seems that it would have too much code in it. I bet there is elegant solution, possibly using pointers which I am not too good at. But have to try later. -Tee-
  3. Input is as in normally in TBitmap with 32 bit pixels. TRGB32 = packed record B, G, R, A: Byte; end; and output should be stream of RGB-bytes in that order. .tee.
  4. Would that still be 4 bytes? Right? Ah, should learn how to read first ๐Ÿ™‚
  5. On large bitmap this takes minutes so I am pretty sure this is the place all speedups are welcome,
  6. One that could significantly make this faster would be to use some fast but good enough quality Algorithm to resample the image smaller first. Might be possible to do that, or not, depending how large change it would be an sure would have to be super fast resampling. But if possible with put changing the original bitmap, would be cool. -Tee-
  7. Fast search did not give me any help for this. Is this OK place for feature requests/ bugs or is there better place? -Tee- PS. Oh, seems to be SourceForge, maybe? Which is not super nice, but It'll do if that is preferred place ๐Ÿ™‚
  8. Mainly because SVN doesn't support pull requequests. Make s harder to make an batch (possible but not that automated I think)
  9. Tommi Prami

    Can't edit my post?

    I asked this long time ago, but still can't see the point why it is better to lock down the messages. Own messages from editing. Most of the time, I at least, write message, and might come back to check it days later, if not super urgent question. and it is very annoying to see some typo or ununderstandable (is it a word) sentence. And then can't fix it. Most major Social media platforms do not disable editing , and this is only forum I've ever used which disables editing. -Tee-
  10. Tommi Prami

    ANN: Parnassus Parallel Debugger

    Not true, in my experience, most of the time it'll pause in RTL code etc or outside of the scope (windows maybe dunno), and while stepping for ages you are sill somewhere at "unknown areas". I've never been so lucky with pausing that it'll pause in easy place to step through. Maybe this plugin will help a ton because you see them in parallel. Have not tested threading part of it yet.
  11. Thanks. That API works if one is using Windows, as we are. If someone has code for this, pleace share, I think would be usable for others tool. -Tee-
  12. This -> https://en.wikipedia.org/wiki/Natural_sort_order
  13. Sorry bad example. Edited the list a bit. Not just alphabetically but numbers would always be Smaller or larger first (depending if Ascending or Descending sort). Can't remeber which this was called. Maybe natural sort etc.,.,
  14. Tommi Prami

    ANN: Parnassus Parallel Debugger

    Not most likely possible to implement for this plugin, but "Run until project code is reached" would be super cool. Multithreaded app is munching a way, maybe looping for ever, but don't have clue where. One could pause app, and Run until project code is reached (Or Sun until code open in IDE is reached (Named/in any thread). Don't even know would this be possible for debugger to do, but it would be super cool. It is very hard to track down where the app is spending it's time, when it does it in a place you did not expect it to be. Just throwing the idea out there, maybe it is possible or even easy to implement, dunno... -Tee-
  15. After uninstall delphi hangs up after. - Could not find Wizard, 'C:\Program Files (x86)\Raabe Software\MMX\15\mmx_bds21.dll'.
  16. I've been planning on doing pretty simple mobile app with delphi. I already started it, but then backed off to ask few questions so don't have to do it 10 times. This will be my hobby project, so no hurry, but maybe some other also benefits from this. First of all I've haven't done much with FMX and what simple things I've done it still feels bit alien to me, it is so close to VCL but still so far. Also Iรคve got hunch that mobile apps have some general guidelines on technical level also, how app should be done so it'll work OK. Any best practices or development guide for newbie on mobile apps. (Where to start)? What GUI components or libraries you would recommend? What kind of GUI (in general on phone) you'd use (of course will vary greatly from app to app), but what components etc you would use and how design it, to make it behave well on Android (mainly) and iOS. Any traps and how to avoid not to fall in them (you are fine as long as you don't do this ๐Ÿ™‚ ) All other is an bonus. Looking forward on hearing your ideas on this. -Tee-
  17. I gave MMX a spin but had to uninstall it because could not find how to disable MMX Find Unit feature and use Delphi build in instead. MMX version does not work for me. I works differently than Delphi version. I have used to use fragments to speed up the search. Like type "Form User Edit" to find OurGigaProduct.Form.Base.User.Edit or something. Would like to have both as option. way to disable override functionality and even better have way to use "keywords" in search. -Tee-
  18. I'll try this later, thanks
  19. Would it be hard to have way to disable the feature, and let user use one shipped with Delphi? Or are some other features depending in this etc? -Tee-
  20. We would like to collect info on which are the most/least used features in out software (and possibly with which settings etc.). Is there any free or paid solution for this out there. -Tee-
  21. Because of 4 way swap, highly tuned implementation could still be cool. https://github.com/scandum/quadsort
  22. I am not 100% sure is it Filter Exceptions, but I'll filter quite a lot expected exceptions in unit tests, and can't do anything while it is running because Delphi keeps up jumping in front of everything all the time. Can someone confirm this? (or debunk my theory :) ) . I'll look into it, if I can temporarily disable it (Have not checked yet, had to write this message so I do not forget) -Tee-
  23. Tommi Prami

    Does Filter Exceptions make Delphi to steal focus

    We are investicating ๐Ÿ™‚
ร—