Jump to content

David Schwartz

  • Content Count

  • Joined

  • Last visited

  • Days Won


David Schwartz last won the day on July 28

David Schwartz had the most liked content!

Community Reputation

52 Excellent

Recent Profile Visitors

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

  1. David Schwartz

    Call to create a form to return a value?

    Ok the problem has been fixed. Please try again: http://w5a.com/u/coderage-9-talk
  2. David Schwartz

    Call to create a form to return a value?

    Your previous code set Action := caFree, then the call to Execute did a F := Create ... if aFunc(F.ShowModal) then use stuff in F ... F.Free If you're going to reference ANYTHING in F after calling ShowModal then you want to set Action := caHide and then call F.Free later. The problems with passing a record in are unrelated. You might want to watch my CodeRage 9 session here: https://w5a.com/u/coderage-9-talk
  3. David Schwartz

    installing support for Android and Linux platforms

    Ok, I switched to the ISO installer again, and I notice that both Android and Linux are ENABLED by default, along with iOS and MacOS options. They weren't installed last time I ran the installer, let's see if they get installed this time.
  4. David Schwartz

    installing support for Android and Linux platforms

    Well, I finally got around to flushing out Delphi 3.2.3 installed via ISO and all the component libs from a copy of the VM so I can run the ESD installer. It installed the base stuff, the gave me a menu of options. I selected a lot of stuff, then it stopped: Operation Error A problem occurred during the process For those who cannot "read between the lines" of that super-informative error message, you have to hit the Retry button to see what the problem is. Seems it couldn't download the JDK. (Is the JDK even required to build Android apps? It's an option, but it would be nice if the UI informed users if it's actually required or not.) The only options this dialog offers are "Retry" and "Cancel". Retry gets the same results over and over, and Cancel ... well, it just aborts the whole installation process and launches Delphi. WTF? So now to continue (or install anything else you forgot the first time around), it UNINSTALLS everything, then REINSTALLS the base files, then presents the same options. This time I don't ask for Android support, and restart the process. About 30 seconds in, it stopped: Operation Error A problem occurred during the process Hitting Retry a few times show it's unable to download DirectX. Ok, so HOW THE HELL DO YOU INSTALL EVERYTHING WHEN IT STOPS DEAD IN ITS TRACKS WHEN IT CAN'T DL A FILE AND THEN REQUIRES A FULL UNINSTALL/REINSTALL TO CONTINUE??? All of the files are on the ISO volume, but the ESD installer fails because it can't download files. Sheesh....
  5. David Schwartz

    installing support for Android and Linux platforms

    I did install via ISO, and I never saw an option to select or deselect platforms. There's a tree-view kind of display that shows things like Intraweb, FastReport, code examples, etc., but nothing was grayed-out, so I assumed it was installing everything. What did I miss? Anyway, I already had to uninstall and re-install, and it took nearly 90 minutes just to un-install! Why can't it just snip off entire folders, then go back and see what's left and adjust its DB accordingly? This has to be one of the least efficient processes I can possibly imagine doing.
  6. Where do I find info on enabling 10.2.x and 10.3.x to support Android and Linux? I went through and upgraded one VM from 10.2.2 --> 10.2.3 and it ended saying to expect a separate Android SDK installer, but nothing came up after I clicked Finish. And I saw no mention of Linux anywhere. Similar thing happened upgrading 10.3.1 --> 10.3.2. All I've found on EMBTs site is how to select a platform in the IDE. They have to be installed first before you can select them; that's what I'm looking for.
  7. David Schwartz

    Beginner - How is Delphi for mobile development?

    Check out bubble.io and similar platforms. They may be better suited to your needs.
  8. David Schwartz

    formatting HTML code

    Thanks, but my time is exhausted on this. It wasn't worth the trouble to automate ... faster to just eyeball the results.
  9. David Schwartz

    Bitonic sorter

    Interesting. Thanks. I notice that the java code example doesn't utilize any of Java's built-in parallelism / threading stuff. Can't say about the Python example. Is there an expectation that the underlying hardware or something else is smart enough to break this into parallel pieces at run-time? (I'm not really up on contemporary parallelism tech.)
  10. David Schwartz

    Parsing Google Search Results redux

    No. I've exhausted the time allotted to investigate this, and there's no budget for 3rd-party commercial subscriptions. What used to be pretty easy up to about a year ago or so is much, much more difficult today. The only real HTML tags that appear useful as possible "landmarks" for identifying different sections of content are the Header tags (H1, H2, etc.). An e-Reader wouldn't have any problem rendering text-to-speech because it does not need to "recognize" the sections. It just parses through it and performs TTS as it encounters things, adapting to the various tags it finds as needed. It doesn't need to find structure or parse out pieces of content. I don't know how feasible it is to extract CSS attributes along the way that might influence how it renders things -- it's not like you can "hear colors" other than having it report the start and end of a hex code or maybe a recognizable color name, eg., "blue". It's pretty evident that the DIVs and SPANs around the content are sprinkling in quite a bit of visual stuff that would just be a ton of noise if it was all vocalized by a TTS system -- italics, bolds, colors, (sub)headings, etc. There are ad blocks that can be inserted between meaningful sections, and they "look" nearly the same except for one little visual tag that's presented as a CSS attribute that has a random classid. If I had another week to spend on this, I might come up with something that works, but at this point, my time budget is exhausted.
  11. David Schwartz

    Running the IDE in a VM on Mac Book Pro?

    very carefully. They're getting harder and harder to upgrade. The thinner the cases get, the more stuff is soldered in place. The newest ones are not upgradeable from what I'm told. Do some research ... look for SSDs on eBay specifically for MacBook Pros and you can learn a lot from the vendors who sell them. I have a mid-2014 MBP and these devices can have their RAM and SSD upgraded simply by removing the bottom, but you need special tools. The problem is, some machines can't be upgraded past a certain point. Mine came with 1TB of SSD, but I can't upgrade it to 2TB, although some mid-2014 models can. I also can't expand my RAM past 16GB. There are vendors who sell upgraded equipment on eBay. I bought a Late 2014 Mac Mini that was upgraded to 2TB of SSD and 16GB of RAM for $1100. I thought it was the same as my MBP, but it turns out the i7 chip is only a dual-core not quad-core. Apple didn't put quad-core i7's in Mac Minis until the newer generation they announced last fall. A new Mac Mini similarly configured but with a 3.2GHz 8-core i7 is about $2300.
  12. David Schwartz

    Running the IDE in a VM on Mac Book Pro?

    Uhhh ... no, it's far from unique. Just something I guess you've never considered. Look, Apple has a discount program at most colleges, and many schools are REQUIRING students to have a laptop. So when the inevitable 15% or so of students drop-out every semester, a lot of them decide to sell their nearly-new equipment, usually at a pretty decent discount because they don't know much about that stuff. Many of them are like a friend I've got who has a saying: "A fast nickel is better than a slow dime" and they're hurting for cash, so they post their stuff up on eBay at ridiculous discounts. If you're quick, you can score some AMAZING deals! For example, my sister wanted a 12.9" iPad Pro and asked me to see what I could find for her. I scoped out eBay and found one that the owner said was 6 months old, barely used, with AppleCare. The description was quite vague, and when I asked her to clarify something, she just wasn't sure. The price was $475, which was a pretty good deal for a 32GB WiFi-only device with nothing else. I've seen similar things with cracked screens sell for this much, and I was surprised that it hadn't been snatched up in over 24 hours. When it arrived, I freaked-out! It came with a $150 case, 128GB of memory, an Apple Pencil, original boxes, and had cellular service built-in. I could have flipped it that day for $750! My sister said she wanted a WiFi only device, and I said I'd be happy to trade it for mine (the specs she asked for) but she decided to think it over. The next day she told me her partner saw it and immediately took it over to the Verizon store and activated it on their account. They LOVE it! (I should have opened the box and looked at it BEFORE I saw my sister and just given her mine instead; she'd have been quite satisfied.) That may seem like a fluke, but there are plenty of folks who simply don't know what they've got, and a LOT of them own Apple equipment -- because they DON'T HAVE TO KNOW! My brother has three kids, one has been in and out of college for 7 years; one just graduated last year; and one is about to go into college. He called me in total frustration 2-1/2 years ago and said his oldest daughter just had her HP laptop die for the umpteenth time and he just can't afford to keep replacing the damn things. He asked what I'd suggest, and I told him the same thing I've said numerous times in the past: get her a used MacBook! Of course he hemmed and hawed and kept saying how he can't afford it, and I just said again, "Well that's what I'm going to tell you every time you ask." I'm not sure exactly what happened after that, but somehow one of them came across a 6-mo old MBP from another student and picked it up at about 25% discount off of list price. It had AppleCare. I've asked several times how it's holding up, and at first my brother was hesitant ... "so far so good, but if the damn thing breaks, I'm going to be really pissed." Here we are 2-1/2 years later and guess what? The other HP and Dell his other two kids had both broke AGAIN, and they didn't honor their warranty deals for obscure reasons. But that MBP has only had a couple of minor problems: something on the kbd broke and he had some other weird problem with the OS, and both times they took it to the Apple Store and they fixed things right up. He was so amazed that he told me he will never buy another PC again, only Apple hardware. I've heard this same story over and over and over from so many people.... like a manager at a place I was working said he had been a loyal Dell users for years, but his kids kept breaking them, and they seemed to be breaking with increasing frequency. One Monday he said he was fed up and went to the Apple Store and bought 5 (yes, 5) brand new MBPs for his family, and said as soon as they can get switched off of their Dells, he was going to donate the Dells to some charity. My brother is the kind of guy who NEVER buys anything NEW. So he actually enjoys hunting down good deals on used Macs! Kinda weird, I know. But they're not that hard to come by if you know where to look. My first iMac I bought new at a Thanksgiving sale at Best Buy and it was discounted by several hundred dollars. I've never bought a new Mac since, although I do buy new iPads from T-Mobile (my cell phone carrier) b/c I can get 24 months same-as-cash with no credit app from them. My fist MBP I got with a Apple-branded BarclayCard that gave me 5% cashback for purchases made through Apple with 24 months same-as-cash payments, and I bought it from their refurb store at a 15% discount. You just have to know how to find good deals on this stuff I guess.
  13. David Schwartz

    Parsing Google Search Results redux

    Thanks for all the side-chatter, but none of it is helpful. I was merely passing along the results of what I found. I'm not running Linux; I'm not getting captchas doing this manually, and I have no reason to believe I will get them using similar timings with a different means of doing the data entry; I'm only interested in the first page of results; and in summary, y'all are making stuff up that is completely irrelevant to my present needs. All I'm focusing on is scraping one page of results, and that's all that's up for discussion. But thanks for the insights.
  14. David Schwartz

    Running the IDE in a VM on Mac Book Pro?

    I'm just stating my experience; I guess you're free to call it whatever you want. As I said, YMMV. Also, it seems you don't track resale prices of Apple products as closely as I do, so of course you're going to think whatever I'm saying is dubious. This is why there are people in the world on both sides of the climate issue. The unquestionable fact is ... the average level of CO2 in the air has been steadily rising for decades. The debate is ... so what? The only thing most people will react to is when living beings start dying off of hypoxia due to too much CO2 and not enough O2 in the air. But the plants and animals will have died off long before that, so I guess we'll never really know until it's far too late.
  15. David Schwartz

    Running the IDE in a VM on Mac Book Pro?

    I don't know why people sell their computers, they don't say if they're developes or not. But depending on the time of year and other tidbits of stuff, it's obvious that there are lots of college students who sell their nearly-new laptops for whatever reasons they might have. I don't care what their reason is, but MBPs consistently fetch considerably higher prices vs. stuff you can buy at Costco and BestBuy at deep discounts. Why buy a used PC when you can get a new one for not that much more that has a full warranty? It's just not worth the risk IMHO. A year-old MBP might go for $2000 while a similarly configured Dell or HP might cost $400. The biggest cost factor in MBPs is their SSD. You can get a 256GB or 512GB model and upgrade it to 1TB or 2TB way cheaper than buying one preconfigured that way. PCs are 100% commodity-based pricing except for the latest-and-greatest CPUs, RAM, and SSD.