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

A little off topic but I upgraded our room air cleaner to https://home.woot.com/offers/winix-c535-true-hepa-air-cleaner-12 and I see the difference.
Just a week and little to no dust in our bedroom where it's deployed. Figure that's where I want the cleanest air.

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

Now that enough code is supplied, I am going to guess you are trying to compile MySQL Server.

This may and should fail on the Community version of VS2019 or there are compile instructions at the MySQL site.

Why not use the ready to use installer at https://dev.mysql.com/downloads/mysql/ if you need MySQL server?

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

We changed to WD in 2015 and no infections so far. Now this doesn't work for a few that torrent apps and disable WD so if you have someone that pushes their luck then they will have issues no matter which antivirus system they use.

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

Line 46 does look odd. Here's a tutorial on structures. http://www.cplusplus.com/doc/tutorial/structures/

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

I haven't written the i2c code from scratch in over a decade as every micro I used has this in some library component.

Also, the chip looks to be on boards like https://www.adafruit.com/product/2651 so any code would be useless to most as some don't write code today and may be dependent on what host micro you select.

Example: https://github.com/adafruit/Adafruit_BMP280_Library looks good to go for that micro.

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

I'm thinkiing....

  1. Dog walker services.
  2. Doggy daycare.

I've used a kennel too when we went on work travel and he could come along. I think it helped in his socialization with other dogs.

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

I want to add there are many ways to skin this animal.

Example: https://www.baeldung.com/java-count-chars

I see many solutions and the solution you use varies with choices about which Java, whether you want to go native, libraries, recursive or not.

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

Our bordie collie seemed fine but he had a 6 year old and soon after another son so there was an active household. We included our border collie in any outing that we could. Living in the Vancouver British Columbia for 8 years helped a lot since we had mild weather most of the year with parks in walking distance that we could let him off the leash. Later we moved to the Boston area and 8 years there he seemed to like that area too as we had forest at the back of the property and hiking paths in the area.

Having children in the family means a lot of attention from many family members.

I've read your posts about this and if possible set up a spot for him/her near your work spaces. Our border collie showed the usual pack and social tendencies so having him near seemed to help a lot when the weather and time didn't let us go out for a walk or play.

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

That's a start. You've picked what that app may do and the language but didn't share what is stopping you. If your intent was to find collaborators then you didn't state that.

Then we have other issues like what communication system is this going to use. Most I know today are on the web so C++ would not be my choice today. Maybe you are thinking about Eliza? Chat or chatterbot is found with https://www.google.com/search?q="eliza"+c%2B%2B

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

The Insertion Sort is a well done function. For example I'd start with the top bit of code I see at https://rosettacode.org/wiki/Sorting_algorithms/Insertion_sort

Later on are over 103 examples in many languages.

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

Micro code. My story. Long ago I toiled in assembly for a now obsure processor. I wished to move to high level (back then C.) Instead we began work on our own processor and it fell on our small team to develop micro-code. While it was a great experience you bet I still wished to do more work beyond micro-code and assembler. As the years passed, more and more C and beyond.

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

more and more stuff gets abstracted away

A close friend was shocked in a good way when we had a discussion about AI and machine learning. After a bit I noted they should look at Python for their solution as a lot of what you used to have to code vanishes with a few import statements.

Python also could be my hobby as its one of my go-to systems for automating work without a full blown write it all from scratch effort.

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

It's an odd hobby but I do like a good computer issue/mystery in the forums. If we can help folk avoid a repair counter or new PC we did good.

Next is a video game in the Borderlands or Fallout series. Or a card game.

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

Odd text there. "Guy's between..." Guy is between? May want to put a more effort into your new posts.

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

I may be wrong but the bool is_prime looks like it could be uninitialized. If you are using any current C complier turn on all warnings to see what it complains about.

Also, https://rosettacode.org/wiki/Category:Prime_Numbers has a dozen categories of work in Prime Numbers with over a thousand solutions in over 100 languages.

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

Maybe the 2020 G7 meeting won't be at the Trump National Doral Miami.
Press release at https://www.citizensforethics.org/press-release/crew-statement-on-g-7-doral-announcement/

Still incredible anyone thought this was OK.

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

I take it you did research this and found that no one has created software to do this. There are mentions on how to copy the user profile but I found this to lead to a dead user account later.

My answers are:

  1. To backup your Windows today with all settings, you backup your system and data drive.
  2. Given how Microsoft and all app makers keep settings all over the place I don't see how any app could make this happen besides a full backup and restore of the entire PC.
