rproffitt 2,701 https://5calls.org Moderator

Remember I haven't needed this since about 2010 to 2015 and I don't recall TPL back then. TPL claims to scale and the threading in .NET/C# wasn't that capable. It did thread but only on a single core of the CPU. So you had to be creative to tap all the cores.

Try this. See if threads now spread out among the cores. If they do, Microsoft fixed that. And then test in TPL and see if TPL was their solution.

Maybe it's all in that one word "scaling."

rproffitt 2,701 https://5calls.org Moderator

We may never know who and why to this one. https://learn.microsoft.com/en-us/dotnet/standard/parallel-programming/task-parallel-library-tpl holds the usual answer.

Before TPL I found I had to implement my own solution in order to "soak" all the computer cores. At the time I was using Visual Studio 2008 and C# and it's threading was not availing itself of the other CPU cores. Maybe that changed but I haven't had an app that needed this yet.

nalb4242 commented: Thank you for responding .I have read what Microsoft wrote about the TPL .. but what I was looking for is what did TPL do the threads could not do. +0
rproffitt 2,701 https://5calls.org Moderator

Actually this is how it should work on Italian systems.

Use a comma instead of a decimal point to show decimals in Italian.

0,5 (zero virgola cinque) 0.5 (nought point five)
3,4 (tre virgola quattro) 3.4 (three point four)

My view is this is not broken. But there is more to read about this with https://www.google.com/search?&q=force+decimal+point+in+italian+window

rproffitt 2,701 https://5calls.org Moderator

Interesting service but how are you dealing with YouTube's automatic captioning that also will offer captions in other languages?

I had a chat with a YouTuber a few years back when this was a new feature and they didn't know about it. A short chat about how to reach others that read/spoke other languages led us to YouTube's automatic captioning and translation.

My question to you is: Do you feel pressure from the Google YouTube system and bonus question, how will new advancements such as ChatGPT impact your business?

While it's not scratching the depth of ChatGPT's capabilities I asked ChatGPT the folowing and it's reply was:

How do I say "Merry Christmas" in German?
To say "Merry Christmas" in German, you can say "Frohe Weihnachten." This is a common phrase used to wish someone a happy holiday season in German. Other ways to say this in German include "Fröhliche Weihnachten" or "Glückliche Weihnachten."

Professional captioning won't go away but YouTube's offering is filling a need. Let's see what ChatGPT has to say about this:

Will captioning services be competitive with YouTube's automatic captioning?

Captioning services and YouTube's automatic captioning feature can both be useful for adding captions to video content, but they are not necessarily in direct competition with each other.

YouTube's automatic captioning feature uses speech recognition technology to automatically generate captions for videos. While this can be a useful tool, the accuracy of the captions generated by the automatic captioning feature can vary. In …

rproffitt 2,701 https://5calls.org Moderator

I went and read more about the FTC and incentivizing reviews. I'll use https://www.ftc.gov/business-guidance/resources/featuring-online-customer-reviews-guide-platforms as the reference.

You can incentivize reviews but you can't make the incentive dependent on "only for 5 star reviews."

rproffitt 2,701 https://5calls.org Moderator

I read both Amazon's advice and then ChatGPT. I don't see a problem but there's the problem that Google doesn't like it. It made a good answer and my take is that it will be great for folk that can't wait around for someone to write an original answer just for them.

Again, it's only a matter of time that someone will lash up ChatGPT to a forum along with voting like Reddit so a bad answer is pushed down the stack. Said innovator is going to get a lot of hate but it's going to happen.

For Daniweb, I'm guessing here you don't want such answers, no matter how good they are.

rproffitt 2,701 https://5calls.org Moderator

