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'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

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

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

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

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

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

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

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

Given the code ran fine on an online c++ IDE and compiler I'll have to have a better explanation of what the issue is.

Juniormi_01 commented: I’ve been using visual studio 2022 do you think there’s an specific setup that I have to use ? +0
rproffitt 2,701 https://5calls.org Moderator

I used a C++ online compiler and it didn't like the stray single quote on line 30 but for the number ten it did something.
Could you have a compiler setup issue instead?

Juniormi_01 commented: No, my problem is an array declaration +0
rproffitt 2,701 https://5calls.org Moderator

So you need to make a support ticket or bug report.

I can't help you because there is no error message. "Install failed..." is not enough to work with. Out of the 3 options you wrote, only one came close to what the website noted (item 2.)

Ingmar_1 commented: Yes, it's frustrating the message is vague, but thanks for helping. +0
rproffitt 2,701 https://5calls.org Moderator

Doesn't that break security if you store your own fingerprint information?
I'm reading https://source.android.com/docs/security/features/biometric since it's a good project and primer on Android Biometrics.

biometric HAL guidelines to ensure that biometric data is not leaked and is removed when a user is removed from a device:

At first reading of your subject it appears you are attempting to break the basic security system.

Toro_1 commented: You mean, we should boot our phone before storing fingerprint id in external database? +0
rproffitt 2,701 https://5calls.org Moderator

"Install failed" is not an error message. Also, which of the SIX command lines did you try? And did you elevate this install to run as Administrator?

There's too many install failures possible without you or the installer giving up a real error message.

But do read and try what's noted at https://github.com/MicrosoftEdge/WebView2Feedback/issues/2030 in case that's it.

Ingmar_1 commented: I don't know which 6 commands you mean. +0
rproffitt 2,701 https://5calls.org Moderator

I looked at the SIX install methods and not one mentioned using the "manage nuget packages" method. Try it per the web site instructions next time.

Ingmar_1 commented: I downloaded the package from the nuget site but when I install it manually I get the same error. +0
rproffitt 2,701 https://5calls.org Moderator

First, no. I don't use this one but there's a nugget at https://www.nuget.org/packages/Microsoft.Web.WebView2 "The WebView2 control enables you to embed web technologies (HTML, CSS, and JavaScript) in your native applications powered by Microsoft Edge (Chromium)."

I'd be sure my HTML, WWW and other references all are default to Edge for now. I lost a day chasing something similar with an Outlook add-on.

Also there are about 6 different install methods. I can guess which one you tried.

Ingmar_1 commented: I installed it via "manage nuget packages" in visual studio, I tried both the latest stable and pre-release versions but to no avail. +0
rproffitt 2,701 https://5calls.org Moderator

Thanks for clarification. Before we can proceed, there is no builtin API to C to get at MySQL directly so the First Order Of Business would be to find a library to help us connect and use MySQL from C.

From there we might make some progress.

How about https://zetcode.com/db/mysqlc/ ? First hit on Google and seems to be a good enough tutorial.

However this won't be all we need to know because we'll have to get MySQL installed, running and maybe some MySQL management tool. This is a personal choice so I'd start with https://www.tecmint.com/mysql-gui-tools-for-linux/

chuckc commented: Good ideas for me to try. Thanks again.” +3
rproffitt 2,701 https://5calls.org Moderator

Which brings me to the following saying.

Jack of all trades, master of none.

Another problem is there is NO ACCEPTED DEFINITION of Full-Stack because the stack changes from company to company. At this point I'm going to write this is some company wishing for that uber-programmer that will lead them out of the darkness.

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

I'm reading https://pypi.org/project/truth-table-generator/ and it seems to be a trivial exercise today. The code examples there are small and easy to copy, paste into your app.

Reverend Jim commented: You put more effort into the answer than they put into the question. +15
rproffitt 2,701 https://5calls.org Moderator

I checked on a Tweet and WOW, Twitter now has a lot of X-RATED material. I never saw that before on Twitter. I didn't go looking for it, it arrived in my email. The Tweet looked normal but scroll down and "there it is." WOW.WOW.WOW.

So now it's filling with porn, Nazis and Qbots.

Dani, is this a good thing?

Reverend Jim commented: Called it. +0
rproffitt 2,701 https://5calls.org Moderator

Or just phishing. Here's the message I received from another Daniweb member. I redacted their name:

It is my pleasure to contact you discreetly as to discuss a mutually beneficial business, I will want to have your trust and to go into partnership investment with you which must be built on confidentiality between us. I am the Financial Consultant with a China company my office is in charge of international fund management and international transfer to international contractors, building and handling of private contract worldwide. I am in the position to transfer the sum of US$30M of which I have written a memo informing the company that this fund belongs to a Contractor waiting to be paid his contract sum, I want to transfer and invest this fund into your company as an investment fund from China to your country. The fund will be shared on the ratio of 60-40%, 60% for me and 40% for you on the assistance rendered. Please note that this fund will not be investigated or recalled in the near feature as all document to move this fund to your account will be legally obtained. You are to send me your company's name and address with your banking details where you want the fund to be transferred to. As soon as you agree to my proposition, I will send you my number to reach me. I want you to keep this private to yourself. Your details is strictly for this transaction. Be assured that …

Reverend Jim commented: Extended warranty? How can I lose? (Homer Simpson) +0
gce517 commented: Of course they wrote to you! You had them at "profit" +0
rproffitt 2,701 https://5calls.org Moderator

The problem is that many ask for step by step often meant they want others to write it for them. My step by step would be to think how such would work and then automate it. Of course this would require the second step being to familiarize myself with the target platform API. Have you done these two first steps?

Nazmus commented: No I am trying create it by myself. I just don't have any guidelines. and yes I tried. +0
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

It appears you are dismissing BIGNUM for PHP.

Beyond that: "Sorry, but the SQL server is an SQL server, not a calculator." This means that numbers going in and out of the database will have to be managed to fit what MySQL offers.

I consider the problems you laid out here have been addressed. But the solution is you working the code and database to get there.

pritaeas commented: Two thumbs up! +17
rproffitt 2,701 https://5calls.org Moderator