rproffitt 2,701 https://5calls.org Moderator

But which OS?

Common ones are Windows, Linux (which one?), Mac OS and others.

Windows may be the hardest since MSFT never issued a tool to backup just settings. So for now, for most OSes you image your system (the OS and if you split data to another drive = system) and that way you can get back to your last backup.

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

@D, I've looked at the sites in your tagline and profile. They load fine here. Are you on DSL or dialup?

gentlemedia commented: Useless post just for the signature links +7
rproffitt 2,701 https://5calls.org Moderator

This sounds familiar. Like an old homework assignment that has priors in C or such. http://www.cplusplus.com/forum/beginner/29631/ for example.

It sounds harsh for you to write such a demand here. Usually folk post about the problem they are having and the demands to do their homework are thankfully rare.

Share how far you got and where you are having issues.

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

No one seems to answer demands like this. Try it another way.

Show your work so far and ask for help on the line that is giving you trouble.

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

This can be a legal question so there are a few answers.

  1. Ask your lawyer if such security applies to your business model.
  2. So far NO law I've read demands facial recognition as security so there's no business model for shuftipro.com today. Maybe in the future. In spite of that they will market the hell out out of the idea.
  3. As you want a "satisfied answer" the only answer might be the one from your lawyers. Here I can write that I can't find a law that demands you do this using facial recog.
GabrielLuke commented: Thanks for your support, But I just want to know that is this level of security will suite to my organisation or Not? +0
rproffitt 2,701 https://5calls.org Moderator

In short Thunderbird email and Google drive differ in operation. Google Drive RIGHTLY tries to avoid data loss so I can't guess how you deleted that document. It's really easy to delete it in Google drive and from memory when it syncs may delete on devices.

In my view this is good design. Make it so it's harder to accidentally lose data.

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

Your profile seems to show you already do such work. Can you be more specific about what you need to learn? That is, Wordpress is noted at your site so the question may or may not be about that.

Pathinteractive commented: I want to learn latest web design and web development trending topic according to Google guidelines in 2019. +0
rproffitt 2,701 https://5calls.org Moderator

Be sure to test this on XP SP3 to be sure it's not one of those issues you encounter on say Windows 10.

PS. What is that key value? https://www.google.com/search?q=Q204054 may shed light that it's "by design."

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

Thanks Dani. I recall this or all too similar posting on that other forum and they were banned for this. I did not look at their tagline. I looked at their profile.

The question is a form of shilling and as such I have no problem with a little shaming.

PS. We used to let this slide in the past but 99.99% of the time the shill gets answers leading to their own company. As I wrote, we used to let posts like this slide but as all turned into shill posts, the rules changed and they get knocked out immediately as disingenuous and shilling.

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

Wait a second. You sell these and you don't know? iTechCables or such must be an awful source for you and others.

That aside, I use AmazonBasics all the time. Zero problems.

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

I'm thinking of an example (link to follow) where you add video width="320" height="240" as you see fit as to size.
Then look at http://jsfiddle.net/carmijoon/pZbkX/ for your text overlay.

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

Since you can not repeat your success, then you have to try it per the methods folk tell you it does work. My thought is this is not to be. You are trying to push the limits of this system and it is pushing back.

Why not use your PC for learning C and such?

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

Please detail what is different. We know that Windows and it's "Windows File Explorer" is unreliable when showing content so please don't use that. Get to the command prompt and use the decades old DIR /A to show them all (Pokemon?)

It's possible that it's WFE (again) or it didn't sync. Read ideas about sync at https://www.google.com/search?q=why+doesn%27t+google+drive+sync

You need to share what's different. Otherwise I guess and I'm a terrible guesser.

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

Just my guess. Permissions. Check the file permissions, ownership, etc.

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

This looks like a duplicate to me.

Why does this look identical to https://stackoverflow.com/questions/58344830/java-program-about-student-grades ?

Also, share your work so far and tell the forum where you are stuck since the class or course should work up to such an assignment.
That is, you build on your work to date.

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

I've worked with MicroChip PIC 32 before. We used a C compiler. Luck has it that the code to do double-dabble is done.
Example: https://en.wikipedia.org/wiki/Double_dabble

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

@Reverend Jim, unfortunately our Congress did not act on the first transgressions. I can't think of which one was first and giving anyone a pass on the first transgressions only makes it harder later. Also, if they go after all the crimes, they could lose if one is lost on some legal misstep.

Of all the crimes, Self-Dealing would have been the easiest. We shouldn't pay the bill at the Mar-a-Lago Club or The Trump Hotel.