Let's ask ChatGPT. It wrote:
"There are several ways you can improve the ranking of your Amazon product listing:

  1. Optimize your product titles and descriptions: Make sure your titles and descriptions are clear, concise, and relevant to the product. Use keywords that customers are likely to search for, and include important details about the product, such as size, color, and material.
  2. Use high-quality product images: Customers want to see what they're buying, so make sure you use clear, high-resolution images that show off your product from multiple angles.
  3. Offer competitive pricing: Customers are more likely to purchase a product that is reasonably priced, especially if it's well-reviewed.
  4. Encourage customer reviews: Product reviews can help increase the visibility and credibility of your product. Encourage satisfied customers to leave reviews by offering incentives or sending follow-up emails.
  5. Utilize Amazon's advertising tools: Amazon offers several advertising options that can help increase the visibility of your product, such as Sponsored Products, Amazon Marketing Services, and Amazon Advertising.
  6. Use Amazon's fulfillment services: If you use Amazon's fulfillment services, such as Fulfillment by Amazon (FBA), your products may be eligible for Prime two-day shipping, which can increase their chances of being purchased.
  7. Keep your product in stock: Customers are more likely to purchase a product that is in stock, so make sure you have a reliable inventory management system in place.

By following these tips, you can improve the ranking of your Amazon product listing and increase your chances of making a sale."

rproffitt 2,701 https://5calls.org Moderator

Let's say you have a client that sells Widgets on Amazon.

Have you done the work that Amazon tells us at https://sell.amazon.com/blog/getting-started/amazon-seo-to-optimize-product-listings

rproffitt 2,701 https://5calls.org Moderator

I'm predicting someone will tie up such as search with an AI like ChatGPT.

Yes, I know folk are panning to outright upset over ChatGPT's release.

Shame on OpenAI for launching this pocket nuclear bomb without restrictions into an unprepared society.”

  • Kedrosky via TechCrunch

Some say it’s better than Google. Which upsets even more folk.

It's only a matter of days till someone integrates it into their site. A mashup of Reddit's voting system with ChatGPT would be hard to ignore.

rproffitt 2,701 https://5calls.org Moderator

The quick and dirty solution is to substract 48. Could be a for loop that iterates over the bytes[] array.

rproffitt 2,701 https://5calls.org Moderator

I looked at Fecoms and it would be quite a new thing to sell on Amazon. Such services haven't done well and were removed after they didn't work out. Way too many complaints. Mostly PC support and repair. You might not remember such an offering but I do.

So as of today, I don't expect Fecoms to list their services on Amazon.

rproffitt 2,701 https://5calls.org Moderator

It's interesting you mentioned education apps. A coworker wrote some apps long ago and ended up going to court as a professor was including diskettes (it was the fashion of the day) with his apps on them. Back then there wasn't a lot of DRM or even the web.

He lucked into getting the attention of a major group/lawfirm that dealt in software copyright issues and it went to court. Turns out that in our state the software was excluded from such protections when used in an educational setting. He lost the initial case and the appeal.

For me it was a lesson why educational software may never be something you should consider until you understand if you can maintain your rights.

rproffitt 2,701 https://5calls.org Moderator

The reason I know Eli Lilly and other companies is that we hold stock in ETFs that contain these companies. So I keep up with the news company actions.

As to hate speech it may not be on your feed but it is there. I leave it to groups like https://www.adl.org to report on it as I have better things to do and don't want such in my mail. https://www.adl.org/resources/report/audit-antisemitic-incidents-2021 shows a marked increase in 2021. There's so much more as we look at articles from https://www.google.com/search?&q=twitter+and+hate+speech+2022

rproffitt 2,701 https://5calls.org Moderator

The headlines are not only sensational but true. Besides the damage done to Eli Lilly and other companies recently think about car makers. Why would they advertise on Twitter now?

"(Insert company name here) announced it will pause advertising on social media platforms to protest content containing hate speech."

There's free speech and then there's hate speech. It seems clear to me that Twitter has way too much hate speech.

rproffitt 2,701 https://5calls.org Moderator

The headline I seeing is "Racist, antisemitic tweets quickly spread after Musk Twitter takeover".

Also, the debacle of the verified accounts damaged some companies.
Headline: "Fake Eli Lilly Twitter Account Claims Insulin Is Free, Stock Falls 4.37%"

Mastadon is just what you stated, I wish Mastadon had spent a lot more time on their product name.

rproffitt 2,701 https://5calls.org Moderator

If Google doesn't pickup an AI system soon, someone else will. I already have a good idea that programming as we once knew it may be changing before our eyes. Nod to TabNine here.

A buddy over in a commercial setting is Art AI as a possible source of background art for, well, I can't say much more other than it will help cut costs in the project.