My recurring fixes:

  1. New batteries for the mouse (doesn't always apply.)
  2. Another mouse.
  3. Rare but once in a while I find folk the increased the polling rate or tried other tweaks. Fix? Go back to stock.
hes8 commented: #2 is a very general troubleshooting suggestion. Using another mouse quickly gives a good indication of where is the problem. +0
rproffitt 2,701 https://5calls.org Moderator

This IS why we must understand computer number formats and along that the limitations. As RJ and jwenting specifically pointed out that banks and such consider so many digits.

You wrote "So is it unsolved in php?" but did you:

  1. Implement BIGNUM.
  2. Scale your numbers.

Maybe you don't know what or how to scale your numbers.

Let's take US Currency. I can only give you a penny and nothing less in a physical transaction. So to avoid issues in Accounting. Wait, let me share I was one of many that authored accounting apps decades ago on dBase II. OK it's number formats are on the web at https://www.promotic.eu/en/pmdoc/Subsystems/Db/dBase/DataTypes.htm so that was at the time 16 digits or 1 quadrillion. So that number was large enough to notate most countries total currency to the penny without a decimal point.

Point: The entire system was set to compute down to the penny. When you would display or print you would use a function to format the output. This is just one example of scaling.

'3. For the number 0.000000000000000000075 did you try using scientific notation? (7.5e-20)

There are solutions.

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

Finance? As in money? Then use Integer or Fixed Point types. No one in finance would select a floating point until it's about statistics.

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

I think you're the first to write "deriving" when it comes to app creation. Tell more.

Right now I like TABNINE when I code. It's been a hoot to see how that works. What modern day tech are you using?

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

The last time I scraped websites it was with curl. See https://www.google.com/search?client=daniweb&q=crawl+using+curl

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

My only worry would be if my new app was too close an imitation of say Doordash. Doordash might take offense and I'd be dealing with a cease and desist order. There are also concerns of copyright issues. But hey, there appears to be a market for such things. Let's hope that your choice of clone script isn't buggy!

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

Sorry if I was unclear but the code has little in the way of comments and looks incomplete so again, the error message is what I see when a close is performed on a closed object. I wrote above one method I used when I had no time to do a complete code analysis or when I'm only working with a subset of the code.

Again, if the object is closed, calling close will result in a error. Either trace your code out or put in a test to see if it object is open.

sankar2000 commented: Yes, you are right, the problem is that this happens in a threading enviroment so is hard to track down where the problem is +0
rproffitt 2,701 https://5calls.org Moderator

From what I see above it looks like an incomplete code reveal. But I try anyway. I was dealing with a huge code base written by someone no longer with the company. I was just another consultant called in to see if I could "make it work." They were not interested in a rewrite but hey, they did fly me to another continent so let's give it a shot.

My suspect was the not unlike the above as in a call to close is made and the object is already closed. So I added a global variable to track the open and close of the file then added a test such as if file is open then close(). That solved that little problem but I bet some may tell me I did it wrong. When you only have so much time, you only have so much time.

Now if you have a Python method of checking if the file is open you can test for the object is open before the close.

sankar2000 commented: so i the code is trying to use a resoruce when is already closed, this sounds to me like a racing condition +0
rproffitt 2,701 https://5calls.org Moderator

Keep in mind I am not an expert on Python but I do know that if you close a file that isn't open, that's the error message that I've seen.
I am guessing the entire code wasn't shared because I can't seem to find the open and close code. Maybe it's buried in there but do examine your open and close pairs.
Now the following is about an entirely different system but I found we couldn't hold the SQL connection open forever. My workaround with a minor speed hit was to implement the data write as open, write, close which for that job worked.

sankar2000 commented: i think is a problem related to threading, like an exception messes all code, but i don't know where +0
rproffitt 2,701 https://5calls.org Moderator

Is this in raw native c++? No GUI or extra libraries?
Maybe the old print a numbered list and you accept input in a string then parse to see what numbered items were selected.

Martin_53 commented: No GUI, no extra libraries just raw native c++. +0
rproffitt 2,701 https://5calls.org Moderator

All good but many games, especially online ones specifically call out bots as a way to get banned. The video appears to use content from such games and hence my warning.

YT_AIGamer commented: True. I'll have to think about how to avoid that. I also don't want to ruin the gamer experience for others. +0
rproffitt 2,701 https://5calls.org Moderator

Sorry but no. The GOP has taken a weird turn to automatically vote against measures in almost all cases and move to strip us of our rights.

Another example was to remove Obamacare but they never would reveal what the new plan was. Actually for me it was very simple. Have no affordable care because it's best for companies!

-> In the latest twist GOP voted against funding Hurricane response and when the support came, claimed it was their efforts that obtained it.

You might get away with such with your base, but the hypocrisy is hard to ignore.

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

With a steep decline in the use of books, today I read about "Chuck Finley" and how the people behind this scheme tried to save library books from being burned in Florida.

If you have want to have books in the future, you may want to find a way to support libraries soon.

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

Found the meme for Jim! https://imgur.com/gallery/W6VoXSe
d4.jpeg

Reverend Jim commented: I'm getting that tattooed on my back. +15
rproffitt 2,701 https://5calls.org Moderator

As I have worked on projects that used JavaScript (JS) it has always amazed me how poorly the equality == operator works. For reference read https://algassert.com/visualization/2014/03/27/Better-JS-Equality-Table.html which tries to say "it isn't that bad." I love the first graphic:
d1.png
Later we see the less than operator isn't much better:
d2.png

So if you decide to go with JavaScript, pay attention to these areas or you'll suffer later.
Here's a rearranged table for equality. These tables remind me of what we might see in Game Of Life displays.
d3.png

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

I took a quick look at Humhub which is Open Source and uses the following languages:

PHP 90.7% JavaScript 7.1% Less 1.2% CSS 0.9% HTML 0.1% Batchfile 0.0%

Looks like you'll be doing a lot of PHP and for the database, your choice.

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

Please comment about the Ethereum Merge and the fallout. I'm starting to see that graphic card prices have taken a tumble for a start. For example the Nvidia RTX 3090 fell from over 2,000USD to 899USD in a few weeks.

Also, there's https://web3isgoinggreat.com which shows how poorly or how scammy blockchain has become.

random_chat commented: I almost got scammed this way too. The merge scam looks professional, no idea the entitie(s) behind it. IMO proof-of-stake = < $graphic cards +0
rproffitt 2,701 https://5calls.org Moderator

As long as there is some warranty that you don't receive a dead laptop and you know these are used things that can fail because they are older and without any long warranty, why not this model?

MiaGracelevi commented: I didnt know these are used. This product is cheaper. I thought it would be great to buy from there since i cant afford higher price +0
rproffitt 2,701 https://5calls.org Moderator

This would seem to be outdated today as most systems are online. If I were to create a course I'll look to Teachable or Udemy.

jnbgames.dev commented: I would suggest this would be extremally useful for local school systems! +0