Maybe the pigs at the trough are not going to stop the biggest hog.

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

I think it's worthy to note prior work on Abstract-Syntax Tree (AST) evaluation if you are going to allow freeform input to be calculated.

There are 57 varieties at https://rosettacode.org/wiki/Arithmetic_evaluation

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

Why does this look identical to https://stackoverflow.com/questions/58344830/java-program-about-student-grades ?

Also, share your work so far and tell the forum where you are stuck since the class or course should work up to such an assignment.
That is, you build on your work to date.

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

While blogs are on web sites it would be nice to know where your blog is as the usual way to rank up is well, so done on the web.

That said no one I know needs SharePoint work, the custom software is done in house and the accounting is done by the CFO. Maybe your blog isn't hitting the right topics. Or the topics are old and stale.

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

Game was fine but now with the Activision Blizzard CHINA debacle, many are bailing out.

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

I had such an issue and had to swap out the gun. This was upsetting to the company as they wanted it to not be a hardware issue but the gun was a decade old so it actually did well.

BE SURE to clean the gun lens inside and out. Sometimes I find dust on the inside which degrades its performance.

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

What is IST? Internation Standard Time? To me that would be GMT but GMT is oblivious to daylight savings and as governments can change when and where DST applies there is no international standard.

My bet is you'll have to do a web scrape of some country's ministry site to get what it is now. I see British Columbia, Canada is about to dispose of DST since there is no to little savings by using such a system.

-> Are you aware how Microsoft deals with DST?

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

https://www.google.com/search?q=c+compiler+for+android finds other compilers. Why must it be gcc? Also you wrote C and not C++.

It needs to be written that Android is not like your full size OSes like Linux. Once in a while you run into someone that wants Android and iOS to be a full fledged OS.

Also, https://gist.github.com/VirajKanse/1c0db872cd7685632c02f8826397f190 notes other issues, commands. Not GCC but clang.

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

This may need a lot more detail from you. I've had folk ask such to find out why Windows is not booting but given the boot area is not something a normal tool will tackle, this is just one of a few areas that file comparisons won't tell you a thing.

So, WinMerge can compare two drives but it also means that the two drives under inspection are NOT being used to boot Windows.

Finally a big area of fail is the registry. To compare that you would have to export both then try WinMerge to see where the changes are. My bet is you will understand why they say this is like taking a sip from a firehose.

-> With that in mind, can you tell more about why you need to do this?

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

This does not sound broken. Why? Because the contact form is sending you an email via the web server. If the web server needed verification on each email, what a mess.

If you want them to only send you email from their email, disable and discontinue use of the web contact form.

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

Since we don't know the output terminal, you could make the assumption it's not variable spacing and some TTY device.

Convert each number to a string then pad left or right with spaces as needed. Of course if the font is variable width then it's not going to work but no one can guess what the output device is. Teletype (I used those), terminals or a Norhstar which had the variable width character set.

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

This is me guessing this is not about the MySQL name and password but something else.

There are a lot of bad login systems where they teach to store the username and password in a database. This is a bad idea and has lead to so many security breaches it's not to be taught ever again.

The passwords shall be encrypted and salted then stored. To check if the user entered the right password you take their input, encrypt, salt and then compare that to what's on file. Any system that stores passwords like it was taught over a decade ago should receive a failing grade today. It's that severe a problem.

https://www.google.com/search?q=never+store+passwords+in+a+database covers this over and over.

In your top post I read it as if you needed the name and password to connect to your database. Now I think you meant to ask something else.
As it is the 50th anniversary of Monty Python: "And now for something completely different."

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

So my research would be https://www.google.com/search?q=code+blocks+mysql
It appears there are tutorials and examples.

PS. I find your top post unclear and incomplete. Your code is not properly formatted and the C++ system in use was omitted. As you can see, details matter.

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

Considering your test was partial the code does what you wrote.

https://www.w3schools.com/python/python_conditions.asp notes you can write if this < thanthat and this > thatotherthing.

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

This varies with which C++ you use. In one case the name and password is seen at line 54 at
https://dev.mysql.com/doc/connector-cpp/1.1/en/connector-cpp-examples-complete-example-1.html

For Visual C++ you would use the Server Explorer procedure noted at
https://dev.mysql.com/doc/visual-studio/en/visual-studio-making-a-connection.html

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

Unlike sites like Chegg, here you learn by sharing your code as it is and then ask "Why does line 10 give me the "Error, China not found."?"

In short, not once have I seen anyone give up a finished set of code for homework assignments.