We may be witness to yet another Guttenberg printing press moment in history.

rproffitt 2,701 https://5calls.org Moderator

I'd like to hear more why this is needed. W11 is pretty much a warmed over W10 and now that I know how to have local logins (middle finger to Apple and Microsoft logins) I don't have a problem with Windows 11.

rproffitt 2,701 https://5calls.org Moderator

From what I've experienced I have to install from oldest Windows to newest and leave unpartitioned space for the next Windows. As such I turned to google searches to find tutorials and there are plenty but. You are doing the install backwards and as such it's not a sure thing.

https://www.digitalcitizen.life/dual-boot-windows-10-windows-11/ repeats this install order.

To be clear, I can't help you do it in reverse order but hey, see if anyone has an article for what you asked for.

rproffitt 2,701 https://5calls.org Moderator

With a nod to https://www.smarty.com/articles/ups-address-validation you do realize the agreement states this is only to be used for packages you'll ship with UPS?

There are also other issues such as it ignores/strips apartment numbers. In short, this address validator is not very good. I'd look at using something else.

Finally, if your code is as supplied SHOULD FAIL! UPS Access Keys are not "key". You have to apply and get such a key from UPS.
Example code at https://github.com/DBSInteractive/UPS-Address-Validation/blob/master/UPSSoapXAVClient.php seems to work after you get your own access key which they will eventually invalidate if you are not shipping with them.

rproffitt 2,701 https://5calls.org Moderator

It's been over a decade but in an old PalmOS app I used tar files for the client to supply their own updates. As such I wrote my own tar expander in C. So I can see that there may be ways to break my old code but no exploit because, well, PalmOS which didn't at the time connect to much.

Back to you. Can we expect you to drop more posts like this with only links? I hope not.

rproffitt 2,701 https://5calls.org Moderator

Links only? Why?

Tell us about this in your own words.

Yulen commented: Oh sorry I forget, would like some alternative for this patch vulnerability 😅 +0
rproffitt 2,701 https://5calls.org Moderator

Try that. It's usually not the size at issue but the encoding. In short certain encodings can't stream. By stream I mean that the video player could begin playing the video once there's enough data to begin play. Some encodings have the video player downloading the entire file before play begins. This is not an area where I kept information of which encoding streams on which players since that's an exponential problem. Too many encodings, too many players so I would never try to build such a table.

Even so, give your new video file a whirl and if need be rename the extension to mp4 if the m4v doesn't fly. There are so many ways to encode for the web and also so many tutorials about encoding that I can't compete with those tutorials.

My goal here is to get you up and learning about containers and encoding so you can find a better combination to this issue. Even if the video player has to read the entire file, 230MB is going to get going faster than 860MB.

rproffitt 2,701 https://5calls.org Moderator

Without detail, you can't expect a good answer. The build failure can be caused by too many things that it would be a long list that you should be working before you ask.

For example from the GUI menu. Build -> Rebuild Project would be a good idea but given the lack of detail and not even the complete error message I have low expectations this will clear that up.

This is all about you supplying enough detail in order to narrow down what it could be this time.

But as you can guess, folk new to such work think that such answers don't need details to work the problem.

rproffitt 2,701 https://5calls.org Moderator

Oh, I've crossed the streams and reality is about to implode. I just realized you posted over at https://www.techrepublic.com/forums/discussions/android-studio-with-gradle-build-fail-problem/ too!

talhacharagh commented: Yes, i have asked this question on techRepublic as well. But i couldn't get the answer from there. So, I have to ask about this error on Daniweb +0
rproffitt 2,701 https://5calls.org Moderator

No. I can't start because of the lack of detail. When you write about an error, take the time to share what the said exactly. Also, how would I duplicate it is very important.

rproffitt 2,701 https://5calls.org Moderator

Exactly what I hear when folk start learning about containers and encoding. MP4 is not a format, it's a container. Spend some time learning this so you can start trying other encodings. Also, sometimes folk jam 4K content in there and complain but hey, we don't need 4K for most things.

rproffitt 2,701 https://5calls.org Moderator

Thanks Dani,

I went to the tweepy docs and couldn't find it. I stopped there and didn't see if there were older docs. Maybe it's another case of deprecation.

rproffitt 2,701 https://5calls.org Moderator

I can't find api.search in the documentation. Care to tell where I should look for this?

rproffitt 2,701 https://5calls.org Moderator

Is there a file called "csv.py" in your system? Why? Read https://bobbyhadz.com/blog/python-attributeerror-module-csv-has-no-attribute-writer.
Also, what Dani wrote!

rproffitt 2,701 https://5calls.org Moderator

I won't write at length here but a lot of the delays I've seen is due to the video encoding. MP4 is a container and supports many encodings. Reference: https://www.w3.org/2008/WebVideo/Fragments/wiki/State_of_the_Art/Containers#:~:text=MP4%20can%20contain%20video%20and,TwinVQ%2C%20Vorbis%20or%20Apple%20Lossless.

Over and over folk find themselves unaware of the differences between encoding and containers. Since it's not my site I won't fix this but want to note that many encodings have the web browser load up the entire file before it plays. There are many tutorials about how to set up streaming from the server to the browser so I won't duplicate that here but want to write it's time to try other encodings. You might be able to avoid setting up a streaming server/service.

rproffitt 2,701 https://5calls.org Moderator

Who is Sikander Zaman ?

rproffitt 2,701 https://5calls.org Moderator

Given the lack of detail, I can only wish you the best. The article I linked to has instructions on how to contact Apple.

rproffitt 2,701 https://5calls.org Moderator

I think you've been posting about Bluetooth but I can't quite get a picture of what you are trying to do. A few times you did ask something that looks to be something that is not exposed to apps in iOS.

Even so, Bluetooth on Apple iOS has been very locked down to avoid it being something that can be exploited or create security issues. As such all that you can do is limited to the API and what you read https://support.apple.com/en-us/HT204387

At the bottom of the article is information on how to contact Apple.

peter.ding commented: Human Interface Device (HID) Profile,My needs fit this category +0
rproffitt 2,701 https://5calls.org Moderator

Since no one here writes or maintains Whatsapp you should report such troubles to the maker.

But I do use Whatsapp on Opera and it seems fine. Try that next.

rproffitt 2,701 https://5calls.org Moderator

To me it shows this is not a code issue. Just how modern(?) browsers work now. In other words, nothing broke in your code.

What you might have to do is add instructions on your site, near that button about how to enable this if the button doesn't seem to work.

Stefce commented: I impletented the above code in my website not more than 24h ago +6
rproffitt 2,701 https://5calls.org Moderator

It's a longshot but I do see permissions and more seem to sync on Chrome from my phone to PC.
By server I don't mean your web server but Chrome's cloud sync. Remember that most log in on their Chrome and from there, Chrome syncs bookmarks and more.

Is the URL to let me test a secret?

rproffitt 2,701 https://5calls.org Moderator

Exploitable items like this get patched all the time. You claim it used to work so along with you clicking DENY I don't see why you would change your code now.

Find others to test this. I can't because I don't know the URL and I will NEVER sign up to a website to do a test for anyone. My choice, my rule. But if you have a clear easy URL to test with I don't mind.

In the meantime check those browser versions and see when they updated.

rproffitt 2,701 https://5calls.org Moderator

If you clicked Deny then I see nothing wrong with it giving up this error.

But, and this is a stretch, Chrome has a habit (feature) of syncing across machines. That is, you deny once, then other devices may shortly honor your choice in the matter.

Also, it would be incorrect behavior to allow access when the user clicked Deny.

rproffitt 2,701 https://5calls.org Moderator

From the web: "Recent versions of browsers have stopped exposing the camera API when HTTPS is not used."
And the error you reported can be the result. I can't know if your site is HTTPS or not but maybe your code is fine and the problem is elsewhere such as this or the user declined permissions to the browser.

rproffitt 2,701 https://5calls.org Moderator

My question stands. You can dig into the devkit but I see this as a possible security issue. Just because you want to do something on iOS doesn't mean it should support it.

rproffitt 2,701 https://5calls.org Moderator

iOS is secured against many things. Such as an app changing this. It would be a bad thing to allow apps to change from a security standpoint.

So before I dive into the devkit again, is there any app that does this today?

peter.ding commented: Apps are born for demand, and since there is a demand, there should be, but we don't have official information about it +0
rproffitt 2,701 https://5calls.org Moderator

Lines 59 to 61 look dangerous for any version of VB. That is, that could seems to make an infinite number of message boxes but never exits so the boxes would never show. This may be new ground for you but line 60 does not instantly put up the message. VB6 and other visual basics need to hit some idle time or encounter a DoEvents() line to let the windows messaging system process and show that message box.

Thao_14 commented: thank you I'll rewrite it +0
rproffitt 2,701 https://5calls.org Moderator

Small world. I was working with a company back in 2009 and we wanted to move off the Palm Pilot to a smart phone which there were not a lot of choices back then. We investigated the iPhone but it's lack of the SPP Bluetooth Profile (serial port profile) meant it wasn't a possible solution.

It's 2022 and as I read https://support.apple.com/en-us/HT204387 Apple has not added SPP to the supported profiles so still no reason to consider Apple iPhones for this system.

I do see a packet logger at https://www.bluetooth.com/blog/a-new-way-to-debug-iosbluetooth-applications/ which may help you debug your system but I found no open source code to see how the packet logger did it's work.

Time to call Apple to see if they can give you the source.

peter.ding commented: Thank you very much for your support +0
rproffitt 2,701 https://5calls.org Moderator

Actually, the game is usually not the goal itself but learning how to program.

Let's take a look at Tic Tac Toe at https://rosettacode.org/wiki/Tic-tac-toe and we see about 70 languages there for this game.

While it's considered a trivial game, a student could learn quite a bit about design and any language by writing this game.

rproffitt 2,701 https://5calls.org Moderator

You may want to do something but the stock fingerprint API (biometrics) doesn't appear to offer such.

If you did manage to get around all that, someone will report the exploit and soon, Google will patch it out.

However if you want to make your own Access Control system with the usual fingerprint readers such as https://www.ibm.com/docs/en/samfess/8.2.0?topic=authentication-integrating-digitalpersona-fingerprint-reader (one of dozens of readers out there) then you won't be fighting with the Android concepts of biometrics.

rproffitt 2,701 https://5calls.org Moderator

I do have a background in the design and more for access systems such as what you might see at HID Global and more. I did design and coding for various surveillance equipment companies for many years.

But you are fighting a system that isn't supposed to allow export of the fingerprint data. As such you have chosen a dead end.

And then you write a comment but the sentence is cut off so I can't guess what you are trying to do. Try making a complete sentence so I can get a good grasp of what the project is about.

-> But let's also cover MDM which https://en.wikipedia.org/wiki/Mobile_device_management spells out well enough. If you are trying to make your own MDM then you have a few years to build such a thing (I hope!)

Toro_1 commented: Sorry! It was a network problem! I would say like, i want to store people fingerprint in order to control them especially employees in a company! +0
rproffitt 2,701 https://5calls.org Moderator

Why not?

Keep in mind we know nothing about your computer or camera.

rproffitt 2,701 https://5calls.org Moderator

Sorry but I was unclear. If you read the article noted it notes that by design the systems do not allow storing the fingerprint in external databases.

Now it's quite possible you have your reasons to do this but the system is designed to stop you. The times I encounter folk that want to break the security like this often has them very upset they can do what they want to do.

-> Moving on. Since a smartphone is a personal device, why would we need the biometric data in the external database? It's not like it will be useful in other phones.

Toro_1 commented: The point is that i'm building this project to manage group of people in a company. I want their fingerprint store in external database in order to v +0
rproffitt 2,701 https://5calls.org Moderator

For me such would not work because of the rather onerous document specifications. This work was for hardware design documents and later, the user manuals.

But for you, maybe such could be used because what you need is doable by such or with say https://rytr.me which I'm trying out. But there's no way rytr or the others could produce the documents we made back then.

jwatson commented: I am using https://delimiti.com/ for word document automation. Its a great tool with document automation features and bulk product listing facility. +3
rproffitt 2,701 https://5calls.org Moderator

The code looks like a Console App. I'm reading https://learn.microsoft.com/en-us/cpp/build/vscpp-step-2-build?view=msvc-170 so you'll have to setup to make console apps per that tutorial.

Here I used an online IDE and GCC compiler to see if your code would work or not.